@webitel/api-services 0.0.30 → 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 (168) hide show
  1. package/package.json +3 -3
  2. package/src/api/transformers/generateUrl/generateUrl.transformer.ts +1 -1
  3. package/src/gen/_docs/html/assets/navigation.js +1 -1
  4. package/src/gen/_docs/html/assets/search.js +1 -1
  5. package/src/gen/_docs/html/index.html +1 -1
  6. package/src/gen/_docs/html/interfaces/_models_webitelCasesFile.WebitelCasesFile.html +4 -5
  7. package/src/gen/_docs/html/interfaces/_models_webitelContactsIMClient.WebitelContactsIMClient.html +4 -2
  8. package/src/gen/_docs/html/modules/_models.html +1 -1
  9. package/src/gen/_docs/html/modules/index.html +1 -1
  10. package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +4 -12
  11. package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +4 -12
  12. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.deleteFileResponse.html +1 -1
  13. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.listFilesResponse.html +1 -1
  14. package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
  15. package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
  16. package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
  17. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
  18. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
  19. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsCreateContactResponse.html +1 -1
  20. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsDeleteContactResponse.html +1 -1
  21. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsLocateContactResponse.html +1 -1
  22. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsUpdateContactResponse.html +1 -1
  23. package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html +1 -1
  24. package/src/gen/_models/index.ts +0 -1
  25. package/src/gen/_models/searchCases2Params.ts +2 -18
  26. package/src/gen/_models/searchCasesParams.ts +2 -18
  27. package/src/gen/_models/webitelCasesFile.ts +2 -3
  28. package/src/gen/_models/webitelContactsIMClient.ts +2 -0
  29. package/src/gen/case-files/case-files.msw.api.gen.ts +8 -26
  30. package/src/gen/case-files/case-files.zod.gen.ts +2 -12
  31. package/src/gen/cases/cases.msw.api.gen.ts +28 -91
  32. package/src/gen/cases/cases.zod.gen.ts +13 -74
  33. package/src/gen/contacts/contacts.msw.api.gen.ts +20 -0
  34. package/src/gen/contacts/contacts.zod.gen.ts +20 -0
  35. package/src/gen/groups/groups.msw.api.gen.ts +8 -0
  36. package/src/gen/groups/groups.zod.gen.ts +8 -0
  37. package/src/gen/imclients/imclients.msw.api.gen.ts +4 -0
  38. package/src/gen/imclients/imclients.zod.gen.ts +1 -0
  39. package/types/defaults/index.d.ts +2 -0
  40. package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
  41. package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
  42. package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
  43. package/types/gen/_models/apiCustomer.d.ts +2 -2
  44. package/types/gen/_models/apiDevice.d.ts +1 -1
  45. package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
  46. package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
  47. package/types/gen/_models/apiLDAProcess.d.ts +2 -2
  48. package/types/gen/_models/apiLicenseV1.d.ts +1 -1
  49. package/types/gen/_models/apiRole.d.ts +3 -3
  50. package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
  51. package/types/gen/_models/apiUser.d.ts +1 -1
  52. package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
  53. package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
  54. package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
  55. package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
  56. package/types/gen/_models/engineActiveCall.d.ts +2 -2
  57. package/types/gen/_models/engineAgent.d.ts +1 -1
  58. package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
  59. package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
  60. package/types/gen/_models/engineAttempt.d.ts +1 -1
  61. package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
  62. package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
  63. package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
  64. package/types/gen/_models/engineAuditRate.d.ts +2 -2
  65. package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
  66. package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
  67. package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
  68. package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
  69. package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
  70. package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
  71. package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
  72. package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
  73. package/types/gen/_models/engineHistoryCall.d.ts +6 -6
  74. package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
  75. package/types/gen/_models/engineOutboundResource.d.ts +1 -1
  76. package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
  77. package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
  78. package/types/gen/_models/engineQuestion.d.ts +1 -1
  79. package/types/gen/_models/engineQueue.d.ts +2 -2
  80. package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
  81. package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
  82. package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
  83. package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
  84. package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
  85. package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
  86. package/types/gen/_models/engineTeamHook.d.ts +1 -1
  87. package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
  88. package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
  89. package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
  90. package/types/gen/_models/engineTrigger.d.ts +1 -1
  91. package/types/gen/_models/engineTriggerJob.d.ts +1 -1
  92. package/types/gen/_models/engineTriggerObjectType.d.ts +0 -1
  93. package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
  94. package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
  95. package/types/gen/_models/fileServiceSearchFilesChannelItem.d.ts +0 -2
  96. package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
  97. package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
  98. package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
  99. package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
  100. package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
  101. package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
  102. package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
  103. package/types/gen/_models/searchConfigParams.d.ts +18 -0
  104. package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
  105. package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
  106. package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
  107. package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
  108. package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
  109. package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
  110. package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
  111. package/types/gen/_models/storageFile.d.ts +2 -2
  112. package/types/gen/_models/storageFilePolicy.d.ts +1 -1
  113. package/types/gen/_models/storageImportTemplate.d.ts +2 -2
  114. package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
  115. package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
  116. package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
  117. package/types/gen/_models/storageUploadFileChannel.d.ts +0 -2
  118. package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
  119. package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
  120. package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
  121. package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
  122. package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
  123. package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
  124. package/types/gen/_models/webitelCasesCase.d.ts +1 -1
  125. package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
  126. package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
  127. package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
  128. package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
  129. package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
  130. package/types/gen/_models/webitelCasesService.d.ts +1 -1
  131. package/types/gen/_models/webitelCasesSource.d.ts +6 -5
  132. package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
  133. package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
  134. package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
  135. package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
  136. package/types/gen/_models/webitelChatDialog.d.ts +1 -1
  137. package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
  138. package/types/gen/_models/webitelContactsComment.d.ts +1 -1
  139. package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
  140. package/types/gen/_models/wfmAbsence.d.ts +1 -1
  141. package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
  142. package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
  143. package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
  144. package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
  145. package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
  146. package/types/gen/articles/articles.api.gen.d.ts +1 -1
  147. package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
  148. package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
  149. package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
  150. package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
  151. package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
  152. package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
  153. package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
  154. package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
  155. package/types/gen/file-policies-service/file-policies-service.zod.gen.d.ts +0 -18
  156. package/types/gen/file-service/file-service.api.gen.d.ts +1 -3
  157. package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -3
  158. package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
  159. package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
  160. package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
  161. package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
  162. package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
  163. package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -24
  164. package/types/gen/types/types.zod.gen.d.ts +6 -6
  165. package/src/gen/_docs/html/interfaces/_models_webitelCasesCaseQueryTarget.WebitelCasesCaseQueryTarget.html +0 -10
  166. package/src/gen/_docs/html/modules/_models_webitelCasesCaseQueryTarget.html +0 -1
  167. package/src/gen/_models/webitelCasesCaseQueryTarget.ts +0 -20
  168. package/types/gen/_models/webitelCasesCaseQueryTarget.d.ts +0 -19
@@ -30,23 +30,10 @@ export const searchCasesQueryParams = zod.object({
30
30
  .string()
31
31
  .optional()
32
32
  .describe('Contact ID for filtering cases.'),
33
- queryTargetFull: zod
34
- .boolean()
35
- .optional()
36
- .describe('Search everywhere (no restrictions)'),
37
- queryTargetSubject: zod
38
- .boolean()
39
- .optional()
40
- .describe('Search in case subject.'),
41
- queryTargetName: zod
42
- .boolean()
43
- .optional()
44
- .describe('Search in case name or number.'),
45
- queryTargetContactInfo: zod
46
- .boolean()
33
+ qin: zod
34
+ .string()
47
35
  .optional()
48
- .describe("Search in contact's email, phone, etc."),
49
- queryTargetId: zod.boolean().optional().describe('Search in case id'),
36
+ .describe("Specify which fields to apply 'q' to."),
50
37
  });
51
38
 
52
39
  export const searchCasesResponseItemsItemRelatedDataItemRelationTypeDefault =
@@ -203,12 +190,6 @@ export const searchCasesResponse = zod
203
190
  .array(
204
191
  zod
205
192
  .object({
206
- author: zod
207
- .object({
208
- id: zod.string().optional(),
209
- name: zod.string().optional(),
210
- })
211
- .optional(),
212
193
  createdAt: zod
213
194
  .string()
214
195
  .optional()
@@ -217,6 +198,7 @@ export const searchCasesResponse = zod
217
198
  .object({
218
199
  id: zod.string().optional(),
219
200
  name: zod.string().optional(),
201
+ type: zod.string().optional(),
220
202
  })
221
203
  .optional(),
222
204
  id: zod
@@ -849,12 +831,6 @@ export const createCaseResponse = zod
849
831
  .array(
850
832
  zod
851
833
  .object({
852
- author: zod
853
- .object({
854
- id: zod.string().optional(),
855
- name: zod.string().optional(),
856
- })
857
- .optional(),
858
834
  createdAt: zod
859
835
  .string()
860
836
  .optional()
@@ -863,6 +839,7 @@ export const createCaseResponse = zod
863
839
  .object({
864
840
  id: zod.string().optional(),
865
841
  name: zod.string().optional(),
842
+ type: zod.string().optional(),
866
843
  })
867
844
  .optional(),
868
845
  id: zod.string().optional().describe('Storage file ID.'),
@@ -1321,12 +1298,6 @@ export const deleteCaseResponse = zod
1321
1298
  .array(
1322
1299
  zod
1323
1300
  .object({
1324
- author: zod
1325
- .object({
1326
- id: zod.string().optional(),
1327
- name: zod.string().optional(),
1328
- })
1329
- .optional(),
1330
1301
  createdAt: zod
1331
1302
  .string()
1332
1303
  .optional()
@@ -1335,6 +1306,7 @@ export const deleteCaseResponse = zod
1335
1306
  .object({
1336
1307
  id: zod.string().optional(),
1337
1308
  name: zod.string().optional(),
1309
+ type: zod.string().optional(),
1338
1310
  })
1339
1311
  .optional(),
1340
1312
  id: zod.string().optional().describe('Storage file ID.'),
@@ -1793,12 +1765,6 @@ export const locateCaseResponse = zod
1793
1765
  .array(
1794
1766
  zod
1795
1767
  .object({
1796
- author: zod
1797
- .object({
1798
- id: zod.string().optional(),
1799
- name: zod.string().optional(),
1800
- })
1801
- .optional(),
1802
1768
  createdAt: zod
1803
1769
  .string()
1804
1770
  .optional()
@@ -1807,6 +1773,7 @@ export const locateCaseResponse = zod
1807
1773
  .object({
1808
1774
  id: zod.string().optional(),
1809
1775
  name: zod.string().optional(),
1776
+ type: zod.string().optional(),
1810
1777
  })
1811
1778
  .optional(),
1812
1779
  id: zod.string().optional().describe('Storage file ID.'),
@@ -2372,12 +2339,6 @@ export const updateCase2Response = zod.object({
2372
2339
  .array(
2373
2340
  zod
2374
2341
  .object({
2375
- author: zod
2376
- .object({
2377
- id: zod.string().optional(),
2378
- name: zod.string().optional(),
2379
- })
2380
- .optional(),
2381
2342
  createdAt: zod
2382
2343
  .string()
2383
2344
  .optional()
@@ -2386,6 +2347,7 @@ export const updateCase2Response = zod.object({
2386
2347
  .object({
2387
2348
  id: zod.string().optional(),
2388
2349
  name: zod.string().optional(),
2350
+ type: zod.string().optional(),
2389
2351
  })
2390
2352
  .optional(),
2391
2353
  id: zod.string().optional().describe('Storage file ID.'),
@@ -2966,12 +2928,6 @@ export const updateCaseResponse = zod.object({
2966
2928
  .array(
2967
2929
  zod
2968
2930
  .object({
2969
- author: zod
2970
- .object({
2971
- id: zod.string().optional(),
2972
- name: zod.string().optional(),
2973
- })
2974
- .optional(),
2975
2931
  createdAt: zod
2976
2932
  .string()
2977
2933
  .optional()
@@ -2980,6 +2936,7 @@ export const updateCaseResponse = zod.object({
2980
2936
  .object({
2981
2937
  id: zod.string().optional(),
2982
2938
  name: zod.string().optional(),
2939
+ type: zod.string().optional(),
2983
2940
  })
2984
2941
  .optional(),
2985
2942
  id: zod.string().optional().describe('Storage file ID.'),
@@ -3319,23 +3276,10 @@ export const searchCases2QueryParams = zod.object({
3319
3276
  .array(zod.string())
3320
3277
  .optional()
3321
3278
  .describe('Key-value pairs for additional filtering.'),
3322
- queryTargetFull: zod
3323
- .boolean()
3324
- .optional()
3325
- .describe('Search everywhere (no restrictions)'),
3326
- queryTargetSubject: zod
3327
- .boolean()
3328
- .optional()
3329
- .describe('Search in case subject.'),
3330
- queryTargetName: zod
3331
- .boolean()
3332
- .optional()
3333
- .describe('Search in case name or number.'),
3334
- queryTargetContactInfo: zod
3335
- .boolean()
3279
+ qin: zod
3280
+ .string()
3336
3281
  .optional()
3337
- .describe("Search in contact's email, phone, etc."),
3338
- queryTargetId: zod.boolean().optional().describe('Search in case id'),
3282
+ .describe("Specify which fields to apply 'q' to."),
3339
3283
  });
3340
3284
 
3341
3285
  export const searchCases2ResponseItemsItemRelatedDataItemRelationTypeDefault =
@@ -3493,12 +3437,6 @@ export const searchCases2Response = zod
3493
3437
  .array(
3494
3438
  zod
3495
3439
  .object({
3496
- author: zod
3497
- .object({
3498
- id: zod.string().optional(),
3499
- name: zod.string().optional(),
3500
- })
3501
- .optional(),
3502
3440
  createdAt: zod
3503
3441
  .string()
3504
3442
  .optional()
@@ -3507,6 +3445,7 @@ export const searchCases2Response = zod
3507
3445
  .object({
3508
3446
  id: zod.string().optional(),
3509
3447
  name: zod.string().optional(),
3448
+ type: zod.string().optional(),
3510
3449
  })
3511
3450
  .optional(),
3512
3451
  id: zod
@@ -467,6 +467,10 @@ export const getContactsSearchContactsResponseMock = (
467
467
  faker.string.alpha({ length: { min: 10, max: 20 } }),
468
468
  undefined,
469
469
  ]),
470
+ externalId: faker.helpers.arrayElement([
471
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
472
+ undefined,
473
+ ]),
470
474
  id: faker.helpers.arrayElement([
471
475
  faker.string.alpha({ length: { min: 10, max: 20 } }),
472
476
  undefined,
@@ -1770,6 +1774,10 @@ export const getContactsCreateContactResponseMock = (
1770
1774
  faker.string.alpha({ length: { min: 10, max: 20 } }),
1771
1775
  undefined,
1772
1776
  ]),
1777
+ externalId: faker.helpers.arrayElement([
1778
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
1779
+ undefined,
1780
+ ]),
1773
1781
  id: faker.helpers.arrayElement([
1774
1782
  faker.string.alpha({ length: { min: 10, max: 20 } }),
1775
1783
  undefined,
@@ -3037,6 +3045,10 @@ export const getContactsDeleteContactResponseMock = (
3037
3045
  faker.string.alpha({ length: { min: 10, max: 20 } }),
3038
3046
  undefined,
3039
3047
  ]),
3048
+ externalId: faker.helpers.arrayElement([
3049
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
3050
+ undefined,
3051
+ ]),
3040
3052
  id: faker.helpers.arrayElement([
3041
3053
  faker.string.alpha({ length: { min: 10, max: 20 } }),
3042
3054
  undefined,
@@ -4304,6 +4316,10 @@ export const getContactsLocateContactResponseMock = (
4304
4316
  faker.string.alpha({ length: { min: 10, max: 20 } }),
4305
4317
  undefined,
4306
4318
  ]),
4319
+ externalId: faker.helpers.arrayElement([
4320
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
4321
+ undefined,
4322
+ ]),
4307
4323
  id: faker.helpers.arrayElement([
4308
4324
  faker.string.alpha({ length: { min: 10, max: 20 } }),
4309
4325
  undefined,
@@ -5571,6 +5587,10 @@ export const getContactsUpdateContactResponseMock = (
5571
5587
  faker.string.alpha({ length: { min: 10, max: 20 } }),
5572
5588
  undefined,
5573
5589
  ]),
5590
+ externalId: faker.helpers.arrayElement([
5591
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
5592
+ undefined,
5593
+ ]),
5574
5594
  id: faker.helpers.arrayElement([
5575
5595
  faker.string.alpha({ length: { min: 10, max: 20 } }),
5576
5596
  undefined,
@@ -576,6 +576,10 @@ export const contactsSearchContactsResponse = zod
576
576
  .describe(
577
577
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
578
578
  ),
579
+ externalId: zod
580
+ .string()
581
+ .optional()
582
+ .describe('External user id.'),
579
583
  id: zod
580
584
  .string()
581
585
  .optional()
@@ -2271,6 +2275,10 @@ export const contactsCreateContactResponse = zod
2271
2275
  .describe(
2272
2276
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
2273
2277
  ),
2278
+ externalId: zod
2279
+ .string()
2280
+ .optional()
2281
+ .describe('External user id.'),
2274
2282
  id: zod
2275
2283
  .string()
2276
2284
  .optional()
@@ -3549,6 +3557,10 @@ export const contactsDeleteContactResponse = zod
3549
3557
  .describe(
3550
3558
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
3551
3559
  ),
3560
+ externalId: zod
3561
+ .string()
3562
+ .optional()
3563
+ .describe('External user id.'),
3552
3564
  id: zod
3553
3565
  .string()
3554
3566
  .optional()
@@ -4839,6 +4851,10 @@ export const contactsLocateContactResponse = zod
4839
4851
  .describe(
4840
4852
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
4841
4853
  ),
4854
+ externalId: zod
4855
+ .string()
4856
+ .optional()
4857
+ .describe('External user id.'),
4842
4858
  id: zod
4843
4859
  .string()
4844
4860
  .optional()
@@ -6472,6 +6488,10 @@ export const contactsUpdateContactResponse = zod
6472
6488
  .describe(
6473
6489
  'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
6474
6490
  ),
6491
+ externalId: zod
6492
+ .string()
6493
+ .optional()
6494
+ .describe('External user id.'),
6475
6495
  id: zod
6476
6496
  .string()
6477
6497
  .optional()
@@ -757,6 +757,10 @@ export const getGroupsAddContactsToGroupsResponseMock = (
757
757
  faker.string.alpha({ length: { min: 10, max: 20 } }),
758
758
  undefined,
759
759
  ]),
760
+ externalId: faker.helpers.arrayElement([
761
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
762
+ undefined,
763
+ ]),
760
764
  id: faker.helpers.arrayElement([
761
765
  faker.string.alpha({ length: { min: 10, max: 20 } }),
762
766
  undefined,
@@ -2074,6 +2078,10 @@ export const getGroupsRemoveContactsFromGroupResponseMock = (
2074
2078
  faker.string.alpha({ length: { min: 10, max: 20 } }),
2075
2079
  undefined,
2076
2080
  ]),
2081
+ externalId: faker.helpers.arrayElement([
2082
+ faker.string.alpha({ length: { min: 10, max: 20 } }),
2083
+ undefined,
2084
+ ]),
2077
2085
  id: faker.helpers.arrayElement([
2078
2086
  faker.string.alpha({ length: { min: 10, max: 20 } }),
2079
2087
  undefined,
@@ -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()
@@ -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 {