From f52ab1be0c311688efcaa49af713120f9f47cae9 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 26 Oct 2026 19:22:53 +0100 Subject: [PATCH] u --- .agents/skills/backend/SKILL.md | 50 ++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/.agents/skills/backend/SKILL.md b/.agents/skills/backend/SKILL.md index 4ff4de6..53b5f7a 100644 --- a/.agents/skills/backend/SKILL.md +++ b/.agents/skills/backend/SKILL.md @@ -131,7 +131,7 @@ Strip supplierName?: str from T11 (resolve via entityId in cached supplier list) # Dash API Routes Overview (All) -Overview of all 270 API endpoints across all modules. +Overview of all 284 API endpoints across all modules. ### Notation @@ -918,6 +918,54 @@ _none_ - Params: `id: int` - Returns: `201 { attachment: T9, fileUrl: str }` +### Section: /retoure + +#### List retoures — `GET /retoure` +- Params: `query: offset?: int, limit?: int, search?: str, onlyUnpaid?: bool, onlyUndelivered?: bool, entityId?: int, seekMonths?: int` +- Returns: `200` +#### Create retoure — `POST /retoure` +- Params: `body: { date: str, number?: str, entityId?: int, externalNumber?: str, lines?: any[] }` +- Returns: `201` +#### Rebuild retoure summaries — `POST /retoure/rebuild-summaries` +_none_ +- Returns: `200` +#### Delete retoure — `DELETE /retoure/{id}` +- Params: `id: int` +- Returns: `204 void` +#### Get retoure by ID — `GET /retoure/{id}` +- Params: `id: int` +- Returns: `200` +#### Update retoure — `PUT /retoure/{id}` +- Params: `id: int, body: {}` +- Returns: `200` +#### Create shipment for retoure — `POST /retoure/{id}/shipment` +- Params: `id: int` +- Returns: `201` + +### Section: /return + +#### List returns — `GET /return` +- Params: `query: offset?: int, limit?: int, search?: str, onlyUnbooked?: bool, supplierId?: int` +- Returns: `200` +#### Create return — `POST /return` +- Params: `body: {}` +- Returns: `201` +#### Rebuild return summaries — `POST /return/rebuild-summaries` +_none_ +- Returns: `200` +#### Delete return — `DELETE /return/{id}` +- Params: `id: int` +- Returns: `204 void` +#### Get return by ID — `GET /return/{id}` +- Params: `id: int` +- Returns: `200` +#### Update return — `PUT /return/{id}` +- Params: `id: int` +- Returns: `200` +#### Book return to ledger — `POST /return/{id}/book` +- Params: `id: int` +- Returns: `200` + ### Section: /serper #### Crawl image from URL, crop white/transparency borders, and return AVIF — `POST /serper/image`