@webitel/api-services 0.0.30 → 0.0.32

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 (169) hide show
  1. package/package.json +4 -3
  2. package/src/api/defaults/getDefaultInstance/getDefaultInstance.ts +2 -1
  3. package/src/api/transformers/generateUrl/generateUrl.transformer.ts +1 -1
  4. package/src/gen/_docs/html/assets/navigation.js +1 -1
  5. package/src/gen/_docs/html/assets/search.js +1 -1
  6. package/src/gen/_docs/html/index.html +1 -1
  7. package/src/gen/_docs/html/interfaces/_models_webitelCasesFile.WebitelCasesFile.html +4 -5
  8. package/src/gen/_docs/html/interfaces/_models_webitelContactsIMClient.WebitelContactsIMClient.html +4 -2
  9. package/src/gen/_docs/html/modules/_models.html +1 -1
  10. package/src/gen/_docs/html/modules/index.html +1 -1
  11. package/src/gen/_docs/html/types/_models_searchCases2Params.SearchCases2Params.html +4 -12
  12. package/src/gen/_docs/html/types/_models_searchCasesParams.SearchCasesParams.html +4 -12
  13. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.deleteFileResponse.html +1 -1
  14. package/src/gen/_docs/html/variables/case-files_case-files.zod.gen.listFilesResponse.html +1 -1
  15. package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
  16. package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
  17. package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
  18. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2QueryParams.html +1 -1
  19. package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesQueryParams.html +1 -1
  20. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsCreateContactResponse.html +1 -1
  21. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsDeleteContactResponse.html +1 -1
  22. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsLocateContactResponse.html +1 -1
  23. package/src/gen/_docs/html/variables/contacts_contacts.zod.gen.contactsUpdateContactResponse.html +1 -1
  24. package/src/gen/_docs/html/variables/imclients_imclients.zod.gen.iMClientsListIMClientsResponse.html +1 -1
  25. package/src/gen/_models/index.ts +0 -1
  26. package/src/gen/_models/searchCases2Params.ts +2 -18
  27. package/src/gen/_models/searchCasesParams.ts +2 -18
  28. package/src/gen/_models/webitelCasesFile.ts +2 -3
  29. package/src/gen/_models/webitelContactsIMClient.ts +2 -0
  30. package/src/gen/case-files/case-files.msw.api.gen.ts +8 -26
  31. package/src/gen/case-files/case-files.zod.gen.ts +2 -12
  32. package/src/gen/cases/cases.msw.api.gen.ts +28 -91
  33. package/src/gen/cases/cases.zod.gen.ts +13 -74
  34. package/src/gen/contacts/contacts.msw.api.gen.ts +20 -0
  35. package/src/gen/contacts/contacts.zod.gen.ts +20 -0
  36. package/src/gen/groups/groups.msw.api.gen.ts +8 -0
  37. package/src/gen/groups/groups.zod.gen.ts +8 -0
  38. package/src/gen/imclients/imclients.msw.api.gen.ts +4 -0
  39. package/src/gen/imclients/imclients.zod.gen.ts +1 -0
  40. package/types/defaults/index.d.ts +2 -0
  41. package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
  42. package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
  43. package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
  44. package/types/gen/_models/apiCustomer.d.ts +2 -2
  45. package/types/gen/_models/apiDevice.d.ts +1 -1
  46. package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
  47. package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
  48. package/types/gen/_models/apiLDAProcess.d.ts +2 -2
  49. package/types/gen/_models/apiLicenseV1.d.ts +1 -1
  50. package/types/gen/_models/apiRole.d.ts +3 -3
  51. package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
  52. package/types/gen/_models/apiUser.d.ts +1 -1
  53. package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
  54. package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
  55. package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
  56. package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
  57. package/types/gen/_models/engineActiveCall.d.ts +2 -2
  58. package/types/gen/_models/engineAgent.d.ts +1 -1
  59. package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
  60. package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
  61. package/types/gen/_models/engineAttempt.d.ts +1 -1
  62. package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
  63. package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
  64. package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
  65. package/types/gen/_models/engineAuditRate.d.ts +2 -2
  66. package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
  67. package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
  68. package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
  69. package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
  70. package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
  71. package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
  72. package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
  73. package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
  74. package/types/gen/_models/engineHistoryCall.d.ts +6 -6
  75. package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
  76. package/types/gen/_models/engineOutboundResource.d.ts +1 -1
  77. package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
  78. package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
  79. package/types/gen/_models/engineQuestion.d.ts +1 -1
  80. package/types/gen/_models/engineQueue.d.ts +2 -2
  81. package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
  82. package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
  83. package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
  84. package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
  85. package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
  86. package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
  87. package/types/gen/_models/engineTeamHook.d.ts +1 -1
  88. package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
  89. package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
  90. package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
  91. package/types/gen/_models/engineTrigger.d.ts +1 -1
  92. package/types/gen/_models/engineTriggerJob.d.ts +1 -1
  93. package/types/gen/_models/engineTriggerObjectType.d.ts +0 -1
  94. package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
  95. package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
  96. package/types/gen/_models/fileServiceSearchFilesChannelItem.d.ts +0 -2
  97. package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
  98. package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
  99. package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
  100. package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
  101. package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
  102. package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
  103. package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
  104. package/types/gen/_models/searchConfigParams.d.ts +18 -0
  105. package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
  106. package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
  107. package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
  108. package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
  109. package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
  110. package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
  111. package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
  112. package/types/gen/_models/storageFile.d.ts +2 -2
  113. package/types/gen/_models/storageFilePolicy.d.ts +1 -1
  114. package/types/gen/_models/storageImportTemplate.d.ts +2 -2
  115. package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
  116. package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
  117. package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
  118. package/types/gen/_models/storageUploadFileChannel.d.ts +0 -2
  119. package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
  120. package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
  121. package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
  122. package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
  123. package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
  124. package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
  125. package/types/gen/_models/webitelCasesCase.d.ts +1 -1
  126. package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
  127. package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
  128. package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
  129. package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
  130. package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
  131. package/types/gen/_models/webitelCasesService.d.ts +1 -1
  132. package/types/gen/_models/webitelCasesSource.d.ts +6 -5
  133. package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
  134. package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
  135. package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
  136. package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
  137. package/types/gen/_models/webitelChatDialog.d.ts +1 -1
  138. package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
  139. package/types/gen/_models/webitelContactsComment.d.ts +1 -1
  140. package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
  141. package/types/gen/_models/wfmAbsence.d.ts +1 -1
  142. package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
  143. package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
  144. package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
  145. package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
  146. package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
  147. package/types/gen/articles/articles.api.gen.d.ts +1 -1
  148. package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
  149. package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
  150. package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
  151. package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
  152. package/types/gen/contacts/contacts.zod.gen.d.ts +2 -2
  153. package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
  154. package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
  155. package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
  156. package/types/gen/file-policies-service/file-policies-service.zod.gen.d.ts +0 -18
  157. package/types/gen/file-service/file-service.api.gen.d.ts +1 -3
  158. package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -3
  159. package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
  160. package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
  161. package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
  162. package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
  163. package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
  164. package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -24
  165. package/types/gen/types/types.zod.gen.d.ts +6 -6
  166. package/src/gen/_docs/html/interfaces/_models_webitelCasesCaseQueryTarget.WebitelCasesCaseQueryTarget.html +0 -10
  167. package/src/gen/_docs/html/modules/_models_webitelCasesCaseQueryTarget.html +0 -1
  168. package/src/gen/_models/webitelCasesCaseQueryTarget.ts +0 -20
  169. package/types/gen/_models/webitelCasesCaseQueryTarget.d.ts +0 -19
@@ -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
+ export type SearchLogByRecordIdActionItem = (typeof SearchLogByRecordIdActionItem)[keyof typeof SearchLogByRecordIdActionItem];
8
+ export declare const SearchLogByRecordIdActionItem: {
9
+ readonly default_no_action: "default_no_action";
10
+ readonly create: "create";
11
+ readonly update: "update";
12
+ readonly read: "read";
13
+ readonly delete: "delete";
14
+ };
@@ -0,0 +1,22 @@
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 { SearchLogByRecordIdActionItem } from './searchLogByRecordIdActionItem';
8
+ export type SearchLogByRecordIdParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ /**
15
+ * GENERAL filters
16
+ */
17
+ action?: SearchLogByRecordIdActionItem[];
18
+ userId?: string[];
19
+ userIp?: string;
20
+ dateFrom?: string;
21
+ dateTo?: string;
22
+ };
@@ -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
+ export type SearchLogByUserIdActionItem = (typeof SearchLogByUserIdActionItem)[keyof typeof SearchLogByUserIdActionItem];
8
+ export declare const SearchLogByUserIdActionItem: {
9
+ readonly default_no_action: "default_no_action";
10
+ readonly create: "create";
11
+ readonly update: "update";
12
+ readonly read: "read";
13
+ readonly delete: "delete";
14
+ };
@@ -0,0 +1,25 @@
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 { SearchLogByUserIdActionItem } from './searchLogByUserIdActionItem';
8
+ export type SearchLogByUserIdParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ /**
15
+ * SPECIFIC filter
16
+ */
17
+ objectId?: string[];
18
+ /**
19
+ * GENERAL filters
20
+ */
21
+ action?: SearchLogByUserIdActionItem[];
22
+ userIp?: string;
23
+ dateFrom?: string;
24
+ dateTo?: string;
25
+ };
@@ -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 { StorageCreateImportTemplateRequestParameters } from './storageCreateImportTemplateRequestParameters';
9
9
  import type { StorageImportSourceType } from './storageImportSourceType';
10
10
  /**
@@ -1,11 +1,11 @@
1
+ import type { EngineLookup } from './engineLookup';
2
+ import type { StorageThumbnail } from './storageThumbnail';
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 { StorageThumbnail } from './storageThumbnail';
9
9
  import type { StorageUploadFileChannel } from './storageUploadFileChannel';
10
10
  export interface StorageFile {
11
11
  channel?: StorageUploadFileChannel;
@@ -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 { StorageUploadFileChannel } from './storageUploadFileChannel';
9
9
  export interface StorageFilePolicy {
10
10
  channels?: StorageUploadFileChannel[];
@@ -1,11 +1,11 @@
1
+ import type { EngineLookup } from './engineLookup';
2
+ import type { StorageImportSourceType } from './storageImportSourceType';
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 { StorageImportSourceType } from './storageImportSourceType';
9
9
  import type { StorageImportTemplateParameters } from './storageImportTemplateParameters';
10
10
  export interface StorageImportTemplate {
11
11
  parameters?: StorageImportTemplateParameters;
@@ -1,10 +1,10 @@
1
+ import type { StorageThumbnail } from './storageThumbnail';
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 { StorageThumbnail } from './storageThumbnail';
8
8
  import type { StorageUploadStatusCode } from './storageUploadStatusCode';
9
9
  export interface StorageSafeUploadFileResponseMetadata {
10
10
  code?: StorageUploadStatusCode;
@@ -1,11 +1,11 @@
1
+ import type { StorageProviderType } from './storageProviderType';
2
+ import type { StorageServiceType } from './storageServiceType';
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 { StorageProviderType } from './storageProviderType';
8
- import type { StorageServiceType } from './storageServiceType';
9
9
  import type { StorageUpdateCognitiveProfileRequestProperties } from './storageUpdateCognitiveProfileRequestProperties';
10
10
  export interface StorageUpdateCognitiveProfileRequest {
11
11
  default?: boolean;
@@ -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 { StorageUpdateImportTemplateRequestParameters } from './storageUpdateImportTemplateRequestParameters';
9
9
  /**
10
10
  * Update import template for CSV
@@ -14,6 +14,4 @@ export declare const StorageUploadFileChannel: {
14
14
  readonly MediaChannel: "MediaChannel";
15
15
  readonly KnowledgebaseChannel: "KnowledgebaseChannel";
16
16
  readonly CasesChannel: "CasesChannel";
17
- readonly ScreenshotChannel: "ScreenshotChannel";
18
- readonly ScreenSharingChannel: "ScreenSharingChannel";
19
17
  };
@@ -1,10 +1,10 @@
1
+ import type { StorageThumbnail } from './storageThumbnail';
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 { StorageThumbnail } from './storageThumbnail';
8
8
  import type { StorageUploadStatusCode } from './storageUploadStatusCode';
9
9
  export interface StorageUploadFileResponse {
10
10
  code?: StorageUploadStatusCode;
@@ -1,10 +1,10 @@
1
+ import type { StorageThumbnail } from './storageThumbnail';
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 { StorageThumbnail } from './storageThumbnail';
8
8
  import type { StorageUploadStatusCode } from './storageUploadStatusCode';
9
9
  export interface StorageUploadFileUrlResponse {
10
10
  code?: StorageUploadStatusCode;
@@ -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';
@@ -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 { GeneralLookup } from './generalLookup';
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 { GeneralLookup } from './generalLookup';
8
8
  import type { WebitelCasesCallFile } from './webitelCasesCallFile';
9
9
  import type { WebitelCasesTranscriptLookup } from './webitelCasesTranscriptLookup';
10
10
  export interface WebitelCasesCallEvent {
@@ -1,10 +1,10 @@
1
+ import type { GeneralExtendedLookup } from './generalExtendedLookup';
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 { GeneralExtendedLookup } from './generalExtendedLookup';
8
8
  import type { GeneralLookup } from './generalLookup';
9
9
  import type { WebitelCasesCaseCommentList } from './webitelCasesCaseCommentList';
10
10
  import type { WebitelCasesCaseCustom } from './webitelCasesCaseCustom';
@@ -1,10 +1,10 @@
1
+ import type { GeneralExtendedLookup } from './generalExtendedLookup';
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 { GeneralExtendedLookup } from './generalExtendedLookup';
8
8
  import type { GeneralLookup } from './generalLookup';
9
9
  export interface WebitelCasesChatEvent {
10
10
  closedAt?: string;
@@ -1,10 +1,10 @@
1
+ import type { GeneralLookup } from './generalLookup';
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 { GeneralLookup } from './generalLookup';
8
8
  import type { WebitelCasesAttachment } from './webitelCasesAttachment';
9
9
  export interface WebitelCasesEmailEvent {
10
10
  attachments?: WebitelCasesAttachment[];
@@ -1,10 +1,10 @@
1
+ import type { GeneralExtendedLookup } from './generalExtendedLookup';
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 { GeneralExtendedLookup } from './generalExtendedLookup';
8
8
  import type { GeneralLookup } from './generalLookup';
9
9
  export interface WebitelCasesInputCreateService {
10
10
  assignee?: GeneralLookup;
@@ -1,10 +1,10 @@
1
+ import type { GeneralExtendedLookup } from './generalExtendedLookup';
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 { GeneralExtendedLookup } from './generalExtendedLookup';
8
8
  import type { GeneralLookup } from './generalLookup';
9
9
  export interface WebitelCasesInputService {
10
10
  assignee?: GeneralLookup;
@@ -18,6 +18,7 @@ export interface WebitelCasesInputSource {
18
18
  * The name of the source
19
19
  * @minLength 2
20
20
  * @maxLength 100
21
+ * @pattern ^[a-zA-Z0-9_\- ]+$
21
22
  */
22
23
  name: string;
23
24
  /** The type of the source */
@@ -1,10 +1,10 @@
1
+ import type { GeneralExtendedLookup } from './generalExtendedLookup';
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 { GeneralExtendedLookup } from './generalExtendedLookup';
8
8
  import type { GeneralLookup } from './generalLookup';
9
9
  export interface WebitelCasesService {
10
10
  assignee?: GeneralLookup;
@@ -11,26 +11,27 @@ import type { WebitelCasesSourceType } from './webitelCasesSourceType';
11
11
  */
12
12
  export interface WebitelCasesSource {
13
13
  /** Unix timestamp representing when the source was created. */
14
- createdAt: string;
14
+ readonly createdAt: string;
15
15
  /** Reference to the user who originally created this source. */
16
- createdBy: GeneralLookup;
16
+ readonly createdBy: GeneralLookup;
17
17
  /**
18
18
  * An optional longer explanation of the source's purpose.
19
19
  * @maxLength 500
20
20
  */
21
21
  description?: string;
22
22
  /** Unique identifier for the source, generated automatically. */
23
- id: string;
23
+ readonly id: string;
24
24
  /**
25
25
  * A unique, descriptive name for the source.
26
26
  * @minLength 3
27
27
  * @maxLength 100
28
+ * @pattern ^[a-zA-Z0-9_\-\s]+$
28
29
  */
29
30
  name: string;
30
31
  /** The type of data source represented by this entry. */
31
32
  type: WebitelCasesSourceType;
32
33
  /** Unix timestamp representing the most recent update. */
33
- updatedAt: string;
34
+ readonly updatedAt: string;
34
35
  /** Reference to the user who most recently modified this source. */
35
- updatedBy: GeneralLookup;
36
+ readonly updatedBy: GeneralLookup;
36
37
  }
@@ -1,10 +1,10 @@
1
+ import type { WebitelChatMessage } from './webitelChatMessage';
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 { WebitelChatMessage } from './webitelChatMessage';
8
8
  import type { WebitelChatPeer } from './webitelChatPeer';
9
9
  export interface WebitelChatAgentChat {
10
10
  closeReason?: string;
@@ -1,10 +1,10 @@
1
+ import type { WebitelChatBroadcastMessageRequestVariables } from './webitelChatBroadcastMessageRequestVariables';
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 { WebitelChatBroadcastMessageRequestVariables } from './webitelChatBroadcastMessageRequestVariables';
8
8
  import type { WebitelChatInputMessage } from './webitelChatInputMessage';
9
9
  import type { WebitelChatInputPeer } from './webitelChatInputPeer';
10
10
  export interface WebitelChatBroadcastMessageRequest {
@@ -1,11 +1,11 @@
1
+ import type { WebitelChatChatMessageContext } from './webitelChatChatMessageContext';
2
+ import type { WebitelChatChatPeer } from './webitelChatChatPeer';
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 { WebitelChatChatMessageContext } from './webitelChatChatMessageContext';
8
- import type { WebitelChatChatPeer } from './webitelChatChatPeer';
9
9
  import type { WebitelChatContactChat } from './webitelChatContactChat';
10
10
  import type { WebitelChatMessageFile } from './webitelChatMessageFile';
11
11
  import type { WebitelChatMessagePostback } from './webitelChatMessagePostback';
@@ -1,10 +1,10 @@
1
+ import type { WebitelChatChatPeer } from './webitelChatChatPeer';
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 { WebitelChatChatPeer } from './webitelChatChatPeer';
8
8
  import type { WebitelChatContactChatContext } from './webitelChatContactChatContext';
9
9
  import type { WebitelChatContactChatInvite } from './webitelChatContactChatInvite';
10
10
  /**
@@ -1,10 +1,10 @@
1
+ import type { WebitelChatChat } from './webitelChatChat';
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 { WebitelChatChat } from './webitelChatChat';
8
8
  import type { WebitelChatDialogContext } from './webitelChatDialogContext';
9
9
  import type { WebitelChatMessage } from './webitelChatMessage';
10
10
  import type { WebitelChatPeer } from './webitelChatPeer';
@@ -1,11 +1,11 @@
1
+ import type { WebitelChatChatMessage } from './webitelChatChatMessage';
2
+ import type { WebitelChatChatPeer } from './webitelChatChatPeer';
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 { WebitelChatChatMessage } from './webitelChatChatMessage';
8
- import type { WebitelChatChatPeer } from './webitelChatChatPeer';
9
9
  import type { WebitelChatContactChat } from './webitelChatContactChat';
10
10
  export interface WebitelChatGetContactChatHistoryResponse {
11
11
  chats?: WebitelChatContactChat[];
@@ -1,10 +1,10 @@
1
+ import type { WebitelContactsCommentFormat } from './webitelContactsCommentFormat';
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 { WebitelContactsCommentFormat } from './webitelContactsCommentFormat';
8
8
  import type { WebitelContactsLookup } from './webitelContactsLookup';
9
9
  export interface WebitelContactsComment {
10
10
  /** The user who created this Field. */
@@ -1,10 +1,10 @@
1
+ import type { WebitelProtoDataField } from './webitelProtoDataField';
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 { WebitelProtoDataField } from './webitelProtoDataField';
8
8
  import type { WebitelProtoDataLookupValue } from './webitelProtoDataLookupValue';
9
9
  import type { WebitelProtoDataStructIndexes } from './webitelProtoDataStructIndexes';
10
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 interface WfmAbsence {
10
10
  absentAt?: string;
@@ -1,11 +1,11 @@
1
+ import type { WfmAgentScheduleShiftPause } from './wfmAgentScheduleShiftPause';
2
+ import type { WfmAgentScheduleShiftSkill } from './wfmAgentScheduleShiftSkill';
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 { WfmAgentScheduleShiftPause } from './wfmAgentScheduleShiftPause';
8
- import type { WfmAgentScheduleShiftSkill } from './wfmAgentScheduleShiftSkill';
9
9
  import type { WfmLookupEntity } from './wfmLookupEntity';
10
10
  export interface WfmAgentScheduleShift {
11
11
  createdAt?: string;
@@ -1,10 +1,10 @@
1
+ import type { WfmAgentSchedule } from './wfmAgentSchedule';
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 { WfmAgentSchedule } from './wfmAgentSchedule';
8
8
  import type { WfmLookupEntity } from './wfmLookupEntity';
9
9
  export interface WfmAgentWorkingSchedule {
10
10
  agent?: WfmLookupEntity;
@@ -1,10 +1,10 @@
1
+ import type { WfmLookupEntity } from './wfmLookupEntity';
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 { WfmLookupEntity } from './wfmLookupEntity';
8
8
  import type { WfmPauseTemplateCause } from './wfmPauseTemplateCause';
9
9
  export interface WfmPauseTemplate {
10
10
  causes?: WfmPauseTemplateCause[];
@@ -1,10 +1,10 @@
1
+ import type { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
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 { WfmAgentWorkingSchedule } from './wfmAgentWorkingSchedule';
8
8
  import type { WfmHoliday } from './wfmHoliday';
9
9
  export interface WfmSearchAgentsWorkingScheduleResponse {
10
10
  holidays?: WfmHoliday[];
@@ -80,8 +80,8 @@ export declare const agentChatServiceGetAgentChatsResponse: zod.ZodObject<{
80
80
  code: zod.ZodOptional<zod.ZodString>;
81
81
  share: zod.ZodDefault<zod.ZodEnum<{
82
82
  email: "email";
83
- contact: "contact";
84
83
  phone: "phone";
84
+ contact: "contact";
85
85
  location: "location";
86
86
  }>>;
87
87
  text: zod.ZodOptional<zod.ZodString>;
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig, AxiosResponse } from 'axios';
2
- import type { ArticlesArticlesAttachmentListParams, ArticlesArticleVersionsListParams, ArticlesCreateArticleParams, ArticlesDeleteArticleParams, ArticlesListArticles2Params, ArticlesListArticlesParams, ArticlesLocateArticleParams, ArticlesUpdateArticleBody, ArticlesUpdateArticleParams, WebitelKnowledgebaseArticle, WebitelKnowledgebaseArticleList, WebitelKnowledgebaseArticleVersion, WebitelKnowledgebaseArticleVersionList, WebitelKnowledgebaseAttachmentList, WebitelKnowledgebaseInputArticle } from '.././_models';
2
+ import type { ArticlesArticleVersionsListParams, ArticlesArticlesAttachmentListParams, ArticlesCreateArticleParams, ArticlesDeleteArticleParams, ArticlesListArticles2Params, ArticlesListArticlesParams, ArticlesLocateArticleParams, ArticlesUpdateArticleBody, ArticlesUpdateArticleParams, WebitelKnowledgebaseArticle, WebitelKnowledgebaseArticleList, WebitelKnowledgebaseArticleVersion, WebitelKnowledgebaseArticleVersionList, WebitelKnowledgebaseAttachmentList, WebitelKnowledgebaseInputArticle } from '.././_models';
3
3
  export declare const // --- title start
4
4
  getArticles: () => {
5
5
  articlesListArticles: <TData = AxiosResponse<WebitelKnowledgebaseArticleList, any>>(spaceId: string, params?: ArticlesListArticlesParams, options?: AxiosRequestConfig) => Promise<TData>;
@@ -427,18 +427,18 @@ export declare const searchHistoryCallResponse: zod.ZodObject<{
427
427
  filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
428
428
  action: zod.ZodDefault<zod.ZodEnum<{
429
429
  undefined: "undefined";
430
- delete: "delete";
431
430
  STT: "STT";
431
+ delete: "delete";
432
432
  }>>;
433
433
  createdAt: zod.ZodOptional<zod.ZodString>;
434
434
  errorDetail: zod.ZodOptional<zod.ZodString>;
435
435
  fileId: zod.ZodOptional<zod.ZodString>;
436
436
  id: zod.ZodOptional<zod.ZodString>;
437
437
  state: zod.ZodDefault<zod.ZodEnum<{
438
- error: "error";
439
438
  idle: "idle";
440
439
  active: "active";
441
440
  finished: "finished";
441
+ error: "error";
442
442
  }>>;
443
443
  }, zod.core.$strip>>>;
444
444
  from: zod.ZodOptional<zod.ZodObject<{
@@ -677,18 +677,18 @@ export declare const searchHistoryCallPostResponse: zod.ZodObject<{
677
677
  filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
678
678
  action: zod.ZodDefault<zod.ZodEnum<{
679
679
  undefined: "undefined";
680
- delete: "delete";
681
680
  STT: "STT";
681
+ delete: "delete";
682
682
  }>>;
683
683
  createdAt: zod.ZodOptional<zod.ZodString>;
684
684
  errorDetail: zod.ZodOptional<zod.ZodString>;
685
685
  fileId: zod.ZodOptional<zod.ZodString>;
686
686
  id: zod.ZodOptional<zod.ZodString>;
687
687
  state: zod.ZodDefault<zod.ZodEnum<{
688
- error: "error";
689
688
  idle: "idle";
690
689
  active: "active";
691
690
  finished: "finished";
691
+ error: "error";
692
692
  }>>;
693
693
  }, zod.core.$strip>>>;
694
694
  from: zod.ZodOptional<zod.ZodObject<{
@@ -1009,18 +1009,18 @@ export declare const patchHistoryCallResponse: zod.ZodObject<{
1009
1009
  filesJob: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1010
1010
  action: zod.ZodDefault<zod.ZodEnum<{
1011
1011
  undefined: "undefined";
1012
- delete: "delete";
1013
1012
  STT: "STT";
1013
+ delete: "delete";
1014
1014
  }>>;
1015
1015
  createdAt: zod.ZodOptional<zod.ZodString>;
1016
1016
  errorDetail: zod.ZodOptional<zod.ZodString>;
1017
1017
  fileId: zod.ZodOptional<zod.ZodString>;
1018
1018
  id: zod.ZodOptional<zod.ZodString>;
1019
1019
  state: zod.ZodDefault<zod.ZodEnum<{
1020
- error: "error";
1021
1020
  idle: "idle";
1022
1021
  active: "active";
1023
1022
  finished: "finished";
1023
+ error: "error";
1024
1024
  }>>;
1025
1025
  }, zod.core.$strip>>>;
1026
1026
  from: zod.ZodOptional<zod.ZodObject<{