@webitel/api-services 0.0.37 → 0.0.38

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 (156) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/index.ts +1 -1
  3. package/src/gen/_docs/.nojekyll +1 -0
  4. package/types/api/clients/index.d.ts +0 -1
  5. package/types/api/clients/roles/roles.d.ts +4 -0
  6. package/types/defaults/index.d.ts +2 -0
  7. package/types/gen/_models/agentAbsenceServiceUpdateAgentAbsenceBodyItem.d.ts +1 -1
  8. package/types/gen/_models/agentWorkingScheduleServiceCreateAgentsWorkingScheduleShiftsBody.d.ts +2 -2
  9. package/types/gen/_models/apiAccessStoreToggleDefaultAccessBody.d.ts +1 -1
  10. package/types/gen/_models/apiCustomer.d.ts +2 -2
  11. package/types/gen/_models/apiDevice.d.ts +1 -1
  12. package/types/gen/_models/apiLDAPCatalog.d.ts +4 -4
  13. package/types/gen/_models/apiLDAPUpdateLDAPCatalogBodyCatalog.d.ts +4 -4
  14. package/types/gen/_models/apiLDAProcess.d.ts +2 -2
  15. package/types/gen/_models/apiLicenseV1.d.ts +1 -1
  16. package/types/gen/_models/apiRole.d.ts +3 -3
  17. package/types/gen/_models/apiRolesUpdateRoleBodyRole.d.ts +3 -3
  18. package/types/gen/_models/apiUser.d.ts +1 -1
  19. package/types/gen/_models/apiUsersUpdateUserBodyUser.d.ts +1 -1
  20. package/types/gen/_models/casesCaseCustom.d.ts +12 -0
  21. package/types/gen/_models/casesInputCaseCustom.d.ts +12 -0
  22. package/types/gen/_models/casesInputCreateCaseCustom.d.ts +12 -0
  23. package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
  24. package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
  25. package/types/gen/_models/contactsUpdateContactBody.d.ts +1 -1
  26. package/types/gen/_models/engineActiveCall.d.ts +2 -2
  27. package/types/gen/_models/engineAgent.d.ts +1 -3
  28. package/types/gen/_models/engineAgentInQueueStatistics.d.ts +1 -1
  29. package/types/gen/_models/engineAgentServicePatchAgentBody.d.ts +0 -1
  30. package/types/gen/_models/engineAgentServiceUpdateAgentBody.d.ts +0 -1
  31. package/types/gen/_models/engineAgentStatsStatistic.d.ts +0 -1
  32. package/types/gen/_models/engineAgentStatusStatisticItem.d.ts +0 -1
  33. package/types/gen/_models/engineAgentTeam.d.ts +0 -1
  34. package/types/gen/_models/engineAgentTeamServiceUpdateAgentTeamBody.d.ts +0 -1
  35. package/types/gen/_models/engineAggregateHistoryCallRequest.d.ts +1 -1
  36. package/types/gen/_models/engineAttempt.d.ts +1 -1
  37. package/types/gen/_models/engineAttemptHistory.d.ts +1 -1
  38. package/types/gen/_models/engineAuditFormServicePatchAuditFormBody.d.ts +1 -1
  39. package/types/gen/_models/engineAuditFormServiceUpdateAuditFormBody.d.ts +1 -1
  40. package/types/gen/_models/engineAuditRate.d.ts +2 -2
  41. package/types/gen/_models/engineCreateAgentRequest.d.ts +0 -1
  42. package/types/gen/_models/engineCreateAgentTeamRequest.d.ts +0 -1
  43. package/types/gen/_models/engineCreateAuditFormRequest.d.ts +1 -1
  44. package/types/gen/_models/engineCreateCallRequest.d.ts +1 -1
  45. package/types/gen/_models/engineCreateMemberBulkItem.d.ts +1 -1
  46. package/types/gen/_models/engineCreateOutboundResourceRequest.d.ts +2 -2
  47. package/types/gen/_models/engineCreateQueueRequest.d.ts +2 -2
  48. package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -1
  49. package/types/gen/_models/engineCreateTriggerRequest.d.ts +2 -2
  50. package/types/gen/_models/engineDeleteAllMembersRequest.d.ts +1 -1
  51. package/types/gen/_models/engineHistoryCall.d.ts +6 -6
  52. package/types/gen/_models/engineListReportGeneral.d.ts +1 -1
  53. package/types/gen/_models/engineOutboundResource.d.ts +1 -1
  54. package/types/gen/_models/engineOutboundResourceServicePatchOutboundResourceBody.d.ts +1 -1
  55. package/types/gen/_models/engineOutboundResourceServiceUpdateOutboundResourceBody.d.ts +1 -1
  56. package/types/gen/_models/engineQuestion.d.ts +1 -1
  57. package/types/gen/_models/engineQueue.d.ts +2 -2
  58. package/types/gen/_models/engineQueueReportGeneral.d.ts +1 -1
  59. package/types/gen/_models/engineQueueServicePatchQueueBody.d.ts +2 -2
  60. package/types/gen/_models/engineQueueServiceUpdateQueueBody.d.ts +2 -2
  61. package/types/gen/_models/engineRoutingSchema.d.ts +2 -2
  62. package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -1
  63. package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -1
  64. package/types/gen/_models/engineSystemSettingName.d.ts +0 -4
  65. package/types/gen/_models/engineTeamHook.d.ts +1 -1
  66. package/types/gen/_models/engineTeamHookServiceCreateTeamHookBody.d.ts +1 -1
  67. package/types/gen/_models/engineTeamHookServicePatchTeamHookBody.d.ts +1 -1
  68. package/types/gen/_models/engineTeamHookServiceUpdateTeamHookBody.d.ts +1 -1
  69. package/types/gen/_models/engineTrigger.d.ts +1 -1
  70. package/types/gen/_models/engineTriggerJob.d.ts +1 -1
  71. package/types/gen/_models/engineTriggerServicePatchTriggerBody.d.ts +1 -1
  72. package/types/gen/_models/engineTriggerServiceUpdateTriggerBody.d.ts +1 -1
  73. package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
  74. package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
  75. package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
  76. package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
  77. package/types/gen/_models/pauseTemplateServiceUpdatePauseTemplateBodyItem.d.ts +1 -1
  78. package/types/gen/_models/protobufNullValue.d.ts +18 -0
  79. package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
  80. package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
  81. package/types/gen/_models/searchConfigParams.d.ts +18 -0
  82. package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
  83. package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
  84. package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
  85. package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
  86. package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
  87. package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
  88. package/types/gen/_models/searchSystemSettingNameItem.d.ts +0 -4
  89. package/types/gen/_models/storageCreateImportTemplateRequest.d.ts +1 -1
  90. package/types/gen/_models/storageFile.d.ts +2 -2
  91. package/types/gen/_models/storageFilePolicy.d.ts +1 -1
  92. package/types/gen/_models/storageImportTemplate.d.ts +2 -2
  93. package/types/gen/_models/storageSafeUploadFileResponseMetadata.d.ts +1 -1
  94. package/types/gen/_models/storageUpdateCognitiveProfileRequest.d.ts +2 -2
  95. package/types/gen/_models/storageUpdateImportTemplateRequest.d.ts +1 -1
  96. package/types/gen/_models/storageUploadFileResponse.d.ts +1 -1
  97. package/types/gen/_models/storageUploadFileUrlResponse.d.ts +1 -1
  98. package/types/gen/_models/storageUploadP2PVideoResponse.d.ts +0 -1
  99. package/types/gen/_models/usersUpdateUser2Body.d.ts +1 -1
  100. package/types/gen/_models/usersUpdateUserBody.d.ts +1 -1
  101. package/types/gen/_models/usersUpdateUserUserBody.d.ts +1 -1
  102. package/types/gen/_models/webitelCasesCallEvent.d.ts +1 -1
  103. package/types/gen/_models/webitelCasesCase.d.ts +2 -3
  104. package/types/gen/_models/webitelCasesChatEvent.d.ts +1 -1
  105. package/types/gen/_models/webitelCasesEmailEvent.d.ts +1 -1
  106. package/types/gen/_models/webitelCasesFile.d.ts +3 -3
  107. package/types/gen/_models/webitelCasesInputCreateService.d.ts +1 -1
  108. package/types/gen/_models/webitelCasesInputService.d.ts +1 -1
  109. package/types/gen/_models/webitelCasesInputSource.d.ts +1 -0
  110. package/types/gen/_models/webitelCasesService.d.ts +1 -1
  111. package/types/gen/_models/webitelCasesSource.d.ts +6 -5
  112. package/types/gen/_models/webitelChatAgentChat.d.ts +1 -1
  113. package/types/gen/_models/webitelChatBroadcastMessageRequest.d.ts +1 -1
  114. package/types/gen/_models/webitelChatChatMessage.d.ts +2 -2
  115. package/types/gen/_models/webitelChatContactChat.d.ts +1 -1
  116. package/types/gen/_models/webitelChatDialog.d.ts +1 -1
  117. package/types/gen/_models/webitelChatGetContactChatHistoryResponse.d.ts +2 -2
  118. package/types/gen/_models/webitelContactsComment.d.ts +1 -1
  119. package/types/gen/_models/webitelContactsIMClient.d.ts +0 -2
  120. package/types/gen/_models/webitelProtoDataStruct.d.ts +1 -1
  121. package/types/gen/_models/wfmAbsence.d.ts +1 -1
  122. package/types/gen/_models/wfmAgentScheduleShift.d.ts +2 -2
  123. package/types/gen/_models/wfmAgentWorkingSchedule.d.ts +1 -1
  124. package/types/gen/_models/wfmPauseTemplate.d.ts +1 -1
  125. package/types/gen/_models/wfmSearchAgentsWorkingScheduleResponse.d.ts +1 -1
  126. package/types/gen/agent-chat-service/agent-chat-service.zod.gen.d.ts +1 -1
  127. package/types/gen/agent-service/agent-service.zod.gen.d.ts +0 -17
  128. package/types/gen/agent-team-service/agent-team-service.zod.gen.d.ts +0 -7
  129. package/types/gen/articles/articles.api.gen.d.ts +1 -1
  130. package/types/gen/call-service/call-service.zod.gen.d.ts +6 -6
  131. package/types/gen/cases-chat-catalog/cases-chat-catalog.zod.gen.d.ts +1 -1
  132. package/types/gen/catalog/catalog.zod.gen.d.ts +3 -3
  133. package/types/gen/config-service/config-service.zod.gen.d.ts +2 -2
  134. package/types/gen/contacts/contacts.zod.gen.d.ts +2 -7
  135. package/types/gen/contacts-chat-catalog/contacts-chat-catalog.zod.gen.d.ts +2 -2
  136. package/types/gen/dictionaries/dictionaries.zod.gen.d.ts +33 -33
  137. package/types/gen/extensions/extensions.zod.gen.d.ts +24 -24
  138. package/types/gen/file-service/file-service.api.gen.d.ts +1 -5
  139. package/types/gen/file-service/file-service.msw.api.gen.d.ts +1 -5
  140. package/types/gen/file-service/file-service.zod.gen.d.ts +0 -18
  141. package/types/gen/groups/groups.zod.gen.d.ts +0 -2
  142. package/types/gen/imclients/imclients.zod.gen.d.ts +0 -1
  143. package/types/gen/ldap/ldap.api.gen.d.ts +1 -1
  144. package/types/gen/ldap/ldap.msw.api.gen.d.ts +1 -1
  145. package/types/gen/logger-service/logger-service.zod.gen.d.ts +5 -5
  146. package/types/gen/system-setting-service/system-setting-service.zod.gen.d.ts +0 -32
  147. package/types/gen/timeline/timeline.zod.gen.d.ts +2 -2
  148. package/types/gen/trigger-service/trigger-service.zod.gen.d.ts +15 -15
  149. package/types/gen/types/types.zod.gen.d.ts +6 -6
  150. package/types/gen/user-helper-service/user-helper-service.api.gen.d.ts +1 -3
  151. package/types/gen/user-helper-service/user-helper-service.msw.api.gen.d.ts +1 -3
  152. package/types/gen/user-helper-service/user-helper-service.zod.gen.d.ts +0 -24
  153. package/types/utils/gen/index.d.ts +4 -10
  154. package/src/api/clients/roles/roles.ts +0 -186
  155. package/types/gen/_models/googleRpcStatus.d.ts +0 -12
  156. package/types/gen/_models/webitelCasesStatus.d.ts +0 -16
@@ -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
@@ -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;
@@ -5,6 +5,5 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export interface StorageUploadP2PVideoResponse {
8
- id?: string;
9
8
  sdpAnswer?: string;
10
9
  }
@@ -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';
@@ -12,7 +12,6 @@ import type { WebitelCasesCaseFileList } from './webitelCasesCaseFileList';
12
12
  import type { WebitelCasesCaseLinkList } from './webitelCasesCaseLinkList';
13
13
  import type { WebitelCasesPriority } from './webitelCasesPriority';
14
14
  import type { WebitelCasesRelatedCaseList } from './webitelCasesRelatedCaseList';
15
- import type { WebitelCasesService } from './webitelCasesService';
16
15
  import type { WebitelCasesSourceTypeLookup } from './webitelCasesSourceTypeLookup';
17
16
  import type { WebitelCasesStatusCondition } from './webitelCasesStatusCondition';
18
17
  /**
@@ -72,7 +71,7 @@ export interface WebitelCasesCase {
72
71
  resolvedAt?: string;
73
72
  roleIds?: string[];
74
73
  /** Service associated with the case. */
75
- service?: WebitelCasesService;
74
+ service?: GeneralLookup;
76
75
  /** SLA associated with the case. */
77
76
  sla?: GeneralLookup;
78
77
  /** List of SLA conditions. */
@@ -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[];
@@ -4,15 +4,16 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- import type { GeneralExtendedLookup } from './generalExtendedLookup';
7
+ import type { GeneralLookup } from './generalLookup';
8
8
  /**
9
9
  * Metadata for a file associated with a case.
10
10
  */
11
11
  export interface WebitelCasesFile {
12
+ author?: GeneralLookup;
12
13
  /** Creation timestamp in Unix milliseconds. */
13
14
  createdAt?: string;
14
15
  /** Creator of the file. */
15
- createdBy?: GeneralExtendedLookup;
16
+ createdBy?: GeneralLookup;
16
17
  /** Storage file ID. */
17
18
  id?: string;
18
19
  /** MIME type of the file. */
@@ -21,6 +22,5 @@ export interface WebitelCasesFile {
21
22
  name?: string;
22
23
  /** File size in bytes. */
23
24
  size?: string;
24
- source?: string;
25
25
  url?: string;
26
26
  }
@@ -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. */
@@ -20,8 +20,6 @@ Name will be name of the gateway. */
20
20
  /** Unique ID of the latest version of the update.
21
21
  This ID changes after any update to the underlying value(s). */
22
22
  etag?: string;
23
- /** External user id. */
24
- externalId?: string;
25
23
  /** The unique ID of the association. Never changes. */
26
24
  id?: string;
27
25
  /** Protocol used to connect the IM client. */
@@ -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>;
@@ -32,7 +32,6 @@ export declare const searchAgentQueryParams: zod.ZodObject<{
32
32
  export declare const searchAgentResponse: zod.ZodObject<{
33
33
  items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
34
34
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
35
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
36
35
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
37
36
  id: zod.ZodOptional<zod.ZodString>;
38
37
  name: zod.ZodOptional<zod.ZodString>;
@@ -59,7 +58,6 @@ export declare const searchAgentResponse: zod.ZodObject<{
59
58
  id: zod.ZodOptional<zod.ZodString>;
60
59
  name: zod.ZodOptional<zod.ZodString>;
61
60
  }, zod.core.$strip>>;
62
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
63
61
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
64
62
  id: zod.ZodOptional<zod.ZodString>;
65
63
  name: zod.ZodOptional<zod.ZodString>;
@@ -104,7 +102,6 @@ export declare const createAgentBody: zod.ZodObject<{
104
102
  id: zod.ZodOptional<zod.ZodString>;
105
103
  name: zod.ZodOptional<zod.ZodString>;
106
104
  }, zod.core.$strip>>;
107
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
108
105
  supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
109
106
  id: zod.ZodOptional<zod.ZodString>;
110
107
  name: zod.ZodOptional<zod.ZodString>;
@@ -121,7 +118,6 @@ export declare const createAgentBody: zod.ZodObject<{
121
118
  }, zod.core.$strip>;
122
119
  export declare const createAgentResponse: zod.ZodObject<{
123
120
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
124
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
125
121
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
126
122
  id: zod.ZodOptional<zod.ZodString>;
127
123
  name: zod.ZodOptional<zod.ZodString>;
@@ -148,7 +144,6 @@ export declare const createAgentResponse: zod.ZodObject<{
148
144
  id: zod.ZodOptional<zod.ZodString>;
149
145
  name: zod.ZodOptional<zod.ZodString>;
150
146
  }, zod.core.$strip>>;
151
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
152
147
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
153
148
  id: zod.ZodOptional<zod.ZodString>;
154
149
  name: zod.ZodOptional<zod.ZodString>;
@@ -231,7 +226,6 @@ export declare const searchAgentStatusStatisticResponse: zod.ZodObject<{
231
226
  }, zod.core.$strip>>>;
232
227
  callTime: zod.ZodOptional<zod.ZodString>;
233
228
  chatCount: zod.ZodOptional<zod.ZodNumber>;
234
- descTrack: zod.ZodOptional<zod.ZodBoolean>;
235
229
  extension: zod.ZodOptional<zod.ZodString>;
236
230
  handles: zod.ZodOptional<zod.ZodNumber>;
237
231
  maxBridgedAt: zod.ZodOptional<zod.ZodString>;
@@ -284,7 +278,6 @@ export declare const searchAgentStatusStatisticItemResponse: zod.ZodObject<{
284
278
  name: zod.ZodOptional<zod.ZodString>;
285
279
  }, zod.core.$strip>>>;
286
280
  chatCount: zod.ZodOptional<zod.ZodNumber>;
287
- descTrack: zod.ZodOptional<zod.ZodBoolean>;
288
281
  extension: zod.ZodOptional<zod.ZodString>;
289
282
  name: zod.ZodOptional<zod.ZodString>;
290
283
  offline: zod.ZodOptional<zod.ZodString>;
@@ -464,7 +457,6 @@ export declare const deleteAgentQueryParams: zod.ZodObject<{
464
457
  }, zod.core.$strip>;
465
458
  export declare const deleteAgentResponse: zod.ZodObject<{
466
459
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
467
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
468
460
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
469
461
  id: zod.ZodOptional<zod.ZodString>;
470
462
  name: zod.ZodOptional<zod.ZodString>;
@@ -491,7 +483,6 @@ export declare const deleteAgentResponse: zod.ZodObject<{
491
483
  id: zod.ZodOptional<zod.ZodString>;
492
484
  name: zod.ZodOptional<zod.ZodString>;
493
485
  }, zod.core.$strip>>;
494
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
495
486
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
496
487
  id: zod.ZodOptional<zod.ZodString>;
497
488
  name: zod.ZodOptional<zod.ZodString>;
@@ -523,7 +514,6 @@ export declare const readAgentQueryParams: zod.ZodObject<{
523
514
  }, zod.core.$strip>;
524
515
  export declare const readAgentResponse: zod.ZodObject<{
525
516
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
526
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
527
517
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
528
518
  id: zod.ZodOptional<zod.ZodString>;
529
519
  name: zod.ZodOptional<zod.ZodString>;
@@ -550,7 +540,6 @@ export declare const readAgentResponse: zod.ZodObject<{
550
540
  id: zod.ZodOptional<zod.ZodString>;
551
541
  name: zod.ZodOptional<zod.ZodString>;
552
542
  }, zod.core.$strip>>;
553
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
554
543
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
555
544
  id: zod.ZodOptional<zod.ZodString>;
556
545
  name: zod.ZodOptional<zod.ZodString>;
@@ -596,7 +585,6 @@ export declare const patchAgentBody: zod.ZodObject<{
596
585
  id: zod.ZodOptional<zod.ZodString>;
597
586
  name: zod.ZodOptional<zod.ZodString>;
598
587
  }, zod.core.$strip>>;
599
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
600
588
  supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
601
589
  id: zod.ZodOptional<zod.ZodString>;
602
590
  name: zod.ZodOptional<zod.ZodString>;
@@ -612,7 +600,6 @@ export declare const patchAgentBody: zod.ZodObject<{
612
600
  }, zod.core.$strip>;
613
601
  export declare const patchAgentResponse: zod.ZodObject<{
614
602
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
615
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
616
603
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
617
604
  id: zod.ZodOptional<zod.ZodString>;
618
605
  name: zod.ZodOptional<zod.ZodString>;
@@ -639,7 +626,6 @@ export declare const patchAgentResponse: zod.ZodObject<{
639
626
  id: zod.ZodOptional<zod.ZodString>;
640
627
  name: zod.ZodOptional<zod.ZodString>;
641
628
  }, zod.core.$strip>>;
642
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
643
629
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
644
630
  id: zod.ZodOptional<zod.ZodString>;
645
631
  name: zod.ZodOptional<zod.ZodString>;
@@ -685,7 +671,6 @@ export declare const updateAgentBody: zod.ZodObject<{
685
671
  id: zod.ZodOptional<zod.ZodString>;
686
672
  name: zod.ZodOptional<zod.ZodString>;
687
673
  }, zod.core.$strip>>;
688
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
689
674
  supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
690
675
  id: zod.ZodOptional<zod.ZodString>;
691
676
  name: zod.ZodOptional<zod.ZodString>;
@@ -702,7 +687,6 @@ export declare const updateAgentBody: zod.ZodObject<{
702
687
  }, zod.core.$strip>;
703
688
  export declare const updateAgentResponse: zod.ZodObject<{
704
689
  allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
705
- allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
706
690
  auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
707
691
  id: zod.ZodOptional<zod.ZodString>;
708
692
  name: zod.ZodOptional<zod.ZodString>;
@@ -729,7 +713,6 @@ export declare const updateAgentResponse: zod.ZodObject<{
729
713
  id: zod.ZodOptional<zod.ZodString>;
730
714
  name: zod.ZodOptional<zod.ZodString>;
731
715
  }, zod.core.$strip>>;
732
- screenControl: zod.ZodOptional<zod.ZodBoolean>;
733
716
  skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
734
717
  id: zod.ZodOptional<zod.ZodString>;
735
718
  name: zod.ZodOptional<zod.ZodString>;