@webitel/api-services 1.0.4 → 1.0.6

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 (173) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/onlineSkills/onlineSkills.ts +1 -1
  3. package/src/gen/_models/contactsCallFile.ts +3 -0
  4. package/src/gen/_models/contactsCallFileType.ts +18 -0
  5. package/src/gen/_models/index.ts +9 -0
  6. package/src/gen/_models/webitelCasesCallFile.ts +3 -0
  7. package/src/gen/_models/webitelCasesCallFileType.ts +18 -0
  8. package/src/gen-wire/_models/contactsCallFile.ts +3 -0
  9. package/src/gen-wire/_models/contactsCallFileType.ts +18 -0
  10. package/src/gen-wire/_models/index.ts +2 -0
  11. package/src/gen-wire/_models/webitelCasesCallFile.ts +3 -0
  12. package/src/gen-wire/_models/webitelCasesCallFileType.ts +18 -0
  13. package/src/gen-wire/access-store/access-store.ts +1 -1
  14. package/src/gen-wire/agent-absence-service/agent-absence-service.ts +1 -1
  15. package/src/gen-wire/agent-chat-service/agent-chat-service.ts +1 -1
  16. package/src/gen-wire/agent-pause-cause-service/agent-pause-cause-service.ts +1 -1
  17. package/src/gen-wire/agent-service/agent-service.ts +1 -1
  18. package/src/gen-wire/agent-skill-service/agent-skill-service.ts +1 -1
  19. package/src/gen-wire/agent-team-service/agent-team-service.ts +1 -1
  20. package/src/gen-wire/agent-working-conditions-service/agent-working-conditions-service.ts +1 -1
  21. package/src/gen-wire/agent-working-schedule-service/agent-working-schedule-service.ts +1 -1
  22. package/src/gen-wire/articles/articles.ts +1 -1
  23. package/src/gen-wire/attachments/attachments.ts +1 -1
  24. package/src/gen-wire/audit-form-service/audit-form-service.ts +1 -1
  25. package/src/gen-wire/auth/auth.ts +1 -1
  26. package/src/gen-wire/backend-profile-service/backend-profile-service.ts +1 -1
  27. package/src/gen-wire/bucket-service/bucket-service.ts +1 -1
  28. package/src/gen-wire/calendar-service/calendar-service.ts +1 -1
  29. package/src/gen-wire/call-service/call-service.ts +1 -1
  30. package/src/gen-wire/case-comments/case-comments.ts +1 -1
  31. package/src/gen-wire/case-communications/case-communications.ts +1 -1
  32. package/src/gen-wire/case-files/case-files.ts +1 -1
  33. package/src/gen-wire/case-links/case-links.ts +1 -1
  34. package/src/gen-wire/case-timeline/case-timeline.ts +1 -1
  35. package/src/gen-wire/case-timeline/case-timeline.zod.ts +14 -0
  36. package/src/gen-wire/cases/cases.ts +1 -1
  37. package/src/gen-wire/cases-chat-catalog/cases-chat-catalog.ts +1 -1
  38. package/src/gen-wire/catalogs/catalogs.ts +1 -1
  39. package/src/gen-wire/classes/classes.ts +1 -1
  40. package/src/gen-wire/close-reason-groups/close-reason-groups.ts +1 -1
  41. package/src/gen-wire/close-reasons/close-reasons.ts +1 -1
  42. package/src/gen-wire/cognitive-profile-service/cognitive-profile-service.ts +1 -1
  43. package/src/gen-wire/comments/comments.ts +1 -1
  44. package/src/gen-wire/communication-type-service/communication-type-service.ts +1 -1
  45. package/src/gen-wire/config-service/config-service.ts +1 -1
  46. package/src/gen-wire/contact-groups/contact-groups.ts +1 -1
  47. package/src/gen-wire/contact-linking-service/contact-linking-service.ts +1 -1
  48. package/src/gen-wire/contacts/contacts.ts +1 -1
  49. package/src/gen-wire/contacts-chat-catalog/contacts-chat-catalog.ts +1 -1
  50. package/src/gen-wire/customer/customer.ts +1 -1
  51. package/src/gen-wire/customers/customers.ts +1 -1
  52. package/src/gen-wire/devices/devices.ts +1 -1
  53. package/src/gen-wire/dictionaries/dictionaries.ts +1 -1
  54. package/src/gen-wire/domains/domains.ts +1 -1
  55. package/src/gen-wire/dynamic-conditions/dynamic-conditions.ts +1 -1
  56. package/src/gen-wire/dynamic-groups/dynamic-groups.ts +1 -1
  57. package/src/gen-wire/email-profile-service/email-profile-service.ts +1 -1
  58. package/src/gen-wire/emails/emails.ts +1 -1
  59. package/src/gen-wire/embedding-models/embedding-models.ts +1 -1
  60. package/src/gen-wire/extensions/extensions.ts +1 -1
  61. package/src/gen-wire/feedback-service/feedback-service.ts +1 -1
  62. package/src/gen-wire/file-policies-service/file-policies-service.ts +1 -1
  63. package/src/gen-wire/file-service/file-service.ts +1 -1
  64. package/src/gen-wire/file-transcript-service/file-transcript-service.ts +1 -1
  65. package/src/gen-wire/forecast-calculation-service/forecast-calculation-service.ts +1 -1
  66. package/src/gen-wire/ftsservice/ftsservice.ts +1 -1
  67. package/src/gen-wire/groups/groups.ts +1 -1
  68. package/src/gen-wire/im-service-provider-v1-telegrambotservice/im-service-provider-v1-telegrambotservice.ts +1 -1
  69. package/src/gen-wire/imclients/imclients.ts +1 -1
  70. package/src/gen-wire/import-template-service/import-template-service.ts +1 -1
  71. package/src/gen-wire/index.ts +2 -0
  72. package/src/gen-wire/knowledgebase-search/knowledgebase-search.ts +1 -1
  73. package/src/gen-wire/labels/labels.ts +1 -1
  74. package/src/gen-wire/languages/languages.ts +1 -1
  75. package/src/gen-wire/ldap/ldap.ts +1 -1
  76. package/src/gen-wire/list-service/list-service.ts +1 -1
  77. package/src/gen-wire/logger-service/logger-service.ts +1 -1
  78. package/src/gen-wire/managers/managers.ts +1 -1
  79. package/src/gen-wire/media-file-service/media-file-service.ts +1 -1
  80. package/src/gen-wire/meeting-service/meeting-service.ts +1 -1
  81. package/src/gen-wire/member-service/member-service.ts +1 -1
  82. package/src/gen-wire/messages/messages.ts +1 -1
  83. package/src/gen-wire/oauth2-federation/oauth2-federation.ts +1 -1
  84. package/src/gen-wire/online-skills/online-skills.ts +1 -1
  85. package/src/gen-wire/outbound-resource-group-service/outbound-resource-group-service.ts +1 -1
  86. package/src/gen-wire/outbound-resource-service/outbound-resource-service.ts +1 -1
  87. package/src/gen-wire/pause-template-service/pause-template-service.ts +1 -1
  88. package/src/gen-wire/pdf-service/pdf-service.ts +1 -1
  89. package/src/gen-wire/permissions/permissions.ts +1 -1
  90. package/src/gen-wire/phones/phones.ts +1 -1
  91. package/src/gen-wire/photos/photos.ts +1 -1
  92. package/src/gen-wire/presence/presence.ts +1 -1
  93. package/src/gen-wire/preset-query-service/preset-query-service.ts +1 -1
  94. package/src/gen-wire/priorities/priorities.ts +1 -1
  95. package/src/gen-wire/queue-bucket-service/queue-bucket-service.ts +1 -1
  96. package/src/gen-wire/queue-hook-service/queue-hook-service.ts +1 -1
  97. package/src/gen-wire/queue-resources-service/queue-resources-service.ts +1 -1
  98. package/src/gen-wire/queue-service/queue-service.ts +1 -1
  99. package/src/gen-wire/queue-skill-service/queue-skill-service.ts +1 -1
  100. package/src/gen-wire/quick-replies-service/quick-replies-service.ts +1 -1
  101. package/src/gen-wire/records/records.ts +1 -1
  102. package/src/gen-wire/region-service/region-service.ts +1 -1
  103. package/src/gen-wire/related-cases/related-cases.ts +1 -1
  104. package/src/gen-wire/retrieval/retrieval.ts +1 -1
  105. package/src/gen-wire/routing-chat-plan-service/routing-chat-plan-service.ts +1 -1
  106. package/src/gen-wire/routing-outbound-call-service/routing-outbound-call-service.ts +1 -1
  107. package/src/gen-wire/routing-schema-service/routing-schema-service.ts +1 -1
  108. package/src/gen-wire/routing-variable-service/routing-variable-service.ts +1 -1
  109. package/src/gen-wire/schema-variables-service/schema-variables-service.ts +1 -1
  110. package/src/gen-wire/schema-version-service/schema-version-service.ts +1 -1
  111. package/src/gen-wire/services/services.ts +1 -1
  112. package/src/gen-wire/shift-template-service/shift-template-service.ts +1 -1
  113. package/src/gen-wire/skill-service/skill-service.ts +1 -1
  114. package/src/gen-wire/slaconditions/slaconditions.ts +1 -1
  115. package/src/gen-wire/slas/slas.ts +1 -1
  116. package/src/gen-wire/sources/sources.ts +1 -1
  117. package/src/gen-wire/spaces/spaces.ts +1 -1
  118. package/src/gen-wire/status-conditions/status-conditions.ts +1 -1
  119. package/src/gen-wire/statuses/statuses.ts +1 -1
  120. package/src/gen-wire/system-setting-service/system-setting-service.ts +1 -1
  121. package/src/gen-wire/tags/tags.ts +1 -1
  122. package/src/gen-wire/team-hook-service/team-hook-service.ts +1 -1
  123. package/src/gen-wire/team-trigger-service/team-trigger-service.ts +1 -1
  124. package/src/gen-wire/timeline/timeline.ts +1 -1
  125. package/src/gen-wire/timeline/timeline.zod.ts +14 -0
  126. package/src/gen-wire/timezones/timezones.ts +1 -1
  127. package/src/gen-wire/trigger-service/trigger-service.ts +1 -1
  128. package/src/gen-wire/two-factor-authentication/two-factor-authentication.ts +1 -1
  129. package/src/gen-wire/types/types.ts +1 -1
  130. package/src/gen-wire/user-access-tokens/user-access-tokens.ts +1 -1
  131. package/src/gen-wire/user-helper-service/user-helper-service.ts +1 -1
  132. package/src/gen-wire/users/users.ts +1 -1
  133. package/src/gen-wire/variables/variables.ts +1 -1
  134. package/src/gen-wire/versions/versions.ts +1 -1
  135. package/src/gen-wire/web-hook-service/web-hook-service.ts +1 -1
  136. package/src/gen-wire/webitel-im-api-gateway-v1-account/webitel-im-api-gateway-v1-account.ts +1 -1
  137. package/src/gen-wire/webitel-im-api-gateway-v1-bots/webitel-im-api-gateway-v1-bots.ts +1 -1
  138. package/src/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.ts +1 -1
  139. package/src/gen-wire/webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-api-gateway-v1-contactsettingsmanagement.ts +1 -1
  140. package/src/gen-wire/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.ts +1 -1
  141. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +1 -1
  142. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +1 -1
  143. package/src/gen-wire/webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.ts +1 -1
  144. package/src/gen-wire/webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.ts +1 -1
  145. package/src/gen-wire/webitel-im-api-provider-v1-instagramservice/webitel-im-api-provider-v1-instagramservice.ts +1 -1
  146. package/src/gen-wire/webitel-im-api-provider-v1-metaappservice/webitel-im-api-provider-v1-metaappservice.ts +1 -1
  147. package/src/gen-wire/webitel-im-api-provider-v1-metaoauthservice/webitel-im-api-provider-v1-metaoauthservice.ts +1 -1
  148. package/src/gen-wire/webitel-im-api-provider-v1-whatsappservice/webitel-im-api-provider-v1-whatsappservice.ts +1 -1
  149. package/src/gen-wire/webitel-im-provider-v1-facebookservice/webitel-im-provider-v1-facebookservice.ts +1 -1
  150. package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.ts +1 -1
  151. package/src/gen-wire/webitel-im-provider-v1-gatetemplateservice/webitel-im-provider-v1-gatetemplateservice.ts +1 -1
  152. package/src/gen-wire/webitel-im-provider-v1-instagramservice/webitel-im-provider-v1-instagramservice.ts +1 -1
  153. package/src/gen-wire/webitel-im-provider-v1-metaappservice/webitel-im-provider-v1-metaappservice.ts +1 -1
  154. package/src/gen-wire/webitel-im-provider-v1-metaoauthservice/webitel-im-provider-v1-metaoauthservice.ts +1 -1
  155. package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.ts +1 -1
  156. package/src/gen-wire/webitel-im-provider-v1-viberservice/webitel-im-provider-v1-viberservice.ts +1 -1
  157. package/src/gen-wire/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +1 -1
  158. package/src/gen-wire/working-condition-service/working-condition-service.ts +1 -1
  159. package/src/gen-wire/working-schedule-service/working-schedule-service.ts +1 -1
  160. package/types/.tsbuildinfo +1 -1
  161. package/types/gen/_models/contactsCallFile.d.ts +3 -0
  162. package/types/gen/_models/contactsCallFileType.d.ts +15 -0
  163. package/types/gen/_models/index.d.ts +8 -0
  164. package/types/gen/_models/webitelCasesCallFile.d.ts +3 -0
  165. package/types/gen/_models/webitelCasesCallFileType.d.ts +15 -0
  166. package/types/gen-wire/_models/contactsCallFile.d.ts +3 -0
  167. package/types/gen-wire/_models/contactsCallFileType.d.ts +15 -0
  168. package/types/gen-wire/_models/index.d.ts +2 -0
  169. package/types/gen-wire/_models/webitelCasesCallFile.d.ts +3 -0
  170. package/types/gen-wire/_models/webitelCasesCallFileType.d.ts +15 -0
  171. package/types/gen-wire/case-timeline/case-timeline.zod.d.ts +10 -0
  172. package/types/gen-wire/index.d.ts +2 -2
  173. package/types/gen-wire/timeline/timeline.zod.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/api-services",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@ const getOnlineSkillsList = async (params: ApiParams) => {
31
31
  sanitizeToWire(listFieldsToSend),
32
32
  (params) => ({
33
33
  ...params,
34
- skipDefault: params.skipDefault ?? true,
34
+ skip_default: params.skip_default ?? true,
35
35
  fields: [
36
36
  'id',
37
37
  ...(params.fields || [
@@ -4,12 +4,15 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { ContactsCallFileType } from './contactsCallFileType';
7
8
 
8
9
  export interface ContactsCallFile {
10
+ channel?: string;
9
11
  id?: string;
10
12
  mimeType?: string;
11
13
  name?: string;
12
14
  size?: string;
13
15
  startAt?: string;
14
16
  stopAt?: string;
17
+ type?: ContactsCallFileType;
15
18
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type ContactsCallFileType =
9
+ (typeof ContactsCallFileType)[keyof typeof ContactsCallFileType];
10
+
11
+ export const ContactsCallFileType = {
12
+ FileTypeEmpty: 'file_type_empty',
13
+ FileTypeScreenshot: 'file_type_screenshot',
14
+ FileTypeScreensharing: 'file_type_screensharing',
15
+ FileTypeAudio: 'file_type_audio',
16
+ FileTypeVideo: 'file_type_video',
17
+ FileTypePdf: 'file_type_pdf',
18
+ } as const;
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
1
8
  export * from './_deleteParams';
2
9
  export * from './accessStoreToggleDefaultAccessBody';
3
10
  export * from './activityWorkspaceWidgetParams';
@@ -165,6 +172,7 @@ export * from './contactsAccessMode';
165
172
  export * from './contactsAddContactsToGroupRequest';
166
173
  export * from './contactsCallEvent';
167
174
  export * from './contactsCallFile';
175
+ export * from './contactsCallFileType';
168
176
  export * from './contactsChatCatalogGetContactChatHistory2Params';
169
177
  export * from './contactsChatCatalogGetContactChatHistoryParams';
170
178
  export * from './contactsChatEvent';
@@ -1365,6 +1373,7 @@ export * from './usersLogoutUserBody';
1365
1373
  export * from './webitelCasesAttachment';
1366
1374
  export * from './webitelCasesCallEvent';
1367
1375
  export * from './webitelCasesCallFile';
1376
+ export * from './webitelCasesCallFileType';
1368
1377
  export * from './webitelCasesCase';
1369
1378
  export * from './webitelCasesCaseComment';
1370
1379
  export * from './webitelCasesCaseCommentList';
@@ -4,12 +4,15 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { WebitelCasesCallFileType } from './webitelCasesCallFileType';
7
8
 
8
9
  export interface WebitelCasesCallFile {
10
+ channel?: string;
9
11
  id?: string;
10
12
  mimeType?: string;
11
13
  name?: string;
12
14
  size?: string;
13
15
  startAt?: string;
14
16
  stopAt?: string;
17
+ type?: WebitelCasesCallFileType;
15
18
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type WebitelCasesCallFileType =
9
+ (typeof WebitelCasesCallFileType)[keyof typeof WebitelCasesCallFileType];
10
+
11
+ export const WebitelCasesCallFileType = {
12
+ FileTypeEmpty: 'file_type_empty',
13
+ FileTypeScreenshot: 'file_type_screenshot',
14
+ FileTypeScreensharing: 'file_type_screensharing',
15
+ FileTypeAudio: 'file_type_audio',
16
+ FileTypeVideo: 'file_type_video',
17
+ FileTypePdf: 'file_type_pdf',
18
+ } as const;
@@ -4,12 +4,15 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { ContactsCallFileType } from './contactsCallFileType';
7
8
 
8
9
  export interface ContactsCallFile {
10
+ channel?: string;
9
11
  id?: string;
10
12
  mime_type?: string;
11
13
  name?: string;
12
14
  size?: string;
13
15
  start_at?: string;
14
16
  stop_at?: string;
17
+ type?: ContactsCallFileType;
15
18
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type ContactsCallFileType =
9
+ (typeof ContactsCallFileType)[keyof typeof ContactsCallFileType];
10
+
11
+ export const ContactsCallFileType = {
12
+ FileTypeEmpty: 'file_type_empty',
13
+ FileTypeScreenshot: 'file_type_screenshot',
14
+ FileTypeScreensharing: 'file_type_screensharing',
15
+ FileTypeAudio: 'file_type_audio',
16
+ FileTypeVideo: 'file_type_video',
17
+ FileTypePdf: 'file_type_pdf',
18
+ } as const;
@@ -165,6 +165,7 @@ export * from './contactsAccessMode';
165
165
  export * from './contactsAddContactsToGroupRequest';
166
166
  export * from './contactsCallEvent';
167
167
  export * from './contactsCallFile';
168
+ export * from './contactsCallFileType';
168
169
  export * from './contactsChatCatalogGetContactChatHistory2Params';
169
170
  export * from './contactsChatCatalogGetContactChatHistoryParams';
170
171
  export * from './contactsChatEvent';
@@ -1365,6 +1366,7 @@ export * from './usersLogoutUserBody';
1365
1366
  export * from './webitelCasesAttachment';
1366
1367
  export * from './webitelCasesCallEvent';
1367
1368
  export * from './webitelCasesCallFile';
1369
+ export * from './webitelCasesCallFileType';
1368
1370
  export * from './webitelCasesCase';
1369
1371
  export * from './webitelCasesCaseComment';
1370
1372
  export * from './webitelCasesCaseCommentList';
@@ -4,12 +4,15 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { WebitelCasesCallFileType } from './webitelCasesCallFileType';
7
8
 
8
9
  export interface WebitelCasesCallFile {
10
+ channel?: string;
9
11
  id?: string;
10
12
  mime_type?: string;
11
13
  name?: string;
12
14
  size?: string;
13
15
  start_at?: string;
14
16
  stop_at?: string;
17
+ type?: WebitelCasesCallFileType;
15
18
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+
8
+ export type WebitelCasesCallFileType =
9
+ (typeof WebitelCasesCallFileType)[keyof typeof WebitelCasesCallFileType];
10
+
11
+ export const WebitelCasesCallFileType = {
12
+ FileTypeEmpty: 'file_type_empty',
13
+ FileTypeScreenshot: 'file_type_screenshot',
14
+ FileTypeScreensharing: 'file_type_screensharing',
15
+ FileTypeAudio: 'file_type_audio',
16
+ FileTypeVideo: 'file_type_video',
17
+ FileTypePdf: 'file_type_pdf',
18
+ } as const;
@@ -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 {
@@ -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 {