@ikatec/digisac-api-sdk 4.9.0 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -12
- package/dist/apis/absence/AbsenceApi.cjs +12 -0
- package/dist/apis/absence/AbsenceApi.cjs.map +1 -1
- package/dist/apis/absence/AbsenceApi.d.ts +9 -0
- package/dist/apis/absence/AbsenceApi.d.ts.map +1 -1
- package/dist/apis/absence/AbsenceApi.mjs +12 -0
- package/dist/apis/absence/AbsenceApi.mjs.map +1 -1
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.cjs +8 -0
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.cjs.map +1 -1
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.d.ts +8 -1
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.d.ts.map +1 -1
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.mjs +8 -0
- package/dist/apis/acceptanceTerms/AcceptanceTermsApi.mjs.map +1 -1
- package/dist/apis/accounts/AccountsApi.cjs +5 -0
- package/dist/apis/accounts/AccountsApi.cjs.map +1 -1
- package/dist/apis/accounts/AccountsApi.d.ts +5 -0
- package/dist/apis/accounts/AccountsApi.d.ts.map +1 -1
- package/dist/apis/accounts/AccountsApi.mjs +5 -0
- package/dist/apis/accounts/AccountsApi.mjs.map +1 -1
- package/dist/apis/accounts/types.d.ts +2 -0
- package/dist/apis/accounts/types.d.ts.map +1 -1
- package/dist/apis/activityLog/ActivityLogApi.cjs +12 -0
- package/dist/apis/activityLog/ActivityLogApi.cjs.map +1 -1
- package/dist/apis/activityLog/ActivityLogApi.d.ts +8 -0
- package/dist/apis/activityLog/ActivityLogApi.d.ts.map +1 -1
- package/dist/apis/activityLog/ActivityLogApi.mjs +12 -0
- package/dist/apis/activityLog/ActivityLogApi.mjs.map +1 -1
- package/dist/apis/categories/CategoriesApi.cjs +7 -0
- package/dist/apis/categories/CategoriesApi.cjs.map +1 -1
- package/dist/apis/categories/CategoriesApi.d.ts +7 -1
- package/dist/apis/categories/CategoriesApi.d.ts.map +1 -1
- package/dist/apis/categories/CategoriesApi.mjs +7 -0
- package/dist/apis/categories/CategoriesApi.mjs.map +1 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.cjs +5 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.cjs.map +1 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.d.ts +5 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.d.ts.map +1 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.mjs +5 -1
- package/dist/apis/clientFeedback/ClientFeedbackApi.mjs.map +1 -1
- package/dist/apis/contactBlockLists/ContactBlockListsApi.cjs +8 -0
- package/dist/apis/contactBlockLists/ContactBlockListsApi.cjs.map +1 -1
- package/dist/apis/contactBlockLists/ContactBlockListsApi.d.ts +8 -1
- package/dist/apis/contactBlockLists/ContactBlockListsApi.d.ts.map +1 -1
- package/dist/apis/contactBlockLists/ContactBlockListsApi.mjs +8 -0
- package/dist/apis/contactBlockLists/ContactBlockListsApi.mjs.map +1 -1
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.cjs +7 -0
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.cjs.map +1 -1
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.d.ts +7 -1
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.d.ts.map +1 -1
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.mjs +7 -0
- package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.mjs.map +1 -1
- package/dist/apis/contacts/ContactsApi.cjs +16 -3
- package/dist/apis/contacts/ContactsApi.cjs.map +1 -1
- package/dist/apis/contacts/ContactsApi.d.ts +16 -5
- package/dist/apis/contacts/ContactsApi.d.ts.map +1 -1
- package/dist/apis/contacts/ContactsApi.mjs +16 -3
- package/dist/apis/contacts/ContactsApi.mjs.map +1 -1
- package/dist/apis/contacts/types.d.ts +6 -1
- package/dist/apis/contacts/types.d.ts.map +1 -1
- package/dist/apis/creditMovements/CreditMovementsApi.cjs +17 -0
- package/dist/apis/creditMovements/CreditMovementsApi.cjs.map +1 -1
- package/dist/apis/creditMovements/CreditMovementsApi.d.ts +11 -0
- package/dist/apis/creditMovements/CreditMovementsApi.d.ts.map +1 -1
- package/dist/apis/creditMovements/CreditMovementsApi.mjs +17 -0
- package/dist/apis/creditMovements/CreditMovementsApi.mjs.map +1 -1
- package/dist/apis/customFields/CustomFieldsApi.cjs +7 -0
- package/dist/apis/customFields/CustomFieldsApi.cjs.map +1 -1
- package/dist/apis/customFields/CustomFieldsApi.d.ts +7 -1
- package/dist/apis/customFields/CustomFieldsApi.d.ts.map +1 -1
- package/dist/apis/customFields/CustomFieldsApi.mjs +7 -0
- package/dist/apis/customFields/CustomFieldsApi.mjs.map +1 -1
- package/dist/apis/departments/DepartmentsApi.cjs +21 -0
- package/dist/apis/departments/DepartmentsApi.cjs.map +1 -1
- package/dist/apis/departments/DepartmentsApi.d.ts +20 -2
- package/dist/apis/departments/DepartmentsApi.d.ts.map +1 -1
- package/dist/apis/departments/DepartmentsApi.mjs +21 -0
- package/dist/apis/departments/DepartmentsApi.mjs.map +1 -1
- package/dist/apis/departments/types.d.ts +5 -0
- package/dist/apis/departments/types.d.ts.map +1 -1
- package/dist/apis/distribution/DistributionApi.cjs +7 -0
- package/dist/apis/distribution/DistributionApi.cjs.map +1 -1
- package/dist/apis/distribution/DistributionApi.d.ts +7 -1
- package/dist/apis/distribution/DistributionApi.d.ts.map +1 -1
- package/dist/apis/distribution/DistributionApi.mjs +7 -0
- package/dist/apis/distribution/DistributionApi.mjs.map +1 -1
- package/dist/apis/files/FilesApi.cjs +49 -0
- package/dist/apis/files/FilesApi.cjs.map +1 -1
- package/dist/apis/files/FilesApi.d.ts +45 -2
- package/dist/apis/files/FilesApi.d.ts.map +1 -1
- package/dist/apis/files/FilesApi.mjs +49 -0
- package/dist/apis/files/FilesApi.mjs.map +1 -1
- package/dist/apis/files/types.d.ts +45 -7
- package/dist/apis/files/types.d.ts.map +1 -1
- package/dist/apis/holiday/HolidayApi.cjs +7 -0
- package/dist/apis/holiday/HolidayApi.cjs.map +1 -1
- package/dist/apis/holiday/HolidayApi.d.ts +7 -1
- package/dist/apis/holiday/HolidayApi.d.ts.map +1 -1
- package/dist/apis/holiday/HolidayApi.mjs +7 -0
- package/dist/apis/holiday/HolidayApi.mjs.map +1 -1
- package/dist/apis/integrations/IntegrationsApi.cjs +7 -0
- package/dist/apis/integrations/IntegrationsApi.cjs.map +1 -1
- package/dist/apis/integrations/IntegrationsApi.d.ts +7 -1
- package/dist/apis/integrations/IntegrationsApi.d.ts.map +1 -1
- package/dist/apis/integrations/IntegrationsApi.mjs +7 -0
- package/dist/apis/integrations/IntegrationsApi.mjs.map +1 -1
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.cjs +7 -0
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.cjs.map +1 -1
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.d.ts +7 -1
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.d.ts.map +1 -1
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.mjs +7 -0
- package/dist/apis/interactiveMessages/InteractiveMessagesApi.mjs.map +1 -1
- package/dist/apis/kanbanBoards/KanbanBoardsApi.cjs +7 -0
- package/dist/apis/kanbanBoards/KanbanBoardsApi.cjs.map +1 -1
- package/dist/apis/kanbanBoards/KanbanBoardsApi.d.ts +7 -1
- package/dist/apis/kanbanBoards/KanbanBoardsApi.d.ts.map +1 -1
- package/dist/apis/kanbanBoards/KanbanBoardsApi.mjs +7 -0
- package/dist/apis/kanbanBoards/KanbanBoardsApi.mjs.map +1 -1
- package/dist/apis/kanbanCards/KanbanCardsApi.cjs +7 -0
- package/dist/apis/kanbanCards/KanbanCardsApi.cjs.map +1 -1
- package/dist/apis/kanbanCards/KanbanCardsApi.d.ts +7 -1
- package/dist/apis/kanbanCards/KanbanCardsApi.d.ts.map +1 -1
- package/dist/apis/kanbanCards/KanbanCardsApi.mjs +7 -0
- package/dist/apis/kanbanCards/KanbanCardsApi.mjs.map +1 -1
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.cjs +8 -0
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.cjs.map +1 -1
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.d.ts +8 -1
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.d.ts.map +1 -1
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.mjs +8 -0
- package/dist/apis/knowledgeBase/KnowledgeBaseApi.mjs.map +1 -1
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.cjs +8 -0
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.cjs.map +1 -1
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.d.ts +8 -1
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.d.ts.map +1 -1
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.mjs +8 -0
- package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.mjs.map +1 -1
- package/dist/apis/messages/MessagesApi.cjs +23 -3
- package/dist/apis/messages/MessagesApi.cjs.map +1 -1
- package/dist/apis/messages/MessagesApi.d.ts +19 -3
- package/dist/apis/messages/MessagesApi.d.ts.map +1 -1
- package/dist/apis/messages/MessagesApi.mjs +23 -3
- package/dist/apis/messages/MessagesApi.mjs.map +1 -1
- package/dist/apis/messages/types.d.ts +3 -0
- package/dist/apis/messages/types.d.ts.map +1 -1
- package/dist/apis/notifications/NotificationsApi.cjs +7 -0
- package/dist/apis/notifications/NotificationsApi.cjs.map +1 -1
- package/dist/apis/notifications/NotificationsApi.d.ts +7 -1
- package/dist/apis/notifications/NotificationsApi.d.ts.map +1 -1
- package/dist/apis/notifications/NotificationsApi.mjs +7 -0
- package/dist/apis/notifications/NotificationsApi.mjs.map +1 -1
- package/dist/apis/organizations/OrganizationsApi.cjs +7 -0
- package/dist/apis/organizations/OrganizationsApi.cjs.map +1 -1
- package/dist/apis/organizations/OrganizationsApi.d.ts +7 -1
- package/dist/apis/organizations/OrganizationsApi.d.ts.map +1 -1
- package/dist/apis/organizations/OrganizationsApi.mjs +7 -0
- package/dist/apis/organizations/OrganizationsApi.mjs.map +1 -1
- package/dist/apis/people/PeopleApi.cjs +7 -0
- package/dist/apis/people/PeopleApi.cjs.map +1 -1
- package/dist/apis/people/PeopleApi.d.ts +7 -1
- package/dist/apis/people/PeopleApi.d.ts.map +1 -1
- package/dist/apis/people/PeopleApi.mjs +7 -0
- package/dist/apis/people/PeopleApi.mjs.map +1 -1
- package/dist/apis/planAiHistory/PlanAiHistoryApi.cjs +16 -0
- package/dist/apis/planAiHistory/PlanAiHistoryApi.cjs.map +1 -1
- package/dist/apis/planAiHistory/PlanAiHistoryApi.d.ts +10 -0
- package/dist/apis/planAiHistory/PlanAiHistoryApi.d.ts.map +1 -1
- package/dist/apis/planAiHistory/PlanAiHistoryApi.mjs +16 -0
- package/dist/apis/planAiHistory/PlanAiHistoryApi.mjs.map +1 -1
- package/dist/apis/roles/RolesApi.cjs +7 -0
- package/dist/apis/roles/RolesApi.cjs.map +1 -1
- package/dist/apis/roles/RolesApi.d.ts +6 -1
- package/dist/apis/roles/RolesApi.d.ts.map +1 -1
- package/dist/apis/roles/RolesApi.mjs +7 -0
- package/dist/apis/roles/RolesApi.mjs.map +1 -1
- package/dist/apis/services/ServicesApi.cjs +68 -0
- package/dist/apis/services/ServicesApi.cjs.map +1 -1
- package/dist/apis/services/ServicesApi.d.ts +53 -1
- package/dist/apis/services/ServicesApi.d.ts.map +1 -1
- package/dist/apis/services/ServicesApi.mjs +68 -0
- package/dist/apis/services/ServicesApi.mjs.map +1 -1
- package/dist/apis/services/types.d.ts +15 -0
- package/dist/apis/services/types.d.ts.map +1 -1
- package/dist/apis/stickers/StickersApi.cjs +20 -0
- package/dist/apis/stickers/StickersApi.cjs.map +1 -1
- package/dist/apis/stickers/StickersApi.d.ts +15 -0
- package/dist/apis/stickers/StickersApi.d.ts.map +1 -1
- package/dist/apis/stickers/StickersApi.mjs +20 -0
- package/dist/apis/stickers/StickersApi.mjs.map +1 -1
- package/dist/apis/tags/TagsApi.cjs +7 -0
- package/dist/apis/tags/TagsApi.cjs.map +1 -1
- package/dist/apis/tags/TagsApi.d.ts +7 -1
- package/dist/apis/tags/TagsApi.d.ts.map +1 -1
- package/dist/apis/tags/TagsApi.mjs +7 -0
- package/dist/apis/tags/TagsApi.mjs.map +1 -1
- package/dist/apis/timetable/TimetableApi.cjs +7 -0
- package/dist/apis/timetable/TimetableApi.cjs.map +1 -1
- package/dist/apis/timetable/TimetableApi.d.ts +7 -1
- package/dist/apis/timetable/TimetableApi.d.ts.map +1 -1
- package/dist/apis/timetable/TimetableApi.mjs +7 -0
- package/dist/apis/timetable/TimetableApi.mjs.map +1 -1
- package/dist/apis/users/UsersApi.cjs +8 -0
- package/dist/apis/users/UsersApi.cjs.map +1 -1
- package/dist/apis/users/UsersApi.d.ts +8 -1
- package/dist/apis/users/UsersApi.d.ts.map +1 -1
- package/dist/apis/users/UsersApi.mjs +8 -0
- package/dist/apis/users/UsersApi.mjs.map +1 -1
- package/dist/apis/users/types.d.ts +15 -0
- package/dist/apis/users/types.d.ts.map +1 -1
- package/dist/apis/webhooks/WebhooksApi.cjs +7 -0
- package/dist/apis/webhooks/WebhooksApi.cjs.map +1 -1
- package/dist/apis/webhooks/WebhooksApi.d.ts +7 -1
- package/dist/apis/webhooks/WebhooksApi.d.ts.map +1 -1
- package/dist/apis/webhooks/WebhooksApi.mjs +7 -0
- package/dist/apis/webhooks/WebhooksApi.mjs.map +1 -1
- package/dist/core/ApiClient.d.ts +14 -0
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ArchivableCrudApi.cjs.map +1 -1
- package/dist/core/ArchivableCrudApi.d.ts +1 -1
- package/dist/core/ArchivableCrudApi.d.ts.map +1 -1
- package/dist/core/ArchivableCrudApi.mjs.map +1 -1
- package/dist/core/BaseApiClient.cjs +24 -3
- package/dist/core/BaseApiClient.cjs.map +1 -1
- package/dist/core/BaseApiClient.d.ts +14 -0
- package/dist/core/BaseApiClient.d.ts.map +1 -1
- package/dist/core/BaseApiClient.mjs +24 -3
- package/dist/core/BaseApiClient.mjs.map +1 -1
- package/dist/core/requestExternal.cjs +33 -0
- package/dist/core/requestExternal.cjs.map +1 -0
- package/dist/core/requestExternal.d.ts +9 -0
- package/dist/core/requestExternal.d.ts.map +1 -0
- package/dist/core/requestExternal.mjs +32 -0
- package/dist/core/requestExternal.mjs.map +1 -0
- package/package.json +1 -1
- package/src/apis/absence/AbsenceApi.ts +19 -0
- package/src/apis/acceptanceTerms/AcceptanceTermsApi.ts +13 -1
- package/src/apis/accounts/AccountsApi.ts +5 -0
- package/src/apis/accounts/types.ts +2 -0
- package/src/apis/activityLog/ActivityLogApi.ts +18 -0
- package/src/apis/categories/CategoriesApi.ts +12 -1
- package/src/apis/clientFeedback/ClientFeedbackApi.ts +5 -1
- package/src/apis/contactBlockLists/ContactBlockListsApi.ts +13 -1
- package/src/apis/contactBlockListsControls/ContactBlockListsControlsApi.ts +12 -1
- package/src/apis/contacts/ContactsApi.test.ts +20 -4
- package/src/apis/contacts/ContactsApi.ts +24 -5
- package/src/apis/contacts/types.ts +7 -1
- package/src/apis/creditMovements/CreditMovementsApi.ts +27 -0
- package/src/apis/customFields/CustomFieldsApi.ts +12 -1
- package/src/apis/departments/DepartmentsApi.test.ts +88 -0
- package/src/apis/departments/DepartmentsApi.ts +41 -2
- package/src/apis/departments/types.ts +6 -0
- package/src/apis/distribution/DistributionApi.ts +12 -1
- package/src/apis/files/FilesApi.test.ts +122 -0
- package/src/apis/files/FilesApi.ts +107 -2
- package/src/apis/files/types.ts +48 -7
- package/src/apis/holiday/HolidayApi.ts +16 -1
- package/src/apis/integrations/IntegrationsApi.ts +12 -1
- package/src/apis/interactiveMessages/InteractiveMessagesApi.ts +12 -1
- package/src/apis/kanbanBoards/KanbanBoardsApi.ts +12 -1
- package/src/apis/kanbanCards/KanbanCardsApi.ts +12 -1
- package/src/apis/knowledgeBase/KnowledgeBaseApi.ts +13 -1
- package/src/apis/knowledgeBaseItem/KnowledgeBaseItemApi.ts +13 -1
- package/src/apis/messages/MessagesApi.test.ts +13 -7
- package/src/apis/messages/MessagesApi.ts +29 -3
- package/src/apis/messages/types.ts +3 -0
- package/src/apis/notifications/NotificationsApi.ts +12 -1
- package/src/apis/organizations/OrganizationsApi.ts +12 -1
- package/src/apis/payloads.test-d.ts +114 -0
- package/src/apis/people/PeopleApi.ts +16 -1
- package/src/apis/planAiHistory/PlanAiHistoryApi.ts +26 -0
- package/src/apis/roles/RolesApi.ts +10 -1
- package/src/apis/services/ServicesApi.test.ts +45 -0
- package/src/apis/services/ServicesApi.ts +91 -1
- package/src/apis/services/types.ts +16 -0
- package/src/apis/stickers/StickersApi.ts +32 -0
- package/src/apis/tags/TagsApi.ts +16 -1
- package/src/apis/timetable/TimetableApi.ts +12 -1
- package/src/apis/users/UsersApi.ts +17 -1
- package/src/apis/users/types.ts +11 -0
- package/src/apis/webhooks/WebhooksApi.ts +16 -1
- package/src/core/ApiClient.ts +24 -0
- package/src/core/ArchivableCrudApi.ts +2 -1
- package/src/core/BaseApiClient.test.ts +98 -0
- package/src/core/BaseApiClient.ts +49 -4
- package/src/core/requestExternal.ts +43 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessagesApi.d.ts","sourceRoot":"","sources":["../../../src/apis/messages/MessagesApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EACV,OAAO,EACP,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,g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EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxE,oIAAoI;IACpI,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,OAAO,EAAE,CAAC;CAItB"}
|
|
@@ -6,6 +6,22 @@ var MessagesApi = class extends BaseCrudApi {
|
|
|
6
6
|
constructor(client) {
|
|
7
7
|
super(client, "/messages");
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Edits the text (or the file) of a message sent by the account, up to 15 minutes after it was
|
|
11
|
+
* sent (403 `Cannot edit message` after that). `contactId` is required (without it the route
|
|
12
|
+
* answers 500), and `text` or `file` (400 without both). Sent as `PATCH /messages/:id`.
|
|
13
|
+
* @permissions messages.update
|
|
14
|
+
*/
|
|
15
|
+
updateById(id, body, headers) {
|
|
16
|
+
return this.client.patch(`${this.basePath}/${id}`, body, headers);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Not served: the backend has no DELETE /messages/:id, so this route answers 404.
|
|
20
|
+
* Use {@link bulkDestroy}.
|
|
21
|
+
*/
|
|
22
|
+
deleteById(id, headers) {
|
|
23
|
+
return super.deleteById(id, headers);
|
|
24
|
+
}
|
|
9
25
|
/** Forwards one or more messages to one or more contacts (max 20 messages to 5 contacts). */
|
|
10
26
|
forward(body, headers) {
|
|
11
27
|
return this.client.post(`${this.basePath}/forward`, body, headers);
|
|
@@ -42,8 +58,9 @@ var MessagesApi = class extends BaseCrudApi {
|
|
|
42
58
|
return this.client.request("DELETE", `${this.basePath}/many`, body, headers);
|
|
43
59
|
}
|
|
44
60
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
61
|
+
* Regenerates an existing AI summary: `id` is the id of the message of `type: 'summary'`. When
|
|
62
|
+
* there is no such message (or the AI limit was reached) nothing is done and it still resolves
|
|
63
|
+
* `'OK'`. To summarize the open ticket of a contact, use `ContactsApi.summarizeTicket`.
|
|
47
64
|
*/
|
|
48
65
|
summarize(id, headers) {
|
|
49
66
|
return this.client.post(`${this.basePath}/${id}/summarize`, void 0, headers);
|
|
@@ -53,7 +70,10 @@ var MessagesApi = class extends BaseCrudApi {
|
|
|
53
70
|
const queryString = limit ? `?${qs.stringify({ limit })}` : "";
|
|
54
71
|
return this.client.get(`${this.basePath}/${id}/out-of-range${queryString}`, headers);
|
|
55
72
|
}
|
|
56
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Re-downloads and syncs the file attachment for a message from the messaging service. Resolves
|
|
75
|
+
* what the driver answers; an unknown message answers 500.
|
|
76
|
+
*/
|
|
57
77
|
syncFile(id, headers) {
|
|
58
78
|
return this.client.post(`${this.basePath}/${id}/sync-file`, void 0, headers);
|
|
59
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessagesApi.mjs","names":[],"sources":["../../../src/apis/messages/MessagesApi.ts"],"sourcesContent":["import qs from 'qs'\nimport type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type {\n Message,\n CreateMessagePayload,\n UpdateMessagePayload,\n ForwardMessagesPayload,\n ForwardMessagesResult,\n SendVcardsPayload,\n SendReactionPayload,\n MagicTextPayload,\n MagicTextResult,\n CheckSummaryPayload,\n CheckSummaryResult,\n BulkDestroyPayload,\n OutOfRangeResult,\n LoadAroundQuery,\n} from './types'\n\nexport class MessagesApi extends BaseCrudApi<Message, CreateMessagePayload, UpdateMessagePayload> {\n constructor(client: ApiClient) {\n super(client, '/messages')\n }\n\n /** Forwards one or more messages to one or more contacts (max 20 messages to 5 contacts). */\n forward(\n body: ForwardMessagesPayload,\n headers?: Record<string, string>,\n ): Promise<ForwardMessagesResult> {\n return this.client.post<ForwardMessagesResult, ForwardMessagesPayload>(\n `${this.basePath}/forward`,\n body,\n headers,\n )\n }\n\n /** Revokes (soft-deletes) a sent message so it is no longer visible to the recipient. */\n revoke(id: string, headers?: Record<string, string>): Promise<Message> {\n return this.client.post<Message>(`${this.basePath}/${id}/revoke`, undefined, headers)\n }\n\n /** Removes a previously sent reaction from a message. */\n revokeReaction(id: string, headers?: Record<string, string>): Promise<boolean> {\n return this.client.put<boolean>(`${this.basePath}/${id}/revoke-reaction`, undefined, headers)\n }\n\n /** Sends one or more contacts as vCard messages to a given contact. */\n sendVcards(body: SendVcardsPayload, headers?: Record<string, string>): Promise<Message> {\n return this.client.post<Message, SendVcardsPayload>(\n `${this.basePath}/send-vcards`,\n body,\n headers,\n )\n }\n\n /** Sends an emoji reaction to a message. */\n sendReaction(\n id: string,\n body: SendReactionPayload,\n headers?: Record<string, string>,\n ): Promise<boolean> {\n return this.client.post<boolean, SendReactionPayload>(\n `${this.basePath}/${id}/send-reaction`,\n body,\n headers,\n )\n }\n\n /** Uses AI to rewrite or correct a message text with a given tone (e.g. \"correct\", \"professional\", \"casual\"). */\n magicText(body: MagicTextPayload, headers?: Record<string, string>): Promise<MagicTextResult> {\n return this.client.post<MagicTextResult, MagicTextPayload>(\n `${this.basePath}/magic-text`,\n body,\n headers,\n )\n }\n\n /** Checks whether an AI-generated summary already exists for a given ticket. */\n checkSummary(\n body: CheckSummaryPayload,\n headers?: Record<string, string>,\n ): Promise<CheckSummaryResult> {\n return this.client.post<CheckSummaryResult, CheckSummaryPayload>(\n `${this.basePath}/check-summary`,\n body,\n headers,\n )\n }\n\n /**\n * Deletes multiple messages matching the given where clause.\n * @permissions messages.destroy\n */\n bulkDestroy(body: BulkDestroyPayload, headers?: Record<string, string>): Promise<boolean> {\n return this.client.request<boolean, BulkDestroyPayload>(\n 'DELETE',\n `${this.basePath}/many`,\n body,\n headers,\n )\n }\n\n /**\n *
|
|
1
|
+
{"version":3,"file":"MessagesApi.mjs","names":[],"sources":["../../../src/apis/messages/MessagesApi.ts"],"sourcesContent":["import qs from 'qs'\nimport type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type {\n Message,\n CreateMessagePayload,\n UpdateMessagePayload,\n ForwardMessagesPayload,\n ForwardMessagesResult,\n SendVcardsPayload,\n SendReactionPayload,\n MagicTextPayload,\n MagicTextResult,\n CheckSummaryPayload,\n CheckSummaryResult,\n BulkDestroyPayload,\n OutOfRangeResult,\n LoadAroundQuery,\n} from './types'\n\nexport class MessagesApi extends BaseCrudApi<Message, CreateMessagePayload, UpdateMessagePayload> {\n constructor(client: ApiClient) {\n super(client, '/messages')\n }\n\n /**\n * Edits the text (or the file) of a message sent by the account, up to 15 minutes after it was\n * sent (403 `Cannot edit message` after that). `contactId` is required (without it the route\n * answers 500), and `text` or `file` (400 without both). Sent as `PATCH /messages/:id`.\n * @permissions messages.update\n */\n override updateById(\n id: string,\n body: UpdateMessagePayload,\n headers?: Record<string, string>,\n ): Promise<Message> {\n return this.client.patch<Message, UpdateMessagePayload>(`${this.basePath}/${id}`, body, headers)\n }\n\n /**\n * @deprecated Not served: the backend has no DELETE /messages/:id, so this route answers 404.\n * Use {@link bulkDestroy}.\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<Message> {\n return super.deleteById(id, headers)\n }\n\n /** Forwards one or more messages to one or more contacts (max 20 messages to 5 contacts). */\n forward(\n body: ForwardMessagesPayload,\n headers?: Record<string, string>,\n ): Promise<ForwardMessagesResult> {\n return this.client.post<ForwardMessagesResult, ForwardMessagesPayload>(\n `${this.basePath}/forward`,\n body,\n headers,\n )\n }\n\n /** Revokes (soft-deletes) a sent message so it is no longer visible to the recipient. */\n revoke(id: string, headers?: Record<string, string>): Promise<Message> {\n return this.client.post<Message>(`${this.basePath}/${id}/revoke`, undefined, headers)\n }\n\n /** Removes a previously sent reaction from a message. */\n revokeReaction(id: string, headers?: Record<string, string>): Promise<boolean> {\n return this.client.put<boolean>(`${this.basePath}/${id}/revoke-reaction`, undefined, headers)\n }\n\n /** Sends one or more contacts as vCard messages to a given contact. */\n sendVcards(body: SendVcardsPayload, headers?: Record<string, string>): Promise<Message> {\n return this.client.post<Message, SendVcardsPayload>(\n `${this.basePath}/send-vcards`,\n body,\n headers,\n )\n }\n\n /** Sends an emoji reaction to a message. */\n sendReaction(\n id: string,\n body: SendReactionPayload,\n headers?: Record<string, string>,\n ): Promise<boolean> {\n return this.client.post<boolean, SendReactionPayload>(\n `${this.basePath}/${id}/send-reaction`,\n body,\n headers,\n )\n }\n\n /** Uses AI to rewrite or correct a message text with a given tone (e.g. \"correct\", \"professional\", \"casual\"). */\n magicText(body: MagicTextPayload, headers?: Record<string, string>): Promise<MagicTextResult> {\n return this.client.post<MagicTextResult, MagicTextPayload>(\n `${this.basePath}/magic-text`,\n body,\n headers,\n )\n }\n\n /** Checks whether an AI-generated summary already exists for a given ticket. */\n checkSummary(\n body: CheckSummaryPayload,\n headers?: Record<string, string>,\n ): Promise<CheckSummaryResult> {\n return this.client.post<CheckSummaryResult, CheckSummaryPayload>(\n `${this.basePath}/check-summary`,\n body,\n headers,\n )\n }\n\n /**\n * Deletes multiple messages matching the given where clause.\n * @permissions messages.destroy\n */\n bulkDestroy(body: BulkDestroyPayload, headers?: Record<string, string>): Promise<boolean> {\n return this.client.request<boolean, BulkDestroyPayload>(\n 'DELETE',\n `${this.basePath}/many`,\n body,\n headers,\n )\n }\n\n /**\n * Regenerates an existing AI summary: `id` is the id of the message of `type: 'summary'`. When\n * there is no such message (or the AI limit was reached) nothing is done and it still resolves\n * `'OK'`. To summarize the open ticket of a contact, use `ContactsApi.summarizeTicket`.\n */\n summarize(id: string, headers?: Record<string, string>): Promise<string> {\n return this.client.post<string>(`${this.basePath}/${id}/summarize`, undefined, headers)\n }\n\n /** Checks whether a message is out of the visible range (i.e. there are more than `limit` messages after it). */\n outOfRange(\n id: string,\n limit?: number,\n headers?: Record<string, string>,\n ): Promise<OutOfRangeResult> {\n const queryString = limit ? `?${qs.stringify({ limit })}` : ''\n return this.client.get<OutOfRangeResult>(\n `${this.basePath}/${id}/out-of-range${queryString}`,\n headers,\n )\n }\n\n /**\n * Re-downloads and syncs the file attachment for a message from the messaging service. Resolves\n * what the driver answers; an unknown message answers 500.\n */\n syncFile(id: string, headers?: Record<string, string>): Promise<unknown> {\n return this.client.post<unknown>(`${this.basePath}/${id}/sync-file`, undefined, headers)\n }\n\n /** Loads messages surrounding a target message (N before and N after), useful for jumping to a specific point in a conversation. */\n around(\n id: string,\n query?: LoadAroundQuery,\n headers?: Record<string, string>,\n ): Promise<Message[]> {\n const queryString = query ? `?${qs.stringify(query)}` : ''\n return this.client.get<Message[]>(`${this.basePath}/${id}/around${queryString}`, headers)\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,cAAb,cAAiC,YAAiE;CAChG,YAAY,QAAmB;AAC7B,QAAM,QAAQ,YAAY;;;;;;;;CAS5B,AAAS,WACP,IACA,MACA,SACkB;AAClB,SAAO,KAAK,OAAO,MAAqC,GAAG,KAAK,SAAS,GAAG,MAAM,MAAM,QAAQ;;;;;;CAOlG,AAAS,WAAW,IAAY,SAAoD;AAClF,SAAO,MAAM,WAAW,IAAI,QAAQ;;;CAItC,QACE,MACA,SACgC;AAChC,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,WACjB,MACA,QACD;;;CAIH,OAAO,IAAY,SAAoD;AACrE,SAAO,KAAK,OAAO,KAAc,GAAG,KAAK,SAAS,GAAG,GAAG,UAAU,QAAW,QAAQ;;;CAIvF,eAAe,IAAY,SAAoD;AAC7E,SAAO,KAAK,OAAO,IAAa,GAAG,KAAK,SAAS,GAAG,GAAG,mBAAmB,QAAW,QAAQ;;;CAI/F,WAAW,MAAyB,SAAoD;AACtF,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,eACjB,MACA,QACD;;;CAIH,aACE,IACA,MACA,SACkB;AAClB,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,GAAG,GAAG,iBACvB,MACA,QACD;;;CAIH,UAAU,MAAwB,SAA4D;AAC5F,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,cACjB,MACA,QACD;;;CAIH,aACE,MACA,SAC6B;AAC7B,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,iBACjB,MACA,QACD;;;;;;CAOH,YAAY,MAA0B,SAAoD;AACxF,SAAO,KAAK,OAAO,QACjB,UACA,GAAG,KAAK,SAAS,QACjB,MACA,QACD;;;;;;;CAQH,UAAU,IAAY,SAAmD;AACvE,SAAO,KAAK,OAAO,KAAa,GAAG,KAAK,SAAS,GAAG,GAAG,aAAa,QAAW,QAAQ;;;CAIzF,WACE,IACA,OACA,SAC2B;EAC3B,MAAM,cAAc,QAAQ,IAAI,GAAG,UAAU,EAAE,OAAO,CAAC,KAAK;AAC5D,SAAO,KAAK,OAAO,IACjB,GAAG,KAAK,SAAS,GAAG,GAAG,eAAe,eACtC,QACD;;;;;;CAOH,SAAS,IAAY,SAAoD;AACvE,SAAO,KAAK,OAAO,KAAc,GAAG,KAAK,SAAS,GAAG,GAAG,aAAa,QAAW,QAAQ;;;CAI1F,OACE,IACA,OACA,SACoB;EACpB,MAAM,cAAc,QAAQ,IAAI,GAAG,UAAU,MAAM,KAAK;AACxD,SAAO,KAAK,OAAO,IAAe,GAAG,KAAK,SAAS,GAAG,GAAG,SAAS,eAAe,QAAQ"}
|
|
@@ -163,7 +163,10 @@ export type UpdateMessagePayload = {
|
|
|
163
163
|
text?: string;
|
|
164
164
|
file?: unknown;
|
|
165
165
|
fileId?: string;
|
|
166
|
+
/** Required by the backend (500 without it), although optional here for compatibility. */
|
|
166
167
|
contactId?: string;
|
|
168
|
+
/** `idFromService` of the contacts mentioned in a group message. */
|
|
169
|
+
mentionedList?: string[];
|
|
167
170
|
number?: string;
|
|
168
171
|
origin?: 'user' | 'bot';
|
|
169
172
|
hsm?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/apis/messages/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAElF,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,OAAO,GACP,KAAK,GACL,OAAO,GACP,OAAO,GACP,UAAU,GACV,OAAO,GACP,UAAU,GACV,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,UAAU,GACV,KAAK,GACL,YAAY,GACZ,MAAM,CAAA;AAEV,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAChC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE;QACb,SAAS,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,aAAa,EAAE,OAAO,CAAA;QACtB,KAAK,CAAC,EAAE,OAAO,CAAA;KAChB,CAAA;IACD,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE;QACT,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;QACX,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,OAAO,CAAC,EAAE,OAAO,CAAA;IAC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,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
|
|
@@ -6,6 +6,13 @@ var NotificationsApi = class extends require_core_BaseCrudApi.BaseCrudApi {
|
|
|
6
6
|
constructor(client) {
|
|
7
7
|
super(client, "/notifications");
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes a notification. Resolves the text `'OK'`; an unknown id answers 500. The route checks
|
|
11
|
+
* no permission.
|
|
12
|
+
*/
|
|
13
|
+
deleteById(id, headers) {
|
|
14
|
+
return super.deleteById(id, headers);
|
|
15
|
+
}
|
|
9
16
|
};
|
|
10
17
|
|
|
11
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/notifications/NotificationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Notification, CreateNotificationPayload, UpdateNotificationPayload } from './types'\n\nexport class NotificationsApi extends BaseCrudApi<\n Notification,\n CreateNotificationPayload,\n UpdateNotificationPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/notifications')\n }\n}\n"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"NotificationsApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/notifications/NotificationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Notification, CreateNotificationPayload, UpdateNotificationPayload } from './types'\n\nexport class NotificationsApi extends BaseCrudApi<\n Notification,\n CreateNotificationPayload,\n UpdateNotificationPayload,\n ListQuery<Notification>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/notifications')\n }\n\n /**\n * Deletes a notification. Resolves the text `'OK'`; an unknown id answers 500. The route checks\n * no permission.\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;AAKA,IAAa,mBAAb,cAAsCA,qCAMpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB;;;;;;CAOjC,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import type { ListQuery } from '../../core/types';
|
|
2
3
|
import { BaseCrudApi } from '../../core/BaseCrudApi';
|
|
3
4
|
import type { Notification, CreateNotificationPayload, UpdateNotificationPayload } from './types';
|
|
4
|
-
export declare class NotificationsApi extends BaseCrudApi<Notification, CreateNotificationPayload, UpdateNotificationPayload> {
|
|
5
|
+
export declare class NotificationsApi extends BaseCrudApi<Notification, CreateNotificationPayload, UpdateNotificationPayload, ListQuery<Notification>, 'OK'> {
|
|
5
6
|
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Deletes a notification. Resolves the text `'OK'`; an unknown id answers 500. The route checks
|
|
9
|
+
* no permission.
|
|
10
|
+
*/
|
|
11
|
+
deleteById(id: string, headers?: Record<string, string>): Promise<'OK'>;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=NotificationsApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsApi.d.ts","sourceRoot":"","sources":["../../../src/apis/notifications/NotificationsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEjG,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"NotificationsApi.d.ts","sourceRoot":"","sources":["../../../src/apis/notifications/NotificationsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEjG,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,EACzB,SAAS,CAAC,YAAY,CAAC,EACvB,IAAI,CACL;gBACa,MAAM,EAAE,SAAS;IAI7B;;;OAGG;IACM,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAGjF"}
|
|
@@ -5,6 +5,13 @@ var NotificationsApi = class extends BaseCrudApi {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
super(client, "/notifications");
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Deletes a notification. Resolves the text `'OK'`; an unknown id answers 500. The route checks
|
|
10
|
+
* no permission.
|
|
11
|
+
*/
|
|
12
|
+
deleteById(id, headers) {
|
|
13
|
+
return super.deleteById(id, headers);
|
|
14
|
+
}
|
|
8
15
|
};
|
|
9
16
|
|
|
10
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsApi.mjs","names":[],"sources":["../../../src/apis/notifications/NotificationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Notification, CreateNotificationPayload, UpdateNotificationPayload } from './types'\n\nexport class NotificationsApi extends BaseCrudApi<\n Notification,\n CreateNotificationPayload,\n UpdateNotificationPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/notifications')\n }\n}\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"NotificationsApi.mjs","names":[],"sources":["../../../src/apis/notifications/NotificationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Notification, CreateNotificationPayload, UpdateNotificationPayload } from './types'\n\nexport class NotificationsApi extends BaseCrudApi<\n Notification,\n CreateNotificationPayload,\n UpdateNotificationPayload,\n ListQuery<Notification>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/notifications')\n }\n\n /**\n * Deletes a notification. Resolves the text `'OK'`; an unknown id answers 500. The route checks\n * no permission.\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;AAKA,IAAa,mBAAb,cAAsC,YAMpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB;;;;;;CAOjC,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -6,6 +6,13 @@ var OrganizationsApi = class extends require_core_BaseCrudApi.BaseCrudApi {
|
|
|
6
6
|
constructor(client) {
|
|
7
7
|
super(client, "/organizations");
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes an organization. Resolves the text `'OK'`.
|
|
11
|
+
* @permissions organizations.view OR organizations.destroy
|
|
12
|
+
*/
|
|
13
|
+
deleteById(id, headers) {
|
|
14
|
+
return super.deleteById(id, headers);
|
|
15
|
+
}
|
|
9
16
|
};
|
|
10
17
|
|
|
11
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationsApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Organization, CreateOrganizationPayload, UpdateOrganizationPayload } from './types'\n\nexport class OrganizationsApi extends BaseCrudApi<\n Organization,\n CreateOrganizationPayload,\n UpdateOrganizationPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/organizations')\n }\n}\n"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"OrganizationsApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Organization, CreateOrganizationPayload, UpdateOrganizationPayload } from './types'\n\nexport class OrganizationsApi extends BaseCrudApi<\n Organization,\n CreateOrganizationPayload,\n UpdateOrganizationPayload,\n ListQuery<Organization>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/organizations')\n }\n\n /**\n * Deletes an organization. Resolves the text `'OK'`.\n * @permissions organizations.view OR organizations.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;AAKA,IAAa,mBAAb,cAAsCA,qCAMpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB;;;;;;CAOjC,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import type { ListQuery } from '../../core/types';
|
|
2
3
|
import { BaseCrudApi } from '../../core/BaseCrudApi';
|
|
3
4
|
import type { Organization, CreateOrganizationPayload, UpdateOrganizationPayload } from './types';
|
|
4
|
-
export declare class OrganizationsApi extends BaseCrudApi<Organization, CreateOrganizationPayload, UpdateOrganizationPayload> {
|
|
5
|
+
export declare class OrganizationsApi extends BaseCrudApi<Organization, CreateOrganizationPayload, UpdateOrganizationPayload, ListQuery<Organization>, 'OK'> {
|
|
5
6
|
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Deletes an organization. Resolves the text `'OK'`.
|
|
9
|
+
* @permissions organizations.view OR organizations.destroy
|
|
10
|
+
*/
|
|
11
|
+
deleteById(id: string, headers?: Record<string, string>): Promise<'OK'>;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=OrganizationsApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationsApi.d.ts","sourceRoot":"","sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEjG,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"OrganizationsApi.d.ts","sourceRoot":"","sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEjG,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,EACzB,SAAS,CAAC,YAAY,CAAC,EACvB,IAAI,CACL;gBACa,MAAM,EAAE,SAAS;IAI7B;;;OAGG;IACM,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAGjF"}
|
|
@@ -5,6 +5,13 @@ var OrganizationsApi = class extends BaseCrudApi {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
super(client, "/organizations");
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Deletes an organization. Resolves the text `'OK'`.
|
|
10
|
+
* @permissions organizations.view OR organizations.destroy
|
|
11
|
+
*/
|
|
12
|
+
deleteById(id, headers) {
|
|
13
|
+
return super.deleteById(id, headers);
|
|
14
|
+
}
|
|
8
15
|
};
|
|
9
16
|
|
|
10
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationsApi.mjs","names":[],"sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Organization, CreateOrganizationPayload, UpdateOrganizationPayload } from './types'\n\nexport class OrganizationsApi extends BaseCrudApi<\n Organization,\n CreateOrganizationPayload,\n UpdateOrganizationPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/organizations')\n }\n}\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"OrganizationsApi.mjs","names":[],"sources":["../../../src/apis/organizations/OrganizationsApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Organization, CreateOrganizationPayload, UpdateOrganizationPayload } from './types'\n\nexport class OrganizationsApi extends BaseCrudApi<\n Organization,\n CreateOrganizationPayload,\n UpdateOrganizationPayload,\n ListQuery<Organization>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/organizations')\n }\n\n /**\n * Deletes an organization. Resolves the text `'OK'`.\n * @permissions organizations.view OR organizations.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;AAKA,IAAa,mBAAb,cAAsC,YAMpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB;;;;;;CAOjC,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -6,6 +6,13 @@ var PeopleApi = class extends require_core_BaseCrudApi.BaseCrudApi {
|
|
|
6
6
|
constructor(client) {
|
|
7
7
|
super(client, "/people");
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes a person. Resolves the text `'OK'`.
|
|
11
|
+
* @permissions people.view OR people.destroy
|
|
12
|
+
*/
|
|
13
|
+
deleteById(id, headers) {
|
|
14
|
+
return super.deleteById(id, headers);
|
|
15
|
+
}
|
|
9
16
|
};
|
|
10
17
|
|
|
11
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/people/PeopleApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Person, CreatePersonPayload, UpdatePersonPayload } from './types'\n\nexport class PeopleApi extends BaseCrudApi
|
|
1
|
+
{"version":3,"file":"PeopleApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/people/PeopleApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Person, CreatePersonPayload, UpdatePersonPayload } from './types'\n\nexport class PeopleApi extends BaseCrudApi<\n Person,\n CreatePersonPayload,\n UpdatePersonPayload,\n ListQuery<Person>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/people')\n }\n\n /**\n * Deletes a person. Resolves the text `'OK'`.\n * @permissions people.view OR people.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;AAKA,IAAa,YAAb,cAA+BA,qCAM7B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,UAAU;;;;;;CAO1B,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import type { ListQuery } from '../../core/types';
|
|
2
3
|
import { BaseCrudApi } from '../../core/BaseCrudApi';
|
|
3
4
|
import type { Person, CreatePersonPayload, UpdatePersonPayload } from './types';
|
|
4
|
-
export declare class PeopleApi extends BaseCrudApi<Person, CreatePersonPayload, UpdatePersonPayload> {
|
|
5
|
+
export declare class PeopleApi extends BaseCrudApi<Person, CreatePersonPayload, UpdatePersonPayload, ListQuery<Person>, 'OK'> {
|
|
5
6
|
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Deletes a person. Resolves the text `'OK'`.
|
|
9
|
+
* @permissions people.view OR people.destroy
|
|
10
|
+
*/
|
|
11
|
+
deleteById(id: string, headers?: Record<string, string>): Promise<'OK'>;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=PeopleApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleApi.d.ts","sourceRoot":"","sources":["../../../src/apis/people/PeopleApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE/E,qBAAa,SAAU,SAAQ,WAAW,
|
|
1
|
+
{"version":3,"file":"PeopleApi.d.ts","sourceRoot":"","sources":["../../../src/apis/people/PeopleApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE/E,qBAAa,SAAU,SAAQ,WAAW,CACxC,MAAM,EACN,mBAAmB,EACnB,mBAAmB,EACnB,SAAS,CAAC,MAAM,CAAC,EACjB,IAAI,CACL;gBACa,MAAM,EAAE,SAAS;IAI7B;;;OAGG;IACM,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAGjF"}
|
|
@@ -5,6 +5,13 @@ var PeopleApi = class extends BaseCrudApi {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
super(client, "/people");
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Deletes a person. Resolves the text `'OK'`.
|
|
10
|
+
* @permissions people.view OR people.destroy
|
|
11
|
+
*/
|
|
12
|
+
deleteById(id, headers) {
|
|
13
|
+
return super.deleteById(id, headers);
|
|
14
|
+
}
|
|
8
15
|
};
|
|
9
16
|
|
|
10
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleApi.mjs","names":[],"sources":["../../../src/apis/people/PeopleApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Person, CreatePersonPayload, UpdatePersonPayload } from './types'\n\nexport class PeopleApi extends BaseCrudApi
|
|
1
|
+
{"version":3,"file":"PeopleApi.mjs","names":[],"sources":["../../../src/apis/people/PeopleApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport type { ListQuery } from '../../core/types'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Person, CreatePersonPayload, UpdatePersonPayload } from './types'\n\nexport class PeopleApi extends BaseCrudApi<\n Person,\n CreatePersonPayload,\n UpdatePersonPayload,\n ListQuery<Person>,\n 'OK'\n> {\n constructor(client: ApiClient) {\n super(client, '/people')\n }\n\n /**\n * Deletes a person. Resolves the text `'OK'`.\n * @permissions people.view OR people.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;AAKA,IAAa,YAAb,cAA+B,YAM7B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,UAAU;;;;;;CAO1B,AAAS,WAAW,IAAY,SAAiD;AAC/E,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -2,10 +2,26 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_core_BaseCrudApi = require('../../core/BaseCrudApi.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/apis/planAiHistory/PlanAiHistoryApi.ts
|
|
5
|
+
/**
|
|
6
|
+
* History of the AI products of the plan, only for reading: the records are written by super admin
|
|
7
|
+
* actions. The backend serves only `GET /plan-ai-history` and `GET /plan-ai-history/:id`.
|
|
8
|
+
*/
|
|
5
9
|
var PlanAiHistoryApi = class extends require_core_BaseCrudApi.BaseCrudApi {
|
|
6
10
|
constructor(client) {
|
|
7
11
|
super(client, "/plan-ai-history");
|
|
8
12
|
}
|
|
13
|
+
/** @deprecated Not served: the backend has no POST /plan-ai-history, so this route answers 404. */
|
|
14
|
+
create(body, headers) {
|
|
15
|
+
return super.create(body, headers);
|
|
16
|
+
}
|
|
17
|
+
/** @deprecated Not served: the backend has no PUT /plan-ai-history/:id, so this route answers 404. */
|
|
18
|
+
updateById(id, body, headers) {
|
|
19
|
+
return super.updateById(id, body, headers);
|
|
20
|
+
}
|
|
21
|
+
/** @deprecated Not served: the backend has no DELETE /plan-ai-history/:id, so this route answers 404. */
|
|
22
|
+
deleteById(id, headers) {
|
|
23
|
+
return super.deleteById(id, headers);
|
|
24
|
+
}
|
|
9
25
|
};
|
|
10
26
|
|
|
11
27
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanAiHistoryApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload } from './types'\n\nexport class PlanAiHistoryApi extends BaseCrudApi<\n PlanAiHistory,\n CreatePlanAiHistoryPayload,\n UpdatePlanAiHistoryPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/plan-ai-history')\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlanAiHistoryApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload } from './types'\n\n/**\n * History of the AI products of the plan, only for reading: the records are written by super admin\n * actions. The backend serves only `GET /plan-ai-history` and `GET /plan-ai-history/:id`.\n */\nexport class PlanAiHistoryApi extends BaseCrudApi<\n PlanAiHistory,\n CreatePlanAiHistoryPayload,\n UpdatePlanAiHistoryPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/plan-ai-history')\n }\n\n /** @deprecated Not served: the backend has no POST /plan-ai-history, so this route answers 404. */\n override create(\n body: CreatePlanAiHistoryPayload,\n headers?: Record<string, string>,\n ): Promise<PlanAiHistory> {\n return super.create(body, headers)\n }\n\n /** @deprecated Not served: the backend has no PUT /plan-ai-history/:id, so this route answers 404. */\n override updateById(\n id: string,\n body: UpdatePlanAiHistoryPayload,\n headers?: Record<string, string>,\n ): Promise<PlanAiHistory> {\n return super.updateById(id, body, headers)\n }\n\n /** @deprecated Not served: the backend has no DELETE /plan-ai-history/:id, so this route answers 404. */\n override deleteById(id: string, headers?: Record<string, string>): Promise<PlanAiHistory> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;;;;;AAQA,IAAa,mBAAb,cAAsCA,qCAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,mBAAmB;;;CAInC,AAAS,OACP,MACA,SACwB;AACxB,SAAO,MAAM,OAAO,MAAM,QAAQ;;;CAIpC,AAAS,WACP,IACA,MACA,SACwB;AACxB,SAAO,MAAM,WAAW,IAAI,MAAM,QAAQ;;;CAI5C,AAAS,WAAW,IAAY,SAA0D;AACxF,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import type { ApiClient } from '../../core/ApiClient';
|
|
2
2
|
import { BaseCrudApi } from '../../core/BaseCrudApi';
|
|
3
3
|
import type { PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* History of the AI products of the plan, only for reading: the records are written by super admin
|
|
6
|
+
* actions. The backend serves only `GET /plan-ai-history` and `GET /plan-ai-history/:id`.
|
|
7
|
+
*/
|
|
4
8
|
export declare class PlanAiHistoryApi extends BaseCrudApi<PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload> {
|
|
5
9
|
constructor(client: ApiClient);
|
|
10
|
+
/** @deprecated Not served: the backend has no POST /plan-ai-history, so this route answers 404. */
|
|
11
|
+
create(body: CreatePlanAiHistoryPayload, headers?: Record<string, string>): Promise<PlanAiHistory>;
|
|
12
|
+
/** @deprecated Not served: the backend has no PUT /plan-ai-history/:id, so this route answers 404. */
|
|
13
|
+
updateById(id: string, body: UpdatePlanAiHistoryPayload, headers?: Record<string, string>): Promise<PlanAiHistory>;
|
|
14
|
+
/** @deprecated Not served: the backend has no DELETE /plan-ai-history/:id, so this route answers 404. */
|
|
15
|
+
deleteById(id: string, headers?: Record<string, string>): Promise<PlanAiHistory>;
|
|
6
16
|
}
|
|
7
17
|
//# sourceMappingURL=PlanAiHistoryApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanAiHistoryApi.d.ts","sourceRoot":"","sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpG,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,CAC3B;gBACa,MAAM,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"PlanAiHistoryApi.d.ts","sourceRoot":"","sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpG;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,WAAW,CAC/C,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,CAC3B;gBACa,MAAM,EAAE,SAAS;IAI7B,mGAAmG;IAC1F,MAAM,CACb,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,aAAa,CAAC;IAIzB,sGAAsG;IAC7F,UAAU,CACjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,aAAa,CAAC;IAIzB,yGAAyG;IAChG,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;CAG1F"}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
import { BaseCrudApi } from "../../core/BaseCrudApi.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/apis/planAiHistory/PlanAiHistoryApi.ts
|
|
4
|
+
/**
|
|
5
|
+
* History of the AI products of the plan, only for reading: the records are written by super admin
|
|
6
|
+
* actions. The backend serves only `GET /plan-ai-history` and `GET /plan-ai-history/:id`.
|
|
7
|
+
*/
|
|
4
8
|
var PlanAiHistoryApi = class extends BaseCrudApi {
|
|
5
9
|
constructor(client) {
|
|
6
10
|
super(client, "/plan-ai-history");
|
|
7
11
|
}
|
|
12
|
+
/** @deprecated Not served: the backend has no POST /plan-ai-history, so this route answers 404. */
|
|
13
|
+
create(body, headers) {
|
|
14
|
+
return super.create(body, headers);
|
|
15
|
+
}
|
|
16
|
+
/** @deprecated Not served: the backend has no PUT /plan-ai-history/:id, so this route answers 404. */
|
|
17
|
+
updateById(id, body, headers) {
|
|
18
|
+
return super.updateById(id, body, headers);
|
|
19
|
+
}
|
|
20
|
+
/** @deprecated Not served: the backend has no DELETE /plan-ai-history/:id, so this route answers 404. */
|
|
21
|
+
deleteById(id, headers) {
|
|
22
|
+
return super.deleteById(id, headers);
|
|
23
|
+
}
|
|
8
24
|
};
|
|
9
25
|
|
|
10
26
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanAiHistoryApi.mjs","names":[],"sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload } from './types'\n\nexport class PlanAiHistoryApi extends BaseCrudApi<\n PlanAiHistory,\n CreatePlanAiHistoryPayload,\n UpdatePlanAiHistoryPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/plan-ai-history')\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlanAiHistoryApi.mjs","names":[],"sources":["../../../src/apis/planAiHistory/PlanAiHistoryApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { PlanAiHistory, CreatePlanAiHistoryPayload, UpdatePlanAiHistoryPayload } from './types'\n\n/**\n * History of the AI products of the plan, only for reading: the records are written by super admin\n * actions. The backend serves only `GET /plan-ai-history` and `GET /plan-ai-history/:id`.\n */\nexport class PlanAiHistoryApi extends BaseCrudApi<\n PlanAiHistory,\n CreatePlanAiHistoryPayload,\n UpdatePlanAiHistoryPayload\n> {\n constructor(client: ApiClient) {\n super(client, '/plan-ai-history')\n }\n\n /** @deprecated Not served: the backend has no POST /plan-ai-history, so this route answers 404. */\n override create(\n body: CreatePlanAiHistoryPayload,\n headers?: Record<string, string>,\n ): Promise<PlanAiHistory> {\n return super.create(body, headers)\n }\n\n /** @deprecated Not served: the backend has no PUT /plan-ai-history/:id, so this route answers 404. */\n override updateById(\n id: string,\n body: UpdatePlanAiHistoryPayload,\n headers?: Record<string, string>,\n ): Promise<PlanAiHistory> {\n return super.updateById(id, body, headers)\n }\n\n /** @deprecated Not served: the backend has no DELETE /plan-ai-history/:id, so this route answers 404. */\n override deleteById(id: string, headers?: Record<string, string>): Promise<PlanAiHistory> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;;;;AAQA,IAAa,mBAAb,cAAsC,YAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,mBAAmB;;;CAInC,AAAS,OACP,MACA,SACwB;AACxB,SAAO,MAAM,OAAO,MAAM,QAAQ;;;CAIpC,AAAS,WACP,IACA,MACA,SACwB;AACxB,SAAO,MAAM,WAAW,IAAI,MAAM,QAAQ;;;CAI5C,AAAS,WAAW,IAAY,SAA0D;AACxF,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -6,6 +6,13 @@ var RolesApi = class extends require_core_BaseCrudApi.BaseCrudApi {
|
|
|
6
6
|
constructor(client) {
|
|
7
7
|
super(client, "/roles");
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes a role. Resolves `true`.
|
|
11
|
+
* @permissions roles.destroy
|
|
12
|
+
*/
|
|
13
|
+
deleteById(id, headers) {
|
|
14
|
+
return super.deleteById(id, headers);
|
|
15
|
+
}
|
|
9
16
|
};
|
|
10
17
|
|
|
11
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RolesApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/roles/RolesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Role, CreateRolePayload, UpdateRolePayload, RolesListQuery } from './types'\n\nexport class RolesApi extends BaseCrudApi<\n Role,\n CreateRolePayload,\n UpdateRolePayload,\n RolesListQuery\n> {\n constructor(client: ApiClient) {\n super(client, '/roles')\n }\n}\n"],"mappings":";;;;AAIA,IAAa,WAAb,cAA8BA,
|
|
1
|
+
{"version":3,"file":"RolesApi.cjs","names":["BaseCrudApi"],"sources":["../../../src/apis/roles/RolesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Role, CreateRolePayload, UpdateRolePayload, RolesListQuery } from './types'\n\nexport class RolesApi extends BaseCrudApi<\n Role,\n CreateRolePayload,\n UpdateRolePayload,\n RolesListQuery,\n boolean\n> {\n constructor(client: ApiClient) {\n super(client, '/roles')\n }\n\n /**\n * Deletes a role. Resolves `true`.\n * @permissions roles.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<boolean> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;;AAIA,IAAa,WAAb,cAA8BA,qCAM5B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,SAAS;;;;;;CAOzB,AAAS,WAAW,IAAY,SAAoD;AAClF,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { ApiClient } from '../../core/ApiClient';
|
|
2
2
|
import { BaseCrudApi } from '../../core/BaseCrudApi';
|
|
3
3
|
import type { Role, CreateRolePayload, UpdateRolePayload, RolesListQuery } from './types';
|
|
4
|
-
export declare class RolesApi extends BaseCrudApi<Role, CreateRolePayload, UpdateRolePayload, RolesListQuery> {
|
|
4
|
+
export declare class RolesApi extends BaseCrudApi<Role, CreateRolePayload, UpdateRolePayload, RolesListQuery, boolean> {
|
|
5
5
|
constructor(client: ApiClient);
|
|
6
|
+
/**
|
|
7
|
+
* Deletes a role. Resolves `true`.
|
|
8
|
+
* @permissions roles.destroy
|
|
9
|
+
*/
|
|
10
|
+
deleteById(id: string, headers?: Record<string, string>): Promise<boolean>;
|
|
6
11
|
}
|
|
7
12
|
//# sourceMappingURL=RolesApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RolesApi.d.ts","sourceRoot":"","sources":["../../../src/apis/roles/RolesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAEzF,qBAAa,QAAS,SAAQ,WAAW,CACvC,IAAI,EACJ,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,
|
|
1
|
+
{"version":3,"file":"RolesApi.d.ts","sourceRoot":"","sources":["../../../src/apis/roles/RolesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAEzF,qBAAa,QAAS,SAAQ,WAAW,CACvC,IAAI,EACJ,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,OAAO,CACR;gBACa,MAAM,EAAE,SAAS;IAI7B;;;OAGG;IACM,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;CAGpF"}
|
|
@@ -5,6 +5,13 @@ var RolesApi = class extends BaseCrudApi {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
super(client, "/roles");
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Deletes a role. Resolves `true`.
|
|
10
|
+
* @permissions roles.destroy
|
|
11
|
+
*/
|
|
12
|
+
deleteById(id, headers) {
|
|
13
|
+
return super.deleteById(id, headers);
|
|
14
|
+
}
|
|
8
15
|
};
|
|
9
16
|
|
|
10
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RolesApi.mjs","names":[],"sources":["../../../src/apis/roles/RolesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Role, CreateRolePayload, UpdateRolePayload, RolesListQuery } from './types'\n\nexport class RolesApi extends BaseCrudApi<\n Role,\n CreateRolePayload,\n UpdateRolePayload,\n RolesListQuery\n> {\n constructor(client: ApiClient) {\n super(client, '/roles')\n }\n}\n"],"mappings":";;;AAIA,IAAa,WAAb,cAA8B,
|
|
1
|
+
{"version":3,"file":"RolesApi.mjs","names":[],"sources":["../../../src/apis/roles/RolesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { BaseCrudApi } from '../../core/BaseCrudApi'\nimport type { Role, CreateRolePayload, UpdateRolePayload, RolesListQuery } from './types'\n\nexport class RolesApi extends BaseCrudApi<\n Role,\n CreateRolePayload,\n UpdateRolePayload,\n RolesListQuery,\n boolean\n> {\n constructor(client: ApiClient) {\n super(client, '/roles')\n }\n\n /**\n * Deletes a role. Resolves `true`.\n * @permissions roles.destroy\n */\n override deleteById(id: string, headers?: Record<string, string>): Promise<boolean> {\n return super.deleteById(id, headers)\n }\n}\n"],"mappings":";;;AAIA,IAAa,WAAb,cAA8B,YAM5B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,SAAS;;;;;;CAOzB,AAAS,WAAW,IAAY,SAAoD;AAClF,SAAO,MAAM,WAAW,IAAI,QAAQ"}
|
|
@@ -14,6 +14,74 @@ var ServicesApi = class extends require_core_ArchivableCrudApi.ArchivableCrudApi
|
|
|
14
14
|
getLimits(headers) {
|
|
15
15
|
return this.client.get(`${this.basePath}/limits`, headers);
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated The backend does not archive a connection by `PUT { archivedAt }`: the PUT
|
|
19
|
+
* requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.
|
|
20
|
+
*/
|
|
21
|
+
archive(id, headers) {
|
|
22
|
+
return super.archive(id, headers);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated The backend does not restore a connection by `PUT { archivedAt: null }`: the PUT
|
|
26
|
+
* requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.
|
|
27
|
+
*/
|
|
28
|
+
unarchive(id, headers) {
|
|
29
|
+
return super.unarchive(id, headers);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Archives (`archive: true`) or restores (`archive: false`) a connection through the route used
|
|
33
|
+
* by the UI. Archiving shuts the connection down, closes its open tickets, marks its schedules
|
|
34
|
+
* as done and cancels its campaigns; restoring checks the plan limit of the `type` (400 when it
|
|
35
|
+
* is full).
|
|
36
|
+
*
|
|
37
|
+
* Resolves `{}` before the work is done (the route does not await it): poll `getById` until
|
|
38
|
+
* `archivedAt` changes. Send the `type` of the connection: without it the request is never
|
|
39
|
+
* answered.
|
|
40
|
+
* @permissions services.disabled
|
|
41
|
+
*/
|
|
42
|
+
archiveWithValidation(id, body, headers) {
|
|
43
|
+
return this.client.post(`${this.basePath}/${id}/archive`, body, headers);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Takes the session of the connection over to this server. Resolves the text `'OK'`; an
|
|
47
|
+
* unknown id answers 404 `Service not found.`.
|
|
48
|
+
* @permissions services.operate
|
|
49
|
+
*/
|
|
50
|
+
takeover(id, headers) {
|
|
51
|
+
return this.client.post(`${this.basePath}/${id}/takeover`, void 0, headers);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Logs the connection out of the messaging service. Resolves the text `'OK'`; an unknown id
|
|
55
|
+
* answers 404 `Service not found.`.
|
|
56
|
+
* @permissions services.operate
|
|
57
|
+
*/
|
|
58
|
+
logout(id, headers) {
|
|
59
|
+
return this.client.post(`${this.basePath}/${id}/logout`, void 0, headers);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Shuts the connection down. Resolves the text `'OK'`; an unknown id answers 404
|
|
63
|
+
* `Service not found.`.
|
|
64
|
+
* @permissions services.operate
|
|
65
|
+
*/
|
|
66
|
+
shutdown(id, headers) {
|
|
67
|
+
return this.client.post(`${this.basePath}/${id}/shutdown`, void 0, headers);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Starts the connection. Resolves the text `'OK'`; an unknown id answers 404
|
|
71
|
+
* `Service not found.`.
|
|
72
|
+
* @permissions services.operate
|
|
73
|
+
*/
|
|
74
|
+
start(id, headers) {
|
|
75
|
+
return this.client.post(`${this.basePath}/${id}/start`, void 0, headers);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Restarts the connection. Resolves the text `'OK'`; an unknown id answers 404
|
|
79
|
+
* `Service not found.`.
|
|
80
|
+
* @permissions services.operate
|
|
81
|
+
*/
|
|
82
|
+
restart(id, headers) {
|
|
83
|
+
return this.client.post(`${this.basePath}/${id}/restart`, void 0, headers);
|
|
84
|
+
}
|
|
17
85
|
};
|
|
18
86
|
|
|
19
87
|
//#endregion
|