@webitel/api-services 26.8.84 → 26.8.86

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 (127) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/__tests__/wireParamsCoverage.spec.ts +5 -2
  3. package/src/api/clients/queues/defaults/processing.ts +1 -0
  4. package/src/gen/_models/apiUser.ts +2 -0
  5. package/src/gen/_models/catalogGetHistory2Params.ts +4 -0
  6. package/src/gen/_models/catalogGetHistoryParams.ts +4 -0
  7. package/src/gen/_models/engineMemberServiceTransferAttemptBody.ts +12 -0
  8. package/src/gen/_models/engineTransferAttemptResponse.ts +10 -0
  9. package/src/gen/_models/index.ts +8 -0
  10. package/src/gen/_models/listArticlesParams.ts +9 -0
  11. package/src/gen/_models/listArticlesTagMatch.ts +15 -0
  12. package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +11 -0
  13. package/src/gen/_models/messageHistorySearchMessagesParams.ts +11 -0
  14. package/src/gen/_models/messageHistorySearchThreadMessagesHistoryParams.ts +11 -0
  15. package/src/gen/_models/searchAllowedUploadTypesChannelItem.ts +21 -0
  16. package/src/gen/_models/searchAllowedUploadTypesParams.ts +16 -0
  17. package/src/gen/_models/storageAllowedUploadTypes.ts +25 -0
  18. package/src/gen/_models/storageCustomFileProperties.ts +1 -0
  19. package/src/gen/_models/storageGenerateFileLinkResponseMetadata.ts +4 -0
  20. package/src/gen/_models/storageListAllowedUploadTypes.ts +11 -0
  21. package/src/gen/_models/threadManagementRemoveMemberParams.ts +10 -0
  22. package/src/gen/_models/webitelImApiGatewayV1HistoryMessageCursorRequest.ts +11 -0
  23. package/src/gen-wire/_models/apiUser.ts +2 -0
  24. package/src/gen-wire/_models/catalogGetHistory2Params.ts +4 -0
  25. package/src/gen-wire/_models/catalogGetHistoryParams.ts +4 -0
  26. package/src/gen-wire/_models/engineMemberServiceTransferAttemptBody.ts +12 -0
  27. package/src/gen-wire/_models/engineTransferAttemptResponse.ts +10 -0
  28. package/src/gen-wire/_models/index.ts +8 -0
  29. package/src/gen-wire/_models/listArticlesParams.ts +9 -0
  30. package/src/gen-wire/_models/listArticlesTagMatch.ts +15 -0
  31. package/src/gen-wire/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +11 -0
  32. package/src/gen-wire/_models/messageHistorySearchMessagesParams.ts +11 -0
  33. package/src/gen-wire/_models/messageHistorySearchThreadMessagesHistoryParams.ts +11 -0
  34. package/src/gen-wire/_models/searchAllowedUploadTypesChannelItem.ts +21 -0
  35. package/src/gen-wire/_models/searchAllowedUploadTypesParams.ts +16 -0
  36. package/src/gen-wire/_models/storageAllowedUploadTypes.ts +25 -0
  37. package/src/gen-wire/_models/storageCustomFileProperties.ts +1 -0
  38. package/src/gen-wire/_models/storageGenerateFileLinkResponseMetadata.ts +4 -0
  39. package/src/gen-wire/_models/storageListAllowedUploadTypes.ts +11 -0
  40. package/src/gen-wire/_models/threadManagementRemoveMemberParams.ts +10 -0
  41. package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessageCursorRequest.ts +11 -0
  42. package/src/gen-wire/articles/articles.zod.ts +11 -0
  43. package/src/gen-wire/file-policies-service/file-policies-service.ts +21 -0
  44. package/src/gen-wire/file-policies-service/file-policies-service.zod.ts +61 -0
  45. package/src/gen-wire/file-service/file-service.zod.ts +5 -0
  46. package/src/gen-wire/index.ts +5 -0
  47. package/src/gen-wire/member-service/member-service.ts +16 -0
  48. package/src/gen-wire/member-service/member-service.zod.ts +14 -0
  49. package/src/gen-wire/messages/messages.zod.ts +12 -0
  50. package/src/gen-wire/users/users.zod.ts +63 -0
  51. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +18 -0
  52. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +9 -1
  53. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +4 -0
  54. package/src/locale/en/en.ts +9 -0
  55. package/src/locale/es/es.ts +9 -0
  56. package/src/locale/kz/kz.ts +9 -0
  57. package/src/locale/pl/pl.ts +9 -0
  58. package/src/locale/ro/ro.ts +9 -0
  59. package/src/locale/ru/ru.ts +9 -0
  60. package/src/locale/uk/uk.ts +9 -0
  61. package/src/locale/uz/uz.ts +9 -0
  62. package/src/locale/vi/vi.ts +9 -0
  63. package/src/validations/queue/taskProcessing.validations.ts +1 -0
  64. package/types/.tsbuildinfo +1 -1
  65. package/types/api/clients/queues/defaults/processing.d.ts +1 -0
  66. package/types/gen/_models/apiUser.d.ts +2 -0
  67. package/types/gen/_models/catalogGetHistory2Params.d.ts +4 -0
  68. package/types/gen/_models/catalogGetHistoryParams.d.ts +4 -0
  69. package/types/gen/_models/engineMemberServiceTransferAttemptBody.d.ts +11 -0
  70. package/types/gen/_models/engineTransferAttemptResponse.d.ts +9 -0
  71. package/types/gen/_models/index.d.ts +8 -0
  72. package/types/gen/_models/listArticlesParams.d.ts +9 -0
  73. package/types/gen/_models/listArticlesTagMatch.d.ts +12 -0
  74. package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +11 -0
  75. package/types/gen/_models/messageHistorySearchMessagesParams.d.ts +11 -0
  76. package/types/gen/_models/messageHistorySearchThreadMessagesHistoryParams.d.ts +11 -0
  77. package/types/gen/_models/searchAllowedUploadTypesChannelItem.d.ts +18 -0
  78. package/types/gen/_models/searchAllowedUploadTypesParams.d.ts +15 -0
  79. package/types/gen/_models/storageAllowedUploadTypes.d.ts +24 -0
  80. package/types/gen/_models/storageCustomFileProperties.d.ts +1 -0
  81. package/types/gen/_models/storageGenerateFileLinkResponseMetadata.d.ts +4 -0
  82. package/types/gen/_models/storageListAllowedUploadTypes.d.ts +10 -0
  83. package/types/gen/_models/threadManagementRemoveMemberParams.d.ts +9 -0
  84. package/types/gen/_models/webitelImApiGatewayV1HistoryMessageCursorRequest.d.ts +11 -0
  85. package/types/gen-wire/_models/apiUser.d.ts +2 -0
  86. package/types/gen-wire/_models/catalogGetHistory2Params.d.ts +4 -0
  87. package/types/gen-wire/_models/catalogGetHistoryParams.d.ts +4 -0
  88. package/types/gen-wire/_models/engineMemberServiceTransferAttemptBody.d.ts +11 -0
  89. package/types/gen-wire/_models/engineTransferAttemptResponse.d.ts +9 -0
  90. package/types/gen-wire/_models/index.d.ts +8 -0
  91. package/types/gen-wire/_models/listArticlesParams.d.ts +9 -0
  92. package/types/gen-wire/_models/listArticlesTagMatch.d.ts +12 -0
  93. package/types/gen-wire/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +11 -0
  94. package/types/gen-wire/_models/messageHistorySearchMessagesParams.d.ts +11 -0
  95. package/types/gen-wire/_models/messageHistorySearchThreadMessagesHistoryParams.d.ts +11 -0
  96. package/types/gen-wire/_models/searchAllowedUploadTypesChannelItem.d.ts +18 -0
  97. package/types/gen-wire/_models/searchAllowedUploadTypesParams.d.ts +15 -0
  98. package/types/gen-wire/_models/storageAllowedUploadTypes.d.ts +24 -0
  99. package/types/gen-wire/_models/storageCustomFileProperties.d.ts +1 -0
  100. package/types/gen-wire/_models/storageGenerateFileLinkResponseMetadata.d.ts +4 -0
  101. package/types/gen-wire/_models/storageListAllowedUploadTypes.d.ts +10 -0
  102. package/types/gen-wire/_models/threadManagementRemoveMemberParams.d.ts +9 -0
  103. package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessageCursorRequest.d.ts +11 -0
  104. package/types/gen-wire/articles/articles.zod.d.ts +6 -0
  105. package/types/gen-wire/file-policies-service/file-policies-service.d.ts +3 -1
  106. package/types/gen-wire/file-policies-service/file-policies-service.zod.d.ts +35 -0
  107. package/types/gen-wire/file-service/file-service.zod.d.ts +5 -0
  108. package/types/gen-wire/index.d.ts +3 -3
  109. package/types/gen-wire/member-service/member-service.d.ts +3 -1
  110. package/types/gen-wire/member-service/member-service.zod.d.ts +8 -0
  111. package/types/gen-wire/messages/messages.zod.d.ts +2 -0
  112. package/types/gen-wire/users/users.zod.d.ts +45 -0
  113. package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +3 -0
  114. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +2 -2
  115. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +3 -0
  116. package/types/locale/en/en.d.ts +9 -0
  117. package/types/locale/es/es.d.ts +9 -0
  118. package/types/locale/index.d.ts +81 -0
  119. package/types/locale/kz/kz.d.ts +9 -0
  120. package/types/locale/pl/pl.d.ts +9 -0
  121. package/types/locale/ro/ro.d.ts +9 -0
  122. package/types/locale/ru/ru.d.ts +9 -0
  123. package/types/locale/uk/uk.d.ts +9 -0
  124. package/types/locale/uz/uz.d.ts +9 -0
  125. package/types/locale/vi/vi.d.ts +9 -0
  126. package/types/validations/queue/queue.validations.d.ts +2 -0
  127. package/types/validations/queue/taskProcessing.validations.d.ts +1 -0
@@ -3,6 +3,7 @@ export declare const processing: (overrides?: {}) => {
3
3
  formSchema: undefined;
4
4
  sec: number;
5
5
  renewalSec: number;
6
+ autosave: boolean;
6
7
  prolongationOptions: {
7
8
  enabled: boolean;
8
9
  isTimeoutRetry: boolean;
@@ -45,6 +45,8 @@ export interface ApiUser {
45
45
  presence?: ApiUserPresence;
46
46
  profile?: ApiUserProfile;
47
47
  roles?: ApiObjectId[];
48
+ status?: string;
49
+ team?: ApiObjectId;
48
50
  totpUrl?: string;
49
51
  updatedAt?: string;
50
52
  updatedBy?: ApiUserId;
@@ -43,4 +43,8 @@ export type CatalogGetHistory2Params = {
43
43
  * a specified set of variables.
44
44
  */
45
45
  groupStringString?: string;
46
+ /**
47
+ * Sort the result: "date" | "+date" (OLDest..to..NEWest), "-date" (default, NEWest..to..OLDest)
48
+ */
49
+ sort?: string[];
46
50
  };
@@ -48,4 +48,8 @@ export type CatalogGetHistoryParams = {
48
48
  * a specified set of variables.
49
49
  */
50
50
  groupString?: string;
51
+ /**
52
+ * Sort the result: "date" | "+date" (OLDest..to..NEWest), "-date" (default, NEWest..to..OLDest)
53
+ */
54
+ sort?: string[];
51
55
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface EngineMemberServiceTransferAttemptBody {
8
+ /** Exactly one of agent_id or queue_id must be set. */
9
+ agentId?: string;
10
+ queueId?: string;
11
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface EngineTransferAttemptResponse {
8
+ [key: string]: unknown;
9
+ }
@@ -626,6 +626,7 @@ export * from './engineMemberServicePatchMemberOneBody';
626
626
  export * from './engineMemberServicePatchMemberOneBodyVariables';
627
627
  export * from './engineMemberServiceResetMembersBody';
628
628
  export * from './engineMemberServiceResetMembersBodyVariables';
629
+ export * from './engineMemberServiceTransferAttemptBody';
629
630
  export * from './engineMemberServiceUpdateMemberBody';
630
631
  export * from './engineMemberServiceUpdateMemberBodyVariables';
631
632
  export * from './engineMovePositionRoutingOutboundCallResponse';
@@ -755,6 +756,7 @@ export * from './engineTeamTriggerServiceUpdateTeamTriggerBody';
755
756
  export * from './engineTestEmailProfileResponse';
756
757
  export * from './engineTimezone';
757
758
  export * from './engineTranscriptLookup';
759
+ export * from './engineTransferAttemptResponse';
758
760
  export * from './engineTrigger';
759
761
  export * from './engineTriggerEventType';
760
762
  export * from './engineTriggerJob';
@@ -866,6 +868,7 @@ export * from './listArticles2Params';
866
868
  export * from './listArticlesArticlesParams';
867
869
  export * from './listArticlesParams';
868
870
  export * from './listArticlesState';
871
+ export * from './listArticlesTagMatch';
869
872
  export * from './listArticlesType';
870
873
  export * from './listCallExportsParams';
871
874
  export * from './listCaseArticlesParams';
@@ -1049,6 +1052,8 @@ export * from './searchAgentStatusStatisticItemParams';
1049
1052
  export * from './searchAgentStatusStatisticParams';
1050
1053
  export * from './searchAgentTeamParams';
1051
1054
  export * from './searchAgentTriggerParams';
1055
+ export * from './searchAllowedUploadTypesChannelItem';
1056
+ export * from './searchAllowedUploadTypesParams';
1052
1057
  export * from './searchAttemptsHistoryParams';
1053
1058
  export * from './searchAttemptsParams';
1054
1059
  export * from './searchAuditFormParams';
@@ -1167,6 +1172,7 @@ export * from './shiftTemplateServiceUpdateShiftTemplateBody';
1167
1172
  export * from './shiftTemplateServiceUpdateShiftTemplateBodyItem';
1168
1173
  export * from './signupParams';
1169
1174
  export * from './spacesArticlesSearchParams';
1175
+ export * from './storageAllowedUploadTypes';
1170
1176
  export * from './storageBackendProfile';
1171
1177
  export * from './storageBackendProfileProperties';
1172
1178
  export * from './storageBackendProfileServicePatchBackendProfileBody';
@@ -1213,6 +1219,7 @@ export * from './storageImportTemplateServicePatchImportTemplateBody';
1213
1219
  export * from './storageImportTemplateServicePatchImportTemplateBodyParameters';
1214
1220
  export * from './storageImportTemplateServiceUpdateImportTemplateBody';
1215
1221
  export * from './storageImportTemplateServiceUpdateImportTemplateBodyParameters';
1222
+ export * from './storageListAllowedUploadTypes';
1216
1223
  export * from './storageListBackendProfile';
1217
1224
  export * from './storageListCognitiveProfile';
1218
1225
  export * from './storageListCognitiveProfileVoices';
@@ -1250,6 +1257,7 @@ export * from './storageUploadFileUrlResponse';
1250
1257
  export * from './storageUploadStatusCode';
1251
1258
  export * from './suggestTagsParams';
1252
1259
  export * from './threadManagementGetParams';
1260
+ export * from './threadManagementRemoveMemberParams';
1253
1261
  export * from './threadManagementSearchLeftParams';
1254
1262
  export * from './threadManagementSearchLeftTypesItem';
1255
1263
  export * from './threadManagementSearchParams';
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { ListArticlesState } from './listArticlesState';
8
+ import type { ListArticlesTagMatch } from './listArticlesTagMatch';
8
9
  import type { ListArticlesType } from './listArticlesType';
9
10
  export type ListArticlesParams = {
10
11
  /**
@@ -43,4 +44,12 @@ export type ListArticlesParams = {
43
44
  * Set of fields to return.
44
45
  */
45
46
  fields?: string[];
47
+ /**
48
+ * How the tag filter combines the tags.
49
+ *
50
+ * - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
51
+ * - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
52
+ * - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
53
+ */
54
+ tagMatch?: ListArticlesTagMatch;
46
55
  };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type ListArticlesTagMatch = (typeof ListArticlesTagMatch)[keyof typeof ListArticlesTagMatch];
8
+ export declare const ListArticlesTagMatch: {
9
+ readonly TagMatchUnspecified: "TAG_MATCH_UNSPECIFIED";
10
+ readonly TagMatchAll: "TAG_MATCH_ALL";
11
+ readonly TagMatchAny: "TAG_MATCH_ANY";
12
+ };
@@ -41,6 +41,17 @@ export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
41
41
  * true -> fetch messages newer than the cursor (moving toward the present)
42
42
  */
43
43
  cursorBefore?: boolean;
44
+ /**
45
+ * Fetch a window centred on the cursor message in a single request,
46
+ * ignoring `before`. The window holds `size` messages, newest first:
47
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
48
+ * size/2 newer ones. When one side runs short the window is not refilled
49
+ * from the other. next_cursor / prev_cursor continue the history from the
50
+ * window's oldest / newest message.
51
+ *
52
+ * Supported by SearchThreadMessagesHistory only.
53
+ */
54
+ cursorAround?: boolean;
44
55
  /**
45
56
  * Maximum number of messages to return.
46
57
  */
@@ -41,6 +41,17 @@ export type MessageHistorySearchMessagesParams = {
41
41
  * true -> fetch messages newer than the cursor (moving toward the present)
42
42
  */
43
43
  cursorBefore?: boolean;
44
+ /**
45
+ * Fetch a window centred on the cursor message in a single request,
46
+ * ignoring `before`. The window holds `size` messages, newest first:
47
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
48
+ * size/2 newer ones. When one side runs short the window is not refilled
49
+ * from the other. next_cursor / prev_cursor continue the history from the
50
+ * window's oldest / newest message.
51
+ *
52
+ * Supported by SearchThreadMessagesHistory only.
53
+ */
54
+ cursorAround?: boolean;
44
55
  /**
45
56
  * Maximum number of matches to return.
46
57
  */
@@ -35,6 +35,17 @@ export type MessageHistorySearchThreadMessagesHistoryParams = {
35
35
  * true -> fetch messages newer than the cursor (moving toward the present)
36
36
  */
37
37
  cursorBefore?: boolean;
38
+ /**
39
+ * Fetch a window centred on the cursor message in a single request,
40
+ * ignoring `before`. The window holds `size` messages, newest first:
41
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
42
+ * size/2 newer ones. When one side runs short the window is not refilled
43
+ * from the other. next_cursor / prev_cursor continue the history from the
44
+ * window's oldest / newest message.
45
+ *
46
+ * Supported by SearchThreadMessagesHistory only.
47
+ */
48
+ cursorAround?: boolean;
38
49
  /**
39
50
  * Maximum number of messages to return.
40
51
  */
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchAllowedUploadTypesChannelItem = (typeof SearchAllowedUploadTypesChannelItem)[keyof typeof SearchAllowedUploadTypesChannelItem];
8
+ export declare const SearchAllowedUploadTypesChannelItem: {
9
+ readonly UnknownChannel: "UnknownChannel";
10
+ readonly ChatChannel: "ChatChannel";
11
+ readonly MailChannel: "MailChannel";
12
+ readonly CallChannel: "CallChannel";
13
+ readonly LogChannel: "LogChannel";
14
+ readonly MediaChannel: "MediaChannel";
15
+ readonly KnowledgebaseChannel: "KnowledgebaseChannel";
16
+ readonly CasesChannel: "CasesChannel";
17
+ readonly ScreenRecordingChannel: "ScreenRecordingChannel";
18
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchAllowedUploadTypesChannelItem } from './searchAllowedUploadTypesChannelItem';
8
+ export type SearchAllowedUploadTypesParams = {
9
+ /**
10
+ * Channels to return. Empty: every channel.
11
+ *
12
+ * - ScreenRecordingChannel: ScreenshotChannel = 8; // deprecated
13
+ */
14
+ channel?: SearchAllowedUploadTypesChannelItem[];
15
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { StorageUploadFileChannel } from './storageUploadFileChannel';
8
+ export interface StorageAllowedUploadTypes {
9
+ channel?: StorageUploadFileChannel;
10
+ /**
11
+ * Glob patterns (* and ?) of the enabled policies covering the channel, as
12
+ * stored, in match order, without duplicates. Not every pattern fits an HTML
13
+ * accept attribute, and one can match every type without being * or *\/*.
14
+ */
15
+ mimeTypes?: string[];
16
+ /**
17
+ * The type check passes any MIME type on this channel: no enabled policy
18
+ * with MIME types covers it, or one of the patterns below is * or *\/*.
19
+ * Ignore mime_types when true. What follows a type match still applies: the
20
+ * size limit and, on MediaChannel, the check of the content against the
21
+ * declared type.
22
+ */
23
+ unrestricted?: boolean;
24
+ }
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export interface StorageCustomFileProperties {
8
+ duration?: string;
8
9
  endTime?: string;
9
10
  height?: string;
10
11
  startTime?: string;
@@ -4,10 +4,14 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { StorageCustomFileProperties } from './storageCustomFileProperties';
8
+ import type { StorageThumbnail } from './storageThumbnail';
7
9
  export interface StorageGenerateFileLinkResponseMetadata {
8
10
  id?: string;
9
11
  mimeType?: string;
10
12
  name?: string;
13
+ properties?: StorageCustomFileProperties;
11
14
  size?: string;
15
+ thumbnail?: StorageThumbnail;
12
16
  uuid?: string;
13
17
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { StorageAllowedUploadTypes } from './storageAllowedUploadTypes';
8
+ export interface StorageListAllowedUploadTypes {
9
+ items?: StorageAllowedUploadTypes[];
10
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type ThreadManagementRemoveMemberParams = {
8
+ reason?: string;
9
+ };
@@ -34,6 +34,17 @@
34
34
  * - The number of returned messages is controlled separately (e.g., via limit).
35
35
  */
36
36
  export interface WebitelImApiGatewayV1HistoryMessageCursorRequest {
37
+ /**
38
+ * Fetch a window centred on the cursor message in a single request,
39
+ * ignoring `before`. The window holds `size` messages, newest first:
40
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
41
+ * size/2 newer ones. When one side runs short the window is not refilled
42
+ * from the other. next_cursor / prev_cursor continue the history from the
43
+ * window's oldest / newest message.
44
+ *
45
+ * Supported by SearchThreadMessagesHistory only.
46
+ */
47
+ around?: boolean;
37
48
  /**
38
49
  * Pagination direction flag.
39
50
  *
@@ -45,6 +45,8 @@ export interface ApiUser {
45
45
  presence?: ApiUserPresence;
46
46
  profile?: ApiUserProfile;
47
47
  roles?: ApiObjectId[];
48
+ status?: string;
49
+ team?: ApiObjectId;
48
50
  totp_url?: string;
49
51
  updated_at?: string;
50
52
  updated_by?: ApiUserId;
@@ -43,4 +43,8 @@ export type CatalogGetHistory2Params = {
43
43
  * a specified set of variables.
44
44
  */
45
45
  'group[string][string]'?: string;
46
+ /**
47
+ * Sort the result: "date" | "+date" (OLDest..to..NEWest), "-date" (default, NEWest..to..OLDest)
48
+ */
49
+ sort?: string[];
46
50
  };
@@ -48,4 +48,8 @@ export type CatalogGetHistoryParams = {
48
48
  * a specified set of variables.
49
49
  */
50
50
  'group[string]'?: string;
51
+ /**
52
+ * Sort the result: "date" | "+date" (OLDest..to..NEWest), "-date" (default, NEWest..to..OLDest)
53
+ */
54
+ sort?: string[];
51
55
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface EngineMemberServiceTransferAttemptBody {
8
+ /** Exactly one of agent_id or queue_id must be set. */
9
+ agent_id?: string;
10
+ queue_id?: string;
11
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface EngineTransferAttemptResponse {
8
+ [key: string]: unknown;
9
+ }
@@ -619,6 +619,7 @@ export * from './engineMemberServicePatchMemberOneBody';
619
619
  export * from './engineMemberServicePatchMemberOneBodyVariables';
620
620
  export * from './engineMemberServiceResetMembersBody';
621
621
  export * from './engineMemberServiceResetMembersBodyVariables';
622
+ export * from './engineMemberServiceTransferAttemptBody';
622
623
  export * from './engineMemberServiceUpdateMemberBody';
623
624
  export * from './engineMemberServiceUpdateMemberBodyVariables';
624
625
  export * from './engineMovePositionRoutingOutboundCallResponse';
@@ -748,6 +749,7 @@ export * from './engineTeamTriggerServiceUpdateTeamTriggerBody';
748
749
  export * from './engineTestEmailProfileResponse';
749
750
  export * from './engineTimezone';
750
751
  export * from './engineTranscriptLookup';
752
+ export * from './engineTransferAttemptResponse';
751
753
  export * from './engineTrigger';
752
754
  export * from './engineTriggerEventType';
753
755
  export * from './engineTriggerJob';
@@ -859,6 +861,7 @@ export * from './listArticles2Params';
859
861
  export * from './listArticlesArticlesParams';
860
862
  export * from './listArticlesParams';
861
863
  export * from './listArticlesState';
864
+ export * from './listArticlesTagMatch';
862
865
  export * from './listArticlesType';
863
866
  export * from './listCallExportsParams';
864
867
  export * from './listCaseArticlesParams';
@@ -1040,6 +1043,8 @@ export * from './searchAgentStatusStatisticItemParams';
1040
1043
  export * from './searchAgentStatusStatisticParams';
1041
1044
  export * from './searchAgentTeamParams';
1042
1045
  export * from './searchAgentTriggerParams';
1046
+ export * from './searchAllowedUploadTypesChannelItem';
1047
+ export * from './searchAllowedUploadTypesParams';
1043
1048
  export * from './searchAttemptsHistoryParams';
1044
1049
  export * from './searchAttemptsParams';
1045
1050
  export * from './searchAuditFormParams';
@@ -1156,6 +1161,7 @@ export * from './shiftTemplateServiceUpdateShiftTemplateBody';
1156
1161
  export * from './shiftTemplateServiceUpdateShiftTemplateBodyItem';
1157
1162
  export * from './signupParams';
1158
1163
  export * from './spacesArticlesSearchParams';
1164
+ export * from './storageAllowedUploadTypes';
1159
1165
  export * from './storageBackendProfile';
1160
1166
  export * from './storageBackendProfileProperties';
1161
1167
  export * from './storageBackendProfileServicePatchBackendProfileBody';
@@ -1202,6 +1208,7 @@ export * from './storageImportTemplateServicePatchImportTemplateBody';
1202
1208
  export * from './storageImportTemplateServicePatchImportTemplateBodyParameters';
1203
1209
  export * from './storageImportTemplateServiceUpdateImportTemplateBody';
1204
1210
  export * from './storageImportTemplateServiceUpdateImportTemplateBodyParameters';
1211
+ export * from './storageListAllowedUploadTypes';
1205
1212
  export * from './storageListBackendProfile';
1206
1213
  export * from './storageListCognitiveProfile';
1207
1214
  export * from './storageListCognitiveProfileVoices';
@@ -1239,6 +1246,7 @@ export * from './storageUploadFileUrlResponse';
1239
1246
  export * from './storageUploadStatusCode';
1240
1247
  export * from './suggestTagsParams';
1241
1248
  export * from './threadManagementGetParams';
1249
+ export * from './threadManagementRemoveMemberParams';
1242
1250
  export * from './threadManagementSearchLeftParams';
1243
1251
  export * from './threadManagementSearchLeftTypesItem';
1244
1252
  export * from './threadManagementSearchParams';
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { ListArticlesState } from './listArticlesState';
8
+ import type { ListArticlesTagMatch } from './listArticlesTagMatch';
8
9
  import type { ListArticlesType } from './listArticlesType';
9
10
  export type ListArticlesParams = {
10
11
  /**
@@ -43,4 +44,12 @@ export type ListArticlesParams = {
43
44
  * Set of fields to return.
44
45
  */
45
46
  fields?: string[];
47
+ /**
48
+ * How the tag filter combines the tags.
49
+ *
50
+ * - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
51
+ * - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
52
+ * - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
53
+ */
54
+ tag_match?: ListArticlesTagMatch;
46
55
  };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type ListArticlesTagMatch = (typeof ListArticlesTagMatch)[keyof typeof ListArticlesTagMatch];
8
+ export declare const ListArticlesTagMatch: {
9
+ readonly TagMatchUnspecified: "TAG_MATCH_UNSPECIFIED";
10
+ readonly TagMatchAll: "TAG_MATCH_ALL";
11
+ readonly TagMatchAny: "TAG_MATCH_ANY";
12
+ };
@@ -41,6 +41,17 @@ export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
41
41
  * true -> fetch messages newer than the cursor (moving toward the present)
42
42
  */
43
43
  'cursor.before'?: boolean;
44
+ /**
45
+ * Fetch a window centred on the cursor message in a single request,
46
+ * ignoring `before`. The window holds `size` messages, newest first:
47
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
48
+ * size/2 newer ones. When one side runs short the window is not refilled
49
+ * from the other. next_cursor / prev_cursor continue the history from the
50
+ * window's oldest / newest message.
51
+ *
52
+ * Supported by SearchThreadMessagesHistory only.
53
+ */
54
+ 'cursor.around'?: boolean;
44
55
  /**
45
56
  * Maximum number of messages to return.
46
57
  */
@@ -41,6 +41,17 @@ export type MessageHistorySearchMessagesParams = {
41
41
  * true -> fetch messages newer than the cursor (moving toward the present)
42
42
  */
43
43
  'cursor.before'?: boolean;
44
+ /**
45
+ * Fetch a window centred on the cursor message in a single request,
46
+ * ignoring `before`. The window holds `size` messages, newest first:
47
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
48
+ * size/2 newer ones. When one side runs short the window is not refilled
49
+ * from the other. next_cursor / prev_cursor continue the history from the
50
+ * window's oldest / newest message.
51
+ *
52
+ * Supported by SearchThreadMessagesHistory only.
53
+ */
54
+ 'cursor.around'?: boolean;
44
55
  /**
45
56
  * Maximum number of matches to return.
46
57
  */
@@ -35,6 +35,17 @@ export type MessageHistorySearchThreadMessagesHistoryParams = {
35
35
  * true -> fetch messages newer than the cursor (moving toward the present)
36
36
  */
37
37
  'cursor.before'?: boolean;
38
+ /**
39
+ * Fetch a window centred on the cursor message in a single request,
40
+ * ignoring `before`. The window holds `size` messages, newest first:
41
+ * the cursor message with up to size - size/2 - 1 older ones, and up to
42
+ * size/2 newer ones. When one side runs short the window is not refilled
43
+ * from the other. next_cursor / prev_cursor continue the history from the
44
+ * window's oldest / newest message.
45
+ *
46
+ * Supported by SearchThreadMessagesHistory only.
47
+ */
48
+ 'cursor.around'?: boolean;
38
49
  /**
39
50
  * Maximum number of messages to return.
40
51
  */
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchAllowedUploadTypesChannelItem = (typeof SearchAllowedUploadTypesChannelItem)[keyof typeof SearchAllowedUploadTypesChannelItem];
8
+ export declare const SearchAllowedUploadTypesChannelItem: {
9
+ readonly UnknownChannel: "UnknownChannel";
10
+ readonly ChatChannel: "ChatChannel";
11
+ readonly MailChannel: "MailChannel";
12
+ readonly CallChannel: "CallChannel";
13
+ readonly LogChannel: "LogChannel";
14
+ readonly MediaChannel: "MediaChannel";
15
+ readonly KnowledgebaseChannel: "KnowledgebaseChannel";
16
+ readonly CasesChannel: "CasesChannel";
17
+ readonly ScreenRecordingChannel: "ScreenRecordingChannel";
18
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchAllowedUploadTypesChannelItem } from './searchAllowedUploadTypesChannelItem';
8
+ export type SearchAllowedUploadTypesParams = {
9
+ /**
10
+ * Channels to return. Empty: every channel.
11
+ *
12
+ * - ScreenRecordingChannel: ScreenshotChannel = 8; // deprecated
13
+ */
14
+ channel?: SearchAllowedUploadTypesChannelItem[];
15
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { StorageUploadFileChannel } from './storageUploadFileChannel';
8
+ export interface StorageAllowedUploadTypes {
9
+ channel?: StorageUploadFileChannel;
10
+ /**
11
+ * Glob patterns (* and ?) of the enabled policies covering the channel, as
12
+ * stored, in match order, without duplicates. Not every pattern fits an HTML
13
+ * accept attribute, and one can match every type without being * or *\/*.
14
+ */
15
+ mime_types?: string[];
16
+ /**
17
+ * The type check passes any MIME type on this channel: no enabled policy
18
+ * with MIME types covers it, or one of the patterns below is * or *\/*.
19
+ * Ignore mime_types when true. What follows a type match still applies: the
20
+ * size limit and, on MediaChannel, the check of the content against the
21
+ * declared type.
22
+ */
23
+ unrestricted?: boolean;
24
+ }
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  export interface StorageCustomFileProperties {
8
+ duration?: string;
8
9
  end_time?: string;
9
10
  height?: string;
10
11
  start_time?: string;
@@ -4,10 +4,14 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ import type { StorageCustomFileProperties } from './storageCustomFileProperties';
8
+ import type { StorageThumbnail } from './storageThumbnail';
7
9
  export interface StorageGenerateFileLinkResponseMetadata {
8
10
  id?: string;
9
11
  mime_type?: string;
10
12
  name?: string;
13
+ properties?: StorageCustomFileProperties;
11
14
  size?: string;
15
+ thumbnail?: StorageThumbnail;
12
16
  uuid?: string;
13
17
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { StorageAllowedUploadTypes } from './storageAllowedUploadTypes';
8
+ export interface StorageListAllowedUploadTypes {
9
+ items?: StorageAllowedUploadTypes[];
10
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type ThreadManagementRemoveMemberParams = {
8
+ reason?: string;
9
+ };