@wildix/xbees-conversations-client 1.5.0 → 3.1.1
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/dist-cjs/Conversations.js +3 -3
- package/dist-cjs/ConversationsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +183 -0
- package/dist-cjs/commands/AddChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/AddChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/AssignChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateGroupChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/CreateKiteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/DeleteInboxTagCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/GetChannelCommand.js +10 -11
- package/dist-cjs/commands/GetChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +10 -11
- package/dist-cjs/commands/GetInboxStateCommand.js +10 -11
- package/dist-cjs/commands/GetMessageCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +10 -11
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTokenCommand.js +10 -11
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +10 -11
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +10 -11
- package/dist-cjs/commands/HideChannelCommand.js +10 -11
- package/dist-cjs/commands/InviteCommand.js +10 -11
- package/dist-cjs/commands/JoinChannelCommand.js +10 -11
- package/dist-cjs/commands/LeaveChannelCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +10 -11
- package/dist-cjs/commands/ListChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTagsCommand.js +10 -11
- package/dist-cjs/commands/ListMessageReactionsCommand.js +10 -11
- package/dist-cjs/commands/ListMessagesCommand.js +10 -11
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +10 -11
- package/dist-cjs/commands/MarkReadCommand.js +10 -11
- package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/PinChannelCommand.js +10 -11
- package/dist-cjs/commands/PinMessageCommand.js +10 -11
- package/dist-cjs/commands/QueryChannelsCommand.js +10 -11
- package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +10 -11
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/SendGiphyCommand.js +10 -11
- package/dist-cjs/commands/SendMessageCommand.js +10 -11
- package/dist-cjs/commands/SendMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/SendSystemMessageCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStartCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStopCommand.js +10 -11
- package/dist-cjs/commands/ShowChannelCommand.js +10 -11
- package/dist-cjs/commands/TagChannelCommand.js +10 -11
- package/dist-cjs/commands/TriggerMessageActionCommand.js +10 -11
- package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
- package/dist-cjs/commands/UntagChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/UploadFileCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +7 -4
- package/dist-cjs/models/ConversationsSyntheticServiceException.js +12 -0
- package/dist-cjs/models/enums.js +124 -0
- package/dist-cjs/models/errors.js +274 -0
- package/dist-cjs/models/models_0.js +0 -451
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1854 -0
- package/dist-es/Conversations.js +6 -6
- package/dist-es/ConversationsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +177 -0
- package/dist-es/commands/AddChannelMemberCommand.js +9 -10
- package/dist-es/commands/AddChannelMembersCommand.js +9 -10
- package/dist-es/commands/AssignChannelCommand.js +9 -10
- package/dist-es/commands/CreateGroupChannelCommand.js +9 -10
- package/dist-es/commands/CreateInboxTagCommand.js +9 -10
- package/dist-es/commands/CreateKiteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
- package/dist-es/commands/DeleteInboxTagCommand.js +9 -10
- package/dist-es/commands/DeleteMessageCommand.js +9 -10
- package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/GetChannelCommand.js +9 -10
- package/dist-es/commands/GetChannelMemberCommand.js +9 -10
- package/dist-es/commands/GetDirectChannelIdCommand.js +9 -10
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +9 -10
- package/dist-es/commands/GetInboxStateCommand.js +9 -10
- package/dist-es/commands/GetMessageCommand.js +9 -10
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +9 -10
- package/dist-es/commands/GetSmsChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTokenCommand.js +9 -10
- package/dist-es/commands/GetUploadedFileInfoCommand.js +9 -10
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +9 -10
- package/dist-es/commands/HideChannelCommand.js +9 -10
- package/dist-es/commands/InviteCommand.js +9 -10
- package/dist-es/commands/JoinChannelCommand.js +9 -10
- package/dist-es/commands/LeaveChannelCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +9 -10
- package/dist-es/commands/ListChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTagsCommand.js +9 -10
- package/dist-es/commands/ListMessageReactionsCommand.js +9 -10
- package/dist-es/commands/ListMessagesCommand.js +9 -10
- package/dist-es/commands/ListPinnedMessagesCommand.js +9 -10
- package/dist-es/commands/MarkReadCommand.js +9 -10
- package/dist-es/commands/MarkUnreadCommand.js +9 -10
- package/dist-es/commands/PartialUpdateChannelCommand.js +9 -10
- package/dist-es/commands/PartialUpdateMessageCommand.js +9 -10
- package/dist-es/commands/PinChannelCommand.js +9 -10
- package/dist-es/commands/PinMessageCommand.js +9 -10
- package/dist-es/commands/QueryChannelsCommand.js +9 -10
- package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +9 -10
- package/dist-es/commands/SendActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/SendGiphyCommand.js +9 -10
- package/dist-es/commands/SendMessageCommand.js +9 -10
- package/dist-es/commands/SendMessageReactionCommand.js +9 -10
- package/dist-es/commands/SendSystemMessageCommand.js +9 -10
- package/dist-es/commands/SendTypingStartCommand.js +9 -10
- package/dist-es/commands/SendTypingStopCommand.js +9 -10
- package/dist-es/commands/ShowChannelCommand.js +9 -10
- package/dist-es/commands/TagChannelCommand.js +9 -10
- package/dist-es/commands/TriggerMessageActionCommand.js +9 -10
- package/dist-es/commands/UnpinChannelCommand.js +9 -10
- package/dist-es/commands/UnpinMessageCommand.js +9 -10
- package/dist-es/commands/UntagChannelCommand.js +9 -10
- package/dist-es/commands/UpdateChannelCommand.js +9 -10
- package/dist-es/commands/UpdateInboxTagCommand.js +9 -10
- package/dist-es/commands/UpdateMessageCommand.js +9 -10
- package/dist-es/commands/UploadFileCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +5 -2
- package/dist-es/models/ConversationsSyntheticServiceException.js +8 -0
- package/dist-es/models/enums.js +121 -0
- package/dist-es/models/errors.js +251 -0
- package/dist-es/models/models_0.js +1 -430
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1846 -0
- package/dist-types/Conversations.d.ts +66 -66
- package/dist-types/ConversationsClient.d.ts +95 -77
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/AddChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/AddChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/AssignChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +12 -8
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -8
- package/dist-types/commands/GetInboxStateCommand.d.ts +12 -8
- package/dist-types/commands/GetMessageCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTokenCommand.d.ts +12 -8
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -8
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/HideChannelCommand.d.ts +12 -8
- package/dist-types/commands/InviteCommand.d.ts +12 -8
- package/dist-types/commands/JoinChannelCommand.d.ts +12 -8
- package/dist-types/commands/LeaveChannelCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessagesCommand.d.ts +12 -8
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -8
- package/dist-types/commands/MarkReadCommand.d.ts +12 -8
- package/dist-types/commands/MarkUnreadCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/PinChannelCommand.d.ts +12 -8
- package/dist-types/commands/PinMessageCommand.d.ts +12 -8
- package/dist-types/commands/QueryChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -8
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/SendGiphyCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/SendSystemMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStartCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStopCommand.d.ts +12 -8
- package/dist-types/commands/ShowChannelCommand.d.ts +12 -8
- package/dist-types/commands/TagChannelCommand.d.ts +12 -8
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -8
- package/dist-types/commands/UnpinChannelCommand.d.ts +12 -8
- package/dist-types/commands/UnpinMessageCommand.d.ts +12 -8
- package/dist-types/commands/UntagChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/UploadFileCommand.d.ts +12 -8
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +6 -2
- package/dist-types/models/{ConversationsServiceException.d.ts → ConversationsSyntheticServiceException.d.ts} +2 -2
- package/dist-types/models/enums.d.ts +285 -0
- package/dist-types/models/errors.d.ts +244 -0
- package/dist-types/models/models_0.d.ts +85 -594
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +286 -0
- package/package.json +14 -40
- package/dist-cjs/models/ConversationsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2574
- package/dist-es/models/ConversationsServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2439
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -587
|
@@ -1,58 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export declare class ForbiddenException extends __BaseException {
|
|
7
|
-
readonly name: "ForbiddenException";
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export declare class RateLimitExceededException extends __BaseException {
|
|
18
|
-
readonly name: "RateLimitExceededException";
|
|
19
|
-
readonly $fault: "client";
|
|
20
|
-
/**
|
|
21
|
-
* Displays the applicable rate limits for the current request.
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
rateLimit?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Indicates how many requests a user can still make within the current time window.
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
rateLimitRemaining?: number | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Shows the time in seconds until the rate limit resets.
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
rateLimitReset?: number | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Displays how many seconds the user agent should wait before making a follow-up request.
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
retryAfter?: number | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
export declare class ValidationException extends __BaseException {
|
|
49
|
-
readonly name: "ValidationException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
55
|
-
}
|
|
1
|
+
import type { ActionTriggerStatus, AssignChannelVariant, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelType, ChannelWhatsAppStatus, ConversationFileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, ReactionType, WebhookEventType } from "./enums";
|
|
56
2
|
/**
|
|
57
3
|
* @public
|
|
58
4
|
*/
|
|
@@ -65,54 +11,8 @@ export interface TemplateParameter {
|
|
|
65
11
|
*/
|
|
66
12
|
export interface TemplateWithParameters {
|
|
67
13
|
name: string;
|
|
68
|
-
parameters?:
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* @public
|
|
72
|
-
* @enum
|
|
73
|
-
*/
|
|
74
|
-
export declare const TargetNotEligibleReason: {
|
|
75
|
-
readonly NO_LICENSE: "no_license";
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export declare class TargetNotEligibleException extends __BaseException {
|
|
85
|
-
readonly name: "TargetNotEligibleException";
|
|
86
|
-
readonly $fault: "client";
|
|
87
|
-
reason?: TargetNotEligibleReason | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
14
|
+
parameters?: TemplateParameter[] | undefined;
|
|
92
15
|
}
|
|
93
|
-
/**
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
export declare class TargetNotFoundException extends __BaseException {
|
|
97
|
-
readonly name: "TargetNotFoundException";
|
|
98
|
-
readonly $fault: "client";
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* @public
|
|
106
|
-
* @enum
|
|
107
|
-
*/
|
|
108
|
-
export declare const ChannelAccess: {
|
|
109
|
-
readonly PRIVATE: "private";
|
|
110
|
-
readonly PUBLIC: "public";
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
|
|
116
16
|
/**
|
|
117
17
|
* @public
|
|
118
18
|
*/
|
|
@@ -135,32 +35,6 @@ export interface User {
|
|
|
135
35
|
createdAt?: string | undefined;
|
|
136
36
|
updatedAt?: string | undefined;
|
|
137
37
|
}
|
|
138
|
-
/**
|
|
139
|
-
* @public
|
|
140
|
-
* @enum
|
|
141
|
-
*/
|
|
142
|
-
export declare const ChannelType: {
|
|
143
|
-
readonly DIRECT: "direct";
|
|
144
|
-
readonly GROUP: "group";
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
150
|
-
/**
|
|
151
|
-
* @public
|
|
152
|
-
* @enum
|
|
153
|
-
*/
|
|
154
|
-
export declare const ChannelContextEventAttendeeStatus: {
|
|
155
|
-
readonly ACCEPTED: "accepted";
|
|
156
|
-
readonly DECLINED: "declined";
|
|
157
|
-
readonly NONE: "none";
|
|
158
|
-
readonly TENTATIVE: "tentative";
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
|
|
164
38
|
/**
|
|
165
39
|
* @public
|
|
166
40
|
*/
|
|
@@ -178,7 +52,7 @@ export interface ChannelContextEvent {
|
|
|
178
52
|
start?: string | undefined;
|
|
179
53
|
end?: string | undefined;
|
|
180
54
|
summary?: string | undefined;
|
|
181
|
-
attendees?:
|
|
55
|
+
attendees?: ChannelContextEventAttendee[] | undefined;
|
|
182
56
|
}
|
|
183
57
|
/**
|
|
184
58
|
* @public
|
|
@@ -190,37 +64,15 @@ export interface ChannelContextPushToTalk {
|
|
|
190
64
|
*/
|
|
191
65
|
broadcastId?: string | undefined;
|
|
192
66
|
}
|
|
193
|
-
/**
|
|
194
|
-
* @public
|
|
195
|
-
* @enum
|
|
196
|
-
*/
|
|
197
|
-
export declare const ChannelContextSource: {
|
|
198
|
-
readonly KITE: "kite";
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* @public
|
|
202
|
-
*/
|
|
203
|
-
export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
|
|
204
67
|
/**
|
|
205
68
|
* @public
|
|
206
69
|
*/
|
|
207
70
|
export interface ChannelContext {
|
|
208
71
|
source?: ChannelContextSource | undefined;
|
|
209
72
|
target?: string | undefined;
|
|
210
|
-
events?:
|
|
73
|
+
events?: ChannelContextEvent[] | undefined;
|
|
211
74
|
ptt?: ChannelContextPushToTalk | undefined;
|
|
212
75
|
}
|
|
213
|
-
/**
|
|
214
|
-
* @public
|
|
215
|
-
* @enum
|
|
216
|
-
*/
|
|
217
|
-
export declare const ChannelWhatsAppStatus: {
|
|
218
|
-
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
219
|
-
};
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
|
-
export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
|
|
224
76
|
/**
|
|
225
77
|
* @public
|
|
226
78
|
*/
|
|
@@ -341,26 +193,17 @@ export declare namespace ButtonHandler {
|
|
|
341
193
|
action?: never;
|
|
342
194
|
$unknown: [string, any];
|
|
343
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @deprecated unused in schema-serde mode.
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
344
200
|
interface Visitor<T> {
|
|
345
201
|
link: (value: ButtonLinkHandler) => T;
|
|
346
202
|
reply: (value: ButtonReplyHandler) => T;
|
|
347
203
|
action: (value: ButtonActionHandler) => T;
|
|
348
204
|
_: (name: string, value: any) => T;
|
|
349
205
|
}
|
|
350
|
-
const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
|
|
351
206
|
}
|
|
352
|
-
/**
|
|
353
|
-
* @public
|
|
354
|
-
* @enum
|
|
355
|
-
*/
|
|
356
|
-
export declare const ButtonVariant: {
|
|
357
|
-
readonly CONTAINED: "contained";
|
|
358
|
-
readonly OUTLINED: "outlined";
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* @public
|
|
362
|
-
*/
|
|
363
|
-
export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
|
|
364
207
|
/**
|
|
365
208
|
* @public
|
|
366
209
|
*/
|
|
@@ -389,11 +232,14 @@ export declare namespace ActionElement {
|
|
|
389
232
|
button?: never;
|
|
390
233
|
$unknown: [string, any];
|
|
391
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated unused in schema-serde mode.
|
|
237
|
+
*
|
|
238
|
+
*/
|
|
392
239
|
interface Visitor<T> {
|
|
393
240
|
button: (value: ButtonElement) => T;
|
|
394
241
|
_: (name: string, value: any) => T;
|
|
395
242
|
}
|
|
396
|
-
const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
|
|
397
243
|
}
|
|
398
244
|
/**
|
|
399
245
|
* @public
|
|
@@ -416,7 +262,7 @@ export declare namespace Element {
|
|
|
416
262
|
}
|
|
417
263
|
interface ActionsMember {
|
|
418
264
|
template?: never;
|
|
419
|
-
actions:
|
|
265
|
+
actions: ActionElement[];
|
|
420
266
|
$unknown?: never;
|
|
421
267
|
}
|
|
422
268
|
/**
|
|
@@ -427,12 +273,15 @@ export declare namespace Element {
|
|
|
427
273
|
actions?: never;
|
|
428
274
|
$unknown: [string, any];
|
|
429
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* @deprecated unused in schema-serde mode.
|
|
278
|
+
*
|
|
279
|
+
*/
|
|
430
280
|
interface Visitor<T> {
|
|
431
281
|
template: (value: MessageTemplateConfig) => T;
|
|
432
|
-
actions: (value:
|
|
282
|
+
actions: (value: ActionElement[]) => T;
|
|
433
283
|
_: (name: string, value: any) => T;
|
|
434
284
|
}
|
|
435
|
-
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
436
285
|
}
|
|
437
286
|
/**
|
|
438
287
|
* @public
|
|
@@ -472,61 +321,20 @@ export interface MessageQuote {
|
|
|
472
321
|
channelId: string;
|
|
473
322
|
user: User;
|
|
474
323
|
text?: string | undefined;
|
|
475
|
-
attachments?:
|
|
324
|
+
attachments?: MessageAttachment[] | undefined;
|
|
476
325
|
forward?: MessageForward | undefined;
|
|
477
|
-
mentions?:
|
|
326
|
+
mentions?: User[] | undefined;
|
|
478
327
|
giphy?: MessageGiphy | undefined;
|
|
479
328
|
createdAt: string;
|
|
480
329
|
updatedAt?: string | undefined;
|
|
481
330
|
}
|
|
482
|
-
/**
|
|
483
|
-
* @public
|
|
484
|
-
* @enum
|
|
485
|
-
*/
|
|
486
|
-
export declare const MessageSmsStatus: {
|
|
487
|
-
readonly DELIVERED: "delivered";
|
|
488
|
-
readonly ERROR: "error";
|
|
489
|
-
readonly SENT: "sent";
|
|
490
|
-
readonly TRYING: "trying";
|
|
491
|
-
};
|
|
492
|
-
/**
|
|
493
|
-
* @public
|
|
494
|
-
*/
|
|
495
|
-
export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
|
|
496
|
-
/**
|
|
497
|
-
* @public
|
|
498
|
-
* @enum
|
|
499
|
-
*/
|
|
500
|
-
export declare const MessageType: {
|
|
501
|
-
readonly DELETED: "deleted";
|
|
502
|
-
readonly REGULAR: "regular";
|
|
503
|
-
readonly SYSTEM: "system";
|
|
504
|
-
};
|
|
505
|
-
/**
|
|
506
|
-
* @public
|
|
507
|
-
*/
|
|
508
|
-
export type MessageType = typeof MessageType[keyof typeof MessageType];
|
|
509
|
-
/**
|
|
510
|
-
* @public
|
|
511
|
-
* @enum
|
|
512
|
-
*/
|
|
513
|
-
export declare const MessageWhatsAppStatus: {
|
|
514
|
-
readonly DELIVERED: "delivered";
|
|
515
|
-
readonly ERROR: "error";
|
|
516
|
-
readonly SENT: "sent";
|
|
517
|
-
readonly TRYING: "trying";
|
|
518
|
-
};
|
|
519
|
-
/**
|
|
520
|
-
* @public
|
|
521
|
-
*/
|
|
522
|
-
export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
|
|
523
331
|
/**
|
|
524
332
|
* @public
|
|
525
333
|
*/
|
|
526
334
|
export interface Message {
|
|
527
335
|
text?: string | undefined;
|
|
528
|
-
elements?:
|
|
529
|
-
attachments?:
|
|
336
|
+
elements?: Element[] | undefined;
|
|
337
|
+
attachments?: MessageAttachment[] | undefined;
|
|
530
338
|
quote?: MessageQuote | undefined;
|
|
531
339
|
forward?: MessageForward | undefined;
|
|
532
340
|
whatsapp?: boolean | undefined;
|
|
@@ -542,54 +350,18 @@ export interface Message {
|
|
|
542
350
|
channelId: string;
|
|
543
351
|
user: User;
|
|
544
352
|
edit?: boolean | undefined;
|
|
545
|
-
mentions?:
|
|
546
|
-
latestReactions?:
|
|
353
|
+
mentions?: User[] | undefined;
|
|
354
|
+
latestReactions?: Reaction[] | undefined;
|
|
547
355
|
reactionCounts?: Record<string, number> | undefined;
|
|
548
356
|
createdAt: string;
|
|
549
357
|
updatedAt?: string | undefined;
|
|
550
358
|
}
|
|
551
|
-
/**
|
|
552
|
-
* @public
|
|
553
|
-
* @enum
|
|
554
|
-
*/
|
|
555
|
-
export declare const ConversationFileCategory: {
|
|
556
|
-
readonly GENERAL: "channels";
|
|
557
|
-
readonly RECORDING: "recordings";
|
|
558
|
-
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
559
|
-
};
|
|
560
|
-
/**
|
|
561
|
-
* @public
|
|
562
|
-
*/
|
|
563
|
-
export type ConversationFileCategory = typeof ConversationFileCategory[keyof typeof ConversationFileCategory];
|
|
564
|
-
/**
|
|
565
|
-
* @public
|
|
566
|
-
*/
|
|
567
|
-
export declare class FileNotFoundException extends __BaseException {
|
|
568
|
-
readonly name: "FileNotFoundException";
|
|
569
|
-
readonly $fault: "client";
|
|
570
|
-
/**
|
|
571
|
-
* @internal
|
|
572
|
-
*/
|
|
573
|
-
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
574
|
-
}
|
|
575
359
|
/**
|
|
576
360
|
* @public
|
|
577
361
|
*/
|
|
578
362
|
export interface ActionTriggerResult {
|
|
579
363
|
url?: string | undefined;
|
|
580
364
|
}
|
|
581
|
-
/**
|
|
582
|
-
* @public
|
|
583
|
-
* @enum
|
|
584
|
-
*/
|
|
585
|
-
export declare const ActionTriggerStatus: {
|
|
586
|
-
readonly COMPLETED: "completed";
|
|
587
|
-
readonly PENDING: "pending";
|
|
588
|
-
};
|
|
589
|
-
/**
|
|
590
|
-
* @public
|
|
591
|
-
*/
|
|
592
|
-
export type ActionTriggerStatus = typeof ActionTriggerStatus[keyof typeof ActionTriggerStatus];
|
|
593
365
|
/**
|
|
594
366
|
* @public
|
|
595
367
|
*/
|
|
@@ -653,18 +425,6 @@ export interface AddChannelMemberInput {
|
|
|
653
425
|
*/
|
|
654
426
|
hideHistory?: boolean | undefined;
|
|
655
427
|
}
|
|
656
|
-
/**
|
|
657
|
-
* @public
|
|
658
|
-
* @enum
|
|
659
|
-
*/
|
|
660
|
-
export declare const ChannelMemberRole: {
|
|
661
|
-
readonly MEMBER: "member";
|
|
662
|
-
readonly SUPERVISOR: "supervisor";
|
|
663
|
-
};
|
|
664
|
-
/**
|
|
665
|
-
* @public
|
|
666
|
-
*/
|
|
667
|
-
export type ChannelMemberRole = typeof ChannelMemberRole[keyof typeof ChannelMemberRole];
|
|
668
428
|
/**
|
|
669
429
|
* @public
|
|
670
430
|
*/
|
|
@@ -688,39 +448,6 @@ export interface AddChannelMemberOutput {
|
|
|
688
448
|
*/
|
|
689
449
|
user: User;
|
|
690
450
|
}
|
|
691
|
-
/**
|
|
692
|
-
* @public
|
|
693
|
-
*/
|
|
694
|
-
export declare class ChannelNotFoundException extends __BaseException {
|
|
695
|
-
readonly name: "ChannelNotFoundException";
|
|
696
|
-
readonly $fault: "client";
|
|
697
|
-
/**
|
|
698
|
-
* @internal
|
|
699
|
-
*/
|
|
700
|
-
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
701
|
-
}
|
|
702
|
-
/**
|
|
703
|
-
* @public
|
|
704
|
-
*/
|
|
705
|
-
export declare class MemberAlreadyExistException extends __BaseException {
|
|
706
|
-
readonly name: "MemberAlreadyExistException";
|
|
707
|
-
readonly $fault: "client";
|
|
708
|
-
/**
|
|
709
|
-
* @internal
|
|
710
|
-
*/
|
|
711
|
-
constructor(opts: __ExceptionOptionType<MemberAlreadyExistException, __BaseException>);
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* @public
|
|
715
|
-
*/
|
|
716
|
-
export declare class MemberDeactivatedException extends __BaseException {
|
|
717
|
-
readonly name: "MemberDeactivatedException";
|
|
718
|
-
readonly $fault: "client";
|
|
719
|
-
/**
|
|
720
|
-
* @internal
|
|
721
|
-
*/
|
|
722
|
-
constructor(opts: __ExceptionOptionType<MemberDeactivatedException, __BaseException>);
|
|
723
|
-
}
|
|
724
451
|
/**
|
|
725
452
|
* @public
|
|
726
453
|
*/
|
|
@@ -744,12 +471,12 @@ export interface AddChannelMembersInput {
|
|
|
744
471
|
* A list of user IDs to be added as members of the channel.
|
|
745
472
|
* @public
|
|
746
473
|
*/
|
|
747
|
-
members?:
|
|
474
|
+
members?: string[] | undefined;
|
|
748
475
|
/**
|
|
749
476
|
* A list of users to invite to the channel, identified by their email addresses or phone numbers.
|
|
750
477
|
* @public
|
|
751
478
|
*/
|
|
752
|
-
membersToInvite?:
|
|
479
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
753
480
|
/**
|
|
754
481
|
* Set to true to hide the history of the channel for added member. Default is false.
|
|
755
482
|
* @public
|
|
@@ -789,17 +516,17 @@ export interface AddChannelMembersOutput {
|
|
|
789
516
|
* The list of members added to the channel.
|
|
790
517
|
* @public
|
|
791
518
|
*/
|
|
792
|
-
members:
|
|
519
|
+
members: ChannelMember[];
|
|
793
520
|
/**
|
|
794
521
|
* The list of users added to the channel.
|
|
795
522
|
* @public
|
|
796
523
|
*/
|
|
797
|
-
users:
|
|
524
|
+
users: User[];
|
|
798
525
|
/**
|
|
799
526
|
* The list of users skipped during the operation, for example because they are deactivated in GetStream.
|
|
800
527
|
* @public
|
|
801
528
|
*/
|
|
802
|
-
skippedMembers:
|
|
529
|
+
skippedMembers: SkippedMember[];
|
|
803
530
|
}
|
|
804
531
|
/**
|
|
805
532
|
* @public
|
|
@@ -835,12 +562,15 @@ export declare namespace AssignChannelAssigneeRequest {
|
|
|
835
562
|
email?: never;
|
|
836
563
|
$unknown: [string, any];
|
|
837
564
|
}
|
|
565
|
+
/**
|
|
566
|
+
* @deprecated unused in schema-serde mode.
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
838
569
|
interface Visitor<T> {
|
|
839
570
|
id: (value: string) => T;
|
|
840
571
|
email: (value: string) => T;
|
|
841
572
|
_: (name: string, value: any) => T;
|
|
842
573
|
}
|
|
843
|
-
const visit: <T>(value: AssignChannelAssigneeRequest, visitor: Visitor<T>) => T;
|
|
844
574
|
}
|
|
845
575
|
/**
|
|
846
576
|
* @public
|
|
@@ -865,38 +595,15 @@ export declare namespace AssignChannelServiceRequest {
|
|
|
865
595
|
uri?: never;
|
|
866
596
|
$unknown: [string, any];
|
|
867
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* @deprecated unused in schema-serde mode.
|
|
600
|
+
*
|
|
601
|
+
*/
|
|
868
602
|
interface Visitor<T> {
|
|
869
603
|
uri: (value: string) => T;
|
|
870
604
|
_: (name: string, value: any) => T;
|
|
871
605
|
}
|
|
872
|
-
const visit: <T>(value: AssignChannelServiceRequest, visitor: Visitor<T>) => T;
|
|
873
606
|
}
|
|
874
|
-
/**
|
|
875
|
-
* @public
|
|
876
|
-
* @enum
|
|
877
|
-
*/
|
|
878
|
-
export declare const AssignChannelVariant: {
|
|
879
|
-
/**
|
|
880
|
-
* If service was previously assigned it uses SKIP variant, otherwise SELECTED. Default option.
|
|
881
|
-
*/
|
|
882
|
-
readonly ADAPTIVE: "ADAPTIVE";
|
|
883
|
-
/**
|
|
884
|
-
* Ensures that all agents in the service are presented in the conversation and existing members.
|
|
885
|
-
*/
|
|
886
|
-
readonly EVERYBODY: "EVERYBODY";
|
|
887
|
-
/**
|
|
888
|
-
* Ensures that only selected agent and user that made assignment are presented in the conversation.
|
|
889
|
-
*/
|
|
890
|
-
readonly SELECTED: "SELECTED";
|
|
891
|
-
/**
|
|
892
|
-
* Does not invite anyone (except the assignee if not present yet) or remove any agents from the conversation.
|
|
893
|
-
*/
|
|
894
|
-
readonly SKIP: "SKIP";
|
|
895
|
-
};
|
|
896
|
-
/**
|
|
897
|
-
* @public
|
|
898
|
-
*/
|
|
899
|
-
export type AssignChannelVariant = typeof AssignChannelVariant[keyof typeof AssignChannelVariant];
|
|
900
607
|
/**
|
|
901
608
|
* @public
|
|
902
609
|
*/
|
|
@@ -950,7 +657,7 @@ export interface Service {
|
|
|
950
657
|
uri: string;
|
|
951
658
|
title: string;
|
|
952
659
|
settings: ServiceSettings;
|
|
953
|
-
extensions:
|
|
660
|
+
extensions: string[];
|
|
954
661
|
pbx: ServicePbx;
|
|
955
662
|
}
|
|
956
663
|
/**
|
|
@@ -968,17 +675,6 @@ export interface AssignChannelOutput {
|
|
|
968
675
|
*/
|
|
969
676
|
service?: Service | undefined;
|
|
970
677
|
}
|
|
971
|
-
/**
|
|
972
|
-
* @public
|
|
973
|
-
*/
|
|
974
|
-
export declare class ChannelAlreadyExistException extends __BaseException {
|
|
975
|
-
readonly name: "ChannelAlreadyExistException";
|
|
976
|
-
readonly $fault: "client";
|
|
977
|
-
/**
|
|
978
|
-
* @internal
|
|
979
|
-
*/
|
|
980
|
-
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
981
|
-
}
|
|
982
678
|
/**
|
|
983
679
|
* @public
|
|
984
680
|
*/
|
|
@@ -991,20 +687,8 @@ export interface ChannelMemberReadStatus {
|
|
|
991
687
|
* @public
|
|
992
688
|
*/
|
|
993
689
|
export interface ChannelsQuery {
|
|
994
|
-
ids?:
|
|
690
|
+
ids?: string[] | undefined;
|
|
995
691
|
}
|
|
996
|
-
/**
|
|
997
|
-
* @public
|
|
998
|
-
* @enum
|
|
999
|
-
*/
|
|
1000
|
-
export declare const GroupChannelCreationEventType: {
|
|
1001
|
-
readonly CONVERSATION_CREATED: "conversation_created";
|
|
1002
|
-
readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
|
|
1003
|
-
};
|
|
1004
|
-
/**
|
|
1005
|
-
* @public
|
|
1006
|
-
*/
|
|
1007
|
-
export type GroupChannelCreationEventType = typeof GroupChannelCreationEventType[keyof typeof GroupChannelCreationEventType];
|
|
1008
692
|
/**
|
|
1009
693
|
* @public
|
|
1010
694
|
*/
|
|
@@ -1092,12 +776,12 @@ export interface CreateGroupChannelInput {
|
|
|
1092
776
|
* A list of user IDs to be added as members of the group channel.
|
|
1093
777
|
* @public
|
|
1094
778
|
*/
|
|
1095
|
-
members?:
|
|
779
|
+
members?: string[] | undefined;
|
|
1096
780
|
/**
|
|
1097
781
|
* A list of users to invite to the group channel, identified by their email addresses or phone numbers.
|
|
1098
782
|
* @public
|
|
1099
783
|
*/
|
|
1100
|
-
membersToInvite?:
|
|
784
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
1101
785
|
/**
|
|
1102
786
|
* The type of system event to emit after the group channel is created. If omitted, the default group channel creation event is used.
|
|
1103
787
|
* @public
|
|
@@ -1143,24 +827,13 @@ export interface InboxTag {
|
|
|
1143
827
|
export interface CreateInboxTagOutput {
|
|
1144
828
|
tag: InboxTag;
|
|
1145
829
|
}
|
|
1146
|
-
/**
|
|
1147
|
-
* @public
|
|
1148
|
-
*/
|
|
1149
|
-
export declare class TagsLimitReachedException extends __BaseException {
|
|
1150
|
-
readonly name: "TagsLimitReachedException";
|
|
1151
|
-
readonly $fault: "client";
|
|
1152
|
-
/**
|
|
1153
|
-
* @internal
|
|
1154
|
-
*/
|
|
1155
|
-
constructor(opts: __ExceptionOptionType<TagsLimitReachedException, __BaseException>);
|
|
1156
|
-
}
|
|
1157
830
|
/**
|
|
1158
831
|
* @public
|
|
1159
832
|
*/
|
|
1160
833
|
export interface InitialMessage {
|
|
1161
834
|
text?: string | undefined;
|
|
1162
|
-
elements?:
|
|
1163
|
-
attachments?:
|
|
835
|
+
elements?: Element[] | undefined;
|
|
836
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1164
837
|
quote?: MessageQuote | undefined;
|
|
1165
838
|
forward?: MessageForward | undefined;
|
|
1166
839
|
whatsapp?: boolean | undefined;
|
|
@@ -1177,15 +850,15 @@ export interface InitialMessage {
|
|
|
1177
850
|
* A list of user IDs mentioned in the message.
|
|
1178
851
|
* @public
|
|
1179
852
|
*/
|
|
1180
|
-
mentions?:
|
|
853
|
+
mentions?: string[] | undefined;
|
|
1181
854
|
}
|
|
1182
855
|
/**
|
|
1183
856
|
* @public
|
|
1184
857
|
*/
|
|
1185
858
|
export interface WelcomeMessage {
|
|
1186
859
|
text?: string | undefined;
|
|
1187
|
-
elements?:
|
|
1188
|
-
attachments?:
|
|
860
|
+
elements?: Element[] | undefined;
|
|
861
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1189
862
|
quote?: MessageQuote | undefined;
|
|
1190
863
|
forward?: MessageForward | undefined;
|
|
1191
864
|
whatsapp?: boolean | undefined;
|
|
@@ -1202,7 +875,7 @@ export interface WelcomeMessage {
|
|
|
1202
875
|
* A list of user IDs mentioned in the message.
|
|
1203
876
|
* @public
|
|
1204
877
|
*/
|
|
1205
|
-
mentions?:
|
|
878
|
+
mentions?: string[] | undefined;
|
|
1206
879
|
user: User;
|
|
1207
880
|
}
|
|
1208
881
|
/**
|
|
@@ -1233,7 +906,7 @@ export interface CreateKiteChannelInput {
|
|
|
1233
906
|
* A list of welcome messages is created during channel creation to preserve the same state as the client has on the interface. If welcomeMessages or initialMessage are not specified, the system will generate a 'conversation was created' system message.
|
|
1234
907
|
* @public
|
|
1235
908
|
*/
|
|
1236
|
-
welcomeMessages?:
|
|
909
|
+
welcomeMessages?: WelcomeMessage[] | undefined;
|
|
1237
910
|
/**
|
|
1238
911
|
* A message to be added to the conversation for the user. If welcomeMessages or initialMessage are not specified, the system will generate a 'conversation was created' system message.
|
|
1239
912
|
* @public
|
|
@@ -1291,17 +964,6 @@ export interface DeleteChannelMemberInput {
|
|
|
1291
964
|
*/
|
|
1292
965
|
export interface DeleteChannelMemberOutput {
|
|
1293
966
|
}
|
|
1294
|
-
/**
|
|
1295
|
-
* @public
|
|
1296
|
-
*/
|
|
1297
|
-
export declare class MemberNotFoundException extends __BaseException {
|
|
1298
|
-
readonly name: "MemberNotFoundException";
|
|
1299
|
-
readonly $fault: "client";
|
|
1300
|
-
/**
|
|
1301
|
-
* @internal
|
|
1302
|
-
*/
|
|
1303
|
-
constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
|
|
1304
|
-
}
|
|
1305
967
|
/**
|
|
1306
968
|
* @public
|
|
1307
969
|
*/
|
|
@@ -1347,36 +1009,6 @@ export interface DeleteMessageInput {
|
|
|
1347
1009
|
*/
|
|
1348
1010
|
export interface DeleteMessageOutput {
|
|
1349
1011
|
}
|
|
1350
|
-
/**
|
|
1351
|
-
* @public
|
|
1352
|
-
*/
|
|
1353
|
-
export declare class MessageNotFoundException extends __BaseException {
|
|
1354
|
-
readonly name: "MessageNotFoundException";
|
|
1355
|
-
readonly $fault: "client";
|
|
1356
|
-
/**
|
|
1357
|
-
* @internal
|
|
1358
|
-
*/
|
|
1359
|
-
constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* @public
|
|
1363
|
-
* @enum
|
|
1364
|
-
*/
|
|
1365
|
-
export declare const ReactionType: {
|
|
1366
|
-
readonly CLAP: "clap";
|
|
1367
|
-
readonly CONFUSED: "confused";
|
|
1368
|
-
readonly EYES: "eyes";
|
|
1369
|
-
readonly HEART: "heart";
|
|
1370
|
-
readonly SLIGHTLY_SMILING_FACE: "slightly_smiling_face";
|
|
1371
|
-
readonly SMILEY: "smiley";
|
|
1372
|
-
readonly THUMBSDOWN: "thumbsdown";
|
|
1373
|
-
readonly THUMBSUP: "thumbsup";
|
|
1374
|
-
readonly WHITE_CHECK_MARK: "white_check_mark";
|
|
1375
|
-
};
|
|
1376
|
-
/**
|
|
1377
|
-
* @public
|
|
1378
|
-
*/
|
|
1379
|
-
export type ReactionType = typeof ReactionType[keyof typeof ReactionType];
|
|
1380
1012
|
/**
|
|
1381
1013
|
* @public
|
|
1382
1014
|
*/
|
|
@@ -1422,26 +1054,6 @@ export interface WebhookChatActionTriggeredEventData {
|
|
|
1422
1054
|
actionId: string;
|
|
1423
1055
|
triggerId: string;
|
|
1424
1056
|
}
|
|
1425
|
-
/**
|
|
1426
|
-
* @public
|
|
1427
|
-
* @enum
|
|
1428
|
-
*/
|
|
1429
|
-
export declare const WebhookEventType: {
|
|
1430
|
-
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
1431
|
-
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
1432
|
-
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
1433
|
-
readonly MEMBER_ADDED: "chat:member:added";
|
|
1434
|
-
readonly MEMBER_REMOVED: "chat:member:removed";
|
|
1435
|
-
readonly MESSAGE_DELETED: "chat:message:deleted";
|
|
1436
|
-
readonly MESSAGE_NEW: "chat:message:new";
|
|
1437
|
-
readonly MESSAGE_UPDATED: "chat:message:updated";
|
|
1438
|
-
readonly REACTION_DELETED: "chat:reaction:deleted";
|
|
1439
|
-
readonly REACTION_NEW: "chat:reaction:new";
|
|
1440
|
-
};
|
|
1441
|
-
/**
|
|
1442
|
-
* @public
|
|
1443
|
-
*/
|
|
1444
|
-
export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
|
|
1445
1057
|
/**
|
|
1446
1058
|
* @public
|
|
1447
1059
|
*/
|
|
@@ -1459,8 +1071,8 @@ export interface WebhookChatActionTriggeredEvent {
|
|
|
1459
1071
|
*/
|
|
1460
1072
|
export interface WebhookChatChannelCreatedOrUpdatedEventData {
|
|
1461
1073
|
channel: Channel;
|
|
1462
|
-
members:
|
|
1463
|
-
users:
|
|
1074
|
+
members: ChannelMember[];
|
|
1075
|
+
users: User[];
|
|
1464
1076
|
}
|
|
1465
1077
|
/**
|
|
1466
1078
|
* @public
|
|
@@ -1542,8 +1154,8 @@ export interface WebhookChatMessageDeletedEvent {
|
|
|
1542
1154
|
*/
|
|
1543
1155
|
export interface WebhookChatMessageNewEventData {
|
|
1544
1156
|
channel: Channel;
|
|
1545
|
-
members:
|
|
1546
|
-
users:
|
|
1157
|
+
members: ChannelMember[];
|
|
1158
|
+
users: User[];
|
|
1547
1159
|
message: Message;
|
|
1548
1160
|
}
|
|
1549
1161
|
/**
|
|
@@ -1639,17 +1251,6 @@ export interface GetActionTriggerResultOutput {
|
|
|
1639
1251
|
status: ActionTriggerStatus;
|
|
1640
1252
|
result?: ActionTriggerResult | undefined;
|
|
1641
1253
|
}
|
|
1642
|
-
/**
|
|
1643
|
-
* @public
|
|
1644
|
-
*/
|
|
1645
|
-
export declare class TriggerNotFoundException extends __BaseException {
|
|
1646
|
-
readonly name: "TriggerNotFoundException";
|
|
1647
|
-
readonly $fault: "client";
|
|
1648
|
-
/**
|
|
1649
|
-
* @internal
|
|
1650
|
-
*/
|
|
1651
|
-
constructor(opts: __ExceptionOptionType<TriggerNotFoundException, __BaseException>);
|
|
1652
|
-
}
|
|
1653
1254
|
/**
|
|
1654
1255
|
* @public
|
|
1655
1256
|
*/
|
|
@@ -1802,16 +1403,16 @@ export interface InboxUnreadChannel {
|
|
|
1802
1403
|
* @public
|
|
1803
1404
|
*/
|
|
1804
1405
|
export interface InboxChannelsState {
|
|
1805
|
-
unread:
|
|
1806
|
-
pinned:
|
|
1807
|
-
tagged:
|
|
1406
|
+
unread: InboxUnreadChannel[];
|
|
1407
|
+
pinned: InboxPinnedChannel[];
|
|
1408
|
+
tagged: InboxTaggedChannel[];
|
|
1808
1409
|
}
|
|
1809
1410
|
/**
|
|
1810
1411
|
* @public
|
|
1811
1412
|
*/
|
|
1812
1413
|
export interface GetInboxStateOutput {
|
|
1813
1414
|
channels: InboxChannelsState;
|
|
1814
|
-
tags:
|
|
1415
|
+
tags: InboxTag[];
|
|
1815
1416
|
}
|
|
1816
1417
|
/**
|
|
1817
1418
|
* @public
|
|
@@ -2140,7 +1741,7 @@ export interface InviteInput {
|
|
|
2140
1741
|
* A list of users to invite. The list must contain between 1 and 20 users.
|
|
2141
1742
|
* @public
|
|
2142
1743
|
*/
|
|
2143
|
-
invitees:
|
|
1744
|
+
invitees: UserToInvite[];
|
|
2144
1745
|
}
|
|
2145
1746
|
/**
|
|
2146
1747
|
* @public
|
|
@@ -2150,12 +1751,12 @@ export interface InviteOutput {
|
|
|
2150
1751
|
* A list of users who were successfully invited.
|
|
2151
1752
|
* @public
|
|
2152
1753
|
*/
|
|
2153
|
-
users:
|
|
1754
|
+
users: User[];
|
|
2154
1755
|
/**
|
|
2155
1756
|
* A list of invitees that were skipped during the operation, for example because the resolved account is deactivated in GetStream. Each entry carries the email or phone supplied in the request, and the user id when it was already known.
|
|
2156
1757
|
* @public
|
|
2157
1758
|
*/
|
|
2158
|
-
skippedInvitees:
|
|
1759
|
+
skippedInvitees: SkippedMember[];
|
|
2159
1760
|
}
|
|
2160
1761
|
/**
|
|
2161
1762
|
* @public
|
|
@@ -2236,12 +1837,12 @@ export interface ListChannelMembersOutput {
|
|
|
2236
1837
|
* The list of members matching the query.
|
|
2237
1838
|
* @public
|
|
2238
1839
|
*/
|
|
2239
|
-
members:
|
|
1840
|
+
members: ChannelMember[];
|
|
2240
1841
|
/**
|
|
2241
1842
|
* The list of users matching the query
|
|
2242
1843
|
* @public
|
|
2243
1844
|
*/
|
|
2244
|
-
users:
|
|
1845
|
+
users: User[];
|
|
2245
1846
|
}
|
|
2246
1847
|
/**
|
|
2247
1848
|
* @public
|
|
@@ -2261,7 +1862,7 @@ export interface ListChannelMembersReadStatusOutput {
|
|
|
2261
1862
|
* Read status of members.
|
|
2262
1863
|
* @public
|
|
2263
1864
|
*/
|
|
2264
|
-
members:
|
|
1865
|
+
members: ChannelMemberReadStatus[];
|
|
2265
1866
|
}
|
|
2266
1867
|
/**
|
|
2267
1868
|
* @public
|
|
@@ -2296,7 +1897,7 @@ export interface ListChannelsOutput {
|
|
|
2296
1897
|
* A list of channels associated with the user.
|
|
2297
1898
|
* @public
|
|
2298
1899
|
*/
|
|
2299
|
-
channels:
|
|
1900
|
+
channels: Channel[];
|
|
2300
1901
|
}
|
|
2301
1902
|
/**
|
|
2302
1903
|
* @public
|
|
@@ -2317,18 +1918,7 @@ export interface ListInboxTaggedChannelsInput {
|
|
|
2317
1918
|
* @public
|
|
2318
1919
|
*/
|
|
2319
1920
|
export interface ListInboxTaggedChannelsOutput {
|
|
2320
|
-
channels:
|
|
2321
|
-
}
|
|
2322
|
-
/**
|
|
2323
|
-
* @public
|
|
2324
|
-
*/
|
|
2325
|
-
export declare class TagNotFoundException extends __BaseException {
|
|
2326
|
-
readonly name: "TagNotFoundException";
|
|
2327
|
-
readonly $fault: "client";
|
|
2328
|
-
/**
|
|
2329
|
-
* @internal
|
|
2330
|
-
*/
|
|
2331
|
-
constructor(opts: __ExceptionOptionType<TagNotFoundException, __BaseException>);
|
|
1921
|
+
channels: InboxTaggedChannel[];
|
|
2332
1922
|
}
|
|
2333
1923
|
/**
|
|
2334
1924
|
* @public
|
|
@@ -2344,7 +1934,7 @@ export interface ListInboxTagsInput {
|
|
|
2344
1934
|
* @public
|
|
2345
1935
|
*/
|
|
2346
1936
|
export interface ListInboxTagsOutput {
|
|
2347
|
-
tags:
|
|
1937
|
+
tags: InboxTag[];
|
|
2348
1938
|
}
|
|
2349
1939
|
/**
|
|
2350
1940
|
* @public
|
|
@@ -2379,7 +1969,7 @@ export interface ListMessageReactionsOutput {
|
|
|
2379
1969
|
* A list of reactions to the specified message.
|
|
2380
1970
|
* @public
|
|
2381
1971
|
*/
|
|
2382
|
-
reactions:
|
|
1972
|
+
reactions: Reaction[];
|
|
2383
1973
|
}
|
|
2384
1974
|
/**
|
|
2385
1975
|
* @public
|
|
@@ -2409,7 +1999,7 @@ export interface ListMessagesOutput {
|
|
|
2409
1999
|
* A list of messages from the specified channel.
|
|
2410
2000
|
* @public
|
|
2411
2001
|
*/
|
|
2412
|
-
messages:
|
|
2002
|
+
messages: Message[];
|
|
2413
2003
|
}
|
|
2414
2004
|
/**
|
|
2415
2005
|
* @public
|
|
@@ -2439,7 +2029,7 @@ export interface ListPinnedMessagesOutput {
|
|
|
2439
2029
|
* A list of pinned messages in the channel.
|
|
2440
2030
|
* @public
|
|
2441
2031
|
*/
|
|
2442
|
-
messages:
|
|
2032
|
+
messages: Message[];
|
|
2443
2033
|
}
|
|
2444
2034
|
/**
|
|
2445
2035
|
* @public
|
|
@@ -2461,17 +2051,6 @@ export interface MarkReadInput {
|
|
|
2461
2051
|
*/
|
|
2462
2052
|
export interface MarkReadOutput {
|
|
2463
2053
|
}
|
|
2464
|
-
/**
|
|
2465
|
-
* @public
|
|
2466
|
-
*/
|
|
2467
|
-
export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
2468
|
-
readonly name: "MarkUnreadChannelsLimitReachedException";
|
|
2469
|
-
readonly $fault: "client";
|
|
2470
|
-
/**
|
|
2471
|
-
* @internal
|
|
2472
|
-
*/
|
|
2473
|
-
constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
|
|
2474
|
-
}
|
|
2475
2054
|
/**
|
|
2476
2055
|
* @public
|
|
2477
2056
|
*/
|
|
@@ -2576,33 +2155,6 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2576
2155
|
transcriptionLanguage?: string | undefined;
|
|
2577
2156
|
wizyGuestViewOnly?: boolean | undefined;
|
|
2578
2157
|
}
|
|
2579
|
-
/**
|
|
2580
|
-
* @public
|
|
2581
|
-
* @enum
|
|
2582
|
-
*/
|
|
2583
|
-
export declare const GroupChannelUnsetOptions: {
|
|
2584
|
-
readonly ACCESS: "access";
|
|
2585
|
-
readonly ASSIGNEE: "assignee";
|
|
2586
|
-
readonly BROADCAST: "broadcast";
|
|
2587
|
-
readonly CONTEXT: "context";
|
|
2588
|
-
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2589
|
-
readonly CONTEXT_PTT: "contextPtt";
|
|
2590
|
-
readonly DESCRIPTION: "description";
|
|
2591
|
-
readonly KITE_ASSIGN: "kiteAssign";
|
|
2592
|
-
readonly MMS: "mms";
|
|
2593
|
-
readonly PICTURE: "picture";
|
|
2594
|
-
readonly PICTURE_COLOR: "pictureColor";
|
|
2595
|
-
readonly SERVICE: "service";
|
|
2596
|
-
readonly SERVICE_TITLE: "serviceTitle";
|
|
2597
|
-
readonly SMS: "sms";
|
|
2598
|
-
readonly SUBJECT: "subject";
|
|
2599
|
-
readonly WHATSAPP: "whatsapp";
|
|
2600
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2601
|
-
};
|
|
2602
|
-
/**
|
|
2603
|
-
* @public
|
|
2604
|
-
*/
|
|
2605
|
-
export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typeof GroupChannelUnsetOptions];
|
|
2606
2158
|
/**
|
|
2607
2159
|
* @public
|
|
2608
2160
|
*/
|
|
@@ -2631,7 +2183,7 @@ export interface PartialUpdateChannelInput {
|
|
|
2631
2183
|
* Options to unset specific fields in the channel.
|
|
2632
2184
|
* @public
|
|
2633
2185
|
*/
|
|
2634
|
-
unset?:
|
|
2186
|
+
unset?: GroupChannelUnsetOptions[] | undefined;
|
|
2635
2187
|
}
|
|
2636
2188
|
/**
|
|
2637
2189
|
* @public
|
|
@@ -2644,8 +2196,8 @@ export interface PartialUpdateChannelOutput {
|
|
|
2644
2196
|
*/
|
|
2645
2197
|
export interface PartialUpdateMessageSetInput {
|
|
2646
2198
|
text?: string | undefined;
|
|
2647
|
-
elements?:
|
|
2648
|
-
attachments?:
|
|
2199
|
+
elements?: Element[] | undefined;
|
|
2200
|
+
attachments?: MessageAttachment[] | undefined;
|
|
2649
2201
|
quote?: MessageQuote | undefined;
|
|
2650
2202
|
forward?: MessageForward | undefined;
|
|
2651
2203
|
whatsapp?: boolean | undefined;
|
|
@@ -2657,28 +2209,8 @@ export interface PartialUpdateMessageSetInput {
|
|
|
2657
2209
|
* A list of user IDs mentioned in the message.
|
|
2658
2210
|
* @public
|
|
2659
2211
|
*/
|
|
2660
|
-
mentions?:
|
|
2212
|
+
mentions?: string[] | undefined;
|
|
2661
2213
|
}
|
|
2662
|
-
/**
|
|
2663
|
-
* @public
|
|
2664
|
-
* @enum
|
|
2665
|
-
*/
|
|
2666
|
-
export declare const MessageUnsetFields: {
|
|
2667
|
-
readonly ATTACHMENTS: "attachments";
|
|
2668
|
-
readonly ELEMENTS: "elements";
|
|
2669
|
-
readonly FORWARD: "forward";
|
|
2670
|
-
readonly MENTIONS: "mentions";
|
|
2671
|
-
readonly QUOTE: "quote";
|
|
2672
|
-
readonly SMS: "sms";
|
|
2673
|
-
readonly SMS_STATUS: "smsStatus";
|
|
2674
|
-
readonly TEXT: "text";
|
|
2675
|
-
readonly WHATSAPP: "whatsapp";
|
|
2676
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2677
|
-
};
|
|
2678
|
-
/**
|
|
2679
|
-
* @public
|
|
2680
|
-
*/
|
|
2681
|
-
export type MessageUnsetFields = typeof MessageUnsetFields[keyof typeof MessageUnsetFields];
|
|
2682
2214
|
/**
|
|
2683
2215
|
* @public
|
|
2684
2216
|
*/
|
|
@@ -2707,7 +2239,7 @@ export interface PartialUpdateMessageInput {
|
|
|
2707
2239
|
* Fields to unset during the partial update.
|
|
2708
2240
|
* @public
|
|
2709
2241
|
*/
|
|
2710
|
-
unset?:
|
|
2242
|
+
unset?: MessageUnsetFields[] | undefined;
|
|
2711
2243
|
/**
|
|
2712
2244
|
* Set to true to suppress the updated indicator. Defaults to false.
|
|
2713
2245
|
* @public
|
|
@@ -2745,17 +2277,6 @@ export interface PinChannelInput {
|
|
|
2745
2277
|
*/
|
|
2746
2278
|
export interface PinChannelOutput {
|
|
2747
2279
|
}
|
|
2748
|
-
/**
|
|
2749
|
-
* @public
|
|
2750
|
-
*/
|
|
2751
|
-
export declare class PinnedChannelsLimitReachedException extends __BaseException {
|
|
2752
|
-
readonly name: "PinnedChannelsLimitReachedException";
|
|
2753
|
-
readonly $fault: "client";
|
|
2754
|
-
/**
|
|
2755
|
-
* @internal
|
|
2756
|
-
*/
|
|
2757
|
-
constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
|
|
2758
|
-
}
|
|
2759
2280
|
/**
|
|
2760
2281
|
* @public
|
|
2761
2282
|
*/
|
|
@@ -2826,18 +2347,7 @@ export interface QueryChannelsOutput {
|
|
|
2826
2347
|
* A list of channels matched the query.
|
|
2827
2348
|
* @public
|
|
2828
2349
|
*/
|
|
2829
|
-
channels:
|
|
2830
|
-
}
|
|
2831
|
-
/**
|
|
2832
|
-
* @public
|
|
2833
|
-
*/
|
|
2834
|
-
export declare class ConversationsServiceException extends __BaseException {
|
|
2835
|
-
readonly name: "ConversationsServiceException";
|
|
2836
|
-
readonly $fault: "server";
|
|
2837
|
-
/**
|
|
2838
|
-
* @internal
|
|
2839
|
-
*/
|
|
2840
|
-
constructor(opts: __ExceptionOptionType<ConversationsServiceException, __BaseException>);
|
|
2350
|
+
channels: Channel[];
|
|
2841
2351
|
}
|
|
2842
2352
|
/**
|
|
2843
2353
|
* @public
|
|
@@ -2907,8 +2417,8 @@ export interface SendGiphyOutput {
|
|
|
2907
2417
|
*/
|
|
2908
2418
|
export interface SendMessageInput {
|
|
2909
2419
|
text?: string | undefined;
|
|
2910
|
-
elements?:
|
|
2911
|
-
attachments?:
|
|
2420
|
+
elements?: Element[] | undefined;
|
|
2421
|
+
attachments?: MessageAttachment[] | undefined;
|
|
2912
2422
|
quote?: MessageQuote | undefined;
|
|
2913
2423
|
forward?: MessageForward | undefined;
|
|
2914
2424
|
whatsapp?: boolean | undefined;
|
|
@@ -2925,7 +2435,7 @@ export interface SendMessageInput {
|
|
|
2925
2435
|
* A list of user IDs mentioned in the message.
|
|
2926
2436
|
* @public
|
|
2927
2437
|
*/
|
|
2928
|
-
mentions?:
|
|
2438
|
+
mentions?: string[] | undefined;
|
|
2929
2439
|
/**
|
|
2930
2440
|
* The unique identifier of the channel to which the message is sent.
|
|
2931
2441
|
* @public
|
|
@@ -2977,7 +2487,7 @@ export interface SendMessageReactionOutput {
|
|
|
2977
2487
|
* @public
|
|
2978
2488
|
*/
|
|
2979
2489
|
export interface MultipleMembersJoinedSystemMessage {
|
|
2980
|
-
addedMembers:
|
|
2490
|
+
addedMembers: string[];
|
|
2981
2491
|
}
|
|
2982
2492
|
/**
|
|
2983
2493
|
* @public
|
|
@@ -3018,12 +2528,15 @@ export declare namespace SystemMessage {
|
|
|
3018
2528
|
multipleMembersJoined?: never;
|
|
3019
2529
|
$unknown: [string, any];
|
|
3020
2530
|
}
|
|
2531
|
+
/**
|
|
2532
|
+
* @deprecated unused in schema-serde mode.
|
|
2533
|
+
*
|
|
2534
|
+
*/
|
|
3021
2535
|
interface Visitor<T> {
|
|
3022
2536
|
whatsAppClosed: (value: WhatsAppClosedSystemMessage) => T;
|
|
3023
2537
|
multipleMembersJoined: (value: MultipleMembersJoinedSystemMessage) => T;
|
|
3024
2538
|
_: (name: string, value: any) => T;
|
|
3025
2539
|
}
|
|
3026
|
-
const visit: <T>(value: SystemMessage, visitor: Visitor<T>) => T;
|
|
3027
2540
|
}
|
|
3028
2541
|
/**
|
|
3029
2542
|
* @public
|
|
@@ -3137,28 +2650,6 @@ export interface TagChannelInput {
|
|
|
3137
2650
|
*/
|
|
3138
2651
|
export interface TagChannelOutput {
|
|
3139
2652
|
}
|
|
3140
|
-
/**
|
|
3141
|
-
* @public
|
|
3142
|
-
*/
|
|
3143
|
-
export declare class TaggedChannelsLimitReachedException extends __BaseException {
|
|
3144
|
-
readonly name: "TaggedChannelsLimitReachedException";
|
|
3145
|
-
readonly $fault: "client";
|
|
3146
|
-
/**
|
|
3147
|
-
* @internal
|
|
3148
|
-
*/
|
|
3149
|
-
constructor(opts: __ExceptionOptionType<TaggedChannelsLimitReachedException, __BaseException>);
|
|
3150
|
-
}
|
|
3151
|
-
/**
|
|
3152
|
-
* @public
|
|
3153
|
-
*/
|
|
3154
|
-
export declare class MessageActionNotFoundException extends __BaseException {
|
|
3155
|
-
readonly name: "MessageActionNotFoundException";
|
|
3156
|
-
readonly $fault: "client";
|
|
3157
|
-
/**
|
|
3158
|
-
* @internal
|
|
3159
|
-
*/
|
|
3160
|
-
constructor(opts: __ExceptionOptionType<MessageActionNotFoundException, __BaseException>);
|
|
3161
|
-
}
|
|
3162
2653
|
/**
|
|
3163
2654
|
* @public
|
|
3164
2655
|
*/
|
|
@@ -3387,8 +2878,8 @@ export interface UpdateInboxTagOutput {
|
|
|
3387
2878
|
*/
|
|
3388
2879
|
export interface UpdateMessageInput {
|
|
3389
2880
|
text?: string | undefined;
|
|
3390
|
-
elements?:
|
|
3391
|
-
attachments?:
|
|
2881
|
+
elements?: Element[] | undefined;
|
|
2882
|
+
attachments?: MessageAttachment[] | undefined;
|
|
3392
2883
|
quote?: MessageQuote | undefined;
|
|
3393
2884
|
forward?: MessageForward | undefined;
|
|
3394
2885
|
whatsapp?: boolean | undefined;
|
|
@@ -3405,7 +2896,7 @@ export interface UpdateMessageInput {
|
|
|
3405
2896
|
* A list of user IDs mentioned in the message.
|
|
3406
2897
|
* @public
|
|
3407
2898
|
*/
|
|
3408
|
-
mentions?:
|
|
2899
|
+
mentions?: string[] | undefined;
|
|
3409
2900
|
/**
|
|
3410
2901
|
* The unique identifier of the channel containing the message.
|
|
3411
2902
|
* @public
|