@wildix/xbees-conversations-client 1.4.1 → 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 -438
- 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 -418
- 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 +15 -14
- 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 +107 -610
- 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 -2559
- package/dist-es/models/ConversationsServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2424
- 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>);
|
|
92
|
-
}
|
|
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>);
|
|
14
|
+
parameters?: TemplateParameter[] | undefined;
|
|
103
15
|
}
|
|
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
|
*/
|
|
@@ -673,26 +433,6 @@ export interface ChannelMember {
|
|
|
673
433
|
createdAt: string;
|
|
674
434
|
role: ChannelMemberRole;
|
|
675
435
|
}
|
|
676
|
-
/**
|
|
677
|
-
* @public
|
|
678
|
-
*/
|
|
679
|
-
export interface SkippedMember {
|
|
680
|
-
/**
|
|
681
|
-
* The unique identifier of the skipped user if it is known.
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
id?: string | undefined;
|
|
685
|
-
/**
|
|
686
|
-
* The email address of the skipped user if it is known.
|
|
687
|
-
* @public
|
|
688
|
-
*/
|
|
689
|
-
email?: string | undefined;
|
|
690
|
-
/**
|
|
691
|
-
* The phone number of the skipped user if it is known.
|
|
692
|
-
* @public
|
|
693
|
-
*/
|
|
694
|
-
phone?: string | undefined;
|
|
695
|
-
}
|
|
696
436
|
/**
|
|
697
437
|
* @public
|
|
698
438
|
*/
|
|
@@ -701,39 +441,12 @@ export interface AddChannelMemberOutput {
|
|
|
701
441
|
* Details of the member added to the channel.
|
|
702
442
|
* @public
|
|
703
443
|
*/
|
|
704
|
-
member
|
|
444
|
+
member: ChannelMember;
|
|
705
445
|
/**
|
|
706
446
|
* Details of the user added to the channel.
|
|
707
447
|
* @public
|
|
708
448
|
*/
|
|
709
|
-
user
|
|
710
|
-
/**
|
|
711
|
-
* Details of the skipped user if the member was not added, for example because the account is deactivated in GetStream.
|
|
712
|
-
* @public
|
|
713
|
-
*/
|
|
714
|
-
skippedMember?: SkippedMember | undefined;
|
|
715
|
-
}
|
|
716
|
-
/**
|
|
717
|
-
* @public
|
|
718
|
-
*/
|
|
719
|
-
export declare class ChannelNotFoundException extends __BaseException {
|
|
720
|
-
readonly name: "ChannelNotFoundException";
|
|
721
|
-
readonly $fault: "client";
|
|
722
|
-
/**
|
|
723
|
-
* @internal
|
|
724
|
-
*/
|
|
725
|
-
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
726
|
-
}
|
|
727
|
-
/**
|
|
728
|
-
* @public
|
|
729
|
-
*/
|
|
730
|
-
export declare class MemberAlreadyExistException extends __BaseException {
|
|
731
|
-
readonly name: "MemberAlreadyExistException";
|
|
732
|
-
readonly $fault: "client";
|
|
733
|
-
/**
|
|
734
|
-
* @internal
|
|
735
|
-
*/
|
|
736
|
-
constructor(opts: __ExceptionOptionType<MemberAlreadyExistException, __BaseException>);
|
|
449
|
+
user: User;
|
|
737
450
|
}
|
|
738
451
|
/**
|
|
739
452
|
* @public
|
|
@@ -758,12 +471,12 @@ export interface AddChannelMembersInput {
|
|
|
758
471
|
* A list of user IDs to be added as members of the channel.
|
|
759
472
|
* @public
|
|
760
473
|
*/
|
|
761
|
-
members?:
|
|
474
|
+
members?: string[] | undefined;
|
|
762
475
|
/**
|
|
763
476
|
* A list of users to invite to the channel, identified by their email addresses or phone numbers.
|
|
764
477
|
* @public
|
|
765
478
|
*/
|
|
766
|
-
membersToInvite?:
|
|
479
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
767
480
|
/**
|
|
768
481
|
* Set to true to hide the history of the channel for added member. Default is false.
|
|
769
482
|
* @public
|
|
@@ -775,6 +488,26 @@ export interface AddChannelMembersInput {
|
|
|
775
488
|
*/
|
|
776
489
|
unreadMessageId?: string | undefined;
|
|
777
490
|
}
|
|
491
|
+
/**
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
export interface SkippedMember {
|
|
495
|
+
/**
|
|
496
|
+
* The unique identifier of the skipped user if it is known.
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
id?: string | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* The email address of the skipped user if it is known.
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
email?: string | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* The phone number of the skipped user if it is known.
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
phone?: string | undefined;
|
|
510
|
+
}
|
|
778
511
|
/**
|
|
779
512
|
* @public
|
|
780
513
|
*/
|
|
@@ -783,17 +516,17 @@ export interface AddChannelMembersOutput {
|
|
|
783
516
|
* The list of members added to the channel.
|
|
784
517
|
* @public
|
|
785
518
|
*/
|
|
786
|
-
members:
|
|
519
|
+
members: ChannelMember[];
|
|
787
520
|
/**
|
|
788
521
|
* The list of users added to the channel.
|
|
789
522
|
* @public
|
|
790
523
|
*/
|
|
791
|
-
users:
|
|
524
|
+
users: User[];
|
|
792
525
|
/**
|
|
793
526
|
* The list of users skipped during the operation, for example because they are deactivated in GetStream.
|
|
794
527
|
* @public
|
|
795
528
|
*/
|
|
796
|
-
skippedMembers:
|
|
529
|
+
skippedMembers: SkippedMember[];
|
|
797
530
|
}
|
|
798
531
|
/**
|
|
799
532
|
* @public
|
|
@@ -829,12 +562,15 @@ export declare namespace AssignChannelAssigneeRequest {
|
|
|
829
562
|
email?: never;
|
|
830
563
|
$unknown: [string, any];
|
|
831
564
|
}
|
|
565
|
+
/**
|
|
566
|
+
* @deprecated unused in schema-serde mode.
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
832
569
|
interface Visitor<T> {
|
|
833
570
|
id: (value: string) => T;
|
|
834
571
|
email: (value: string) => T;
|
|
835
572
|
_: (name: string, value: any) => T;
|
|
836
573
|
}
|
|
837
|
-
const visit: <T>(value: AssignChannelAssigneeRequest, visitor: Visitor<T>) => T;
|
|
838
574
|
}
|
|
839
575
|
/**
|
|
840
576
|
* @public
|
|
@@ -859,38 +595,15 @@ export declare namespace AssignChannelServiceRequest {
|
|
|
859
595
|
uri?: never;
|
|
860
596
|
$unknown: [string, any];
|
|
861
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* @deprecated unused in schema-serde mode.
|
|
600
|
+
*
|
|
601
|
+
*/
|
|
862
602
|
interface Visitor<T> {
|
|
863
603
|
uri: (value: string) => T;
|
|
864
604
|
_: (name: string, value: any) => T;
|
|
865
605
|
}
|
|
866
|
-
const visit: <T>(value: AssignChannelServiceRequest, visitor: Visitor<T>) => T;
|
|
867
606
|
}
|
|
868
|
-
/**
|
|
869
|
-
* @public
|
|
870
|
-
* @enum
|
|
871
|
-
*/
|
|
872
|
-
export declare const AssignChannelVariant: {
|
|
873
|
-
/**
|
|
874
|
-
* If service was previously assigned it uses SKIP variant, otherwise SELECTED. Default option.
|
|
875
|
-
*/
|
|
876
|
-
readonly ADAPTIVE: "ADAPTIVE";
|
|
877
|
-
/**
|
|
878
|
-
* Ensures that all agents in the service are presented in the conversation and existing members.
|
|
879
|
-
*/
|
|
880
|
-
readonly EVERYBODY: "EVERYBODY";
|
|
881
|
-
/**
|
|
882
|
-
* Ensures that only selected agent and user that made assignment are presented in the conversation.
|
|
883
|
-
*/
|
|
884
|
-
readonly SELECTED: "SELECTED";
|
|
885
|
-
/**
|
|
886
|
-
* Does not invite anyone (except the assignee if not present yet) or remove any agents from the conversation.
|
|
887
|
-
*/
|
|
888
|
-
readonly SKIP: "SKIP";
|
|
889
|
-
};
|
|
890
|
-
/**
|
|
891
|
-
* @public
|
|
892
|
-
*/
|
|
893
|
-
export type AssignChannelVariant = typeof AssignChannelVariant[keyof typeof AssignChannelVariant];
|
|
894
607
|
/**
|
|
895
608
|
* @public
|
|
896
609
|
*/
|
|
@@ -944,7 +657,7 @@ export interface Service {
|
|
|
944
657
|
uri: string;
|
|
945
658
|
title: string;
|
|
946
659
|
settings: ServiceSettings;
|
|
947
|
-
extensions:
|
|
660
|
+
extensions: string[];
|
|
948
661
|
pbx: ServicePbx;
|
|
949
662
|
}
|
|
950
663
|
/**
|
|
@@ -962,17 +675,6 @@ export interface AssignChannelOutput {
|
|
|
962
675
|
*/
|
|
963
676
|
service?: Service | undefined;
|
|
964
677
|
}
|
|
965
|
-
/**
|
|
966
|
-
* @public
|
|
967
|
-
*/
|
|
968
|
-
export declare class ChannelAlreadyExistException extends __BaseException {
|
|
969
|
-
readonly name: "ChannelAlreadyExistException";
|
|
970
|
-
readonly $fault: "client";
|
|
971
|
-
/**
|
|
972
|
-
* @internal
|
|
973
|
-
*/
|
|
974
|
-
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
975
|
-
}
|
|
976
678
|
/**
|
|
977
679
|
* @public
|
|
978
680
|
*/
|
|
@@ -985,20 +687,8 @@ export interface ChannelMemberReadStatus {
|
|
|
985
687
|
* @public
|
|
986
688
|
*/
|
|
987
689
|
export interface ChannelsQuery {
|
|
988
|
-
ids?:
|
|
690
|
+
ids?: string[] | undefined;
|
|
989
691
|
}
|
|
990
|
-
/**
|
|
991
|
-
* @public
|
|
992
|
-
* @enum
|
|
993
|
-
*/
|
|
994
|
-
export declare const GroupChannelCreationEventType: {
|
|
995
|
-
readonly CONVERSATION_CREATED: "conversation_created";
|
|
996
|
-
readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
|
|
997
|
-
};
|
|
998
|
-
/**
|
|
999
|
-
* @public
|
|
1000
|
-
*/
|
|
1001
|
-
export type GroupChannelCreationEventType = typeof GroupChannelCreationEventType[keyof typeof GroupChannelCreationEventType];
|
|
1002
692
|
/**
|
|
1003
693
|
* @public
|
|
1004
694
|
*/
|
|
@@ -1086,12 +776,12 @@ export interface CreateGroupChannelInput {
|
|
|
1086
776
|
* A list of user IDs to be added as members of the group channel.
|
|
1087
777
|
* @public
|
|
1088
778
|
*/
|
|
1089
|
-
members?:
|
|
779
|
+
members?: string[] | undefined;
|
|
1090
780
|
/**
|
|
1091
781
|
* A list of users to invite to the group channel, identified by their email addresses or phone numbers.
|
|
1092
782
|
* @public
|
|
1093
783
|
*/
|
|
1094
|
-
membersToInvite?:
|
|
784
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
1095
785
|
/**
|
|
1096
786
|
* The type of system event to emit after the group channel is created. If omitted, the default group channel creation event is used.
|
|
1097
787
|
* @public
|
|
@@ -1137,24 +827,13 @@ export interface InboxTag {
|
|
|
1137
827
|
export interface CreateInboxTagOutput {
|
|
1138
828
|
tag: InboxTag;
|
|
1139
829
|
}
|
|
1140
|
-
/**
|
|
1141
|
-
* @public
|
|
1142
|
-
*/
|
|
1143
|
-
export declare class TagsLimitReachedException extends __BaseException {
|
|
1144
|
-
readonly name: "TagsLimitReachedException";
|
|
1145
|
-
readonly $fault: "client";
|
|
1146
|
-
/**
|
|
1147
|
-
* @internal
|
|
1148
|
-
*/
|
|
1149
|
-
constructor(opts: __ExceptionOptionType<TagsLimitReachedException, __BaseException>);
|
|
1150
|
-
}
|
|
1151
830
|
/**
|
|
1152
831
|
* @public
|
|
1153
832
|
*/
|
|
1154
833
|
export interface InitialMessage {
|
|
1155
834
|
text?: string | undefined;
|
|
1156
|
-
elements?:
|
|
1157
|
-
attachments?:
|
|
835
|
+
elements?: Element[] | undefined;
|
|
836
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1158
837
|
quote?: MessageQuote | undefined;
|
|
1159
838
|
forward?: MessageForward | undefined;
|
|
1160
839
|
whatsapp?: boolean | undefined;
|
|
@@ -1171,15 +850,15 @@ export interface InitialMessage {
|
|
|
1171
850
|
* A list of user IDs mentioned in the message.
|
|
1172
851
|
* @public
|
|
1173
852
|
*/
|
|
1174
|
-
mentions?:
|
|
853
|
+
mentions?: string[] | undefined;
|
|
1175
854
|
}
|
|
1176
855
|
/**
|
|
1177
856
|
* @public
|
|
1178
857
|
*/
|
|
1179
858
|
export interface WelcomeMessage {
|
|
1180
859
|
text?: string | undefined;
|
|
1181
|
-
elements?:
|
|
1182
|
-
attachments?:
|
|
860
|
+
elements?: Element[] | undefined;
|
|
861
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1183
862
|
quote?: MessageQuote | undefined;
|
|
1184
863
|
forward?: MessageForward | undefined;
|
|
1185
864
|
whatsapp?: boolean | undefined;
|
|
@@ -1196,7 +875,7 @@ export interface WelcomeMessage {
|
|
|
1196
875
|
* A list of user IDs mentioned in the message.
|
|
1197
876
|
* @public
|
|
1198
877
|
*/
|
|
1199
|
-
mentions?:
|
|
878
|
+
mentions?: string[] | undefined;
|
|
1200
879
|
user: User;
|
|
1201
880
|
}
|
|
1202
881
|
/**
|
|
@@ -1227,7 +906,7 @@ export interface CreateKiteChannelInput {
|
|
|
1227
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.
|
|
1228
907
|
* @public
|
|
1229
908
|
*/
|
|
1230
|
-
welcomeMessages?:
|
|
909
|
+
welcomeMessages?: WelcomeMessage[] | undefined;
|
|
1231
910
|
/**
|
|
1232
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.
|
|
1233
912
|
* @public
|
|
@@ -1285,17 +964,6 @@ export interface DeleteChannelMemberInput {
|
|
|
1285
964
|
*/
|
|
1286
965
|
export interface DeleteChannelMemberOutput {
|
|
1287
966
|
}
|
|
1288
|
-
/**
|
|
1289
|
-
* @public
|
|
1290
|
-
*/
|
|
1291
|
-
export declare class MemberNotFoundException extends __BaseException {
|
|
1292
|
-
readonly name: "MemberNotFoundException";
|
|
1293
|
-
readonly $fault: "client";
|
|
1294
|
-
/**
|
|
1295
|
-
* @internal
|
|
1296
|
-
*/
|
|
1297
|
-
constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
|
|
1298
|
-
}
|
|
1299
967
|
/**
|
|
1300
968
|
* @public
|
|
1301
969
|
*/
|
|
@@ -1341,36 +1009,6 @@ export interface DeleteMessageInput {
|
|
|
1341
1009
|
*/
|
|
1342
1010
|
export interface DeleteMessageOutput {
|
|
1343
1011
|
}
|
|
1344
|
-
/**
|
|
1345
|
-
* @public
|
|
1346
|
-
*/
|
|
1347
|
-
export declare class MessageNotFoundException extends __BaseException {
|
|
1348
|
-
readonly name: "MessageNotFoundException";
|
|
1349
|
-
readonly $fault: "client";
|
|
1350
|
-
/**
|
|
1351
|
-
* @internal
|
|
1352
|
-
*/
|
|
1353
|
-
constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
|
|
1354
|
-
}
|
|
1355
|
-
/**
|
|
1356
|
-
* @public
|
|
1357
|
-
* @enum
|
|
1358
|
-
*/
|
|
1359
|
-
export declare const ReactionType: {
|
|
1360
|
-
readonly CLAP: "clap";
|
|
1361
|
-
readonly CONFUSED: "confused";
|
|
1362
|
-
readonly EYES: "eyes";
|
|
1363
|
-
readonly HEART: "heart";
|
|
1364
|
-
readonly SLIGHTLY_SMILING_FACE: "slightly_smiling_face";
|
|
1365
|
-
readonly SMILEY: "smiley";
|
|
1366
|
-
readonly THUMBSDOWN: "thumbsdown";
|
|
1367
|
-
readonly THUMBSUP: "thumbsup";
|
|
1368
|
-
readonly WHITE_CHECK_MARK: "white_check_mark";
|
|
1369
|
-
};
|
|
1370
|
-
/**
|
|
1371
|
-
* @public
|
|
1372
|
-
*/
|
|
1373
|
-
export type ReactionType = typeof ReactionType[keyof typeof ReactionType];
|
|
1374
1012
|
/**
|
|
1375
1013
|
* @public
|
|
1376
1014
|
*/
|
|
@@ -1416,26 +1054,6 @@ export interface WebhookChatActionTriggeredEventData {
|
|
|
1416
1054
|
actionId: string;
|
|
1417
1055
|
triggerId: string;
|
|
1418
1056
|
}
|
|
1419
|
-
/**
|
|
1420
|
-
* @public
|
|
1421
|
-
* @enum
|
|
1422
|
-
*/
|
|
1423
|
-
export declare const WebhookEventType: {
|
|
1424
|
-
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
1425
|
-
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
1426
|
-
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
1427
|
-
readonly MEMBER_ADDED: "chat:member:added";
|
|
1428
|
-
readonly MEMBER_REMOVED: "chat:member:removed";
|
|
1429
|
-
readonly MESSAGE_DELETED: "chat:message:deleted";
|
|
1430
|
-
readonly MESSAGE_NEW: "chat:message:new";
|
|
1431
|
-
readonly MESSAGE_UPDATED: "chat:message:updated";
|
|
1432
|
-
readonly REACTION_DELETED: "chat:reaction:deleted";
|
|
1433
|
-
readonly REACTION_NEW: "chat:reaction:new";
|
|
1434
|
-
};
|
|
1435
|
-
/**
|
|
1436
|
-
* @public
|
|
1437
|
-
*/
|
|
1438
|
-
export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
|
|
1439
1057
|
/**
|
|
1440
1058
|
* @public
|
|
1441
1059
|
*/
|
|
@@ -1453,8 +1071,8 @@ export interface WebhookChatActionTriggeredEvent {
|
|
|
1453
1071
|
*/
|
|
1454
1072
|
export interface WebhookChatChannelCreatedOrUpdatedEventData {
|
|
1455
1073
|
channel: Channel;
|
|
1456
|
-
members:
|
|
1457
|
-
users:
|
|
1074
|
+
members: ChannelMember[];
|
|
1075
|
+
users: User[];
|
|
1458
1076
|
}
|
|
1459
1077
|
/**
|
|
1460
1078
|
* @public
|
|
@@ -1536,8 +1154,8 @@ export interface WebhookChatMessageDeletedEvent {
|
|
|
1536
1154
|
*/
|
|
1537
1155
|
export interface WebhookChatMessageNewEventData {
|
|
1538
1156
|
channel: Channel;
|
|
1539
|
-
members:
|
|
1540
|
-
users:
|
|
1157
|
+
members: ChannelMember[];
|
|
1158
|
+
users: User[];
|
|
1541
1159
|
message: Message;
|
|
1542
1160
|
}
|
|
1543
1161
|
/**
|
|
@@ -1633,17 +1251,6 @@ export interface GetActionTriggerResultOutput {
|
|
|
1633
1251
|
status: ActionTriggerStatus;
|
|
1634
1252
|
result?: ActionTriggerResult | undefined;
|
|
1635
1253
|
}
|
|
1636
|
-
/**
|
|
1637
|
-
* @public
|
|
1638
|
-
*/
|
|
1639
|
-
export declare class TriggerNotFoundException extends __BaseException {
|
|
1640
|
-
readonly name: "TriggerNotFoundException";
|
|
1641
|
-
readonly $fault: "client";
|
|
1642
|
-
/**
|
|
1643
|
-
* @internal
|
|
1644
|
-
*/
|
|
1645
|
-
constructor(opts: __ExceptionOptionType<TriggerNotFoundException, __BaseException>);
|
|
1646
|
-
}
|
|
1647
1254
|
/**
|
|
1648
1255
|
* @public
|
|
1649
1256
|
*/
|
|
@@ -1796,16 +1403,16 @@ export interface InboxUnreadChannel {
|
|
|
1796
1403
|
* @public
|
|
1797
1404
|
*/
|
|
1798
1405
|
export interface InboxChannelsState {
|
|
1799
|
-
unread:
|
|
1800
|
-
pinned:
|
|
1801
|
-
tagged:
|
|
1406
|
+
unread: InboxUnreadChannel[];
|
|
1407
|
+
pinned: InboxPinnedChannel[];
|
|
1408
|
+
tagged: InboxTaggedChannel[];
|
|
1802
1409
|
}
|
|
1803
1410
|
/**
|
|
1804
1411
|
* @public
|
|
1805
1412
|
*/
|
|
1806
1413
|
export interface GetInboxStateOutput {
|
|
1807
1414
|
channels: InboxChannelsState;
|
|
1808
|
-
tags:
|
|
1415
|
+
tags: InboxTag[];
|
|
1809
1416
|
}
|
|
1810
1417
|
/**
|
|
1811
1418
|
* @public
|
|
@@ -2134,7 +1741,7 @@ export interface InviteInput {
|
|
|
2134
1741
|
* A list of users to invite. The list must contain between 1 and 20 users.
|
|
2135
1742
|
* @public
|
|
2136
1743
|
*/
|
|
2137
|
-
invitees:
|
|
1744
|
+
invitees: UserToInvite[];
|
|
2138
1745
|
}
|
|
2139
1746
|
/**
|
|
2140
1747
|
* @public
|
|
@@ -2144,12 +1751,12 @@ export interface InviteOutput {
|
|
|
2144
1751
|
* A list of users who were successfully invited.
|
|
2145
1752
|
* @public
|
|
2146
1753
|
*/
|
|
2147
|
-
users:
|
|
1754
|
+
users: User[];
|
|
2148
1755
|
/**
|
|
2149
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.
|
|
2150
1757
|
* @public
|
|
2151
1758
|
*/
|
|
2152
|
-
skippedInvitees:
|
|
1759
|
+
skippedInvitees: SkippedMember[];
|
|
2153
1760
|
}
|
|
2154
1761
|
/**
|
|
2155
1762
|
* @public
|
|
@@ -2230,12 +1837,12 @@ export interface ListChannelMembersOutput {
|
|
|
2230
1837
|
* The list of members matching the query.
|
|
2231
1838
|
* @public
|
|
2232
1839
|
*/
|
|
2233
|
-
members:
|
|
1840
|
+
members: ChannelMember[];
|
|
2234
1841
|
/**
|
|
2235
1842
|
* The list of users matching the query
|
|
2236
1843
|
* @public
|
|
2237
1844
|
*/
|
|
2238
|
-
users:
|
|
1845
|
+
users: User[];
|
|
2239
1846
|
}
|
|
2240
1847
|
/**
|
|
2241
1848
|
* @public
|
|
@@ -2255,7 +1862,7 @@ export interface ListChannelMembersReadStatusOutput {
|
|
|
2255
1862
|
* Read status of members.
|
|
2256
1863
|
* @public
|
|
2257
1864
|
*/
|
|
2258
|
-
members:
|
|
1865
|
+
members: ChannelMemberReadStatus[];
|
|
2259
1866
|
}
|
|
2260
1867
|
/**
|
|
2261
1868
|
* @public
|
|
@@ -2290,7 +1897,7 @@ export interface ListChannelsOutput {
|
|
|
2290
1897
|
* A list of channels associated with the user.
|
|
2291
1898
|
* @public
|
|
2292
1899
|
*/
|
|
2293
|
-
channels:
|
|
1900
|
+
channels: Channel[];
|
|
2294
1901
|
}
|
|
2295
1902
|
/**
|
|
2296
1903
|
* @public
|
|
@@ -2311,18 +1918,7 @@ export interface ListInboxTaggedChannelsInput {
|
|
|
2311
1918
|
* @public
|
|
2312
1919
|
*/
|
|
2313
1920
|
export interface ListInboxTaggedChannelsOutput {
|
|
2314
|
-
channels:
|
|
2315
|
-
}
|
|
2316
|
-
/**
|
|
2317
|
-
* @public
|
|
2318
|
-
*/
|
|
2319
|
-
export declare class TagNotFoundException extends __BaseException {
|
|
2320
|
-
readonly name: "TagNotFoundException";
|
|
2321
|
-
readonly $fault: "client";
|
|
2322
|
-
/**
|
|
2323
|
-
* @internal
|
|
2324
|
-
*/
|
|
2325
|
-
constructor(opts: __ExceptionOptionType<TagNotFoundException, __BaseException>);
|
|
1921
|
+
channels: InboxTaggedChannel[];
|
|
2326
1922
|
}
|
|
2327
1923
|
/**
|
|
2328
1924
|
* @public
|
|
@@ -2338,7 +1934,7 @@ export interface ListInboxTagsInput {
|
|
|
2338
1934
|
* @public
|
|
2339
1935
|
*/
|
|
2340
1936
|
export interface ListInboxTagsOutput {
|
|
2341
|
-
tags:
|
|
1937
|
+
tags: InboxTag[];
|
|
2342
1938
|
}
|
|
2343
1939
|
/**
|
|
2344
1940
|
* @public
|
|
@@ -2373,7 +1969,7 @@ export interface ListMessageReactionsOutput {
|
|
|
2373
1969
|
* A list of reactions to the specified message.
|
|
2374
1970
|
* @public
|
|
2375
1971
|
*/
|
|
2376
|
-
reactions:
|
|
1972
|
+
reactions: Reaction[];
|
|
2377
1973
|
}
|
|
2378
1974
|
/**
|
|
2379
1975
|
* @public
|
|
@@ -2403,7 +1999,7 @@ export interface ListMessagesOutput {
|
|
|
2403
1999
|
* A list of messages from the specified channel.
|
|
2404
2000
|
* @public
|
|
2405
2001
|
*/
|
|
2406
|
-
messages:
|
|
2002
|
+
messages: Message[];
|
|
2407
2003
|
}
|
|
2408
2004
|
/**
|
|
2409
2005
|
* @public
|
|
@@ -2433,7 +2029,7 @@ export interface ListPinnedMessagesOutput {
|
|
|
2433
2029
|
* A list of pinned messages in the channel.
|
|
2434
2030
|
* @public
|
|
2435
2031
|
*/
|
|
2436
|
-
messages:
|
|
2032
|
+
messages: Message[];
|
|
2437
2033
|
}
|
|
2438
2034
|
/**
|
|
2439
2035
|
* @public
|
|
@@ -2455,17 +2051,6 @@ export interface MarkReadInput {
|
|
|
2455
2051
|
*/
|
|
2456
2052
|
export interface MarkReadOutput {
|
|
2457
2053
|
}
|
|
2458
|
-
/**
|
|
2459
|
-
* @public
|
|
2460
|
-
*/
|
|
2461
|
-
export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
2462
|
-
readonly name: "MarkUnreadChannelsLimitReachedException";
|
|
2463
|
-
readonly $fault: "client";
|
|
2464
|
-
/**
|
|
2465
|
-
* @internal
|
|
2466
|
-
*/
|
|
2467
|
-
constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
|
|
2468
|
-
}
|
|
2469
2054
|
/**
|
|
2470
2055
|
* @public
|
|
2471
2056
|
*/
|
|
@@ -2570,33 +2155,6 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2570
2155
|
transcriptionLanguage?: string | undefined;
|
|
2571
2156
|
wizyGuestViewOnly?: boolean | undefined;
|
|
2572
2157
|
}
|
|
2573
|
-
/**
|
|
2574
|
-
* @public
|
|
2575
|
-
* @enum
|
|
2576
|
-
*/
|
|
2577
|
-
export declare const GroupChannelUnsetOptions: {
|
|
2578
|
-
readonly ACCESS: "access";
|
|
2579
|
-
readonly ASSIGNEE: "assignee";
|
|
2580
|
-
readonly BROADCAST: "broadcast";
|
|
2581
|
-
readonly CONTEXT: "context";
|
|
2582
|
-
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2583
|
-
readonly CONTEXT_PTT: "contextPtt";
|
|
2584
|
-
readonly DESCRIPTION: "description";
|
|
2585
|
-
readonly KITE_ASSIGN: "kiteAssign";
|
|
2586
|
-
readonly MMS: "mms";
|
|
2587
|
-
readonly PICTURE: "picture";
|
|
2588
|
-
readonly PICTURE_COLOR: "pictureColor";
|
|
2589
|
-
readonly SERVICE: "service";
|
|
2590
|
-
readonly SERVICE_TITLE: "serviceTitle";
|
|
2591
|
-
readonly SMS: "sms";
|
|
2592
|
-
readonly SUBJECT: "subject";
|
|
2593
|
-
readonly WHATSAPP: "whatsapp";
|
|
2594
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2595
|
-
};
|
|
2596
|
-
/**
|
|
2597
|
-
* @public
|
|
2598
|
-
*/
|
|
2599
|
-
export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typeof GroupChannelUnsetOptions];
|
|
2600
2158
|
/**
|
|
2601
2159
|
* @public
|
|
2602
2160
|
*/
|
|
@@ -2625,7 +2183,7 @@ export interface PartialUpdateChannelInput {
|
|
|
2625
2183
|
* Options to unset specific fields in the channel.
|
|
2626
2184
|
* @public
|
|
2627
2185
|
*/
|
|
2628
|
-
unset?:
|
|
2186
|
+
unset?: GroupChannelUnsetOptions[] | undefined;
|
|
2629
2187
|
}
|
|
2630
2188
|
/**
|
|
2631
2189
|
* @public
|
|
@@ -2638,8 +2196,8 @@ export interface PartialUpdateChannelOutput {
|
|
|
2638
2196
|
*/
|
|
2639
2197
|
export interface PartialUpdateMessageSetInput {
|
|
2640
2198
|
text?: string | undefined;
|
|
2641
|
-
elements?:
|
|
2642
|
-
attachments?:
|
|
2199
|
+
elements?: Element[] | undefined;
|
|
2200
|
+
attachments?: MessageAttachment[] | undefined;
|
|
2643
2201
|
quote?: MessageQuote | undefined;
|
|
2644
2202
|
forward?: MessageForward | undefined;
|
|
2645
2203
|
whatsapp?: boolean | undefined;
|
|
@@ -2651,28 +2209,8 @@ export interface PartialUpdateMessageSetInput {
|
|
|
2651
2209
|
* A list of user IDs mentioned in the message.
|
|
2652
2210
|
* @public
|
|
2653
2211
|
*/
|
|
2654
|
-
mentions?:
|
|
2212
|
+
mentions?: string[] | undefined;
|
|
2655
2213
|
}
|
|
2656
|
-
/**
|
|
2657
|
-
* @public
|
|
2658
|
-
* @enum
|
|
2659
|
-
*/
|
|
2660
|
-
export declare const MessageUnsetFields: {
|
|
2661
|
-
readonly ATTACHMENTS: "attachments";
|
|
2662
|
-
readonly ELEMENTS: "elements";
|
|
2663
|
-
readonly FORWARD: "forward";
|
|
2664
|
-
readonly MENTIONS: "mentions";
|
|
2665
|
-
readonly QUOTE: "quote";
|
|
2666
|
-
readonly SMS: "sms";
|
|
2667
|
-
readonly SMS_STATUS: "smsStatus";
|
|
2668
|
-
readonly TEXT: "text";
|
|
2669
|
-
readonly WHATSAPP: "whatsapp";
|
|
2670
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2671
|
-
};
|
|
2672
|
-
/**
|
|
2673
|
-
* @public
|
|
2674
|
-
*/
|
|
2675
|
-
export type MessageUnsetFields = typeof MessageUnsetFields[keyof typeof MessageUnsetFields];
|
|
2676
2214
|
/**
|
|
2677
2215
|
* @public
|
|
2678
2216
|
*/
|
|
@@ -2701,7 +2239,7 @@ export interface PartialUpdateMessageInput {
|
|
|
2701
2239
|
* Fields to unset during the partial update.
|
|
2702
2240
|
* @public
|
|
2703
2241
|
*/
|
|
2704
|
-
unset?:
|
|
2242
|
+
unset?: MessageUnsetFields[] | undefined;
|
|
2705
2243
|
/**
|
|
2706
2244
|
* Set to true to suppress the updated indicator. Defaults to false.
|
|
2707
2245
|
* @public
|
|
@@ -2739,17 +2277,6 @@ export interface PinChannelInput {
|
|
|
2739
2277
|
*/
|
|
2740
2278
|
export interface PinChannelOutput {
|
|
2741
2279
|
}
|
|
2742
|
-
/**
|
|
2743
|
-
* @public
|
|
2744
|
-
*/
|
|
2745
|
-
export declare class PinnedChannelsLimitReachedException extends __BaseException {
|
|
2746
|
-
readonly name: "PinnedChannelsLimitReachedException";
|
|
2747
|
-
readonly $fault: "client";
|
|
2748
|
-
/**
|
|
2749
|
-
* @internal
|
|
2750
|
-
*/
|
|
2751
|
-
constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
|
|
2752
|
-
}
|
|
2753
2280
|
/**
|
|
2754
2281
|
* @public
|
|
2755
2282
|
*/
|
|
@@ -2820,18 +2347,7 @@ export interface QueryChannelsOutput {
|
|
|
2820
2347
|
* A list of channels matched the query.
|
|
2821
2348
|
* @public
|
|
2822
2349
|
*/
|
|
2823
|
-
channels:
|
|
2824
|
-
}
|
|
2825
|
-
/**
|
|
2826
|
-
* @public
|
|
2827
|
-
*/
|
|
2828
|
-
export declare class ConversationsServiceException extends __BaseException {
|
|
2829
|
-
readonly name: "ConversationsServiceException";
|
|
2830
|
-
readonly $fault: "server";
|
|
2831
|
-
/**
|
|
2832
|
-
* @internal
|
|
2833
|
-
*/
|
|
2834
|
-
constructor(opts: __ExceptionOptionType<ConversationsServiceException, __BaseException>);
|
|
2350
|
+
channels: Channel[];
|
|
2835
2351
|
}
|
|
2836
2352
|
/**
|
|
2837
2353
|
* @public
|
|
@@ -2901,8 +2417,8 @@ export interface SendGiphyOutput {
|
|
|
2901
2417
|
*/
|
|
2902
2418
|
export interface SendMessageInput {
|
|
2903
2419
|
text?: string | undefined;
|
|
2904
|
-
elements?:
|
|
2905
|
-
attachments?:
|
|
2420
|
+
elements?: Element[] | undefined;
|
|
2421
|
+
attachments?: MessageAttachment[] | undefined;
|
|
2906
2422
|
quote?: MessageQuote | undefined;
|
|
2907
2423
|
forward?: MessageForward | undefined;
|
|
2908
2424
|
whatsapp?: boolean | undefined;
|
|
@@ -2919,7 +2435,7 @@ export interface SendMessageInput {
|
|
|
2919
2435
|
* A list of user IDs mentioned in the message.
|
|
2920
2436
|
* @public
|
|
2921
2437
|
*/
|
|
2922
|
-
mentions?:
|
|
2438
|
+
mentions?: string[] | undefined;
|
|
2923
2439
|
/**
|
|
2924
2440
|
* The unique identifier of the channel to which the message is sent.
|
|
2925
2441
|
* @public
|
|
@@ -2971,7 +2487,7 @@ export interface SendMessageReactionOutput {
|
|
|
2971
2487
|
* @public
|
|
2972
2488
|
*/
|
|
2973
2489
|
export interface MultipleMembersJoinedSystemMessage {
|
|
2974
|
-
addedMembers:
|
|
2490
|
+
addedMembers: string[];
|
|
2975
2491
|
}
|
|
2976
2492
|
/**
|
|
2977
2493
|
* @public
|
|
@@ -3012,12 +2528,15 @@ export declare namespace SystemMessage {
|
|
|
3012
2528
|
multipleMembersJoined?: never;
|
|
3013
2529
|
$unknown: [string, any];
|
|
3014
2530
|
}
|
|
2531
|
+
/**
|
|
2532
|
+
* @deprecated unused in schema-serde mode.
|
|
2533
|
+
*
|
|
2534
|
+
*/
|
|
3015
2535
|
interface Visitor<T> {
|
|
3016
2536
|
whatsAppClosed: (value: WhatsAppClosedSystemMessage) => T;
|
|
3017
2537
|
multipleMembersJoined: (value: MultipleMembersJoinedSystemMessage) => T;
|
|
3018
2538
|
_: (name: string, value: any) => T;
|
|
3019
2539
|
}
|
|
3020
|
-
const visit: <T>(value: SystemMessage, visitor: Visitor<T>) => T;
|
|
3021
2540
|
}
|
|
3022
2541
|
/**
|
|
3023
2542
|
* @public
|
|
@@ -3131,28 +2650,6 @@ export interface TagChannelInput {
|
|
|
3131
2650
|
*/
|
|
3132
2651
|
export interface TagChannelOutput {
|
|
3133
2652
|
}
|
|
3134
|
-
/**
|
|
3135
|
-
* @public
|
|
3136
|
-
*/
|
|
3137
|
-
export declare class TaggedChannelsLimitReachedException extends __BaseException {
|
|
3138
|
-
readonly name: "TaggedChannelsLimitReachedException";
|
|
3139
|
-
readonly $fault: "client";
|
|
3140
|
-
/**
|
|
3141
|
-
* @internal
|
|
3142
|
-
*/
|
|
3143
|
-
constructor(opts: __ExceptionOptionType<TaggedChannelsLimitReachedException, __BaseException>);
|
|
3144
|
-
}
|
|
3145
|
-
/**
|
|
3146
|
-
* @public
|
|
3147
|
-
*/
|
|
3148
|
-
export declare class MessageActionNotFoundException extends __BaseException {
|
|
3149
|
-
readonly name: "MessageActionNotFoundException";
|
|
3150
|
-
readonly $fault: "client";
|
|
3151
|
-
/**
|
|
3152
|
-
* @internal
|
|
3153
|
-
*/
|
|
3154
|
-
constructor(opts: __ExceptionOptionType<MessageActionNotFoundException, __BaseException>);
|
|
3155
|
-
}
|
|
3156
2653
|
/**
|
|
3157
2654
|
* @public
|
|
3158
2655
|
*/
|
|
@@ -3381,8 +2878,8 @@ export interface UpdateInboxTagOutput {
|
|
|
3381
2878
|
*/
|
|
3382
2879
|
export interface UpdateMessageInput {
|
|
3383
2880
|
text?: string | undefined;
|
|
3384
|
-
elements?:
|
|
3385
|
-
attachments?:
|
|
2881
|
+
elements?: Element[] | undefined;
|
|
2882
|
+
attachments?: MessageAttachment[] | undefined;
|
|
3386
2883
|
quote?: MessageQuote | undefined;
|
|
3387
2884
|
forward?: MessageForward | undefined;
|
|
3388
2885
|
whatsapp?: boolean | undefined;
|
|
@@ -3399,7 +2896,7 @@ export interface UpdateMessageInput {
|
|
|
3399
2896
|
* A list of user IDs mentioned in the message.
|
|
3400
2897
|
* @public
|
|
3401
2898
|
*/
|
|
3402
|
-
mentions?:
|
|
2899
|
+
mentions?: string[] | undefined;
|
|
3403
2900
|
/**
|
|
3404
2901
|
* The unique identifier of the channel containing the message.
|
|
3405
2902
|
* @public
|