@webitel/api-services 26.8.39 → 26.8.41

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 (455) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/object/object.ts +15 -1
  3. package/src/gen/_models/catalogGetCustomersParams.ts +4 -0
  4. package/src/gen/_models/catalogGetDialogsParams.ts +8 -0
  5. package/src/gen/_models/catalogGetHistory2Params.ts +4 -0
  6. package/src/gen/_models/catalogGetHistoryParams.ts +4 -0
  7. package/src/gen/_models/catalogGetMembersParams.ts +8 -0
  8. package/src/gen/_models/downloadCallScreenrecordingArchiveParams.ts +2 -2
  9. package/src/gen/_models/engineCallServicePatchHistoryCallAttemptBody.ts +12 -0
  10. package/src/gen/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.ts +10 -0
  11. package/src/gen/_models/engineChatTag.ts +11 -0
  12. package/src/gen/_models/engineCreateRoutingOutboundCallRequest.ts +1 -0
  13. package/src/gen/_models/engineHistoryCall.ts +1 -0
  14. package/src/gen/_models/engineListChatTag.ts +12 -0
  15. package/src/gen/_models/enginePatchHistoryCallAttemptResponse.ts +13 -0
  16. package/src/gen/_models/enginePatchHistoryCallAttemptResponseVariables.ts +10 -0
  17. package/src/gen/_models/engineRoutingOutboundCall.ts +1 -0
  18. package/src/gen/_models/engineRoutingOutboundCallCompact.ts +1 -0
  19. package/src/gen/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.ts +1 -0
  20. package/src/gen/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.ts +1 -0
  21. package/src/gen/_models/engineTeamChatTagServiceCreateChatTagBody.ts +10 -0
  22. package/src/gen/_models/engineTeamChatTagServiceUpdateChatTagBody.ts +10 -0
  23. package/src/gen/_models/gateServiceListGatesTypesItem.ts +1 -0
  24. package/src/gen/_models/index.ts +58 -0
  25. package/src/gen/_models/listArticleCasesParams.ts +11 -0
  26. package/src/gen/_models/listCaseArticlesParams.ts +11 -0
  27. package/src/gen/_models/locateCaseNeighborDirection.ts +15 -0
  28. package/src/gen/_models/locateCaseNeighborParams.ts +27 -0
  29. package/src/gen/_models/locateCaseParams.ts +9 -0
  30. package/src/gen/_models/searchAgentChatTagParams.ts +15 -0
  31. package/src/gen/_models/searchChatTagParams.ts +15 -0
  32. package/src/gen/_models/searchRoutingOutboundCallParams.ts +1 -0
  33. package/src/gen/_models/searchScreenRecordingsByCallParams.ts +2 -0
  34. package/src/gen/_models/threadTagManagementSearchParams.ts +11 -0
  35. package/src/gen/_models/updateCase2Body.ts +1 -0
  36. package/src/gen/_models/updateCaseBody.ts +1 -0
  37. package/src/gen/_models/updateCaseInputBody.ts +1 -0
  38. package/src/gen/_models/viberBmServiceListViberBmParams.ts +12 -0
  39. package/src/gen/_models/webitelCasesCase.ts +5 -0
  40. package/src/gen/_models/webitelCasesCaseArticle.ts +24 -0
  41. package/src/gen/_models/webitelCasesCaseArticleList.ts +13 -0
  42. package/src/gen/_models/webitelCasesCaseArticleSource.ts +21 -0
  43. package/src/gen/_models/webitelCasesCaseNavDirection.ts +18 -0
  44. package/src/gen/_models/webitelCasesInputCase.ts +1 -0
  45. package/src/gen/_models/webitelCasesInputCaseArticle.ts +12 -0
  46. package/src/gen/_models/webitelCasesInputCreateCase.ts +2 -0
  47. package/src/gen/_models/webitelChatPeer.ts +2 -0
  48. package/src/gen/_models/webitelImApiGatewayV1ChatTag.ts +13 -0
  49. package/src/gen/_models/webitelImApiGatewayV1ForwardMessagesRequest.ts +0 -5
  50. package/src/gen/_models/webitelImApiGatewayV1ForwardMessagesResponse.ts +3 -5
  51. package/src/gen/_models/webitelImApiGatewayV1RemoveThreadTagResponse.ts +10 -0
  52. package/src/gen/_models/webitelImApiGatewayV1ReplyToMessage.ts +1 -1
  53. package/src/gen/_models/webitelImApiGatewayV1SearchThreadTagsResponse.ts +11 -0
  54. package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +4 -0
  55. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +7 -0
  56. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequestVariables.ts +15 -0
  57. package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +4 -0
  58. package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
  59. package/src/gen/_models/webitelImApiGatewayV1SendTextRequestVariables.ts +10 -0
  60. package/src/gen/_models/webitelImApiGatewayV1SkippedMessage.ts +2 -2
  61. package/src/gen/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.ts +10 -0
  62. package/src/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.ts +17 -0
  63. package/src/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.ts +11 -0
  64. package/src/gen/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
  65. package/src/gen/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.ts +11 -0
  66. package/src/gen/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.ts +12 -0
  67. package/src/gen/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.ts +11 -0
  68. package/src/gen/_models/webitelImApiProviderV1ProviderViberBmGate.ts +19 -0
  69. package/src/gen/_models/webitelImApiProviderV1SendViberBmTemplateResponse.ts +11 -0
  70. package/src/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.ts +14 -0
  71. package/src/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
  72. package/src/gen/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.ts +17 -0
  73. package/src/gen/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.ts +23 -0
  74. package/src/gen/_models/webitelImProviderV1Entity.ts +34 -0
  75. package/src/gen/_models/webitelImProviderV1ProviderCreateCustomGateRequest.ts +24 -0
  76. package/src/gen/_models/webitelImProviderV1ProviderCreateCustomGateResponse.ts +14 -0
  77. package/src/gen/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.ts +20 -0
  78. package/src/gen/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.ts +14 -0
  79. package/src/gen/_models/webitelImProviderV1ProviderCustomGate.ts +28 -0
  80. package/src/gen/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.ts +11 -0
  81. package/src/gen/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
  82. package/src/gen/_models/webitelImProviderV1ProviderGetCustomGateResponse.ts +11 -0
  83. package/src/gen/_models/webitelImProviderV1ProviderGetViberBmGateResponse.ts +11 -0
  84. package/src/gen/_models/webitelImProviderV1ProviderListViberBmGatesResponse.ts +15 -0
  85. package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +8 -0
  86. package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +8 -0
  87. package/src/gen/_models/webitelImProviderV1ProviderType.ts +1 -0
  88. package/src/gen/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.ts +14 -0
  89. package/src/gen/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.ts +14 -0
  90. package/src/gen/_models/webitelImProviderV1ProviderViberBmGate.ts +22 -0
  91. package/src/gen/_models/webitelImProviderV1SendViberBmTemplateResponse.ts +14 -0
  92. package/src/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.ts +17 -0
  93. package/src/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
  94. package/src/gen/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.ts +20 -0
  95. package/src/gen/_models/webitelKbArticleType.ts +1 -1
  96. package/src/gen/_models/webitelKbAttachmentsAttachFileBody.ts +14 -0
  97. package/src/gen/_models/webitelKbFile.ts +1 -3
  98. package/src/gen-wire/_models/catalogGetCustomersParams.ts +4 -0
  99. package/src/gen-wire/_models/catalogGetDialogsParams.ts +8 -0
  100. package/src/gen-wire/_models/catalogGetHistory2Params.ts +4 -0
  101. package/src/gen-wire/_models/catalogGetHistoryParams.ts +4 -0
  102. package/src/gen-wire/_models/catalogGetMembersParams.ts +8 -0
  103. package/src/gen-wire/_models/downloadCallScreenrecordingArchiveParams.ts +2 -2
  104. package/src/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBody.ts +12 -0
  105. package/src/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.ts +10 -0
  106. package/src/gen-wire/_models/engineChatTag.ts +11 -0
  107. package/src/gen-wire/_models/engineCreateRoutingOutboundCallRequest.ts +1 -0
  108. package/src/gen-wire/_models/engineHistoryCall.ts +1 -0
  109. package/src/gen-wire/_models/engineListChatTag.ts +12 -0
  110. package/src/gen-wire/_models/enginePatchHistoryCallAttemptResponse.ts +13 -0
  111. package/src/gen-wire/_models/enginePatchHistoryCallAttemptResponseVariables.ts +10 -0
  112. package/src/gen-wire/_models/engineRoutingOutboundCall.ts +1 -0
  113. package/src/gen-wire/_models/engineRoutingOutboundCallCompact.ts +1 -0
  114. package/src/gen-wire/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.ts +1 -0
  115. package/src/gen-wire/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.ts +1 -0
  116. package/src/gen-wire/_models/engineTeamChatTagServiceCreateChatTagBody.ts +10 -0
  117. package/src/gen-wire/_models/engineTeamChatTagServiceUpdateChatTagBody.ts +10 -0
  118. package/src/gen-wire/_models/gateServiceListGatesTypesItem.ts +1 -0
  119. package/src/gen-wire/_models/index.ts +58 -0
  120. package/src/gen-wire/_models/listArticleCasesParams.ts +11 -0
  121. package/src/gen-wire/_models/listCaseArticlesParams.ts +11 -0
  122. package/src/gen-wire/_models/locateCaseNeighborDirection.ts +15 -0
  123. package/src/gen-wire/_models/locateCaseNeighborParams.ts +27 -0
  124. package/src/gen-wire/_models/locateCaseParams.ts +9 -0
  125. package/src/gen-wire/_models/searchAgentChatTagParams.ts +15 -0
  126. package/src/gen-wire/_models/searchChatTagParams.ts +15 -0
  127. package/src/gen-wire/_models/searchRoutingOutboundCallParams.ts +1 -0
  128. package/src/gen-wire/_models/searchScreenRecordingsByCallParams.ts +2 -0
  129. package/src/gen-wire/_models/threadTagManagementSearchParams.ts +11 -0
  130. package/src/gen-wire/_models/updateCase2Body.ts +1 -0
  131. package/src/gen-wire/_models/updateCaseBody.ts +1 -0
  132. package/src/gen-wire/_models/updateCaseInputBody.ts +1 -0
  133. package/src/gen-wire/_models/viberBmServiceListViberBmParams.ts +12 -0
  134. package/src/gen-wire/_models/webitelCasesCase.ts +5 -0
  135. package/src/gen-wire/_models/webitelCasesCaseArticle.ts +24 -0
  136. package/src/gen-wire/_models/webitelCasesCaseArticleList.ts +13 -0
  137. package/src/gen-wire/_models/webitelCasesCaseArticleSource.ts +21 -0
  138. package/src/gen-wire/_models/webitelCasesCaseNavDirection.ts +18 -0
  139. package/src/gen-wire/_models/webitelCasesInputCase.ts +1 -0
  140. package/src/gen-wire/_models/webitelCasesInputCaseArticle.ts +12 -0
  141. package/src/gen-wire/_models/webitelCasesInputCreateCase.ts +2 -0
  142. package/src/gen-wire/_models/webitelChatPeer.ts +2 -0
  143. package/src/gen-wire/_models/webitelImApiGatewayV1ChatTag.ts +13 -0
  144. package/src/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesRequest.ts +0 -5
  145. package/src/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesResponse.ts +3 -5
  146. package/src/gen-wire/_models/webitelImApiGatewayV1RemoveThreadTagResponse.ts +10 -0
  147. package/src/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.ts +1 -1
  148. package/src/gen-wire/_models/webitelImApiGatewayV1SearchThreadTagsResponse.ts +11 -0
  149. package/src/gen-wire/_models/webitelImApiGatewayV1SendContactRequest.ts +4 -0
  150. package/src/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequest.ts +7 -0
  151. package/src/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequestVariables.ts +15 -0
  152. package/src/gen-wire/_models/webitelImApiGatewayV1SendLocationRequest.ts +4 -0
  153. package/src/gen-wire/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
  154. package/src/gen-wire/_models/webitelImApiGatewayV1SendTextRequestVariables.ts +10 -0
  155. package/src/gen-wire/_models/webitelImApiGatewayV1SkippedMessage.ts +2 -2
  156. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.ts +10 -0
  157. package/src/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.ts +17 -0
  158. package/src/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.ts +11 -0
  159. package/src/gen-wire/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
  160. package/src/gen-wire/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.ts +11 -0
  161. package/src/gen-wire/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.ts +12 -0
  162. package/src/gen-wire/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.ts +11 -0
  163. package/src/gen-wire/_models/webitelImApiProviderV1ProviderViberBmGate.ts +19 -0
  164. package/src/gen-wire/_models/webitelImApiProviderV1SendViberBmTemplateResponse.ts +11 -0
  165. package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.ts +14 -0
  166. package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
  167. package/src/gen-wire/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.ts +17 -0
  168. package/src/gen-wire/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.ts +23 -0
  169. package/src/gen-wire/_models/webitelImProviderV1Entity.ts +34 -0
  170. package/src/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateRequest.ts +24 -0
  171. package/src/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateResponse.ts +14 -0
  172. package/src/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.ts +20 -0
  173. package/src/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.ts +14 -0
  174. package/src/gen-wire/_models/webitelImProviderV1ProviderCustomGate.ts +28 -0
  175. package/src/gen-wire/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.ts +11 -0
  176. package/src/gen-wire/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.ts +11 -0
  177. package/src/gen-wire/_models/webitelImProviderV1ProviderGetCustomGateResponse.ts +11 -0
  178. package/src/gen-wire/_models/webitelImProviderV1ProviderGetViberBmGateResponse.ts +11 -0
  179. package/src/gen-wire/_models/webitelImProviderV1ProviderListViberBmGatesResponse.ts +15 -0
  180. package/src/gen-wire/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +8 -0
  181. package/src/gen-wire/_models/webitelImProviderV1ProviderSendTextRequest.ts +8 -0
  182. package/src/gen-wire/_models/webitelImProviderV1ProviderType.ts +1 -0
  183. package/src/gen-wire/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.ts +14 -0
  184. package/src/gen-wire/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.ts +14 -0
  185. package/src/gen-wire/_models/webitelImProviderV1ProviderViberBmGate.ts +22 -0
  186. package/src/gen-wire/_models/webitelImProviderV1SendViberBmTemplateResponse.ts +14 -0
  187. package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.ts +17 -0
  188. package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.ts +11 -0
  189. package/src/gen-wire/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.ts +20 -0
  190. package/src/gen-wire/_models/webitelKbArticleType.ts +1 -1
  191. package/src/gen-wire/_models/webitelKbAttachmentsAttachFileBody.ts +14 -0
  192. package/src/gen-wire/_models/webitelKbFile.ts +1 -3
  193. package/src/gen-wire/agent-chat-service/agent-chat-service.zod.ts +40 -0
  194. package/src/gen-wire/agent-chat-tag-service/agent-chat-tag-service.ts +41 -0
  195. package/src/gen-wire/agent-chat-tag-service/agent-chat-tag-service.zod.ts +28 -0
  196. package/src/gen-wire/attachments/attachments.ts +17 -0
  197. package/src/gen-wire/attachments/attachments.zod.ts +42 -4
  198. package/src/gen-wire/call-service/call-service.ts +19 -0
  199. package/src/gen-wire/call-service/call-service.zod.ts +21 -0
  200. package/src/gen-wire/case-articles/case-articles.ts +100 -0
  201. package/src/gen-wire/case-articles/case-articles.zod.ts +256 -0
  202. package/src/gen-wire/cases/cases.ts +19 -0
  203. package/src/gen-wire/cases/cases.zod.ts +781 -69
  204. package/src/gen-wire/cases-chat-catalog/cases-chat-catalog.zod.ts +41 -0
  205. package/src/gen-wire/customer/customer.zod.ts +2 -0
  206. package/src/gen-wire/file-service/file-service.zod.ts +2 -0
  207. package/src/gen-wire/index.ts +58 -0
  208. package/src/gen-wire/index.zod.ts +151 -0
  209. package/src/gen-wire/logger-service/logger-service.ts +9 -0
  210. package/src/gen-wire/logger-service/logger-service.zod.ts +31 -0
  211. package/src/gen-wire/messages/messages.zod.ts +158 -0
  212. package/src/gen-wire/pdf-service/pdf-service.zod.ts +2 -2
  213. package/src/gen-wire/routing-outbound-call-service/routing-outbound-call-service.zod.ts +10 -0
  214. package/src/gen-wire/team-chat-tag-service/team-chat-tag-service.ts +87 -0
  215. package/src/gen-wire/team-chat-tag-service/team-chat-tag-service.zod.ts +69 -0
  216. package/src/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +51 -12
  217. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +3 -3
  218. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +4 -4
  219. package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.ts +84 -0
  220. package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.ts +47 -0
  221. package/src/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.ts +93 -0
  222. package/src/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.zod.ts +154 -0
  223. package/src/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.ts +99 -0
  224. package/src/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.zod.ts +319 -0
  225. package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.ts +2 -0
  226. package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +81 -0
  227. package/src/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.ts +144 -0
  228. package/src/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.zod.ts +274 -0
  229. package/types/.tsbuildinfo +1 -1
  230. package/types/api/clients/object/object.d.ts +2 -1
  231. package/types/gen/_models/catalogGetCustomersParams.d.ts +4 -0
  232. package/types/gen/_models/catalogGetDialogsParams.d.ts +8 -0
  233. package/types/gen/_models/catalogGetHistory2Params.d.ts +4 -0
  234. package/types/gen/_models/catalogGetHistoryParams.d.ts +4 -0
  235. package/types/gen/_models/catalogGetMembersParams.d.ts +8 -0
  236. package/types/gen/_models/downloadCallScreenrecordingArchiveParams.d.ts +2 -2
  237. package/types/gen/_models/engineCallServicePatchHistoryCallAttemptBody.d.ts +11 -0
  238. package/types/gen/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.d.ts +9 -0
  239. package/types/gen/_models/engineChatTag.d.ts +10 -0
  240. package/types/gen/_models/engineCreateRoutingOutboundCallRequest.d.ts +1 -0
  241. package/types/gen/_models/engineHistoryCall.d.ts +1 -0
  242. package/types/gen/_models/engineListChatTag.d.ts +11 -0
  243. package/types/gen/_models/enginePatchHistoryCallAttemptResponse.d.ts +12 -0
  244. package/types/gen/_models/enginePatchHistoryCallAttemptResponseVariables.d.ts +9 -0
  245. package/types/gen/_models/engineRoutingOutboundCall.d.ts +1 -0
  246. package/types/gen/_models/engineRoutingOutboundCallCompact.d.ts +1 -0
  247. package/types/gen/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.d.ts +1 -0
  248. package/types/gen/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.d.ts +1 -0
  249. package/types/gen/_models/engineTeamChatTagServiceCreateChatTagBody.d.ts +9 -0
  250. package/types/gen/_models/engineTeamChatTagServiceUpdateChatTagBody.d.ts +9 -0
  251. package/types/gen/_models/gateServiceListGatesTypesItem.d.ts +1 -0
  252. package/types/gen/_models/index.d.ts +58 -0
  253. package/types/gen/_models/listArticleCasesParams.d.ts +10 -0
  254. package/types/gen/_models/listCaseArticlesParams.d.ts +10 -0
  255. package/types/gen/_models/locateCaseNeighborDirection.d.ts +12 -0
  256. package/types/gen/_models/locateCaseNeighborParams.d.ts +26 -0
  257. package/types/gen/_models/locateCaseParams.d.ts +9 -0
  258. package/types/gen/_models/searchAgentChatTagParams.d.ts +14 -0
  259. package/types/gen/_models/searchChatTagParams.d.ts +14 -0
  260. package/types/gen/_models/searchRoutingOutboundCallParams.d.ts +1 -0
  261. package/types/gen/_models/searchScreenRecordingsByCallParams.d.ts +2 -0
  262. package/types/gen/_models/threadTagManagementSearchParams.d.ts +10 -0
  263. package/types/gen/_models/updateCase2Body.d.ts +1 -0
  264. package/types/gen/_models/updateCaseBody.d.ts +1 -0
  265. package/types/gen/_models/updateCaseInputBody.d.ts +1 -0
  266. package/types/gen/_models/viberBmServiceListViberBmParams.d.ts +11 -0
  267. package/types/gen/_models/webitelCasesCase.d.ts +5 -0
  268. package/types/gen/_models/webitelCasesCaseArticle.d.ts +23 -0
  269. package/types/gen/_models/webitelCasesCaseArticleList.d.ts +12 -0
  270. package/types/gen/_models/webitelCasesCaseArticleSource.d.ts +18 -0
  271. package/types/gen/_models/webitelCasesCaseNavDirection.d.ts +15 -0
  272. package/types/gen/_models/webitelCasesInputCase.d.ts +1 -0
  273. package/types/gen/_models/webitelCasesInputCaseArticle.d.ts +11 -0
  274. package/types/gen/_models/webitelCasesInputCreateCase.d.ts +2 -0
  275. package/types/gen/_models/webitelChatPeer.d.ts +2 -0
  276. package/types/gen/_models/webitelImApiGatewayV1ChatTag.d.ts +12 -0
  277. package/types/gen/_models/webitelImApiGatewayV1ForwardMessagesRequest.d.ts +0 -5
  278. package/types/gen/_models/webitelImApiGatewayV1ForwardMessagesResponse.d.ts +3 -5
  279. package/types/gen/_models/webitelImApiGatewayV1RemoveThreadTagResponse.d.ts +9 -0
  280. package/types/gen/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +1 -1
  281. package/types/gen/_models/webitelImApiGatewayV1SearchThreadTagsResponse.d.ts +10 -0
  282. package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +4 -0
  283. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +7 -0
  284. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequestVariables.d.ts +14 -0
  285. package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +4 -0
  286. package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
  287. package/types/gen/_models/webitelImApiGatewayV1SendTextRequestVariables.d.ts +9 -0
  288. package/types/gen/_models/webitelImApiGatewayV1SkippedMessage.d.ts +2 -2
  289. package/types/gen/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.d.ts +9 -0
  290. package/types/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.d.ts +16 -0
  291. package/types/gen/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.d.ts +10 -0
  292. package/types/gen/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
  293. package/types/gen/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
  294. package/types/gen/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.d.ts +11 -0
  295. package/types/gen/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.d.ts +10 -0
  296. package/types/gen/_models/webitelImApiProviderV1ProviderViberBmGate.d.ts +18 -0
  297. package/types/gen/_models/webitelImApiProviderV1SendViberBmTemplateResponse.d.ts +10 -0
  298. package/types/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +13 -0
  299. package/types/gen/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
  300. package/types/gen/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.d.ts +16 -0
  301. package/types/gen/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.d.ts +22 -0
  302. package/types/gen/_models/webitelImProviderV1Entity.d.ts +33 -0
  303. package/types/gen/_models/webitelImProviderV1ProviderCreateCustomGateRequest.d.ts +23 -0
  304. package/types/gen/_models/webitelImProviderV1ProviderCreateCustomGateResponse.d.ts +13 -0
  305. package/types/gen/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.d.ts +19 -0
  306. package/types/gen/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.d.ts +13 -0
  307. package/types/gen/_models/webitelImProviderV1ProviderCustomGate.d.ts +27 -0
  308. package/types/gen/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.d.ts +10 -0
  309. package/types/gen/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
  310. package/types/gen/_models/webitelImProviderV1ProviderGetCustomGateResponse.d.ts +10 -0
  311. package/types/gen/_models/webitelImProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
  312. package/types/gen/_models/webitelImProviderV1ProviderListViberBmGatesResponse.d.ts +14 -0
  313. package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +8 -0
  314. package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +8 -0
  315. package/types/gen/_models/webitelImProviderV1ProviderType.d.ts +1 -0
  316. package/types/gen/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.d.ts +13 -0
  317. package/types/gen/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.d.ts +13 -0
  318. package/types/gen/_models/webitelImProviderV1ProviderViberBmGate.d.ts +21 -0
  319. package/types/gen/_models/webitelImProviderV1SendViberBmTemplateResponse.d.ts +13 -0
  320. package/types/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +16 -0
  321. package/types/gen/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
  322. package/types/gen/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.d.ts +19 -0
  323. package/types/gen/_models/webitelKbArticleType.d.ts +1 -1
  324. package/types/gen/_models/webitelKbAttachmentsAttachFileBody.d.ts +13 -0
  325. package/types/gen/_models/webitelKbFile.d.ts +1 -3
  326. package/types/gen-wire/_models/catalogGetCustomersParams.d.ts +4 -0
  327. package/types/gen-wire/_models/catalogGetDialogsParams.d.ts +8 -0
  328. package/types/gen-wire/_models/catalogGetHistory2Params.d.ts +4 -0
  329. package/types/gen-wire/_models/catalogGetHistoryParams.d.ts +4 -0
  330. package/types/gen-wire/_models/catalogGetMembersParams.d.ts +8 -0
  331. package/types/gen-wire/_models/downloadCallScreenrecordingArchiveParams.d.ts +2 -2
  332. package/types/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBody.d.ts +11 -0
  333. package/types/gen-wire/_models/engineCallServicePatchHistoryCallAttemptBodyVariables.d.ts +9 -0
  334. package/types/gen-wire/_models/engineChatTag.d.ts +10 -0
  335. package/types/gen-wire/_models/engineCreateRoutingOutboundCallRequest.d.ts +1 -0
  336. package/types/gen-wire/_models/engineHistoryCall.d.ts +1 -0
  337. package/types/gen-wire/_models/engineListChatTag.d.ts +11 -0
  338. package/types/gen-wire/_models/enginePatchHistoryCallAttemptResponse.d.ts +12 -0
  339. package/types/gen-wire/_models/enginePatchHistoryCallAttemptResponseVariables.d.ts +9 -0
  340. package/types/gen-wire/_models/engineRoutingOutboundCall.d.ts +1 -0
  341. package/types/gen-wire/_models/engineRoutingOutboundCallCompact.d.ts +1 -0
  342. package/types/gen-wire/_models/engineRoutingOutboundCallServicePatchRoutingOutboundCallBody.d.ts +1 -0
  343. package/types/gen-wire/_models/engineRoutingOutboundCallServiceUpdateRoutingOutboundCallBody.d.ts +1 -0
  344. package/types/gen-wire/_models/engineTeamChatTagServiceCreateChatTagBody.d.ts +9 -0
  345. package/types/gen-wire/_models/engineTeamChatTagServiceUpdateChatTagBody.d.ts +9 -0
  346. package/types/gen-wire/_models/gateServiceListGatesTypesItem.d.ts +1 -0
  347. package/types/gen-wire/_models/index.d.ts +58 -0
  348. package/types/gen-wire/_models/listArticleCasesParams.d.ts +10 -0
  349. package/types/gen-wire/_models/listCaseArticlesParams.d.ts +10 -0
  350. package/types/gen-wire/_models/locateCaseNeighborDirection.d.ts +12 -0
  351. package/types/gen-wire/_models/locateCaseNeighborParams.d.ts +26 -0
  352. package/types/gen-wire/_models/locateCaseParams.d.ts +9 -0
  353. package/types/gen-wire/_models/searchAgentChatTagParams.d.ts +14 -0
  354. package/types/gen-wire/_models/searchChatTagParams.d.ts +14 -0
  355. package/types/gen-wire/_models/searchRoutingOutboundCallParams.d.ts +1 -0
  356. package/types/gen-wire/_models/searchScreenRecordingsByCallParams.d.ts +2 -0
  357. package/types/gen-wire/_models/threadTagManagementSearchParams.d.ts +10 -0
  358. package/types/gen-wire/_models/updateCase2Body.d.ts +1 -0
  359. package/types/gen-wire/_models/updateCaseBody.d.ts +1 -0
  360. package/types/gen-wire/_models/updateCaseInputBody.d.ts +1 -0
  361. package/types/gen-wire/_models/viberBmServiceListViberBmParams.d.ts +11 -0
  362. package/types/gen-wire/_models/webitelCasesCase.d.ts +5 -0
  363. package/types/gen-wire/_models/webitelCasesCaseArticle.d.ts +23 -0
  364. package/types/gen-wire/_models/webitelCasesCaseArticleList.d.ts +12 -0
  365. package/types/gen-wire/_models/webitelCasesCaseArticleSource.d.ts +18 -0
  366. package/types/gen-wire/_models/webitelCasesCaseNavDirection.d.ts +15 -0
  367. package/types/gen-wire/_models/webitelCasesInputCase.d.ts +1 -0
  368. package/types/gen-wire/_models/webitelCasesInputCaseArticle.d.ts +11 -0
  369. package/types/gen-wire/_models/webitelCasesInputCreateCase.d.ts +2 -0
  370. package/types/gen-wire/_models/webitelChatPeer.d.ts +2 -0
  371. package/types/gen-wire/_models/webitelImApiGatewayV1ChatTag.d.ts +12 -0
  372. package/types/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesRequest.d.ts +0 -5
  373. package/types/gen-wire/_models/webitelImApiGatewayV1ForwardMessagesResponse.d.ts +3 -5
  374. package/types/gen-wire/_models/webitelImApiGatewayV1RemoveThreadTagResponse.d.ts +9 -0
  375. package/types/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +1 -1
  376. package/types/gen-wire/_models/webitelImApiGatewayV1SearchThreadTagsResponse.d.ts +10 -0
  377. package/types/gen-wire/_models/webitelImApiGatewayV1SendContactRequest.d.ts +4 -0
  378. package/types/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +7 -0
  379. package/types/gen-wire/_models/webitelImApiGatewayV1SendDocumentRequestVariables.d.ts +14 -0
  380. package/types/gen-wire/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +4 -0
  381. package/types/gen-wire/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
  382. package/types/gen-wire/_models/webitelImApiGatewayV1SendTextRequestVariables.d.ts +9 -0
  383. package/types/gen-wire/_models/webitelImApiGatewayV1SkippedMessage.d.ts +2 -2
  384. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadTagManagementAddTagBody.d.ts +9 -0
  385. package/types/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateRequest.d.ts +16 -0
  386. package/types/gen-wire/_models/webitelImApiProviderV1ProviderCreateViberBmGateResponse.d.ts +10 -0
  387. package/types/gen-wire/_models/webitelImApiProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
  388. package/types/gen-wire/_models/webitelImApiProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
  389. package/types/gen-wire/_models/webitelImApiProviderV1ProviderListViberBmGatesResponse.d.ts +11 -0
  390. package/types/gen-wire/_models/webitelImApiProviderV1ProviderUpdateViberBmGateResponse.d.ts +10 -0
  391. package/types/gen-wire/_models/webitelImApiProviderV1ProviderViberBmGate.d.ts +18 -0
  392. package/types/gen-wire/_models/webitelImApiProviderV1SendViberBmTemplateResponse.d.ts +10 -0
  393. package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +13 -0
  394. package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
  395. package/types/gen-wire/_models/webitelImApiProviderV1ViberBmServiceUpdateViberBmBody.d.ts +16 -0
  396. package/types/gen-wire/_models/webitelImProviderV1CustomServiceUpdateCustomGateBody.d.ts +22 -0
  397. package/types/gen-wire/_models/webitelImProviderV1Entity.d.ts +33 -0
  398. package/types/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateRequest.d.ts +23 -0
  399. package/types/gen-wire/_models/webitelImProviderV1ProviderCreateCustomGateResponse.d.ts +13 -0
  400. package/types/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateRequest.d.ts +19 -0
  401. package/types/gen-wire/_models/webitelImProviderV1ProviderCreateViberBmGateResponse.d.ts +13 -0
  402. package/types/gen-wire/_models/webitelImProviderV1ProviderCustomGate.d.ts +27 -0
  403. package/types/gen-wire/_models/webitelImProviderV1ProviderDeleteCustomGateResponse.d.ts +10 -0
  404. package/types/gen-wire/_models/webitelImProviderV1ProviderDeleteViberBmGateResponse.d.ts +10 -0
  405. package/types/gen-wire/_models/webitelImProviderV1ProviderGetCustomGateResponse.d.ts +10 -0
  406. package/types/gen-wire/_models/webitelImProviderV1ProviderGetViberBmGateResponse.d.ts +10 -0
  407. package/types/gen-wire/_models/webitelImProviderV1ProviderListViberBmGatesResponse.d.ts +14 -0
  408. package/types/gen-wire/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +8 -0
  409. package/types/gen-wire/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +8 -0
  410. package/types/gen-wire/_models/webitelImProviderV1ProviderType.d.ts +1 -0
  411. package/types/gen-wire/_models/webitelImProviderV1ProviderUpdateCustomGateResponse.d.ts +13 -0
  412. package/types/gen-wire/_models/webitelImProviderV1ProviderUpdateViberBmGateResponse.d.ts +13 -0
  413. package/types/gen-wire/_models/webitelImProviderV1ProviderViberBmGate.d.ts +21 -0
  414. package/types/gen-wire/_models/webitelImProviderV1SendViberBmTemplateResponse.d.ts +13 -0
  415. package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBody.d.ts +16 -0
  416. package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceSendViberBmTemplateBodyParameters.d.ts +9 -0
  417. package/types/gen-wire/_models/webitelImProviderV1ViberBmServiceUpdateViberBmBody.d.ts +19 -0
  418. package/types/gen-wire/_models/webitelKbArticleType.d.ts +1 -1
  419. package/types/gen-wire/_models/webitelKbAttachmentsAttachFileBody.d.ts +13 -0
  420. package/types/gen-wire/_models/webitelKbFile.d.ts +1 -3
  421. package/types/gen-wire/agent-chat-service/agent-chat-service.zod.d.ts +10 -0
  422. package/types/gen-wire/agent-chat-tag-service/agent-chat-tag-service.d.ts +13 -0
  423. package/types/gen-wire/agent-chat-tag-service/agent-chat-tag-service.zod.d.ts +22 -0
  424. package/types/gen-wire/attachments/attachments.d.ts +3 -1
  425. package/types/gen-wire/attachments/attachments.zod.d.ts +22 -2
  426. package/types/gen-wire/call-service/call-service.d.ts +3 -1
  427. package/types/gen-wire/call-service/call-service.zod.d.ts +18 -0
  428. package/types/gen-wire/case-articles/case-articles.d.ts +19 -0
  429. package/types/gen-wire/case-articles/case-articles.zod.d.ts +154 -0
  430. package/types/gen-wire/cases/cases.d.ts +3 -1
  431. package/types/gen-wire/cases/cases.zod.d.ts +376 -0
  432. package/types/gen-wire/cases-chat-catalog/cases-chat-catalog.zod.d.ts +11 -0
  433. package/types/gen-wire/customer/customer.zod.d.ts +2 -0
  434. package/types/gen-wire/file-service/file-service.zod.d.ts +2 -0
  435. package/types/gen-wire/index.d.ts +20 -5
  436. package/types/gen-wire/index.zod.d.ts +151 -0
  437. package/types/gen-wire/logger-service/logger-service.d.ts +3 -1
  438. package/types/gen-wire/logger-service/logger-service.zod.d.ts +23 -0
  439. package/types/gen-wire/messages/messages.zod.d.ts +47 -0
  440. package/types/gen-wire/routing-outbound-call-service/routing-outbound-call-service.zod.d.ts +10 -0
  441. package/types/gen-wire/team-chat-tag-service/team-chat-tag-service.d.ts +19 -0
  442. package/types/gen-wire/team-chat-tag-service/team-chat-tag-service.zod.d.ts +54 -0
  443. package/types/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +18 -2
  444. package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +3 -3
  445. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +4 -4
  446. package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.d.ts +17 -0
  447. package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.d.ts +40 -0
  448. package/types/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.d.ts +19 -0
  449. package/types/gen-wire/webitel-im-api-provider-v1-viberbmservice/webitel-im-api-provider-v1-viberbmservice.zod.d.ts +102 -0
  450. package/types/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.d.ts +19 -0
  451. package/types/gen-wire/webitel-im-provider-v1-customservice/webitel-im-provider-v1-customservice.zod.d.ts +142 -0
  452. package/types/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.d.ts +2 -0
  453. package/types/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +19 -0
  454. package/types/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.d.ts +23 -0
  455. package/types/gen-wire/webitel-im-provider-v1-viberbmservice/webitel-im-provider-v1-viberbmservice.zod.d.ts +174 -0
@@ -110,6 +110,7 @@ export const CatalogGetCustomersQueryParams = zod.object({
110
110
  ),
111
111
  'via.type': zod.string().optional().describe('Contact **type** provider.'),
112
112
  'via.name': zod.string().optional().describe('Contact display **name**.'),
113
+ 'via.etag': zod.string().optional().describe('Contact source identifier.'),
113
114
  });
114
115
 
115
116
  export const CatalogGetCustomersResponse = zod.object({
@@ -131,6 +132,10 @@ export const CatalogGetCustomersResponse = zod.object({
131
132
  .array(
132
133
  zod
133
134
  .object({
135
+ etag: zod
136
+ .string()
137
+ .optional()
138
+ .describe('Contact source identifier.'),
134
139
  id: zod
135
140
  .string()
136
141
  .optional()
@@ -159,6 +164,7 @@ export const CatalogGetCustomersResponse = zod.object({
159
164
  .array(
160
165
  zod
161
166
  .object({
167
+ etag: zod.string().optional().describe('Contact source identifier.'),
162
168
  id: zod
163
169
  .string()
164
170
  .optional()
@@ -202,6 +208,7 @@ export const CatalogGetDialogsQueryParams = zod.object({
202
208
  ),
203
209
  'via.type': zod.string().optional().describe('Contact **type** provider.'),
204
210
  'via.name': zod.string().optional().describe('Contact display **name**.'),
211
+ 'via.etag': zod.string().optional().describe('Contact source identifier.'),
205
212
  'peer.id': zod
206
213
  .string()
207
214
  .optional()
@@ -210,6 +217,7 @@ export const CatalogGetDialogsQueryParams = zod.object({
210
217
  ),
211
218
  'peer.type': zod.string().optional().describe('Contact **type** provider.'),
212
219
  'peer.name': zod.string().optional().describe('Contact display **name**.'),
220
+ 'peer.etag': zod.string().optional().describe('Contact source identifier.'),
213
221
  'date.since': zod
214
222
  .string()
215
223
  .optional()
@@ -257,6 +265,10 @@ export const CatalogGetDialogsResponse = zod.object({
257
265
  .describe('[D]omain[C]omponent primary ID.'),
258
266
  from: zod
259
267
  .object({
268
+ etag: zod
269
+ .string()
270
+ .optional()
271
+ .describe('Contact source identifier.'),
260
272
  id: zod
261
273
  .string()
262
274
  .optional()
@@ -312,6 +324,10 @@ export const CatalogGetDialogsResponse = zod.object({
312
324
  left: zod.string().optional(),
313
325
  peer: zod
314
326
  .object({
327
+ etag: zod
328
+ .string()
329
+ .optional()
330
+ .describe('Contact source identifier.'),
315
331
  id: zod
316
332
  .string()
317
333
  .optional()
@@ -331,6 +347,10 @@ export const CatalogGetDialogsResponse = zod.object({
331
347
  .describe('[FROM]: User identity. Seed.'),
332
348
  queue: zod
333
349
  .object({
350
+ etag: zod
351
+ .string()
352
+ .optional()
353
+ .describe('Contact source identifier.'),
334
354
  id: zod
335
355
  .string()
336
356
  .optional()
@@ -351,6 +371,10 @@ export const CatalogGetDialogsResponse = zod.object({
351
371
  title: zod.string().optional().describe('[TO]: Chat title.'),
352
372
  via: zod
353
373
  .object({
374
+ etag: zod
375
+ .string()
376
+ .optional()
377
+ .describe('Contact source identifier.'),
354
378
  id: zod
355
379
  .string()
356
380
  .optional()
@@ -409,6 +433,10 @@ export const CatalogGetDialogsResponse = zod.object({
409
433
  left: zod.string().optional(),
410
434
  peer: zod
411
435
  .object({
436
+ etag: zod
437
+ .string()
438
+ .optional()
439
+ .describe('Contact source identifier.'),
412
440
  id: zod
413
441
  .string()
414
442
  .optional()
@@ -428,6 +456,10 @@ export const CatalogGetDialogsResponse = zod.object({
428
456
  .describe('[FROM]: User identity. Seed.'),
429
457
  queue: zod
430
458
  .object({
459
+ etag: zod
460
+ .string()
461
+ .optional()
462
+ .describe('Contact source identifier.'),
431
463
  id: zod
432
464
  .string()
433
465
  .optional()
@@ -448,6 +480,10 @@ export const CatalogGetDialogsResponse = zod.object({
448
480
  title: zod.string().optional().describe('[TO]: Chat title.'),
449
481
  via: zod
450
482
  .object({
483
+ etag: zod
484
+ .string()
485
+ .optional()
486
+ .describe('Contact source identifier.'),
451
487
  id: zod
452
488
  .string()
453
489
  .optional()
@@ -492,6 +528,10 @@ export const CatalogGetDialogsResponse = zod.object({
492
528
  .describe('Message Media. Attachment.'),
493
529
  from: zod
494
530
  .object({
531
+ etag: zod
532
+ .string()
533
+ .optional()
534
+ .describe('Contact source identifier.'),
495
535
  id: zod
496
536
  .string()
497
537
  .optional()
@@ -609,6 +649,10 @@ export const CatalogGetDialogsResponse = zod.object({
609
649
  left: zod.string().optional(),
610
650
  peer: zod
611
651
  .object({
652
+ etag: zod
653
+ .string()
654
+ .optional()
655
+ .describe('Contact source identifier.'),
612
656
  id: zod
613
657
  .string()
614
658
  .optional()
@@ -628,6 +672,10 @@ export const CatalogGetDialogsResponse = zod.object({
628
672
  .describe('[FROM]: User identity. Seed.'),
629
673
  queue: zod
630
674
  .object({
675
+ etag: zod
676
+ .string()
677
+ .optional()
678
+ .describe('Contact source identifier.'),
631
679
  id: zod
632
680
  .string()
633
681
  .optional()
@@ -648,6 +696,10 @@ export const CatalogGetDialogsResponse = zod.object({
648
696
  title: zod.string().optional().describe('[TO]: Chat title.'),
649
697
  via: zod
650
698
  .object({
699
+ etag: zod
700
+ .string()
701
+ .optional()
702
+ .describe('Contact source identifier.'),
651
703
  id: zod
652
704
  .string()
653
705
  .optional()
@@ -676,6 +728,10 @@ export const CatalogGetDialogsResponse = zod.object({
676
728
  .describe('The latest (top) message.'),
677
729
  queue: zod
678
730
  .object({
731
+ etag: zod
732
+ .string()
733
+ .optional()
734
+ .describe('Contact source identifier.'),
679
735
  id: zod
680
736
  .string()
681
737
  .optional()
@@ -704,6 +760,10 @@ export const CatalogGetDialogsResponse = zod.object({
704
760
  title: zod.string().optional().describe('Title of the dialog.'),
705
761
  via: zod
706
762
  .object({
763
+ etag: zod
764
+ .string()
765
+ .optional()
766
+ .describe('Contact source identifier.'),
707
767
  id: zod
708
768
  .string()
709
769
  .optional()
@@ -761,6 +821,7 @@ export const CatalogGetMembersQueryParams = zod.object({
761
821
  ),
762
822
  'via.type': zod.string().optional().describe('Contact **type** provider.'),
763
823
  'via.name': zod.string().optional().describe('Contact display **name**.'),
824
+ 'via.etag': zod.string().optional().describe('Contact source identifier.'),
764
825
  'peer.id': zod
765
826
  .string()
766
827
  .optional()
@@ -769,6 +830,7 @@ export const CatalogGetMembersQueryParams = zod.object({
769
830
  ),
770
831
  'peer.type': zod.string().optional().describe('Contact **type** provider.'),
771
832
  'peer.name': zod.string().optional().describe('Contact display **name**.'),
833
+ 'peer.etag': zod.string().optional().describe('Contact source identifier.'),
772
834
  'date.since': zod
773
835
  .string()
774
836
  .optional()
@@ -826,6 +888,10 @@ export const CatalogGetMembersResponse = zod.object({
826
888
  left: zod.string().optional(),
827
889
  peer: zod
828
890
  .object({
891
+ etag: zod
892
+ .string()
893
+ .optional()
894
+ .describe('Contact source identifier.'),
829
895
  id: zod
830
896
  .string()
831
897
  .optional()
@@ -845,6 +911,10 @@ export const CatalogGetMembersResponse = zod.object({
845
911
  .describe('[FROM]: User identity. Seed.'),
846
912
  queue: zod
847
913
  .object({
914
+ etag: zod
915
+ .string()
916
+ .optional()
917
+ .describe('Contact source identifier.'),
848
918
  id: zod
849
919
  .string()
850
920
  .optional()
@@ -865,6 +935,10 @@ export const CatalogGetMembersResponse = zod.object({
865
935
  title: zod.string().optional().describe('[TO]: Chat title.'),
866
936
  via: zod
867
937
  .object({
938
+ etag: zod
939
+ .string()
940
+ .optional()
941
+ .describe('Contact source identifier.'),
868
942
  id: zod
869
943
  .string()
870
944
  .optional()
@@ -923,6 +997,7 @@ export const CatalogGetHistoryQueryParams = zod.object({
923
997
  ),
924
998
  'peer.type': zod.string().optional().describe('Contact **type** provider.'),
925
999
  'peer.name': zod.string().optional().describe('Contact display **name**.'),
1000
+ 'peer.etag': zod.string().optional().describe('Contact source identifier.'),
926
1001
  'group[string]': zod
927
1002
  .string()
928
1003
  .optional()
@@ -968,6 +1043,10 @@ export const CatalogGetHistoryResponse = zod.object({
968
1043
  left: zod.string().optional(),
969
1044
  peer: zod
970
1045
  .object({
1046
+ etag: zod
1047
+ .string()
1048
+ .optional()
1049
+ .describe('Contact source identifier.'),
971
1050
  id: zod
972
1051
  .string()
973
1052
  .optional()
@@ -987,6 +1066,10 @@ export const CatalogGetHistoryResponse = zod.object({
987
1066
  .describe('[FROM]: User identity. Seed.'),
988
1067
  queue: zod
989
1068
  .object({
1069
+ etag: zod
1070
+ .string()
1071
+ .optional()
1072
+ .describe('Contact source identifier.'),
990
1073
  id: zod
991
1074
  .string()
992
1075
  .optional()
@@ -1007,6 +1090,10 @@ export const CatalogGetHistoryResponse = zod.object({
1007
1090
  title: zod.string().optional().describe('[TO]: Chat title.'),
1008
1091
  via: zod
1009
1092
  .object({
1093
+ etag: zod
1094
+ .string()
1095
+ .optional()
1096
+ .describe('Contact source identifier.'),
1010
1097
  id: zod
1011
1098
  .string()
1012
1099
  .optional()
@@ -1066,6 +1153,10 @@ export const CatalogGetHistoryResponse = zod.object({
1066
1153
  left: zod.string().optional(),
1067
1154
  peer: zod
1068
1155
  .object({
1156
+ etag: zod
1157
+ .string()
1158
+ .optional()
1159
+ .describe('Contact source identifier.'),
1069
1160
  id: zod
1070
1161
  .string()
1071
1162
  .optional()
@@ -1085,6 +1176,10 @@ export const CatalogGetHistoryResponse = zod.object({
1085
1176
  .describe('[FROM]: User identity. Seed.'),
1086
1177
  queue: zod
1087
1178
  .object({
1179
+ etag: zod
1180
+ .string()
1181
+ .optional()
1182
+ .describe('Contact source identifier.'),
1088
1183
  id: zod
1089
1184
  .string()
1090
1185
  .optional()
@@ -1105,6 +1200,10 @@ export const CatalogGetHistoryResponse = zod.object({
1105
1200
  title: zod.string().optional().describe('[TO]: Chat title.'),
1106
1201
  via: zod
1107
1202
  .object({
1203
+ etag: zod
1204
+ .string()
1205
+ .optional()
1206
+ .describe('Contact source identifier.'),
1108
1207
  id: zod
1109
1208
  .string()
1110
1209
  .optional()
@@ -1149,6 +1248,10 @@ export const CatalogGetHistoryResponse = zod.object({
1149
1248
  .describe('Message Media. Attachment.'),
1150
1249
  from: zod
1151
1250
  .object({
1251
+ etag: zod
1252
+ .string()
1253
+ .optional()
1254
+ .describe('Contact source identifier.'),
1152
1255
  id: zod
1153
1256
  .string()
1154
1257
  .optional()
@@ -1266,6 +1369,10 @@ export const CatalogGetHistoryResponse = zod.object({
1266
1369
  left: zod.string().optional(),
1267
1370
  peer: zod
1268
1371
  .object({
1372
+ etag: zod
1373
+ .string()
1374
+ .optional()
1375
+ .describe('Contact source identifier.'),
1269
1376
  id: zod
1270
1377
  .string()
1271
1378
  .optional()
@@ -1285,6 +1392,10 @@ export const CatalogGetHistoryResponse = zod.object({
1285
1392
  .describe('[FROM]: User identity. Seed.'),
1286
1393
  queue: zod
1287
1394
  .object({
1395
+ etag: zod
1396
+ .string()
1397
+ .optional()
1398
+ .describe('Contact source identifier.'),
1288
1399
  id: zod
1289
1400
  .string()
1290
1401
  .optional()
@@ -1305,6 +1416,10 @@ export const CatalogGetHistoryResponse = zod.object({
1305
1416
  title: zod.string().optional().describe('[TO]: Chat title.'),
1306
1417
  via: zod
1307
1418
  .object({
1419
+ etag: zod
1420
+ .string()
1421
+ .optional()
1422
+ .describe('Contact source identifier.'),
1308
1423
  id: zod
1309
1424
  .string()
1310
1425
  .optional()
@@ -1339,6 +1454,7 @@ export const CatalogGetHistoryResponse = zod.object({
1339
1454
  .array(
1340
1455
  zod
1341
1456
  .object({
1457
+ etag: zod.string().optional().describe('Contact source identifier.'),
1342
1458
  id: zod
1343
1459
  .string()
1344
1460
  .optional()
@@ -1382,6 +1498,7 @@ export const CatalogGetHistory2QueryParams = zod.object({
1382
1498
  .describe('Fields to return into result.'),
1383
1499
  chat_id: zod.string().optional().describe('Unique chat dialog'),
1384
1500
  'peer.name': zod.string().optional().describe('Contact display **name**.'),
1501
+ 'peer.etag': zod.string().optional().describe('Contact source identifier.'),
1385
1502
  'group[string][string]': zod
1386
1503
  .string()
1387
1504
  .optional()
@@ -1427,6 +1544,10 @@ export const CatalogGetHistory2Response = zod.object({
1427
1544
  left: zod.string().optional(),
1428
1545
  peer: zod
1429
1546
  .object({
1547
+ etag: zod
1548
+ .string()
1549
+ .optional()
1550
+ .describe('Contact source identifier.'),
1430
1551
  id: zod
1431
1552
  .string()
1432
1553
  .optional()
@@ -1446,6 +1567,10 @@ export const CatalogGetHistory2Response = zod.object({
1446
1567
  .describe('[FROM]: User identity. Seed.'),
1447
1568
  queue: zod
1448
1569
  .object({
1570
+ etag: zod
1571
+ .string()
1572
+ .optional()
1573
+ .describe('Contact source identifier.'),
1449
1574
  id: zod
1450
1575
  .string()
1451
1576
  .optional()
@@ -1466,6 +1591,10 @@ export const CatalogGetHistory2Response = zod.object({
1466
1591
  title: zod.string().optional().describe('[TO]: Chat title.'),
1467
1592
  via: zod
1468
1593
  .object({
1594
+ etag: zod
1595
+ .string()
1596
+ .optional()
1597
+ .describe('Contact source identifier.'),
1469
1598
  id: zod
1470
1599
  .string()
1471
1600
  .optional()
@@ -1525,6 +1654,10 @@ export const CatalogGetHistory2Response = zod.object({
1525
1654
  left: zod.string().optional(),
1526
1655
  peer: zod
1527
1656
  .object({
1657
+ etag: zod
1658
+ .string()
1659
+ .optional()
1660
+ .describe('Contact source identifier.'),
1528
1661
  id: zod
1529
1662
  .string()
1530
1663
  .optional()
@@ -1544,6 +1677,10 @@ export const CatalogGetHistory2Response = zod.object({
1544
1677
  .describe('[FROM]: User identity. Seed.'),
1545
1678
  queue: zod
1546
1679
  .object({
1680
+ etag: zod
1681
+ .string()
1682
+ .optional()
1683
+ .describe('Contact source identifier.'),
1547
1684
  id: zod
1548
1685
  .string()
1549
1686
  .optional()
@@ -1564,6 +1701,10 @@ export const CatalogGetHistory2Response = zod.object({
1564
1701
  title: zod.string().optional().describe('[TO]: Chat title.'),
1565
1702
  via: zod
1566
1703
  .object({
1704
+ etag: zod
1705
+ .string()
1706
+ .optional()
1707
+ .describe('Contact source identifier.'),
1567
1708
  id: zod
1568
1709
  .string()
1569
1710
  .optional()
@@ -1608,6 +1749,10 @@ export const CatalogGetHistory2Response = zod.object({
1608
1749
  .describe('Message Media. Attachment.'),
1609
1750
  from: zod
1610
1751
  .object({
1752
+ etag: zod
1753
+ .string()
1754
+ .optional()
1755
+ .describe('Contact source identifier.'),
1611
1756
  id: zod
1612
1757
  .string()
1613
1758
  .optional()
@@ -1725,6 +1870,10 @@ export const CatalogGetHistory2Response = zod.object({
1725
1870
  left: zod.string().optional(),
1726
1871
  peer: zod
1727
1872
  .object({
1873
+ etag: zod
1874
+ .string()
1875
+ .optional()
1876
+ .describe('Contact source identifier.'),
1728
1877
  id: zod
1729
1878
  .string()
1730
1879
  .optional()
@@ -1744,6 +1893,10 @@ export const CatalogGetHistory2Response = zod.object({
1744
1893
  .describe('[FROM]: User identity. Seed.'),
1745
1894
  queue: zod
1746
1895
  .object({
1896
+ etag: zod
1897
+ .string()
1898
+ .optional()
1899
+ .describe('Contact source identifier.'),
1747
1900
  id: zod
1748
1901
  .string()
1749
1902
  .optional()
@@ -1764,6 +1917,10 @@ export const CatalogGetHistory2Response = zod.object({
1764
1917
  title: zod.string().optional().describe('[TO]: Chat title.'),
1765
1918
  via: zod
1766
1919
  .object({
1920
+ etag: zod
1921
+ .string()
1922
+ .optional()
1923
+ .describe('Contact source identifier.'),
1767
1924
  id: zod
1768
1925
  .string()
1769
1926
  .optional()
@@ -1798,6 +1955,7 @@ export const CatalogGetHistory2Response = zod.object({
1798
1955
  .array(
1799
1956
  zod
1800
1957
  .object({
1958
+ etag: zod.string().optional().describe('Contact source identifier.'),
1801
1959
  id: zod
1802
1960
  .string()
1803
1961
  .optional()
@@ -292,11 +292,11 @@ export const DownloadCallScreenrecordingArchiveQueryParams = zod.object({
292
292
  from: zod
293
293
  .string()
294
294
  .optional()
295
- .describe('Start of the uploaded_at range (Unix millis).'),
295
+ .describe('Start of the start_at range (Unix millis).'),
296
296
  to: zod
297
297
  .string()
298
298
  .optional()
299
- .describe('End of the uploaded_at range (Unix millis).'),
299
+ .describe('End of the start_at range (Unix millis).'),
300
300
  });
301
301
 
302
302
  export const DownloadCallScreenrecordingArchiveResponse = zod.object({
@@ -20,12 +20,14 @@ export const SearchRoutingOutboundCallQueryParams = zod.object({
20
20
  schema_id: zod.array(zod.int()).optional(),
21
21
  pattern: zod.string().optional(),
22
22
  description: zod.string().optional(),
23
+ allow_transfer: zod.boolean().optional(),
23
24
  });
24
25
 
25
26
  export const SearchRoutingOutboundCallResponse = zod.object({
26
27
  items: zod
27
28
  .array(
28
29
  zod.object({
30
+ allow_transfer: zod.boolean().optional(),
29
31
  description: zod.string().optional(),
30
32
  disabled: zod.boolean().optional(),
31
33
  domain_id: zod.string().optional(),
@@ -49,6 +51,7 @@ export const SearchRoutingOutboundCallResponse = zod.object({
49
51
  * @summary Create RoutingOutboundCall
50
52
  */
51
53
  export const CreateRoutingOutboundCallBody = zod.object({
54
+ allow_transfer: zod.boolean().optional(),
52
55
  description: zod.string().optional(),
53
56
  disabled: zod.boolean().optional(),
54
57
  domain_id: zod.string().optional(),
@@ -63,6 +66,7 @@ export const CreateRoutingOutboundCallBody = zod.object({
63
66
  });
64
67
 
65
68
  export const CreateRoutingOutboundCallResponse = zod.object({
69
+ allow_transfer: zod.boolean().optional(),
66
70
  created_at: zod.string().optional(),
67
71
  created_by: zod
68
72
  .object({
@@ -119,6 +123,7 @@ export const DeleteRoutingOutboundCallQueryParams = zod.object({
119
123
  });
120
124
 
121
125
  export const DeleteRoutingOutboundCallResponse = zod.object({
126
+ allow_transfer: zod.boolean().optional(),
122
127
  created_at: zod.string().optional(),
123
128
  created_by: zod
124
129
  .object({
@@ -159,6 +164,7 @@ export const ReadRoutingOutboundCallQueryParams = zod.object({
159
164
  });
160
165
 
161
166
  export const ReadRoutingOutboundCallResponse = zod.object({
167
+ allow_transfer: zod.boolean().optional(),
162
168
  created_at: zod.string().optional(),
163
169
  created_by: zod
164
170
  .object({
@@ -195,6 +201,7 @@ export const PatchRoutingOutboundCallParams = zod.object({
195
201
  });
196
202
 
197
203
  export const PatchRoutingOutboundCallBody = zod.object({
204
+ allow_transfer: zod.boolean().optional(),
198
205
  description: zod.string().optional(),
199
206
  disabled: zod.boolean().optional(),
200
207
  domain_id: zod.string().optional(),
@@ -210,6 +217,7 @@ export const PatchRoutingOutboundCallBody = zod.object({
210
217
  });
211
218
 
212
219
  export const PatchRoutingOutboundCallResponse = zod.object({
220
+ allow_transfer: zod.boolean().optional(),
213
221
  created_at: zod.string().optional(),
214
222
  created_by: zod
215
223
  .object({
@@ -246,6 +254,7 @@ export const UpdateRoutingOutboundCallParams = zod.object({
246
254
  });
247
255
 
248
256
  export const UpdateRoutingOutboundCallBody = zod.object({
257
+ allow_transfer: zod.boolean().optional(),
249
258
  description: zod.string().optional(),
250
259
  disabled: zod.boolean().optional(),
251
260
  domain_id: zod.string().optional(),
@@ -260,6 +269,7 @@ export const UpdateRoutingOutboundCallBody = zod.object({
260
269
  });
261
270
 
262
271
  export const UpdateRoutingOutboundCallResponse = zod.object({
272
+ allow_transfer: zod.boolean().optional(),
263
273
  created_at: zod.string().optional(),
264
274
  created_by: zod
265
275
  .object({
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
+ import axios from '../../api/axios/genClient';
10
+
11
+ import type {
12
+ EngineChatTag,
13
+ EngineListChatTag,
14
+ EngineTeamChatTagServiceCreateChatTagBody,
15
+ EngineTeamChatTagServiceUpdateChatTagBody,
16
+ SearchChatTagParams,
17
+ } from '../_models';
18
+
19
+ // --- header start
20
+ //
21
+
22
+ export const // --- title start
23
+ getTeamChatTagService =
24
+ // --- title end
25
+ (axiosInstance: AxiosInstance = axios) => {
26
+ // --- header end
27
+ const searchChatTag = (
28
+ teamId: string,
29
+ params?: SearchChatTagParams,
30
+ options?: AxiosRequestConfig,
31
+ ): Promise<AxiosResponse<EngineListChatTag>> => {
32
+ return axiosInstance.get(`/call_center/teams/${teamId}/chat_tags`, {
33
+ ...options,
34
+ params: {
35
+ ...params,
36
+ ...options?.params,
37
+ },
38
+ });
39
+ };
40
+ const createChatTag = (
41
+ teamId: string,
42
+ engineTeamChatTagServiceCreateChatTagBody: EngineTeamChatTagServiceCreateChatTagBody,
43
+ options?: AxiosRequestConfig,
44
+ ): Promise<AxiosResponse<EngineChatTag>> => {
45
+ return axiosInstance.post(
46
+ `/call_center/teams/${teamId}/chat_tags`,
47
+ engineTeamChatTagServiceCreateChatTagBody,
48
+ options,
49
+ );
50
+ };
51
+ const deleteChatTag = (
52
+ teamId: string,
53
+ id: number,
54
+ options?: AxiosRequestConfig,
55
+ ): Promise<AxiosResponse<EngineChatTag>> => {
56
+ return axiosInstance.delete(
57
+ `/call_center/teams/${teamId}/chat_tags/${id}`,
58
+ options,
59
+ );
60
+ };
61
+ const updateChatTag = (
62
+ teamId: string,
63
+ id: number,
64
+ engineTeamChatTagServiceUpdateChatTagBody: EngineTeamChatTagServiceUpdateChatTagBody,
65
+ options?: AxiosRequestConfig,
66
+ ): Promise<AxiosResponse<EngineChatTag>> => {
67
+ return axiosInstance.put(
68
+ `/call_center/teams/${teamId}/chat_tags/${id}`,
69
+ engineTeamChatTagServiceUpdateChatTagBody,
70
+ options,
71
+ );
72
+ };
73
+
74
+ // --- footer start
75
+ return {
76
+ searchChatTag,
77
+ createChatTag,
78
+ deleteChatTag,
79
+ updateChatTag,
80
+ };
81
+ };
82
+ export type SearchChatTagResult = AxiosResponse<EngineListChatTag>;
83
+ export type CreateChatTagResult = AxiosResponse<EngineChatTag>;
84
+ export type DeleteChatTagResult = AxiosResponse<EngineChatTag>;
85
+ export type UpdateChatTagResult = AxiosResponse<EngineChatTag>;
86
+
87
+ // --- footer end