This commit is contained in:
seb
2026-09-24 23:26:25 +02:00
parent 075b1f0ddc
commit f8f61a1212
40 changed files with 1245 additions and 337 deletions

View File

@@ -15,6 +15,7 @@ Creates a new supplier for the user's selected company, recording history.
| `googleAuthId` | `number` | The id of the Google auth user. |
| `input` | `object` | The supplier input. |
| `input.name` | `string` | The supplier name. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -43,6 +44,7 @@ Deletes a supplier by its id within the user's selected company.
| --- | --- | --- |
| `googleAuthId` | `number` | The id of the Google auth user. |
| `id` | `number` | The id of the supplier to delete. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -69,6 +71,7 @@ Lists the suppliers of the user's selected company.
| Name | Type | Description |
| --- | --- | --- |
| `googleAuthId` | `number` | The id of the Google auth user. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -95,6 +98,7 @@ Updates the name of a supplier, recording history.
| `id` | `number` | The id of the supplier to update. |
| `input` | `object` | The update input. |
| `input.name` | `string` | The new supplier name. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**