@webitel/api-services 0.0.25 → 0.0.27

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 (350) hide show
  1. package/package.json +3 -2
  2. package/src/api/axios/generateInstance.ts +30 -25
  3. package/src/api/axios/index.ts +1 -1
  4. package/src/api/clients/_shared/generatePermissionsApi.ts +80 -80
  5. package/src/api/clients/agents/agentChats.ts +48 -51
  6. package/src/api/clients/agents/agents.ts +207 -209
  7. package/src/api/clients/buckets/buckets.ts +78 -80
  8. package/src/api/clients/calendars/calendars.ts +169 -175
  9. package/src/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.ts +92 -94
  10. package/src/api/clients/caseCloseReasons/caseCloseReasons.ts +92 -98
  11. package/src/api/clients/casePriorities/casePriorities.ts +103 -105
  12. package/src/api/clients/caseServiceCatalogs/serviceCatalogs.ts +159 -161
  13. package/src/api/clients/caseServices/services.ts +141 -143
  14. package/src/api/clients/caseSources/caseSources.ts +84 -89
  15. package/src/api/clients/caseStatusConditions/caseStatusConditions.ts +128 -130
  16. package/src/api/clients/caseStatuses/caseStatuses.ts +87 -89
  17. package/src/api/clients/catalog/catalog.ts +25 -30
  18. package/src/api/clients/chatGateways/chatGateways.ts +235 -234
  19. package/src/api/clients/chatGateways/defaults/defaultChatGateway.ts +18 -16
  20. package/src/api/clients/chatGateways/defaults/webChatGateway.ts +71 -68
  21. package/src/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.ts +9 -11
  22. package/src/api/clients/chatGateways/scripts/generateUri.ts +12 -8
  23. package/src/api/clients/communications/communications.ts +102 -104
  24. package/src/api/clients/configurations/configurations.ts +105 -107
  25. package/src/api/clients/contactGroups/contactGroups.ts +141 -144
  26. package/src/api/clients/flows/flow.ts +177 -183
  27. package/src/api/clients/gateways/defaults/defaultGateway.ts +5 -5
  28. package/src/api/clients/gateways/defaults/registerGateway.ts +6 -6
  29. package/src/api/clients/gateways/defaults/trunkingGateway.ts +10 -10
  30. package/src/api/clients/gateways/gateways.ts +140 -142
  31. package/src/api/clients/index.ts +34 -34
  32. package/src/api/clients/labels/labels.ts +38 -41
  33. package/src/api/clients/lists/blacklists.ts +84 -86
  34. package/src/api/clients/media/media.ts +76 -82
  35. package/src/api/clients/object/object.ts +87 -89
  36. package/src/api/clients/queues/defaults/processing.ts +9 -9
  37. package/src/api/clients/queues/queues.ts +186 -192
  38. package/src/api/clients/quickReplies/quickReplies.ts +80 -89
  39. package/src/api/clients/roles/roles.ts +157 -159
  40. package/src/api/clients/skills/skills.ts +78 -80
  41. package/src/api/clients/slaConditions/slaConditions.ts +131 -133
  42. package/src/api/clients/slas/slas.ts +82 -84
  43. package/src/api/clients/teams/teams.ts +108 -110
  44. package/src/api/clients/users/__tests__/users.spec.ts +226 -226
  45. package/src/api/clients/users/users.ts +184 -186
  46. package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +13 -13
  47. package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +48 -52
  48. package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +85 -93
  49. package/src/api/clients//321/201ontacts/contactChatMessagesHistory.ts +72 -72
  50. package/src/api/clients//321/201ontacts/contacts.ts +286 -288
  51. package/src/api/clients//321/201ontacts/enums/ContactsSearchMode.ts +5 -5
  52. package/src/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.ts +7 -5
  53. package/src/api/defaults/getDefaultGetParams/getDefaultGetParams.ts +10 -5
  54. package/src/api/defaults/getDefaultInstance/getDefaultInstance.ts +18 -18
  55. package/src/api/defaults/getDefaultOpenAPIConfig/getDefaultOpenAPIConfig.ts +10 -8
  56. package/src/api/defaults/index.ts +4 -4
  57. package/src/api/index.ts +1 -1
  58. package/src/api/interceptors/index.ts +1 -1
  59. package/src/api/interceptors/request/index.ts +1 -1
  60. package/src/api/interceptors/request/updateToken.interceptor.ts +10 -9
  61. package/src/api/interceptors/response/handleUnauthorized.interceptor.ts +13 -11
  62. package/src/api/interceptors/response/index.ts +1 -1
  63. package/src/api/transformers/addQueryParamsToUrl/addQueryParamsToUrl.transformer.ts +9 -9
  64. package/src/api/transformers/applyTransform.ts +20 -13
  65. package/src/api/transformers/camelToSnake/camelToSnake.transformer.ts +1 -1
  66. package/src/api/transformers/generateUrl/generateUrl.transformer.ts +6 -6
  67. package/src/api/transformers/index.ts +13 -14
  68. package/src/api/transformers/log/log.transformer.ts +2 -2
  69. package/src/api/transformers/merge/merge.transformer.ts +3 -3
  70. package/src/api/transformers/mergeEach/mergeEach.transformer.ts +3 -3
  71. package/src/api/transformers/notify/notify.transformer.ts +24 -24
  72. package/src/api/transformers/sanitize/sanitize.transformer.ts +7 -7
  73. package/src/api/transformers/skipIf/skipIf.ts +10 -10
  74. package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.ts +1 -1
  75. package/src/api/transformers/starToSearch/starToSearch.transformer.ts +7 -7
  76. package/src/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.ts +2 -1
  77. package/src/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.ts +3 -2
  78. package/src/gen/_models/apiAccessStoreToggleDefaultAccessBody.ts +2 -1
  79. package/src/gen/_models/apiCustomer.ts +3 -2
  80. package/src/gen/_models/apiDevice.ts +2 -1
  81. package/src/gen/_models/apiLDAPCatalog.ts +5 -4
  82. package/src/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.ts +5 -4
  83. package/src/gen/_models/apiLDAProcess.ts +3 -2
  84. package/src/gen/_models/apiLicenseV1.ts +2 -1
  85. package/src/gen/_models/apiRole.ts +4 -3
  86. package/src/gen/_models/apiRolesUpdateRoleBodyRole.ts +4 -3
  87. package/src/gen/_models/apiUser.ts +2 -1
  88. package/src/gen/_models/apiUsersUpdateUserBodyUser.ts +2 -1
  89. package/src/gen/_models/contactsUpdateContactBody.ts +2 -1
  90. package/src/gen/_models/engineActiveCall.ts +3 -2
  91. package/src/gen/_models/engineAgent.ts +2 -1
  92. package/src/gen/_models/engineAgentInQueueStatistics.ts +2 -1
  93. package/src/gen/_models/engineAggregateHistoryCallRequest.ts +2 -1
  94. package/src/gen/_models/engineAttempt.ts +2 -1
  95. package/src/gen/_models/engineAttemptHistory.ts +2 -1
  96. package/src/gen/_models/engineAuditFormServicePatchAuditFormBody.ts +2 -1
  97. package/src/gen/_models/engineAuditFormServiceUpdateAuditFormBody.ts +2 -1
  98. package/src/gen/_models/engineAuditRate.ts +3 -2
  99. package/src/gen/_models/engineCreateAuditFormRequest.ts +2 -1
  100. package/src/gen/_models/engineCreateCallRequest.ts +2 -1
  101. package/src/gen/_models/engineCreateMemberBulkItem.ts +2 -1
  102. package/src/gen/_models/engineCreateOutboundResourceRequest.ts +3 -2
  103. package/src/gen/_models/engineCreateQueueRequest.ts +3 -2
  104. package/src/gen/_models/engineCreateRoutingSchemaRequest.ts +2 -1
  105. package/src/gen/_models/engineCreateTriggerRequest.ts +3 -2
  106. package/src/gen/_models/engineDeleteAllMembersRequest.ts +2 -1
  107. package/src/gen/_models/engineHistoryCall.ts +7 -6
  108. package/src/gen/_models/engineListReportGeneral.ts +2 -1
  109. package/src/gen/_models/engineOutboundResource.ts +2 -1
  110. package/src/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.ts +2 -1
  111. package/src/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.ts +2 -1
  112. package/src/gen/_models/engineQuestion.ts +2 -1
  113. package/src/gen/_models/engineQueue.ts +3 -2
  114. package/src/gen/_models/engineQueueReportGeneral.ts +2 -1
  115. package/src/gen/_models/engineQueueServicePatchQueueBody.ts +3 -2
  116. package/src/gen/_models/engineQueueServiceUpdateQueueBody.ts +3 -2
  117. package/src/gen/_models/engineRoutingSchema.ts +3 -2
  118. package/src/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.ts +2 -1
  119. package/src/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.ts +2 -1
  120. package/src/gen/_models/engineTeamHook.ts +2 -1
  121. package/src/gen/_models/engineTeamHookServiceCreateTeamHookBody.ts +2 -1
  122. package/src/gen/_models/engineTeamHookServicePatchTeamHookBody.ts +2 -1
  123. package/src/gen/_models/engineTeamHookServiceUpdateTeamHookBody.ts +2 -1
  124. package/src/gen/_models/engineTrigger.ts +2 -1
  125. package/src/gen/_models/engineTriggerJob.ts +2 -1
  126. package/src/gen/_models/engineTriggerServicePatchTriggerBody.ts +2 -1
  127. package/src/gen/_models/engineTriggerServiceUpdateTriggerBody.ts +2 -1
  128. package/src/gen/_models/index.ts +26 -26
  129. package/src/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.ts +2 -1
  130. package/src/gen/_models/storageCreateImportTemplateRequest.ts +2 -1
  131. package/src/gen/_models/storageFile.ts +3 -2
  132. package/src/gen/_models/storageFilePolicy.ts +2 -1
  133. package/src/gen/_models/storageImportTemplate.ts +3 -2
  134. package/src/gen/_models/storageSafeUploadFileResponseMetadata.ts +2 -1
  135. package/src/gen/_models/storageUpdateCognitiveProfileRequest.ts +3 -2
  136. package/src/gen/_models/storageUpdateImportTemplateRequest.ts +2 -1
  137. package/src/gen/_models/storageUploadFileResponse.ts +2 -1
  138. package/src/gen/_models/storageUploadFileUrlResponse.ts +2 -1
  139. package/src/gen/_models/updateRelatedCase2Body.ts +2 -1
  140. package/src/gen/_models/updateRelatedCaseBody.ts +2 -1
  141. package/src/gen/_models/updateRelatedCaseInputBody.ts +2 -1
  142. package/src/gen/_models/usersUpdateUser2Body.ts +2 -1
  143. package/src/gen/_models/usersUpdateUserBody.ts +2 -1
  144. package/src/gen/_models/usersUpdateUserUserBody.ts +2 -1
  145. package/src/gen/_models/webitelCasesCallEvent.ts +2 -1
  146. package/src/gen/_models/webitelCasesCase.ts +2 -1
  147. package/src/gen/_models/webitelCasesChatEvent.ts +2 -1
  148. package/src/gen/_models/webitelCasesEmailEvent.ts +2 -1
  149. package/src/gen/_models/webitelCasesInputCreateService.ts +2 -1
  150. package/src/gen/_models/webitelCasesInputService.ts +2 -1
  151. package/src/gen/_models/webitelCasesService.ts +2 -1
  152. package/src/gen/_models/webitelChatAgentChat.ts +2 -1
  153. package/src/gen/_models/webitelChatBroadcastMessageRequest.ts +2 -1
  154. package/src/gen/_models/webitelChatChatMessage.ts +3 -2
  155. package/src/gen/_models/webitelChatContactChat.ts +2 -1
  156. package/src/gen/_models/webitelChatDialog.ts +2 -1
  157. package/src/gen/_models/webitelChatGetContactChatHistoryResponse.ts +3 -2
  158. package/src/gen/_models/webitelContactsComment.ts +2 -1
  159. package/src/gen/_models/webitelProtoDataStruct.ts +2 -1
  160. package/src/gen/_models/wfmAbsence.ts +2 -1
  161. package/src/gen/_models/wfmAgentScheduleShift.ts +3 -2
  162. package/src/gen/_models/wfmAgentWorkingSchedule.ts +2 -1
  163. package/src/gen/_models/wfmPauseTemplate.ts +2 -1
  164. package/src/gen/_models/wfmSearchAgentsWorkingScheduleResponse.ts +2 -1
  165. package/src/gen/access-store/access-store.msw.api.gen.ts +1 -1
  166. package/src/gen/access-store/access-store.zod.gen.ts +2 -2
  167. package/src/gen/agent-absence-service/agent-absence-service.msw.api.gen.ts +2 -3
  168. package/src/gen/agent-chat-service/agent-chat-service.msw.api.gen.ts +2 -3
  169. package/src/gen/agent-pause-cause-service/agent-pause-cause-service.msw.api.gen.ts +1 -1
  170. package/src/gen/agent-service/agent-service.msw.api.gen.ts +1 -1
  171. package/src/gen/agent-skill-service/agent-skill-service.msw.api.gen.ts +1 -1
  172. package/src/gen/agent-team-service/agent-team-service.msw.api.gen.ts +1 -1
  173. package/src/gen/agent-working-conditions-service/agent-working-conditions-service.msw.api.gen.ts +1 -1
  174. package/src/gen/agent-working-schedule-service/agent-working-schedule-service.msw.api.gen.ts +2 -3
  175. package/src/gen/articles/articles.api.gen.ts +1 -1
  176. package/src/gen/articles/articles.msw.api.gen.ts +1 -1
  177. package/src/gen/audit-form-service/audit-form-service.msw.api.gen.ts +2 -3
  178. package/src/gen/auth/auth.msw.api.gen.ts +1 -1
  179. package/src/gen/auth/auth.zod.gen.ts +1 -1
  180. package/src/gen/backend-profile-service/backend-profile-service.msw.api.gen.ts +1 -1
  181. package/src/gen/bucket-service/bucket-service.msw.api.gen.ts +1 -1
  182. package/src/gen/calendar-service/calendar-service.msw.api.gen.ts +1 -1
  183. package/src/gen/call-service/call-service.msw.api.gen.ts +5 -6
  184. package/src/gen/call-service/call-service.zod.gen.ts +1 -1
  185. package/src/gen/case-comments/case-comments.msw.api.gen.ts +1 -1
  186. package/src/gen/case-communications/case-communications.msw.api.gen.ts +1 -1
  187. package/src/gen/case-files/case-files.msw.api.gen.ts +1 -1
  188. package/src/gen/case-links/case-links.msw.api.gen.ts +1 -1
  189. package/src/gen/case-timeline/case-timeline.msw.api.gen.ts +2 -3
  190. package/src/gen/cases/cases.msw.api.gen.ts +2 -3
  191. package/src/gen/cases-chat-catalog/cases-chat-catalog.msw.api.gen.ts +2 -3
  192. package/src/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.ts +1 -1
  193. package/src/gen/catalog/catalog.msw.api.gen.ts +2 -3
  194. package/src/gen/catalog/catalog.zod.gen.ts +3 -3
  195. package/src/gen/catalogs/catalogs.msw.api.gen.ts +1 -1
  196. package/src/gen/catalogs/catalogs.zod.gen.ts +4 -4
  197. package/src/gen/classes/classes.msw.api.gen.ts +1 -1
  198. package/src/gen/classes/classes.zod.gen.ts +1 -1
  199. package/src/gen/close-reason-groups/close-reason-groups.msw.api.gen.ts +1 -1
  200. package/src/gen/close-reasons/close-reasons.msw.api.gen.ts +1 -1
  201. package/src/gen/cognitive-profile-service/cognitive-profile-service.msw.api.gen.ts +2 -3
  202. package/src/gen/communication-type-service/communication-type-service.msw.api.gen.ts +2 -3
  203. package/src/gen/config-service/config-service.msw.api.gen.ts +1 -1
  204. package/src/gen/contact-groups/contact-groups.msw.api.gen.ts +1 -1
  205. package/src/gen/contact-linking-service/contact-linking-service.msw.api.gen.ts +1 -1
  206. package/src/gen/contacts/contacts.msw.api.gen.ts +1 -1
  207. package/src/gen/contacts/contacts.zod.gen.ts +2 -2
  208. package/src/gen/contacts-chat-catalog/contacts-chat-catalog.msw.api.gen.ts +2 -3
  209. package/src/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.ts +2 -2
  210. package/src/gen/customers/customers.msw.api.gen.ts +1 -1
  211. package/src/gen/customers/customers.zod.gen.ts +4 -4
  212. package/src/gen/devices/devices.msw.api.gen.ts +1 -1
  213. package/src/gen/devices/devices.zod.gen.ts +1 -1
  214. package/src/gen/dictionaries/dictionaries.msw.api.gen.ts +2 -3
  215. package/src/gen/dictionaries/dictionaries.zod.gen.ts +16 -16
  216. package/src/gen/domains/domains.msw.api.gen.ts +1 -1
  217. package/src/gen/dynamic-conditions/dynamic-conditions.msw.api.gen.ts +1 -1
  218. package/src/gen/dynamic-groups/dynamic-groups.msw.api.gen.ts +1 -1
  219. package/src/gen/email-profile-service/email-profile-service.msw.api.gen.ts +2 -3
  220. package/src/gen/emails/emails.msw.api.gen.ts +1 -1
  221. package/src/gen/extensions/extensions.msw.api.gen.ts +2 -3
  222. package/src/gen/extensions/extensions.zod.gen.ts +10 -10
  223. package/src/gen/file-policies-service/file-policies-service.msw.api.gen.ts +2 -3
  224. package/src/gen/file-service/file-service.msw.api.gen.ts +2 -3
  225. package/src/gen/file-transcript-service/file-transcript-service.msw.api.gen.ts +1 -1
  226. package/src/gen/forecast-calculation-service/forecast-calculation-service.msw.api.gen.ts +1 -1
  227. package/src/gen/ftsservice/ftsservice.msw.api.gen.ts +1 -1
  228. package/src/gen/groups/groups.msw.api.gen.ts +2 -3
  229. package/src/gen/imclients/imclients.msw.api.gen.ts +1 -1
  230. package/src/gen/import-template-service/import-template-service.msw.api.gen.ts +2 -3
  231. package/src/gen/index.ts +249 -249
  232. package/src/gen/knowledgebase-search/knowledgebase-search.msw.api.gen.ts +1 -1
  233. package/src/gen/labels/labels.msw.api.gen.ts +1 -1
  234. package/src/gen/ldap/ldap.api.gen.ts +4 -4
  235. package/src/gen/ldap/ldap.msw.api.gen.ts +3 -3
  236. package/src/gen/ldap/ldap.zod.gen.ts +6 -6
  237. package/src/gen/list-service/list-service.msw.api.gen.ts +1 -1
  238. package/src/gen/logger-service/logger-service.msw.api.gen.ts +1 -1
  239. package/src/gen/managers/managers.msw.api.gen.ts +1 -1
  240. package/src/gen/media-file-service/media-file-service.msw.api.gen.ts +1 -1
  241. package/src/gen/member-service/member-service.msw.api.gen.ts +1 -1
  242. package/src/gen/member-service/member-service.zod.gen.ts +1 -1
  243. package/src/gen/messages-service/messages-service.msw.api.gen.ts +1 -1
  244. package/src/gen/oauth2-federation/oauth2-federation.msw.api.gen.ts +1 -1
  245. package/src/gen/oauth2-federation/oauth2-federation.zod.gen.ts +2 -2
  246. package/src/gen/outbound-resource-group-service/outbound-resource-group-service.msw.api.gen.ts +1 -1
  247. package/src/gen/outbound-resource-service/outbound-resource-service.msw.api.gen.ts +1 -1
  248. package/src/gen/pause-template-service/pause-template-service.msw.api.gen.ts +1 -1
  249. package/src/gen/permissions/permissions.msw.api.gen.ts +1 -1
  250. package/src/gen/permissions/permissions.zod.gen.ts +1 -1
  251. package/src/gen/phones/phones.msw.api.gen.ts +1 -1
  252. package/src/gen/presence/presence.msw.api.gen.ts +1 -1
  253. package/src/gen/preset-query-service/preset-query-service.msw.api.gen.ts +1 -1
  254. package/src/gen/priorities/priorities.msw.api.gen.ts +1 -1
  255. package/src/gen/queue-bucket-service/queue-bucket-service.msw.api.gen.ts +1 -1
  256. package/src/gen/queue-hook-service/queue-hook-service.msw.api.gen.ts +1 -1
  257. package/src/gen/queue-resources-service/queue-resources-service.msw.api.gen.ts +1 -1
  258. package/src/gen/queue-service/queue-service.msw.api.gen.ts +1 -1
  259. package/src/gen/queue-skill-service/queue-skill-service.msw.api.gen.ts +1 -1
  260. package/src/gen/quick-replies-service/quick-replies-service.msw.api.gen.ts +1 -1
  261. package/src/gen/region-service/region-service.msw.api.gen.ts +1 -1
  262. package/src/gen/related-cases/related-cases.msw.api.gen.ts +2 -3
  263. package/src/gen/routing-chat-plan-service/routing-chat-plan-service.msw.api.gen.ts +1 -1
  264. package/src/gen/routing-outbound-call-service/routing-outbound-call-service.msw.api.gen.ts +1 -1
  265. package/src/gen/routing-schema-service/routing-schema-service.msw.api.gen.ts +2 -3
  266. package/src/gen/routing-variable-service/routing-variable-service.msw.api.gen.ts +1 -1
  267. package/src/gen/schema-variables-service/schema-variables-service.msw.api.gen.ts +1 -1
  268. package/src/gen/schema-version-service/schema-version-service.msw.api.gen.ts +1 -1
  269. package/src/gen/services/services.msw.api.gen.ts +1 -1
  270. package/src/gen/shift-template-service/shift-template-service.msw.api.gen.ts +1 -1
  271. package/src/gen/skill-service/skill-service.msw.api.gen.ts +1 -1
  272. package/src/gen/slaconditions/slaconditions.msw.api.gen.ts +1 -1
  273. package/src/gen/slas/slas.msw.api.gen.ts +1 -1
  274. package/src/gen/sources/sources.msw.api.gen.ts +2 -3
  275. package/src/gen/spaces/spaces.msw.api.gen.ts +1 -1
  276. package/src/gen/spaces/spaces.zod.gen.ts +1 -1
  277. package/src/gen/status-conditions/status-conditions.msw.api.gen.ts +1 -1
  278. package/src/gen/statuses/statuses.msw.api.gen.ts +1 -1
  279. package/src/gen/system-setting-service/system-setting-service.msw.api.gen.ts +2 -3
  280. package/src/gen/tags/tags.msw.api.gen.ts +1 -1
  281. package/src/gen/team-hook-service/team-hook-service.msw.api.gen.ts +2 -3
  282. package/src/gen/team-trigger-service/team-trigger-service.msw.api.gen.ts +1 -1
  283. package/src/gen/timeline/timeline.msw.api.gen.ts +2 -3
  284. package/src/gen/timezones/timezones.msw.api.gen.ts +1 -1
  285. package/src/gen/trigger-service/trigger-service.msw.api.gen.ts +7 -8
  286. package/src/gen/two-factor-authentication/two-factor-authentication.msw.api.gen.ts +1 -1
  287. package/src/gen/types/types.msw.api.gen.ts +2 -3
  288. package/src/gen/types/types.zod.gen.ts +4 -4
  289. package/src/gen/user-access-tokens/user-access-tokens.msw.api.gen.ts +1 -1
  290. package/src/gen/user-helper-service/user-helper-service.msw.api.gen.ts +1 -1
  291. package/src/gen/users/users.msw.api.gen.ts +1 -1
  292. package/src/gen/users/users.zod.gen.ts +12 -12
  293. package/src/gen/variables/variables.msw.api.gen.ts +1 -1
  294. package/src/gen/web-hook-service/web-hook-service.msw.api.gen.ts +1 -1
  295. package/src/gen/working-condition-service/working-condition-service.msw.api.gen.ts +1 -1
  296. package/src/gen/working-schedule-service/working-schedule-service.msw.api.gen.ts +2 -3
  297. package/src/utils/gen/index.ts +35 -33
  298. package/src/utils/index.ts +11 -6
  299. package/src/validations/caseSource/caseSource.validations.ts +3 -5
  300. package/types/api/axios/generateInstance.d.ts +9 -2
  301. package/types/api/axios/index.d.ts +1 -1
  302. package/types/api/clients/agents/agentChats.d.ts +1 -2
  303. package/types/api/clients/agents/agents.d.ts +1 -2
  304. package/types/api/clients/buckets/buckets.d.ts +1 -2
  305. package/types/api/clients/calendars/calendars.d.ts +1 -2
  306. package/types/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.d.ts +1 -2
  307. package/types/api/clients/caseCloseReasons/caseCloseReasons.d.ts +1 -2
  308. package/types/api/clients/casePriorities/casePriorities.d.ts +1 -2
  309. package/types/api/clients/caseServiceCatalogs/serviceCatalogs.d.ts +1 -2
  310. package/types/api/clients/caseServices/services.d.ts +1 -2
  311. package/types/api/clients/caseSources/caseSources.d.ts +1 -2
  312. package/types/api/clients/caseStatusConditions/caseStatusConditions.d.ts +1 -2
  313. package/types/api/clients/caseStatuses/caseStatuses.d.ts +1 -2
  314. package/types/api/clients/catalog/catalog.d.ts +1 -2
  315. package/types/api/clients/chatGateways/chatGateways.d.ts +4 -2
  316. package/types/api/clients/chatGateways/defaults/defaultChatGateway.d.ts +5 -2
  317. package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +6 -2
  318. package/types/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.d.ts +6 -2
  319. package/types/api/clients/chatGateways/scripts/generateUri.d.ts +5 -2
  320. package/types/api/clients/communications/communications.d.ts +1 -2
  321. package/types/api/clients/configurations/configurations.d.ts +1 -2
  322. package/types/api/clients/contactGroups/contactGroups.d.ts +1 -2
  323. package/types/api/clients/flows/flow.d.ts +1 -2
  324. package/types/api/clients/gateways/gateways.d.ts +1 -2
  325. package/types/api/clients/index.d.ts +1 -1
  326. package/types/api/clients/labels/labels.d.ts +1 -2
  327. package/types/api/clients/lists/blacklists.d.ts +1 -2
  328. package/types/api/clients/media/media.d.ts +3 -4
  329. package/types/api/clients/object/object.d.ts +1 -2
  330. package/types/api/clients/queues/queues.d.ts +1 -2
  331. package/types/api/clients/quickReplies/quickReplies.d.ts +1 -2
  332. package/types/api/clients/roles/roles.d.ts +1 -2
  333. package/types/api/clients/skills/skills.d.ts +1 -2
  334. package/types/api/clients/slaConditions/slaConditions.d.ts +1 -2
  335. package/types/api/clients/slas/slas.d.ts +1 -2
  336. package/types/api/clients/teams/teams.d.ts +1 -2
  337. package/types/api/clients/users/users.d.ts +1 -2
  338. package/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +1 -1
  339. package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +1 -16
  340. package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +1 -17
  341. package/types/api/clients//321/201ontacts/contactChatMessagesHistory.d.ts +1 -2
  342. package/types/api/clients//321/201ontacts/contacts.d.ts +1 -2
  343. package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +5 -2
  344. package/types/api/defaults/getDefaultGetParams/getDefaultGetParams.d.ts +8 -2
  345. package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +5 -3
  346. package/types/api/defaults/getDefaultOpenAPIConfig/getDefaultOpenAPIConfig.d.ts +5 -2
  347. package/types/api/interceptors/request/updateToken.interceptor.d.ts +4 -2
  348. package/types/api/interceptors/response/handleUnauthorized.interceptor.d.ts +5 -2
  349. package/types/api/transformers/applyTransform.d.ts +10 -2
  350. package/types/api/transformers/index.d.ts +2 -3
@@ -1,10 +1,11 @@
1
- import type { WfmAgentSchedule } from './wfmAgentSchedule';
2
1
  /**
3
2
  * Generated by orval v7.10.0 🍺
4
3
  * Do not edit manually.
5
4
  * Webitel API
6
5
  * OpenAPI spec version: 24.04.0
7
6
  */
7
+
8
+ import type { WfmAgentSchedule } from './wfmAgentSchedule';
8
9
  import type { WfmLookupEntity } from './wfmLookupEntity';
9
10
 
10
11
  export interface WfmAgentWorkingSchedule {
@@ -1,10 +1,11 @@
1
- import type { WfmLookupEntity } from './wfmLookupEntity';
2
1
  /**
3
2
  * Generated by orval v7.10.0 🍺
4
3
  * Do not edit manually.
5
4
  * Webitel API
6
5
  * OpenAPI spec version: 24.04.0
7
6
  */
7
+
8
+ import type { WfmLookupEntity } from './wfmLookupEntity';
8
9
  import type { WfmPauseTemplateCause } from './wfmPauseTemplateCause';
9
10
 
10
11
  export interface WfmPauseTemplate {
@@ -1,10 +1,11 @@
1
- import type { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
2
1
  /**
3
2
  * Generated by orval v7.10.0 🍺
4
3
  * Do not edit manually.
5
4
  * Webitel API
6
5
  * OpenAPI spec version: 24.04.0
7
6
  */
7
+
8
+ import type { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
8
9
  import type { WfmHoliday } from './wfmHoliday';
9
10
 
10
11
  export interface WfmSearchAgentsWorkingScheduleResponse {
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  ApiListAccessResponseV1,
@@ -42,7 +42,7 @@ export const accessStoreListDefaultAccessQueryParams = zod.object({
42
42
  sort: zod
43
43
  .array(zod.string())
44
44
  .optional()
45
- .describe('e.g.: "updated_at" - ASC; "!updated_at" - DESC;'),
45
+ .describe('e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC;'),
46
46
  size: zod.number().optional().describe('pagedResultsControl\n\ndefault: 16'),
47
47
  page: zod.number().optional().describe('default: 1'),
48
48
  });
@@ -185,7 +185,7 @@ export const accessStoreListObjectAccessQueryParams = zod.object({
185
185
  sort: zod
186
186
  .array(zod.string())
187
187
  .optional()
188
- .describe('e.g.: "updated_at" - ASC; "!updated_at" - DESC;'),
188
+ .describe('e.g.: \"updated_at\" - ASC; \"!updated_at\" - DESC;'),
189
189
  size: zod.number().optional().describe('pagedResultsControl\n\ndefault: 16'),
190
190
  page: zod.number().optional().describe('default: 1'),
191
191
  });
@@ -6,9 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WfmAbsenceType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WfmCreateAgentAbsenceResponse,
14
12
  WfmCreateAgentsAbsencesResponse,
@@ -18,6 +16,7 @@ import type {
18
16
  WfmSearchAgentsAbsencesResponse,
19
17
  WfmUpdateAgentAbsenceResponse,
20
18
  } from '.././_models';
19
+ import { WfmAbsenceType } from '.././_models';
21
20
 
22
21
  export const getAgentAbsenceServiceSearchAgentsAbsencesResponseMock = (
23
22
  overrideResponse: Partial<WfmSearchAgentsAbsencesResponse> = {},
@@ -6,13 +6,12 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WebitelChatButtonRequest } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WebitelChatGetAgentChatsResponse,
14
12
  WebitelChatMarkChatProcessedResponse,
15
13
  } from '.././_models';
14
+ import { WebitelChatButtonRequest } from '.././_models';
16
15
 
17
16
  export const getAgentChatServiceGetAgentChatsResponseMock = (
18
17
  overrideResponse: Partial<WebitelChatGetAgentChatsResponse> = {},
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  EngineAgentPauseCause,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  EngineAgent,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  EngineAgentSkill,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type { EngineAgentTeam, EngineListAgentTeam } from '.././_models';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WfmReadAgentWorkingConditionsResponse,
@@ -6,13 +6,12 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WfmAbsenceType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WfmCreateAgentsWorkingScheduleShiftsResponse,
14
12
  WfmSearchAgentsWorkingScheduleResponse,
15
13
  } from '.././_models';
14
+ import { WfmAbsenceType } from '.././_models';
16
15
 
17
16
  export const getAgentWorkingScheduleServiceSearchAgentsWorkingScheduleResponseMock =
18
17
  (
@@ -9,8 +9,8 @@ import axios from '@aliasedDeps/api-services/axios';
9
9
  import type { AxiosRequestConfig, AxiosResponse } from 'axios';
10
10
 
11
11
  import type {
12
- ArticlesArticleVersionsListParams,
13
12
  ArticlesArticlesAttachmentListParams,
13
+ ArticlesArticleVersionsListParams,
14
14
  ArticlesCreateArticleParams,
15
15
  ArticlesDeleteArticleParams,
16
16
  ArticlesListArticles2Params,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelKnowledgebaseArticle,
@@ -6,15 +6,14 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { EngineAuditQuestionType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  EngineAuditForm,
14
12
  EngineAuditRate,
15
13
  EngineListAuditForm,
16
14
  EngineListAuditRate,
17
15
  } from '.././_models';
16
+ import { EngineAuditQuestionType } from '.././_models';
18
17
 
19
18
  export const getSearchAuditFormResponseMock = (
20
19
  overrideResponse: Partial<EngineListAuditForm> = {},
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type { ApiLoginResponse, ApiUserinfo } from '.././_models';
12
12
 
@@ -44,7 +44,7 @@ export const authSignupResponse = zod.object({
44
44
  .string()
45
45
  .optional()
46
46
  .describe(
47
- 'OPTIONAL, if identical to the scope requested by the client;\notherwise, REQUIRED. The scope of the access token.\nrepeated string scope = 5 [ json_name = "scope" ];\nREQUIRED if the "state" parameter was present in the client\nauthorization request. The exact value received from the client.',
47
+ 'OPTIONAL, if identical to the scope requested by the client;\notherwise, REQUIRED. The scope of the access token.\nrepeated string scope = 5 [ json_name = \"scope\" ];\nREQUIRED if the \"state\" parameter was present in the client\nauthorization request. The exact value received from the client.',
48
48
  ),
49
49
  tokenType: zod
50
50
  .string()
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  StorageBackendProfile,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type { EngineBucket, EngineListBucket } from '.././_models';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  EngineCalendar,
@@ -6,12 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import {
12
- EngineHistoryFileJobHistoryFileJobAction,
13
- EngineHistoryFileJobHistoryFileJobState,
14
- } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
15
10
  import type {
16
11
  EngineActiveCall,
17
12
  EngineBlindTransferCallResponse,
@@ -27,6 +22,10 @@ import type {
27
22
  EngineListHistoryCall,
28
23
  EngineSetVariablesCallResponse,
29
24
  } from '.././_models';
25
+ import {
26
+ EngineHistoryFileJobHistoryFileJobAction,
27
+ EngineHistoryFileJobHistoryFileJobState,
28
+ } from '.././_models';
30
29
 
31
30
  export const getCreateCallResponseMock = (
32
31
  overrideResponse: Partial<EngineCreateCallResponse> = {},
@@ -423,7 +423,7 @@ export const searchHistoryCallQueryParams = zod.object({
423
423
  .string()
424
424
  .optional()
425
425
  .describe(
426
- 'This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18',
426
+ 'This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18',
427
427
  ),
428
428
  amdResult: zod.array(zod.string()).optional(),
429
429
  fts: zod.string().optional(),
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesCaseComment,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesLinkCommunicationResponse,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type { WebitelCasesCaseFileList, WebitelCasesFile } from '.././_models';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesCaseLink,
@@ -6,13 +6,12 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WebitelCasesCaseTimelineEventType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WebitelCasesGetTimelineCounterResponse,
14
12
  WebitelCasesGetTimelineResponse,
15
13
  } from '.././_models';
14
+ import { WebitelCasesCaseTimelineEventType } from '.././_models';
16
15
 
17
16
  export const getGetTimelineResponseMock = (
18
17
  overrideResponse: Partial<WebitelCasesGetTimelineResponse> = {},
@@ -6,14 +6,13 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WebitelCasesRelationType, WebitelCasesSourceType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WebitelCasesCase,
14
12
  WebitelCasesCaseList,
15
13
  WebitelCasesUpdateCaseResponse,
16
14
  } from '.././_models';
15
+ import { WebitelCasesRelationType, WebitelCasesSourceType } from '.././_models';
17
16
 
18
17
  export const getSearchCasesResponseMock = (
19
18
  overrideResponse: Partial<WebitelCasesCaseList> = {},
@@ -6,10 +6,9 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WebitelChatButtonRequest } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type { WebitelChatChatMessages } from '.././_models';
11
+ import { WebitelChatButtonRequest } from '.././_models';
13
12
 
14
13
  export const getCasesChatCatalogGetCaseChatHistoryResponseMock = (
15
14
  overrideResponse: Partial<WebitelChatChatMessages> = {},
@@ -31,7 +31,7 @@ export const casesChatCatalogGetCaseChatHistoryQueryParams = zod.object({
31
31
  .string()
32
32
  .optional()
33
33
  .describe(
34
- 'This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18',
34
+ 'This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18',
35
35
  ),
36
36
  });
37
37
 
@@ -6,15 +6,14 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { WebitelChatButtonRequest } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  WebitelChatChatCustomers,
14
12
  WebitelChatChatDialogs,
15
13
  WebitelChatChatMembers,
16
14
  WebitelChatChatMessages,
17
15
  } from '.././_models';
16
+ import { WebitelChatButtonRequest } from '.././_models';
18
17
 
19
18
  export const getCatalogGetCustomersResponseMock = (
20
19
  overrideResponse: Partial<WebitelChatChatCustomers> = {},
@@ -162,7 +162,7 @@ export const catalogGetDialogsQueryParams = zod.object({
162
162
  .string()
163
163
  .optional()
164
164
  .describe(
165
- 'This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18',
165
+ 'This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18',
166
166
  ),
167
167
  });
168
168
 
@@ -855,7 +855,7 @@ export const catalogGetHistoryQueryParams = zod.object({
855
855
  .string()
856
856
  .optional()
857
857
  .describe(
858
- 'This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18',
858
+ 'This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18',
859
859
  ),
860
860
  });
861
861
 
@@ -1309,7 +1309,7 @@ export const catalogGetHistory2QueryParams = zod.object({
1309
1309
  .string()
1310
1310
  .optional()
1311
1311
  .describe(
1312
- 'This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18',
1312
+ 'This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18',
1313
1313
  ),
1314
1314
  });
1315
1315
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesCatalog,
@@ -16,7 +16,7 @@ export const listCatalogsQueryParams = zod.object({
16
16
  .array(zod.string())
17
17
  .optional()
18
18
  .describe(
19
- 'Fields to be retrieved as a result.\nIf the user passes "-" as the value for fields,\nit will retrieve all available fields for each catalog.',
19
+ 'Fields to be retrieved as a result.\nIf the user passes \"-\" as the value for fields,\nit will retrieve all available fields for each catalog.',
20
20
  ),
21
21
  sort: zod.string().optional().describe('Sorting options by fields'),
22
22
  id: zod
@@ -43,7 +43,7 @@ export const listCatalogsQueryParams = zod.object({
43
43
  .array(zod.string())
44
44
  .optional()
45
45
  .describe(
46
- 'Fields to be retrieved as a result for [SUBSERVICES].\nIf the user passes "-" as the value for fields,\nit will retrieve all available fields for each catalog subservices.',
46
+ 'Fields to be retrieved as a result for [SUBSERVICES].\nIf the user passes \"-\" as the value for fields,\nit will retrieve all available fields for each catalog subservices.',
47
47
  ),
48
48
  hasSubservices: zod
49
49
  .boolean()
@@ -456,13 +456,13 @@ export const locateCatalogQueryParams = zod.object({
456
456
  .array(zod.string())
457
457
  .optional()
458
458
  .describe(
459
- 'Fields to be retrieved as a result.\nIf the user passes "-" as the value for fields,\nit will retrieve all available fields for each catalog.',
459
+ 'Fields to be retrieved as a result.\nIf the user passes \"-\" as the value for fields,\nit will retrieve all available fields for each catalog.',
460
460
  ),
461
461
  subFields: zod
462
462
  .array(zod.string())
463
463
  .optional()
464
464
  .describe(
465
- 'Fields to be retrieved as a result for [SUBSERVICES].\nIf the user passes "-" as the value for fields,\nit will retrieve all available fields for each catalog subservices.',
465
+ 'Fields to be retrieved as a result for [SUBSERVICES].\nIf the user passes \"-\" as the value for fields,\nit will retrieve all available fields for each catalog subservices.',
466
466
  ),
467
467
  });
468
468
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  ApiReadClassResponse,
@@ -19,7 +19,7 @@ export const classesSearchClassesQueryParams = zod.object({
19
19
  sort: zod
20
20
  .array(zod.string())
21
21
  .optional()
22
- .describe('sort: "field" asc; "!field" desc'),
22
+ .describe('sort: \"field\" asc; \"!field\" desc'),
23
23
  page: zod.number().optional().describe('page number'),
24
24
  size: zod.number().optional().describe('page size'),
25
25
  });
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesCloseReasonGroup,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelCasesCloseReason,
@@ -6,14 +6,13 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { StorageProviderType, StorageServiceType } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  StorageCognitiveProfile,
14
12
  StorageListCognitiveProfile,
15
13
  StorageListCognitiveProfileVoices,
16
14
  } from '.././_models';
15
+ import { StorageProviderType, StorageServiceType } from '.././_models';
17
16
 
18
17
  export const getCognitiveProfileServiceSearchCognitiveProfileResponseMock = (
19
18
  overrideResponse: Partial<StorageListCognitiveProfile> = {},
@@ -6,13 +6,12 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
10
-
11
- import { EngineCommunicationChannels } from '.././_models';
9
+ import { delay, HttpResponse, http } from 'msw';
12
10
  import type {
13
11
  EngineCommunicationType,
14
12
  EngineListCommunicationType,
15
13
  } from '.././_models';
14
+ import { EngineCommunicationChannels } from '.././_models';
16
15
 
17
16
  export const getSearchCommunicationTypeResponseMock = (
18
17
  overrideResponse: Partial<EngineListCommunicationType> = {},
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  LoggerConfig,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelContactsContactGroup,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type { WebitelChatEmptyResponse, WebitelChatLookup } from '.././_models';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { faker } from '@faker-js/faker';
8
8
 
9
- import { http, HttpResponse, delay } from 'msw';
9
+ import { delay, HttpResponse, http } from 'msw';
10
10
 
11
11
  import type {
12
12
  WebitelContactsContact,
@@ -63,13 +63,13 @@ export const contactsSearchContactsQueryParams = zod.object({
63
63
  .array(zod.string().regex(contactsSearchContactsQuerySortItemRegExp))
64
64
  .optional()
65
65
  .describe(
66
- 'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.',
66
+ 'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = \"-\" / \"!\"\nASC = [ \"+\" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.',
67
67
  ),
68
68
  fields: zod
69
69
  .array(zod.string())
70
70
  .optional()
71
71
  .describe(
72
- 'Fields [Q]uery to build result dataset record.\n```\nfields ::= field [ *( "," field ) ]\nfield ::= name [ *( func ) ] [ inner ]\ninner ::= "{" fields "}"\nfuncs ::= *( func )\nfunc ::= "." name "(" [ args ] ")"\nname ::= ALPHA / DIGIT / USCORE\n\nALPHA = %x41-5A / %x61-7A ; "A"-"Z" / "a"-"z"\nDIGIT = %x30-39 ; "0"-"9"\nUSCORE = %x5F ; underscore ; "_"\n```',
72
+ 'Fields [Q]uery to build result dataset record.\n```\nfields ::= field [ *( \",\" field ) ]\nfield ::= name [ *( func ) ] [ inner ]\ninner ::= \"{\" fields \"}\"\nfuncs ::= *( func )\nfunc ::= \".\" name \"(\" [ args ] \")\"\nname ::= ALPHA / DIGIT / USCORE\n\nALPHA = %x41-5A / %x61-7A ; \"A\"-\"Z\" / \"a\"-\"z\"\nDIGIT = %x30-39 ; \"0\"-\"9\"\nUSCORE = %x5F ; underscore ; \"_\"\n```',
73
73
  ),
74
74
  id: zod
75
75
  .array(zod.string())