@webitel/api-services 0.1.49 → 0.1.50

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 (453) hide show
  1. package/package.json +3 -2
  2. package/src/api/axios/generateInstance.ts +17 -2
  3. package/src/api/clients/agents/agentAbsence.ts +2 -2
  4. package/src/api/clients/agents/agents.ts +21 -9
  5. package/src/api/clients/emails/emails.ts +7 -6
  6. package/src/api/clients/fileServices/fileServices.ts +51 -27
  7. package/src/api/clients/pdfServices/pdfServices.ts +2 -2
  8. package/src/api/clients/quickReplies/quickReplies.ts +1 -1
  9. package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +15 -4
  10. package/src/api/clients//321/201ontacts/contactChatMessagesHistory.ts +1 -1
  11. package/src/api/clients//321/201ontacts/contacts.ts +15 -4
  12. package/src/api/interceptors/request/updateToken.interceptor.ts +8 -1
  13. package/src/api/interceptors/response/handleUnauthorized.interceptor.ts +5 -1
  14. package/src/api/transformers/notify/notify.transformer.ts +10 -3
  15. package/src/api/transformers/translateError/translateError.transformer.ts +6 -2
  16. package/src/gen/_models/contactsInputContact.ts +0 -3
  17. package/src/gen/_models/contactsInputContact.zod.ts +0 -3
  18. package/src/gen/_models/{deleteSpaceParams.ts → createArticleArticlesParams.ts} +1 -1
  19. package/src/gen/_models/{deleteSpaceParams.zod.ts → createArticleArticlesParams.zod.ts} +1 -1
  20. package/src/gen/_models/{locateSpaceParams.ts → createSpaceSpacesParams.ts} +1 -1
  21. package/src/gen/_models/{locateSpaceParams.zod.ts → createSpaceSpacesParams.zod.ts} +1 -1
  22. package/src/gen/_models/dataBatchCreateDatasetResponse.ts +18 -0
  23. package/src/gen/_models/dataBatchCreateDatasetResponse.zod.ts +18 -0
  24. package/src/gen/_models/dataBatchCreateError.ts +16 -0
  25. package/src/gen/_models/dataBatchCreateError.zod.ts +16 -0
  26. package/src/gen/_models/{deleteArticleParams.ts → deleteArticleArticlesParams.ts} +1 -1
  27. package/src/gen/_models/{deleteArticleParams.zod.ts → deleteArticleArticlesParams.zod.ts} +1 -1
  28. package/src/gen/_models/{createArticleParams.ts → deleteSpaceSpacesParams.ts} +1 -1
  29. package/src/gen/_models/{createArticleParams.zod.ts → deleteSpaceSpacesParams.zod.ts} +1 -1
  30. package/src/gen/_models/dictionariesBatchCreateDataBody.ts +17 -0
  31. package/src/gen/_models/dictionariesBatchCreateDataBody.zod.ts +17 -0
  32. package/src/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.ts → dictionariesBatchCreateDataBodyRowsItem.ts} +1 -4
  33. package/src/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.zod.ts → dictionariesBatchCreateDataBodyRowsItem.zod.ts} +1 -4
  34. package/src/gen/_models/engineAssignAttemptResponse.ts +10 -0
  35. package/src/gen/_models/engineAssignAttemptResponse.zod.ts +10 -0
  36. package/src/gen/_models/engineMemberServiceAssignAttemptBody.ts +11 -0
  37. package/src/gen/_models/engineMemberServiceAssignAttemptBody.zod.ts +11 -0
  38. package/src/gen/_models/engineSystemSettingName.ts +1 -0
  39. package/src/gen/_models/engineSystemSettingName.zod.ts +1 -0
  40. package/src/gen/_models/engineTaskProcessing.ts +1 -0
  41. package/src/gen/_models/engineTaskProcessing.zod.ts +1 -0
  42. package/src/gen/_models/index.ts +18 -14
  43. package/src/gen/_models/{listArticlesParams.ts → listArticlesArticlesParams.ts} +1 -1
  44. package/src/gen/_models/{listArticlesParams.zod.ts → listArticlesArticlesParams.zod.ts} +1 -1
  45. package/src/gen/_models/{listSpacesParams.ts → listSpacesSpacesParams.ts} +1 -1
  46. package/src/gen/_models/{listSpacesParams.zod.ts → listSpacesSpacesParams.zod.ts} +1 -1
  47. package/src/gen/_models/{locateArticleParams.ts → locateArticleArticlesParams.ts} +1 -1
  48. package/src/gen/_models/{locateArticleParams.zod.ts → locateArticleArticlesParams.zod.ts} +1 -1
  49. package/src/gen/_models/{createSpaceParams.ts → locateSpaceSpacesParams.ts} +1 -1
  50. package/src/gen/_models/{createSpaceParams.zod.ts → locateSpaceSpacesParams.zod.ts} +1 -1
  51. package/src/gen/_models/searchSystemSettingNameItem.ts +1 -0
  52. package/src/gen/_models/searchSystemSettingNameItem.zod.ts +1 -0
  53. package/src/gen/_models/{updateArticleBody.ts → updateArticleArticlesBody.ts} +1 -1
  54. package/src/gen/_models/{updateArticleBody.zod.ts → updateArticleArticlesBody.zod.ts} +1 -1
  55. package/src/gen/_models/updateArticleArticlesParams.ts +13 -0
  56. package/src/gen/_models/updateArticleArticlesParams.zod.ts +13 -0
  57. package/src/gen/_models/updateContactBody.ts +0 -3
  58. package/src/gen/_models/updateContactBody.zod.ts +0 -3
  59. package/src/gen/_models/{updateSpaceBody.ts → updateSpaceSpacesBody.ts} +1 -1
  60. package/src/gen/_models/{updateSpaceBody.zod.ts → updateSpaceSpacesBody.zod.ts} +1 -1
  61. package/src/gen/_models/updateSpaceSpacesParams.ts +13 -0
  62. package/src/gen/_models/updateSpaceSpacesParams.zod.ts +13 -0
  63. package/src/gen/_models/webitelContactsContact.ts +0 -3
  64. package/src/gen/_models/webitelContactsContact.zod.ts +0 -3
  65. package/src/gen/_models/webitelImApiGatewayV1VariableEntry.ts +1 -2
  66. package/src/gen/_models/webitelImApiGatewayV1VariableEntry.zod.ts +1 -2
  67. package/src/gen/_models/webitelImApiGatewayV1VariableEntryRequest.ts +1 -2
  68. package/src/gen/_models/webitelImApiGatewayV1VariableEntryRequest.zod.ts +1 -2
  69. package/src/gen/access-store/access-store.ts +1 -1
  70. package/src/gen/agent-absence-service/agent-absence-service.ts +1 -1
  71. package/src/gen/agent-chat-service/agent-chat-service.ts +1 -1
  72. package/src/gen/agent-pause-cause-service/agent-pause-cause-service.ts +1 -1
  73. package/src/gen/agent-service/agent-service.ts +1 -1
  74. package/src/gen/agent-skill-service/agent-skill-service.ts +1 -1
  75. package/src/gen/agent-team-service/agent-team-service.ts +1 -1
  76. package/src/gen/agent-working-conditions-service/agent-working-conditions-service.ts +1 -1
  77. package/src/gen/agent-working-schedule-service/agent-working-schedule-service.ts +1 -1
  78. package/src/gen/articles/articles.faker.ts +5 -5
  79. package/src/gen/articles/articles.msw.ts +20 -20
  80. package/src/gen/articles/articles.ts +32 -29
  81. package/src/gen/articles/articles.zod.ts +17 -17
  82. package/src/gen/audit-form-service/audit-form-service.ts +1 -1
  83. package/src/gen/auth/auth.ts +1 -1
  84. package/src/gen/backend-profile-service/backend-profile-service.ts +1 -1
  85. package/src/gen/bucket-service/bucket-service.ts +1 -1
  86. package/src/gen/calendar-service/calendar-service.ts +1 -1
  87. package/src/gen/call-service/call-service.ts +1 -1
  88. package/src/gen/case-comments/case-comments.ts +1 -1
  89. package/src/gen/case-communications/case-communications.ts +1 -1
  90. package/src/gen/case-files/case-files.ts +1 -1
  91. package/src/gen/case-links/case-links.ts +1 -1
  92. package/src/gen/case-timeline/case-timeline.ts +1 -1
  93. package/src/gen/cases/cases.ts +1 -1
  94. package/src/gen/cases-chat-catalog/cases-chat-catalog.ts +1 -1
  95. package/src/gen/catalogs/catalogs.ts +1 -1
  96. package/src/gen/classes/classes.ts +1 -1
  97. package/src/gen/close-reason-groups/close-reason-groups.ts +1 -1
  98. package/src/gen/close-reasons/close-reasons.ts +1 -1
  99. package/src/gen/cognitive-profile-service/cognitive-profile-service.ts +1 -1
  100. package/src/gen/comments/comments.ts +1 -1
  101. package/src/gen/communication-type-service/communication-type-service.ts +1 -1
  102. package/src/gen/config-service/config-service.ts +1 -1
  103. package/src/gen/contact-groups/contact-groups.ts +1 -1
  104. package/src/gen/contact-linking-service/contact-linking-service.ts +1 -1
  105. package/src/gen/contacts/contacts.faker.ts +117 -1277
  106. package/src/gen/contacts/contacts.msw.ts +117 -1277
  107. package/src/gen/contacts/contacts.ts +1 -2
  108. package/src/gen/contacts/contacts.zod.ts +7 -638
  109. package/src/gen/contacts-chat-catalog/contacts-chat-catalog.ts +1 -1
  110. package/src/gen/customers/customers.ts +1 -1
  111. package/src/gen/devices/devices.ts +1 -1
  112. package/src/gen/dictionaries/dictionaries.faker.ts +65 -0
  113. package/src/gen/dictionaries/dictionaries.msw.ts +94 -0
  114. package/src/gen/dictionaries/dictionaries.ts +21 -1
  115. package/src/gen/dictionaries/dictionaries.zod.ts +46 -0
  116. package/src/gen/domains/domains.ts +1 -1
  117. package/src/gen/dynamic-conditions/dynamic-conditions.ts +1 -1
  118. package/src/gen/dynamic-groups/dynamic-groups.ts +1 -1
  119. package/src/gen/email-profile-service/email-profile-service.ts +1 -1
  120. package/src/gen/emails/emails.ts +1 -1
  121. package/src/gen/extensions/extensions.ts +1 -1
  122. package/src/gen/feedback-service/feedback-service.ts +1 -1
  123. package/src/gen/file-policies-service/file-policies-service.ts +1 -1
  124. package/src/gen/file-service/file-service.ts +1 -1
  125. package/src/gen/file-transcript-service/file-transcript-service.ts +1 -1
  126. package/src/gen/forecast-calculation-service/forecast-calculation-service.ts +1 -1
  127. package/src/gen/ftsservice/ftsservice.ts +1 -1
  128. package/src/gen/groups/groups.faker.ts +0 -376
  129. package/src/gen/groups/groups.msw.ts +0 -376
  130. package/src/gen/groups/groups.ts +1 -1
  131. package/src/gen/groups/groups.zod.ts +0 -190
  132. package/src/gen/imclients/imclients.ts +1 -1
  133. package/src/gen/import-template-service/import-template-service.ts +1 -1
  134. package/src/gen/index.ts +2362 -97
  135. package/src/gen/knowledgebase-search/knowledgebase-search.ts +1 -1
  136. package/src/gen/labels/labels.ts +1 -1
  137. package/src/gen/languages/languages.ts +1 -1
  138. package/src/gen/ldap/ldap.ts +1 -1
  139. package/src/gen/list-service/list-service.ts +1 -1
  140. package/src/gen/logger-service/logger-service.ts +1 -1
  141. package/src/gen/managers/managers.ts +1 -1
  142. package/src/gen/media-file-service/media-file-service.ts +1 -1
  143. package/src/gen/meeting-service/meeting-service.ts +1 -1
  144. package/src/gen/member-service/member-service.faker.ts +4 -0
  145. package/src/gen/member-service/member-service.msw.ts +31 -0
  146. package/src/gen/member-service/member-service.ts +16 -1
  147. package/src/gen/member-service/member-service.zod.ts +15 -0
  148. package/src/gen/messages/messages.ts +1 -1
  149. package/src/gen/oauth2-federation/oauth2-federation.ts +1 -1
  150. package/src/gen/outbound-resource-group-service/outbound-resource-group-service.ts +1 -1
  151. package/src/gen/outbound-resource-service/outbound-resource-service.ts +1 -1
  152. package/src/gen/pause-template-service/pause-template-service.ts +1 -1
  153. package/src/gen/pdf-service/pdf-service.ts +1 -1
  154. package/src/gen/permissions/permissions.ts +1 -1
  155. package/src/gen/phones/phones.ts +1 -1
  156. package/src/gen/photos/photos.ts +1 -1
  157. package/src/gen/presence/presence.ts +1 -1
  158. package/src/gen/preset-query-service/preset-query-service.ts +1 -1
  159. package/src/gen/priorities/priorities.ts +1 -1
  160. package/src/gen/queue-bucket-service/queue-bucket-service.ts +1 -1
  161. package/src/gen/queue-hook-service/queue-hook-service.ts +1 -1
  162. package/src/gen/queue-resources-service/queue-resources-service.ts +1 -1
  163. package/src/gen/queue-service/queue-service.faker.ts +24 -0
  164. package/src/gen/queue-service/queue-service.msw.ts +24 -0
  165. package/src/gen/queue-service/queue-service.ts +1 -1
  166. package/src/gen/queue-service/queue-service.zod.ts +9 -0
  167. package/src/gen/queue-skill-service/queue-skill-service.ts +1 -1
  168. package/src/gen/quick-replies-service/quick-replies-service.ts +1 -1
  169. package/src/gen/records/records.ts +1 -1
  170. package/src/gen/region-service/region-service.ts +1 -1
  171. package/src/gen/related-cases/related-cases.ts +1 -1
  172. package/src/gen/routing-chat-plan-service/routing-chat-plan-service.ts +1 -1
  173. package/src/gen/routing-outbound-call-service/routing-outbound-call-service.ts +1 -1
  174. package/src/gen/routing-schema-service/routing-schema-service.ts +1 -1
  175. package/src/gen/routing-variable-service/routing-variable-service.ts +1 -1
  176. package/src/gen/schema-variables-service/schema-variables-service.ts +1 -1
  177. package/src/gen/schema-version-service/schema-version-service.ts +1 -1
  178. package/src/gen/services/services.ts +1 -1
  179. package/src/gen/shift-template-service/shift-template-service.ts +1 -1
  180. package/src/gen/skill-service/skill-service.ts +1 -1
  181. package/src/gen/slaconditions/slaconditions.ts +1 -1
  182. package/src/gen/slas/slas.ts +1 -1
  183. package/src/gen/sources/sources.ts +1 -1
  184. package/src/gen/sources/sources.zod.ts +2 -0
  185. package/src/gen/spaces/spaces.faker.ts +5 -5
  186. package/src/gen/spaces/spaces.msw.ts +20 -20
  187. package/src/gen/spaces/spaces.ts +29 -29
  188. package/src/gen/spaces/spaces.zod.ts +22 -22
  189. package/src/gen/status-conditions/status-conditions.ts +1 -1
  190. package/src/gen/statuses/statuses.ts +1 -1
  191. package/src/gen/system-setting-service/system-setting-service.ts +1 -1
  192. package/src/gen/system-setting-service/system-setting-service.zod.ts +8 -0
  193. package/src/gen/tags/tags.ts +1 -1
  194. package/src/gen/team-hook-service/team-hook-service.ts +1 -1
  195. package/src/gen/team-trigger-service/team-trigger-service.ts +1 -1
  196. package/src/gen/timeline/timeline.ts +1 -1
  197. package/src/gen/timezones/timezones.ts +1 -1
  198. package/src/gen/trigger-service/trigger-service.ts +1 -1
  199. package/src/gen/two-factor-authentication/two-factor-authentication.ts +1 -1
  200. package/src/gen/types/types.ts +1 -1
  201. package/src/gen/user-access-tokens/user-access-tokens.ts +1 -1
  202. package/src/gen/user-helper-service/user-helper-service.ts +1 -1
  203. package/src/gen/users/users.ts +1 -1
  204. package/src/gen/variables/variables.ts +1 -1
  205. package/src/gen/web-hook-service/web-hook-service.ts +1 -1
  206. package/src/gen/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.ts +1 -1
  207. package/src/gen/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.ts +1 -1
  208. package/src/gen/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.ts +1 -1
  209. package/src/gen/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.ts +1 -1
  210. package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.ts +1 -1
  211. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +1 -1
  212. package/src/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +1 -1
  213. package/src/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +9 -9
  214. package/src/gen/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.ts +1 -1
  215. package/src/gen/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.ts +1 -1
  216. package/src/gen/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.ts +1 -1
  217. package/src/gen/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.ts +1 -1
  218. package/src/gen/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.ts +1 -1
  219. package/src/gen/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.ts +1 -1
  220. package/src/gen/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.ts +1 -1
  221. package/src/gen/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.ts +1 -1
  222. package/src/gen/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.ts +1 -1
  223. package/src/gen/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.ts +1 -1
  224. package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.ts +1 -1
  225. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +1 -1
  226. package/src/gen/working-condition-service/working-condition-service.ts +1 -1
  227. package/src/gen/working-schedule-service/working-schedule-service.ts +1 -1
  228. package/src/utils/gen/index.ts +2 -2
  229. package/src/validations/OAuth/OAuth.validations.ts +1 -0
  230. package/types/api/axios/generateInstance.d.ts +9 -1
  231. package/types/api/clients/agents/agentAbsence.d.ts +1 -1
  232. package/types/api/clients/emails/emails.d.ts +1 -2
  233. package/types/api/clients/fileServices/fileServices.d.ts +11 -3
  234. package/types/api/clients/pdfServices/pdfServices.d.ts +6 -2
  235. package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
  236. package/types/api/interceptors/request/updateToken.interceptor.d.ts +2 -1
  237. package/types/api/interceptors/response/handleUnauthorized.interceptor.d.ts +2 -1
  238. package/types/gen/_models/contactsInputContact.d.ts +0 -3
  239. package/types/gen/_models/contactsInputContact.zod.d.ts +0 -3
  240. package/types/gen/_models/{deleteSpaceParams.d.ts → createArticleArticlesParams.d.ts} +1 -1
  241. package/types/gen/_models/{deleteSpaceParams.zod.d.ts → createArticleArticlesParams.zod.d.ts} +1 -1
  242. package/types/gen/_models/{locateSpaceParams.d.ts → createSpaceSpacesParams.d.ts} +1 -1
  243. package/types/gen/_models/{locateSpaceParams.zod.d.ts → createSpaceSpacesParams.zod.d.ts} +1 -1
  244. package/types/gen/_models/dataBatchCreateDatasetResponse.d.ts +17 -0
  245. package/types/gen/_models/dataBatchCreateDatasetResponse.zod.d.ts +17 -0
  246. package/types/gen/_models/dataBatchCreateError.d.ts +15 -0
  247. package/types/gen/_models/dataBatchCreateError.zod.d.ts +15 -0
  248. package/types/gen/_models/{deleteArticleParams.d.ts → deleteArticleArticlesParams.d.ts} +1 -1
  249. package/types/gen/_models/{deleteArticleParams.zod.d.ts → deleteArticleArticlesParams.zod.d.ts} +1 -1
  250. package/types/gen/_models/{createArticleParams.d.ts → deleteSpaceSpacesParams.d.ts} +1 -1
  251. package/types/gen/_models/{createArticleParams.zod.d.ts → deleteSpaceSpacesParams.zod.d.ts} +1 -1
  252. package/types/gen/_models/dictionariesBatchCreateDataBody.d.ts +16 -0
  253. package/types/gen/_models/dictionariesBatchCreateDataBody.zod.d.ts +16 -0
  254. package/types/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.d.ts → dictionariesBatchCreateDataBodyRowsItem.d.ts} +1 -4
  255. package/types/gen/_models/{webitelImApiGatewayV1VariableEntryRequestValue.zod.d.ts → dictionariesBatchCreateDataBodyRowsItem.zod.d.ts} +1 -4
  256. package/types/gen/_models/engineAssignAttemptResponse.d.ts +9 -0
  257. package/types/gen/_models/engineAssignAttemptResponse.zod.d.ts +9 -0
  258. package/types/gen/_models/engineMemberServiceAssignAttemptBody.d.ts +10 -0
  259. package/types/gen/_models/engineMemberServiceAssignAttemptBody.zod.d.ts +10 -0
  260. package/types/gen/_models/engineSystemSettingName.d.ts +1 -0
  261. package/types/gen/_models/engineSystemSettingName.zod.d.ts +1 -0
  262. package/types/gen/_models/engineTaskProcessing.d.ts +1 -0
  263. package/types/gen/_models/engineTaskProcessing.zod.d.ts +1 -0
  264. package/types/gen/_models/{listArticlesParams.d.ts → listArticlesArticlesParams.d.ts} +1 -1
  265. package/types/gen/_models/{listArticlesParams.zod.d.ts → listArticlesArticlesParams.zod.d.ts} +1 -1
  266. package/types/gen/_models/{listSpacesParams.d.ts → listSpacesSpacesParams.d.ts} +1 -1
  267. package/types/gen/_models/{listSpacesParams.zod.d.ts → listSpacesSpacesParams.zod.d.ts} +1 -1
  268. package/types/gen/_models/{locateArticleParams.d.ts → locateArticleArticlesParams.d.ts} +1 -1
  269. package/types/gen/_models/{locateArticleParams.zod.d.ts → locateArticleArticlesParams.zod.d.ts} +1 -1
  270. package/types/gen/_models/{createSpaceParams.d.ts → locateSpaceSpacesParams.d.ts} +1 -1
  271. package/types/gen/_models/{createSpaceParams.zod.d.ts → locateSpaceSpacesParams.zod.d.ts} +1 -1
  272. package/types/gen/_models/searchSystemSettingNameItem.d.ts +1 -0
  273. package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +1 -0
  274. package/types/gen/_models/{updateArticleBody.d.ts → updateArticleArticlesBody.d.ts} +1 -1
  275. package/types/gen/_models/{updateArticleBody.zod.d.ts → updateArticleArticlesBody.zod.d.ts} +1 -1
  276. package/types/gen/_models/updateArticleArticlesParams.d.ts +12 -0
  277. package/types/gen/_models/updateArticleArticlesParams.zod.d.ts +12 -0
  278. package/types/gen/_models/updateContactBody.d.ts +0 -3
  279. package/types/gen/_models/updateContactBody.zod.d.ts +0 -3
  280. package/types/gen/_models/{updateSpaceBody.d.ts → updateSpaceSpacesBody.d.ts} +1 -1
  281. package/types/gen/_models/{updateSpaceBody.zod.d.ts → updateSpaceSpacesBody.zod.d.ts} +1 -1
  282. package/types/gen/_models/updateSpaceSpacesParams.d.ts +12 -0
  283. package/types/gen/_models/updateSpaceSpacesParams.zod.d.ts +12 -0
  284. package/types/gen/_models/webitelContactsContact.d.ts +0 -3
  285. package/types/gen/_models/webitelContactsContact.zod.d.ts +0 -3
  286. package/types/gen/_models/webitelImApiGatewayV1VariableEntry.d.ts +1 -2
  287. package/types/gen/_models/webitelImApiGatewayV1VariableEntry.zod.d.ts +1 -2
  288. package/types/gen/_models/webitelImApiGatewayV1VariableEntryRequest.d.ts +1 -2
  289. package/types/gen/_models/webitelImApiGatewayV1VariableEntryRequest.zod.d.ts +1 -2
  290. package/types/gen/access-store/access-store.d.ts +1 -1
  291. package/types/gen/agent-absence-service/agent-absence-service.d.ts +1 -1
  292. package/types/gen/agent-chat-service/agent-chat-service.d.ts +1 -1
  293. package/types/gen/agent-pause-cause-service/agent-pause-cause-service.d.ts +1 -1
  294. package/types/gen/agent-service/agent-service.d.ts +1 -1
  295. package/types/gen/agent-skill-service/agent-skill-service.d.ts +1 -1
  296. package/types/gen/agent-team-service/agent-team-service.d.ts +1 -1
  297. package/types/gen/agent-working-conditions-service/agent-working-conditions-service.d.ts +1 -1
  298. package/types/gen/agent-working-schedule-service/agent-working-schedule-service.d.ts +1 -1
  299. package/types/gen/articles/articles.d.ts +12 -12
  300. package/types/gen/articles/articles.faker.d.ts +5 -5
  301. package/types/gen/articles/articles.msw.d.ts +10 -10
  302. package/types/gen/articles/articles.zod.d.ts +17 -17
  303. package/types/gen/audit-form-service/audit-form-service.d.ts +1 -1
  304. package/types/gen/auth/auth.d.ts +1 -1
  305. package/types/gen/backend-profile-service/backend-profile-service.d.ts +1 -1
  306. package/types/gen/bucket-service/bucket-service.d.ts +1 -1
  307. package/types/gen/calendar-service/calendar-service.d.ts +1 -1
  308. package/types/gen/call-service/call-service.d.ts +1 -1
  309. package/types/gen/case-comments/case-comments.d.ts +1 -1
  310. package/types/gen/case-communications/case-communications.d.ts +1 -1
  311. package/types/gen/case-files/case-files.d.ts +1 -1
  312. package/types/gen/case-links/case-links.d.ts +1 -1
  313. package/types/gen/case-timeline/case-timeline.d.ts +1 -1
  314. package/types/gen/cases/cases.d.ts +1 -1
  315. package/types/gen/cases-chat-catalog/cases-chat-catalog.d.ts +1 -1
  316. package/types/gen/catalogs/catalogs.d.ts +1 -1
  317. package/types/gen/classes/classes.d.ts +1 -1
  318. package/types/gen/close-reason-groups/close-reason-groups.d.ts +1 -1
  319. package/types/gen/close-reasons/close-reasons.d.ts +1 -1
  320. package/types/gen/cognitive-profile-service/cognitive-profile-service.d.ts +1 -1
  321. package/types/gen/comments/comments.d.ts +1 -1
  322. package/types/gen/communication-type-service/communication-type-service.d.ts +1 -1
  323. package/types/gen/config-service/config-service.d.ts +1 -1
  324. package/types/gen/contact-groups/contact-groups.d.ts +1 -1
  325. package/types/gen/contact-linking-service/contact-linking-service.d.ts +1 -1
  326. package/types/gen/contacts/contacts.d.ts +1 -1
  327. package/types/gen/contacts/contacts.zod.d.ts +0 -194
  328. package/types/gen/contacts-chat-catalog/contacts-chat-catalog.d.ts +1 -1
  329. package/types/gen/customers/customers.d.ts +1 -1
  330. package/types/gen/devices/devices.d.ts +1 -1
  331. package/types/gen/dictionaries/dictionaries.d.ts +4 -2
  332. package/types/gen/dictionaries/dictionaries.faker.d.ts +2 -1
  333. package/types/gen/dictionaries/dictionaries.msw.d.ts +3 -1
  334. package/types/gen/dictionaries/dictionaries.zod.d.ts +21 -0
  335. package/types/gen/domains/domains.d.ts +1 -1
  336. package/types/gen/dynamic-conditions/dynamic-conditions.d.ts +1 -1
  337. package/types/gen/dynamic-groups/dynamic-groups.d.ts +1 -1
  338. package/types/gen/email-profile-service/email-profile-service.d.ts +1 -1
  339. package/types/gen/emails/emails.d.ts +1 -1
  340. package/types/gen/extensions/extensions.d.ts +1 -1
  341. package/types/gen/feedback-service/feedback-service.d.ts +1 -1
  342. package/types/gen/file-policies-service/file-policies-service.d.ts +1 -1
  343. package/types/gen/file-service/file-service.d.ts +1 -1
  344. package/types/gen/file-transcript-service/file-transcript-service.d.ts +1 -1
  345. package/types/gen/forecast-calculation-service/forecast-calculation-service.d.ts +1 -1
  346. package/types/gen/ftsservice/ftsservice.d.ts +1 -1
  347. package/types/gen/groups/groups.d.ts +1 -1
  348. package/types/gen/groups/groups.zod.d.ts +0 -56
  349. package/types/gen/imclients/imclients.d.ts +1 -1
  350. package/types/gen/import-template-service/import-template-service.d.ts +1 -1
  351. package/types/gen/knowledgebase-search/knowledgebase-search.d.ts +1 -1
  352. package/types/gen/labels/labels.d.ts +1 -1
  353. package/types/gen/languages/languages.d.ts +1 -1
  354. package/types/gen/ldap/ldap.d.ts +1 -1
  355. package/types/gen/list-service/list-service.d.ts +1 -1
  356. package/types/gen/logger-service/logger-service.d.ts +1 -1
  357. package/types/gen/managers/managers.d.ts +1 -1
  358. package/types/gen/media-file-service/media-file-service.d.ts +1 -1
  359. package/types/gen/meeting-service/meeting-service.d.ts +1 -1
  360. package/types/gen/member-service/member-service.d.ts +4 -2
  361. package/types/gen/member-service/member-service.faker.d.ts +2 -1
  362. package/types/gen/member-service/member-service.msw.d.ts +3 -1
  363. package/types/gen/member-service/member-service.zod.d.ts +7 -0
  364. package/types/gen/messages/messages.d.ts +1 -1
  365. package/types/gen/oauth2-federation/oauth2-federation.d.ts +1 -1
  366. package/types/gen/outbound-resource-group-service/outbound-resource-group-service.d.ts +1 -1
  367. package/types/gen/outbound-resource-service/outbound-resource-service.d.ts +1 -1
  368. package/types/gen/pause-template-service/pause-template-service.d.ts +1 -1
  369. package/types/gen/pdf-service/pdf-service.d.ts +1 -1
  370. package/types/gen/permissions/permissions.d.ts +1 -1
  371. package/types/gen/phones/phones.d.ts +1 -1
  372. package/types/gen/photos/photos.d.ts +1 -1
  373. package/types/gen/presence/presence.d.ts +1 -1
  374. package/types/gen/preset-query-service/preset-query-service.d.ts +1 -1
  375. package/types/gen/priorities/priorities.d.ts +1 -1
  376. package/types/gen/queue-bucket-service/queue-bucket-service.d.ts +1 -1
  377. package/types/gen/queue-hook-service/queue-hook-service.d.ts +1 -1
  378. package/types/gen/queue-resources-service/queue-resources-service.d.ts +1 -1
  379. package/types/gen/queue-service/queue-service.d.ts +1 -1
  380. package/types/gen/queue-service/queue-service.zod.d.ts +9 -0
  381. package/types/gen/queue-skill-service/queue-skill-service.d.ts +1 -1
  382. package/types/gen/quick-replies-service/quick-replies-service.d.ts +1 -1
  383. package/types/gen/records/records.d.ts +1 -1
  384. package/types/gen/region-service/region-service.d.ts +1 -1
  385. package/types/gen/related-cases/related-cases.d.ts +1 -1
  386. package/types/gen/routing-chat-plan-service/routing-chat-plan-service.d.ts +1 -1
  387. package/types/gen/routing-outbound-call-service/routing-outbound-call-service.d.ts +1 -1
  388. package/types/gen/routing-schema-service/routing-schema-service.d.ts +1 -1
  389. package/types/gen/routing-variable-service/routing-variable-service.d.ts +1 -1
  390. package/types/gen/schema-variables-service/schema-variables-service.d.ts +1 -1
  391. package/types/gen/schema-version-service/schema-version-service.d.ts +1 -1
  392. package/types/gen/services/services.d.ts +1 -1
  393. package/types/gen/shift-template-service/shift-template-service.d.ts +1 -1
  394. package/types/gen/skill-service/skill-service.d.ts +1 -1
  395. package/types/gen/slaconditions/slaconditions.d.ts +1 -1
  396. package/types/gen/slas/slas.d.ts +1 -1
  397. package/types/gen/sources/sources.d.ts +1 -1
  398. package/types/gen/spaces/spaces.d.ts +12 -12
  399. package/types/gen/spaces/spaces.faker.d.ts +5 -5
  400. package/types/gen/spaces/spaces.msw.d.ts +10 -10
  401. package/types/gen/spaces/spaces.zod.d.ts +19 -19
  402. package/types/gen/status-conditions/status-conditions.d.ts +1 -1
  403. package/types/gen/statuses/statuses.d.ts +1 -1
  404. package/types/gen/system-setting-service/system-setting-service.d.ts +1 -1
  405. package/types/gen/system-setting-service/system-setting-service.zod.d.ts +8 -0
  406. package/types/gen/tags/tags.d.ts +1 -1
  407. package/types/gen/team-hook-service/team-hook-service.d.ts +1 -1
  408. package/types/gen/team-trigger-service/team-trigger-service.d.ts +1 -1
  409. package/types/gen/timeline/timeline.d.ts +1 -1
  410. package/types/gen/timezones/timezones.d.ts +1 -1
  411. package/types/gen/trigger-service/trigger-service.d.ts +1 -1
  412. package/types/gen/two-factor-authentication/two-factor-authentication.d.ts +1 -1
  413. package/types/gen/types/types.d.ts +1 -1
  414. package/types/gen/user-access-tokens/user-access-tokens.d.ts +1 -1
  415. package/types/gen/user-helper-service/user-helper-service.d.ts +1 -1
  416. package/types/gen/users/users.d.ts +1 -1
  417. package/types/gen/variables/variables.d.ts +1 -1
  418. package/types/gen/web-hook-service/web-hook-service.d.ts +1 -1
  419. package/types/gen/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.d.ts +1 -1
  420. package/types/gen/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.d.ts +1 -1
  421. package/types/gen/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.d.ts +1 -1
  422. package/types/gen/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.d.ts +1 -1
  423. package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.d.ts +1 -1
  424. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +1 -1
  425. package/types/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +1 -1
  426. package/types/gen/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +9 -9
  427. package/types/gen/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.d.ts +1 -1
  428. package/types/gen/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.d.ts +1 -1
  429. package/types/gen/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.d.ts +1 -1
  430. package/types/gen/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.d.ts +1 -1
  431. package/types/gen/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.d.ts +1 -1
  432. package/types/gen/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.d.ts +1 -1
  433. package/types/gen/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.d.ts +1 -1
  434. package/types/gen/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.d.ts +1 -1
  435. package/types/gen/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.d.ts +1 -1
  436. package/types/gen/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.d.ts +1 -1
  437. package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.d.ts +1 -1
  438. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +1 -1
  439. package/types/gen/working-condition-service/working-condition-service.d.ts +1 -1
  440. package/types/gen/working-schedule-service/working-schedule-service.d.ts +1 -1
  441. package/types/utils/gen/index.d.ts +1 -1
  442. package/src/gen/_models/updateArticleParams.ts +0 -13
  443. package/src/gen/_models/updateArticleParams.zod.ts +0 -13
  444. package/src/gen/_models/updateSpaceParams.ts +0 -13
  445. package/src/gen/_models/updateSpaceParams.zod.ts +0 -13
  446. package/src/gen/_models/webitelImApiGatewayV1VariableEntryValue.ts +0 -14
  447. package/src/gen/_models/webitelImApiGatewayV1VariableEntryValue.zod.ts +0 -14
  448. package/types/gen/_models/updateArticleParams.d.ts +0 -12
  449. package/types/gen/_models/updateArticleParams.zod.d.ts +0 -12
  450. package/types/gen/_models/updateSpaceParams.d.ts +0 -12
  451. package/types/gen/_models/updateSpaceParams.zod.d.ts +0 -12
  452. package/types/gen/_models/webitelImApiGatewayV1VariableEntryValue.d.ts +0 -13
  453. package/types/gen/_models/webitelImApiGatewayV1VariableEntryValue.zod.d.ts +0 -13
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type { KnowledgebaseTagsList, ListTagsParams } from '../_models';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  EngineListTeamHook,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  EngineListTeamTrigger,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ContactsGetTimelineCounterResponse,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ContactsInputTimezone,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  EngineCreateTriggerRequest,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ApiGenerateUserTfaKeyResponse,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  DataStructList,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  AddUserAccessTokenBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ActivityWorkspaceWidgetParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ApiDeleteUsersResponse,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ContactsInputVariable,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  EngineCreateWebHookRequest,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiGatewayV1Authorization,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiGatewayV1Bot,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ContactsSearchParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ContactSettingsManagementGetParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  MessageReadParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  MessageHistorySearchLeftThreadsMessagesHistoryParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ThreadManagementGetParams,
@@ -972,7 +972,7 @@ export const ThreadManagementSearchResponse = zod
972
972
  .optional()
973
973
  .describe('Contact who set the variable.'),
974
974
  value: zod
975
- .looseObject({})
975
+ .unknown()
976
976
  .optional()
977
977
  .describe(
978
978
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -1920,7 +1920,7 @@ export const ThreadManagementCreateResponse = zod
1920
1920
  .optional()
1921
1921
  .describe('Contact who set the variable.'),
1922
1922
  value: zod
1923
- .looseObject({})
1923
+ .unknown()
1924
1924
  .optional()
1925
1925
  .describe(
1926
1926
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -2885,7 +2885,7 @@ export const ThreadManagementSearchLeftResponse = zod.object({
2885
2885
  .optional()
2886
2886
  .describe('Contact who set the variable.'),
2887
2887
  value: zod
2888
- .looseObject({})
2888
+ .unknown()
2889
2889
  .optional()
2890
2890
  .describe(
2891
2891
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -3769,7 +3769,7 @@ export const ThreadManagementGetResponse = zod
3769
3769
  .optional()
3770
3770
  .describe('Contact who set the variable.'),
3771
3771
  value: zod
3772
- .looseObject({})
3772
+ .unknown()
3773
3773
  .optional()
3774
3774
  .describe(
3775
3775
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -4151,7 +4151,7 @@ export const ThreadManagementLocateVariablesResponse = zod
4151
4151
  .optional()
4152
4152
  .describe('Contact who set the variable.'),
4153
4153
  value: zod
4154
- .looseObject({})
4154
+ .unknown()
4155
4155
  .optional()
4156
4156
  .describe(
4157
4157
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -4184,7 +4184,7 @@ export const ThreadManagementSetVariablesBody = zod
4184
4184
  zod
4185
4185
  .object({
4186
4186
  key: zod.string().optional().describe('Variable key.'),
4187
- value: zod.looseObject({}).optional().describe('Variable value.'),
4187
+ value: zod.unknown().optional().describe('Variable value.'),
4188
4188
  })
4189
4189
  .describe(
4190
4190
  'VariableEntryRequest represents a variable update operation.',
@@ -4285,7 +4285,7 @@ export const ThreadManagementSetVariablesResponse = zod
4285
4285
  .optional()
4286
4286
  .describe('Contact who set the variable.'),
4287
4287
  value: zod
4288
- .looseObject({})
4288
+ .unknown()
4289
4289
  .optional()
4290
4290
  .describe(
4291
4291
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -4408,7 +4408,7 @@ export const ThreadManagementFlushVariablesResponse = zod
4408
4408
  .optional()
4409
4409
  .describe('Contact who set the variable.'),
4410
4410
  value: zod
4411
- .looseObject({})
4411
+ .unknown()
4412
4412
  .optional()
4413
4413
  .describe(
4414
4414
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -4541,7 +4541,7 @@ export const ThreadManagementSearchVariablesResponse = zod
4541
4541
  .optional()
4542
4542
  .describe('Contact who set the variable.'),
4543
4543
  value: zod
4544
- .looseObject({})
4544
+ .unknown()
4545
4545
  .optional()
4546
4546
  .describe(
4547
4547
  'Arbitrary structured value of the variable.\nSupports dynamic JSON-like content.',
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  ThreadPermissionUpdateParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiProviderV1FacebookServiceSetGetStartedBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiProviderV1MetaAppServiceUpdateMetaAppBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiProviderV1MetaOAuthServiceMetaOAuthCallbackBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImApiProviderV1ProviderDeleteWhatsAppGateResponse,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1FacebookServiceSetGetStartedBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  GateServiceListGatesParams,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1GateTemplateServiceSetGateTemplateBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1MetaAppServiceUpdateMetaAppBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1MetaOAuthServiceMetaOAuthCallbackBody,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1ProviderSendDocumentRequest,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WebitelImProviderV1CreateGateRequest,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WfmCreateWorkingConditionRequest,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import axios from '@aliasedDeps/api-services/axios';
8
8
 
9
- import type { AxiosRequestConfig, AxiosResponse } from 'axios';
9
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
12
  WfmCreateWorkingScheduleRequest,
@@ -16,8 +16,8 @@ export const getShallowFieldsToSendFromZodSchema = (
16
16
  */
17
17
 
18
18
  // get zod object keys recursively
19
- export const getFieldsToSendFromZodSchema = <T extends z.ZodObject>(
20
- schema: T,
19
+ export const getFieldsToSendFromZodSchema = (
20
+ schema: z.core.$ZodType,
21
21
  ): string[] => {
22
22
  // make sure schema is not null or undefined
23
23
  if (schema === null || schema === undefined) return [];
@@ -9,6 +9,7 @@ export const OAuthSchema = z.object<ZodShape<ApiOAuthService>>({
9
9
  clientSecret: z.string().min(1),
10
10
  discoveryUrl: z.string().min(1),
11
11
  scopes: z.array(z.string()).optional(),
12
+ enabled: z.boolean().optional(),
12
13
  claims: z
13
14
  .array(
14
15
  z.object({
@@ -1,3 +1,10 @@
1
+ import axios, { type CreateAxiosDefaults } from 'axios';
2
+ interface GenerateInstanceOptions extends CreateAxiosDefaults {
3
+ interceptors?: {
4
+ request?: Parameters<ReturnType<typeof axios.create>['interceptors']['request']['use']>[];
5
+ response?: Parameters<ReturnType<typeof axios.create>['interceptors']['response']['use']>[];
6
+ };
7
+ }
1
8
  /**
2
9
  * Generates an Axios instance with custom configuration
3
10
  * @param options - Configuration options
@@ -6,4 +13,5 @@
6
13
  * @param options.rest - Additional Axios configuration options
7
14
  * @returns Configured Axios instance
8
15
  */
9
- export declare const generateInstance: ({ interceptors, baseURL, ...rest }?: {}) => import("axios").AxiosInstance;
16
+ export declare const generateInstance: ({ interceptors, baseURL, ...rest }?: GenerateInstanceOptions) => import("axios").AxiosInstance;
17
+ export {};
@@ -1,4 +1,4 @@
1
- import type { AgentAbsenceServiceCreateAgentAbsenceBody, AgentAbsenceServiceSearchAgentsAbsencesParams } from '@webitel/api-services/gen';
1
+ import type { AgentAbsenceServiceCreateAgentAbsenceBody, AgentAbsenceServiceSearchAgentsAbsencesParams } from '@webitel/api-services/gen/models';
2
2
  export interface GetAgentAbsenceParams {
3
3
  agentId: string;
4
4
  itemId: string;
@@ -23,8 +23,7 @@ export declare const EmailsAPI: {
23
23
  changes: any;
24
24
  etag: any;
25
25
  }) => Promise<any>;
26
- delete: ({ id, etag, parentId }: {
27
- id: any;
26
+ delete: ({ etag, parentId }: {
28
27
  etag: any;
29
28
  parentId: any;
30
29
  }) => Promise<any>;
@@ -1,11 +1,16 @@
1
1
  import type { SearchFilesByCallParams } from '@webitel/api-services/gen/models';
2
2
  export declare const FileServicesAPI: {
3
- getList: (params: SearchFilesByCallParams) => Promise<{
3
+ getList: (params: {
4
+ search?: string;
5
+ }) => Promise<{
4
6
  items: any;
5
7
  next: any;
6
8
  }>;
7
9
  delete: (id: any) => Promise<any>;
8
- getScreenRecordingsByUser: (params: unknown) => Promise<{
10
+ getScreenRecordingsByUser: (params: {
11
+ userId: string;
12
+ search?: string;
13
+ }) => Promise<{
9
14
  items: any;
10
15
  next: any;
11
16
  }>;
@@ -13,7 +18,10 @@ export declare const FileServicesAPI: {
13
18
  userId: any;
14
19
  id: any;
15
20
  }) => Promise<any>;
16
- getScreenRecordingsByAgent: (params: unknown) => Promise<{
21
+ getScreenRecordingsByAgent: (params: {
22
+ agentId: string;
23
+ search?: string;
24
+ }) => Promise<{
17
25
  items: any;
18
26
  next: any;
19
27
  }>;
@@ -3,7 +3,9 @@ export declare const PdfServicesAPI: {
3
3
  agentId: any;
4
4
  itemInstance: any;
5
5
  }) => Promise<any>;
6
- getList: (params: unknown) => Promise<{
6
+ getList: (params: {
7
+ agentId: string;
8
+ }) => Promise<{
7
9
  items: any;
8
10
  next: any;
9
11
  }>;
@@ -11,7 +13,9 @@ export declare const PdfServicesAPI: {
11
13
  callId: any;
12
14
  itemInstance: any;
13
15
  }) => Promise<any>;
14
- listCallExports: (params: unknown) => Promise<{
16
+ listCallExports: (params: {
17
+ callId: string;
18
+ }) => Promise<{
15
19
  items: any;
16
20
  next: any;
17
21
  }>;
@@ -2,4 +2,4 @@
2
2
  * Creates a default Axios instance with standard configuration
3
3
  * @returns Configured Axios instance
4
4
  */
5
- export declare const getDefaultInstance: () => import("axios").AxiosInstance;
5
+ export declare const getDefaultInstance: () => import("@aliasedDeps/api-services/axios").AxiosInstance;
@@ -1,4 +1,5 @@
1
+ import type { AxiosInterceptorManager, InternalAxiosRequestConfig } from 'axios';
1
2
  /**
2
3
  * Axios request interceptor that updates the X-Webitel-Access header with the current access token
3
4
  */
4
- export declare const updateTokenInterceptor: ((config: any) => any)[];
5
+ export declare const updateTokenInterceptor: Parameters<AxiosInterceptorManager<InternalAxiosRequestConfig>['use']>;
@@ -1,5 +1,6 @@
1
+ import type { AxiosInterceptorManager, AxiosResponse } from 'axios';
1
2
  /**
2
3
  * Axios response interceptor that handles 401 Unauthorized responses
3
4
  * by removing the access token from localStorage
4
5
  */
5
- export declare const handleUnauthorizedInterceptor: ((response: any) => any)[];
6
+ export declare const handleUnauthorizedInterceptor: Parameters<AxiosInterceptorManager<AxiosResponse>['use']>;
@@ -9,7 +9,6 @@ import type { ContactsInputContactGroup } from './contactsInputContactGroup';
9
9
  import type { ContactsInputEmailAddress } from './contactsInputEmailAddress';
10
10
  import type { ContactsInputIMClient } from './contactsInputIMClient';
11
11
  import type { ContactsInputLabel } from './contactsInputLabel';
12
- import type { ContactsInputLanguage } from './contactsInputLanguage';
13
12
  import type { ContactsInputManager } from './contactsInputManager';
14
13
  import type { ContactsInputName } from './contactsInputName';
15
14
  import type { ContactsInputPhoneNumber } from './contactsInputPhoneNumber';
@@ -37,8 +36,6 @@ export interface ContactsInputContact {
37
36
  imclients?: ContactsInputIMClient[];
38
37
  /** The Contact's associated label(s). */
39
38
  labels?: ContactsInputLabel[];
40
- /** A Contact's locale preference(s). */
41
- languages?: ContactsInputLanguage[];
42
39
  /** The Contact's internal manager(s). */
43
40
  managers?: ContactsInputManager[];
44
41
  name?: ContactsInputName;
@@ -9,7 +9,6 @@ import type { ContactsInputContactGroup } from './contactsInputContactGroup.zod'
9
9
  import type { ContactsInputEmailAddress } from './contactsInputEmailAddress.zod';
10
10
  import type { ContactsInputIMClient } from './contactsInputIMClient.zod';
11
11
  import type { ContactsInputLabel } from './contactsInputLabel.zod';
12
- import type { ContactsInputLanguage } from './contactsInputLanguage.zod';
13
12
  import type { ContactsInputManager } from './contactsInputManager.zod';
14
13
  import type { ContactsInputName } from './contactsInputName.zod';
15
14
  import type { ContactsInputPhoneNumber } from './contactsInputPhoneNumber.zod';
@@ -37,8 +36,6 @@ export interface ContactsInputContact {
37
36
  imclients?: ContactsInputIMClient[];
38
37
  /** The Contact's associated label(s). */
39
38
  labels?: ContactsInputLabel[];
40
- /** A Contact's locale preference(s). */
41
- languages?: ContactsInputLanguage[];
42
39
  /** The Contact's internal manager(s). */
43
40
  managers?: ContactsInputManager[];
44
41
  name?: ContactsInputName;
@@ -4,7 +4,7 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- export type DeleteSpaceParams = {
7
+ export type CreateArticleArticlesParams = {
8
8
  /**
9
9
  * Fields to be retrieved into result of changes.
10
10
  */
@@ -4,7 +4,7 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- export type DeleteSpaceParams = {
7
+ export type CreateArticleArticlesParams = {
8
8
  /**
9
9
  * Fields to be retrieved into result of changes.
10
10
  */
@@ -4,7 +4,7 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- export type LocateSpaceParams = {
7
+ export type CreateSpaceSpacesParams = {
8
8
  /**
9
9
  * Source Fields to return into result.
10
10
  */
@@ -4,7 +4,7 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- export type LocateSpaceParams = {
7
+ export type CreateSpaceSpacesParams = {
8
8
  /**
9
9
  * Source Fields to return into result.
10
10
  */