@ikatec/digisac-api-sdk 4.9.0 → 4.11.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.
Files changed (310) hide show
  1. package/README.md +36 -12
  2. package/dist/apis/absence/AbsenceApi.cjs +12 -0
  3. package/dist/apis/absence/AbsenceApi.cjs.map +1 -1
  4. package/dist/apis/absence/AbsenceApi.d.ts +9 -0
  5. package/dist/apis/absence/AbsenceApi.d.ts.map +1 -1
  6. package/dist/apis/absence/AbsenceApi.mjs +12 -0
  7. package/dist/apis/absence/AbsenceApi.mjs.map +1 -1
  8. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.cjs +8 -0
  9. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.cjs.map +1 -1
  10. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.d.ts +8 -1
  11. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.d.ts.map +1 -1
  12. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.mjs +8 -0
  13. package/dist/apis/acceptanceTerms/AcceptanceTermsApi.mjs.map +1 -1
  14. package/dist/apis/accounts/AccountsApi.cjs +5 -0
  15. package/dist/apis/accounts/AccountsApi.cjs.map +1 -1
  16. package/dist/apis/accounts/AccountsApi.d.ts +5 -0
  17. package/dist/apis/accounts/AccountsApi.d.ts.map +1 -1
  18. package/dist/apis/accounts/AccountsApi.mjs +5 -0
  19. package/dist/apis/accounts/AccountsApi.mjs.map +1 -1
  20. package/dist/apis/accounts/types.d.ts +2 -0
  21. package/dist/apis/accounts/types.d.ts.map +1 -1
  22. package/dist/apis/activityLog/ActivityLogApi.cjs +12 -0
  23. package/dist/apis/activityLog/ActivityLogApi.cjs.map +1 -1
  24. package/dist/apis/activityLog/ActivityLogApi.d.ts +8 -0
  25. package/dist/apis/activityLog/ActivityLogApi.d.ts.map +1 -1
  26. package/dist/apis/activityLog/ActivityLogApi.mjs +12 -0
  27. package/dist/apis/activityLog/ActivityLogApi.mjs.map +1 -1
  28. package/dist/apis/categories/CategoriesApi.cjs +7 -0
  29. package/dist/apis/categories/CategoriesApi.cjs.map +1 -1
  30. package/dist/apis/categories/CategoriesApi.d.ts +7 -1
  31. package/dist/apis/categories/CategoriesApi.d.ts.map +1 -1
  32. package/dist/apis/categories/CategoriesApi.mjs +7 -0
  33. package/dist/apis/categories/CategoriesApi.mjs.map +1 -1
  34. package/dist/apis/clientFeedback/ClientFeedbackApi.cjs +5 -1
  35. package/dist/apis/clientFeedback/ClientFeedbackApi.cjs.map +1 -1
  36. package/dist/apis/clientFeedback/ClientFeedbackApi.d.ts +5 -1
  37. package/dist/apis/clientFeedback/ClientFeedbackApi.d.ts.map +1 -1
  38. package/dist/apis/clientFeedback/ClientFeedbackApi.mjs +5 -1
  39. package/dist/apis/clientFeedback/ClientFeedbackApi.mjs.map +1 -1
  40. package/dist/apis/contactBlockLists/ContactBlockListsApi.cjs +36 -0
  41. package/dist/apis/contactBlockLists/ContactBlockListsApi.cjs.map +1 -1
  42. package/dist/apis/contactBlockLists/ContactBlockListsApi.d.ts +32 -1
  43. package/dist/apis/contactBlockLists/ContactBlockListsApi.d.ts.map +1 -1
  44. package/dist/apis/contactBlockLists/ContactBlockListsApi.mjs +36 -0
  45. package/dist/apis/contactBlockLists/ContactBlockListsApi.mjs.map +1 -1
  46. package/dist/apis/contactBlockLists/types.d.ts +6 -1
  47. package/dist/apis/contactBlockLists/types.d.ts.map +1 -1
  48. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.cjs +37 -0
  49. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.cjs.map +1 -1
  50. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.d.ts +33 -1
  51. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.d.ts.map +1 -1
  52. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.mjs +37 -0
  53. package/dist/apis/contactBlockListsControls/ContactBlockListsControlsApi.mjs.map +1 -1
  54. package/dist/apis/contactBlockListsControls/types.d.ts +7 -0
  55. package/dist/apis/contactBlockListsControls/types.d.ts.map +1 -1
  56. package/dist/apis/contacts/ContactsApi.cjs +16 -3
  57. package/dist/apis/contacts/ContactsApi.cjs.map +1 -1
  58. package/dist/apis/contacts/ContactsApi.d.ts +16 -5
  59. package/dist/apis/contacts/ContactsApi.d.ts.map +1 -1
  60. package/dist/apis/contacts/ContactsApi.mjs +16 -3
  61. package/dist/apis/contacts/ContactsApi.mjs.map +1 -1
  62. package/dist/apis/contacts/types.d.ts +6 -1
  63. package/dist/apis/contacts/types.d.ts.map +1 -1
  64. package/dist/apis/creditMovements/CreditMovementsApi.cjs +17 -0
  65. package/dist/apis/creditMovements/CreditMovementsApi.cjs.map +1 -1
  66. package/dist/apis/creditMovements/CreditMovementsApi.d.ts +11 -0
  67. package/dist/apis/creditMovements/CreditMovementsApi.d.ts.map +1 -1
  68. package/dist/apis/creditMovements/CreditMovementsApi.mjs +17 -0
  69. package/dist/apis/creditMovements/CreditMovementsApi.mjs.map +1 -1
  70. package/dist/apis/customFields/CustomFieldsApi.cjs +7 -0
  71. package/dist/apis/customFields/CustomFieldsApi.cjs.map +1 -1
  72. package/dist/apis/customFields/CustomFieldsApi.d.ts +7 -1
  73. package/dist/apis/customFields/CustomFieldsApi.d.ts.map +1 -1
  74. package/dist/apis/customFields/CustomFieldsApi.mjs +7 -0
  75. package/dist/apis/customFields/CustomFieldsApi.mjs.map +1 -1
  76. package/dist/apis/departments/DepartmentsApi.cjs +21 -0
  77. package/dist/apis/departments/DepartmentsApi.cjs.map +1 -1
  78. package/dist/apis/departments/DepartmentsApi.d.ts +20 -2
  79. package/dist/apis/departments/DepartmentsApi.d.ts.map +1 -1
  80. package/dist/apis/departments/DepartmentsApi.mjs +21 -0
  81. package/dist/apis/departments/DepartmentsApi.mjs.map +1 -1
  82. package/dist/apis/departments/types.d.ts +5 -0
  83. package/dist/apis/departments/types.d.ts.map +1 -1
  84. package/dist/apis/distribution/DistributionApi.cjs +32 -0
  85. package/dist/apis/distribution/DistributionApi.cjs.map +1 -1
  86. package/dist/apis/distribution/DistributionApi.d.ts +26 -1
  87. package/dist/apis/distribution/DistributionApi.d.ts.map +1 -1
  88. package/dist/apis/distribution/DistributionApi.mjs +32 -0
  89. package/dist/apis/distribution/DistributionApi.mjs.map +1 -1
  90. package/dist/apis/distribution/types.d.ts +18 -1
  91. package/dist/apis/distribution/types.d.ts.map +1 -1
  92. package/dist/apis/files/FilesApi.cjs +49 -0
  93. package/dist/apis/files/FilesApi.cjs.map +1 -1
  94. package/dist/apis/files/FilesApi.d.ts +45 -2
  95. package/dist/apis/files/FilesApi.d.ts.map +1 -1
  96. package/dist/apis/files/FilesApi.mjs +49 -0
  97. package/dist/apis/files/FilesApi.mjs.map +1 -1
  98. package/dist/apis/files/types.d.ts +45 -7
  99. package/dist/apis/files/types.d.ts.map +1 -1
  100. package/dist/apis/holiday/HolidayApi.cjs +7 -0
  101. package/dist/apis/holiday/HolidayApi.cjs.map +1 -1
  102. package/dist/apis/holiday/HolidayApi.d.ts +7 -1
  103. package/dist/apis/holiday/HolidayApi.d.ts.map +1 -1
  104. package/dist/apis/holiday/HolidayApi.mjs +7 -0
  105. package/dist/apis/holiday/HolidayApi.mjs.map +1 -1
  106. package/dist/apis/integrations/IntegrationsApi.cjs +24 -0
  107. package/dist/apis/integrations/IntegrationsApi.cjs.map +1 -1
  108. package/dist/apis/integrations/IntegrationsApi.d.ts +21 -2
  109. package/dist/apis/integrations/IntegrationsApi.d.ts.map +1 -1
  110. package/dist/apis/integrations/IntegrationsApi.mjs +24 -0
  111. package/dist/apis/integrations/IntegrationsApi.mjs.map +1 -1
  112. package/dist/apis/integrations/types.d.ts +15 -6
  113. package/dist/apis/integrations/types.d.ts.map +1 -1
  114. package/dist/apis/interactiveMessages/InteractiveMessagesApi.cjs +7 -0
  115. package/dist/apis/interactiveMessages/InteractiveMessagesApi.cjs.map +1 -1
  116. package/dist/apis/interactiveMessages/InteractiveMessagesApi.d.ts +7 -1
  117. package/dist/apis/interactiveMessages/InteractiveMessagesApi.d.ts.map +1 -1
  118. package/dist/apis/interactiveMessages/InteractiveMessagesApi.mjs +7 -0
  119. package/dist/apis/interactiveMessages/InteractiveMessagesApi.mjs.map +1 -1
  120. package/dist/apis/kanbanBoards/KanbanBoardsApi.cjs +7 -0
  121. package/dist/apis/kanbanBoards/KanbanBoardsApi.cjs.map +1 -1
  122. package/dist/apis/kanbanBoards/KanbanBoardsApi.d.ts +7 -1
  123. package/dist/apis/kanbanBoards/KanbanBoardsApi.d.ts.map +1 -1
  124. package/dist/apis/kanbanBoards/KanbanBoardsApi.mjs +7 -0
  125. package/dist/apis/kanbanBoards/KanbanBoardsApi.mjs.map +1 -1
  126. package/dist/apis/kanbanCards/KanbanCardsApi.cjs +7 -0
  127. package/dist/apis/kanbanCards/KanbanCardsApi.cjs.map +1 -1
  128. package/dist/apis/kanbanCards/KanbanCardsApi.d.ts +7 -1
  129. package/dist/apis/kanbanCards/KanbanCardsApi.d.ts.map +1 -1
  130. package/dist/apis/kanbanCards/KanbanCardsApi.mjs +7 -0
  131. package/dist/apis/kanbanCards/KanbanCardsApi.mjs.map +1 -1
  132. package/dist/apis/knowledgeBase/KnowledgeBaseApi.cjs +8 -0
  133. package/dist/apis/knowledgeBase/KnowledgeBaseApi.cjs.map +1 -1
  134. package/dist/apis/knowledgeBase/KnowledgeBaseApi.d.ts +8 -1
  135. package/dist/apis/knowledgeBase/KnowledgeBaseApi.d.ts.map +1 -1
  136. package/dist/apis/knowledgeBase/KnowledgeBaseApi.mjs +8 -0
  137. package/dist/apis/knowledgeBase/KnowledgeBaseApi.mjs.map +1 -1
  138. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.cjs +8 -0
  139. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.cjs.map +1 -1
  140. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.d.ts +8 -1
  141. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.d.ts.map +1 -1
  142. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.mjs +8 -0
  143. package/dist/apis/knowledgeBaseItem/KnowledgeBaseItemApi.mjs.map +1 -1
  144. package/dist/apis/messages/MessagesApi.cjs +23 -3
  145. package/dist/apis/messages/MessagesApi.cjs.map +1 -1
  146. package/dist/apis/messages/MessagesApi.d.ts +19 -3
  147. package/dist/apis/messages/MessagesApi.d.ts.map +1 -1
  148. package/dist/apis/messages/MessagesApi.mjs +23 -3
  149. package/dist/apis/messages/MessagesApi.mjs.map +1 -1
  150. package/dist/apis/messages/types.d.ts +3 -0
  151. package/dist/apis/messages/types.d.ts.map +1 -1
  152. package/dist/apis/notifications/NotificationsApi.cjs +7 -0
  153. package/dist/apis/notifications/NotificationsApi.cjs.map +1 -1
  154. package/dist/apis/notifications/NotificationsApi.d.ts +7 -1
  155. package/dist/apis/notifications/NotificationsApi.d.ts.map +1 -1
  156. package/dist/apis/notifications/NotificationsApi.mjs +7 -0
  157. package/dist/apis/notifications/NotificationsApi.mjs.map +1 -1
  158. package/dist/apis/organizations/OrganizationsApi.cjs +7 -0
  159. package/dist/apis/organizations/OrganizationsApi.cjs.map +1 -1
  160. package/dist/apis/organizations/OrganizationsApi.d.ts +7 -1
  161. package/dist/apis/organizations/OrganizationsApi.d.ts.map +1 -1
  162. package/dist/apis/organizations/OrganizationsApi.mjs +7 -0
  163. package/dist/apis/organizations/OrganizationsApi.mjs.map +1 -1
  164. package/dist/apis/people/PeopleApi.cjs +7 -0
  165. package/dist/apis/people/PeopleApi.cjs.map +1 -1
  166. package/dist/apis/people/PeopleApi.d.ts +7 -1
  167. package/dist/apis/people/PeopleApi.d.ts.map +1 -1
  168. package/dist/apis/people/PeopleApi.mjs +7 -0
  169. package/dist/apis/people/PeopleApi.mjs.map +1 -1
  170. package/dist/apis/planAiHistory/PlanAiHistoryApi.cjs +16 -0
  171. package/dist/apis/planAiHistory/PlanAiHistoryApi.cjs.map +1 -1
  172. package/dist/apis/planAiHistory/PlanAiHistoryApi.d.ts +10 -0
  173. package/dist/apis/planAiHistory/PlanAiHistoryApi.d.ts.map +1 -1
  174. package/dist/apis/planAiHistory/PlanAiHistoryApi.mjs +16 -0
  175. package/dist/apis/planAiHistory/PlanAiHistoryApi.mjs.map +1 -1
  176. package/dist/apis/roles/RolesApi.cjs +7 -0
  177. package/dist/apis/roles/RolesApi.cjs.map +1 -1
  178. package/dist/apis/roles/RolesApi.d.ts +6 -1
  179. package/dist/apis/roles/RolesApi.d.ts.map +1 -1
  180. package/dist/apis/roles/RolesApi.mjs +7 -0
  181. package/dist/apis/roles/RolesApi.mjs.map +1 -1
  182. package/dist/apis/services/ServicesApi.cjs +68 -0
  183. package/dist/apis/services/ServicesApi.cjs.map +1 -1
  184. package/dist/apis/services/ServicesApi.d.ts +53 -1
  185. package/dist/apis/services/ServicesApi.d.ts.map +1 -1
  186. package/dist/apis/services/ServicesApi.mjs +68 -0
  187. package/dist/apis/services/ServicesApi.mjs.map +1 -1
  188. package/dist/apis/services/types.d.ts +15 -0
  189. package/dist/apis/services/types.d.ts.map +1 -1
  190. package/dist/apis/stickers/StickersApi.cjs +20 -0
  191. package/dist/apis/stickers/StickersApi.cjs.map +1 -1
  192. package/dist/apis/stickers/StickersApi.d.ts +15 -0
  193. package/dist/apis/stickers/StickersApi.d.ts.map +1 -1
  194. package/dist/apis/stickers/StickersApi.mjs +20 -0
  195. package/dist/apis/stickers/StickersApi.mjs.map +1 -1
  196. package/dist/apis/tags/TagsApi.cjs +7 -0
  197. package/dist/apis/tags/TagsApi.cjs.map +1 -1
  198. package/dist/apis/tags/TagsApi.d.ts +7 -1
  199. package/dist/apis/tags/TagsApi.d.ts.map +1 -1
  200. package/dist/apis/tags/TagsApi.mjs +7 -0
  201. package/dist/apis/tags/TagsApi.mjs.map +1 -1
  202. package/dist/apis/timetable/TimetableApi.cjs +7 -0
  203. package/dist/apis/timetable/TimetableApi.cjs.map +1 -1
  204. package/dist/apis/timetable/TimetableApi.d.ts +7 -1
  205. package/dist/apis/timetable/TimetableApi.d.ts.map +1 -1
  206. package/dist/apis/timetable/TimetableApi.mjs +7 -0
  207. package/dist/apis/timetable/TimetableApi.mjs.map +1 -1
  208. package/dist/apis/users/UsersApi.cjs +8 -0
  209. package/dist/apis/users/UsersApi.cjs.map +1 -1
  210. package/dist/apis/users/UsersApi.d.ts +8 -1
  211. package/dist/apis/users/UsersApi.d.ts.map +1 -1
  212. package/dist/apis/users/UsersApi.mjs +8 -0
  213. package/dist/apis/users/UsersApi.mjs.map +1 -1
  214. package/dist/apis/users/types.d.ts +15 -0
  215. package/dist/apis/users/types.d.ts.map +1 -1
  216. package/dist/apis/webhooks/WebhooksApi.cjs +7 -0
  217. package/dist/apis/webhooks/WebhooksApi.cjs.map +1 -1
  218. package/dist/apis/webhooks/WebhooksApi.d.ts +7 -1
  219. package/dist/apis/webhooks/WebhooksApi.d.ts.map +1 -1
  220. package/dist/apis/webhooks/WebhooksApi.mjs +7 -0
  221. package/dist/apis/webhooks/WebhooksApi.mjs.map +1 -1
  222. package/dist/core/ApiClient.d.ts +14 -0
  223. package/dist/core/ApiClient.d.ts.map +1 -1
  224. package/dist/core/ArchivableCrudApi.cjs.map +1 -1
  225. package/dist/core/ArchivableCrudApi.d.ts +1 -1
  226. package/dist/core/ArchivableCrudApi.d.ts.map +1 -1
  227. package/dist/core/ArchivableCrudApi.mjs.map +1 -1
  228. package/dist/core/BaseApiClient.cjs +24 -3
  229. package/dist/core/BaseApiClient.cjs.map +1 -1
  230. package/dist/core/BaseApiClient.d.ts +14 -0
  231. package/dist/core/BaseApiClient.d.ts.map +1 -1
  232. package/dist/core/BaseApiClient.mjs +24 -3
  233. package/dist/core/BaseApiClient.mjs.map +1 -1
  234. package/dist/core/BaseCrudApi.cjs +3 -1
  235. package/dist/core/BaseCrudApi.cjs.map +1 -1
  236. package/dist/core/BaseCrudApi.d.ts +6 -4
  237. package/dist/core/BaseCrudApi.d.ts.map +1 -1
  238. package/dist/core/BaseCrudApi.mjs +3 -1
  239. package/dist/core/BaseCrudApi.mjs.map +1 -1
  240. package/dist/core/requestExternal.cjs +33 -0
  241. package/dist/core/requestExternal.cjs.map +1 -0
  242. package/dist/core/requestExternal.d.ts +9 -0
  243. package/dist/core/requestExternal.d.ts.map +1 -0
  244. package/dist/core/requestExternal.mjs +32 -0
  245. package/dist/core/requestExternal.mjs.map +1 -0
  246. package/dist/core/types.d.ts +1 -1
  247. package/dist/core/types.d.ts.map +1 -1
  248. package/package.json +1 -1
  249. package/src/apis/absence/AbsenceApi.ts +19 -0
  250. package/src/apis/acceptanceTerms/AcceptanceTermsApi.ts +13 -1
  251. package/src/apis/accounts/AccountsApi.ts +5 -0
  252. package/src/apis/accounts/types.ts +2 -0
  253. package/src/apis/activityLog/ActivityLogApi.ts +18 -0
  254. package/src/apis/categories/CategoriesApi.ts +12 -1
  255. package/src/apis/clientFeedback/ClientFeedbackApi.ts +5 -1
  256. package/src/apis/contactBlockLists/ContactBlockListsApi.test.ts +57 -0
  257. package/src/apis/contactBlockLists/ContactBlockListsApi.ts +57 -1
  258. package/src/apis/contactBlockLists/types.ts +6 -1
  259. package/src/apis/contactBlockListsControls/ContactBlockListsControlsApi.test.ts +48 -0
  260. package/src/apis/contactBlockListsControls/ContactBlockListsControlsApi.ts +59 -1
  261. package/src/apis/contactBlockListsControls/types.ts +7 -0
  262. package/src/apis/contacts/ContactsApi.test.ts +20 -4
  263. package/src/apis/contacts/ContactsApi.ts +24 -5
  264. package/src/apis/contacts/types.ts +7 -1
  265. package/src/apis/creditMovements/CreditMovementsApi.ts +27 -0
  266. package/src/apis/customFields/CustomFieldsApi.ts +12 -1
  267. package/src/apis/departments/DepartmentsApi.test.ts +88 -0
  268. package/src/apis/departments/DepartmentsApi.ts +41 -2
  269. package/src/apis/departments/types.ts +6 -0
  270. package/src/apis/distribution/DistributionApi.test.ts +65 -0
  271. package/src/apis/distribution/DistributionApi.ts +50 -1
  272. package/src/apis/distribution/types.ts +17 -1
  273. package/src/apis/files/FilesApi.test.ts +122 -0
  274. package/src/apis/files/FilesApi.ts +107 -2
  275. package/src/apis/files/types.ts +48 -7
  276. package/src/apis/holiday/HolidayApi.ts +16 -1
  277. package/src/apis/integrations/IntegrationsApi.test.ts +42 -0
  278. package/src/apis/integrations/IntegrationsApi.ts +46 -2
  279. package/src/apis/integrations/types.ts +25 -6
  280. package/src/apis/interactiveMessages/InteractiveMessagesApi.ts +12 -1
  281. package/src/apis/kanbanBoards/KanbanBoardsApi.ts +12 -1
  282. package/src/apis/kanbanCards/KanbanCardsApi.ts +12 -1
  283. package/src/apis/knowledgeBase/KnowledgeBaseApi.ts +13 -1
  284. package/src/apis/knowledgeBaseItem/KnowledgeBaseItemApi.ts +13 -1
  285. package/src/apis/messages/MessagesApi.test.ts +13 -7
  286. package/src/apis/messages/MessagesApi.ts +29 -3
  287. package/src/apis/messages/types.ts +3 -0
  288. package/src/apis/notifications/NotificationsApi.ts +12 -1
  289. package/src/apis/organizations/OrganizationsApi.ts +12 -1
  290. package/src/apis/payloads.test-d.ts +172 -0
  291. package/src/apis/people/PeopleApi.ts +16 -1
  292. package/src/apis/planAiHistory/PlanAiHistoryApi.ts +26 -0
  293. package/src/apis/roles/RolesApi.ts +10 -1
  294. package/src/apis/services/ServicesApi.test.ts +45 -0
  295. package/src/apis/services/ServicesApi.ts +91 -1
  296. package/src/apis/services/types.ts +16 -0
  297. package/src/apis/stickers/StickersApi.ts +32 -0
  298. package/src/apis/tags/TagsApi.ts +16 -1
  299. package/src/apis/timetable/TimetableApi.ts +12 -1
  300. package/src/apis/users/UsersApi.ts +17 -1
  301. package/src/apis/users/types.ts +11 -0
  302. package/src/apis/webhooks/WebhooksApi.ts +16 -1
  303. package/src/core/ApiClient.ts +24 -0
  304. package/src/core/ArchivableCrudApi.ts +2 -1
  305. package/src/core/BaseApiClient.test.ts +98 -0
  306. package/src/core/BaseApiClient.ts +49 -4
  307. package/src/core/BaseCrudApi.test-d.ts +11 -1
  308. package/src/core/BaseCrudApi.ts +15 -6
  309. package/src/core/requestExternal.ts +43 -0
  310. package/src/core/types.ts +4 -2
@@ -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;KACn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AA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,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":";;;;AAIA,IAAa,mBAAb,cAAsCA,qCAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB"}
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,CAC1B;gBACa,MAAM,EAAE,SAAS;CAG9B"}
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":";;;AAIA,IAAa,mBAAb,cAAsC,YAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB"}
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":";;;;AAIA,IAAa,mBAAb,cAAsCA,qCAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB"}
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,CAC1B;gBACa,MAAM,EAAE,SAAS;CAG9B"}
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":";;;AAIA,IAAa,mBAAb,cAAsC,YAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,iBAAiB"}
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<Person, CreatePersonPayload, UpdatePersonPayload> {\n constructor(client: ApiClient) {\n super(client, '/people')\n }\n}\n"],"mappings":";;;;AAIA,IAAa,YAAb,cAA+BA,qCAA8D;CAC3F,YAAY,QAAmB;AAC7B,QAAM,QAAQ,UAAU"}
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,CAAC,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,CAAC;gBAC9E,MAAM,EAAE,SAAS;CAG9B"}
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<Person, CreatePersonPayload, UpdatePersonPayload> {\n constructor(client: ApiClient) {\n super(client, '/people')\n }\n}\n"],"mappings":";;;AAIA,IAAa,YAAb,cAA+B,YAA8D;CAC3F,YAAY,QAAmB;AAC7B,QAAM,QAAQ,UAAU"}
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":";;;;AAIA,IAAa,mBAAb,cAAsCA,qCAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,mBAAmB"}
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;CAG9B"}
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":";;;AAIA,IAAa,mBAAb,cAAsC,YAIpC;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,mBAAmB"}
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,qCAK5B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,SAAS"}
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,CACf;gBACa,MAAM,EAAE,SAAS;CAG9B"}
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,YAK5B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,SAAS"}
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
@@ -1 +1 @@
1
- {"version":3,"file":"ServicesApi.cjs","names":["ArchivableCrudApi"],"sources":["../../../src/apis/services/ServicesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { ArchivableCrudApi } from '../../core/ArchivableCrudApi'\nimport type { Service, CreateServicePayload, ServiceLimits, UpdateServicePayload } from './types'\n\nexport class ServicesApi extends ArchivableCrudApi<\n Service,\n CreateServicePayload,\n UpdateServicePayload\n> {\n constructor(client: ApiClient) {\n super(client, '/services')\n }\n\n /**\n * Returns, for each connection type of the account plan, how many connections are used,\n * allowed and still available.\n * @permissions services.view\n */\n getLimits(headers?: Record<string, string>): Promise<ServiceLimits> {\n return this.client.get<ServiceLimits>(`${this.basePath}/limits`, headers)\n }\n}\n"],"mappings":";;;;AAIA,IAAa,cAAb,cAAiCA,iDAI/B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,YAAY;;;;;;;CAQ5B,UAAU,SAA0D;AAClE,SAAO,KAAK,OAAO,IAAmB,GAAG,KAAK,SAAS,UAAU,QAAQ"}
1
+ {"version":3,"file":"ServicesApi.cjs","names":["ArchivableCrudApi"],"sources":["../../../src/apis/services/ServicesApi.ts"],"sourcesContent":["import type { ApiClient } from '../../core/ApiClient'\nimport { ArchivableCrudApi } from '../../core/ArchivableCrudApi'\nimport type {\n Service,\n CreateServicePayload,\n ServiceLimits,\n UpdateServicePayload,\n ArchiveServicePayload,\n} from './types'\n\nexport class ServicesApi extends ArchivableCrudApi<\n Service,\n CreateServicePayload,\n UpdateServicePayload\n> {\n constructor(client: ApiClient) {\n super(client, '/services')\n }\n\n /**\n * Returns, for each connection type of the account plan, how many connections are used,\n * allowed and still available.\n * @permissions services.view\n */\n getLimits(headers?: Record<string, string>): Promise<ServiceLimits> {\n return this.client.get<ServiceLimits>(`${this.basePath}/limits`, headers)\n }\n\n /**\n * @deprecated The backend does not archive a connection by `PUT { archivedAt }`: the PUT\n * requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.\n */\n override archive(id: string, headers?: Record<string, string>): Promise<Service> {\n return super.archive(id, headers)\n }\n\n /**\n * @deprecated The backend does not restore a connection by `PUT { archivedAt: null }`: the PUT\n * requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.\n */\n override unarchive(id: string, headers?: Record<string, string>): Promise<Service> {\n return super.unarchive(id, headers)\n }\n\n /**\n * Archives (`archive: true`) or restores (`archive: false`) a connection through the route used\n * by the UI. Archiving shuts the connection down, closes its open tickets, marks its schedules\n * as done and cancels its campaigns; restoring checks the plan limit of the `type` (400 when it\n * is full).\n *\n * Resolves `{}` before the work is done (the route does not await it): poll `getById` until\n * `archivedAt` changes. Send the `type` of the connection: without it the request is never\n * answered.\n * @permissions services.disabled\n */\n archiveWithValidation(\n id: string,\n body: ArchiveServicePayload,\n headers?: Record<string, string>,\n ): Promise<Record<string, never>> {\n return this.client.post<Record<string, never>, ArchiveServicePayload>(\n `${this.basePath}/${id}/archive`,\n body,\n headers,\n )\n }\n\n /**\n * Takes the session of the connection over to this server. Resolves the text `'OK'`; an\n * unknown id answers 404 `Service not found.`.\n * @permissions services.operate\n */\n takeover(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return this.client.post<'OK'>(`${this.basePath}/${id}/takeover`, undefined, headers)\n }\n\n /**\n * Logs the connection out of the messaging service. Resolves the text `'OK'`; an unknown id\n * answers 404 `Service not found.`.\n * @permissions services.operate\n */\n logout(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return this.client.post<'OK'>(`${this.basePath}/${id}/logout`, undefined, headers)\n }\n\n /**\n * Shuts the connection down. Resolves the text `'OK'`; an unknown id answers 404\n * `Service not found.`.\n * @permissions services.operate\n */\n shutdown(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return this.client.post<'OK'>(`${this.basePath}/${id}/shutdown`, undefined, headers)\n }\n\n /**\n * Starts the connection. Resolves the text `'OK'`; an unknown id answers 404\n * `Service not found.`.\n * @permissions services.operate\n */\n start(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return this.client.post<'OK'>(`${this.basePath}/${id}/start`, undefined, headers)\n }\n\n /**\n * Restarts the connection. Resolves the text `'OK'`; an unknown id answers 404\n * `Service not found.`.\n * @permissions services.operate\n */\n restart(id: string, headers?: Record<string, string>): Promise<'OK'> {\n return this.client.post<'OK'>(`${this.basePath}/${id}/restart`, undefined, headers)\n }\n}\n"],"mappings":";;;;AAUA,IAAa,cAAb,cAAiCA,iDAI/B;CACA,YAAY,QAAmB;AAC7B,QAAM,QAAQ,YAAY;;;;;;;CAQ5B,UAAU,SAA0D;AAClE,SAAO,KAAK,OAAO,IAAmB,GAAG,KAAK,SAAS,UAAU,QAAQ;;;;;;CAO3E,AAAS,QAAQ,IAAY,SAAoD;AAC/E,SAAO,MAAM,QAAQ,IAAI,QAAQ;;;;;;CAOnC,AAAS,UAAU,IAAY,SAAoD;AACjF,SAAO,MAAM,UAAU,IAAI,QAAQ;;;;;;;;;;;;;CAcrC,sBACE,IACA,MACA,SACgC;AAChC,SAAO,KAAK,OAAO,KACjB,GAAG,KAAK,SAAS,GAAG,GAAG,WACvB,MACA,QACD;;;;;;;CAQH,SAAS,IAAY,SAAiD;AACpE,SAAO,KAAK,OAAO,KAAW,GAAG,KAAK,SAAS,GAAG,GAAG,YAAY,QAAW,QAAQ;;;;;;;CAQtF,OAAO,IAAY,SAAiD;AAClE,SAAO,KAAK,OAAO,KAAW,GAAG,KAAK,SAAS,GAAG,GAAG,UAAU,QAAW,QAAQ;;;;;;;CAQpF,SAAS,IAAY,SAAiD;AACpE,SAAO,KAAK,OAAO,KAAW,GAAG,KAAK,SAAS,GAAG,GAAG,YAAY,QAAW,QAAQ;;;;;;;CAQtF,MAAM,IAAY,SAAiD;AACjE,SAAO,KAAK,OAAO,KAAW,GAAG,KAAK,SAAS,GAAG,GAAG,SAAS,QAAW,QAAQ;;;;;;;CAQnF,QAAQ,IAAY,SAAiD;AACnE,SAAO,KAAK,OAAO,KAAW,GAAG,KAAK,SAAS,GAAG,GAAG,WAAW,QAAW,QAAQ"}
@@ -1,6 +1,6 @@
1
1
  import type { ApiClient } from '../../core/ApiClient';
2
2
  import { ArchivableCrudApi } from '../../core/ArchivableCrudApi';
3
- import type { Service, CreateServicePayload, ServiceLimits, UpdateServicePayload } from './types';
3
+ import type { Service, CreateServicePayload, ServiceLimits, UpdateServicePayload, ArchiveServicePayload } from './types';
4
4
  export declare class ServicesApi extends ArchivableCrudApi<Service, CreateServicePayload, UpdateServicePayload> {
5
5
  constructor(client: ApiClient);
6
6
  /**
@@ -9,5 +9,57 @@ export declare class ServicesApi extends ArchivableCrudApi<Service, CreateServic
9
9
  * @permissions services.view
10
10
  */
11
11
  getLimits(headers?: Record<string, string>): Promise<ServiceLimits>;
12
+ /**
13
+ * @deprecated The backend does not archive a connection by `PUT { archivedAt }`: the PUT
14
+ * requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.
15
+ */
16
+ archive(id: string, headers?: Record<string, string>): Promise<Service>;
17
+ /**
18
+ * @deprecated The backend does not restore a connection by `PUT { archivedAt: null }`: the PUT
19
+ * requires `type` (400 without it) and ignores `archivedAt`. Use {@link archiveWithValidation}.
20
+ */
21
+ unarchive(id: string, headers?: Record<string, string>): Promise<Service>;
22
+ /**
23
+ * Archives (`archive: true`) or restores (`archive: false`) a connection through the route used
24
+ * by the UI. Archiving shuts the connection down, closes its open tickets, marks its schedules
25
+ * as done and cancels its campaigns; restoring checks the plan limit of the `type` (400 when it
26
+ * is full).
27
+ *
28
+ * Resolves `{}` before the work is done (the route does not await it): poll `getById` until
29
+ * `archivedAt` changes. Send the `type` of the connection: without it the request is never
30
+ * answered.
31
+ * @permissions services.disabled
32
+ */
33
+ archiveWithValidation(id: string, body: ArchiveServicePayload, headers?: Record<string, string>): Promise<Record<string, never>>;
34
+ /**
35
+ * Takes the session of the connection over to this server. Resolves the text `'OK'`; an
36
+ * unknown id answers 404 `Service not found.`.
37
+ * @permissions services.operate
38
+ */
39
+ takeover(id: string, headers?: Record<string, string>): Promise<'OK'>;
40
+ /**
41
+ * Logs the connection out of the messaging service. Resolves the text `'OK'`; an unknown id
42
+ * answers 404 `Service not found.`.
43
+ * @permissions services.operate
44
+ */
45
+ logout(id: string, headers?: Record<string, string>): Promise<'OK'>;
46
+ /**
47
+ * Shuts the connection down. Resolves the text `'OK'`; an unknown id answers 404
48
+ * `Service not found.`.
49
+ * @permissions services.operate
50
+ */
51
+ shutdown(id: string, headers?: Record<string, string>): Promise<'OK'>;
52
+ /**
53
+ * Starts the connection. Resolves the text `'OK'`; an unknown id answers 404
54
+ * `Service not found.`.
55
+ * @permissions services.operate
56
+ */
57
+ start(id: string, headers?: Record<string, string>): Promise<'OK'>;
58
+ /**
59
+ * Restarts the connection. Resolves the text `'OK'`; an unknown id answers 404
60
+ * `Service not found.`.
61
+ * @permissions services.operate
62
+ */
63
+ restart(id: string, headers?: Record<string, string>): Promise<'OK'>;
12
64
  }
13
65
  //# sourceMappingURL=ServicesApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServicesApi.d.ts","sourceRoot":"","sources":["../../../src/apis/services/ServicesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEjG,qBAAa,WAAY,SAAQ,iBAAiB,CAChD,OAAO,EACP,oBAAoB,EACpB,oBAAoB,CACrB;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;CAGpE"}
1
+ {"version":3,"file":"ServicesApi.d.ts","sourceRoot":"","sources":["../../../src/apis/services/ServicesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,KAAK,EACV,OAAO,EACP,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,SAAS,CAAA;AAEhB,qBAAa,WAAY,SAAQ,iBAAiB,CAChD,OAAO,EACP,oBAAoB,EACpB,oBAAoB,CACrB;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAInE;;;OAGG;IACM,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC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