@wildix/stream-client 0.0.13 → 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 +12 -7
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -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 +12 -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 +12 -7
- package/dist-types/commands/GetMessageCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -7
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +12 -7
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +12 -7
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +12 -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 +12 -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 +12 -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 +12 -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 +12 -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 +12 -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 +74 -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 -159
- 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
|
|
@@ -562,23 +376,17 @@ export interface LastMessagePreview {
|
|
|
562
376
|
* @public
|
|
563
377
|
*/
|
|
564
378
|
text?: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* System event identifier for client rendering.
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
event?: string | undefined;
|
|
565
384
|
/**
|
|
566
385
|
* Creation timestamp of the message.
|
|
567
386
|
* @public
|
|
568
387
|
*/
|
|
569
388
|
createdAt: string;
|
|
570
389
|
}
|
|
571
|
-
/**
|
|
572
|
-
* @public
|
|
573
|
-
* @enum
|
|
574
|
-
*/
|
|
575
|
-
export declare const ChannelWhatsAppStatus: {
|
|
576
|
-
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
577
|
-
};
|
|
578
|
-
/**
|
|
579
|
-
* @public
|
|
580
|
-
*/
|
|
581
|
-
export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
|
|
582
390
|
/**
|
|
583
391
|
* @public
|
|
584
392
|
*/
|
|
@@ -712,17 +520,6 @@ export interface Channel {
|
|
|
712
520
|
*/
|
|
713
521
|
wizyGuestViewOnly?: boolean | undefined;
|
|
714
522
|
}
|
|
715
|
-
/**
|
|
716
|
-
* @public
|
|
717
|
-
*/
|
|
718
|
-
export declare class ChannelAlreadyExistException extends __BaseException {
|
|
719
|
-
readonly name: "ChannelAlreadyExistException";
|
|
720
|
-
readonly $fault: "client";
|
|
721
|
-
/**
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
724
|
-
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
725
|
-
}
|
|
726
523
|
/**
|
|
727
524
|
* Read pointer for one channel member.
|
|
728
525
|
* @public
|
|
@@ -740,43 +537,13 @@ export interface ChannelMemberReadStatus {
|
|
|
740
537
|
*/
|
|
741
538
|
lastReadVisibleSeq?: number | undefined;
|
|
742
539
|
}
|
|
743
|
-
/**
|
|
744
|
-
* @public
|
|
745
|
-
* @enum
|
|
746
|
-
*/
|
|
747
|
-
export declare const ChannelsFilter: {
|
|
748
|
-
/**
|
|
749
|
-
* Archived (hidden) channels.
|
|
750
|
-
*/
|
|
751
|
-
readonly ARCHIVED: "archived";
|
|
752
|
-
/**
|
|
753
|
-
* Non-archived channels with at least one unread message.
|
|
754
|
-
*/
|
|
755
|
-
readonly UNREAD: "unread";
|
|
756
|
-
};
|
|
757
|
-
/**
|
|
758
|
-
* @public
|
|
759
|
-
*/
|
|
760
|
-
export type ChannelsFilter = typeof ChannelsFilter[keyof typeof ChannelsFilter];
|
|
761
540
|
/**
|
|
762
541
|
* Batch channel lookup query.
|
|
763
542
|
* @public
|
|
764
543
|
*/
|
|
765
544
|
export interface ChannelsQuery {
|
|
766
|
-
ids?:
|
|
545
|
+
ids?: string[] | undefined;
|
|
767
546
|
}
|
|
768
|
-
/**
|
|
769
|
-
* @public
|
|
770
|
-
* @enum
|
|
771
|
-
*/
|
|
772
|
-
export declare const GroupChannelCreationEventType: {
|
|
773
|
-
readonly CONVERSATION_CREATED: "conversation_created";
|
|
774
|
-
readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
|
|
775
|
-
};
|
|
776
|
-
/**
|
|
777
|
-
* @public
|
|
778
|
-
*/
|
|
779
|
-
export type GroupChannelCreationEventType = typeof GroupChannelCreationEventType[keyof typeof GroupChannelCreationEventType];
|
|
780
547
|
/**
|
|
781
548
|
* @public
|
|
782
549
|
*/
|
|
@@ -877,12 +644,12 @@ export interface CreateGroupChannelInput {
|
|
|
877
644
|
* Existing users to add as members.
|
|
878
645
|
* @public
|
|
879
646
|
*/
|
|
880
|
-
members?:
|
|
647
|
+
members?: string[] | undefined;
|
|
881
648
|
/**
|
|
882
649
|
* Users to invite by email or phone.
|
|
883
650
|
* @public
|
|
884
651
|
*/
|
|
885
|
-
membersToInvite?:
|
|
652
|
+
membersToInvite?: UserToInvite[] | undefined;
|
|
886
653
|
/**
|
|
887
654
|
* System event emitted when a group channel is created.
|
|
888
655
|
* @public
|
|
@@ -957,7 +724,7 @@ export declare namespace Element {
|
|
|
957
724
|
}
|
|
958
725
|
interface ActionsMember {
|
|
959
726
|
template?: never;
|
|
960
|
-
actions:
|
|
727
|
+
actions: ActionElement[];
|
|
961
728
|
$unknown?: never;
|
|
962
729
|
}
|
|
963
730
|
/**
|
|
@@ -968,12 +735,15 @@ export declare namespace Element {
|
|
|
968
735
|
actions?: never;
|
|
969
736
|
$unknown: [string, any];
|
|
970
737
|
}
|
|
738
|
+
/**
|
|
739
|
+
* @deprecated unused in schema-serde mode.
|
|
740
|
+
*
|
|
741
|
+
*/
|
|
971
742
|
interface Visitor<T> {
|
|
972
743
|
template: (value: MessageTemplateConfig) => T;
|
|
973
|
-
actions: (value:
|
|
744
|
+
actions: (value: ActionElement[]) => T;
|
|
974
745
|
_: (name: string, value: any) => T;
|
|
975
746
|
}
|
|
976
|
-
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
977
747
|
}
|
|
978
748
|
/**
|
|
979
749
|
* Forward reference supplied by the client. The server resolves the original author and snapshot fields at write time.
|
|
@@ -991,34 +761,6 @@ export interface MessageQuoteRef {
|
|
|
991
761
|
channelId: string;
|
|
992
762
|
messageId: string;
|
|
993
763
|
}
|
|
994
|
-
/**
|
|
995
|
-
* @public
|
|
996
|
-
* @enum
|
|
997
|
-
*/
|
|
998
|
-
export declare const MessageSmsStatus: {
|
|
999
|
-
readonly DELIVERED: "delivered";
|
|
1000
|
-
readonly ERROR: "error";
|
|
1001
|
-
readonly SENT: "sent";
|
|
1002
|
-
readonly TRYING: "trying";
|
|
1003
|
-
};
|
|
1004
|
-
/**
|
|
1005
|
-
* @public
|
|
1006
|
-
*/
|
|
1007
|
-
export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
|
|
1008
|
-
/**
|
|
1009
|
-
* @public
|
|
1010
|
-
* @enum
|
|
1011
|
-
*/
|
|
1012
|
-
export declare const MessageWhatsAppStatus: {
|
|
1013
|
-
readonly DELIVERED: "delivered";
|
|
1014
|
-
readonly ERROR: "error";
|
|
1015
|
-
readonly SENT: "sent";
|
|
1016
|
-
readonly TRYING: "trying";
|
|
1017
|
-
};
|
|
1018
|
-
/**
|
|
1019
|
-
* @public
|
|
1020
|
-
*/
|
|
1021
|
-
export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
|
|
1022
764
|
/**
|
|
1023
765
|
* Initial user message seeded during channel creation.
|
|
1024
766
|
* @public
|
|
@@ -1033,12 +775,12 @@ export interface InitialMessage {
|
|
|
1033
775
|
* Structured rich content blocks.
|
|
1034
776
|
* @public
|
|
1035
777
|
*/
|
|
1036
|
-
elements?:
|
|
778
|
+
elements?: Element[] | undefined;
|
|
1037
779
|
/**
|
|
1038
780
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
1039
781
|
* @public
|
|
1040
782
|
*/
|
|
1041
|
-
attachments?:
|
|
783
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
1042
784
|
/**
|
|
1043
785
|
* Reply context referencing a quoted message.
|
|
1044
786
|
* @public
|
|
@@ -1080,7 +822,7 @@ export interface InitialMessage {
|
|
|
1080
822
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
1081
823
|
* @public
|
|
1082
824
|
*/
|
|
1083
|
-
mentions?:
|
|
825
|
+
mentions?: string[] | undefined;
|
|
1084
826
|
}
|
|
1085
827
|
/**
|
|
1086
828
|
* Welcome message seeded during channel creation.
|
|
@@ -1096,12 +838,12 @@ export interface WelcomeMessage {
|
|
|
1096
838
|
* Structured rich content blocks.
|
|
1097
839
|
* @public
|
|
1098
840
|
*/
|
|
1099
|
-
elements?:
|
|
841
|
+
elements?: Element[] | undefined;
|
|
1100
842
|
/**
|
|
1101
843
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
1102
844
|
* @public
|
|
1103
845
|
*/
|
|
1104
|
-
attachments?:
|
|
846
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
1105
847
|
/**
|
|
1106
848
|
* Reply context referencing a quoted message.
|
|
1107
849
|
* @public
|
|
@@ -1143,7 +885,7 @@ export interface WelcomeMessage {
|
|
|
1143
885
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
1144
886
|
* @public
|
|
1145
887
|
*/
|
|
1146
|
-
mentions?:
|
|
888
|
+
mentions?: string[] | undefined;
|
|
1147
889
|
userId: string;
|
|
1148
890
|
}
|
|
1149
891
|
/**
|
|
@@ -1167,7 +909,7 @@ export interface CreateKiteChannelInput {
|
|
|
1167
909
|
*/
|
|
1168
910
|
targetId: string;
|
|
1169
911
|
targetRouteId?: string | undefined;
|
|
1170
|
-
welcomeMessages?:
|
|
912
|
+
welcomeMessages?: WelcomeMessage[] | undefined;
|
|
1171
913
|
/**
|
|
1172
914
|
* Initial user message seeded during channel creation.
|
|
1173
915
|
* @public
|
|
@@ -1180,40 +922,6 @@ export interface CreateKiteChannelInput {
|
|
|
1180
922
|
export interface CreateKiteChannelOutput {
|
|
1181
923
|
channel: Channel;
|
|
1182
924
|
}
|
|
1183
|
-
/**
|
|
1184
|
-
* @public
|
|
1185
|
-
* @enum
|
|
1186
|
-
*/
|
|
1187
|
-
export declare const TargetNotEligibleReason: {
|
|
1188
|
-
readonly NO_LICENSE: "no_license";
|
|
1189
|
-
};
|
|
1190
|
-
/**
|
|
1191
|
-
* @public
|
|
1192
|
-
*/
|
|
1193
|
-
export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
|
|
1194
|
-
/**
|
|
1195
|
-
* @public
|
|
1196
|
-
*/
|
|
1197
|
-
export declare class TargetNotEligibleException extends __BaseException {
|
|
1198
|
-
readonly name: "TargetNotEligibleException";
|
|
1199
|
-
readonly $fault: "client";
|
|
1200
|
-
reason?: TargetNotEligibleReason | undefined;
|
|
1201
|
-
/**
|
|
1202
|
-
* @internal
|
|
1203
|
-
*/
|
|
1204
|
-
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
1205
|
-
}
|
|
1206
|
-
/**
|
|
1207
|
-
* @public
|
|
1208
|
-
*/
|
|
1209
|
-
export declare class TargetNotFoundException extends __BaseException {
|
|
1210
|
-
readonly name: "TargetNotFoundException";
|
|
1211
|
-
readonly $fault: "client";
|
|
1212
|
-
/**
|
|
1213
|
-
* @internal
|
|
1214
|
-
*/
|
|
1215
|
-
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
1216
|
-
}
|
|
1217
925
|
/**
|
|
1218
926
|
* @public
|
|
1219
927
|
*/
|
|
@@ -1235,24 +943,6 @@ export interface CreateSectionInput {
|
|
|
1235
943
|
sectionId: string;
|
|
1236
944
|
name: string;
|
|
1237
945
|
}
|
|
1238
|
-
/**
|
|
1239
|
-
* @public
|
|
1240
|
-
* @enum
|
|
1241
|
-
*/
|
|
1242
|
-
export declare const SectionType: {
|
|
1243
|
-
/**
|
|
1244
|
-
* Custom section created by the user.
|
|
1245
|
-
*/
|
|
1246
|
-
readonly CUSTOM: "custom";
|
|
1247
|
-
/**
|
|
1248
|
-
* System section maintained by the backend.
|
|
1249
|
-
*/
|
|
1250
|
-
readonly SYSTEM: "system";
|
|
1251
|
-
};
|
|
1252
|
-
/**
|
|
1253
|
-
* @public
|
|
1254
|
-
*/
|
|
1255
|
-
export type SectionType = typeof SectionType[keyof typeof SectionType];
|
|
1256
946
|
/**
|
|
1257
947
|
* Inbox section with metadata, channel count, and unread counters.
|
|
1258
948
|
* @public
|
|
@@ -1353,17 +1043,6 @@ export interface DeleteChannelMemberInput {
|
|
|
1353
1043
|
*/
|
|
1354
1044
|
export interface DeleteChannelMemberOutput {
|
|
1355
1045
|
}
|
|
1356
|
-
/**
|
|
1357
|
-
* @public
|
|
1358
|
-
*/
|
|
1359
|
-
export declare class MemberNotFoundException extends __BaseException {
|
|
1360
|
-
readonly name: "MemberNotFoundException";
|
|
1361
|
-
readonly $fault: "client";
|
|
1362
|
-
/**
|
|
1363
|
-
* @internal
|
|
1364
|
-
*/
|
|
1365
|
-
constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
|
|
1366
|
-
}
|
|
1367
1046
|
/**
|
|
1368
1047
|
* @public
|
|
1369
1048
|
*/
|
|
@@ -1386,17 +1065,6 @@ export interface DeleteMessageInput {
|
|
|
1386
1065
|
*/
|
|
1387
1066
|
export interface DeleteMessageOutput {
|
|
1388
1067
|
}
|
|
1389
|
-
/**
|
|
1390
|
-
* @public
|
|
1391
|
-
*/
|
|
1392
|
-
export declare class MessageNotFoundException extends __BaseException {
|
|
1393
|
-
readonly name: "MessageNotFoundException";
|
|
1394
|
-
readonly $fault: "client";
|
|
1395
|
-
/**
|
|
1396
|
-
* @internal
|
|
1397
|
-
*/
|
|
1398
|
-
constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
|
|
1399
|
-
}
|
|
1400
1068
|
/**
|
|
1401
1069
|
* @public
|
|
1402
1070
|
*/
|
|
@@ -1567,12 +1235,12 @@ export interface Message {
|
|
|
1567
1235
|
* Attached files.
|
|
1568
1236
|
* @public
|
|
1569
1237
|
*/
|
|
1570
|
-
attachments:
|
|
1238
|
+
attachments: MessageAttachment[];
|
|
1571
1239
|
/**
|
|
1572
1240
|
* Users directly mentioned in the message.
|
|
1573
1241
|
* @public
|
|
1574
1242
|
*/
|
|
1575
|
-
mentions:
|
|
1243
|
+
mentions: string[];
|
|
1576
1244
|
/**
|
|
1577
1245
|
* Quoted message reference.
|
|
1578
1246
|
* @public
|
|
@@ -1592,7 +1260,7 @@ export interface Message {
|
|
|
1592
1260
|
* Most recent reactions per type. Fetch the full list on demand.
|
|
1593
1261
|
* @public
|
|
1594
1262
|
*/
|
|
1595
|
-
latestReactions?:
|
|
1263
|
+
latestReactions?: Reaction[] | undefined;
|
|
1596
1264
|
/**
|
|
1597
1265
|
* True when the message is currently pinned at channel scope.
|
|
1598
1266
|
* @public
|
|
@@ -1648,7 +1316,7 @@ export interface Message {
|
|
|
1648
1316
|
* @public
|
|
1649
1317
|
*/
|
|
1650
1318
|
deletedAt?: string | undefined;
|
|
1651
|
-
elements?:
|
|
1319
|
+
elements?: Element[] | undefined;
|
|
1652
1320
|
whatsapp?: boolean | undefined;
|
|
1653
1321
|
whatsappStatus?: MessageWhatsAppStatus | undefined;
|
|
1654
1322
|
sms?: boolean | undefined;
|
|
@@ -1697,54 +1365,6 @@ export interface DeleteSectionInput {
|
|
|
1697
1365
|
*/
|
|
1698
1366
|
export interface DeleteSectionOutput {
|
|
1699
1367
|
}
|
|
1700
|
-
/**
|
|
1701
|
-
* @public
|
|
1702
|
-
*/
|
|
1703
|
-
export declare class SectionNotFoundException extends __BaseException {
|
|
1704
|
-
readonly name: "SectionNotFoundException";
|
|
1705
|
-
readonly $fault: "client";
|
|
1706
|
-
/**
|
|
1707
|
-
* @internal
|
|
1708
|
-
*/
|
|
1709
|
-
constructor(opts: __ExceptionOptionType<SectionNotFoundException, __BaseException>);
|
|
1710
|
-
}
|
|
1711
|
-
export declare enum DownloadStrategy {
|
|
1712
|
-
DEFAULT = 0,
|
|
1713
|
-
DOWNLOAD = 1
|
|
1714
|
-
}
|
|
1715
|
-
/**
|
|
1716
|
-
* @public
|
|
1717
|
-
* @enum
|
|
1718
|
-
*/
|
|
1719
|
-
export declare const FileCategory: {
|
|
1720
|
-
/**
|
|
1721
|
-
* Channel-attached files. Default.
|
|
1722
|
-
*/
|
|
1723
|
-
readonly GENERAL: "channels";
|
|
1724
|
-
/**
|
|
1725
|
-
* Conference recordings.
|
|
1726
|
-
*/
|
|
1727
|
-
readonly RECORDING: "recordings";
|
|
1728
|
-
/**
|
|
1729
|
-
* Wizy conference recordings.
|
|
1730
|
-
*/
|
|
1731
|
-
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
1732
|
-
};
|
|
1733
|
-
/**
|
|
1734
|
-
* @public
|
|
1735
|
-
*/
|
|
1736
|
-
export type FileCategory = typeof FileCategory[keyof typeof FileCategory];
|
|
1737
|
-
/**
|
|
1738
|
-
* @public
|
|
1739
|
-
*/
|
|
1740
|
-
export declare class FileNotFoundException extends __BaseException {
|
|
1741
|
-
readonly name: "FileNotFoundException";
|
|
1742
|
-
readonly $fault: "client";
|
|
1743
|
-
/**
|
|
1744
|
-
* @internal
|
|
1745
|
-
*/
|
|
1746
|
-
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
1747
|
-
}
|
|
1748
1368
|
/**
|
|
1749
1369
|
* @public
|
|
1750
1370
|
*/
|
|
@@ -1887,7 +1507,7 @@ export interface InboxState {
|
|
|
1887
1507
|
* Sections that include this channel.
|
|
1888
1508
|
* @public
|
|
1889
1509
|
*/
|
|
1890
|
-
sectionIds:
|
|
1510
|
+
sectionIds: string[];
|
|
1891
1511
|
/**
|
|
1892
1512
|
* Number of unread visible messages.
|
|
1893
1513
|
* @public
|
|
@@ -2081,12 +1701,12 @@ export interface GetInboxOutput {
|
|
|
2081
1701
|
* Recent channels with per-user state and last-message preview.
|
|
2082
1702
|
* @public
|
|
2083
1703
|
*/
|
|
2084
|
-
channels:
|
|
1704
|
+
channels: InboxChannel[];
|
|
2085
1705
|
/**
|
|
2086
1706
|
* Inbox sections with channel counts and unread counters.
|
|
2087
1707
|
* @public
|
|
2088
1708
|
*/
|
|
2089
|
-
sections:
|
|
1709
|
+
sections: Section[];
|
|
2090
1710
|
}
|
|
2091
1711
|
/**
|
|
2092
1712
|
* @public
|
|
@@ -2472,33 +2092,6 @@ export interface GetWhatsAppChannelIdInput {
|
|
|
2472
2092
|
export interface GetWhatsAppChannelIdOutput {
|
|
2473
2093
|
channelId: string;
|
|
2474
2094
|
}
|
|
2475
|
-
/**
|
|
2476
|
-
* @public
|
|
2477
|
-
* @enum
|
|
2478
|
-
*/
|
|
2479
|
-
export declare const GroupChannelUnsetOptions: {
|
|
2480
|
-
readonly ACCESS: "access";
|
|
2481
|
-
readonly ASSIGNEE: "assignee";
|
|
2482
|
-
readonly BROADCAST: "broadcast";
|
|
2483
|
-
readonly CONTEXT: "context";
|
|
2484
|
-
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2485
|
-
readonly CONTEXT_PTT: "contextPtt";
|
|
2486
|
-
readonly DESCRIPTION: "description";
|
|
2487
|
-
readonly KITE_ASSIGN: "kiteAssign";
|
|
2488
|
-
readonly MMS: "mms";
|
|
2489
|
-
readonly PICTURE: "picture";
|
|
2490
|
-
readonly PICTURE_COLOR: "pictureColor";
|
|
2491
|
-
readonly SERVICE: "service";
|
|
2492
|
-
readonly SERVICE_TITLE: "serviceTitle";
|
|
2493
|
-
readonly SMS: "sms";
|
|
2494
|
-
readonly SUBJECT: "subject";
|
|
2495
|
-
readonly WHATSAPP: "whatsapp";
|
|
2496
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2497
|
-
};
|
|
2498
|
-
/**
|
|
2499
|
-
* @public
|
|
2500
|
-
*/
|
|
2501
|
-
export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typeof GroupChannelUnsetOptions];
|
|
2502
2095
|
/**
|
|
2503
2096
|
* @public
|
|
2504
2097
|
*/
|
|
@@ -2587,7 +2180,7 @@ export interface ListChannelMembersInput {
|
|
|
2587
2180
|
* @public
|
|
2588
2181
|
*/
|
|
2589
2182
|
export interface ListChannelMembersOutput {
|
|
2590
|
-
members:
|
|
2183
|
+
members: ChannelMember[];
|
|
2591
2184
|
}
|
|
2592
2185
|
/**
|
|
2593
2186
|
* @public
|
|
@@ -2609,7 +2202,7 @@ export interface ListChannelMembersReadStatusInput {
|
|
|
2609
2202
|
* @public
|
|
2610
2203
|
*/
|
|
2611
2204
|
export interface ListChannelMembersReadStatusOutput {
|
|
2612
|
-
members:
|
|
2205
|
+
members: ChannelMemberReadStatus[];
|
|
2613
2206
|
}
|
|
2614
2207
|
/**
|
|
2615
2208
|
* @public
|
|
@@ -2649,27 +2242,13 @@ export interface ListChannelsOutput {
|
|
|
2649
2242
|
* Ordered page of channels for the requested section.
|
|
2650
2243
|
* @public
|
|
2651
2244
|
*/
|
|
2652
|
-
channels:
|
|
2245
|
+
channels: InboxChannel[];
|
|
2653
2246
|
/**
|
|
2654
2247
|
* Cursor for the next page. Absent when there are no more pages.
|
|
2655
2248
|
* @public
|
|
2656
2249
|
*/
|
|
2657
2250
|
nextCursor?: string | undefined;
|
|
2658
2251
|
}
|
|
2659
|
-
/**
|
|
2660
|
-
* @public
|
|
2661
|
-
* @enum
|
|
2662
|
-
*/
|
|
2663
|
-
export declare const MentionsFilter: {
|
|
2664
|
-
/**
|
|
2665
|
-
* Unread mentions only.
|
|
2666
|
-
*/
|
|
2667
|
-
readonly UNREAD: "unread";
|
|
2668
|
-
};
|
|
2669
|
-
/**
|
|
2670
|
-
* @public
|
|
2671
|
-
*/
|
|
2672
|
-
export type MentionsFilter = typeof MentionsFilter[keyof typeof MentionsFilter];
|
|
2673
2252
|
/**
|
|
2674
2253
|
* @public
|
|
2675
2254
|
*/
|
|
@@ -2783,7 +2362,7 @@ export interface ListMentionsOutput {
|
|
|
2783
2362
|
* Mentions ordered by most recent `mentionAddedAt` first.
|
|
2784
2363
|
* @public
|
|
2785
2364
|
*/
|
|
2786
|
-
mentions:
|
|
2365
|
+
mentions: MentionEntry[];
|
|
2787
2366
|
/**
|
|
2788
2367
|
* Cursor for the next page. Absent when there are no more pages.
|
|
2789
2368
|
* @public
|
|
@@ -2824,7 +2403,7 @@ export interface ListMessagesOutput {
|
|
|
2824
2403
|
* Messages ordered newest-first by `timelineSeq`.
|
|
2825
2404
|
* @public
|
|
2826
2405
|
*/
|
|
2827
|
-
messages:
|
|
2406
|
+
messages: Message[];
|
|
2828
2407
|
}
|
|
2829
2408
|
/**
|
|
2830
2409
|
* @public
|
|
@@ -2857,17 +2436,6 @@ export interface MarkReadOutput {
|
|
|
2857
2436
|
*/
|
|
2858
2437
|
inbox: InboxState;
|
|
2859
2438
|
}
|
|
2860
|
-
/**
|
|
2861
|
-
* @public
|
|
2862
|
-
*/
|
|
2863
|
-
export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
2864
|
-
readonly name: "MarkUnreadChannelsLimitReachedException";
|
|
2865
|
-
readonly $fault: "client";
|
|
2866
|
-
/**
|
|
2867
|
-
* @internal
|
|
2868
|
-
*/
|
|
2869
|
-
constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
|
|
2870
|
-
}
|
|
2871
2439
|
/**
|
|
2872
2440
|
* @public
|
|
2873
2441
|
*/
|
|
@@ -2909,27 +2477,6 @@ export interface MarkUnreadOutput {
|
|
|
2909
2477
|
*/
|
|
2910
2478
|
inbox: InboxState;
|
|
2911
2479
|
}
|
|
2912
|
-
/**
|
|
2913
|
-
* @public
|
|
2914
|
-
* @enum
|
|
2915
|
-
*/
|
|
2916
|
-
export declare const MessageUnsetFields: {
|
|
2917
|
-
readonly ATTACHMENTS: "attachments";
|
|
2918
|
-
readonly ELEMENTS: "elements";
|
|
2919
|
-
readonly FORWARD: "forward";
|
|
2920
|
-
readonly MARKDOWN: "markdown";
|
|
2921
|
-
readonly MENTIONS: "mentions";
|
|
2922
|
-
readonly QUOTE: "quote";
|
|
2923
|
-
readonly SMS: "sms";
|
|
2924
|
-
readonly SMS_STATUS: "smsStatus";
|
|
2925
|
-
readonly TEXT: "text";
|
|
2926
|
-
readonly WHATSAPP: "whatsapp";
|
|
2927
|
-
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2928
|
-
};
|
|
2929
|
-
/**
|
|
2930
|
-
* @public
|
|
2931
|
-
*/
|
|
2932
|
-
export type MessageUnsetFields = typeof MessageUnsetFields[keyof typeof MessageUnsetFields];
|
|
2933
2480
|
/**
|
|
2934
2481
|
* @public
|
|
2935
2482
|
*/
|
|
@@ -2966,7 +2513,7 @@ export interface MoveChannelToSectionOutput {
|
|
|
2966
2513
|
* @public
|
|
2967
2514
|
*/
|
|
2968
2515
|
export interface MultipleMembersJoinedSystemMessage {
|
|
2969
|
-
addedMembers:
|
|
2516
|
+
addedMembers: string[];
|
|
2970
2517
|
}
|
|
2971
2518
|
/**
|
|
2972
2519
|
* @public
|
|
@@ -3098,7 +2645,7 @@ export interface PartialUpdateChannelInput {
|
|
|
3098
2645
|
channelId: string;
|
|
3099
2646
|
silent?: boolean | undefined;
|
|
3100
2647
|
set?: PartialUpdateChannelSetOptions | undefined;
|
|
3101
|
-
unset?:
|
|
2648
|
+
unset?: GroupChannelUnsetOptions[] | undefined;
|
|
3102
2649
|
}
|
|
3103
2650
|
/**
|
|
3104
2651
|
* @public
|
|
@@ -3119,12 +2666,12 @@ export interface PartialUpdateMessageSetInput {
|
|
|
3119
2666
|
* Structured rich content blocks.
|
|
3120
2667
|
* @public
|
|
3121
2668
|
*/
|
|
3122
|
-
elements?:
|
|
2669
|
+
elements?: Element[] | undefined;
|
|
3123
2670
|
/**
|
|
3124
2671
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
3125
2672
|
* @public
|
|
3126
2673
|
*/
|
|
3127
|
-
attachments?:
|
|
2674
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
3128
2675
|
/**
|
|
3129
2676
|
* Reply context referencing a quoted message.
|
|
3130
2677
|
* @public
|
|
@@ -3144,7 +2691,7 @@ export interface PartialUpdateMessageSetInput {
|
|
|
3144
2691
|
* Direct `@user` ids.
|
|
3145
2692
|
* @public
|
|
3146
2693
|
*/
|
|
3147
|
-
mentions?:
|
|
2694
|
+
mentions?: string[] | undefined;
|
|
3148
2695
|
/**
|
|
3149
2696
|
* Mark as a WhatsApp message. The server may infer this from the channel type.
|
|
3150
2697
|
* @public
|
|
@@ -3183,7 +2730,7 @@ export interface PartialUpdateMessageInput {
|
|
|
3183
2730
|
* Fields to clear during the partial update.
|
|
3184
2731
|
* @public
|
|
3185
2732
|
*/
|
|
3186
|
-
unset?:
|
|
2733
|
+
unset?: MessageUnsetFields[] | undefined;
|
|
3187
2734
|
/**
|
|
3188
2735
|
* Suppress the updated indicator for this edit.
|
|
3189
2736
|
* @public
|
|
@@ -3272,7 +2819,7 @@ export interface QueryChannelsInput {
|
|
|
3272
2819
|
* @public
|
|
3273
2820
|
*/
|
|
3274
2821
|
export interface QueryChannelsOutput {
|
|
3275
|
-
channels:
|
|
2822
|
+
channels: InboxChannel[];
|
|
3276
2823
|
}
|
|
3277
2824
|
/**
|
|
3278
2825
|
* @public
|
|
@@ -3336,151 +2883,6 @@ export interface RenameSectionOutput {
|
|
|
3336
2883
|
*/
|
|
3337
2884
|
section: Section;
|
|
3338
2885
|
}
|
|
3339
|
-
/**
|
|
3340
|
-
* @public
|
|
3341
|
-
*/
|
|
3342
|
-
export interface SearchChannelHit {
|
|
3343
|
-
channel: Channel;
|
|
3344
|
-
/**
|
|
3345
|
-
* Highlighted fragments from the matched channel subject or description.
|
|
3346
|
-
* @public
|
|
3347
|
-
*/
|
|
3348
|
-
highlights?: (string)[] | undefined;
|
|
3349
|
-
}
|
|
3350
|
-
/**
|
|
3351
|
-
* @public
|
|
3352
|
-
*/
|
|
3353
|
-
export interface SearchChannelsInput {
|
|
3354
|
-
/**
|
|
3355
|
-
* The unique identifier of the tenant when a service token is used.
|
|
3356
|
-
* @public
|
|
3357
|
-
*/
|
|
3358
|
-
companyId?: string | undefined;
|
|
3359
|
-
/**
|
|
3360
|
-
* The unique identifier of the user when a service or PBX token is used.
|
|
3361
|
-
* @public
|
|
3362
|
-
*/
|
|
3363
|
-
userId?: string | undefined;
|
|
3364
|
-
/**
|
|
3365
|
-
* Search text.
|
|
3366
|
-
* @public
|
|
3367
|
-
*/
|
|
3368
|
-
q: string;
|
|
3369
|
-
/**
|
|
3370
|
-
* Page size. Default 20, max 50.
|
|
3371
|
-
* @public
|
|
3372
|
-
*/
|
|
3373
|
-
size?: number | undefined;
|
|
3374
|
-
/**
|
|
3375
|
-
* Opaque continuation token from the previous response.
|
|
3376
|
-
* @public
|
|
3377
|
-
*/
|
|
3378
|
-
cursor?: string | undefined;
|
|
3379
|
-
}
|
|
3380
|
-
/**
|
|
3381
|
-
* @public
|
|
3382
|
-
*/
|
|
3383
|
-
export interface SearchChannelsOutput {
|
|
3384
|
-
/**
|
|
3385
|
-
* Matching channels ordered by relevance.
|
|
3386
|
-
* @public
|
|
3387
|
-
*/
|
|
3388
|
-
results: (SearchChannelHit)[];
|
|
3389
|
-
/**
|
|
3390
|
-
* Cursor for the next page. Absent when there are no more pages.
|
|
3391
|
-
* @public
|
|
3392
|
-
*/
|
|
3393
|
-
nextCursor?: string | undefined;
|
|
3394
|
-
}
|
|
3395
|
-
/**
|
|
3396
|
-
* @public
|
|
3397
|
-
*/
|
|
3398
|
-
export interface SearchMessageHit {
|
|
3399
|
-
channelId: string;
|
|
3400
|
-
/**
|
|
3401
|
-
* Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
|
|
3402
|
-
* @public
|
|
3403
|
-
*/
|
|
3404
|
-
message: Message;
|
|
3405
|
-
/**
|
|
3406
|
-
* Highlighted fragments from the matched message text or attachment names.
|
|
3407
|
-
* @public
|
|
3408
|
-
*/
|
|
3409
|
-
highlights?: (string)[] | undefined;
|
|
3410
|
-
}
|
|
3411
|
-
/**
|
|
3412
|
-
* @public
|
|
3413
|
-
* @enum
|
|
3414
|
-
*/
|
|
3415
|
-
export declare const SearchSort: {
|
|
3416
|
-
readonly RECENCY: "recency";
|
|
3417
|
-
readonly RECENCY_ASC: "recency_asc";
|
|
3418
|
-
readonly RELEVANCE: "relevance";
|
|
3419
|
-
};
|
|
3420
|
-
/**
|
|
3421
|
-
* @public
|
|
3422
|
-
*/
|
|
3423
|
-
export type SearchSort = typeof SearchSort[keyof typeof SearchSort];
|
|
3424
|
-
/**
|
|
3425
|
-
* @public
|
|
3426
|
-
*/
|
|
3427
|
-
export interface SearchMessagesInput {
|
|
3428
|
-
/**
|
|
3429
|
-
* The unique identifier of the tenant when a service token is used.
|
|
3430
|
-
* @public
|
|
3431
|
-
*/
|
|
3432
|
-
companyId?: string | undefined;
|
|
3433
|
-
/**
|
|
3434
|
-
* The unique identifier of the user when a service or PBX token is used.
|
|
3435
|
-
* @public
|
|
3436
|
-
*/
|
|
3437
|
-
userId?: string | undefined;
|
|
3438
|
-
/**
|
|
3439
|
-
* Search text.
|
|
3440
|
-
* @public
|
|
3441
|
-
*/
|
|
3442
|
-
q: string;
|
|
3443
|
-
/**
|
|
3444
|
-
* When set, restricts the search to this channel (in-channel search).
|
|
3445
|
-
* @public
|
|
3446
|
-
*/
|
|
3447
|
-
channelId?: string | undefined;
|
|
3448
|
-
/**
|
|
3449
|
-
* Page size. Default 20, max 50.
|
|
3450
|
-
* @public
|
|
3451
|
-
*/
|
|
3452
|
-
size?: number | undefined;
|
|
3453
|
-
/**
|
|
3454
|
-
* Opaque continuation token from the previous response.
|
|
3455
|
-
* @public
|
|
3456
|
-
*/
|
|
3457
|
-
cursor?: string | undefined;
|
|
3458
|
-
/**
|
|
3459
|
-
* Result ordering. `relevance` (default), `recency` (newest first), or `recency_asc` (oldest first).
|
|
3460
|
-
* @public
|
|
3461
|
-
*/
|
|
3462
|
-
sort?: SearchSort | undefined;
|
|
3463
|
-
}
|
|
3464
|
-
/**
|
|
3465
|
-
* @public
|
|
3466
|
-
*/
|
|
3467
|
-
export interface SearchMessagesOutput {
|
|
3468
|
-
/**
|
|
3469
|
-
* Matching messages, access-filtered and ordered by the requested sort.
|
|
3470
|
-
* @public
|
|
3471
|
-
*/
|
|
3472
|
-
results: (SearchMessageHit)[];
|
|
3473
|
-
/**
|
|
3474
|
-
* Total OpenSearch hit count before the visibility post-filter; approximate.
|
|
3475
|
-
* @public
|
|
3476
|
-
*/
|
|
3477
|
-
totalCount?: number | undefined;
|
|
3478
|
-
/**
|
|
3479
|
-
* Cursor for the next page. Absent when there are no more pages.
|
|
3480
|
-
* @public
|
|
3481
|
-
*/
|
|
3482
|
-
nextCursor?: string | undefined;
|
|
3483
|
-
}
|
|
3484
2886
|
/**
|
|
3485
2887
|
* @public
|
|
3486
2888
|
*/
|
|
@@ -3506,7 +2908,7 @@ export interface SendGiphyInput {
|
|
|
3506
2908
|
* Direct `@user` ids.
|
|
3507
2909
|
* @public
|
|
3508
2910
|
*/
|
|
3509
|
-
mentions?:
|
|
2911
|
+
mentions?: string[] | undefined;
|
|
3510
2912
|
/**
|
|
3511
2913
|
* Reply context referencing a quoted message.
|
|
3512
2914
|
* @public
|
|
@@ -3551,12 +2953,12 @@ export interface SendMessageInput {
|
|
|
3551
2953
|
* Structured rich content blocks.
|
|
3552
2954
|
* @public
|
|
3553
2955
|
*/
|
|
3554
|
-
elements?:
|
|
2956
|
+
elements?: Element[] | undefined;
|
|
3555
2957
|
/**
|
|
3556
2958
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
3557
2959
|
* @public
|
|
3558
2960
|
*/
|
|
3559
|
-
attachments?:
|
|
2961
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
3560
2962
|
/**
|
|
3561
2963
|
* Reply context referencing a quoted message.
|
|
3562
2964
|
* @public
|
|
@@ -3598,7 +3000,7 @@ export interface SendMessageInput {
|
|
|
3598
3000
|
* Direct `@user` ids. `@all`, `@here`, and `@channel` are not supported.
|
|
3599
3001
|
* @public
|
|
3600
3002
|
*/
|
|
3601
|
-
mentions?:
|
|
3003
|
+
mentions?: string[] | undefined;
|
|
3602
3004
|
channelId: string;
|
|
3603
3005
|
/**
|
|
3604
3006
|
* Rendering hint for the message.
|
|
@@ -3689,12 +3091,15 @@ export declare namespace SystemMessage {
|
|
|
3689
3091
|
multipleMembersJoined?: never;
|
|
3690
3092
|
$unknown: [string, any];
|
|
3691
3093
|
}
|
|
3094
|
+
/**
|
|
3095
|
+
* @deprecated unused in schema-serde mode.
|
|
3096
|
+
*
|
|
3097
|
+
*/
|
|
3692
3098
|
interface Visitor<T> {
|
|
3693
3099
|
whatsAppClosed: (value: WhatsAppClosedSystemMessage) => T;
|
|
3694
3100
|
multipleMembersJoined: (value: MultipleMembersJoinedSystemMessage) => T;
|
|
3695
3101
|
_: (name: string, value: any) => T;
|
|
3696
3102
|
}
|
|
3697
|
-
const visit: <T>(value: SystemMessage, visitor: Visitor<T>) => T;
|
|
3698
3103
|
}
|
|
3699
3104
|
/**
|
|
3700
3105
|
* @public
|
|
@@ -3997,12 +3402,12 @@ export interface UpdateMessageInput {
|
|
|
3997
3402
|
* Structured rich content blocks.
|
|
3998
3403
|
* @public
|
|
3999
3404
|
*/
|
|
4000
|
-
elements?:
|
|
3405
|
+
elements?: Element[] | undefined;
|
|
4001
3406
|
/**
|
|
4002
3407
|
* Pre-uploaded file references. Required unless `text` is provided.
|
|
4003
3408
|
* @public
|
|
4004
3409
|
*/
|
|
4005
|
-
attachments?:
|
|
3410
|
+
attachments?: MessageAttachmentRequest[] | undefined;
|
|
4006
3411
|
/**
|
|
4007
3412
|
* Reply context referencing a quoted message.
|
|
4008
3413
|
* @public
|
|
@@ -4022,7 +3427,7 @@ export interface UpdateMessageInput {
|
|
|
4022
3427
|
* Direct `@user` ids.
|
|
4023
3428
|
* @public
|
|
4024
3429
|
*/
|
|
4025
|
-
mentions?:
|
|
3430
|
+
mentions?: string[] | undefined;
|
|
4026
3431
|
/**
|
|
4027
3432
|
* Mark as a WhatsApp message. The server may infer this from the channel type.
|
|
4028
3433
|
* @public
|