u
This commit is contained in:
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user