@wildix/stream-client 0.0.14 → 3.1.10
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/StreamService.js +3 -7
- package/dist-cjs/StreamServiceClient.js +34 -27
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -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/CreateKiteChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateSectionCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/DeleteSectionCommand.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/GetInboxCommand.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/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/ListMentionsCommand.js +10 -11
- package/dist-cjs/commands/ListMessagesCommand.js +10 -11
- package/dist-cjs/commands/MarkReadCommand.js +10 -11
- package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
- package/dist-cjs/commands/MoveChannelToSectionCommand.js +10 -11
- package/dist-cjs/commands/MuteChannelCommand.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/RemoveChannelFromSectionCommand.js +10 -11
- package/dist-cjs/commands/RenameSectionCommand.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/UnmuteChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
- package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/UploadFileCommand.js +10 -11
- package/dist-cjs/commands/index.js +0 -2
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/StreamServiceServiceException.js +3 -3
- package/dist-cjs/models/enums.js +114 -0
- package/dist-cjs/models/errors.js +209 -0
- package/dist-cjs/models/models_0.js +0 -381
- 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 +1584 -0
- package/dist-es/StreamService.js +6 -10
- package/dist-es/StreamServiceClient.js +30 -23
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -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/CreateKiteChannelCommand.js +9 -10
- package/dist-es/commands/CreateSectionCommand.js +9 -10
- package/dist-es/commands/DeleteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
- package/dist-es/commands/DeleteMessageCommand.js +9 -10
- package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
- package/dist-es/commands/DeleteSectionCommand.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/GetInboxCommand.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/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/ListMentionsCommand.js +9 -10
- package/dist-es/commands/ListMessagesCommand.js +9 -10
- package/dist-es/commands/MarkReadCommand.js +9 -10
- package/dist-es/commands/MarkUnreadCommand.js +9 -10
- package/dist-es/commands/MoveChannelToSectionCommand.js +9 -10
- package/dist-es/commands/MuteChannelCommand.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/RemoveChannelFromSectionCommand.js +9 -10
- package/dist-es/commands/RenameSectionCommand.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/UnmuteChannelCommand.js +9 -10
- package/dist-es/commands/UnpinChannelCommand.js +9 -10
- package/dist-es/commands/UnpinMessageCommand.js +9 -10
- package/dist-es/commands/UpdateChannelCommand.js +9 -10
- package/dist-es/commands/UpdateMessageCommand.js +9 -10
- package/dist-es/commands/UploadFileCommand.js +9 -10
- package/dist-es/commands/index.js +0 -2
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/StreamServiceServiceException.js +1 -1
- package/dist-es/models/enums.js +111 -0
- package/dist-es/models/errors.js +191 -0
- package/dist-es/models/models_0.js +1 -365
- 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 +1577 -0
- package/dist-types/StreamService.d.ts +59 -73
- package/dist-types/StreamServiceClient.d.ts +90 -76
- 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 +11 -7
- package/dist-types/commands/AddChannelMembersCommand.d.ts +11 -7
- package/dist-types/commands/AssignChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateSectionCommand.d.ts +11 -7
- package/dist-types/commands/DeleteChannelCommand.d.ts +11 -7
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +11 -7
- package/dist-types/commands/DeleteMessageCommand.d.ts +11 -7
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +11 -7
- package/dist-types/commands/DeleteSectionCommand.d.ts +11 -7
- package/dist-types/commands/GetChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetChannelMemberCommand.d.ts +11 -7
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +11 -7
- package/dist-types/commands/GetInboxCommand.d.ts +11 -7
- package/dist-types/commands/GetMessageCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetTokenCommand.d.ts +11 -7
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +11 -7
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/HideChannelCommand.d.ts +11 -7
- package/dist-types/commands/JoinChannelCommand.d.ts +11 -7
- package/dist-types/commands/LeaveChannelCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelMembersCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelsCommand.d.ts +11 -7
- package/dist-types/commands/ListMentionsCommand.d.ts +11 -7
- package/dist-types/commands/ListMessagesCommand.d.ts +11 -7
- package/dist-types/commands/MarkReadCommand.d.ts +11 -7
- package/dist-types/commands/MarkUnreadCommand.d.ts +11 -7
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +11 -7
- package/dist-types/commands/MuteChannelCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +11 -7
- package/dist-types/commands/PinChannelCommand.d.ts +11 -7
- package/dist-types/commands/PinMessageCommand.d.ts +11 -7
- package/dist-types/commands/QueryChannelsCommand.d.ts +11 -7
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +11 -7
- package/dist-types/commands/RenameSectionCommand.d.ts +11 -7
- package/dist-types/commands/SendGiphyCommand.d.ts +11 -7
- package/dist-types/commands/SendMessageCommand.d.ts +11 -7
- package/dist-types/commands/SendMessageReactionCommand.d.ts +11 -7
- package/dist-types/commands/SendSystemMessageCommand.d.ts +11 -7
- package/dist-types/commands/SendTypingStartCommand.d.ts +11 -7
- package/dist-types/commands/SendTypingStopCommand.d.ts +11 -7
- package/dist-types/commands/ShowChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnmuteChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnpinChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnpinMessageCommand.d.ts +11 -7
- package/dist-types/commands/UpdateChannelCommand.d.ts +11 -7
- package/dist-types/commands/UpdateMessageCommand.d.ts +11 -7
- package/dist-types/commands/UploadFileCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +48 -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 +5 -1
- package/dist-types/models/StreamServiceServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +286 -0
- package/dist-types/models/errors.d.ts +189 -0
- package/dist-types/models/models_0.d.ts +69 -669
- package/dist-types/runtimeConfig.browser.d.ts +37 -18
- package/dist-types/runtimeConfig.d.ts +36 -17
- package/dist-types/runtimeConfig.native.d.ts +38 -19
- 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 +243 -0
- package/package.json +13 -39
- package/dist-cjs/commands/SearchChannelsCommand.js +0 -21
- package/dist-cjs/commands/SearchMessagesCommand.js +0 -21
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2463
- package/dist-es/commands/SearchChannelsCommand.js +0 -17
- package/dist-es/commands/SearchMessagesCommand.js +0 -17
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2338
- package/dist-types/commands/SearchChannelsCommand.d.ts +0 -160
- package/dist-types/commands/SearchMessagesCommand.d.ts +0 -204
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -542
|
@@ -1,69 +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 UnauthorizedException extends __BaseException {
|
|
49
|
-
readonly name: "UnauthorizedException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @public
|
|
58
|
-
*/
|
|
59
|
-
export declare class ValidationException extends __BaseException {
|
|
60
|
-
readonly name: "ValidationException";
|
|
61
|
-
readonly $fault: "client";
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
66
|
-
}
|
|
1
|
+
import type { AssignChannelVariant, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, SectionType } from "./enums";
|
|
67
2
|
/**
|
|
68
3
|
* @public
|
|
69
4
|
*/
|
|
@@ -76,7 +11,7 @@ export interface TemplateParameter {
|
|
|
76
11
|
*/
|
|
77
12
|
export interface TemplateWithParameters {
|
|
78
13
|
name: string;
|
|
79
|
-
parameters?:
|
|
14
|
+
parameters?: TemplateParameter[] | undefined;
|
|
80
15
|
}
|
|
81
16
|
/**
|
|
82
17
|
* @public
|
|
@@ -135,26 +70,17 @@ export declare namespace ButtonHandler {
|
|
|
135
70
|
action?: never;
|
|
136
71
|
$unknown: [string, any];
|
|
137
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated unused in schema-serde mode.
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
138
77
|
interface Visitor<T> {
|
|
139
78
|
link: (value: ButtonLinkHandler) => T;
|
|
140
79
|
reply: (value: ButtonReplyHandler) => T;
|
|
141
80
|
action: (value: ButtonActionHandler) => T;
|
|
142
81
|
_: (name: string, value: any) => T;
|
|
143
82
|
}
|
|
144
|
-
const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
|
|
145
83
|
}
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
* @enum
|
|
149
|
-
*/
|
|
150
|
-
export declare const ButtonVariant: {
|
|
151
|
-
readonly CONTAINED: "contained";
|
|
152
|
-
readonly OUTLINED: "outlined";
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
|
|
158
84
|
/**
|
|
159
85
|
* @public
|
|
160
86
|
*/
|
|
@@ -183,11 +109,14 @@ export declare namespace ActionElement {
|
|
|
183
109
|
button?: never;
|
|
184
110
|
$unknown: [string, any];
|
|
185
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @deprecated unused in schema-serde mode.
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
186
116
|
interface Visitor<T> {
|
|
187
117
|
button: (value: ButtonElement) => T;
|
|
188
118
|
_: (name: string, value: any) => T;
|
|
189
119
|
}
|
|
190
|
-
const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
|
|
191
120
|
}
|
|
192
121
|
/**
|
|
193
122
|
* User invitation payload used when creating channels or adding members.
|
|
@@ -239,18 +168,6 @@ export interface AddChannelMemberInput {
|
|
|
239
168
|
memberToInvite?: UserToInvite | undefined;
|
|
240
169
|
hideHistory?: boolean | undefined;
|
|
241
170
|
}
|
|
242
|
-
/**
|
|
243
|
-
* @public
|
|
244
|
-
* @enum
|
|
245
|
-
*/
|
|
246
|
-
export declare const ChannelMemberRole: {
|
|
247
|
-
readonly MEMBER: "member";
|
|
248
|
-
readonly SUPERVISOR: "supervisor";
|
|
249
|
-
};
|
|
250
|
-
/**
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
export type ChannelMemberRole = typeof ChannelMemberRole[keyof typeof ChannelMemberRole];
|
|
254
171
|
/**
|
|
255
172
|
* Channel membership row.
|
|
256
173
|
* @public
|
|
@@ -274,39 +191,6 @@ export interface AddChannelMemberOutput {
|
|
|
274
191
|
*/
|
|
275
192
|
member: ChannelMember;
|
|
276
193
|
}
|
|
277
|
-
/**
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
export declare class ChannelNotFoundException extends __BaseException {
|
|
281
|
-
readonly name: "ChannelNotFoundException";
|
|
282
|
-
readonly $fault: "client";
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
|
-
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
287
|
-
}
|
|
288
|
-
/**
|
|
289
|
-
* @public
|
|
290
|
-
*/
|
|
291
|
-
export declare class MemberAlreadyExistException extends __BaseException {
|
|
292
|
-
readonly name: "MemberAlreadyExistException";
|
|
293
|
-
readonly $fault: "client";
|
|
294
|
-
/**
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
|
-
constructor(opts: __ExceptionOptionType<MemberAlreadyExistException, __BaseException>);
|
|
298
|
-
}
|
|
299
|
-
/**
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
export declare class StreamServiceException extends __BaseException {
|
|
303
|
-
readonly name: "StreamServiceException";
|
|
304
|
-
readonly $fault: "server";
|
|
305
|
-
/**
|
|
306
|
-
* @internal
|
|
307
|
-
*/
|
|
308
|
-
constructor(opts: __ExceptionOptionType<StreamServiceException, __BaseException>);
|
|
309
|
-
}
|
|
310
194
|
/**
|
|
311
195
|
* @public
|
|
312
196
|
*/
|
|
@@ -323,8 +207,8 @@ export interface AddChannelMembersInput {
|
|
|
323
207
|
userId?: string | undefined;
|
|
324
208
|
channelId: string;
|
|
325
209
|
silent?: boolean | undefined;
|
|
326
|
-
members?:
|
|
327
|
-
membersToInvite?:
|
|
210
|
+
members?: string[] | undefined;
|
|
211
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
328
212
|
hideHistory?: boolean | undefined;
|
|
329
213
|
/**
|
|
330
214
|
* Message id used to seed unread state for added members.
|
|
@@ -336,7 +220,7 @@ export interface AddChannelMembersInput {
|
|
|
336
220
|
* @public
|
|
337
221
|
*/
|
|
338
222
|
export interface AddChannelMembersOutput {
|
|
339
|
-
members:
|
|
223
|
+
members: ChannelMember[];
|
|
340
224
|
}
|
|
341
225
|
/**
|
|
342
226
|
* @public
|
|
@@ -364,12 +248,15 @@ export declare namespace AssignChannelAssigneeRequest {
|
|
|
364
248
|
email?: never;
|
|
365
249
|
$unknown: [string, any];
|
|
366
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* @deprecated unused in schema-serde mode.
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
367
255
|
interface Visitor<T> {
|
|
368
256
|
id: (value: string) => T;
|
|
369
257
|
email: (value: string) => T;
|
|
370
258
|
_: (name: string, value: any) => T;
|
|
371
259
|
}
|
|
372
|
-
const visit: <T>(value: AssignChannelAssigneeRequest, visitor: Visitor<T>) => T;
|
|
373
260
|
}
|
|
374
261
|
/**
|
|
375
262
|
* @public
|
|
@@ -394,26 +281,15 @@ export declare namespace AssignChannelServiceRequest {
|
|
|
394
281
|
uri?: never;
|
|
395
282
|
$unknown: [string, any];
|
|
396
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* @deprecated unused in schema-serde mode.
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
397
288
|
interface Visitor<T> {
|
|
398
289
|
uri: (value: string) => T;
|
|
399
290
|
_: (name: string, value: any) => T;
|
|
400
291
|
}
|
|
401
|
-
const visit: <T>(value: AssignChannelServiceRequest, visitor: Visitor<T>) => T;
|
|
402
292
|
}
|
|
403
|
-
/**
|
|
404
|
-
* @public
|
|
405
|
-
* @enum
|
|
406
|
-
*/
|
|
407
|
-
export declare const AssignChannelVariant: {
|
|
408
|
-
readonly ADAPTIVE: "ADAPTIVE";
|
|
409
|
-
readonly EVERYBODY: "EVERYBODY";
|
|
410
|
-
readonly SELECTED: "SELECTED";
|
|
411
|
-
readonly SKIP: "SKIP";
|
|
412
|
-
};
|
|
413
|
-
/**
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export type AssignChannelVariant = typeof AssignChannelVariant[keyof typeof AssignChannelVariant];
|
|
417
293
|
/**
|
|
418
294
|
* @public
|
|
419
295
|
*/
|
|
@@ -441,44 +317,6 @@ export interface AssignChannelOutput {
|
|
|
441
317
|
assigneeId?: string | undefined;
|
|
442
318
|
serviceUri?: string | undefined;
|
|
443
319
|
}
|
|
444
|
-
/**
|
|
445
|
-
* @public
|
|
446
|
-
* @enum
|
|
447
|
-
*/
|
|
448
|
-
export declare const ChannelAccess: {
|
|
449
|
-
readonly PRIVATE: "private";
|
|
450
|
-
readonly PUBLIC: "public";
|
|
451
|
-
};
|
|
452
|
-
/**
|
|
453
|
-
* @public
|
|
454
|
-
*/
|
|
455
|
-
export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
|
|
456
|
-
/**
|
|
457
|
-
* @public
|
|
458
|
-
* @enum
|
|
459
|
-
*/
|
|
460
|
-
export declare const ChannelType: {
|
|
461
|
-
readonly DIRECT: "direct";
|
|
462
|
-
readonly GROUP: "group";
|
|
463
|
-
};
|
|
464
|
-
/**
|
|
465
|
-
* @public
|
|
466
|
-
*/
|
|
467
|
-
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
468
|
-
/**
|
|
469
|
-
* @public
|
|
470
|
-
* @enum
|
|
471
|
-
*/
|
|
472
|
-
export declare const ChannelContextEventAttendeeStatus: {
|
|
473
|
-
readonly ACCEPTED: "accepted";
|
|
474
|
-
readonly DECLINED: "declined";
|
|
475
|
-
readonly NONE: "none";
|
|
476
|
-
readonly TENTATIVE: "tentative";
|
|
477
|
-
};
|
|
478
|
-
/**
|
|
479
|
-
* @public
|
|
480
|
-
*/
|
|
481
|
-
export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
|
|
482
320
|
/**
|
|
483
321
|
* @public
|
|
484
322
|
*/
|
|
@@ -496,7 +334,7 @@ export interface ChannelContextEvent {
|
|
|
496
334
|
start?: string | undefined;
|
|
497
335
|
end?: string | undefined;
|
|
498
336
|
summary?: string | undefined;
|
|
499
|
-
attendees?:
|
|
337
|
+
attendees?: ChannelContextEventAttendee[] | undefined;
|
|
500
338
|
}
|
|
501
339
|
/**
|
|
502
340
|
* @public
|
|
@@ -508,39 +346,15 @@ export interface ChannelContextPushToTalk {
|
|
|
508
346
|
*/
|
|
509
347
|
broadcastId?: string | undefined;
|
|
510
348
|
}
|
|
511
|
-
/**
|
|
512
|
-
* @public
|
|
513
|
-
* @enum
|
|
514
|
-
*/
|
|
515
|
-
export declare const ChannelContextSource: {
|
|
516
|
-
readonly KITE: "kite";
|
|
517
|
-
};
|
|
518
|
-
/**
|
|
519
|
-
* @public
|
|
520
|
-
*/
|
|
521
|
-
export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
|
|
522
349
|
/**
|
|
523
350
|
* @public
|
|
524
351
|
*/
|
|
525
352
|
export interface ChannelContext {
|
|
526
353
|
source?: ChannelContextSource | undefined;
|
|
527
354
|
target?: string | undefined;
|
|
528
|
-
events?:
|
|
355
|
+
events?: ChannelContextEvent[] | undefined;
|
|
529
356
|
ptt?: ChannelContextPushToTalk | undefined;
|
|
530
357
|
}
|
|
531
|
-
/**
|
|
532
|
-
* @public
|
|
533
|
-
* @enum
|
|
534
|
-
*/
|
|
535
|
-
export declare const MessageType: {
|
|
536
|
-
readonly DELETED: "deleted";
|
|
537
|
-
readonly REGULAR: "regular";
|
|
538
|
-
readonly SYSTEM: "system";
|
|
539
|
-
};
|
|
540
|
-
/**
|
|
541
|
-
* @public
|
|
542
|
-
*/
|
|
543
|
-
export type MessageType = typeof MessageType[keyof typeof MessageType];
|
|
544
358
|
/**
|
|
545
359
|
* Preview of the most recent visible message in a channel.
|
|
546
360
|
* @public
|
|
@@ -573,17 +387,6 @@ export interface LastMessagePreview {
|
|
|
573
387
|
*/
|
|
574
388
|
createdAt: string;
|
|
575
389
|
}
|
|
576
|
-
/**
|
|
577
|
-
* @public
|
|
578
|
-
* @enum
|
|
579
|
-
*/
|
|
580
|
-
export declare const ChannelWhatsAppStatus: {
|
|
581
|
-
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
582
|
-
};
|
|
583
|
-
/**
|
|
584
|
-
* @public
|
|
585
|
-
*/
|
|
586
|
-
export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
|
|
587
390
|
/**
|
|
588
391
|
* @public
|
|
589
392
|
*/
|
|
@@ -717,17 +520,6 @@ export interface Channel {
|
|
|
717
520
|
*/
|
|
718
521
|
wizyGuestViewOnly?: boolean | undefined;
|
|
719
522
|
}
|
|
720
|
-
/**
|
|
721
|
-
* @public
|
|
722
|
-
*/
|
|
723
|
-
export declare class ChannelAlreadyExistException extends __BaseException {
|
|
724
|
-
readonly name: "ChannelAlreadyExistException";
|
|
725
|
-
readonly $fault: "client";
|
|
726
|
-
/**
|
|
727
|
-
* @internal
|
|
728
|
-
*/
|
|
729
|
-
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
730
|
-
}
|
|
731
523
|
/**
|
|
732
524
|
* Read pointer for one channel member.
|
|
733
525
|
* @public
|
|
@@ -745,43 +537,13 @@ export interface ChannelMemberReadStatus {
|
|
|
745
537
|
*/
|
|
746
538
|
lastReadVisibleSeq?: number | undefined;
|
|
747
539
|
}
|
|
748
|
-
/**
|
|
749
|
-
* @public
|
|
750
|
-
* @enum
|
|
751
|
-
*/
|
|
752
|
-
export declare const ChannelsFilter: {
|
|
753
|
-
/**
|
|
754
|
-
* Archived (hidden) channels.
|
|
755
|
-
*/
|
|
756
|
-
readonly ARCHIVED: "archived";
|
|
757
|
-
/**
|
|
758
|
-
* Non-archived channels with at least one unread message.
|
|
759
|
-
*/
|
|
760
|
-
readonly UNREAD: "unread";
|
|
761
|
-
};
|
|
762
|
-
/**
|
|
763
|
-
* @public
|
|
764
|
-
*/
|
|
765
|
-
export type ChannelsFilter = typeof ChannelsFilter[keyof typeof ChannelsFilter];
|
|
766
540
|
/**
|
|
767
541
|
* Batch channel lookup query.
|
|
768
542
|
* @public
|
|
769
543
|
*/
|
|
770
544
|
export interface ChannelsQuery {
|
|
771
|
-
ids?:
|
|
545
|
+
ids?: string[] | undefined;
|
|
772
546
|
}
|
|
773
|
-
/**
|
|
774
|
-
* @public
|
|
775
|
-
* @enum
|
|
776
|
-
*/
|
|
777
|
-
export declare const GroupChannelCreationEventType: {
|
|
778
|
-
readonly CONVERSATION_CREATED: "conversation_created";
|
|
779
|
-
readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* @public
|
|
783
|
-
*/
|
|
784
|
-
export type GroupChannelCreationEventType = typeof GroupChannelCreationEventType[keyof typeof GroupChannelCreationEventType];
|
|
785
547
|
/**
|
|
786
548
|
* @public
|
|
787
549
|
*/
|
|
@@ -882,12 +644,12 @@ export interface CreateGroupChannelInput {
|
|
|
882
644
|
* Existing users to add as members.
|
|
883
645
|
* @public
|
|
884
646
|
*/
|
|
885
|
-
members?:
|
|
647
|
+
members?: string[] | undefined;
|
|
886
648
|
/**
|
|
887
649
|
* Users to invite by email or phone.
|
|
888
650
|
* @public
|
|
889
651
|
*/
|
|
890
|
-
membersToInvite?:
|
|
652
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
891
653
|
/**
|
|
892
654
|
* System event emitted when a group channel is created.
|
|
893
655
|
* @public
|
|
@@ -962,7 +724,7 @@ export declare namespace Element {
|
|
|
962
724
|
}
|
|
963
725
|
interface ActionsMember {
|
|
964
726
|
template?: never;
|
|
965
|
-
actions:
|
|
727
|
+
actions: ActionElement[];
|
|
966
728
|
$unknown?: never;
|
|
967
729
|
}
|
|
968
730
|
/**
|
|
@@ -973,12 +735,15 @@ export declare namespace Element {
|
|
|
973
735
|
actions?: never;
|
|
974
736
|
$unknown: [string, any];
|
|
975
737
|
}
|
|
738
|
+
/**
|
|
739
|
+
* @deprecated unused in schema-serde mode.
|
|
740
|
+
*
|
|
741
|
+
*/
|
|
976
742
|
interface Visitor<T> {
|
|
977
743
|
template: (value: MessageTemplateConfig) => T;
|
|
978
|
-
actions: (value:
|
|
744
|
+
actions: (value: ActionElement[]) => T;
|
|
979
745
|
_: (name: string, value: any) => T;
|
|
980
746
|
}
|
|
981
|
-
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
982
747
|
}
|
|
983
748
|
/**
|
|
984
749
|
* Forward reference supplied by the client. The server resolves the original author and snapshot fields at write time.
|
|
@@ -996,34 +761,6 @@ export interface MessageQuoteRef {
|
|
|
996
761
|
channelId: string;
|
|
997
762
|
messageId: string;
|
|
998
763
|
}
|
|
999
|
-
/**
|
|
1000
|
-
* @public
|
|
1001
|
-
* @enum
|
|
1002
|
-
*/
|
|
1003
|
-
export declare const MessageSmsStatus: {
|
|
1004
|
-
readonly DELIVERED: "delivered";
|
|
1005
|
-
readonly ERROR: "error";
|
|
1006
|
-
readonly SENT: "sent";
|
|
1007
|
-
readonly TRYING: "trying";
|
|
1008
|
-
};
|
|
1009
|
-
/**
|
|
1010
|
-
* @public
|
|
1011
|
-
*/
|
|
1012
|
-
export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
|
|
1013
|
-
/**
|
|
1014
|
-
* @public
|
|
1015
|
-
* @enum
|
|
1016
|
-
*/
|
|
1017
|
-
export declare const MessageWhatsAppStatus: {
|
|
1018
|
-
readonly DELIVERED: "delivered";
|
|
1019
|
-
readonly ERROR: "error";
|
|
1020
|
-
readonly SENT: "sent";
|
|
1021
|
-
readonly TRYING: "trying";
|
|
1022
|
-
};
|
|
1023
|
-
/**
|
|
1024
|
-
* @public
|
|
1025
|
-
*/
|
|
1026
|
-
export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
|
|
1027
764
|
/**
|
|
1028
765
|
* Initial user message seeded during channel creation.
|
|
1029
766
|
* @public
|
|
@@ -1038,12 +775,12 @@ export interface InitialMessage {
|
|
|
1038
775
|
* Structured rich content blocks.
|
|
1039
776
|
* @public
|
|
1040
777
|
*/
|
|
1041
|
-
elements?:
|
|
778
|
+
elements?: Element[] | undefined;
|
|
1042
779
|
/**
|
|
1043
780
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
1044
781
|
* @public
|
|
1045
782
|
*/
|
|
1046
|
-
attachments?:
|
|
783
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
1047
784
|
/**
|
|
1048
785
|
* Reply context referencing a quoted message.
|
|
1049
786
|
* @public
|
|
@@ -1085,7 +822,7 @@ export interface InitialMessage {
|
|
|
1085
822
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
1086
823
|
* @public
|
|
1087
824
|
*/
|
|
1088
|
-
mentions?:
|
|
825
|
+
mentions?: string[] | undefined;
|
|
1089
826
|
}
|
|
1090
827
|
/**
|
|
1091
828
|
* Welcome message seeded during channel creation.
|
|
@@ -1101,12 +838,12 @@ export interface WelcomeMessage {
|
|
|
1101
838
|
* Structured rich content blocks.
|
|
1102
839
|
* @public
|
|
1103
840
|
*/
|
|
1104
|
-
elements?:
|
|
841
|
+
elements?: Element[] | undefined;
|
|
1105
842
|
/**
|
|
1106
843
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
1107
844
|
* @public
|
|
1108
845
|
*/
|
|
1109
|
-
attachments?:
|
|
846
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
1110
847
|
/**
|
|
1111
848
|
* Reply context referencing a quoted message.
|
|
1112
849
|
* @public
|
|
@@ -1148,7 +885,7 @@ export interface WelcomeMessage {
|
|
|
1148
885
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
1149
886
|
* @public
|
|
1150
887
|
*/
|
|
1151
|
-
mentions?:
|
|
888
|
+
mentions?: string[] | undefined;
|
|
1152
889
|
userId: string;
|
|
1153
890
|
}
|
|
1154
891
|
/**
|
|
@@ -1172,7 +909,7 @@ export interface CreateKiteChannelInput {
|
|
|
1172
909
|
*/
|
|
1173
910
|
targetId: string;
|
|
1174
911
|
targetRouteId?: string | undefined;
|
|
1175
|
-
welcomeMessages?:
|
|
912
|
+
welcomeMessages?: WelcomeMessage[] | undefined;
|
|
1176
913
|
/**
|
|
1177
914
|
* Initial user message seeded during channel creation.
|
|
1178
915
|
* @public
|
|
@@ -1185,40 +922,6 @@ export interface CreateKiteChannelInput {
|
|
|
1185
922
|
export interface CreateKiteChannelOutput {
|
|
1186
923
|
channel: Channel;
|
|
1187
924
|
}
|
|
1188
|
-
/**
|
|
1189
|
-
* @public
|
|
1190
|
-
* @enum
|
|
1191
|
-
*/
|
|
1192
|
-
export declare const TargetNotEligibleReason: {
|
|
1193
|
-
readonly NO_LICENSE: "no_license";
|
|
1194
|
-
};
|
|
1195
|
-
/**
|
|
1196
|
-
* @public
|
|
1197
|
-
*/
|
|
1198
|
-
export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
|
|
1199
|
-
/**
|
|
1200
|
-
* @public
|
|
1201
|
-
*/
|
|
1202
|
-
export declare class TargetNotEligibleException extends __BaseException {
|
|
1203
|
-
readonly name: "TargetNotEligibleException";
|
|
1204
|
-
readonly $fault: "client";
|
|
1205
|
-
reason?: TargetNotEligibleReason | undefined;
|
|
1206
|
-
/**
|
|
1207
|
-
* @internal
|
|
1208
|
-
*/
|
|
1209
|
-
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* @public
|
|
1213
|
-
*/
|
|
1214
|
-
export declare class TargetNotFoundException extends __BaseException {
|
|
1215
|
-
readonly name: "TargetNotFoundException";
|
|
1216
|
-
readonly $fault: "client";
|
|
1217
|
-
/**
|
|
1218
|
-
* @internal
|
|
1219
|
-
*/
|
|
1220
|
-
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
1221
|
-
}
|
|
1222
925
|
/**
|
|
1223
926
|
* @public
|
|
1224
927
|
*/
|
|
@@ -1240,24 +943,6 @@ export interface CreateSectionInput {
|
|
|
1240
943
|
sectionId: string;
|
|
1241
944
|
name: string;
|
|
1242
945
|
}
|
|
1243
|
-
/**
|
|
1244
|
-
* @public
|
|
1245
|
-
* @enum
|
|
1246
|
-
*/
|
|
1247
|
-
export declare const SectionType: {
|
|
1248
|
-
/**
|
|
1249
|
-
* Custom section created by the user.
|
|
1250
|
-
*/
|
|
1251
|
-
readonly CUSTOM: "custom";
|
|
1252
|
-
/**
|
|
1253
|
-
* System section maintained by the backend.
|
|
1254
|
-
*/
|
|
1255
|
-
readonly SYSTEM: "system";
|
|
1256
|
-
};
|
|
1257
|
-
/**
|
|
1258
|
-
* @public
|
|
1259
|
-
*/
|
|
1260
|
-
export type SectionType = typeof SectionType[keyof typeof SectionType];
|
|
1261
946
|
/**
|
|
1262
947
|
* Inbox section with metadata, channel count, and unread counters.
|
|
1263
948
|
* @public
|
|
@@ -1358,17 +1043,6 @@ export interface DeleteChannelMemberInput {
|
|
|
1358
1043
|
*/
|
|
1359
1044
|
export interface DeleteChannelMemberOutput {
|
|
1360
1045
|
}
|
|
1361
|
-
/**
|
|
1362
|
-
* @public
|
|
1363
|
-
*/
|
|
1364
|
-
export declare class MemberNotFoundException extends __BaseException {
|
|
1365
|
-
readonly name: "MemberNotFoundException";
|
|
1366
|
-
readonly $fault: "client";
|
|
1367
|
-
/**
|
|
1368
|
-
* @internal
|
|
1369
|
-
*/
|
|
1370
|
-
constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
|
|
1371
|
-
}
|
|
1372
1046
|
/**
|
|
1373
1047
|
* @public
|
|
1374
1048
|
*/
|
|
@@ -1391,17 +1065,6 @@ export interface DeleteMessageInput {
|
|
|
1391
1065
|
*/
|
|
1392
1066
|
export interface DeleteMessageOutput {
|
|
1393
1067
|
}
|
|
1394
|
-
/**
|
|
1395
|
-
* @public
|
|
1396
|
-
*/
|
|
1397
|
-
export declare class MessageNotFoundException extends __BaseException {
|
|
1398
|
-
readonly name: "MessageNotFoundException";
|
|
1399
|
-
readonly $fault: "client";
|
|
1400
|
-
/**
|
|
1401
|
-
* @internal
|
|
1402
|
-
*/
|
|
1403
|
-
constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
|
|
1404
|
-
}
|
|
1405
1068
|
/**
|
|
1406
1069
|
* @public
|
|
1407
1070
|
*/
|
|
@@ -1572,12 +1235,12 @@ export interface Message {
|
|
|
1572
1235
|
* Attached files.
|
|
1573
1236
|
* @public
|
|
1574
1237
|
*/
|
|
1575
|
-
attachments:
|
|
1238
|
+
attachments: MessageAttachment[];
|
|
1576
1239
|
/**
|
|
1577
1240
|
* Users directly mentioned in the message.
|
|
1578
1241
|
* @public
|
|
1579
1242
|
*/
|
|
1580
|
-
mentions:
|
|
1243
|
+
mentions: string[];
|
|
1581
1244
|
/**
|
|
1582
1245
|
* Quoted message reference.
|
|
1583
1246
|
* @public
|
|
@@ -1597,7 +1260,7 @@ export interface Message {
|
|
|
1597
1260
|
* Most recent reactions per type. Fetch the full list on demand.
|
|
1598
1261
|
* @public
|
|
1599
1262
|
*/
|
|
1600
|
-
latestReactions?:
|
|
1263
|
+
latestReactions?: Reaction[] | undefined;
|
|
1601
1264
|
/**
|
|
1602
1265
|
* True when the message is currently pinned at channel scope.
|
|
1603
1266
|
* @public
|
|
@@ -1653,7 +1316,7 @@ export interface Message {
|
|
|
1653
1316
|
* @public
|
|
1654
1317
|
*/
|
|
1655
1318
|
deletedAt?: string | undefined;
|
|
1656
|
-
elements?:
|
|
1319
|
+
elements?: Element[] | undefined;
|
|
1657
1320
|
whatsapp?: boolean | undefined;
|
|
1658
1321
|
whatsappStatus?: MessageWhatsAppStatus | undefined;
|
|
1659
1322
|
sms?: boolean | undefined;
|
|
@@ -1702,54 +1365,6 @@ export interface DeleteSectionInput {
|
|
|
1702
1365
|
*/
|
|
1703
1366
|
export interface DeleteSectionOutput {
|
|
1704
1367
|
}
|
|
1705
|
-
/**
|
|
1706
|
-
* @public
|
|
1707
|
-
*/
|
|
1708
|
-
export declare class SectionNotFoundException extends __BaseException {
|
|
1709
|
-
readonly name: "SectionNotFoundException";
|
|
1710
|
-
readonly $fault: "client";
|
|
1711
|
-
/**
|
|
1712
|
-
* @internal
|
|
1713
|
-
*/
|
|
1714
|
-
constructor(opts: __ExceptionOptionType<SectionNotFoundException, __BaseException>);
|
|
1715
|
-
}
|
|
1716
|
-
export declare enum DownloadStrategy {
|
|
1717
|
-
DEFAULT = 0,
|
|
1718
|
-
DOWNLOAD = 1
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* @public
|
|
1722
|
-
* @enum
|
|
1723
|
-
*/
|
|
1724
|
-
export declare const FileCategory: {
|
|
1725
|
-
/**
|
|
1726
|
-
* Channel-attached files. Default.
|
|
1727
|
-
*/
|
|
1728
|
-
readonly GENERAL: "channels";
|
|
1729
|
-
/**
|
|
1730
|
-
* Conference recordings.
|
|
1731
|
-
*/
|
|
1732
|
-
readonly RECORDING: "recordings";
|
|
1733
|
-
/**
|
|
1734
|
-
* Wizy conference recordings.
|
|
1735
|
-
*/
|
|
1736
|
-
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
1737
|
-
};
|
|
1738
|
-
/**
|
|
1739
|
-
* @public
|
|
1740
|
-
*/
|
|
1741
|
-
export type FileCategory = typeof FileCategory[keyof typeof FileCategory];
|
|
1742
|
-
/**
|
|
1743
|
-
* @public
|
|
1744
|
-
*/
|
|
1745
|
-
export declare class FileNotFoundException extends __BaseException {
|
|
1746
|
-
readonly name: "FileNotFoundException";
|
|
1747
|
-
readonly $fault: "client";
|
|
1748
|
-
/**
|
|
1749
|
-
* @internal
|
|
1750
|
-
*/
|
|
1751
|
-
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
1752
|
-
}
|
|
1753
1368
|
/**
|
|
1754
1369
|
* @public
|
|
1755
1370
|
*/
|
|
@@ -1892,7 +1507,7 @@ export interface InboxState {
|
|
|
1892
1507
|
* Sections that include this channel.
|
|
1893
1508
|
* @public
|
|
1894
1509
|
*/
|
|
1895
|
-
sectionIds:
|
|
1510
|
+
sectionIds: string[];
|
|
1896
1511
|
/**
|
|
1897
1512
|
* Number of unread visible messages.
|
|
1898
1513
|
* @public
|
|
@@ -2086,12 +1701,12 @@ export interface GetInboxOutput {
|
|
|
2086
1701
|
* Recent channels with per-user state and last-message preview.
|
|
2087
1702
|
* @public
|
|
2088
1703
|
*/
|
|
2089
|
-
channels:
|
|
1704
|
+
channels: InboxChannel[];
|
|
2090
1705
|
/**
|
|
2091
1706
|
* Inbox sections with channel counts and unread counters.
|
|
2092
1707
|
* @public
|
|
2093
1708
|
*/
|
|
2094
|
-
sections:
|
|
1709
|
+
sections: Section[];
|
|
2095
1710
|
}
|
|
2096
1711
|
/**
|
|
2097
1712
|
* @public
|
|
@@ -2477,33 +2092,6 @@ export interface GetWhatsAppChannelIdInput {
|
|
|
2477
2092
|
export interface GetWhatsAppChannelIdOutput {
|
|
2478
2093
|
channelId: string;
|
|
2479
2094
|
}
|
|
2480
|
-
/**
|
|
2481
|
-
* @public
|
|
2482
|
-
* @enum
|
|
2483
|
-
*/
|
|
2484
|
-
export declare const GroupChannelUnsetOptions: {
|
|
2485
|
-
readonly ACCESS: "access";
|
|
2486
|
-
readonly ASSIGNEE: "assignee";
|
|
2487
|
-
readonly BROADCAST: "broadcast";
|
|
2488
|
-
readonly CONTEXT: "context";
|
|
2489
|
-
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2490
|
-
readonly CONTEXT_PTT: "contextPtt";
|
|
2491
|
-
readonly DESCRIPTION: "description";
|
|
2492
|
-
readonly KITE_ASSIGN: "kiteAssign";
|
|
2493
|
-
readonly MMS: "mms";
|
|
2494
|
-
readonly PICTURE: "picture";
|
|
2495
|
-
readonly PICTURE_COLOR: "pictureColor";
|
|
2496
|
-
readonly SERVICE: "service";
|
|
2497
|
-
readonly SERVICE_TITLE: "serviceTitle";
|
|
2498
|
-
readonly SMS: "sms";
|
|
2499
|
-
readonly SUBJECT: "subject";
|
|
2500
|
-
readonly WHATSAPP: "whatsapp";
|
|
2501
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2502
|
-
};
|
|
2503
|
-
/**
|
|
2504
|
-
* @public
|
|
2505
|
-
*/
|
|
2506
|
-
export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typeof GroupChannelUnsetOptions];
|
|
2507
2095
|
/**
|
|
2508
2096
|
* @public
|
|
2509
2097
|
*/
|
|
@@ -2592,7 +2180,7 @@ export interface ListChannelMembersInput {
|
|
|
2592
2180
|
* @public
|
|
2593
2181
|
*/
|
|
2594
2182
|
export interface ListChannelMembersOutput {
|
|
2595
|
-
members:
|
|
2183
|
+
members: ChannelMember[];
|
|
2596
2184
|
}
|
|
2597
2185
|
/**
|
|
2598
2186
|
* @public
|
|
@@ -2614,7 +2202,7 @@ export interface ListChannelMembersReadStatusInput {
|
|
|
2614
2202
|
* @public
|
|
2615
2203
|
*/
|
|
2616
2204
|
export interface ListChannelMembersReadStatusOutput {
|
|
2617
|
-
members:
|
|
2205
|
+
members: ChannelMemberReadStatus[];
|
|
2618
2206
|
}
|
|
2619
2207
|
/**
|
|
2620
2208
|
* @public
|
|
@@ -2654,27 +2242,13 @@ export interface ListChannelsOutput {
|
|
|
2654
2242
|
* Ordered page of channels for the requested section.
|
|
2655
2243
|
* @public
|
|
2656
2244
|
*/
|
|
2657
|
-
channels:
|
|
2245
|
+
channels: InboxChannel[];
|
|
2658
2246
|
/**
|
|
2659
2247
|
* Cursor for the next page. Absent when there are no more pages.
|
|
2660
2248
|
* @public
|
|
2661
2249
|
*/
|
|
2662
2250
|
nextCursor?: string | undefined;
|
|
2663
2251
|
}
|
|
2664
|
-
/**
|
|
2665
|
-
* @public
|
|
2666
|
-
* @enum
|
|
2667
|
-
*/
|
|
2668
|
-
export declare const MentionsFilter: {
|
|
2669
|
-
/**
|
|
2670
|
-
* Unread mentions only.
|
|
2671
|
-
*/
|
|
2672
|
-
readonly UNREAD: "unread";
|
|
2673
|
-
};
|
|
2674
|
-
/**
|
|
2675
|
-
* @public
|
|
2676
|
-
*/
|
|
2677
|
-
export type MentionsFilter = typeof MentionsFilter[keyof typeof MentionsFilter];
|
|
2678
2252
|
/**
|
|
2679
2253
|
* @public
|
|
2680
2254
|
*/
|
|
@@ -2788,7 +2362,7 @@ export interface ListMentionsOutput {
|
|
|
2788
2362
|
* Mentions ordered by most recent `mentionAddedAt` first.
|
|
2789
2363
|
* @public
|
|
2790
2364
|
*/
|
|
2791
|
-
mentions:
|
|
2365
|
+
mentions: MentionEntry[];
|
|
2792
2366
|
/**
|
|
2793
2367
|
* Cursor for the next page. Absent when there are no more pages.
|
|
2794
2368
|
* @public
|
|
@@ -2829,7 +2403,7 @@ export interface ListMessagesOutput {
|
|
|
2829
2403
|
* Messages ordered newest-first by `timelineSeq`.
|
|
2830
2404
|
* @public
|
|
2831
2405
|
*/
|
|
2832
|
-
messages:
|
|
2406
|
+
messages: Message[];
|
|
2833
2407
|
}
|
|
2834
2408
|
/**
|
|
2835
2409
|
* @public
|
|
@@ -2862,17 +2436,6 @@ export interface MarkReadOutput {
|
|
|
2862
2436
|
*/
|
|
2863
2437
|
inbox: InboxState;
|
|
2864
2438
|
}
|
|
2865
|
-
/**
|
|
2866
|
-
* @public
|
|
2867
|
-
*/
|
|
2868
|
-
export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
2869
|
-
readonly name: "MarkUnreadChannelsLimitReachedException";
|
|
2870
|
-
readonly $fault: "client";
|
|
2871
|
-
/**
|
|
2872
|
-
* @internal
|
|
2873
|
-
*/
|
|
2874
|
-
constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
|
|
2875
|
-
}
|
|
2876
2439
|
/**
|
|
2877
2440
|
* @public
|
|
2878
2441
|
*/
|
|
@@ -2914,27 +2477,6 @@ export interface MarkUnreadOutput {
|
|
|
2914
2477
|
*/
|
|
2915
2478
|
inbox: InboxState;
|
|
2916
2479
|
}
|
|
2917
|
-
/**
|
|
2918
|
-
* @public
|
|
2919
|
-
* @enum
|
|
2920
|
-
*/
|
|
2921
|
-
export declare const MessageUnsetFields: {
|
|
2922
|
-
readonly ATTACHMENTS: "attachments";
|
|
2923
|
-
readonly ELEMENTS: "elements";
|
|
2924
|
-
readonly FORWARD: "forward";
|
|
2925
|
-
readonly MARKDOWN: "markdown";
|
|
2926
|
-
readonly MENTIONS: "mentions";
|
|
2927
|
-
readonly QUOTE: "quote";
|
|
2928
|
-
readonly SMS: "sms";
|
|
2929
|
-
readonly SMS_STATUS: "smsStatus";
|
|
2930
|
-
readonly TEXT: "text";
|
|
2931
|
-
readonly WHATSAPP: "whatsapp";
|
|
2932
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2933
|
-
};
|
|
2934
|
-
/**
|
|
2935
|
-
* @public
|
|
2936
|
-
*/
|
|
2937
|
-
export type MessageUnsetFields = typeof MessageUnsetFields[keyof typeof MessageUnsetFields];
|
|
2938
2480
|
/**
|
|
2939
2481
|
* @public
|
|
2940
2482
|
*/
|
|
@@ -2971,7 +2513,7 @@ export interface MoveChannelToSectionOutput {
|
|
|
2971
2513
|
* @public
|
|
2972
2514
|
*/
|
|
2973
2515
|
export interface MultipleMembersJoinedSystemMessage {
|
|
2974
|
-
addedMembers:
|
|
2516
|
+
addedMembers: string[];
|
|
2975
2517
|
}
|
|
2976
2518
|
/**
|
|
2977
2519
|
* @public
|
|
@@ -3103,7 +2645,7 @@ export interface PartialUpdateChannelInput {
|
|
|
3103
2645
|
channelId: string;
|
|
3104
2646
|
silent?: boolean | undefined;
|
|
3105
2647
|
set?: PartialUpdateChannelSetOptions | undefined;
|
|
3106
|
-
unset?:
|
|
2648
|
+
unset?: GroupChannelUnsetOptions[] | undefined;
|
|
3107
2649
|
}
|
|
3108
2650
|
/**
|
|
3109
2651
|
* @public
|
|
@@ -3124,12 +2666,12 @@ export interface PartialUpdateMessageSetInput {
|
|
|
3124
2666
|
* Structured rich content blocks.
|
|
3125
2667
|
* @public
|
|
3126
2668
|
*/
|
|
3127
|
-
elements?:
|
|
2669
|
+
elements?: Element[] | undefined;
|
|
3128
2670
|
/**
|
|
3129
2671
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
3130
2672
|
* @public
|
|
3131
2673
|
*/
|
|
3132
|
-
attachments?:
|
|
2674
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
3133
2675
|
/**
|
|
3134
2676
|
* Reply context referencing a quoted message.
|
|
3135
2677
|
* @public
|
|
@@ -3149,7 +2691,7 @@ export interface PartialUpdateMessageSetInput {
|
|
|
3149
2691
|
* Direct `@user` ids.
|
|
3150
2692
|
* @public
|
|
3151
2693
|
*/
|
|
3152
|
-
mentions?:
|
|
2694
|
+
mentions?: string[] | undefined;
|
|
3153
2695
|
/**
|
|
3154
2696
|
* Mark as a WhatsApp message. The server may infer this from the channel type.
|
|
3155
2697
|
* @public
|
|
@@ -3188,7 +2730,7 @@ export interface PartialUpdateMessageInput {
|
|
|
3188
2730
|
* Fields to clear during the partial update.
|
|
3189
2731
|
* @public
|
|
3190
2732
|
*/
|
|
3191
|
-
unset?:
|
|
2733
|
+
unset?: MessageUnsetFields[] | undefined;
|
|
3192
2734
|
/**
|
|
3193
2735
|
* Suppress the updated indicator for this edit.
|
|
3194
2736
|
* @public
|
|
@@ -3277,7 +2819,7 @@ export interface QueryChannelsInput {
|
|
|
3277
2819
|
* @public
|
|
3278
2820
|
*/
|
|
3279
2821
|
export interface QueryChannelsOutput {
|
|
3280
|
-
channels:
|
|
2822
|
+
channels: InboxChannel[];
|
|
3281
2823
|
}
|
|
3282
2824
|
/**
|
|
3283
2825
|
* @public
|
|
@@ -3341,151 +2883,6 @@ export interface RenameSectionOutput {
|
|
|
3341
2883
|
*/
|
|
3342
2884
|
section: Section;
|
|
3343
2885
|
}
|
|
3344
|
-
/**
|
|
3345
|
-
* @public
|
|
3346
|
-
*/
|
|
3347
|
-
export interface SearchChannelHit {
|
|
3348
|
-
channel: Channel;
|
|
3349
|
-
/**
|
|
3350
|
-
* Highlighted fragments from the matched channel subject or description.
|
|
3351
|
-
* @public
|
|
3352
|
-
*/
|
|
3353
|
-
highlights?: (string)[] | undefined;
|
|
3354
|
-
}
|
|
3355
|
-
/**
|
|
3356
|
-
* @public
|
|
3357
|
-
*/
|
|
3358
|
-
export interface SearchChannelsInput {
|
|
3359
|
-
/**
|
|
3360
|
-
* The unique identifier of the tenant when a service token is used.
|
|
3361
|
-
* @public
|
|
3362
|
-
*/
|
|
3363
|
-
companyId?: string | undefined;
|
|
3364
|
-
/**
|
|
3365
|
-
* The unique identifier of the user when a service or PBX token is used.
|
|
3366
|
-
* @public
|
|
3367
|
-
*/
|
|
3368
|
-
userId?: string | undefined;
|
|
3369
|
-
/**
|
|
3370
|
-
* Search text.
|
|
3371
|
-
* @public
|
|
3372
|
-
*/
|
|
3373
|
-
q: string;
|
|
3374
|
-
/**
|
|
3375
|
-
* Page size. Default 20, max 50.
|
|
3376
|
-
* @public
|
|
3377
|
-
*/
|
|
3378
|
-
size?: number | undefined;
|
|
3379
|
-
/**
|
|
3380
|
-
* Opaque continuation token from the previous response.
|
|
3381
|
-
* @public
|
|
3382
|
-
*/
|
|
3383
|
-
cursor?: string | undefined;
|
|
3384
|
-
}
|
|
3385
|
-
/**
|
|
3386
|
-
* @public
|
|
3387
|
-
*/
|
|
3388
|
-
export interface SearchChannelsOutput {
|
|
3389
|
-
/**
|
|
3390
|
-
* Matching channels ordered by relevance.
|
|
3391
|
-
* @public
|
|
3392
|
-
*/
|
|
3393
|
-
results: (SearchChannelHit)[];
|
|
3394
|
-
/**
|
|
3395
|
-
* Cursor for the next page. Absent when there are no more pages.
|
|
3396
|
-
* @public
|
|
3397
|
-
*/
|
|
3398
|
-
nextCursor?: string | undefined;
|
|
3399
|
-
}
|
|
3400
|
-
/**
|
|
3401
|
-
* @public
|
|
3402
|
-
*/
|
|
3403
|
-
export interface SearchMessageHit {
|
|
3404
|
-
channelId: string;
|
|
3405
|
-
/**
|
|
3406
|
-
* Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
|
|
3407
|
-
* @public
|
|
3408
|
-
*/
|
|
3409
|
-
message: Message;
|
|
3410
|
-
/**
|
|
3411
|
-
* Highlighted fragments from the matched message text or attachment names.
|
|
3412
|
-
* @public
|
|
3413
|
-
*/
|
|
3414
|
-
highlights?: (string)[] | undefined;
|
|
3415
|
-
}
|
|
3416
|
-
/**
|
|
3417
|
-
* @public
|
|
3418
|
-
* @enum
|
|
3419
|
-
*/
|
|
3420
|
-
export declare const SearchSort: {
|
|
3421
|
-
readonly RECENCY: "recency";
|
|
3422
|
-
readonly RECENCY_ASC: "recency_asc";
|
|
3423
|
-
readonly RELEVANCE: "relevance";
|
|
3424
|
-
};
|
|
3425
|
-
/**
|
|
3426
|
-
* @public
|
|
3427
|
-
*/
|
|
3428
|
-
export type SearchSort = typeof SearchSort[keyof typeof SearchSort];
|
|
3429
|
-
/**
|
|
3430
|
-
* @public
|
|
3431
|
-
*/
|
|
3432
|
-
export interface SearchMessagesInput {
|
|
3433
|
-
/**
|
|
3434
|
-
* The unique identifier of the tenant when a service token is used.
|
|
3435
|
-
* @public
|
|
3436
|
-
*/
|
|
3437
|
-
companyId?: string | undefined;
|
|
3438
|
-
/**
|
|
3439
|
-
* The unique identifier of the user when a service or PBX token is used.
|
|
3440
|
-
* @public
|
|
3441
|
-
*/
|
|
3442
|
-
userId?: string | undefined;
|
|
3443
|
-
/**
|
|
3444
|
-
* Search text.
|
|
3445
|
-
* @public
|
|
3446
|
-
*/
|
|
3447
|
-
q: string;
|
|
3448
|
-
/**
|
|
3449
|
-
* When set, restricts the search to this channel (in-channel search).
|
|
3450
|
-
* @public
|
|
3451
|
-
*/
|
|
3452
|
-
channelId?: string | undefined;
|
|
3453
|
-
/**
|
|
3454
|
-
* Page size. Default 20, max 50.
|
|
3455
|
-
* @public
|
|
3456
|
-
*/
|
|
3457
|
-
size?: number | undefined;
|
|
3458
|
-
/**
|
|
3459
|
-
* Opaque continuation token from the previous response.
|
|
3460
|
-
* @public
|
|
3461
|
-
*/
|
|
3462
|
-
cursor?: string | undefined;
|
|
3463
|
-
/**
|
|
3464
|
-
* Result ordering. `relevance` (default), `recency` (newest first), or `recency_asc` (oldest first).
|
|
3465
|
-
* @public
|
|
3466
|
-
*/
|
|
3467
|
-
sort?: SearchSort | undefined;
|
|
3468
|
-
}
|
|
3469
|
-
/**
|
|
3470
|
-
* @public
|
|
3471
|
-
*/
|
|
3472
|
-
export interface SearchMessagesOutput {
|
|
3473
|
-
/**
|
|
3474
|
-
* Matching messages, access-filtered and ordered by the requested sort.
|
|
3475
|
-
* @public
|
|
3476
|
-
*/
|
|
3477
|
-
results: (SearchMessageHit)[];
|
|
3478
|
-
/**
|
|
3479
|
-
* Total OpenSearch hit count before the visibility post-filter; approximate.
|
|
3480
|
-
* @public
|
|
3481
|
-
*/
|
|
3482
|
-
totalCount?: number | undefined;
|
|
3483
|
-
/**
|
|
3484
|
-
* Cursor for the next page. Absent when there are no more pages.
|
|
3485
|
-
* @public
|
|
3486
|
-
*/
|
|
3487
|
-
nextCursor?: string | undefined;
|
|
3488
|
-
}
|
|
3489
2886
|
/**
|
|
3490
2887
|
* @public
|
|
3491
2888
|
*/
|
|
@@ -3511,7 +2908,7 @@ export interface SendGiphyInput {
|
|
|
3511
2908
|
* Direct `@user` ids.
|
|
3512
2909
|
* @public
|
|
3513
2910
|
*/
|
|
3514
|
-
mentions?:
|
|
2911
|
+
mentions?: string[] | undefined;
|
|
3515
2912
|
/**
|
|
3516
2913
|
* Reply context referencing a quoted message.
|
|
3517
2914
|
* @public
|
|
@@ -3556,12 +2953,12 @@ export interface SendMessageInput {
|
|
|
3556
2953
|
* Structured rich content blocks.
|
|
3557
2954
|
* @public
|
|
3558
2955
|
*/
|
|
3559
|
-
elements?:
|
|
2956
|
+
elements?: Element[] | undefined;
|
|
3560
2957
|
/**
|
|
3561
2958
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
3562
2959
|
* @public
|
|
3563
2960
|
*/
|
|
3564
|
-
attachments?:
|
|
2961
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
3565
2962
|
/**
|
|
3566
2963
|
* Reply context referencing a quoted message.
|
|
3567
2964
|
* @public
|
|
@@ -3603,7 +3000,7 @@ export interface SendMessageInput {
|
|
|
3603
3000
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
3604
3001
|
* @public
|
|
3605
3002
|
*/
|
|
3606
|
-
mentions?:
|
|
3003
|
+
mentions?: string[] | undefined;
|
|
3607
3004
|
channelId: string;
|
|
3608
3005
|
/**
|
|
3609
3006
|
* Rendering hint for the message.
|
|
@@ -3694,12 +3091,15 @@ export declare namespace SystemMessage {
|
|
|
3694
3091
|
multipleMembersJoined?: never;
|
|
3695
3092
|
$unknown: [string, any];
|
|
3696
3093
|
}
|
|
3094
|
+
/**
|
|
3095
|
+
* @deprecated unused in schema-serde mode.
|
|
3096
|
+
*
|
|
3097
|
+
*/
|
|
3697
3098
|
interface Visitor<T> {
|
|
3698
3099
|
whatsAppClosed: (value: WhatsAppClosedSystemMessage) => T;
|
|
3699
3100
|
multipleMembersJoined: (value: MultipleMembersJoinedSystemMessage) => T;
|
|
3700
3101
|
_: (name: string, value: any) => T;
|
|
3701
3102
|
}
|
|
3702
|
-
const visit: <T>(value: SystemMessage, visitor: Visitor<T>) => T;
|
|
3703
3103
|
}
|
|
3704
3104
|
/**
|
|
3705
3105
|
* @public
|
|
@@ -4002,12 +3402,12 @@ export interface UpdateMessageInput {
|
|
|
4002
3402
|
* Structured rich content blocks.
|
|
4003
3403
|
* @public
|
|
4004
3404
|
*/
|
|
4005
|
-
elements?:
|
|
3405
|
+
elements?: Element[] | undefined;
|
|
4006
3406
|
/**
|
|
4007
3407
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
4008
3408
|
* @public
|
|
4009
3409
|
*/
|
|
4010
|
-
attachments?:
|
|
3410
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
4011
3411
|
/**
|
|
4012
3412
|
* Reply context referencing a quoted message.
|
|
4013
3413
|
* @public
|
|
@@ -4027,7 +3427,7 @@ export interface UpdateMessageInput {
|
|
|
4027
3427
|
* Direct `@user` ids.
|
|
4028
3428
|
* @public
|
|
4029
3429
|
*/
|
|
4030
|
-
mentions?:
|
|
3430
|
+
mentions?: string[] | undefined;
|
|
4031
3431
|
/**
|
|
4032
3432
|
* Mark as a WhatsApp message. The server may infer this from the channel type.
|
|
4033
3433
|
* @public
|