@webitel/api-services 26.8.47 → 26.8.48
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.
- package/package.json +1 -1
- package/src/api/clients/catalog/__tests__/catalog.spec.ts +79 -0
- package/src/api/clients/catalog/catalog.ts +16 -3
- package/src/gen/_models/apiUserSetting.ts +1 -0
- package/src/gen/_models/deleteMediaFileParams.ts +1 -0
- package/src/gen/_models/deleteRoleParams.ts +17 -0
- package/src/gen/_models/engineAttemptHistory.ts +1 -0
- package/src/gen/_models/engineCreateRoutingSchemaRequest.ts +1 -0
- package/src/gen/_models/engineCreateSchemaVariableRequest.ts +1 -0
- package/src/gen/_models/engineCreateSystemSettingRequest.ts +1 -0
- package/src/gen/_models/engineQueueType.ts +24 -0
- package/src/gen/_models/engineRoutingSchema.ts +1 -0
- package/src/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.ts +1 -0
- package/src/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.ts +1 -0
- package/src/gen/_models/engineSchemaVariable.ts +1 -0
- package/src/gen/_models/engineSchemaVariablesServicePatchSchemaVariableBody.ts +1 -0
- package/src/gen/_models/engineSchemaVariablesServiceUpdateSchemaVariableBody.ts +1 -0
- package/src/gen/_models/engineSchemaVersion.ts +1 -0
- package/src/gen/_models/engineSearchHistoryCallRequest.ts +2 -0
- package/src/gen/_models/engineSystemSetting.ts +1 -0
- package/src/gen/_models/engineSystemSettingServicePatchSystemSettingBody.ts +1 -0
- package/src/gen/_models/engineSystemSettingServiceUpdateSystemSettingBody.ts +1 -1
- package/src/gen/_models/index.ts +25 -2
- package/src/gen/_models/locateArticleParams.ts +13 -0
- package/src/gen/_models/readRoleParams.ts +15 -0
- package/src/gen/_models/roleMetadataParams.ts +17 -0
- package/src/gen/_models/searchHistoryCallExcludedQueueTypesItem.ts +24 -0
- package/src/gen/_models/searchHistoryCallParams.ts +2 -0
- package/src/gen/_models/searchRecordAvailableRolesParams.ts +53 -0
- package/src/gen/_models/searchRetrievalParams.ts +3 -2
- package/src/gen/_models/searchRetrievalTagMatch.ts +1 -0
- package/src/gen/_models/searchRolesParams.ts +50 -0
- package/src/gen/_models/updateArticle2Params.ts +13 -0
- package/src/gen/_models/updateArticleParams.ts +13 -0
- package/src/gen/_models/updateModel2Params.ts +13 -0
- package/src/gen/_models/updateModelParams.ts +13 -0
- package/src/gen/_models/updateSpace2Params.ts +13 -0
- package/src/gen/_models/updateSpaceParams.ts +13 -0
- package/src/gen/_models/webitelCasesCaseTimelinePostprocessingResult.ts +13 -0
- package/src/gen/_models/webitelCasesCaseTimelineVariable.ts +11 -0
- package/src/gen/_models/webitelCasesGetTimelineItemInfoResponse.ts +13 -0
- package/src/gen/_models/webitelImApiGatewayV1GetUpdatesRequest.ts +11 -0
- package/src/gen/_models/webitelImApiGatewayV1GetUpdatesResponse.ts +19 -0
- package/src/gen/_models/webitelImApiGatewayV1HistoryMessage.ts +0 -10
- package/src/gen/_models/webitelImApiGatewayV1MemberReadState.ts +19 -0
- package/src/gen/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SearchThreadResponse.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1Thread.ts +8 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadMemberChange.ts +15 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadMemberChangeAction.ts +16 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadUpdates.ts +27 -0
- package/src/gen/_models/webitelImApiGatewayV1UpdatedMessage.ts +41 -0
- package/src/gen/_models/webitelImApiGatewayV1UpdatedMessageMetadata.ts +10 -0
- package/src/gen/_models/webitelKbArticle.ts +3 -0
- package/src/gen/_models/webitelKbSemanticSearchRequest.ts +1 -1
- package/src/gen/_models/webitelKbTagMatch.ts +3 -1
- package/src/gen-wire/_models/deleteMediaFileParams.ts +1 -0
- package/src/gen-wire/_models/engineAttemptHistory.ts +1 -0
- package/src/gen-wire/_models/engineQueueType.ts +24 -0
- package/src/gen-wire/_models/engineSearchHistoryCallRequest.ts +2 -0
- package/src/gen-wire/_models/index.ts +20 -2
- package/src/gen-wire/_models/locateArticleParams.ts +13 -0
- package/src/gen-wire/_models/searchHistoryCallExcludedQueueTypesItem.ts +24 -0
- package/src/gen-wire/_models/searchHistoryCallParams.ts +2 -0
- package/src/gen-wire/_models/searchRetrievalParams.ts +3 -2
- package/src/gen-wire/_models/searchRetrievalTagMatch.ts +1 -0
- package/src/gen-wire/_models/updateArticle2Params.ts +13 -0
- package/src/gen-wire/_models/updateArticleParams.ts +13 -0
- package/src/gen-wire/_models/updateModel2Params.ts +13 -0
- package/src/gen-wire/_models/updateModelParams.ts +13 -0
- package/src/gen-wire/_models/updateSpace2Params.ts +13 -0
- package/src/gen-wire/_models/updateSpaceParams.ts +13 -0
- package/src/gen-wire/_models/webitelCasesCaseTimelinePostprocessingResult.ts +13 -0
- package/src/gen-wire/_models/webitelCasesCaseTimelineVariable.ts +11 -0
- package/src/gen-wire/_models/webitelCasesGetTimelineItemInfoResponse.ts +13 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1GetUpdatesRequest.ts +11 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1GetUpdatesResponse.ts +19 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.ts +0 -10
- package/src/gen-wire/_models/webitelImApiGatewayV1MemberReadState.ts +19 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SearchThreadResponse.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1Thread.ts +8 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChange.ts +15 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChangeAction.ts +16 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.ts +27 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.ts +41 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1UpdatedMessageMetadata.ts +10 -0
- package/src/gen-wire/_models/webitelKbArticle.ts +3 -0
- package/src/gen-wire/_models/webitelKbSemanticSearchRequest.ts +1 -1
- package/src/gen-wire/_models/webitelKbTagMatch.ts +3 -1
- package/src/gen-wire/articles/articles.ts +42 -3
- package/src/gen-wire/articles/articles.zod.ts +586 -0
- package/src/gen-wire/call-service/call-service.zod.ts +40 -0
- package/src/gen-wire/case-timeline/case-timeline.ts +15 -0
- package/src/gen-wire/case-timeline/case-timeline.zod.ts +35 -0
- package/src/gen-wire/embedding-models/embedding-models.ts +18 -2
- package/src/gen-wire/embedding-models/embedding-models.zod.ts +18 -0
- package/src/gen-wire/index.ts +41 -17
- package/src/gen-wire/index.zod.ts +1 -0
- package/src/gen-wire/media-file-service/media-file-service.zod.ts +1 -0
- package/src/gen-wire/member-service/member-service.zod.ts +1 -0
- package/src/gen-wire/retrieval/retrieval.zod.ts +6 -4
- package/src/gen-wire/spaces/spaces.ts +18 -10
- package/src/gen-wire/spaces/spaces.zod.ts +18 -0
- package/src/gen-wire/timeline/timeline.ts +3 -3
- package/src/gen-wire/timeline/timeline.zod.ts +2 -2
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +18 -189
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +597 -309
- package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.ts +47 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +3350 -0
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/catalog/catalog.d.ts +4 -1
- package/types/gen/_models/apiUserSetting.d.ts +1 -0
- package/types/gen/_models/deleteMediaFileParams.d.ts +1 -0
- package/types/gen/_models/deleteRoleParams.d.ts +16 -0
- package/types/gen/_models/engineAttemptHistory.d.ts +1 -0
- package/types/gen/_models/engineCreateRoutingSchemaRequest.d.ts +1 -0
- package/types/gen/_models/engineCreateSchemaVariableRequest.d.ts +1 -0
- package/types/gen/_models/engineCreateSystemSettingRequest.d.ts +1 -0
- package/types/gen/_models/engineQueueType.d.ts +21 -0
- package/types/gen/_models/engineRoutingSchema.d.ts +1 -0
- package/types/gen/_models/engineRoutingSchemaServicePatchRoutingSchemaBody.d.ts +1 -0
- package/types/gen/_models/engineRoutingSchemaServiceUpdateRoutingSchemaBody.d.ts +1 -0
- package/types/gen/_models/engineSchemaVariable.d.ts +1 -0
- package/types/gen/_models/engineSchemaVariablesServicePatchSchemaVariableBody.d.ts +1 -0
- package/types/gen/_models/engineSchemaVariablesServiceUpdateSchemaVariableBody.d.ts +1 -0
- package/types/gen/_models/engineSchemaVersion.d.ts +1 -0
- package/types/gen/_models/engineSearchHistoryCallRequest.d.ts +2 -0
- package/types/gen/_models/engineSystemSetting.d.ts +1 -0
- package/types/gen/_models/engineSystemSettingServicePatchSystemSettingBody.d.ts +1 -0
- package/types/gen/_models/engineSystemSettingServiceUpdateSystemSettingBody.d.ts +1 -1
- package/types/gen/_models/index.d.ts +25 -2
- package/types/gen/_models/locateArticleParams.d.ts +12 -0
- package/types/gen/_models/readRoleParams.d.ts +14 -0
- package/types/gen/_models/roleMetadataParams.d.ts +16 -0
- package/types/gen/_models/searchHistoryCallExcludedQueueTypesItem.d.ts +21 -0
- package/types/gen/_models/searchHistoryCallParams.d.ts +2 -0
- package/types/gen/_models/searchRecordAvailableRolesParams.d.ts +52 -0
- package/types/gen/_models/searchRetrievalParams.d.ts +3 -2
- package/types/gen/_models/searchRetrievalTagMatch.d.ts +1 -0
- package/types/gen/_models/searchRolesParams.d.ts +49 -0
- package/types/gen/_models/updateArticle2Params.d.ts +12 -0
- package/types/gen/_models/updateArticleParams.d.ts +12 -0
- package/types/gen/_models/updateModel2Params.d.ts +12 -0
- package/types/gen/_models/updateModelParams.d.ts +12 -0
- package/types/gen/_models/updateSpace2Params.d.ts +12 -0
- package/types/gen/_models/updateSpaceParams.d.ts +12 -0
- package/types/gen/_models/webitelCasesCaseTimelinePostprocessingResult.d.ts +12 -0
- package/types/gen/_models/webitelCasesCaseTimelineVariable.d.ts +10 -0
- package/types/gen/_models/webitelCasesGetTimelineItemInfoResponse.d.ts +12 -0
- package/types/gen/_models/webitelImApiGatewayV1GetUpdatesRequest.d.ts +10 -0
- package/types/gen/_models/webitelImApiGatewayV1GetUpdatesResponse.d.ts +18 -0
- package/types/gen/_models/webitelImApiGatewayV1HistoryMessage.d.ts +0 -10
- package/types/gen/_models/webitelImApiGatewayV1MemberReadState.d.ts +18 -0
- package/types/gen/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SearchThreadResponse.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadMemberChange.d.ts +14 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadMemberChangeAction.d.ts +12 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +26 -0
- package/types/gen/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +40 -0
- package/types/gen/_models/webitelImApiGatewayV1UpdatedMessageMetadata.d.ts +9 -0
- package/types/gen/_models/webitelKbArticle.d.ts +3 -0
- package/types/gen/_models/webitelKbSemanticSearchRequest.d.ts +1 -1
- package/types/gen/_models/webitelKbTagMatch.d.ts +3 -1
- package/types/gen-wire/_models/deleteMediaFileParams.d.ts +1 -0
- package/types/gen-wire/_models/engineAttemptHistory.d.ts +1 -0
- package/types/gen-wire/_models/engineQueueType.d.ts +21 -0
- package/types/gen-wire/_models/engineSearchHistoryCallRequest.d.ts +2 -0
- package/types/gen-wire/_models/index.d.ts +20 -2
- package/types/gen-wire/_models/locateArticleParams.d.ts +12 -0
- package/types/gen-wire/_models/searchHistoryCallExcludedQueueTypesItem.d.ts +21 -0
- package/types/gen-wire/_models/searchHistoryCallParams.d.ts +2 -0
- package/types/gen-wire/_models/searchRetrievalParams.d.ts +3 -2
- package/types/gen-wire/_models/searchRetrievalTagMatch.d.ts +1 -0
- package/types/gen-wire/_models/updateArticle2Params.d.ts +12 -0
- package/types/gen-wire/_models/updateArticleParams.d.ts +12 -0
- package/types/gen-wire/_models/updateModel2Params.d.ts +12 -0
- package/types/gen-wire/_models/updateModelParams.d.ts +12 -0
- package/types/gen-wire/_models/updateSpace2Params.d.ts +12 -0
- package/types/gen-wire/_models/updateSpaceParams.d.ts +12 -0
- package/types/gen-wire/_models/webitelCasesCaseTimelinePostprocessingResult.d.ts +12 -0
- package/types/gen-wire/_models/webitelCasesCaseTimelineVariable.d.ts +10 -0
- package/types/gen-wire/_models/webitelCasesGetTimelineItemInfoResponse.d.ts +12 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1GetUpdatesRequest.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1GetUpdatesResponse.d.ts +18 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.d.ts +0 -10
- package/types/gen-wire/_models/webitelImApiGatewayV1MemberReadState.d.ts +18 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SearchMessageHistoryResponse.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SearchThreadResponse.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChange.d.ts +14 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadMemberChangeAction.d.ts +12 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +26 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +40 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1UpdatedMessageMetadata.d.ts +9 -0
- package/types/gen-wire/_models/webitelKbArticle.d.ts +3 -0
- package/types/gen-wire/_models/webitelKbSemanticSearchRequest.d.ts +1 -1
- package/types/gen-wire/_models/webitelKbTagMatch.d.ts +3 -1
- package/types/gen-wire/articles/articles.d.ts +6 -4
- package/types/gen-wire/articles/articles.zod.d.ts +221 -0
- package/types/gen-wire/call-service/call-service.zod.d.ts +29 -0
- package/types/gen-wire/case-timeline/case-timeline.d.ts +3 -1
- package/types/gen-wire/case-timeline/case-timeline.zod.d.ts +23 -0
- package/types/gen-wire/embedding-models/embedding-models.d.ts +3 -3
- package/types/gen-wire/embedding-models/embedding-models.zod.d.ts +6 -0
- package/types/gen-wire/index.d.ts +10 -8
- package/types/gen-wire/index.zod.d.ts +1 -0
- package/types/gen-wire/media-file-service/media-file-service.zod.d.ts +1 -0
- package/types/gen-wire/member-service/member-service.zod.d.ts +1 -0
- package/types/gen-wire/retrieval/retrieval.zod.d.ts +4 -2
- package/types/gen-wire/spaces/spaces.d.ts +3 -3
- package/types/gen-wire/spaces/spaces.zod.d.ts +6 -0
- package/types/gen-wire/timeline/timeline.d.ts +2 -2
- package/types/gen-wire/timeline/timeline.zod.d.ts +2 -2
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +3 -72
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +201 -96
- package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.d.ts +13 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +1122 -0
- package/src/gen/_models/webitelImApiGatewayV1MessageDeliveryStatus.ts +0 -27
- package/src/gen/_models/webitelImApiGatewayV1MessageRecipientStatus.ts +0 -24
- package/src/gen-wire/_models/webitelImApiGatewayV1MessageDeliveryStatus.ts +0 -27
- package/src/gen-wire/_models/webitelImApiGatewayV1MessageRecipientStatus.ts +0 -24
- package/types/gen/_models/webitelImApiGatewayV1MessageDeliveryStatus.d.ts +0 -24
- package/types/gen/_models/webitelImApiGatewayV1MessageRecipientStatus.d.ts +0 -23
- package/types/gen-wire/_models/webitelImApiGatewayV1MessageDeliveryStatus.d.ts +0 -24
- package/types/gen-wire/_models/webitelImApiGatewayV1MessageRecipientStatus.d.ts +0 -23
|
@@ -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
|
+
import type { WebitelCasesCaseTimelinePostprocessingResult } from './webitelCasesCaseTimelinePostprocessingResult';
|
|
8
|
+
import type { WebitelCasesCaseTimelineVariable } from './webitelCasesCaseTimelineVariable';
|
|
9
|
+
export interface WebitelCasesGetTimelineItemInfoResponse {
|
|
10
|
+
postprocessing?: WebitelCasesCaseTimelinePostprocessingResult[];
|
|
11
|
+
variables?: WebitelCasesCaseTimelineVariable[];
|
|
12
|
+
}
|
|
@@ -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
|
+
import type { WebitelImApiGatewayV1ThreadUpdates } from './webitelImApiGatewayV1ThreadUpdates';
|
|
8
|
+
export interface WebitelImApiGatewayV1GetUpdatesResponse {
|
|
9
|
+
/** Pass back as cursor on the next call. */
|
|
10
|
+
cursor?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Empty cursor, unusable cursor or more than 1000 changes: reload the thread list,
|
|
13
|
+
* then continue from cursor.
|
|
14
|
+
*/
|
|
15
|
+
resync?: boolean;
|
|
16
|
+
/** Only threads that changed. */
|
|
17
|
+
threads?: WebitelImApiGatewayV1ThreadUpdates[];
|
|
18
|
+
}
|
|
@@ -11,10 +11,8 @@ import type { WebitelImApiGatewayV1Image } from './webitelImApiGatewayV1Image';
|
|
|
11
11
|
import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
|
|
12
12
|
import type { WebitelImApiGatewayV1InteractiveCallback } from './webitelImApiGatewayV1InteractiveCallback';
|
|
13
13
|
import type { WebitelImApiGatewayV1MessageContact } from './webitelImApiGatewayV1MessageContact';
|
|
14
|
-
import type { WebitelImApiGatewayV1MessageDeliveryStatus } from './webitelImApiGatewayV1MessageDeliveryStatus';
|
|
15
14
|
import type { WebitelImApiGatewayV1MessageLocation } from './webitelImApiGatewayV1MessageLocation';
|
|
16
15
|
import type { WebitelImApiGatewayV1MessageReaction } from './webitelImApiGatewayV1MessageReaction';
|
|
17
|
-
import type { WebitelImApiGatewayV1MessageRecipientStatus } from './webitelImApiGatewayV1MessageRecipientStatus';
|
|
18
16
|
import type { WebitelImApiGatewayV1ReplyToMessage } from './webitelImApiGatewayV1ReplyToMessage';
|
|
19
17
|
import type { WebitelImApiGatewayV1System } from './webitelImApiGatewayV1System';
|
|
20
18
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
@@ -41,12 +39,6 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
41
39
|
* the message is live.
|
|
42
40
|
*/
|
|
43
41
|
deletedBy?: WebitelImApiGatewayV1ThreadMember;
|
|
44
|
-
/**
|
|
45
|
-
* Aggregated delivery status across recipients: FAILED when every
|
|
46
|
-
* recipient failed, otherwise the minimal status among non-failed ones.
|
|
47
|
-
* UNSPECIFIED for messages without per-recipient tracking (historical).
|
|
48
|
-
*/
|
|
49
|
-
deliveryStatus?: WebitelImApiGatewayV1MessageDeliveryStatus;
|
|
50
42
|
/** List of document attachments. */
|
|
51
43
|
documents?: WebitelImApiGatewayV1Document[];
|
|
52
44
|
/** Message last update timestamp (Unix time, milliseconds). */
|
|
@@ -82,8 +74,6 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
82
74
|
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
83
75
|
/** Per-thread monotonic sequence number, assigned on message creation. */
|
|
84
76
|
seq?: string;
|
|
85
|
-
/** Per-recipient delivery details. */
|
|
86
|
-
statuses?: WebitelImApiGatewayV1MessageRecipientStatus[];
|
|
87
77
|
/** System message content. */
|
|
88
78
|
system?: WebitelImApiGatewayV1System;
|
|
89
79
|
/** Identifier of the thread the message belongs to. */
|
|
@@ -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
|
+
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
|
+
/**
|
|
9
|
+
* MemberReadState is one member's delivery/read horizon in a thread, as
|
|
10
|
+
* per-thread message seq (0 = nothing reached that state yet).
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelImApiGatewayV1MemberReadState {
|
|
13
|
+
deliveredUpToSeq?: string;
|
|
14
|
+
/** The member, in the same shape as history's sender; set by GetUpdates. */
|
|
15
|
+
member?: WebitelImApiGatewayV1ThreadMember;
|
|
16
|
+
memberId?: string;
|
|
17
|
+
readUpToSeq?: string;
|
|
18
|
+
}
|
|
@@ -17,4 +17,6 @@ export interface WebitelImApiGatewayV1SearchMessageHistoryResponse {
|
|
|
17
17
|
nextCursor?: WebitelImApiGatewayV1HistoryMessageCursorResponse;
|
|
18
18
|
/** Cursor that represents position to get newest messages (used with 'before' param). */
|
|
19
19
|
prevCursor?: WebitelImApiGatewayV1HistoryMessageCursorResponse;
|
|
20
|
+
/** GetUpdates cursor read before this page: every later change comes from GetUpdates(updates_cursor). */
|
|
21
|
+
updatesCursor?: string;
|
|
20
22
|
}
|
|
@@ -14,4 +14,6 @@ export interface WebitelImApiGatewayV1SearchThreadResponse {
|
|
|
14
14
|
items?: WebitelImApiGatewayV1Thread[];
|
|
15
15
|
/** Indicates whether there is a next page available. */
|
|
16
16
|
next?: boolean;
|
|
17
|
+
/** GetUpdates cursor read before this page: every later change comes from GetUpdates(updates_cursor). */
|
|
18
|
+
updatesCursor?: string;
|
|
17
19
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1HistoryMessage } from './webitelImApiGatewayV1HistoryMessage';
|
|
8
|
+
import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
|
|
8
9
|
import type { WebitelImApiGatewayV1ThreadKind } from './webitelImApiGatewayV1ThreadKind';
|
|
9
10
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
10
11
|
import type { WebitelImApiGatewayV1ThreadSettings } from './webitelImApiGatewayV1ThreadSettings';
|
|
@@ -23,6 +24,11 @@ export interface WebitelImApiGatewayV1Thread {
|
|
|
23
24
|
lastMsg?: WebitelImApiGatewayV1HistoryMessage;
|
|
24
25
|
/** Detailed member information. */
|
|
25
26
|
members?: WebitelImApiGatewayV1ThreadMember[];
|
|
27
|
+
/**
|
|
28
|
+
* Per-member read horizons (snapshot, matches GetUpdates model).
|
|
29
|
+
* Client derives inbox/outbox watermarks: own_last_read = inbox; MIN over others = outbox.
|
|
30
|
+
*/
|
|
31
|
+
readStates?: WebitelImApiGatewayV1MemberReadState[];
|
|
26
32
|
/** User-specific settings for this thread. */
|
|
27
33
|
settings?: WebitelImApiGatewayV1ThreadSettings;
|
|
28
34
|
/** Thread subject or title. */
|
|
@@ -37,6 +43,8 @@ export interface WebitelImApiGatewayV1Thread {
|
|
|
37
43
|
unreadCount?: number;
|
|
38
44
|
/** Last update timestamp (Unix time, milliseconds). */
|
|
39
45
|
updatedAt?: string;
|
|
46
|
+
/** GetUpdates cursor read before this thread (set by Get; Search carries it on the response). */
|
|
47
|
+
updatesCursor?: string;
|
|
40
48
|
/** Optional variables associated with the thread. */
|
|
41
49
|
variables?: WebitelImApiGatewayV1ThreadVariables;
|
|
42
50
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
|
+
import type { WebitelImApiGatewayV1ThreadMemberChangeAction } from './webitelImApiGatewayV1ThreadMemberChangeAction';
|
|
9
|
+
export interface WebitelImApiGatewayV1ThreadMemberChange {
|
|
10
|
+
action?: WebitelImApiGatewayV1ThreadMemberChangeAction;
|
|
11
|
+
/** Who made the change. */
|
|
12
|
+
by?: WebitelImApiGatewayV1ThreadMember;
|
|
13
|
+
member?: WebitelImApiGatewayV1ThreadMember;
|
|
14
|
+
}
|
|
@@ -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 WebitelImApiGatewayV1ThreadMemberChangeAction = (typeof WebitelImApiGatewayV1ThreadMemberChangeAction)[keyof typeof WebitelImApiGatewayV1ThreadMemberChangeAction];
|
|
8
|
+
export declare const WebitelImApiGatewayV1ThreadMemberChangeAction: {
|
|
9
|
+
readonly ThreadMemberChangeActionUnspecified: "THREAD_MEMBER_CHANGE_ACTION_UNSPECIFIED";
|
|
10
|
+
readonly ThreadMemberChangeActionJoined: "THREAD_MEMBER_CHANGE_ACTION_JOINED";
|
|
11
|
+
readonly ThreadMemberChangeActionLeft: "THREAD_MEMBER_CHANGE_ACTION_LEFT";
|
|
12
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
|
|
8
|
+
import type { WebitelImApiGatewayV1Thread } from './webitelImApiGatewayV1Thread';
|
|
9
|
+
import type { WebitelImApiGatewayV1ThreadMemberChange } from './webitelImApiGatewayV1ThreadMemberChange';
|
|
10
|
+
import type { WebitelImApiGatewayV1UpdatedMessage } from './webitelImApiGatewayV1UpdatedMessage';
|
|
11
|
+
export interface WebitelImApiGatewayV1ThreadUpdates {
|
|
12
|
+
deletedMessageIds?: string[];
|
|
13
|
+
/** The thread itself, set when it is new to the caller (created or joined since cursor). */
|
|
14
|
+
dialog?: WebitelImApiGatewayV1Thread;
|
|
15
|
+
/** The caller is no longer a member: drop the thread. */
|
|
16
|
+
left?: boolean;
|
|
17
|
+
memberChanges?: WebitelImApiGatewayV1ThreadMemberChange[];
|
|
18
|
+
/** New or changed messages in their current state; upsert by id. */
|
|
19
|
+
messages?: WebitelImApiGatewayV1UpdatedMessage[];
|
|
20
|
+
/** Delivery/read horizons in message seq. */
|
|
21
|
+
readStates?: WebitelImApiGatewayV1MemberReadState[];
|
|
22
|
+
threadId?: string;
|
|
23
|
+
/** Newest message for the list preview; set with dialog. */
|
|
24
|
+
topMessage?: WebitelImApiGatewayV1UpdatedMessage;
|
|
25
|
+
unreadCount?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1Document } from './webitelImApiGatewayV1Document';
|
|
8
|
+
import type { WebitelImApiGatewayV1ForwardOrigin } from './webitelImApiGatewayV1ForwardOrigin';
|
|
9
|
+
import type { WebitelImApiGatewayV1Image } from './webitelImApiGatewayV1Image';
|
|
10
|
+
import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
|
|
11
|
+
import type { WebitelImApiGatewayV1MessageContact } from './webitelImApiGatewayV1MessageContact';
|
|
12
|
+
import type { WebitelImApiGatewayV1MessageLocation } from './webitelImApiGatewayV1MessageLocation';
|
|
13
|
+
import type { WebitelImApiGatewayV1MessageReaction } from './webitelImApiGatewayV1MessageReaction';
|
|
14
|
+
import type { WebitelImApiGatewayV1ReplyToMessage } from './webitelImApiGatewayV1ReplyToMessage';
|
|
15
|
+
import type { WebitelImApiGatewayV1System } from './webitelImApiGatewayV1System';
|
|
16
|
+
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
17
|
+
import type { WebitelImApiGatewayV1UpdatedMessageMetadata } from './webitelImApiGatewayV1UpdatedMessageMetadata';
|
|
18
|
+
/**
|
|
19
|
+
* UpdatedMessage is what a client needs to render or re-render a message bubble.
|
|
20
|
+
*/
|
|
21
|
+
export interface WebitelImApiGatewayV1UpdatedMessage {
|
|
22
|
+
body?: string;
|
|
23
|
+
contact?: WebitelImApiGatewayV1MessageContact;
|
|
24
|
+
createdAt?: string;
|
|
25
|
+
documents?: WebitelImApiGatewayV1Document[];
|
|
26
|
+
/** Set when the message was edited. */
|
|
27
|
+
editedAt?: string;
|
|
28
|
+
forwardOrigin?: WebitelImApiGatewayV1ForwardOrigin;
|
|
29
|
+
id?: string;
|
|
30
|
+
images?: WebitelImApiGatewayV1Image[];
|
|
31
|
+
interactive?: WebitelImApiGatewayV1Interactive;
|
|
32
|
+
location?: WebitelImApiGatewayV1MessageLocation;
|
|
33
|
+
metadata?: WebitelImApiGatewayV1UpdatedMessageMetadata;
|
|
34
|
+
reactions?: WebitelImApiGatewayV1MessageReaction[];
|
|
35
|
+
replyTo?: WebitelImApiGatewayV1ReplyToMessage;
|
|
36
|
+
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
37
|
+
seq?: string;
|
|
38
|
+
system?: WebitelImApiGatewayV1System;
|
|
39
|
+
type?: number;
|
|
40
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import type { GeneralLookup } from './generalLookup';
|
|
8
8
|
import type { WebitelKbArticleState } from './webitelKbArticleState';
|
|
9
9
|
import type { WebitelKbArticleType } from './webitelKbArticleType';
|
|
10
|
+
import type { WebitelKbArticleVersion } from './webitelKbArticleVersion';
|
|
10
11
|
import type { WebitelKbIndexState } from './webitelKbIndexState';
|
|
11
12
|
/**
|
|
12
13
|
* Article is the article read model.
|
|
@@ -30,6 +31,8 @@ export interface WebitelKbArticle {
|
|
|
30
31
|
indexState?: WebitelKbIndexState;
|
|
31
32
|
/** Parent article id; 0 for a top-level article. */
|
|
32
33
|
parentId?: string;
|
|
34
|
+
/** Published version, only when requested in fields. */
|
|
35
|
+
published?: WebitelKbArticleVersion;
|
|
33
36
|
/** Published version id; 0 if not yet published. */
|
|
34
37
|
publishedVersionId?: string;
|
|
35
38
|
/** Space the article belongs to. */
|
|
@@ -17,7 +17,7 @@ export interface WebitelKbSemanticSearchRequest {
|
|
|
17
17
|
query?: string;
|
|
18
18
|
/** Spaces to search within (bot service scope). */
|
|
19
19
|
spaceIds?: string[];
|
|
20
|
-
/** How to combine the tag filter. */
|
|
20
|
+
/** How to combine the tag filter; unspecified means any. */
|
|
21
21
|
tagMatch?: WebitelKbTagMatch;
|
|
22
22
|
/** Maximum number of chunks to return. */
|
|
23
23
|
topK?: number;
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* Tag-filter combination mode.
|
|
9
9
|
*
|
|
10
|
-
* -
|
|
10
|
+
* - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
|
|
11
|
+
* - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
|
|
11
12
|
* - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
|
|
12
13
|
*/
|
|
13
14
|
export type WebitelKbTagMatch = (typeof WebitelKbTagMatch)[keyof typeof WebitelKbTagMatch];
|
|
14
15
|
export declare const WebitelKbTagMatch: {
|
|
16
|
+
readonly TagMatchUnspecified: "TAG_MATCH_UNSPECIFIED";
|
|
15
17
|
readonly TagMatchAll: "TAG_MATCH_ALL";
|
|
16
18
|
readonly TagMatchAny: "TAG_MATCH_ANY";
|
|
17
19
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type EngineQueueType = (typeof EngineQueueType)[keyof typeof EngineQueueType];
|
|
8
|
+
export declare const EngineQueueType: {
|
|
9
|
+
readonly QueueTypeUnspecified: "QUEUE_TYPE_UNSPECIFIED";
|
|
10
|
+
readonly QueueTypeOffline: "QUEUE_TYPE_OFFLINE";
|
|
11
|
+
readonly QueueTypeInboundCall: "QUEUE_TYPE_INBOUND_CALL";
|
|
12
|
+
readonly QueueTypeIvrCall: "QUEUE_TYPE_IVR_CALL";
|
|
13
|
+
readonly QueueTypePreviewCall: "QUEUE_TYPE_PREVIEW_CALL";
|
|
14
|
+
readonly QueueTypeProgressiveCall: "QUEUE_TYPE_PROGRESSIVE_CALL";
|
|
15
|
+
readonly QueueTypePredictiveCall: "QUEUE_TYPE_PREDICTIVE_CALL";
|
|
16
|
+
readonly QueueTypeInboundChat: "QUEUE_TYPE_INBOUND_CHAT";
|
|
17
|
+
readonly QueueTypeAgentTask: "QUEUE_TYPE_AGENT_TASK";
|
|
18
|
+
readonly QueueTypeOutboundTask: "QUEUE_TYPE_OUTBOUND_TASK";
|
|
19
|
+
readonly QueueTypeInboundIm: "QUEUE_TYPE_INBOUND_IM";
|
|
20
|
+
readonly QueueTypeOutboundCall: "QUEUE_TYPE_OUTBOUND_CALL";
|
|
21
|
+
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { EngineFilterBetween } from './engineFilterBetween';
|
|
8
|
+
import type { EngineQueueType } from './engineQueueType';
|
|
8
9
|
import type { EngineSearchHistoryCallRequestVariablesString } from './engineSearchHistoryCallRequestVariablesString';
|
|
9
10
|
export interface EngineSearchHistoryCallRequest {
|
|
10
11
|
tags?: string[];
|
|
@@ -21,6 +22,7 @@ export interface EngineSearchHistoryCallRequest {
|
|
|
21
22
|
directions?: string[];
|
|
22
23
|
domain_id?: string;
|
|
23
24
|
duration?: EngineFilterBetween;
|
|
25
|
+
excluded_queue_types?: EngineQueueType[];
|
|
24
26
|
fields?: string[];
|
|
25
27
|
fts?: string;
|
|
26
28
|
gateway_id?: string[];
|
|
@@ -674,6 +674,7 @@ export * from './engineQueueSkill';
|
|
|
674
674
|
export * from './engineQueueSkillServiceCreateQueueSkillBody';
|
|
675
675
|
export * from './engineQueueSkillServicePatchQueueSkillBody';
|
|
676
676
|
export * from './engineQueueSkillServiceUpdateQueueSkillBody';
|
|
677
|
+
export * from './engineQueueType';
|
|
677
678
|
export * from './engineQueueVariables';
|
|
678
679
|
export * from './engineQuickRepliesServicePatchQuickReplyBody';
|
|
679
680
|
export * from './engineQuickRepliesServiceUpdateQuickReplyBody';
|
|
@@ -900,6 +901,7 @@ export * from './listUserAccessTokenParams';
|
|
|
900
901
|
export * from './listVariablesParams';
|
|
901
902
|
export * from './listVersionsParams';
|
|
902
903
|
export * from './locateArticleArticlesParams';
|
|
904
|
+
export * from './locateArticleParams';
|
|
903
905
|
export * from './locateCaseNeighborDirection';
|
|
904
906
|
export * from './locateCaseNeighborParams';
|
|
905
907
|
export * from './locateCaseParams';
|
|
@@ -1069,6 +1071,7 @@ export * from './searchFilesByCallChannelItem';
|
|
|
1069
1071
|
export * from './searchFilesByCallParams';
|
|
1070
1072
|
export * from './searchFilesChannelItem';
|
|
1071
1073
|
export * from './searchFilesParams';
|
|
1074
|
+
export * from './searchHistoryCallExcludedQueueTypesItem';
|
|
1072
1075
|
export * from './searchHistoryCallParams';
|
|
1073
1076
|
export * from './searchImportTemplateParams';
|
|
1074
1077
|
export * from './searchLDAPCatalogParams';
|
|
@@ -1261,8 +1264,10 @@ export * from './update2Body';
|
|
|
1261
1264
|
export * from './update2Params';
|
|
1262
1265
|
export * from './update200';
|
|
1263
1266
|
export * from './update2200';
|
|
1267
|
+
export * from './updateArticle2Params';
|
|
1264
1268
|
export * from './updateArticleArticlesBody';
|
|
1265
1269
|
export * from './updateArticleArticlesParams';
|
|
1270
|
+
export * from './updateArticleParams';
|
|
1266
1271
|
export * from './updateBody';
|
|
1267
1272
|
export * from './updateCase2Body';
|
|
1268
1273
|
export * from './updateCase2BodyCustom';
|
|
@@ -1323,6 +1328,8 @@ export * from './updateManager2Params';
|
|
|
1323
1328
|
export * from './updateManagerBody';
|
|
1324
1329
|
export * from './updateManagerInputBody';
|
|
1325
1330
|
export * from './updateManagerParams';
|
|
1331
|
+
export * from './updateModel2Params';
|
|
1332
|
+
export * from './updateModelParams';
|
|
1326
1333
|
export * from './updateOAuthService2Params';
|
|
1327
1334
|
export * from './updateOAuthServiceParams';
|
|
1328
1335
|
export * from './updateParams';
|
|
@@ -1355,6 +1362,8 @@ export * from './updateSLAConditionParams';
|
|
|
1355
1362
|
export * from './updateSLAParams';
|
|
1356
1363
|
export * from './updateSource2Params';
|
|
1357
1364
|
export * from './updateSourceParams';
|
|
1365
|
+
export * from './updateSpace2Params';
|
|
1366
|
+
export * from './updateSpaceParams';
|
|
1358
1367
|
export * from './updateSpaceSpacesBody';
|
|
1359
1368
|
export * from './updateSpaceSpacesParams';
|
|
1360
1369
|
export * from './updateStatus2Params';
|
|
@@ -1404,6 +1413,8 @@ export * from './webitelCasesCaseLinkList';
|
|
|
1404
1413
|
export * from './webitelCasesCaseList';
|
|
1405
1414
|
export * from './webitelCasesCaseNavDirection';
|
|
1406
1415
|
export * from './webitelCasesCaseTimelineEventType';
|
|
1416
|
+
export * from './webitelCasesCaseTimelinePostprocessingResult';
|
|
1417
|
+
export * from './webitelCasesCaseTimelineVariable';
|
|
1407
1418
|
export * from './webitelCasesCatalog';
|
|
1408
1419
|
export * from './webitelCasesCatalogList';
|
|
1409
1420
|
export * from './webitelCasesChatEvent';
|
|
@@ -1420,6 +1431,7 @@ export * from './webitelCasesExportCasesResponse';
|
|
|
1420
1431
|
export * from './webitelCasesFieldChange';
|
|
1421
1432
|
export * from './webitelCasesFile';
|
|
1422
1433
|
export * from './webitelCasesGetTimelineCounterResponse';
|
|
1434
|
+
export * from './webitelCasesGetTimelineItemInfoResponse';
|
|
1423
1435
|
export * from './webitelCasesGetTimelineResponse';
|
|
1424
1436
|
export * from './webitelCasesInputCase';
|
|
1425
1437
|
export * from './webitelCasesInputCaseArticle';
|
|
@@ -1615,6 +1627,8 @@ export * from './webitelImApiGatewayV1GetContactSettingsResponse';
|
|
|
1615
1627
|
export * from './webitelImApiGatewayV1GetMessageRevisionsResponse';
|
|
1616
1628
|
export * from './webitelImApiGatewayV1GetThreadPermissionsResponse';
|
|
1617
1629
|
export * from './webitelImApiGatewayV1GetUnreadSummaryResponse';
|
|
1630
|
+
export * from './webitelImApiGatewayV1GetUpdatesRequest';
|
|
1631
|
+
export * from './webitelImApiGatewayV1GetUpdatesResponse';
|
|
1618
1632
|
export * from './webitelImApiGatewayV1HistoryMessage';
|
|
1619
1633
|
export * from './webitelImApiGatewayV1HistoryMessageCursorRequest';
|
|
1620
1634
|
export * from './webitelImApiGatewayV1HistoryMessageCursorResponse';
|
|
@@ -1638,13 +1652,12 @@ export * from './webitelImApiGatewayV1KeyboardMarkup';
|
|
|
1638
1652
|
export * from './webitelImApiGatewayV1KeyboardRow';
|
|
1639
1653
|
export * from './webitelImApiGatewayV1KeyboardRowWithSection';
|
|
1640
1654
|
export * from './webitelImApiGatewayV1LogoutResponse';
|
|
1655
|
+
export * from './webitelImApiGatewayV1MemberReadState';
|
|
1641
1656
|
export * from './webitelImApiGatewayV1MenuPlacement';
|
|
1642
1657
|
export * from './webitelImApiGatewayV1MessageContact';
|
|
1643
|
-
export * from './webitelImApiGatewayV1MessageDeliveryStatus';
|
|
1644
1658
|
export * from './webitelImApiGatewayV1MessageEditMessageBody';
|
|
1645
1659
|
export * from './webitelImApiGatewayV1MessageLocation';
|
|
1646
1660
|
export * from './webitelImApiGatewayV1MessageReaction';
|
|
1647
|
-
export * from './webitelImApiGatewayV1MessageRecipientStatus';
|
|
1648
1661
|
export * from './webitelImApiGatewayV1MessageRevision';
|
|
1649
1662
|
export * from './webitelImApiGatewayV1MessageRevisionAction';
|
|
1650
1663
|
export * from './webitelImApiGatewayV1MessageSendInteractiveCallbackBody';
|
|
@@ -1693,16 +1706,21 @@ export * from './webitelImApiGatewayV1ThreadManagementFlushVariablesBody';
|
|
|
1693
1706
|
export * from './webitelImApiGatewayV1ThreadManagementSetVariablesBody';
|
|
1694
1707
|
export * from './webitelImApiGatewayV1ThreadManagementTransferBody';
|
|
1695
1708
|
export * from './webitelImApiGatewayV1ThreadMember';
|
|
1709
|
+
export * from './webitelImApiGatewayV1ThreadMemberChange';
|
|
1710
|
+
export * from './webitelImApiGatewayV1ThreadMemberChangeAction';
|
|
1696
1711
|
export * from './webitelImApiGatewayV1ThreadPermissions';
|
|
1697
1712
|
export * from './webitelImApiGatewayV1ThreadRole';
|
|
1698
1713
|
export * from './webitelImApiGatewayV1ThreadSettings';
|
|
1699
1714
|
export * from './webitelImApiGatewayV1ThreadTagManagementAddTagBody';
|
|
1715
|
+
export * from './webitelImApiGatewayV1ThreadUpdates';
|
|
1700
1716
|
export * from './webitelImApiGatewayV1ThreadVariables';
|
|
1701
1717
|
export * from './webitelImApiGatewayV1ThreadVariablesVariables';
|
|
1702
1718
|
export * from './webitelImApiGatewayV1TokenRequest';
|
|
1703
1719
|
export * from './webitelImApiGatewayV1TransferResponse';
|
|
1704
1720
|
export * from './webitelImApiGatewayV1UnregisterDeviceResponse';
|
|
1705
1721
|
export * from './webitelImApiGatewayV1UpdateContactSettingsResponse';
|
|
1722
|
+
export * from './webitelImApiGatewayV1UpdatedMessage';
|
|
1723
|
+
export * from './webitelImApiGatewayV1UpdatedMessageMetadata';
|
|
1706
1724
|
export * from './webitelImApiGatewayV1UpdateThreadPermissionsResponse';
|
|
1707
1725
|
export * from './webitelImApiGatewayV1UserAgent';
|
|
1708
1726
|
export * from './webitelImApiGatewayV1UserFilter';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type SearchHistoryCallExcludedQueueTypesItem = (typeof SearchHistoryCallExcludedQueueTypesItem)[keyof typeof SearchHistoryCallExcludedQueueTypesItem];
|
|
8
|
+
export declare const SearchHistoryCallExcludedQueueTypesItem: {
|
|
9
|
+
readonly QueueTypeUnspecified: "QUEUE_TYPE_UNSPECIFIED";
|
|
10
|
+
readonly QueueTypeOffline: "QUEUE_TYPE_OFFLINE";
|
|
11
|
+
readonly QueueTypeInboundCall: "QUEUE_TYPE_INBOUND_CALL";
|
|
12
|
+
readonly QueueTypeIvrCall: "QUEUE_TYPE_IVR_CALL";
|
|
13
|
+
readonly QueueTypePreviewCall: "QUEUE_TYPE_PREVIEW_CALL";
|
|
14
|
+
readonly QueueTypeProgressiveCall: "QUEUE_TYPE_PROGRESSIVE_CALL";
|
|
15
|
+
readonly QueueTypePredictiveCall: "QUEUE_TYPE_PREDICTIVE_CALL";
|
|
16
|
+
readonly QueueTypeInboundChat: "QUEUE_TYPE_INBOUND_CHAT";
|
|
17
|
+
readonly QueueTypeAgentTask: "QUEUE_TYPE_AGENT_TASK";
|
|
18
|
+
readonly QueueTypeOutboundTask: "QUEUE_TYPE_OUTBOUND_TASK";
|
|
19
|
+
readonly QueueTypeInboundIm: "QUEUE_TYPE_INBOUND_IM";
|
|
20
|
+
readonly QueueTypeOutboundCall: "QUEUE_TYPE_OUTBOUND_CALL";
|
|
21
|
+
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
+
import type { SearchHistoryCallExcludedQueueTypesItem } from './searchHistoryCallExcludedQueueTypesItem';
|
|
7
8
|
export type SearchHistoryCallParams = {
|
|
8
9
|
page?: number;
|
|
9
10
|
size?: number;
|
|
@@ -62,4 +63,5 @@ export type SearchHistoryCallParams = {
|
|
|
62
63
|
schema_id?: number[];
|
|
63
64
|
has_transfer?: boolean;
|
|
64
65
|
timeline?: boolean;
|
|
66
|
+
excluded_queue_types?: SearchHistoryCallExcludedQueueTypesItem[];
|
|
65
67
|
};
|
|
@@ -19,9 +19,10 @@ export type SearchRetrievalParams = {
|
|
|
19
19
|
*/
|
|
20
20
|
tags?: string[];
|
|
21
21
|
/**
|
|
22
|
-
* How to combine the tag filter.
|
|
22
|
+
* How to combine the tag filter; unspecified means any.
|
|
23
23
|
*
|
|
24
|
-
* -
|
|
24
|
+
* - TAG_MATCH_UNSPECIFIED: Default mode: match articles having ANY listed tag (OR).
|
|
25
|
+
* - TAG_MATCH_ALL: Match articles having ALL listed tags (AND).
|
|
25
26
|
* - TAG_MATCH_ANY: Match articles having ANY listed tag (OR).
|
|
26
27
|
*/
|
|
27
28
|
tag_match?: SearchRetrievalTagMatch;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export type SearchRetrievalTagMatch = (typeof SearchRetrievalTagMatch)[keyof typeof SearchRetrievalTagMatch];
|
|
8
8
|
export declare const SearchRetrievalTagMatch: {
|
|
9
|
+
readonly TagMatchUnspecified: "TAG_MATCH_UNSPECIFIED";
|
|
9
10
|
readonly TagMatchAll: "TAG_MATCH_ALL";
|
|
10
11
|
readonly TagMatchAny: "TAG_MATCH_ANY";
|
|
11
12
|
};
|
|
@@ -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 UpdateArticle2Params = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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 UpdateArticleParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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 UpdateModel2Params = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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 UpdateModelParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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 UpdateSpace2Params = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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 UpdateSpaceParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Input fields to apply, filled by the gateway from a PATCH body.
|
|
10
|
+
*/
|
|
11
|
+
x_json_mask?: string[];
|
|
12
|
+
};
|
|
@@ -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
|
+
import type { GeneralLookup } from './generalLookup';
|
|
8
|
+
export interface WebitelCasesCaseTimelinePostprocessingResult {
|
|
9
|
+
agent?: GeneralLookup;
|
|
10
|
+
form?: unknown;
|
|
11
|
+
reporting_at?: string;
|
|
12
|
+
}
|