@wildix/xbees-conversations-client 1.0.55 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Conversations.js +22 -0
- package/dist-cjs/commands/CreateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
- package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/TagChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UntagChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +66 -1
- package/dist-cjs/protocols/Aws_restJson1.js +423 -2
- package/dist-es/Conversations.js +22 -0
- package/dist-es/commands/CreateInboxTagCommand.js +17 -0
- package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
- package/dist-es/commands/GetInboxStateCommand.js +17 -0
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
- package/dist-es/commands/ListInboxTagsCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/TagChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UntagChannelCommand.js +17 -0
- package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +60 -0
- package/dist-es/protocols/Aws_restJson1.js +400 -1
- package/dist-types/Conversations.d.ts +79 -0
- package/dist-types/ConversationsClient.d.ts +13 -2
- package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
- package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
- package/dist-types/commands/PinChannelCommand.d.ts +75 -0
- package/dist-types/commands/TagChannelCommand.d.ts +76 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
- package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +352 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/package.json +1 -1
|
@@ -2,8 +2,10 @@ import { ConversationsClient } from "./ConversationsClient";
|
|
|
2
2
|
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
3
3
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
4
4
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
5
|
+
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
5
6
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
6
7
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
8
|
+
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./commands/DeleteInboxTagCommand";
|
|
7
9
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
8
10
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
9
11
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
@@ -11,6 +13,7 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
11
13
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
12
14
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
13
15
|
import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
|
|
16
|
+
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
14
17
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
15
18
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
16
19
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
@@ -20,11 +23,15 @@ import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/Jo
|
|
|
20
23
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
21
24
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
22
25
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
26
|
+
import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput } from "./commands/ListInboxTaggedChannelsCommand";
|
|
27
|
+
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
23
28
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
24
29
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
25
30
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
31
|
+
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
26
32
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
27
33
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
34
|
+
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
28
35
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
29
36
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
30
37
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -32,7 +39,11 @@ import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } fro
|
|
|
32
39
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
33
40
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
34
41
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
42
|
+
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
43
|
+
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
44
|
+
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
35
45
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
46
|
+
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
36
47
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
37
48
|
import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
38
49
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
@@ -56,6 +67,12 @@ export interface Conversations {
|
|
|
56
67
|
createGroupChannel(args: CreateGroupChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupChannelCommandOutput>;
|
|
57
68
|
createGroupChannel(args: CreateGroupChannelCommandInput, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
58
69
|
createGroupChannel(args: CreateGroupChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link CreateInboxTagCommand}
|
|
72
|
+
*/
|
|
73
|
+
createInboxTag(args: CreateInboxTagCommandInput, options?: __HttpHandlerOptions): Promise<CreateInboxTagCommandOutput>;
|
|
74
|
+
createInboxTag(args: CreateInboxTagCommandInput, cb: (err: any, data?: CreateInboxTagCommandOutput) => void): void;
|
|
75
|
+
createInboxTag(args: CreateInboxTagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInboxTagCommandOutput) => void): void;
|
|
59
76
|
/**
|
|
60
77
|
* @see {@link DeleteChannelCommand}
|
|
61
78
|
*/
|
|
@@ -68,6 +85,12 @@ export interface Conversations {
|
|
|
68
85
|
deleteChannelMember(args: DeleteChannelMemberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelMemberCommandOutput>;
|
|
69
86
|
deleteChannelMember(args: DeleteChannelMemberCommandInput, cb: (err: any, data?: DeleteChannelMemberCommandOutput) => void): void;
|
|
70
87
|
deleteChannelMember(args: DeleteChannelMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelMemberCommandOutput) => void): void;
|
|
88
|
+
/**
|
|
89
|
+
* @see {@link DeleteInboxTagCommand}
|
|
90
|
+
*/
|
|
91
|
+
deleteInboxTag(args: DeleteInboxTagCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInboxTagCommandOutput>;
|
|
92
|
+
deleteInboxTag(args: DeleteInboxTagCommandInput, cb: (err: any, data?: DeleteInboxTagCommandOutput) => void): void;
|
|
93
|
+
deleteInboxTag(args: DeleteInboxTagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInboxTagCommandOutput) => void): void;
|
|
71
94
|
/**
|
|
72
95
|
* @see {@link DeleteMessageCommand}
|
|
73
96
|
*/
|
|
@@ -112,6 +135,13 @@ export interface Conversations {
|
|
|
112
135
|
getFilePresignedDownloadUrl(args: GetFilePresignedDownloadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetFilePresignedDownloadUrlCommandOutput>;
|
|
113
136
|
getFilePresignedDownloadUrl(args: GetFilePresignedDownloadUrlCommandInput, cb: (err: any, data?: GetFilePresignedDownloadUrlCommandOutput) => void): void;
|
|
114
137
|
getFilePresignedDownloadUrl(args: GetFilePresignedDownloadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFilePresignedDownloadUrlCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link GetInboxStateCommand}
|
|
140
|
+
*/
|
|
141
|
+
getInboxState(): Promise<GetInboxStateCommandOutput>;
|
|
142
|
+
getInboxState(args: GetInboxStateCommandInput, options?: __HttpHandlerOptions): Promise<GetInboxStateCommandOutput>;
|
|
143
|
+
getInboxState(args: GetInboxStateCommandInput, cb: (err: any, data?: GetInboxStateCommandOutput) => void): void;
|
|
144
|
+
getInboxState(args: GetInboxStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInboxStateCommandOutput) => void): void;
|
|
115
145
|
/**
|
|
116
146
|
* @see {@link GetMessageCommand}
|
|
117
147
|
*/
|
|
@@ -168,6 +198,19 @@ export interface Conversations {
|
|
|
168
198
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
169
199
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
170
200
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
201
|
+
/**
|
|
202
|
+
* @see {@link ListInboxTaggedChannelsCommand}
|
|
203
|
+
*/
|
|
204
|
+
listInboxTaggedChannels(args: ListInboxTaggedChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListInboxTaggedChannelsCommandOutput>;
|
|
205
|
+
listInboxTaggedChannels(args: ListInboxTaggedChannelsCommandInput, cb: (err: any, data?: ListInboxTaggedChannelsCommandOutput) => void): void;
|
|
206
|
+
listInboxTaggedChannels(args: ListInboxTaggedChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInboxTaggedChannelsCommandOutput) => void): void;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link ListInboxTagsCommand}
|
|
209
|
+
*/
|
|
210
|
+
listInboxTags(): Promise<ListInboxTagsCommandOutput>;
|
|
211
|
+
listInboxTags(args: ListInboxTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListInboxTagsCommandOutput>;
|
|
212
|
+
listInboxTags(args: ListInboxTagsCommandInput, cb: (err: any, data?: ListInboxTagsCommandOutput) => void): void;
|
|
213
|
+
listInboxTags(args: ListInboxTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInboxTagsCommandOutput) => void): void;
|
|
171
214
|
/**
|
|
172
215
|
* @see {@link ListMessageReactionsCommand}
|
|
173
216
|
*/
|
|
@@ -186,6 +229,12 @@ export interface Conversations {
|
|
|
186
229
|
markRead(args: MarkReadCommandInput, options?: __HttpHandlerOptions): Promise<MarkReadCommandOutput>;
|
|
187
230
|
markRead(args: MarkReadCommandInput, cb: (err: any, data?: MarkReadCommandOutput) => void): void;
|
|
188
231
|
markRead(args: MarkReadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MarkReadCommandOutput) => void): void;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link MarkUnreadCommand}
|
|
234
|
+
*/
|
|
235
|
+
markUnread(args: MarkUnreadCommandInput, options?: __HttpHandlerOptions): Promise<MarkUnreadCommandOutput>;
|
|
236
|
+
markUnread(args: MarkUnreadCommandInput, cb: (err: any, data?: MarkUnreadCommandOutput) => void): void;
|
|
237
|
+
markUnread(args: MarkUnreadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MarkUnreadCommandOutput) => void): void;
|
|
189
238
|
/**
|
|
190
239
|
* @see {@link PartialUpdateChannelCommand}
|
|
191
240
|
*/
|
|
@@ -198,6 +247,12 @@ export interface Conversations {
|
|
|
198
247
|
partialUpdateMessage(args: PartialUpdateMessageCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateMessageCommandOutput>;
|
|
199
248
|
partialUpdateMessage(args: PartialUpdateMessageCommandInput, cb: (err: any, data?: PartialUpdateMessageCommandOutput) => void): void;
|
|
200
249
|
partialUpdateMessage(args: PartialUpdateMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateMessageCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link PinChannelCommand}
|
|
252
|
+
*/
|
|
253
|
+
pinChannel(args: PinChannelCommandInput, options?: __HttpHandlerOptions): Promise<PinChannelCommandOutput>;
|
|
254
|
+
pinChannel(args: PinChannelCommandInput, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
255
|
+
pinChannel(args: PinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
201
256
|
/**
|
|
202
257
|
* @see {@link ScheduleExternalFlagAdjustmentJobCommand}
|
|
203
258
|
*/
|
|
@@ -240,12 +295,36 @@ export interface Conversations {
|
|
|
240
295
|
showChannel(args: ShowChannelCommandInput, options?: __HttpHandlerOptions): Promise<ShowChannelCommandOutput>;
|
|
241
296
|
showChannel(args: ShowChannelCommandInput, cb: (err: any, data?: ShowChannelCommandOutput) => void): void;
|
|
242
297
|
showChannel(args: ShowChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ShowChannelCommandOutput) => void): void;
|
|
298
|
+
/**
|
|
299
|
+
* @see {@link TagChannelCommand}
|
|
300
|
+
*/
|
|
301
|
+
tagChannel(args: TagChannelCommandInput, options?: __HttpHandlerOptions): Promise<TagChannelCommandOutput>;
|
|
302
|
+
tagChannel(args: TagChannelCommandInput, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
303
|
+
tagChannel(args: TagChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
304
|
+
/**
|
|
305
|
+
* @see {@link UnpinChannelCommand}
|
|
306
|
+
*/
|
|
307
|
+
unpinChannel(args: UnpinChannelCommandInput, options?: __HttpHandlerOptions): Promise<UnpinChannelCommandOutput>;
|
|
308
|
+
unpinChannel(args: UnpinChannelCommandInput, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
309
|
+
unpinChannel(args: UnpinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
310
|
+
/**
|
|
311
|
+
* @see {@link UntagChannelCommand}
|
|
312
|
+
*/
|
|
313
|
+
untagChannel(args: UntagChannelCommandInput, options?: __HttpHandlerOptions): Promise<UntagChannelCommandOutput>;
|
|
314
|
+
untagChannel(args: UntagChannelCommandInput, cb: (err: any, data?: UntagChannelCommandOutput) => void): void;
|
|
315
|
+
untagChannel(args: UntagChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagChannelCommandOutput) => void): void;
|
|
243
316
|
/**
|
|
244
317
|
* @see {@link UpdateChannelCommand}
|
|
245
318
|
*/
|
|
246
319
|
updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
|
|
247
320
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
248
321
|
updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link UpdateInboxTagCommand}
|
|
324
|
+
*/
|
|
325
|
+
updateInboxTag(args: UpdateInboxTagCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInboxTagCommandOutput>;
|
|
326
|
+
updateInboxTag(args: UpdateInboxTagCommandInput, cb: (err: any, data?: UpdateInboxTagCommandOutput) => void): void;
|
|
327
|
+
updateInboxTag(args: UpdateInboxTagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInboxTagCommandOutput) => void): void;
|
|
249
328
|
/**
|
|
250
329
|
* @see {@link UpdateMessageCommand}
|
|
251
330
|
*/
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
2
2
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
3
3
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
4
|
+
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
4
5
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
5
6
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
7
|
+
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./commands/DeleteInboxTagCommand";
|
|
6
8
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
7
9
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
8
10
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
@@ -10,6 +12,7 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
10
12
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
11
13
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
12
14
|
import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
|
|
15
|
+
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
13
16
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
14
17
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
15
18
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
@@ -19,11 +22,15 @@ import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/Jo
|
|
|
19
22
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
20
23
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
21
24
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
25
|
+
import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput } from "./commands/ListInboxTaggedChannelsCommand";
|
|
26
|
+
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
22
27
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
23
28
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
24
29
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
30
|
+
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
25
31
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
26
32
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
33
|
+
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
27
34
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
28
35
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
29
36
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -31,7 +38,11 @@ import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } fro
|
|
|
31
38
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
32
39
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
33
40
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
41
|
+
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
42
|
+
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
43
|
+
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
34
44
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
45
|
+
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
35
46
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
36
47
|
import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
37
48
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -45,11 +56,11 @@ export { __Client };
|
|
|
45
56
|
/**
|
|
46
57
|
* @public
|
|
47
58
|
*/
|
|
48
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
59
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | UnpinChannelCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
49
60
|
/**
|
|
50
61
|
* @public
|
|
51
62
|
*/
|
|
52
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
63
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | UnpinChannelCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
53
64
|
/**
|
|
54
65
|
* @public
|
|
55
66
|
*/
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { CreateInboxTagInput, CreateInboxTagOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInboxTagCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInboxTagCommandInput extends CreateInboxTagInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInboxTagCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInboxTagCommandOutput extends CreateInboxTagOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateInboxTagCommand_base: {
|
|
25
|
+
new (input: CreateInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInboxTagCommandInput, CreateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInboxTagCommandInput, CreateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new tag that can be used to group channels. Each user can have up to 15 tags. If the limit is reached, a TagsLimitReachedException will be thrown.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, CreateInboxTagCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, CreateInboxTagCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // CreateInboxTagInput
|
|
38
|
+
* userId: "STRING_VALUE",
|
|
39
|
+
* tagId: "STRING_VALUE",
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new CreateInboxTagCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // CreateInboxTagOutput
|
|
45
|
+
* // tag: { // InboxTag
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param CreateInboxTagCommandInput - {@link CreateInboxTagCommandInput}
|
|
54
|
+
* @returns {@link CreateInboxTagCommandOutput}
|
|
55
|
+
* @see {@link CreateInboxTagCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link CreateInboxTagCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link TagsLimitReachedException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConversationsServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class CreateInboxTagCommand extends CreateInboxTagCommand_base {
|
|
73
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { DeleteInboxTagInput, DeleteInboxTagOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteInboxTagCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInboxTagCommandInput extends DeleteInboxTagInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInboxTagCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInboxTagCommandOutput extends DeleteInboxTagOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteInboxTagCommand_base: {
|
|
25
|
+
new (input: DeleteInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes an existing tag. This operation is idempotent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, DeleteInboxTagCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, DeleteInboxTagCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // DeleteInboxTagInput
|
|
38
|
+
* tagId: "STRING_VALUE", // required
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteInboxTagCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteInboxTagCommandInput - {@link DeleteInboxTagCommandInput}
|
|
48
|
+
* @returns {@link DeleteInboxTagCommandOutput}
|
|
49
|
+
* @see {@link DeleteInboxTagCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteInboxTagCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ValidationException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConversationsServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeleteInboxTagCommand extends DeleteInboxTagCommand_base {
|
|
65
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { GetInboxStateInput, GetInboxStateOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInboxStateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInboxStateCommandInput extends GetInboxStateInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInboxStateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInboxStateCommandOutput extends GetInboxStateOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInboxStateCommand_base: {
|
|
25
|
+
new (input: GetInboxStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetInboxStateCommandInput]): import("@smithy/smithy-client").CommandImpl<GetInboxStateCommandInput, GetInboxStateCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves the user's inbox state to track pinned, tagged, and unread markers.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, GetInboxStateCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetInboxStateCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // GetInboxStateInput
|
|
38
|
+
* userId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetInboxStateCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetInboxStateOutput
|
|
43
|
+
* // channels: { // InboxChannelsState
|
|
44
|
+
* // unread: [ // InboxUnreadChannelsList // required
|
|
45
|
+
* // { // InboxUnreadChannel
|
|
46
|
+
* // channelId: "STRING_VALUE", // required
|
|
47
|
+
* // unreadAt: "STRING_VALUE", // required
|
|
48
|
+
* // messageId: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // pinned: [ // InboxPinnedChannelsList // required
|
|
52
|
+
* // { // InboxPinnedChannel
|
|
53
|
+
* // channelId: "STRING_VALUE", // required
|
|
54
|
+
* // pinnedAt: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // tagged: [ // InboxTaggedChannelsList // required
|
|
58
|
+
* // { // InboxTaggedChannel
|
|
59
|
+
* // channelId: "STRING_VALUE", // required
|
|
60
|
+
* // tagId: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // tags: [ // InboxTagsList // required
|
|
65
|
+
* // { // InboxTag
|
|
66
|
+
* // id: "STRING_VALUE", // required
|
|
67
|
+
* // name: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param GetInboxStateCommandInput - {@link GetInboxStateCommandInput}
|
|
75
|
+
* @returns {@link GetInboxStateCommandOutput}
|
|
76
|
+
* @see {@link GetInboxStateCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link GetInboxStateCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConversationsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetInboxStateCommand extends GetInboxStateCommand_base {
|
|
92
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { ListInboxTaggedChannelsInput, ListInboxTaggedChannelsOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInboxTaggedChannelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInboxTaggedChannelsCommandInput extends ListInboxTaggedChannelsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInboxTaggedChannelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInboxTaggedChannelsCommandOutput extends ListInboxTaggedChannelsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInboxTaggedChannelsCommand_base: {
|
|
25
|
+
new (input: ListInboxTaggedChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListInboxTaggedChannelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Returns a list of channels associated with the specified tag.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, ListInboxTaggedChannelsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, ListInboxTaggedChannelsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // ListInboxTaggedChannelsInput
|
|
38
|
+
* userId: "STRING_VALUE",
|
|
39
|
+
* tagId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListInboxTaggedChannelsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListInboxTaggedChannelsOutput
|
|
44
|
+
* // channels: [ // InboxTaggedChannelsList // required
|
|
45
|
+
* // { // InboxTaggedChannel
|
|
46
|
+
* // channelId: "STRING_VALUE", // required
|
|
47
|
+
* // tagId: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListInboxTaggedChannelsCommandInput - {@link ListInboxTaggedChannelsCommandInput}
|
|
55
|
+
* @returns {@link ListInboxTaggedChannelsCommandOutput}
|
|
56
|
+
* @see {@link ListInboxTaggedChannelsCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListInboxTaggedChannelsCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link TagNotFoundException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConversationsServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ListInboxTaggedChannelsCommand extends ListInboxTaggedChannelsCommand_base {
|
|
74
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { ListInboxTagsInput, ListInboxTagsOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInboxTagsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInboxTagsCommandInput extends ListInboxTagsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInboxTagsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInboxTagsCommandOutput extends ListInboxTagsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInboxTagsCommand_base: {
|
|
25
|
+
new (input: ListInboxTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInboxTagsCommandInput, ListInboxTagsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListInboxTagsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListInboxTagsCommandInput, ListInboxTagsCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Returns a list of tags associated with the user.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, ListInboxTagsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, ListInboxTagsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // ListInboxTagsInput
|
|
38
|
+
* userId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListInboxTagsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListInboxTagsOutput
|
|
43
|
+
* // tags: [ // InboxTagsList // required
|
|
44
|
+
* // { // InboxTag
|
|
45
|
+
* // id: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListInboxTagsCommandInput - {@link ListInboxTagsCommandInput}
|
|
54
|
+
* @returns {@link ListInboxTagsCommandOutput}
|
|
55
|
+
* @see {@link ListInboxTagsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListInboxTagsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ValidationException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConversationsServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ListInboxTagsCommand extends ListInboxTagsCommand_base {
|
|
71
|
+
}
|