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

@@ -18,6 +18,7 @@ Creates a new contact for an entity.
| `input.contactType` | `string` | The contact type (e.g. `'email'`). |
| `input.contact` | `string` | The contact value. |
| `[input.sort]` | `number` | Optional sort order. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -47,6 +48,7 @@ Deletes a contact of an entity.
| `googleAuthId` | `number` | The id of the Google auth user. |
| `entityId` | `number` | The id of the entity. |
| `id` | `number` | The id of the contact to delete. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -74,6 +76,7 @@ Lists the contacts of an entity.
| --- | --- | --- |
| `googleAuthId` | `number` | The id of the Google auth user. |
| `entityId` | `number` | The id of the entity. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -100,6 +103,7 @@ Updates a contact of an entity.
| `entityId` | `number` | The id of the entity. |
| `id` | `number` | The id of the contact to update. |
| `patch` | `object` | The update patch (any subset of contact fields). |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**