@webitel/api-services 1.0.5 → 1.0.7

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 (232) hide show
  1. package/package.json +2 -1
  2. package/src/api/clients/caseComments/caseComments.ts +141 -0
  3. package/src/api/clients/caseFiles/caseFiles.ts +79 -0
  4. package/src/api/clients/caseLinks/caseLinks.ts +150 -0
  5. package/src/api/clients/caseRelatedCases/caseRelatedCases.ts +125 -0
  6. package/src/api/clients/caseServices/services.ts +38 -72
  7. package/src/api/clients/cases/_internals/ftsService.ts +67 -0
  8. package/src/api/clients/cases/_internals/stringifyCaseFilters.ts +156 -0
  9. package/src/api/clients/cases/cases.ts +360 -0
  10. package/src/api/clients/chatMessagesHistory/chatMessagesHistory.ts +64 -0
  11. package/src/api/clients/configurations/configurations.ts +56 -39
  12. package/src/api/clients/contactCases/contactCases.ts +109 -0
  13. package/src/api/clients/emails/emails.ts +11 -7
  14. package/src/api/clients/index.ts +9 -0
  15. package/src/api/clients/labels/labels.ts +24 -29
  16. package/src/api/clients/phones/phones.ts +11 -7
  17. package/src/api/clients/timeline/timeline.ts +124 -0
  18. package/src/api/clients/variables/variables.ts +10 -5
  19. package/src/api/clients/wtTypes/_shared/utils/assignFieldPositions.ts +28 -0
  20. package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +7 -9
  21. package/src/api/clients/wtTypes/adjunctTypeRecords/adjunctTypeRecords.ts +19 -16
  22. package/src/api/clients/wtTypes/adjunctTypes/adjunctTypes.ts +4 -0
  23. package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +21 -31
  24. package/src/api/clients//321/201ontacts/contacts.ts +103 -234
  25. package/src/api/clients//321/201ontacts/getContactAccessFromMode.ts +9 -0
  26. package/src/api/clients//321/201ontacts/index.ts +1 -1
  27. package/src/gen/_models/contactsCallFile.ts +3 -0
  28. package/src/gen/_models/contactsCallFileType.ts +18 -0
  29. package/src/gen/_models/index.ts +9 -0
  30. package/src/gen/_models/webitelCasesCallFile.ts +3 -0
  31. package/src/gen/_models/webitelCasesCallFileType.ts +18 -0
  32. package/src/gen-wire/_models/contactsCallFile.ts +3 -0
  33. package/src/gen-wire/_models/contactsCallFileType.ts +18 -0
  34. package/src/gen-wire/_models/index.ts +2 -0
  35. package/src/gen-wire/_models/webitelCasesCallFile.ts +3 -0
  36. package/src/gen-wire/_models/webitelCasesCallFileType.ts +18 -0
  37. package/src/gen-wire/access-store/access-store.ts +1 -1
  38. package/src/gen-wire/agent-absence-service/agent-absence-service.ts +1 -1
  39. package/src/gen-wire/agent-chat-service/agent-chat-service.ts +1 -1
  40. package/src/gen-wire/agent-pause-cause-service/agent-pause-cause-service.ts +1 -1
  41. package/src/gen-wire/agent-service/agent-service.ts +1 -1
  42. package/src/gen-wire/agent-skill-service/agent-skill-service.ts +1 -1
  43. package/src/gen-wire/agent-team-service/agent-team-service.ts +1 -1
  44. package/src/gen-wire/agent-working-conditions-service/agent-working-conditions-service.ts +1 -1
  45. package/src/gen-wire/agent-working-schedule-service/agent-working-schedule-service.ts +1 -1
  46. package/src/gen-wire/articles/articles.ts +1 -1
  47. package/src/gen-wire/attachments/attachments.ts +1 -1
  48. package/src/gen-wire/audit-form-service/audit-form-service.ts +1 -1
  49. package/src/gen-wire/auth/auth.ts +1 -1
  50. package/src/gen-wire/backend-profile-service/backend-profile-service.ts +1 -1
  51. package/src/gen-wire/bucket-service/bucket-service.ts +1 -1
  52. package/src/gen-wire/calendar-service/calendar-service.ts +1 -1
  53. package/src/gen-wire/call-service/call-service.ts +1 -1
  54. package/src/gen-wire/case-comments/case-comments.ts +1 -1
  55. package/src/gen-wire/case-communications/case-communications.ts +1 -1
  56. package/src/gen-wire/case-files/case-files.ts +1 -1
  57. package/src/gen-wire/case-links/case-links.ts +1 -1
  58. package/src/gen-wire/case-timeline/case-timeline.ts +1 -1
  59. package/src/gen-wire/case-timeline/case-timeline.zod.ts +14 -0
  60. package/src/gen-wire/cases/cases.ts +1 -1
  61. package/src/gen-wire/cases-chat-catalog/cases-chat-catalog.ts +1 -1
  62. package/src/gen-wire/catalogs/catalogs.ts +1 -1
  63. package/src/gen-wire/classes/classes.ts +1 -1
  64. package/src/gen-wire/close-reason-groups/close-reason-groups.ts +1 -1
  65. package/src/gen-wire/close-reasons/close-reasons.ts +1 -1
  66. package/src/gen-wire/cognitive-profile-service/cognitive-profile-service.ts +1 -1
  67. package/src/gen-wire/comments/comments.ts +1 -1
  68. package/src/gen-wire/communication-type-service/communication-type-service.ts +1 -1
  69. package/src/gen-wire/config-service/config-service.ts +1 -1
  70. package/src/gen-wire/contact-groups/contact-groups.ts +1 -1
  71. package/src/gen-wire/contact-linking-service/contact-linking-service.ts +1 -1
  72. package/src/gen-wire/contacts/contacts.ts +1 -1
  73. package/src/gen-wire/contacts-chat-catalog/contacts-chat-catalog.ts +1 -1
  74. package/src/gen-wire/customer/customer.ts +1 -1
  75. package/src/gen-wire/customers/customers.ts +1 -1
  76. package/src/gen-wire/devices/devices.ts +1 -1
  77. package/src/gen-wire/dictionaries/dictionaries.ts +1 -1
  78. package/src/gen-wire/domains/domains.ts +1 -1
  79. package/src/gen-wire/dynamic-conditions/dynamic-conditions.ts +1 -1
  80. package/src/gen-wire/dynamic-groups/dynamic-groups.ts +1 -1
  81. package/src/gen-wire/email-profile-service/email-profile-service.ts +1 -1
  82. package/src/gen-wire/emails/emails.ts +1 -1
  83. package/src/gen-wire/embedding-models/embedding-models.ts +1 -1
  84. package/src/gen-wire/extensions/extensions.ts +1 -1
  85. package/src/gen-wire/feedback-service/feedback-service.ts +1 -1
  86. package/src/gen-wire/file-policies-service/file-policies-service.ts +1 -1
  87. package/src/gen-wire/file-service/file-service.ts +1 -1
  88. package/src/gen-wire/file-transcript-service/file-transcript-service.ts +1 -1
  89. package/src/gen-wire/forecast-calculation-service/forecast-calculation-service.ts +1 -1
  90. package/src/gen-wire/ftsservice/ftsservice.ts +1 -1
  91. package/src/gen-wire/groups/groups.ts +1 -1
  92. package/src/gen-wire/im-service-provider-v1-telegrambotservice/im-service-provider-v1-telegrambotservice.ts +1 -1
  93. package/src/gen-wire/imclients/imclients.ts +1 -1
  94. package/src/gen-wire/import-template-service/import-template-service.ts +1 -1
  95. package/src/gen-wire/index.ts +2 -0
  96. package/src/gen-wire/knowledgebase-search/knowledgebase-search.ts +1 -1
  97. package/src/gen-wire/labels/labels.ts +1 -1
  98. package/src/gen-wire/languages/languages.ts +1 -1
  99. package/src/gen-wire/ldap/ldap.ts +1 -1
  100. package/src/gen-wire/list-service/list-service.ts +1 -1
  101. package/src/gen-wire/logger-service/logger-service.ts +1 -1
  102. package/src/gen-wire/managers/managers.ts +1 -1
  103. package/src/gen-wire/media-file-service/media-file-service.ts +1 -1
  104. package/src/gen-wire/meeting-service/meeting-service.ts +1 -1
  105. package/src/gen-wire/member-service/member-service.ts +1 -1
  106. package/src/gen-wire/messages/messages.ts +1 -1
  107. package/src/gen-wire/oauth2-federation/oauth2-federation.ts +1 -1
  108. package/src/gen-wire/online-skills/online-skills.ts +1 -1
  109. package/src/gen-wire/outbound-resource-group-service/outbound-resource-group-service.ts +1 -1
  110. package/src/gen-wire/outbound-resource-service/outbound-resource-service.ts +1 -1
  111. package/src/gen-wire/pause-template-service/pause-template-service.ts +1 -1
  112. package/src/gen-wire/pdf-service/pdf-service.ts +1 -1
  113. package/src/gen-wire/permissions/permissions.ts +1 -1
  114. package/src/gen-wire/phones/phones.ts +1 -1
  115. package/src/gen-wire/photos/photos.ts +1 -1
  116. package/src/gen-wire/presence/presence.ts +1 -1
  117. package/src/gen-wire/preset-query-service/preset-query-service.ts +1 -1
  118. package/src/gen-wire/priorities/priorities.ts +1 -1
  119. package/src/gen-wire/queue-bucket-service/queue-bucket-service.ts +1 -1
  120. package/src/gen-wire/queue-hook-service/queue-hook-service.ts +1 -1
  121. package/src/gen-wire/queue-resources-service/queue-resources-service.ts +1 -1
  122. package/src/gen-wire/queue-service/queue-service.ts +1 -1
  123. package/src/gen-wire/queue-skill-service/queue-skill-service.ts +1 -1
  124. package/src/gen-wire/quick-replies-service/quick-replies-service.ts +1 -1
  125. package/src/gen-wire/records/records.ts +1 -1
  126. package/src/gen-wire/region-service/region-service.ts +1 -1
  127. package/src/gen-wire/related-cases/related-cases.ts +1 -1
  128. package/src/gen-wire/retrieval/retrieval.ts +1 -1
  129. package/src/gen-wire/routing-chat-plan-service/routing-chat-plan-service.ts +1 -1
  130. package/src/gen-wire/routing-outbound-call-service/routing-outbound-call-service.ts +1 -1
  131. package/src/gen-wire/routing-schema-service/routing-schema-service.ts +1 -1
  132. package/src/gen-wire/routing-variable-service/routing-variable-service.ts +1 -1
  133. package/src/gen-wire/schema-variables-service/schema-variables-service.ts +1 -1
  134. package/src/gen-wire/schema-version-service/schema-version-service.ts +1 -1
  135. package/src/gen-wire/services/services.ts +1 -1
  136. package/src/gen-wire/shift-template-service/shift-template-service.ts +1 -1
  137. package/src/gen-wire/skill-service/skill-service.ts +1 -1
  138. package/src/gen-wire/slaconditions/slaconditions.ts +1 -1
  139. package/src/gen-wire/slas/slas.ts +1 -1
  140. package/src/gen-wire/sources/sources.ts +1 -1
  141. package/src/gen-wire/spaces/spaces.ts +1 -1
  142. package/src/gen-wire/status-conditions/status-conditions.ts +1 -1
  143. package/src/gen-wire/statuses/statuses.ts +1 -1
  144. package/src/gen-wire/system-setting-service/system-setting-service.ts +1 -1
  145. package/src/gen-wire/tags/tags.ts +1 -1
  146. package/src/gen-wire/team-hook-service/team-hook-service.ts +1 -1
  147. package/src/gen-wire/team-trigger-service/team-trigger-service.ts +1 -1
  148. package/src/gen-wire/timeline/timeline.ts +1 -1
  149. package/src/gen-wire/timeline/timeline.zod.ts +14 -0
  150. package/src/gen-wire/timezones/timezones.ts +1 -1
  151. package/src/gen-wire/trigger-service/trigger-service.ts +1 -1
  152. package/src/gen-wire/two-factor-authentication/two-factor-authentication.ts +1 -1
  153. package/src/gen-wire/types/types.ts +1 -1
  154. package/src/gen-wire/user-access-tokens/user-access-tokens.ts +1 -1
  155. package/src/gen-wire/user-helper-service/user-helper-service.ts +1 -1
  156. package/src/gen-wire/users/users.ts +1 -1
  157. package/src/gen-wire/variables/variables.ts +1 -1
  158. package/src/gen-wire/versions/versions.ts +1 -1
  159. package/src/gen-wire/web-hook-service/web-hook-service.ts +1 -1
  160. package/src/gen-wire/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.ts +1 -1
  161. package/src/gen-wire/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.ts +1 -1
  162. package/src/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.ts +1 -1
  163. package/src/gen-wire/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.ts +1 -1
  164. package/src/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.ts +1 -1
  165. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +1 -1
  166. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +1 -1
  167. package/src/gen-wire/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.ts +1 -1
  168. package/src/gen-wire/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.ts +1 -1
  169. package/src/gen-wire/webitel-im-api-provider-v1-instagramservice/webitel-im-api-provider-v1-instagramservice.ts +1 -1
  170. package/src/gen-wire/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.ts +1 -1
  171. package/src/gen-wire/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.ts +1 -1
  172. package/src/gen-wire/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.ts +1 -1
  173. package/src/gen-wire/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.ts +1 -1
  174. package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.ts +1 -1
  175. package/src/gen-wire/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.ts +1 -1
  176. package/src/gen-wire/webitel-im-provider-v1-instagramservice/webitel-im-provider-v1-instagramservice.ts +1 -1
  177. package/src/gen-wire/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.ts +1 -1
  178. package/src/gen-wire/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.ts +1 -1
  179. package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.ts +1 -1
  180. package/src/gen-wire/webitel-im-provider-v1-viberservice/webitel-im-provider-v1-viberservice.ts +1 -1
  181. package/src/gen-wire/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +1 -1
  182. package/src/gen-wire/working-condition-service/working-condition-service.ts +1 -1
  183. package/src/gen-wire/working-schedule-service/working-schedule-service.ts +1 -1
  184. package/src/validations/adjunctType/adjunctType.validations.ts +18 -0
  185. package/src/validations/case/case.validations.ts +33 -0
  186. package/src/validations/caseClose/caseClose.validations.ts +30 -0
  187. package/src/validations/caseExportOptions/caseExportOptions.validations.ts +27 -0
  188. package/src/validations/contact/contact.validations.ts +12 -7
  189. package/src/validations/index.ts +5 -0
  190. package/src/validations/typeExtension/typeExtension.validations.ts +8 -0
  191. package/types/.tsbuildinfo +1 -1
  192. package/types/api/clients/caseComments/caseComments.d.ts +20 -0
  193. package/types/api/clients/caseFiles/caseFiles.d.ts +10 -0
  194. package/types/api/clients/caseLinks/caseLinks.d.ts +22 -0
  195. package/types/api/clients/caseRelatedCases/caseRelatedCases.d.ts +14 -0
  196. package/types/api/clients/caseServices/services.d.ts +3 -12
  197. package/types/api/clients/cases/_internals/ftsService.d.ts +7 -0
  198. package/types/api/clients/cases/_internals/stringifyCaseFilters.d.ts +2 -0
  199. package/types/api/clients/cases/cases.d.ts +35 -0
  200. package/types/api/clients/chatMessagesHistory/chatMessagesHistory.d.ts +15 -0
  201. package/types/api/clients/contactCases/contactCases.d.ts +9 -0
  202. package/types/api/clients/index.d.ts +9 -0
  203. package/types/api/clients/labels/labels.d.ts +2 -2
  204. package/types/api/clients/timeline/timeline.d.ts +16 -0
  205. package/types/api/clients/wtTypes/_shared/utils/assignFieldPositions.d.ts +2 -0
  206. package/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +2 -2
  207. package/types/api/clients/wtTypes/adjunctTypeRecords/adjunctTypeRecords.d.ts +11 -11
  208. package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +1 -1
  209. package/types/api/clients//321/201ontacts/getContactAccessFromMode.d.ts +5 -0
  210. package/types/api/clients//321/201ontacts/index.d.ts +1 -1
  211. package/types/gen/_models/contactsCallFile.d.ts +3 -0
  212. package/types/gen/_models/contactsCallFileType.d.ts +15 -0
  213. package/types/gen/_models/index.d.ts +8 -0
  214. package/types/gen/_models/webitelCasesCallFile.d.ts +3 -0
  215. package/types/gen/_models/webitelCasesCallFileType.d.ts +15 -0
  216. package/types/gen-wire/_models/contactsCallFile.d.ts +3 -0
  217. package/types/gen-wire/_models/contactsCallFileType.d.ts +15 -0
  218. package/types/gen-wire/_models/index.d.ts +2 -0
  219. package/types/gen-wire/_models/webitelCasesCallFile.d.ts +3 -0
  220. package/types/gen-wire/_models/webitelCasesCallFileType.d.ts +15 -0
  221. package/types/gen-wire/case-timeline/case-timeline.zod.d.ts +10 -0
  222. package/types/gen-wire/index.d.ts +2 -2
  223. package/types/gen-wire/timeline/timeline.zod.d.ts +10 -0
  224. package/types/validations/adjunctType/adjunctType.validations.d.ts +11 -0
  225. package/types/validations/case/case.validations.d.ts +31 -0
  226. package/types/validations/caseClose/caseClose.validations.d.ts +8 -0
  227. package/types/validations/caseExportOptions/caseExportOptions.validations.d.ts +9 -0
  228. package/types/validations/contact/contact.validations.d.ts +15 -15
  229. package/types/validations/index.d.ts +5 -0
  230. package/types/validations/typeExtension/typeExtension.validations.d.ts +20 -0
  231. package/src/api/clients//321/201ontacts/types/ContactEntity.types.ts +0 -25
  232. package/types/api/clients//321/201ontacts/types/ContactEntity.types.d.ts +0 -14
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -30,6 +30,7 @@ export const GetTimelineQueryParams = zod.object({
30
30
  .optional(),
31
31
  });
32
32
 
33
+ export const getTimelineResponseDaysItemItemsItemCallFilesItemTypeDefault = `file_type_empty`;
33
34
  export const getTimelineResponseDaysItemItemsItemTypeDefault = `chat`;
34
35
 
35
36
  export const GetTimelineResponse = zod.object({
@@ -50,12 +51,25 @@ export const GetTimelineResponse = zod.object({
50
51
  files: zod
51
52
  .array(
52
53
  zod.object({
54
+ channel: zod.string().optional(),
53
55
  id: zod.string().optional(),
54
56
  mime_type: zod.string().optional(),
55
57
  name: zod.string().optional(),
56
58
  size: zod.string().optional(),
57
59
  start_at: zod.string().optional(),
58
60
  stop_at: zod.string().optional(),
61
+ type: zod
62
+ .enum([
63
+ 'file_type_empty',
64
+ 'file_type_screenshot',
65
+ 'file_type_screensharing',
66
+ 'file_type_audio',
67
+ 'file_type_video',
68
+ 'file_type_pdf',
69
+ ])
70
+ .default(
71
+ getTimelineResponseDaysItemItemsItemCallFilesItemTypeDefault,
72
+ ),
59
73
  }),
60
74
  )
61
75
  .optional(),
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type { FtsSearchResponse, SearchParams } from '../_models';
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {
@@ -4,8 +4,8 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
-
8
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
+
9
9
  import axios from '../../api/axios/genClient';
10
10
 
11
11
  import type {