@webitel/api-services 26.8.86 → 26.8.88
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/lists/blacklistNumbers.ts +43 -0
- package/src/api/clients/media/media.ts +1 -0
- package/src/gen/_models/engineCreateListCommunicationBulkItem.ts +12 -0
- package/src/gen/_models/engineListCommunicationBulkError.ts +14 -0
- package/src/gen/_models/engineListCommunicationBulkResponse.ts +13 -0
- package/src/gen/_models/engineListServiceCreateListCommunicationBulkBody.ts +11 -0
- package/src/gen/_models/index.ts +13 -2
- package/src/gen/_models/threadManagementSearchParams.ts +5 -0
- package/src/gen/_models/webitelImApiGatewayV1DeliveryError.ts +14 -0
- package/src/gen/_models/webitelImApiGatewayV1DeliveryFailure.ts +16 -0
- package/src/gen/_models/webitelImApiGatewayV1GivePreviewResponse.ts +11 -0
- package/src/gen/_models/webitelImApiGatewayV1HistoryMessage.ts +6 -0
- package/src/gen/_models/{webitelImApiGatewayV1MessageFailureError.ts → webitelImApiGatewayV1RemoveFromPreviewResponse.ts} +2 -3
- package/src/gen/_models/webitelImApiGatewayV1ThreadManagementTransferBody.ts +5 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadPreview.ts +18 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceGivePreviewBody.ts +14 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceRemoveFromPreviewBody.ts +12 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceUpgradePreviewToFullMemberBody.ts +14 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadUpdates.ts +0 -3
- package/src/gen/_models/webitelImApiGatewayV1UpdatedMessage.ts +6 -0
- package/src/gen/_models/webitelImApiGatewayV1UpgradePreviewToFullMemberResponse.ts +11 -0
- package/src/gen-wire/_models/engineCreateListCommunicationBulkItem.ts +12 -0
- package/src/gen-wire/_models/engineListCommunicationBulkError.ts +14 -0
- package/src/gen-wire/_models/engineListCommunicationBulkResponse.ts +13 -0
- package/src/gen-wire/_models/engineListServiceCreateListCommunicationBulkBody.ts +11 -0
- package/src/gen-wire/_models/index.ts +13 -2
- package/src/gen-wire/_models/threadManagementSearchParams.ts +5 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1DeliveryError.ts +14 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1DeliveryFailure.ts +16 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1GivePreviewResponse.ts +11 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.ts +6 -0
- package/src/gen-wire/_models/{webitelImApiGatewayV1MessageFailureError.ts → webitelImApiGatewayV1RemoveFromPreviewResponse.ts} +2 -3
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadManagementTransferBody.ts +5 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadPreview.ts +18 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceGivePreviewBody.ts +14 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceRemoveFromPreviewBody.ts +12 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceUpgradePreviewToFullMemberBody.ts +14 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.ts +0 -3
- package/src/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.ts +6 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1UpgradePreviewToFullMemberResponse.ts +11 -0
- package/src/gen-wire/index.ts +12 -0
- package/src/gen-wire/index.zod.ts +1 -0
- package/src/gen-wire/list-service/list-service.ts +19 -0
- package/src/gen-wire/list-service/list-service.zod.ts +62 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +402 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +560 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.ts +89 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.ts +351 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +406 -130
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/lists/blacklistNumbers.d.ts +5 -1
- package/types/gen/_models/engineCreateListCommunicationBulkItem.d.ts +11 -0
- package/types/gen/_models/engineListCommunicationBulkError.d.ts +13 -0
- package/types/gen/_models/engineListCommunicationBulkResponse.d.ts +12 -0
- package/types/gen/_models/engineListServiceCreateListCommunicationBulkBody.d.ts +10 -0
- package/types/gen/_models/index.d.ts +13 -2
- package/types/gen/_models/threadManagementSearchParams.d.ts +5 -0
- package/types/gen/_models/webitelImApiGatewayV1DeliveryError.d.ts +13 -0
- package/types/gen/_models/webitelImApiGatewayV1DeliveryFailure.d.ts +15 -0
- package/types/gen/_models/webitelImApiGatewayV1GivePreviewResponse.d.ts +10 -0
- package/types/gen/_models/webitelImApiGatewayV1HistoryMessage.d.ts +6 -0
- package/types/gen/_models/{webitelImApiGatewayV1MessageFailureError.d.ts → webitelImApiGatewayV1RemoveFromPreviewResponse.d.ts} +2 -3
- package/types/gen/_models/webitelImApiGatewayV1ThreadManagementTransferBody.d.ts +5 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadPreview.d.ts +17 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceGivePreviewBody.d.ts +13 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceRemoveFromPreviewBody.d.ts +11 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadPreviewServiceUpgradePreviewToFullMemberBody.d.ts +13 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +0 -3
- package/types/gen/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +6 -0
- package/types/gen/_models/webitelImApiGatewayV1UpgradePreviewToFullMemberResponse.d.ts +10 -0
- package/types/gen-wire/_models/engineCreateListCommunicationBulkItem.d.ts +11 -0
- package/types/gen-wire/_models/engineListCommunicationBulkError.d.ts +13 -0
- package/types/gen-wire/_models/engineListCommunicationBulkResponse.d.ts +12 -0
- package/types/gen-wire/_models/engineListServiceCreateListCommunicationBulkBody.d.ts +10 -0
- package/types/gen-wire/_models/index.d.ts +13 -2
- package/types/gen-wire/_models/threadManagementSearchParams.d.ts +5 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1DeliveryError.d.ts +13 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1DeliveryFailure.d.ts +15 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1GivePreviewResponse.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.d.ts +6 -0
- package/types/gen-wire/_models/{webitelImApiGatewayV1MessageFailureError.d.ts → webitelImApiGatewayV1RemoveFromPreviewResponse.d.ts} +2 -3
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadManagementTransferBody.d.ts +5 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadPreview.d.ts +17 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceGivePreviewBody.d.ts +13 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceRemoveFromPreviewBody.d.ts +11 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadPreviewServiceUpgradePreviewToFullMemberBody.d.ts +13 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +0 -3
- package/types/gen-wire/_models/webitelImApiGatewayV1UpdatedMessage.d.ts +6 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1UpgradePreviewToFullMemberResponse.d.ts +10 -0
- package/types/gen-wire/index.d.ts +5 -3
- package/types/gen-wire/index.zod.d.ts +1 -0
- package/types/gen-wire/list-service/list-service.d.ts +3 -1
- package/types/gen-wire/list-service/list-service.zod.d.ts +39 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +150 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +207 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.d.ts +17 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.d.ts +155 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +150 -51
- package/src/gen/_models/webitelImApiGatewayV1MessageFailure.ts +0 -17
- package/src/gen-wire/_models/webitelImApiGatewayV1MessageFailure.ts +0 -17
- package/types/gen/_models/webitelImApiGatewayV1MessageFailure.d.ts +0 -16
- package/types/gen-wire/_models/webitelImApiGatewayV1MessageFailure.d.ts +0 -16
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
|
|
8
|
-
import type { WebitelImApiGatewayV1MessageFailure } from './webitelImApiGatewayV1MessageFailure';
|
|
9
8
|
import type { WebitelImApiGatewayV1Thread } from './webitelImApiGatewayV1Thread';
|
|
10
9
|
import type { WebitelImApiGatewayV1ThreadMemberChange } from './webitelImApiGatewayV1ThreadMemberChange';
|
|
11
10
|
import type { WebitelImApiGatewayV1UpdatedMessage } from './webitelImApiGatewayV1UpdatedMessage';
|
|
@@ -16,8 +15,6 @@ export interface WebitelImApiGatewayV1ThreadUpdates {
|
|
|
16
15
|
* Same model as the thread list, except last_msg and updates_cursor are never set here.
|
|
17
16
|
*/
|
|
18
17
|
dialog?: WebitelImApiGatewayV1Thread;
|
|
19
|
-
/** Messages that failed to reach a member since the cursor. */
|
|
20
|
-
failures?: WebitelImApiGatewayV1MessageFailure[];
|
|
21
18
|
/** The caller is no longer a member: drop the thread. */
|
|
22
19
|
left?: boolean;
|
|
23
20
|
member_changes?: WebitelImApiGatewayV1ThreadMemberChange[];
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1DeliveryFailure } from './webitelImApiGatewayV1DeliveryFailure';
|
|
7
8
|
import type { WebitelImApiGatewayV1Document } from './webitelImApiGatewayV1Document';
|
|
8
9
|
import type { WebitelImApiGatewayV1ForwardOrigin } from './webitelImApiGatewayV1ForwardOrigin';
|
|
9
10
|
import type { WebitelImApiGatewayV1Image } from './webitelImApiGatewayV1Image';
|
|
@@ -25,6 +26,11 @@ export interface WebitelImApiGatewayV1UpdatedMessage {
|
|
|
25
26
|
documents?: WebitelImApiGatewayV1Document[];
|
|
26
27
|
/** Set when the message was edited. */
|
|
27
28
|
edited_at?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Members the message could not be delivered to, with the provider's reason.
|
|
31
|
+
* Empty when it reached everyone.
|
|
32
|
+
*/
|
|
33
|
+
failures?: WebitelImApiGatewayV1DeliveryFailure[];
|
|
28
34
|
forward_origin?: WebitelImApiGatewayV1ForwardOrigin;
|
|
29
35
|
id?: string;
|
|
30
36
|
images?: WebitelImApiGatewayV1Image[];
|
|
@@ -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 { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
|
+
export interface WebitelImApiGatewayV1UpgradePreviewToFullMemberResponse {
|
|
9
|
+
member?: WebitelImApiGatewayV1ThreadMember;
|
|
10
|
+
}
|
|
@@ -127,7 +127,7 @@ export { AddContactLanguagesBody, AddContactLanguagesBodyItem, AddContactLanguag
|
|
|
127
127
|
export * from './ldap/ldap';
|
|
128
128
|
export { CreateLDAPCatalogBody, CreateLDAPCatalogResponse, CreateLDAPTemplateBody, CreateLDAPTemplateParams, CreateLDAPTemplateResponse, DeleteLDAPCatalog2Body, DeleteLDAPCatalog2Response, DeleteLDAPCatalogParams, DeleteLDAPCatalogQueryParams, DeleteLDAPCatalogResponse, DeleteLDAPTemplate2Body, DeleteLDAPTemplate2Params, DeleteLDAPTemplate2Response, DeleteLDAPTemplateBody, DeleteLDAPTemplateParams, DeleteLDAPTemplateResponse, LDAPSearch2Params, LDAPSearch2QueryParams, LDAPSearch2Response, LDAPSearch3Body, LDAPSearch3Response, LDAPSearch4QueryParams, LDAPSearch4Response, LDAPSearchBody, LDAPSearchParams, LDAPSearchResponse, LocateLDAPCatalogParams, LocateLDAPCatalogQueryParams, LocateLDAPCatalogResponse, LocateLDAProcessParams, LocateLDAProcessQueryParams, LocateLDAProcessResponse, LocateLDAPTemplateParams, LocateLDAPTemplateQueryParams, LocateLDAPTemplateResponse, ResyncLDAPCatalogBody, ResyncLDAPCatalogParams, ResyncLDAPCatalogResponse, SearchLDAPCatalogQueryParams, SearchLDAPCatalogResponse, SearchLDAProcessParams, SearchLDAProcessQueryParams, SearchLDAProcessResponse, SearchLDAPTemplateParams, SearchLDAPTemplateQueryParams, SearchLDAPTemplateResponse, UpdateLDAPCatalog2Body, UpdateLDAPCatalog2Params, UpdateLDAPCatalog2Response, UpdateLDAPCatalogBody, UpdateLDAPCatalogParams, UpdateLDAPCatalogResponse, UpdateLDAPTemplate2Body, UpdateLDAPTemplate2Params, UpdateLDAPTemplate2Response, UpdateLDAPTemplateBody, UpdateLDAPTemplateParams, UpdateLDAPTemplateResponse, } from './ldap/ldap.zod';
|
|
129
129
|
export * from './list-service/list-service';
|
|
130
|
-
export { CreateListBody, CreateListCommunicationBody, CreateListCommunicationParams, CreateListCommunicationResponse, CreateListResponse, DeleteListCommunicationParams, DeleteListCommunicationQueryParams, DeleteListCommunicationResponse, DeleteListParams, DeleteListQueryParams, DeleteListResponse, ReadListCommunicationParams, ReadListCommunicationQueryParams, ReadListCommunicationResponse, ReadListParams, ReadListQueryParams, ReadListResponse, SearchListCommunicationParams, SearchListCommunicationQueryParams, SearchListCommunicationResponse, SearchListQueryParams, SearchListResponse, UpdateListBody, UpdateListCommunicationBody, UpdateListCommunicationParams, UpdateListCommunicationResponse, UpdateListParams, UpdateListResponse, } from './list-service/list-service.zod';
|
|
130
|
+
export { CreateListBody, CreateListCommunicationBody, CreateListCommunicationBulkBody, CreateListCommunicationBulkParams, CreateListCommunicationBulkResponse, CreateListCommunicationParams, CreateListCommunicationResponse, CreateListResponse, DeleteListCommunicationParams, DeleteListCommunicationQueryParams, DeleteListCommunicationResponse, DeleteListParams, DeleteListQueryParams, DeleteListResponse, ReadListCommunicationParams, ReadListCommunicationQueryParams, ReadListCommunicationResponse, ReadListParams, ReadListQueryParams, ReadListResponse, SearchListCommunicationParams, SearchListCommunicationQueryParams, SearchListCommunicationResponse, SearchListQueryParams, SearchListResponse, UpdateListBody, UpdateListCommunicationBody, UpdateListCommunicationParams, UpdateListCommunicationResponse, UpdateListParams, UpdateListResponse, } from './list-service/list-service.zod';
|
|
131
131
|
export * from './logger-service/logger-service';
|
|
132
132
|
export { LoggerServiceGetLogParams, LoggerServiceGetLogResponse, LoggerServiceSearchLogByConfigIdParams, LoggerServiceSearchLogByConfigIdQueryParams, LoggerServiceSearchLogByConfigIdResponse, LoggerServiceSearchLogByRecordIdParams, LoggerServiceSearchLogByRecordIdQueryParams, LoggerServiceSearchLogByRecordIdResponse, LoggerServiceSearchLogByUserIdParams, LoggerServiceSearchLogByUserIdQueryParams, LoggerServiceSearchLogByUserIdResponse, } from './logger-service/logger-service.zod';
|
|
133
133
|
export * from './managers/managers';
|
|
@@ -257,11 +257,13 @@ export * from './webitel-im-api-gateway-v1-contactsettingsmanagement/webitel-im-
|
|
|
257
257
|
export * from './webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message';
|
|
258
258
|
export { MessageDeleteMessagesBody, MessageDeleteMessagesResponse, MessageEditMessageBody, MessageEditMessageParams, MessageEditMessageResponse, MessageForwardMessagesBody, MessageForwardMessagesResponse, MessageRead2Params, MessageRead2QueryParams, MessageRead2Response, MessageReadBody, MessageReadParams, MessageReadResponse, MessageSendContactBody, MessageSendContactResponse, MessageSendDocumentBody, MessageSendDocumentResponse, MessageSendInteractiveBody, MessageSendInteractiveCallbackBody, MessageSendInteractiveCallbackParams, MessageSendInteractiveCallbackResponse, MessageSendInteractiveResponse, MessageSendInternalNoteBody, MessageSendInternalNoteResponse, MessageSendLocationBody, MessageSendLocationResponse, MessageSendTextBody, MessageSendTextResponse, MessageSendTypingBody, MessageSendTypingParams, MessageSendTypingResponse, MessageSetReactionBody, MessageSetReactionParams, MessageSetReactionResponse, messageDeleteMessagesResponseSkippedItemReasonDefault, messageForwardMessagesResponseSkippedItemReasonDefault, messageSendContactBodyForwardOriginKindDefault, messageSendDocumentBodyForwardOriginKindDefault, messageSendInteractiveBodyInteractiveInputFieldStateDefault, messageSendInteractiveBodyInteractivePlacementDefault, messageSendLocationBodyForwardOriginKindDefault, messageSendTextBodyForwardOriginKindDefault, } from './webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod';
|
|
259
259
|
export * from './webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory';
|
|
260
|
-
export { MessageHistoryGetMessageRevisionsParams, MessageHistoryGetMessageRevisionsResponse, MessageHistorySearchLeftThreadsMessagesHistoryParams, MessageHistorySearchLeftThreadsMessagesHistoryQueryParams, MessageHistorySearchLeftThreadsMessagesHistoryResponse, MessageHistorySearchMessagesQueryParams, MessageHistorySearchMessagesResponse, MessageHistorySearchThreadMessagesHistoryParams, MessageHistorySearchThreadMessagesHistoryQueryParams, MessageHistorySearchThreadMessagesHistoryResponse, messageHistoryGetMessageRevisionsResponseItemsItemActionDefault, messageHistoryGetMessageRevisionsResponseItemsItemChangedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemDeletedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemForwardOriginKindDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractivePlacementDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemSenderRoleDefault, messageHistorySearchMessagesResponseItemsItemDeletedByRoleDefault, messageHistorySearchMessagesResponseItemsItemForwardOriginKindDefault, messageHistorySearchMessagesResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchMessagesResponseItemsItemInteractivePlacementDefault, messageHistorySearchMessagesResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchMessagesResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchMessagesResponseItemsItemSenderRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemDeletedByRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemForwardOriginKindDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractivePlacementDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemSenderRoleDefault, } from './webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod';
|
|
260
|
+
export { MessageHistoryGetMessageRevisionsParams, MessageHistoryGetMessageRevisionsResponse, MessageHistorySearchLeftThreadsMessagesHistoryParams, MessageHistorySearchLeftThreadsMessagesHistoryQueryParams, MessageHistorySearchLeftThreadsMessagesHistoryResponse, MessageHistorySearchMessagesQueryParams, MessageHistorySearchMessagesResponse, MessageHistorySearchThreadMessagesHistoryParams, MessageHistorySearchThreadMessagesHistoryQueryParams, MessageHistorySearchThreadMessagesHistoryResponse, messageHistoryGetMessageRevisionsResponseItemsItemActionDefault, messageHistoryGetMessageRevisionsResponseItemsItemChangedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemDeletedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemFailuresItemMemberRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemForwardOriginKindDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractivePlacementDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemSenderRoleDefault, messageHistorySearchMessagesResponseItemsItemDeletedByRoleDefault, messageHistorySearchMessagesResponseItemsItemFailuresItemMemberRoleDefault, messageHistorySearchMessagesResponseItemsItemForwardOriginKindDefault, messageHistorySearchMessagesResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchMessagesResponseItemsItemInteractivePlacementDefault, messageHistorySearchMessagesResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchMessagesResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchMessagesResponseItemsItemSenderRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemDeletedByRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemFailuresItemMemberRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemForwardOriginKindDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractivePlacementDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemReactedMetadataReactedByRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemReplyToSenderRoleDefault, messageHistorySearchThreadMessagesHistoryResponseItemsItemSenderRoleDefault, } from './webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod';
|
|
261
261
|
export * from './webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement';
|
|
262
|
-
export { ThreadManagementAddMemberBody, ThreadManagementAddMemberParams, ThreadManagementAddMemberResponse, ThreadManagementCreateBody, ThreadManagementCreateResponse, ThreadManagementFlushVariablesBody, ThreadManagementFlushVariablesParams, ThreadManagementFlushVariablesResponse, ThreadManagementGetParams, ThreadManagementGetQueryParams, ThreadManagementGetResponse, ThreadManagementGetUnreadSummaryResponse, ThreadManagementHandBackToBotBody, ThreadManagementHandBackToBotParams, ThreadManagementHandBackToBotResponse, ThreadManagementLocateVariablesParams, ThreadManagementLocateVariablesResponse, ThreadManagementRemoveMemberParams, ThreadManagementRemoveMemberQueryParams, ThreadManagementRemoveMemberResponse, ThreadManagementSearchLeftQueryParams, ThreadManagementSearchLeftResponse, ThreadManagementSearchQueryParams, ThreadManagementSearchResponse, ThreadManagementSearchVariablesQueryParams, ThreadManagementSearchVariablesResponse, ThreadManagementSetVariablesBody, ThreadManagementSetVariablesParams, ThreadManagementSetVariablesResponse, ThreadManagementTakeOverFromBotBody, ThreadManagementTakeOverFromBotParams, ThreadManagementTakeOverFromBotResponse, ThreadManagementTransferBody, ThreadManagementTransferParams, ThreadManagementTransferResponse, threadManagementAddMemberBodyRoleDefault, threadManagementAddMemberResponseMemberRoleDefault, threadManagementCreateResponseThreadLastMsgDeletedByRoleDefault, threadManagementCreateResponseThreadLastMsgForwardOriginKindDefault, threadManagementCreateResponseThreadLastMsgInteractiveInputFieldStateDefault, threadManagementCreateResponseThreadLastMsgInteractivePlacementDefault, threadManagementCreateResponseThreadLastMsgReactedMetadataReactedByRoleDefault, threadManagementCreateResponseThreadLastMsgReplyToSenderRoleDefault, threadManagementCreateResponseThreadLastMsgSenderRoleDefault, threadManagementCreateResponseThreadMembersItemRoleDefault, threadManagementCreateResponseThreadReadStatesItemMemberRoleDefault, threadManagementCreateResponseThreadTypeDefault, threadManagementGetResponseLastMsgDeletedByRoleDefault, threadManagementGetResponseLastMsgForwardOriginKindDefault, threadManagementGetResponseLastMsgInteractiveInputFieldStateDefault, threadManagementGetResponseLastMsgInteractivePlacementDefault, threadManagementGetResponseLastMsgReactedMetadataReactedByRoleDefault, threadManagementGetResponseLastMsgReplyToSenderRoleDefault, threadManagementGetResponseLastMsgSenderRoleDefault, threadManagementGetResponseMembersItemRoleDefault, threadManagementGetResponseReadStatesItemMemberRoleDefault, threadManagementGetResponseTypeDefault, threadManagementSearchLeftResponseItemsItemLastMsgDeletedByRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgForwardOriginKindDefault, threadManagementSearchLeftResponseItemsItemLastMsgInteractiveInputFieldStateDefault, threadManagementSearchLeftResponseItemsItemLastMsgInteractivePlacementDefault, threadManagementSearchLeftResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgReplyToSenderRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgSenderRoleDefault, threadManagementSearchLeftResponseItemsItemMembersItemRoleDefault, threadManagementSearchLeftResponseItemsItemReadStatesItemMemberRoleDefault, threadManagementSearchLeftResponseItemsItemTypeDefault, threadManagementSearchResponseItemsItemLastMsgDeletedByRoleDefault, threadManagementSearchResponseItemsItemLastMsgForwardOriginKindDefault, threadManagementSearchResponseItemsItemLastMsgInteractiveInputFieldStateDefault, threadManagementSearchResponseItemsItemLastMsgInteractivePlacementDefault, threadManagementSearchResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault, threadManagementSearchResponseItemsItemLastMsgReplyToSenderRoleDefault, threadManagementSearchResponseItemsItemLastMsgSenderRoleDefault, threadManagementSearchResponseItemsItemMembersItemRoleDefault, threadManagementSearchResponseItemsItemReadStatesItemMemberRoleDefault, threadManagementSearchResponseItemsItemTypeDefault, threadManagementTransferBodyRoleDefault, threadManagementTransferResponseMemberRoleDefault, } from './webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod';
|
|
262
|
+
export { ThreadManagementAddMemberBody, ThreadManagementAddMemberParams, ThreadManagementAddMemberResponse, ThreadManagementCreateBody, ThreadManagementCreateResponse, ThreadManagementFlushVariablesBody, ThreadManagementFlushVariablesParams, ThreadManagementFlushVariablesResponse, ThreadManagementGetParams, ThreadManagementGetQueryParams, ThreadManagementGetResponse, ThreadManagementGetUnreadSummaryResponse, ThreadManagementHandBackToBotBody, ThreadManagementHandBackToBotParams, ThreadManagementHandBackToBotResponse, ThreadManagementLocateVariablesParams, ThreadManagementLocateVariablesResponse, ThreadManagementRemoveMemberParams, ThreadManagementRemoveMemberQueryParams, ThreadManagementRemoveMemberResponse, ThreadManagementSearchLeftQueryParams, ThreadManagementSearchLeftResponse, ThreadManagementSearchQueryParams, ThreadManagementSearchResponse, ThreadManagementSearchVariablesQueryParams, ThreadManagementSearchVariablesResponse, ThreadManagementSetVariablesBody, ThreadManagementSetVariablesParams, ThreadManagementSetVariablesResponse, ThreadManagementTakeOverFromBotBody, ThreadManagementTakeOverFromBotParams, ThreadManagementTakeOverFromBotResponse, ThreadManagementTransferBody, ThreadManagementTransferParams, ThreadManagementTransferResponse, threadManagementAddMemberBodyRoleDefault, threadManagementAddMemberResponseMemberRoleDefault, threadManagementCreateResponseThreadLastMsgDeletedByRoleDefault, threadManagementCreateResponseThreadLastMsgFailuresItemMemberRoleDefault, threadManagementCreateResponseThreadLastMsgForwardOriginKindDefault, threadManagementCreateResponseThreadLastMsgInteractiveInputFieldStateDefault, threadManagementCreateResponseThreadLastMsgInteractivePlacementDefault, threadManagementCreateResponseThreadLastMsgReactedMetadataReactedByRoleDefault, threadManagementCreateResponseThreadLastMsgReplyToSenderRoleDefault, threadManagementCreateResponseThreadLastMsgSenderRoleDefault, threadManagementCreateResponseThreadMembersItemRoleDefault, threadManagementCreateResponseThreadReadStatesItemMemberRoleDefault, threadManagementCreateResponseThreadTypeDefault, threadManagementGetResponseLastMsgDeletedByRoleDefault, threadManagementGetResponseLastMsgFailuresItemMemberRoleDefault, threadManagementGetResponseLastMsgForwardOriginKindDefault, threadManagementGetResponseLastMsgInteractiveInputFieldStateDefault, threadManagementGetResponseLastMsgInteractivePlacementDefault, threadManagementGetResponseLastMsgReactedMetadataReactedByRoleDefault, threadManagementGetResponseLastMsgReplyToSenderRoleDefault, threadManagementGetResponseLastMsgSenderRoleDefault, threadManagementGetResponseMembersItemRoleDefault, threadManagementGetResponseReadStatesItemMemberRoleDefault, threadManagementGetResponseTypeDefault, threadManagementSearchLeftResponseItemsItemLastMsgDeletedByRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgFailuresItemMemberRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgForwardOriginKindDefault, threadManagementSearchLeftResponseItemsItemLastMsgInteractiveInputFieldStateDefault, threadManagementSearchLeftResponseItemsItemLastMsgInteractivePlacementDefault, threadManagementSearchLeftResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgReplyToSenderRoleDefault, threadManagementSearchLeftResponseItemsItemLastMsgSenderRoleDefault, threadManagementSearchLeftResponseItemsItemMembersItemRoleDefault, threadManagementSearchLeftResponseItemsItemReadStatesItemMemberRoleDefault, threadManagementSearchLeftResponseItemsItemTypeDefault, threadManagementSearchResponseItemsItemLastMsgDeletedByRoleDefault, threadManagementSearchResponseItemsItemLastMsgFailuresItemMemberRoleDefault, threadManagementSearchResponseItemsItemLastMsgForwardOriginKindDefault, threadManagementSearchResponseItemsItemLastMsgInteractiveInputFieldStateDefault, threadManagementSearchResponseItemsItemLastMsgInteractivePlacementDefault, threadManagementSearchResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault, threadManagementSearchResponseItemsItemLastMsgReplyToSenderRoleDefault, threadManagementSearchResponseItemsItemLastMsgSenderRoleDefault, threadManagementSearchResponseItemsItemMembersItemRoleDefault, threadManagementSearchResponseItemsItemReadStatesItemMemberRoleDefault, threadManagementSearchResponseItemsItemTypeDefault, threadManagementTransferBodyRoleDefault, threadManagementTransferResponseMemberRoleDefault, } from './webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod';
|
|
263
263
|
export * from './webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission';
|
|
264
264
|
export { ThreadPermissionGetParams, ThreadPermissionGetResponse, ThreadPermissionUpdateParams, ThreadPermissionUpdateQueryParams, ThreadPermissionUpdateResponse, } from './webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.zod';
|
|
265
|
+
export * from './webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice';
|
|
266
|
+
export * from './webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod';
|
|
265
267
|
export * from './webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement';
|
|
266
268
|
export * from './webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod';
|
|
267
269
|
export * from './webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates';
|
|
@@ -129,6 +129,7 @@ export * from './webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-mes
|
|
|
129
129
|
export * from './webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod';
|
|
130
130
|
export * from './webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod';
|
|
131
131
|
export * from './webitel-im-api-gateway-v1-threadpermission/webitel-im-api-gateway-v1-threadpermission.zod';
|
|
132
|
+
export * from './webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod';
|
|
132
133
|
export * from './webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod';
|
|
133
134
|
export * from './webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod';
|
|
134
135
|
export * from './webitel-im-api-provider-v1-facebookservice/webitel-im-api-provider-v1-facebookservice.zod';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
-
import type { DeleteListCommunicationParams, DeleteListParams, EngineCreateListRequest, EngineList, EngineListCommunication, EngineListOfList, EngineListOfListCommunication, EngineListServiceCreateListCommunicationBody, EngineListServiceUpdateListBody, EngineListServiceUpdateListCommunicationBody, ReadListCommunicationParams, ReadListParams, SearchListCommunicationParams, SearchListParams } from '../_models';
|
|
8
|
+
import type { DeleteListCommunicationParams, DeleteListParams, EngineCreateListRequest, EngineList, EngineListCommunication, EngineListCommunicationBulkResponse, EngineListOfList, EngineListOfListCommunication, EngineListServiceCreateListCommunicationBody, EngineListServiceCreateListCommunicationBulkBody, EngineListServiceUpdateListBody, EngineListServiceUpdateListCommunicationBody, ReadListCommunicationParams, ReadListParams, SearchListCommunicationParams, SearchListParams } from '../_models';
|
|
9
9
|
export declare const // --- title start
|
|
10
10
|
getListService: (axiosInstance?: AxiosInstance) => {
|
|
11
11
|
searchList: (params?: SearchListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListOfList>>;
|
|
@@ -15,6 +15,7 @@ getListService: (axiosInstance?: AxiosInstance) => {
|
|
|
15
15
|
updateList: (id: string, engineListServiceUpdateListBody: EngineListServiceUpdateListBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineList>>;
|
|
16
16
|
searchListCommunication: (listId: string, params?: SearchListCommunicationParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListOfListCommunication>>;
|
|
17
17
|
createListCommunication: (listId: string, engineListServiceCreateListCommunicationBody: EngineListServiceCreateListCommunicationBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListCommunication>>;
|
|
18
|
+
createListCommunicationBulk: (listId: string, engineListServiceCreateListCommunicationBulkBody: EngineListServiceCreateListCommunicationBulkBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListCommunicationBulkResponse>>;
|
|
18
19
|
deleteListCommunication: (listId: string, id: string, params?: DeleteListCommunicationParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListCommunication>>;
|
|
19
20
|
readListCommunication: (listId: string, id: string, params?: ReadListCommunicationParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListCommunication>>;
|
|
20
21
|
updateListCommunication: (listId: string, id: string, engineListServiceUpdateListCommunicationBody: EngineListServiceUpdateListCommunicationBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineListCommunication>>;
|
|
@@ -26,6 +27,7 @@ export type ReadListResult = AxiosResponse<EngineList>;
|
|
|
26
27
|
export type UpdateListResult = AxiosResponse<EngineList>;
|
|
27
28
|
export type SearchListCommunicationResult = AxiosResponse<EngineListOfListCommunication>;
|
|
28
29
|
export type CreateListCommunicationResult = AxiosResponse<EngineListCommunication>;
|
|
30
|
+
export type CreateListCommunicationBulkResult = AxiosResponse<EngineListCommunicationBulkResponse>;
|
|
29
31
|
export type DeleteListCommunicationResult = AxiosResponse<EngineListCommunication>;
|
|
30
32
|
export type ReadListCommunicationResult = AxiosResponse<EngineListCommunication>;
|
|
31
33
|
export type UpdateListCommunicationResult = AxiosResponse<EngineListCommunication>;
|
|
@@ -185,6 +185,45 @@ export declare const CreateListCommunicationResponse: zod.ZodObject<{
|
|
|
185
185
|
list_id: zod.ZodOptional<zod.ZodString>;
|
|
186
186
|
number: zod.ZodOptional<zod.ZodString>;
|
|
187
187
|
}, zod.z.core.$strip>;
|
|
188
|
+
/**
|
|
189
|
+
* @summary Bulk create ListCommunication
|
|
190
|
+
*/
|
|
191
|
+
export declare const CreateListCommunicationBulkParams: zod.ZodObject<{
|
|
192
|
+
list_id: zod.ZodString;
|
|
193
|
+
}, zod.z.core.$strip>;
|
|
194
|
+
export declare const CreateListCommunicationBulkBody: zod.ZodObject<{
|
|
195
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
196
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
197
|
+
expire_at: zod.ZodOptional<zod.ZodString>;
|
|
198
|
+
number: zod.ZodOptional<zod.ZodString>;
|
|
199
|
+
}, zod.z.core.$strip>>>;
|
|
200
|
+
}, zod.z.core.$strip>;
|
|
201
|
+
export declare const CreateListCommunicationBulkResponse: zod.ZodObject<{
|
|
202
|
+
data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
203
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
204
|
+
expire_at: zod.ZodOptional<zod.ZodString>;
|
|
205
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
206
|
+
list_id: zod.ZodOptional<zod.ZodString>;
|
|
207
|
+
number: zod.ZodOptional<zod.ZodString>;
|
|
208
|
+
}, zod.z.core.$strip>>>;
|
|
209
|
+
failures: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
210
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
211
|
+
code: zod.ZodOptional<zod.ZodInt>;
|
|
212
|
+
details: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
213
|
+
'@type': zod.ZodOptional<zod.ZodString>;
|
|
214
|
+
}, zod.z.core.$strip>>>;
|
|
215
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
216
|
+
}, zod.z.core.$strip>>;
|
|
217
|
+
index: zod.ZodOptional<zod.ZodInt>;
|
|
218
|
+
item: zod.ZodOptional<zod.ZodObject<{
|
|
219
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
220
|
+
expire_at: zod.ZodOptional<zod.ZodString>;
|
|
221
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
222
|
+
list_id: zod.ZodOptional<zod.ZodString>;
|
|
223
|
+
number: zod.ZodOptional<zod.ZodString>;
|
|
224
|
+
}, zod.z.core.$strip>>;
|
|
225
|
+
}, zod.z.core.$strip>>>;
|
|
226
|
+
}, zod.z.core.$strip>;
|
|
188
227
|
/**
|
|
189
228
|
* @summary Remove ListCommunication
|
|
190
229
|
*/
|
|
@@ -23,6 +23,7 @@ export declare const MessageHistorySearchMessagesQueryParams: zod.ZodObject<{
|
|
|
23
23
|
size: zod.ZodOptional<zod.ZodInt>;
|
|
24
24
|
}, zod.z.core.$strip>;
|
|
25
25
|
export declare const messageHistorySearchMessagesResponseItemsItemDeletedByRoleDefault = "ROLE_UNSPECIFIED";
|
|
26
|
+
export declare const messageHistorySearchMessagesResponseItemsItemFailuresItemMemberRoleDefault = "ROLE_UNSPECIFIED";
|
|
26
27
|
export declare const messageHistorySearchMessagesResponseItemsItemForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|
|
27
28
|
export declare const messageHistorySearchMessagesResponseItemsItemInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
|
|
28
29
|
export declare const messageHistorySearchMessagesResponseItemsItemInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
|
|
@@ -94,6 +95,55 @@ export declare const MessageHistorySearchMessagesResponse: zod.ZodObject<{
|
|
|
94
95
|
url: zod.ZodOptional<zod.ZodString>;
|
|
95
96
|
}, zod.z.core.$strip>>>;
|
|
96
97
|
edited_at: zod.ZodOptional<zod.ZodString>;
|
|
98
|
+
failures: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
99
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
100
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
101
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
102
|
+
}, zod.z.core.$strip>>;
|
|
103
|
+
member: zod.ZodOptional<zod.ZodObject<{
|
|
104
|
+
contact: zod.ZodOptional<zod.ZodObject<{
|
|
105
|
+
app_id: zod.ZodOptional<zod.ZodString>;
|
|
106
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
107
|
+
is_bot: zod.ZodOptional<zod.ZodBoolean>;
|
|
108
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
109
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
110
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
111
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
112
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
113
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
114
|
+
username: zod.ZodOptional<zod.ZodString>;
|
|
115
|
+
vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
116
|
+
contact_id: zod.ZodOptional<zod.ZodString>;
|
|
117
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
118
|
+
disable: zod.ZodOptional<zod.ZodBoolean>;
|
|
119
|
+
disable_reason: zod.ZodOptional<zod.ZodString>;
|
|
120
|
+
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
121
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
122
|
+
via: zod.ZodOptional<zod.ZodString>;
|
|
123
|
+
}, zod.z.core.$strip>>>;
|
|
124
|
+
}, zod.z.core.$strip>>;
|
|
125
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
126
|
+
permissions: zod.ZodOptional<zod.ZodObject<{
|
|
127
|
+
can_add_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
128
|
+
can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
|
|
129
|
+
can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
|
|
130
|
+
can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
131
|
+
can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
132
|
+
can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
133
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
134
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
135
|
+
member_id: zod.ZodOptional<zod.ZodString>;
|
|
136
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
137
|
+
}, zod.z.core.$strip>>;
|
|
138
|
+
role: zod.ZodDefault<zod.ZodEnum<{
|
|
139
|
+
ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
|
|
140
|
+
ROLE_MEMBER: "ROLE_MEMBER";
|
|
141
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
142
|
+
ROLE_OWNER: "ROLE_OWNER";
|
|
143
|
+
ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
|
|
144
|
+
}>>;
|
|
145
|
+
}, zod.z.core.$strip>>;
|
|
146
|
+
}, zod.z.core.$strip>>>;
|
|
97
147
|
forward_origin: zod.ZodOptional<zod.ZodObject<{
|
|
98
148
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
99
149
|
FORWARD_ORIGIN_KIND_UNSPECIFIED: "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|
|
@@ -451,6 +501,7 @@ export declare const MessageHistorySearchLeftThreadsMessagesHistoryQueryParams:
|
|
|
451
501
|
size: zod.ZodOptional<zod.ZodInt>;
|
|
452
502
|
}, zod.z.core.$strip>;
|
|
453
503
|
export declare const messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemDeletedByRoleDefault = "ROLE_UNSPECIFIED";
|
|
504
|
+
export declare const messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemFailuresItemMemberRoleDefault = "ROLE_UNSPECIFIED";
|
|
454
505
|
export declare const messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|
|
455
506
|
export declare const messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
|
|
456
507
|
export declare const messageHistorySearchLeftThreadsMessagesHistoryResponseItemsItemInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
|
|
@@ -522,6 +573,55 @@ export declare const MessageHistorySearchLeftThreadsMessagesHistoryResponse: zod
|
|
|
522
573
|
url: zod.ZodOptional<zod.ZodString>;
|
|
523
574
|
}, zod.z.core.$strip>>>;
|
|
524
575
|
edited_at: zod.ZodOptional<zod.ZodString>;
|
|
576
|
+
failures: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
577
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
578
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
579
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
580
|
+
}, zod.z.core.$strip>>;
|
|
581
|
+
member: zod.ZodOptional<zod.ZodObject<{
|
|
582
|
+
contact: zod.ZodOptional<zod.ZodObject<{
|
|
583
|
+
app_id: zod.ZodOptional<zod.ZodString>;
|
|
584
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
585
|
+
is_bot: zod.ZodOptional<zod.ZodBoolean>;
|
|
586
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
587
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
588
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
589
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
590
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
591
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
592
|
+
username: zod.ZodOptional<zod.ZodString>;
|
|
593
|
+
vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
594
|
+
contact_id: zod.ZodOptional<zod.ZodString>;
|
|
595
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
596
|
+
disable: zod.ZodOptional<zod.ZodBoolean>;
|
|
597
|
+
disable_reason: zod.ZodOptional<zod.ZodString>;
|
|
598
|
+
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
599
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
600
|
+
via: zod.ZodOptional<zod.ZodString>;
|
|
601
|
+
}, zod.z.core.$strip>>>;
|
|
602
|
+
}, zod.z.core.$strip>>;
|
|
603
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
604
|
+
permissions: zod.ZodOptional<zod.ZodObject<{
|
|
605
|
+
can_add_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
606
|
+
can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
|
|
607
|
+
can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
|
|
608
|
+
can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
609
|
+
can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
610
|
+
can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
611
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
612
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
613
|
+
member_id: zod.ZodOptional<zod.ZodString>;
|
|
614
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
615
|
+
}, zod.z.core.$strip>>;
|
|
616
|
+
role: zod.ZodDefault<zod.ZodEnum<{
|
|
617
|
+
ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
|
|
618
|
+
ROLE_MEMBER: "ROLE_MEMBER";
|
|
619
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
620
|
+
ROLE_OWNER: "ROLE_OWNER";
|
|
621
|
+
ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
|
|
622
|
+
}>>;
|
|
623
|
+
}, zod.z.core.$strip>>;
|
|
624
|
+
}, zod.z.core.$strip>>>;
|
|
525
625
|
forward_origin: zod.ZodOptional<zod.ZodObject<{
|
|
526
626
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
527
627
|
FORWARD_ORIGIN_KIND_UNSPECIFIED: "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|
|
@@ -812,6 +912,7 @@ export declare const MessageHistorySearchThreadMessagesHistoryQueryParams: zod.Z
|
|
|
812
912
|
size: zod.ZodOptional<zod.ZodInt>;
|
|
813
913
|
}, zod.z.core.$strip>;
|
|
814
914
|
export declare const messageHistorySearchThreadMessagesHistoryResponseItemsItemDeletedByRoleDefault = "ROLE_UNSPECIFIED";
|
|
915
|
+
export declare const messageHistorySearchThreadMessagesHistoryResponseItemsItemFailuresItemMemberRoleDefault = "ROLE_UNSPECIFIED";
|
|
815
916
|
export declare const messageHistorySearchThreadMessagesHistoryResponseItemsItemForwardOriginKindDefault = "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|
|
816
917
|
export declare const messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractiveInputFieldStateDefault = "INPUT_FIELD_STATE_UNSPECIFIED";
|
|
817
918
|
export declare const messageHistorySearchThreadMessagesHistoryResponseItemsItemInteractivePlacementDefault = "MENU_PLACEMENT_UNSPECIFIED";
|
|
@@ -883,6 +984,55 @@ export declare const MessageHistorySearchThreadMessagesHistoryResponse: zod.ZodO
|
|
|
883
984
|
url: zod.ZodOptional<zod.ZodString>;
|
|
884
985
|
}, zod.z.core.$strip>>>;
|
|
885
986
|
edited_at: zod.ZodOptional<zod.ZodString>;
|
|
987
|
+
failures: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
988
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
989
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
990
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
991
|
+
}, zod.z.core.$strip>>;
|
|
992
|
+
member: zod.ZodOptional<zod.ZodObject<{
|
|
993
|
+
contact: zod.ZodOptional<zod.ZodObject<{
|
|
994
|
+
app_id: zod.ZodOptional<zod.ZodString>;
|
|
995
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
996
|
+
is_bot: zod.ZodOptional<zod.ZodBoolean>;
|
|
997
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
998
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
999
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
1000
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
1001
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
1002
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
1003
|
+
username: zod.ZodOptional<zod.ZodString>;
|
|
1004
|
+
vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1005
|
+
contact_id: zod.ZodOptional<zod.ZodString>;
|
|
1006
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
1007
|
+
disable: zod.ZodOptional<zod.ZodBoolean>;
|
|
1008
|
+
disable_reason: zod.ZodOptional<zod.ZodString>;
|
|
1009
|
+
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
1010
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
1011
|
+
via: zod.ZodOptional<zod.ZodString>;
|
|
1012
|
+
}, zod.z.core.$strip>>>;
|
|
1013
|
+
}, zod.z.core.$strip>>;
|
|
1014
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
1015
|
+
permissions: zod.ZodOptional<zod.ZodObject<{
|
|
1016
|
+
can_add_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
1017
|
+
can_change_members_permissions: zod.ZodOptional<zod.ZodBoolean>;
|
|
1018
|
+
can_change_thread_info: zod.ZodOptional<zod.ZodBoolean>;
|
|
1019
|
+
can_delete_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
1020
|
+
can_remove_members: zod.ZodOptional<zod.ZodBoolean>;
|
|
1021
|
+
can_send_messages: zod.ZodOptional<zod.ZodBoolean>;
|
|
1022
|
+
created_at: zod.ZodOptional<zod.ZodString>;
|
|
1023
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
1024
|
+
member_id: zod.ZodOptional<zod.ZodString>;
|
|
1025
|
+
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
1026
|
+
}, zod.z.core.$strip>>;
|
|
1027
|
+
role: zod.ZodDefault<zod.ZodEnum<{
|
|
1028
|
+
ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
|
|
1029
|
+
ROLE_MEMBER: "ROLE_MEMBER";
|
|
1030
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1031
|
+
ROLE_OWNER: "ROLE_OWNER";
|
|
1032
|
+
ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
|
|
1033
|
+
}>>;
|
|
1034
|
+
}, zod.z.core.$strip>>;
|
|
1035
|
+
}, zod.z.core.$strip>>>;
|
|
886
1036
|
forward_origin: zod.ZodOptional<zod.ZodObject<{
|
|
887
1037
|
kind: zod.ZodDefault<zod.ZodEnum<{
|
|
888
1038
|
FORWARD_ORIGIN_KIND_UNSPECIFIED: "FORWARD_ORIGIN_KIND_UNSPECIFIED";
|