@wildix/stream-client 4.3.0 → 4.4.0
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 +10 -0
- package/dist-cjs/commands/CreateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/DeleteScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/ListScheduledMessagesCommand.js +20 -0
- package/dist-cjs/commands/SendScheduledMessageNowCommand.js +20 -0
- package/dist-cjs/commands/UpdateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/enums.js +24 -1
- package/dist-cjs/models/errors.js +29 -1
- package/dist-cjs/schemas/schemas_0.js +171 -23
- package/dist-es/StreamService.js +10 -0
- package/dist-es/commands/CreateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/DeleteScheduledMessageCommand.js +16 -0
- package/dist-es/commands/ListScheduledMessagesCommand.js +16 -0
- package/dist-es/commands/SendScheduledMessageNowCommand.js +16 -0
- package/dist-es/commands/UpdateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/models/errors.js +26 -0
- package/dist-es/schemas/schemas_0.js +166 -18
- package/dist-types/StreamService.d.ts +36 -0
- package/dist-types/StreamServiceClient.d.ts +7 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +45 -0
- package/dist-types/commands/CreateScheduledMessageCommand.d.ts +147 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteScheduledMessageCommand.d.ts +89 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetInboxCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +22 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +22 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +22 -0
- package/dist-types/commands/ListScheduledMessagesCommand.d.ts +124 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/PinMessageCommand.d.ts +22 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +22 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +22 -0
- package/dist-types/commands/SendMessageCommand.d.ts +44 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/SendScheduledMessageNowCommand.d.ts +124 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +22 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +22 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/UpdateScheduledMessageCommand.d.ts +146 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +64 -0
- package/dist-types/models/errors.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +497 -92
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -4,11 +4,13 @@ import { type AddChannelMembersCommandInput, type AddChannelMembersCommandOutput
|
|
|
4
4
|
import { type AssignChannelCommandInput, type AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
|
|
5
5
|
import { type CreateGroupChannelCommandInput, type CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
6
6
|
import { type CreateKiteChannelCommandInput, type CreateKiteChannelCommandOutput } from "./commands/CreateKiteChannelCommand";
|
|
7
|
+
import { type CreateScheduledMessageCommandInput, type CreateScheduledMessageCommandOutput } from "./commands/CreateScheduledMessageCommand";
|
|
7
8
|
import { type CreateSectionCommandInput, type CreateSectionCommandOutput } from "./commands/CreateSectionCommand";
|
|
8
9
|
import { type DeleteChannelCommandInput, type DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
9
10
|
import { type DeleteChannelMemberCommandInput, type DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
10
11
|
import { type DeleteMessageCommandInput, type DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
11
12
|
import { type DeleteMessageReactionCommandInput, type DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
13
|
+
import { type DeleteScheduledMessageCommandInput, type DeleteScheduledMessageCommandOutput } from "./commands/DeleteScheduledMessageCommand";
|
|
12
14
|
import { type DeleteSectionCommandInput, type DeleteSectionCommandOutput } from "./commands/DeleteSectionCommand";
|
|
13
15
|
import { type GetChannelCommandInput, type GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
14
16
|
import { type GetChannelMemberCommandInput, type GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
@@ -33,6 +35,7 @@ import { type ListChannelMembersReadStatusCommandInput, type ListChannelMembersR
|
|
|
33
35
|
import { type ListChannelsCommandInput, type ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
34
36
|
import { type ListMentionsCommandInput, type ListMentionsCommandOutput } from "./commands/ListMentionsCommand";
|
|
35
37
|
import { type ListMessagesCommandInput, type ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
38
|
+
import { type ListScheduledMessagesCommandInput, type ListScheduledMessagesCommandOutput } from "./commands/ListScheduledMessagesCommand";
|
|
36
39
|
import { type MarkReadCommandInput, type MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
37
40
|
import { type MarkUnreadCommandInput, type MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
38
41
|
import { type MoveChannelToSectionCommandInput, type MoveChannelToSectionCommandOutput } from "./commands/MoveChannelToSectionCommand";
|
|
@@ -51,6 +54,7 @@ import { type SearchUsersCommandInput, type SearchUsersCommandOutput } from "./c
|
|
|
51
54
|
import { type SendGiphyCommandInput, type SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
52
55
|
import { type SendMessageCommandInput, type SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
53
56
|
import { type SendMessageReactionCommandInput, type SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
57
|
+
import { type SendScheduledMessageNowCommandInput, type SendScheduledMessageNowCommandOutput } from "./commands/SendScheduledMessageNowCommand";
|
|
54
58
|
import { type SendSystemMessageCommandInput, type SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
|
|
55
59
|
import { type SendTypingStartCommandInput, type SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
56
60
|
import { type SendTypingStopCommandInput, type SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
@@ -60,6 +64,7 @@ import { type UnpinChannelCommandInput, type UnpinChannelCommandOutput } from ".
|
|
|
60
64
|
import { type UnpinMessageCommandInput, type UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
61
65
|
import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
62
66
|
import { type UpdateMessageCommandInput, type UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
67
|
+
import { type UpdateScheduledMessageCommandInput, type UpdateScheduledMessageCommandOutput } from "./commands/UpdateScheduledMessageCommand";
|
|
63
68
|
import { type UploadFileCommandInput, type UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
64
69
|
import { StreamServiceClient } from "./StreamServiceClient";
|
|
65
70
|
export interface StreamService {
|
|
@@ -94,6 +99,12 @@ export interface StreamService {
|
|
|
94
99
|
createKiteChannel(args: CreateKiteChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateKiteChannelCommandOutput>;
|
|
95
100
|
createKiteChannel(args: CreateKiteChannelCommandInput, cb: (err: any, data?: CreateKiteChannelCommandOutput) => void): void;
|
|
96
101
|
createKiteChannel(args: CreateKiteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKiteChannelCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link CreateScheduledMessageCommand}
|
|
104
|
+
*/
|
|
105
|
+
createScheduledMessage(args: CreateScheduledMessageCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledMessageCommandOutput>;
|
|
106
|
+
createScheduledMessage(args: CreateScheduledMessageCommandInput, cb: (err: any, data?: CreateScheduledMessageCommandOutput) => void): void;
|
|
107
|
+
createScheduledMessage(args: CreateScheduledMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledMessageCommandOutput) => void): void;
|
|
97
108
|
/**
|
|
98
109
|
* @see {@link CreateSectionCommand}
|
|
99
110
|
*/
|
|
@@ -124,6 +135,12 @@ export interface StreamService {
|
|
|
124
135
|
deleteMessageReaction(args: DeleteMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageReactionCommandOutput>;
|
|
125
136
|
deleteMessageReaction(args: DeleteMessageReactionCommandInput, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
|
|
126
137
|
deleteMessageReaction(args: DeleteMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link DeleteScheduledMessageCommand}
|
|
140
|
+
*/
|
|
141
|
+
deleteScheduledMessage(args: DeleteScheduledMessageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledMessageCommandOutput>;
|
|
142
|
+
deleteScheduledMessage(args: DeleteScheduledMessageCommandInput, cb: (err: any, data?: DeleteScheduledMessageCommandOutput) => void): void;
|
|
143
|
+
deleteScheduledMessage(args: DeleteScheduledMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledMessageCommandOutput) => void): void;
|
|
127
144
|
/**
|
|
128
145
|
* @see {@link DeleteSectionCommand}
|
|
129
146
|
*/
|
|
@@ -273,6 +290,13 @@ export interface StreamService {
|
|
|
273
290
|
listMessages(args: ListMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessagesCommandOutput>;
|
|
274
291
|
listMessages(args: ListMessagesCommandInput, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
275
292
|
listMessages(args: ListMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link ListScheduledMessagesCommand}
|
|
295
|
+
*/
|
|
296
|
+
listScheduledMessages(): Promise<ListScheduledMessagesCommandOutput>;
|
|
297
|
+
listScheduledMessages(args: ListScheduledMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledMessagesCommandOutput>;
|
|
298
|
+
listScheduledMessages(args: ListScheduledMessagesCommandInput, cb: (err: any, data?: ListScheduledMessagesCommandOutput) => void): void;
|
|
299
|
+
listScheduledMessages(args: ListScheduledMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledMessagesCommandOutput) => void): void;
|
|
276
300
|
/**
|
|
277
301
|
* @see {@link MarkReadCommand}
|
|
278
302
|
*/
|
|
@@ -383,6 +407,12 @@ export interface StreamService {
|
|
|
383
407
|
sendMessageReaction(args: SendMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageReactionCommandOutput>;
|
|
384
408
|
sendMessageReaction(args: SendMessageReactionCommandInput, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
385
409
|
sendMessageReaction(args: SendMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
410
|
+
/**
|
|
411
|
+
* @see {@link SendScheduledMessageNowCommand}
|
|
412
|
+
*/
|
|
413
|
+
sendScheduledMessageNow(args: SendScheduledMessageNowCommandInput, options?: __HttpHandlerOptions): Promise<SendScheduledMessageNowCommandOutput>;
|
|
414
|
+
sendScheduledMessageNow(args: SendScheduledMessageNowCommandInput, cb: (err: any, data?: SendScheduledMessageNowCommandOutput) => void): void;
|
|
415
|
+
sendScheduledMessageNow(args: SendScheduledMessageNowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendScheduledMessageNowCommandOutput) => void): void;
|
|
386
416
|
/**
|
|
387
417
|
* @see {@link SendSystemMessageCommand}
|
|
388
418
|
*/
|
|
@@ -437,6 +467,12 @@ export interface StreamService {
|
|
|
437
467
|
updateMessage(args: UpdateMessageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMessageCommandOutput>;
|
|
438
468
|
updateMessage(args: UpdateMessageCommandInput, cb: (err: any, data?: UpdateMessageCommandOutput) => void): void;
|
|
439
469
|
updateMessage(args: UpdateMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMessageCommandOutput) => void): void;
|
|
470
|
+
/**
|
|
471
|
+
* @see {@link UpdateScheduledMessageCommand}
|
|
472
|
+
*/
|
|
473
|
+
updateScheduledMessage(args: UpdateScheduledMessageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledMessageCommandOutput>;
|
|
474
|
+
updateScheduledMessage(args: UpdateScheduledMessageCommandInput, cb: (err: any, data?: UpdateScheduledMessageCommandOutput) => void): void;
|
|
475
|
+
updateScheduledMessage(args: UpdateScheduledMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledMessageCommandOutput) => void): void;
|
|
440
476
|
/**
|
|
441
477
|
* @see {@link UploadFileCommand}
|
|
442
478
|
*/
|
|
@@ -10,11 +10,13 @@ import type { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } fr
|
|
|
10
10
|
import type { AssignChannelCommandInput, AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
|
|
11
11
|
import type { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
12
12
|
import type { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "./commands/CreateKiteChannelCommand";
|
|
13
|
+
import type { CreateScheduledMessageCommandInput, CreateScheduledMessageCommandOutput } from "./commands/CreateScheduledMessageCommand";
|
|
13
14
|
import type { CreateSectionCommandInput, CreateSectionCommandOutput } from "./commands/CreateSectionCommand";
|
|
14
15
|
import type { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
15
16
|
import type { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
16
17
|
import type { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
17
18
|
import type { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
19
|
+
import type { DeleteScheduledMessageCommandInput, DeleteScheduledMessageCommandOutput } from "./commands/DeleteScheduledMessageCommand";
|
|
18
20
|
import type { DeleteSectionCommandInput, DeleteSectionCommandOutput } from "./commands/DeleteSectionCommand";
|
|
19
21
|
import type { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
20
22
|
import type { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
@@ -39,6 +41,7 @@ import type { ListChannelMembersReadStatusCommandInput, ListChannelMembersReadSt
|
|
|
39
41
|
import type { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
40
42
|
import type { ListMentionsCommandInput, ListMentionsCommandOutput } from "./commands/ListMentionsCommand";
|
|
41
43
|
import type { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
44
|
+
import type { ListScheduledMessagesCommandInput, ListScheduledMessagesCommandOutput } from "./commands/ListScheduledMessagesCommand";
|
|
42
45
|
import type { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
43
46
|
import type { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
44
47
|
import type { MoveChannelToSectionCommandInput, MoveChannelToSectionCommandOutput } from "./commands/MoveChannelToSectionCommand";
|
|
@@ -57,6 +60,7 @@ import type { SearchUsersCommandInput, SearchUsersCommandOutput } from "./comman
|
|
|
57
60
|
import type { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
58
61
|
import type { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
59
62
|
import type { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
63
|
+
import type { SendScheduledMessageNowCommandInput, SendScheduledMessageNowCommandOutput } from "./commands/SendScheduledMessageNowCommand";
|
|
60
64
|
import type { SendSystemMessageCommandInput, SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
|
|
61
65
|
import type { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
62
66
|
import type { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
@@ -66,6 +70,7 @@ import type { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./comm
|
|
|
66
70
|
import type { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
67
71
|
import type { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
68
72
|
import type { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
73
|
+
import type { UpdateScheduledMessageCommandInput, UpdateScheduledMessageCommandOutput } from "./commands/UpdateScheduledMessageCommand";
|
|
69
74
|
import type { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
70
75
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
71
76
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -73,11 +78,11 @@ export { __Client };
|
|
|
73
78
|
/**
|
|
74
79
|
* @public
|
|
75
80
|
*/
|
|
76
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateKiteChannelCommandInput | CreateSectionCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DeleteSectionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HardDeleteChannelCommandInput | HideChannelCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListMentionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | MoveChannelToSectionCommandInput | MuteChannelCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | QueryUsersCommandInput | RemoveChannelFromSectionCommandInput | RenameSectionCommandInput | SearchChannelsCommandInput | SearchMessagesCommandInput | SearchUsersCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UnmuteChannelCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
81
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateKiteChannelCommandInput | CreateScheduledMessageCommandInput | CreateSectionCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DeleteScheduledMessageCommandInput | DeleteSectionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HardDeleteChannelCommandInput | HideChannelCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListMentionsCommandInput | ListMessagesCommandInput | ListScheduledMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | MoveChannelToSectionCommandInput | MuteChannelCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | QueryUsersCommandInput | RemoveChannelFromSectionCommandInput | RenameSectionCommandInput | SearchChannelsCommandInput | SearchMessagesCommandInput | SearchUsersCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendScheduledMessageNowCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UnmuteChannelCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UpdateScheduledMessageCommandInput | UploadFileCommandInput;
|
|
77
82
|
/**
|
|
78
83
|
* @public
|
|
79
84
|
*/
|
|
80
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateKiteChannelCommandOutput | CreateSectionCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DeleteSectionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HardDeleteChannelCommandOutput | HideChannelCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListMentionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | MoveChannelToSectionCommandOutput | MuteChannelCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | QueryUsersCommandOutput | RemoveChannelFromSectionCommandOutput | RenameSectionCommandOutput | SearchChannelsCommandOutput | SearchMessagesCommandOutput | SearchUsersCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UnmuteChannelCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
85
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateKiteChannelCommandOutput | CreateScheduledMessageCommandOutput | CreateSectionCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DeleteScheduledMessageCommandOutput | DeleteSectionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HardDeleteChannelCommandOutput | HideChannelCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListMentionsCommandOutput | ListMessagesCommandOutput | ListScheduledMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | MoveChannelToSectionCommandOutput | MuteChannelCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | QueryUsersCommandOutput | RemoveChannelFromSectionCommandOutput | RenameSectionCommandOutput | SearchChannelsCommandOutput | SearchMessagesCommandOutput | SearchUsersCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendScheduledMessageNowCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UnmuteChannelCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UpdateScheduledMessageCommandOutput | UploadFileCommandOutput;
|
|
81
86
|
/**
|
|
82
87
|
* @public
|
|
83
88
|
*/
|
|
@@ -76,6 +76,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
76
76
|
* serviceTitle: "STRING_VALUE",
|
|
77
77
|
* assigneeId: "STRING_VALUE",
|
|
78
78
|
* autoRecord: true || false,
|
|
79
|
+
* autoTranscribe: true || false,
|
|
79
80
|
* transcriptionLanguage: "STRING_VALUE",
|
|
80
81
|
* wizyGuestViewOnly: true || false,
|
|
81
82
|
* messagingStatus: "window_closed",
|
|
@@ -170,6 +171,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
170
171
|
* // serviceTitle: "STRING_VALUE",
|
|
171
172
|
* // assigneeId: "STRING_VALUE",
|
|
172
173
|
* // autoRecord: true || false,
|
|
174
|
+
* // autoTranscribe: true || false,
|
|
173
175
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
174
176
|
* // wizyGuestViewOnly: true || false,
|
|
175
177
|
* // messagingStatus: "window_closed",
|
|
@@ -78,6 +78,28 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
78
78
|
* },
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
+
* wilma: { // WilmaChatElement
|
|
82
|
+
* sessionId: "STRING_VALUE", // required
|
|
83
|
+
* verbosity: "none" || "simple" || "full", // required
|
|
84
|
+
* turn: Number("int"), // required
|
|
85
|
+
* startIndex: Number("int"), // required
|
|
86
|
+
* endIndex: Number("int"),
|
|
87
|
+
* summary: { // WilmaChatTurnSummary
|
|
88
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
89
|
+
* durationMs: Number("int"),
|
|
90
|
+
* toolCount: Number("int"), // required
|
|
91
|
+
* failedCount: Number("int"), // required
|
|
92
|
+
* },
|
|
93
|
+
* artifacts: [ // WilmaChatArtifactList
|
|
94
|
+
* { // WilmaChatArtifact
|
|
95
|
+
* artifactId: "STRING_VALUE", // required
|
|
96
|
+
* title: "STRING_VALUE", // required
|
|
97
|
+
* kind: "STRING_VALUE", // required
|
|
98
|
+
* size: Number("long"), // required
|
|
99
|
+
* name: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
81
103
|
* },
|
|
82
104
|
* ],
|
|
83
105
|
* attachments: [ // MessageAttachmentRequestList
|
|
@@ -149,6 +171,28 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
149
171
|
* },
|
|
150
172
|
* },
|
|
151
173
|
* ],
|
|
174
|
+
* wilma: {
|
|
175
|
+
* sessionId: "STRING_VALUE", // required
|
|
176
|
+
* verbosity: "none" || "simple" || "full", // required
|
|
177
|
+
* turn: Number("int"), // required
|
|
178
|
+
* startIndex: Number("int"), // required
|
|
179
|
+
* endIndex: Number("int"),
|
|
180
|
+
* summary: {
|
|
181
|
+
* outcome: "done" || "stopped" || "failed", // required
|
|
182
|
+
* durationMs: Number("int"),
|
|
183
|
+
* toolCount: Number("int"), // required
|
|
184
|
+
* failedCount: Number("int"), // required
|
|
185
|
+
* },
|
|
186
|
+
* artifacts: [
|
|
187
|
+
* {
|
|
188
|
+
* artifactId: "STRING_VALUE", // required
|
|
189
|
+
* title: "STRING_VALUE", // required
|
|
190
|
+
* kind: "STRING_VALUE", // required
|
|
191
|
+
* size: Number("long"), // required
|
|
192
|
+
* name: "STRING_VALUE",
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
195
|
+
* },
|
|
152
196
|
* },
|
|
153
197
|
* ],
|
|
154
198
|
* attachments: [
|
|
@@ -259,6 +303,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
259
303
|
* // serviceTitle: "STRING_VALUE",
|
|
260
304
|
* // assigneeId: "STRING_VALUE",
|
|
261
305
|
* // autoRecord: true || false,
|
|
306
|
+
* // autoTranscribe: true || false,
|
|
262
307
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
263
308
|
* // wizyGuestViewOnly: true || false,
|
|
264
309
|
* // messagingStatus: "window_closed",
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateScheduledMessageInput, CreateScheduledMessageOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateScheduledMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateScheduledMessageCommandInput extends CreateScheduledMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateScheduledMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateScheduledMessageCommandOutput extends CreateScheduledMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateScheduledMessageCommand_base: {
|
|
25
|
+
new (input: CreateScheduledMessageCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledMessageCommandInput, CreateScheduledMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateScheduledMessageCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledMessageCommandInput, CreateScheduledMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Schedules a message to be sent to a channel at `scheduledAt` as the current user. Until sent it is visible only to its author. Content rules match `SendMessage`.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, CreateScheduledMessageCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, CreateScheduledMessageCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* // import type { StreamServiceClientConfig } from "@wildix/stream-client";
|
|
37
|
+
* const config = {}; // type is StreamServiceClientConfig
|
|
38
|
+
* const client = new StreamServiceClient(config);
|
|
39
|
+
* const input = { // CreateScheduledMessageInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* userId: "STRING_VALUE",
|
|
42
|
+
* text: "STRING_VALUE",
|
|
43
|
+
* markdown: true || false,
|
|
44
|
+
* mentions: [ // UserIdList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* attachments: [ // MessageAttachmentRequestList
|
|
48
|
+
* { // MessageAttachmentRequest
|
|
49
|
+
* fsId: "STRING_VALUE", // required
|
|
50
|
+
* mime: "STRING_VALUE",
|
|
51
|
+
* name: "STRING_VALUE", // required
|
|
52
|
+
* size: Number("long"), // required
|
|
53
|
+
* width: Number("int"),
|
|
54
|
+
* height: Number("int"),
|
|
55
|
+
* thumbnail: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* quote: { // MessageQuoteRef
|
|
59
|
+
* channelId: "STRING_VALUE", // required
|
|
60
|
+
* messageId: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* channelId: "STRING_VALUE", // required
|
|
63
|
+
* scheduledAt: "STRING_VALUE", // required
|
|
64
|
+
* };
|
|
65
|
+
* const command = new CreateScheduledMessageCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // CreateScheduledMessageOutput
|
|
68
|
+
* // requestId: "STRING_VALUE",
|
|
69
|
+
* // requestDuration: Number("int"),
|
|
70
|
+
* // scheduledMessage: { // ScheduledMessage
|
|
71
|
+
* // id: "STRING_VALUE", // required
|
|
72
|
+
* // channelId: "STRING_VALUE", // required
|
|
73
|
+
* // messageId: "STRING_VALUE", // required
|
|
74
|
+
* // text: "STRING_VALUE",
|
|
75
|
+
* // markdown: true || false,
|
|
76
|
+
* // mentions: [ // UserIdList
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // attachments: [ // MessageAttachmentList
|
|
80
|
+
* // { // MessageAttachment
|
|
81
|
+
* // fsId: "STRING_VALUE", // required
|
|
82
|
+
* // mime: "STRING_VALUE",
|
|
83
|
+
* // name: "STRING_VALUE", // required
|
|
84
|
+
* // size: Number("long"), // required
|
|
85
|
+
* // width: Number("int"),
|
|
86
|
+
* // height: Number("int"),
|
|
87
|
+
* // thumbnail: "STRING_VALUE",
|
|
88
|
+
* // id: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // quote: { // MessageQuote
|
|
92
|
+
* // channelId: "STRING_VALUE", // required
|
|
93
|
+
* // messageId: "STRING_VALUE", // required
|
|
94
|
+
* // userId: "STRING_VALUE", // required
|
|
95
|
+
* // text: "STRING_VALUE",
|
|
96
|
+
* // createdAt: "STRING_VALUE", // required
|
|
97
|
+
* // },
|
|
98
|
+
* // scheduledAt: "STRING_VALUE", // required
|
|
99
|
+
* // status: "scheduled" || "paused" || "sending" || "failed", // required
|
|
100
|
+
* // errorCode: "NOT_A_MEMBER" || "CHANNEL_NOT_FOUND" || "ATTACHMENT_UNAVAILABLE" || "TOO_LATE" || "SEND_FAILED",
|
|
101
|
+
* // createdAt: "STRING_VALUE", // required
|
|
102
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
103
|
+
* // version: Number("int"), // required
|
|
104
|
+
* // },
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @param CreateScheduledMessageCommandInput - {@link CreateScheduledMessageCommandInput}
|
|
110
|
+
* @returns {@link CreateScheduledMessageCommandOutput}
|
|
111
|
+
* @see {@link CreateScheduledMessageCommandInput} for command's `input` shape.
|
|
112
|
+
* @see {@link CreateScheduledMessageCommandOutput} for command's `response` shape.
|
|
113
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ScheduledMessageLimitExceededException} (client fault)
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link StreamServiceServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class CreateScheduledMessageCommand extends CreateScheduledMessageCommand_base {
|
|
136
|
+
/** @internal type navigation helper, not in runtime. */
|
|
137
|
+
protected static __types: {
|
|
138
|
+
api: {
|
|
139
|
+
input: CreateScheduledMessageInput;
|
|
140
|
+
output: CreateScheduledMessageOutput;
|
|
141
|
+
};
|
|
142
|
+
sdk: {
|
|
143
|
+
input: CreateScheduledMessageCommandInput;
|
|
144
|
+
output: CreateScheduledMessageCommandOutput;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
}
|
|
@@ -134,6 +134,28 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
134
134
|
* // },
|
|
135
135
|
* // },
|
|
136
136
|
* // ],
|
|
137
|
+
* // wilma: { // WilmaChatElement
|
|
138
|
+
* // sessionId: "STRING_VALUE", // required
|
|
139
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
140
|
+
* // turn: Number("int"), // required
|
|
141
|
+
* // startIndex: Number("int"), // required
|
|
142
|
+
* // endIndex: Number("int"),
|
|
143
|
+
* // summary: { // WilmaChatTurnSummary
|
|
144
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
145
|
+
* // durationMs: Number("int"),
|
|
146
|
+
* // toolCount: Number("int"), // required
|
|
147
|
+
* // failedCount: Number("int"), // required
|
|
148
|
+
* // },
|
|
149
|
+
* // artifacts: [ // WilmaChatArtifactList
|
|
150
|
+
* // { // WilmaChatArtifact
|
|
151
|
+
* // artifactId: "STRING_VALUE", // required
|
|
152
|
+
* // title: "STRING_VALUE", // required
|
|
153
|
+
* // kind: "STRING_VALUE", // required
|
|
154
|
+
* // size: Number("long"), // required
|
|
155
|
+
* // name: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
137
159
|
* // },
|
|
138
160
|
* // ],
|
|
139
161
|
* // whatsapp: true || false,
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteScheduledMessageInput, DeleteScheduledMessageOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteScheduledMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteScheduledMessageCommandInput extends DeleteScheduledMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteScheduledMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteScheduledMessageCommandOutput extends DeleteScheduledMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteScheduledMessageCommand_base: {
|
|
25
|
+
new (input: DeleteScheduledMessageCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledMessageCommandInput, DeleteScheduledMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteScheduledMessageCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledMessageCommandInput, DeleteScheduledMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes a scheduled message. Not allowed while the message is `sending`.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, DeleteScheduledMessageCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, DeleteScheduledMessageCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* // import type { StreamServiceClientConfig } from "@wildix/stream-client";
|
|
37
|
+
* const config = {}; // type is StreamServiceClientConfig
|
|
38
|
+
* const client = new StreamServiceClient(config);
|
|
39
|
+
* const input = { // DeleteScheduledMessageInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* userId: "STRING_VALUE",
|
|
42
|
+
* scheduledMessageId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteScheduledMessageCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeleteScheduledMessageOutput
|
|
47
|
+
* // requestId: "STRING_VALUE",
|
|
48
|
+
* // requestDuration: Number("int"),
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteScheduledMessageCommandInput - {@link DeleteScheduledMessageCommandInput}
|
|
54
|
+
* @returns {@link DeleteScheduledMessageCommandOutput}
|
|
55
|
+
* @see {@link DeleteScheduledMessageCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteScheduledMessageCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ScheduledMessageNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link StreamServiceServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteScheduledMessageCommand extends DeleteScheduledMessageCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteScheduledMessageInput;
|
|
82
|
+
output: DeleteScheduledMessageOutput;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteScheduledMessageCommandInput;
|
|
86
|
+
output: DeleteScheduledMessageCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -116,6 +116,7 @@ declare const GetChannelCommand_base: {
|
|
|
116
116
|
* // serviceTitle: "STRING_VALUE",
|
|
117
117
|
* // assigneeId: "STRING_VALUE",
|
|
118
118
|
* // autoRecord: true || false,
|
|
119
|
+
* // autoTranscribe: true || false,
|
|
119
120
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
120
121
|
* // wizyGuestViewOnly: true || false,
|
|
121
122
|
* // messagingStatus: "window_closed",
|
|
@@ -116,6 +116,7 @@ declare const GetInboxCommand_base: {
|
|
|
116
116
|
* // serviceTitle: "STRING_VALUE",
|
|
117
117
|
* // assigneeId: "STRING_VALUE",
|
|
118
118
|
* // autoRecord: true || false,
|
|
119
|
+
* // autoTranscribe: true || false,
|
|
119
120
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
120
121
|
* // wizyGuestViewOnly: true || false,
|
|
121
122
|
* // messagingStatus: "window_closed",
|
|
@@ -135,6 +135,28 @@ declare const GetMessageCommand_base: {
|
|
|
135
135
|
* // },
|
|
136
136
|
* // },
|
|
137
137
|
* // ],
|
|
138
|
+
* // wilma: { // WilmaChatElement
|
|
139
|
+
* // sessionId: "STRING_VALUE", // required
|
|
140
|
+
* // verbosity: "none" || "simple" || "full", // required
|
|
141
|
+
* // turn: Number("int"), // required
|
|
142
|
+
* // startIndex: Number("int"), // required
|
|
143
|
+
* // endIndex: Number("int"),
|
|
144
|
+
* // summary: { // WilmaChatTurnSummary
|
|
145
|
+
* // outcome: "done" || "stopped" || "failed", // required
|
|
146
|
+
* // durationMs: Number("int"),
|
|
147
|
+
* // toolCount: Number("int"), // required
|
|
148
|
+
* // failedCount: Number("int"), // required
|
|
149
|
+
* // },
|
|
150
|
+
* // artifacts: [ // WilmaChatArtifactList
|
|
151
|
+
* // { // WilmaChatArtifact
|
|
152
|
+
* // artifactId: "STRING_VALUE", // required
|
|
153
|
+
* // title: "STRING_VALUE", // required
|
|
154
|
+
* // kind: "STRING_VALUE", // required
|
|
155
|
+
* // size: Number("long"), // required
|
|
156
|
+
* // name: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // },
|
|
138
160
|
* // },
|
|
139
161
|
* // ],
|
|
140
162
|
* // whatsapp: true || false,
|
|
@@ -122,6 +122,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
122
122
|
* // serviceTitle: "STRING_VALUE",
|
|
123
123
|
* // assigneeId: "STRING_VALUE",
|
|
124
124
|
* // autoRecord: true || false,
|
|
125
|
+
* // autoTranscribe: true || false,
|
|
125
126
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
126
127
|
* // wizyGuestViewOnly: true || false,
|
|
127
128
|
* // messagingStatus: "window_closed",
|
|
@@ -119,6 +119,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
119
119
|
* // serviceTitle: "STRING_VALUE",
|
|
120
120
|
* // assigneeId: "STRING_VALUE",
|
|
121
121
|
* // autoRecord: true || false,
|
|
122
|
+
* // autoTranscribe: true || false,
|
|
122
123
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
123
124
|
* // wizyGuestViewOnly: true || false,
|
|
124
125
|
* // messagingStatus: "window_closed",
|
|
@@ -118,6 +118,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
118
118
|
* // serviceTitle: "STRING_VALUE",
|
|
119
119
|
* // assigneeId: "STRING_VALUE",
|
|
120
120
|
* // autoRecord: true || false,
|
|
121
|
+
* // autoTranscribe: true || false,
|
|
121
122
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
122
123
|
* // wizyGuestViewOnly: true || false,
|
|
123
124
|
* // messagingStatus: "window_closed",
|
|
@@ -119,6 +119,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
119
119
|
* // serviceTitle: "STRING_VALUE",
|
|
120
120
|
* // assigneeId: "STRING_VALUE",
|
|
121
121
|
* // autoRecord: true || false,
|
|
122
|
+
* // autoTranscribe: true || false,
|
|
122
123
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
123
124
|
* // wizyGuestViewOnly: true || false,
|
|
124
125
|
* // messagingStatus: "window_closed",
|
|
@@ -117,6 +117,7 @@ declare const JoinChannelCommand_base: {
|
|
|
117
117
|
* // serviceTitle: "STRING_VALUE",
|
|
118
118
|
* // assigneeId: "STRING_VALUE",
|
|
119
119
|
* // autoRecord: true || false,
|
|
120
|
+
* // autoTranscribe: true || false,
|
|
120
121
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
121
122
|
* // wizyGuestViewOnly: true || false,
|
|
122
123
|
* // messagingStatus: "window_closed",
|
|
@@ -119,6 +119,7 @@ declare const ListChannelsCommand_base: {
|
|
|
119
119
|
* // serviceTitle: "STRING_VALUE",
|
|
120
120
|
* // assigneeId: "STRING_VALUE",
|
|
121
121
|
* // autoRecord: true || false,
|
|
122
|
+
* // autoTranscribe: true || false,
|
|
122
123
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
123
124
|
* // wizyGuestViewOnly: true || false,
|
|
124
125
|
* // messagingStatus: "window_closed",
|