@webitel/api-services 0.0.29 → 0.0.31

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 (188) hide show
  1. package/Readme.md +100 -6
  2. package/package.json +4 -3
  3. package/src/api/clients/caseSources/caseSources.ts +1 -1
  4. package/src/api/clients/quickReplies/quickReplies.ts +2 -0
  5. package/src/api/transformers/generateUrl/generateUrl.transformer.ts +1 -1
  6. package/src/gen/_docs/html/assets/navigation.js +1 -1
  7. package/src/gen/_docs/html/assets/search.js +1 -1
  8. package/src/gen/_docs/html/interfaces/_models_webitelCasesFile.WebitelCasesFile.html +4 -5
  9. package/src/gen/_docs/html/interfaces/_models_webitelContactsIMClient.WebitelContactsIMClient.html +4 -2
  10. package/src/gen/_docs/html/modules/index.html +1 -1
  11. package/src/gen/_docs/html/modules/sources_sources.zod.gen.html +6 -6
  12. package/src/gen/_docs/html/types/_models_listSourcesParams.ListSourcesParams.html +11 -7
  13. package/src/gen/_docs/html/types/_models_publishCommentParams.PublishCommentParams.html +5 -3
  14. package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +5 -3
  15. package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +5 -3
  16. package/src/gen/_docs/html/types/_models_updateComment2Params.UpdateComment2Params.html +4 -2
  17. package/src/gen/_docs/html/types/_models_updateCommentParams.UpdateCommentParams.html +4 -2
  18. package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.publishCommentQueryParams.html +1 -1
  19. package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateComment2QueryParams.html +1 -1
  20. package/src/gen/_docs/html/variables/case-comments_case-comments.zod.gen.updateCommentQueryParams.html +1 -1
  21. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.deleteFileResponse.html +1 -1
  22. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.listFilesResponse.html +1 -1
  23. package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
  24. package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
  25. package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
  26. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
  27. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
  28. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsCreateContactResponse.html +1 -1
  29. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsDeleteContactResponse.html +1 -1
  30. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsLocateContactResponse.html +1 -1
  31. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsUpdateContactResponse.html +1 -1
  32. package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html +1 -1
  33. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBody.html +1 -1
  34. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryPageDefault.html +1 -0
  35. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQueryParams.html +1 -1
  36. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySizeDefault.html +1 -0
  37. package/src/gen/_docs/html/variables/sources_sources.zod.gen.listSourcesQuerySortDefault.html +1 -0
  38. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2Body.html +1 -1
  39. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBody.html +1 -1
  40. package/src/gen/_models/listSourcesParams.ts +15 -11
  41. package/src/gen/_models/publishCommentParams.ts +4 -0
  42. package/src/gen/_models/searchCases2Params.ts +5 -1
  43. package/src/gen/_models/searchCasesParams.ts +5 -1
  44. package/src/gen/_models/updateComment2Params.ts +4 -0
  45. package/src/gen/_models/updateCommentParams.ts +4 -0
  46. package/src/gen/_models/webitelCasesFile.ts +2 -3
  47. package/src/gen/_models/webitelContactsIMClient.ts +2 -0
  48. package/src/gen/case-comments/case-comments.zod.gen.ts +18 -0
  49. package/src/gen/case-files/case-files.msw.api.gen.ts +8 -26
  50. package/src/gen/case-files/case-files.zod.gen.ts +2 -12
  51. package/src/gen/cases/cases.msw.api.gen.ts +28 -91
  52. package/src/gen/cases/cases.zod.gen.ts +17 -44
  53. package/src/gen/contacts/contacts.msw.api.gen.ts +20 -0
  54. package/src/gen/contacts/contacts.zod.gen.ts +20 -0
  55. package/src/gen/groups/groups.msw.api.gen.ts +8 -0
  56. package/src/gen/groups/groups.zod.gen.ts +8 -0
  57. package/src/gen/imclients/imclients.msw.api.gen.ts +4 -0
  58. package/src/gen/imclients/imclients.zod.gen.ts +1 -0
  59. package/src/gen/sources/sources.zod.gen.ts +19 -14
  60. package/types/defaults/index.d.ts +2 -0
  61. package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
  62. package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
  63. package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
  64. package/types/gen/_models/apiCustomer.d.ts +2 -2
  65. package/types/gen/_models/apiDevice.d.ts +1 -1
  66. package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
  67. package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
  68. package/types/gen/_models/apiLDAProcess.d.ts +2 -2
  69. package/types/gen/_models/apiLicenseV1.d.ts +1 -1
  70. package/types/gen/_models/apiRole.d.ts +3 -3
  71. package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
  72. package/types/gen/_models/apiUser.d.ts +1 -1
  73. package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
  74. package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
  75. package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
  76. package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
  77. package/types/gen/_models/engineActiveCall.d.ts +2 -2
  78. package/types/gen/_models/engineAgent.d.ts +1 -1
  79. package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
  80. package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
  81. package/types/gen/_models/engineAttempt.d.ts +1 -1
  82. package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
  83. package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
  84. package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
  85. package/types/gen/_models/engineAuditRate.d.ts +2 -2
  86. package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
  87. package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
  88. package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
  89. package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
  90. package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
  91. package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
  92. package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
  93. package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
  94. package/types/gen/_models/engineHistoryCall.d.ts +6 -6
  95. package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
  96. package/types/gen/_models/engineOutboundResource.d.ts +1 -1
  97. package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
  98. package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
  99. package/types/gen/_models/engineQuestion.d.ts +1 -1
  100. package/types/gen/_models/engineQueue.d.ts +2 -2
  101. package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
  102. package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
  103. package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
  104. package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
  105. package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
  106. package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
  107. package/types/gen/_models/engineTeamHook.d.ts +1 -1
  108. package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
  109. package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
  110. package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
  111. package/types/gen/_models/engineTrigger.d.ts +1 -1
  112. package/types/gen/_models/engineTriggerJob.d.ts +1 -1
  113. package/types/gen/_models/engineTriggerObjectType.d.ts +0 -1
  114. package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
  115. package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
  116. package/types/gen/_models/fileServiceSearchFilesChannelItem.d.ts +0 -2
  117. package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
  118. package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
  119. package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
  120. package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
  121. package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
  122. package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
  123. package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
  124. package/types/gen/_models/searchConfigParams.d.ts +18 -0
  125. package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
  126. package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
  127. package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
  128. package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
  129. package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
  130. package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
  131. package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
  132. package/types/gen/_models/storageFile.d.ts +2 -2
  133. package/types/gen/_models/storageFilePolicy.d.ts +1 -1
  134. package/types/gen/_models/storageImportTemplate.d.ts +2 -2
  135. package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
  136. package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
  137. package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
  138. package/types/gen/_models/storageUploadFileChannel.d.ts +0 -2
  139. package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
  140. package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
  141. package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
  142. package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
  143. package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
  144. package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
  145. package/types/gen/_models/webitelCasesCase.d.ts +1 -1
  146. package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
  147. package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
  148. package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
  149. package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
  150. package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
  151. package/types/gen/_models/webitelCasesService.d.ts +1 -1
  152. package/types/gen/_models/webitelCasesSource.d.ts +6 -5
  153. package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
  154. package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
  155. package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
  156. package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
  157. package/types/gen/_models/webitelChatDialog.d.ts +1 -1
  158. package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
  159. package/types/gen/_models/webitelContactsComment.d.ts +1 -1
  160. package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
  161. package/types/gen/_models/wfmAbsence.d.ts +1 -1
  162. package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
  163. package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
  164. package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
  165. package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
  166. package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
  167. package/types/gen/articles/articles.api.gen.d.ts +1 -1
  168. package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
  169. package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
  170. package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
  171. package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
  172. package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
  173. package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
  174. package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
  175. package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
  176. package/types/gen/file-policies-service/file-policies-service.zod.gen.d.ts +0 -18
  177. package/types/gen/file-service/file-service.api.gen.d.ts +1 -3
  178. package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -3
  179. package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
  180. package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
  181. package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
  182. package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
  183. package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
  184. package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -24
  185. package/types/gen/types/types.zod.gen.d.ts +6 -6
  186. package/src/gen/_docs/html/variables/sources_sources.zod.gen.createSourceBodyDescriptionDefault.html +0 -1
  187. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSource2BodyDescriptionDefault.html +0 -1
  188. package/src/gen/_docs/html/variables/sources_sources.zod.gen.updateSourceBodyDescriptionDefault.html +0 -1
@@ -807,6 +807,10 @@ export const groupsAddContactsToGroupsResponse = zod
807
807
  .describe(
808
808
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
809
809
  ),
810
+ externalId: zod
811
+ .string()
812
+ .optional()
813
+ .describe('External user id.'),
810
814
  id: zod
811
815
  .string()
812
816
  .optional()
@@ -2168,6 +2172,10 @@ export const groupsRemoveContactsFromGroupResponse = zod
2168
2172
  .describe(
2169
2173
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
2170
2174
  ),
2175
+ externalId: zod
2176
+ .string()
2177
+ .optional()
2178
+ .describe('External user id.'),
2171
2179
  id: zod
2172
2180
  .string()
2173
2181
  .optional()
@@ -63,6 +63,10 @@ export const getIMClientsListIMClientsResponseMock = (
63
63
  faker.string.alpha({ length: { min: 10, max: 20 } }),
64
64
  undefined,
65
65
  ]),
66
+ externalId: faker.helpers.arrayElement([
67
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
68
+ undefined,
69
+ ]),
66
70
  id: faker.helpers.arrayElement([
67
71
  faker.string.alpha({ length: { min: 10, max: 20 } }),
68
72
  undefined,
@@ -95,6 +95,7 @@ export const iMClientsListIMClientsResponse = zod.object({
95
95
  .describe(
96
96
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
97
97
  ),
98
+ externalId: zod.string().optional().describe('External user id.'),
98
99
  id: zod
99
100
  .string()
100
101
  .optional()
@@ -9,29 +9,37 @@ import { z as zod } from 'zod/v4';
9
9
  /**
10
10
  * @summary Retrieve a list of sources or search sources
11
11
  */
12
+ export const listSourcesQueryPageDefault = '1';
13
+ export const listSourcesQuerySizeDefault = '20';
14
+ export const listSourcesQuerySortDefault = 'name:desc';
15
+
12
16
  export const listSourcesQueryParams = zod.object({
13
17
  page: zod
14
18
  .number()
15
- .optional()
16
- .describe('Page number of result dataset records. offset = (page*size)'),
19
+ .default(listSourcesQueryPageDefault)
20
+ .describe(
21
+ 'Page number of result dataset records. offset = (page * size)\nDefault: 0',
22
+ ),
17
23
  size: zod
18
24
  .number()
19
- .optional()
20
- .describe('Size count of records on result page. limit = (size++)'),
25
+ .default(listSourcesQuerySizeDefault)
26
+ .describe(
27
+ 'Size count of records on result page. limit = (size++)\nDefault: 25',
28
+ ),
21
29
  fields: zod
22
30
  .array(zod.string())
23
31
  .optional()
24
- .describe('Fields to be retrieved as a result.'),
32
+ .describe('Fields to be retrieved as a result.\nDefault: [] (all fields)'),
25
33
  sort: zod
26
34
  .string()
27
- .optional()
28
- .describe('Sort the result according to fields.'),
35
+ .default(listSourcesQuerySortDefault)
36
+ .describe('Sort the result according to fields.\nDefault: \"id:desc\"'),
29
37
  id: zod.array(zod.string()).optional().describe('Filter by unique IDs.'),
30
38
  q: zod
31
39
  .string()
32
40
  .optional()
33
41
  .describe(
34
- 'Search query string for filtering by name. Supports:\n- Wildcards (*) for substring matching\n- Placeholder (?) for single character substitution\n- Exact match for full names',
42
+ 'Search query string for filtering by name. Supports:\n- Wildcards (*)\n- Placeholder (?)\n- Exact match',
35
43
  ),
36
44
  type: zod
37
45
  .array(
@@ -137,7 +145,6 @@ export const createSourceQueryParams = zod.object({
137
145
  });
138
146
 
139
147
  export const createSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
140
- export const createSourceBodyDescriptionDefault = 'No description provided';
141
148
  export const createSourceBodyDescriptionMax = 500;
142
149
  export const createSourceBodyNameDefault = 'New Source';
143
150
  export const createSourceBodyNameMin = 2;
@@ -150,7 +157,7 @@ export const createSourceBody = zod
150
157
  description: zod
151
158
  .string()
152
159
  .max(createSourceBodyDescriptionMax)
153
- .default(createSourceBodyDescriptionDefault)
160
+ .optional()
154
161
  .describe('A short description of the source'),
155
162
  name: zod
156
163
  .string()
@@ -369,7 +376,6 @@ export const updateSource2BodyDefault = {
369
376
  name: 'Default Source',
370
377
  type: 'CALL',
371
378
  };
372
- export const updateSource2BodyDescriptionDefault = 'No description provided';
373
379
  export const updateSource2BodyDescriptionMax = 500;
374
380
  export const updateSource2BodyNameDefault = 'New Source';
375
381
  export const updateSource2BodyNameMin = 2;
@@ -382,7 +388,7 @@ export const updateSource2Body = zod
382
388
  description: zod
383
389
  .string()
384
390
  .max(updateSource2BodyDescriptionMax)
385
- .default(updateSource2BodyDescriptionDefault)
391
+ .optional()
386
392
  .describe('A short description of the source'),
387
393
  name: zod
388
394
  .string()
@@ -468,7 +474,6 @@ export const updateSourceQueryParams = zod.object({
468
474
  });
469
475
 
470
476
  export const updateSourceBodyDefault = { name: 'Default Source', type: 'CALL' };
471
- export const updateSourceBodyDescriptionDefault = 'No description provided';
472
477
  export const updateSourceBodyDescriptionMax = 500;
473
478
  export const updateSourceBodyNameDefault = 'New Source';
474
479
  export const updateSourceBodyNameMin = 2;
@@ -481,7 +486,7 @@ export const updateSourceBody = zod
481
486
  description: zod
482
487
  .string()
483
488
  .max(updateSourceBodyDescriptionMax)
484
- .default(updateSourceBodyDescriptionDefault)
489
+ .optional()
485
490
  .describe('A short description of the source'),
486
491
  name: zod
487
492
  .string()
@@ -0,0 +1,2 @@
1
+ export declare const DefaultSearchRequestPageQueryParam = 1;
2
+ export declare const DefaultSearchRequestPageSizeQueryParam = 10;
@@ -1,10 +1,10 @@
1
+ import type { WfmAbsenceType } from './wfmAbsenceType';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { WfmAbsenceType } from './wfmAbsenceType';
8
8
  import type { WfmLookupEntity } from './wfmLookupEntity';
9
9
  export type AgentAbsenceServiceUpdateAgentAbsenceBodyItem = {
10
10
  absentAt?: string;
@@ -1,11 +1,11 @@
1
+ import type { AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems } from './agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems';
2
+ import type { WfmFilterBetween } from './wfmFilterBetween';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems } from './agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBodyItems';
8
- import type { WfmFilterBetween } from './wfmFilterBetween';
9
9
  import type { WfmLookupEntity } from './wfmLookupEntity';
10
10
  export type AgentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody = {
11
11
  agents?: WfmLookupEntity[];
@@ -1,10 +1,10 @@
1
+ import type { ApiAccessStoreToggleDefaultAccessBodyObject } from './apiAccessStoreToggleDefaultAccessBodyObject';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ApiAccessStoreToggleDefaultAccessBodyObject } from './apiAccessStoreToggleDefaultAccessBodyObject';
8
8
  import type { ApiGrantAccessRequestV1 } from './apiGrantAccessRequestV1';
9
9
  export interface ApiAccessStoreToggleDefaultAccessBody {
10
10
  /** list of changes ...
@@ -1,11 +1,11 @@
1
+ import type { ApiCustomerLimit } from './apiCustomerLimit';
2
+ import type { ApiLicenseV1 } from './apiLicenseV1';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { ApiCustomerLimit } from './apiCustomerLimit';
8
- import type { ApiLicenseV1 } from './apiLicenseV1';
9
9
  import type { ApiObjectId } from './apiObjectId';
10
10
  import type { ApiVerification } from './apiVerification';
11
11
  export interface ApiCustomer {
@@ -1,10 +1,10 @@
1
+ import type { ApiDeviceProvision } from './apiDeviceProvision';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ApiDeviceProvision } from './apiDeviceProvision';
8
8
  import type { ApiUserId } from './apiUserId';
9
9
  export interface ApiDevice {
10
10
  /** username */
@@ -1,13 +1,13 @@
1
+ import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
2
+ import type { ApiLDAPTemplate } from './apiLDAPTemplate';
3
+ import type { ApiLDAProcess } from './apiLDAProcess';
4
+ import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
1
5
  /**
2
6
  * Generated by orval v7.10.0 🍺
3
7
  * Do not edit manually.
4
8
  * Webitel API
5
9
  * OpenAPI spec version: 24.04.0
6
10
  */
7
- import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
8
- import type { ApiLDAProcess } from './apiLDAProcess';
9
- import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
10
- import type { ApiLDAPTemplate } from './apiLDAPTemplate';
11
11
  import type { ApiUserId } from './apiUserId';
12
12
  export interface ApiLDAPCatalog {
13
13
  baseDn?: string;
@@ -1,13 +1,13 @@
1
+ import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
2
+ import type { ApiLDAPTemplate } from './apiLDAPTemplate';
3
+ import type { ApiLDAProcess } from './apiLDAProcess';
4
+ import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
1
5
  /**
2
6
  * Generated by orval v7.10.0 🍺
3
7
  * Do not edit manually.
4
8
  * Webitel API
5
9
  * OpenAPI spec version: 24.04.0
6
10
  */
7
- import type { ApiLDAPCatalogTLSConfig } from './apiLDAPCatalogTLSConfig';
8
- import type { ApiLDAProcess } from './apiLDAProcess';
9
- import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
10
- import type { ApiLDAPTemplate } from './apiLDAPTemplate';
11
11
  import type { ApiUserId } from './apiUserId';
12
12
  /**
13
13
  * LDAP Catalog changes.
@@ -1,11 +1,11 @@
1
+ import type { ApiLDAPObjentry } from './apiLDAPObjentry';
2
+ import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { ApiLDAPObjentry } from './apiLDAPObjentry';
8
- import type { ApiLDAProcessOptions } from './apiLDAProcessOptions';
9
9
  import type { ApiRoleId } from './apiRoleId';
10
10
  export interface ApiLDAProcess {
11
11
  /** Optional. If not <zero> indicates that this process is completed. */
@@ -1,10 +1,10 @@
1
+ import type { ApiLicenseUser } from './apiLicenseUser';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ApiLicenseUser } from './apiLicenseUser';
8
8
  import type { ApiVerification } from './apiVerification';
9
9
  export interface ApiLicenseV1 {
10
10
  competitive?: boolean;
@@ -1,12 +1,12 @@
1
+ import type { ApiObjectId } from './apiObjectId';
2
+ import type { ApiPermission } from './apiPermission';
3
+ import type { ApiRoleMetadata } from './apiRoleMetadata';
1
4
  /**
2
5
  * Generated by orval v7.10.0 🍺
3
6
  * Do not edit manually.
4
7
  * Webitel API
5
8
  * OpenAPI spec version: 24.04.0
6
9
  */
7
- import type { ApiObjectId } from './apiObjectId';
8
- import type { ApiPermission } from './apiPermission';
9
- import type { ApiRoleMetadata } from './apiRoleMetadata';
10
10
  import type { ApiUserId } from './apiUserId';
11
11
  export interface ApiRole {
12
12
  createdAt?: string;
@@ -1,12 +1,12 @@
1
+ import type { ApiObjectId } from './apiObjectId';
2
+ import type { ApiPermission } from './apiPermission';
3
+ import type { ApiRolesUpdateRoleBodyRoleMetadata } from './apiRolesUpdateRoleBodyRoleMetadata';
1
4
  /**
2
5
  * Generated by orval v7.10.0 🍺
3
6
  * Do not edit manually.
4
7
  * Webitel API
5
8
  * OpenAPI spec version: 24.04.0
6
9
  */
7
- import type { ApiObjectId } from './apiObjectId';
8
- import type { ApiPermission } from './apiPermission';
9
- import type { ApiRolesUpdateRoleBodyRoleMetadata } from './apiRolesUpdateRoleBodyRoleMetadata';
10
10
  import type { ApiUserId } from './apiUserId';
11
11
  export type ApiRolesUpdateRoleBodyRole = {
12
12
  createdAt?: string;
@@ -1,10 +1,10 @@
1
+ import type { ApiLicenseUser } from './apiLicenseUser';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ApiLicenseUser } from './apiLicenseUser';
8
8
  import type { ApiObjectId } from './apiObjectId';
9
9
  import type { ApiPermission } from './apiPermission';
10
10
  import type { ApiUserId } from './apiUserId';
@@ -1,10 +1,10 @@
1
+ import type { ApiLicenseUser } from './apiLicenseUser';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ApiLicenseUser } from './apiLicenseUser';
8
8
  import type { ApiObjectId } from './apiObjectId';
9
9
  import type { ApiPermission } from './apiPermission';
10
10
  import type { ApiUserId } from './apiUserId';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { LoggerLookup } from './loggerLookup';
8
+ export interface ConfigServicePatchConfigBody {
9
+ daysToStore?: number;
10
+ description?: string;
11
+ enabled?: boolean;
12
+ fields?: string[];
13
+ period?: number;
14
+ storage?: LoggerLookup;
15
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { LoggerLookup } from './loggerLookup';
8
+ export interface ConfigServiceUpdateConfigBody {
9
+ daysToStore?: number;
10
+ description?: string;
11
+ enabled?: boolean;
12
+ period?: number;
13
+ storage?: LoggerLookup;
14
+ }
@@ -1,10 +1,10 @@
1
+ import type { ContactsUpdateContactBodyCustom } from './contactsUpdateContactBodyCustom';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { ContactsUpdateContactBodyCustom } from './contactsUpdateContactBodyCustom';
8
8
  import type { WebitelContactsInputComment } from './webitelContactsInputComment';
9
9
  import type { WebitelContactsInputContactGroup } from './webitelContactsInputContactGroup';
10
10
  import type { WebitelContactsInputEmailAddress } from './webitelContactsInputEmailAddress';
@@ -1,11 +1,11 @@
1
+ import type { EngineActiveCallVariables } from './engineActiveCallVariables';
2
+ import type { EngineEndpoint } from './engineEndpoint';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { EngineActiveCallVariables } from './engineActiveCallVariables';
8
- import type { EngineEndpoint } from './engineEndpoint';
9
9
  import type { EngineLookup } from './engineLookup';
10
10
  export interface EngineActiveCall {
11
11
  agent?: EngineLookup;
@@ -1,10 +1,10 @@
1
+ import type { EngineAgentChannel } from './engineAgentChannel';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineAgentChannel } from './engineAgentChannel';
8
8
  import type { EngineLookup } from './engineLookup';
9
9
  export interface EngineAgent {
10
10
  allowChannels?: string[];
@@ -1,10 +1,10 @@
1
+ import type { EngineAgentInQueueStatisticsAgentInQueueStatisticsItem } from './engineAgentInQueueStatisticsAgentInQueueStatisticsItem';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineAgentInQueueStatisticsAgentInQueueStatisticsItem } from './engineAgentInQueueStatisticsAgentInQueueStatisticsItem';
8
8
  import type { EngineLookup } from './engineLookup';
9
9
  export interface EngineAgentInQueueStatistics {
10
10
  queue?: EngineLookup;
@@ -1,10 +1,10 @@
1
+ import type { EngineAggregateHistoryCallRequestVariables } from './engineAggregateHistoryCallRequestVariables';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineAggregateHistoryCallRequestVariables } from './engineAggregateHistoryCallRequestVariables';
8
8
  import type { EngineAggregateRequest } from './engineAggregateRequest';
9
9
  import type { EngineFilterBetween } from './engineFilterBetween';
10
10
  export interface EngineAggregateHistoryCallRequest {
@@ -1,10 +1,10 @@
1
+ import type { EngineAttemptVariables } from './engineAttemptVariables';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineAttemptVariables } from './engineAttemptVariables';
8
8
  import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineMemberCommunication } from './engineMemberCommunication';
10
10
  export interface EngineAttempt {
@@ -1,10 +1,10 @@
1
+ import type { EngineAttemptHistoryVariables } from './engineAttemptHistoryVariables';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineAttemptHistoryVariables } from './engineAttemptHistoryVariables';
8
8
  import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineMemberCommunication } from './engineMemberCommunication';
10
10
  export interface EngineAttemptHistory {
@@ -1,10 +1,10 @@
1
+ import type { EngineLookup } from './engineLookup';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineLookup } from './engineLookup';
8
8
  import type { EngineQuestion } from './engineQuestion';
9
9
  export interface EngineAuditFormServicePatchAuditFormBody {
10
10
  description?: string;
@@ -1,10 +1,10 @@
1
+ import type { EngineLookup } from './engineLookup';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineLookup } from './engineLookup';
8
8
  import type { EngineQuestion } from './engineQuestion';
9
9
  export interface EngineAuditFormServiceUpdateAuditFormBody {
10
10
  description?: string;
@@ -1,11 +1,11 @@
1
+ import type { EngineLookup } from './engineLookup';
2
+ import type { EngineQuestion } from './engineQuestion';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { EngineLookup } from './engineLookup';
8
- import type { EngineQuestion } from './engineQuestion';
9
9
  import type { EngineQuestionAnswer } from './engineQuestionAnswer';
10
10
  export interface EngineAuditRate {
11
11
  answers?: EngineQuestionAnswer[];
@@ -1,10 +1,10 @@
1
+ import type { EngineLookup } from './engineLookup';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineLookup } from './engineLookup';
8
8
  import type { EngineQuestion } from './engineQuestion';
9
9
  export interface EngineCreateAuditFormRequest {
10
10
  description?: string;
@@ -1,10 +1,10 @@
1
+ import type { EngineCreateCallRequestCallSettings } from './engineCreateCallRequestCallSettings';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineCreateCallRequestCallSettings } from './engineCreateCallRequestCallSettings';
8
8
  import type { EngineCreateCallRequestEndpointRequest } from './engineCreateCallRequestEndpointRequest';
9
9
  export interface EngineCreateCallRequest {
10
10
  destination?: string;
@@ -1,10 +1,10 @@
1
+ import type { EngineCreateMemberBulkItemVariables } from './engineCreateMemberBulkItemVariables';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineCreateMemberBulkItemVariables } from './engineCreateMemberBulkItemVariables';
8
8
  import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineMemberCommunicationCreateRequest } from './engineMemberCommunicationCreateRequest';
10
10
  export interface EngineCreateMemberBulkItem {
@@ -1,11 +1,11 @@
1
+ import type { EngineCreateOutboundResourceRequestVariables } from './engineCreateOutboundResourceRequestVariables';
2
+ import type { EngineLookup } from './engineLookup';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { EngineCreateOutboundResourceRequestVariables } from './engineCreateOutboundResourceRequestVariables';
8
- import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineOutboundResourceParameters } from './engineOutboundResourceParameters';
10
10
  export interface EngineCreateOutboundResourceRequest {
11
11
  parameters?: EngineOutboundResourceParameters;
@@ -1,11 +1,11 @@
1
+ import type { EngineCreateQueueRequestVariables } from './engineCreateQueueRequestVariables';
2
+ import type { EngineLookup } from './engineLookup';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { EngineCreateQueueRequestVariables } from './engineCreateQueueRequestVariables';
8
- import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineTag } from './engineTag';
10
10
  import type { EngineTaskProcessing } from './engineTaskProcessing';
11
11
  export interface EngineCreateQueueRequest {
@@ -1,10 +1,10 @@
1
+ import type { EngineRoutingSchemaType } from './engineRoutingSchemaType';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineRoutingSchemaType } from './engineRoutingSchemaType';
8
8
  import type { EngineSchemaTag } from './engineSchemaTag';
9
9
  export interface EngineCreateRoutingSchemaRequest {
10
10
  tags?: EngineSchemaTag[];
@@ -1,11 +1,11 @@
1
+ import type { EngineCreateTriggerRequestVariables } from './engineCreateTriggerRequestVariables';
2
+ import type { EngineLookup } from './engineLookup';
1
3
  /**
2
4
  * Generated by orval v7.10.0 🍺
3
5
  * Do not edit manually.
4
6
  * Webitel API
5
7
  * OpenAPI spec version: 24.04.0
6
8
  */
7
- import type { EngineCreateTriggerRequestVariables } from './engineCreateTriggerRequestVariables';
8
- import type { EngineLookup } from './engineLookup';
9
9
  import type { EngineTriggerEventType } from './engineTriggerEventType';
10
10
  import type { EngineTriggerObjectType } from './engineTriggerObjectType';
11
11
  import type { EngineTriggerType } from './engineTriggerType';
@@ -1,10 +1,10 @@
1
+ import type { EngineDeleteAllMembersRequestVariables } from './engineDeleteAllMembersRequestVariables';
1
2
  /**
2
3
  * Generated by orval v7.10.0 🍺
3
4
  * Do not edit manually.
4
5
  * Webitel API
5
6
  * OpenAPI spec version: 24.04.0
6
7
  */
7
- import type { EngineDeleteAllMembersRequestVariables } from './engineDeleteAllMembersRequestVariables';
8
8
  import type { EngineFilterBetween } from './engineFilterBetween';
9
9
  export interface EngineDeleteAllMembersRequest {
10
10
  agentId?: number[];
@@ -1,9 +1,3 @@
1
- /**
2
- * Generated by orval v7.10.0 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
1
  import type { EngineCallAnnotation } from './engineCallAnnotation';
8
2
  import type { EngineCallFile } from './engineCallFile';
9
3
  import type { EngineCallHold } from './engineCallHold';
@@ -11,6 +5,12 @@ import type { EngineEndpoint } from './engineEndpoint';
11
5
  import type { EngineHistoryCallBlindTransfer } from './engineHistoryCallBlindTransfer';
12
6
  import type { EngineHistoryCallVariables } from './engineHistoryCallVariables';
13
7
  import type { EngineHistoryFileJob } from './engineHistoryFileJob';
8
+ /**
9
+ * Generated by orval v7.10.0 🍺
10
+ * Do not edit manually.
11
+ * Webitel API
12
+ * OpenAPI spec version: 24.04.0
13
+ */
14
14
  import type { EngineLookup } from './engineLookup';
15
15
  import type { EngineTranscriptLookup } from './engineTranscriptLookup';
16
16
  export interface EngineHistoryCall {