@wildix/xbees-conversations-client 1.0.56 → 1.0.58
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 -2
- package/dist-cjs/commands/{CreateKiteChannelCommand.js → CreateInboxTagCommand.js} +7 -7
- 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 -1
- package/dist-cjs/models/models_0.js +74 -39
- package/dist-cjs/protocols/Aws_restJson1.js +373 -26
- package/dist-es/Conversations.js +22 -2
- 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 -1
- package/dist-es/models/models_0.js +68 -36
- package/dist-es/protocols/Aws_restJson1.js +350 -23
- package/dist-types/Conversations.d.ts +77 -5
- package/dist-types/ConversationsClient.d.ts +13 -3
- package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +0 -30
- package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
- package/dist-types/commands/GetMessageCommand.d.ts +0 -6
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
- package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +0 -12
- package/dist-types/commands/PinChannelCommand.d.ts +75 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
- package/dist-types/commands/SendMessageCommand.d.ts +0 -12
- 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/UpdateMessageCommand.d.ts +0 -12
- package/dist-types/commands/index.d.ts +11 -1
- package/dist-types/models/models_0.d.ts +412 -217
- package/dist-types/protocols/Aws_restJson1.d.ts +95 -5
- package/package.json +4 -3
- package/dist-es/commands/CreateKiteChannelCommand.js +0 -17
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +0 -300
|
@@ -2,9 +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 {
|
|
5
|
+
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
6
6
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
7
7
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
8
|
+
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./commands/DeleteInboxTagCommand";
|
|
8
9
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
9
10
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
10
11
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
@@ -12,6 +13,7 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
12
13
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
13
14
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
14
15
|
import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
|
|
16
|
+
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
15
17
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
16
18
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
17
19
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
@@ -21,11 +23,15 @@ import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/Jo
|
|
|
21
23
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
22
24
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
23
25
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
26
|
+
import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput } from "./commands/ListInboxTaggedChannelsCommand";
|
|
27
|
+
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
24
28
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
25
29
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
26
30
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
31
|
+
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
27
32
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
28
33
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
34
|
+
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
29
35
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
30
36
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
31
37
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -33,7 +39,11 @@ import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } fro
|
|
|
33
39
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
34
40
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
35
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";
|
|
36
45
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
46
|
+
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
37
47
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
38
48
|
import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
39
49
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
@@ -58,11 +68,11 @@ export interface Conversations {
|
|
|
58
68
|
createGroupChannel(args: CreateGroupChannelCommandInput, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
59
69
|
createGroupChannel(args: CreateGroupChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
60
70
|
/**
|
|
61
|
-
* @see {@link
|
|
71
|
+
* @see {@link CreateInboxTagCommand}
|
|
62
72
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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;
|
|
66
76
|
/**
|
|
67
77
|
* @see {@link DeleteChannelCommand}
|
|
68
78
|
*/
|
|
@@ -75,6 +85,12 @@ export interface Conversations {
|
|
|
75
85
|
deleteChannelMember(args: DeleteChannelMemberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelMemberCommandOutput>;
|
|
76
86
|
deleteChannelMember(args: DeleteChannelMemberCommandInput, cb: (err: any, data?: DeleteChannelMemberCommandOutput) => void): void;
|
|
77
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;
|
|
78
94
|
/**
|
|
79
95
|
* @see {@link DeleteMessageCommand}
|
|
80
96
|
*/
|
|
@@ -119,6 +135,13 @@ export interface Conversations {
|
|
|
119
135
|
getFilePresignedDownloadUrl(args: GetFilePresignedDownloadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetFilePresignedDownloadUrlCommandOutput>;
|
|
120
136
|
getFilePresignedDownloadUrl(args: GetFilePresignedDownloadUrlCommandInput, cb: (err: any, data?: GetFilePresignedDownloadUrlCommandOutput) => void): void;
|
|
121
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;
|
|
122
145
|
/**
|
|
123
146
|
* @see {@link GetMessageCommand}
|
|
124
147
|
*/
|
|
@@ -175,6 +198,19 @@ export interface Conversations {
|
|
|
175
198
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
176
199
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
177
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;
|
|
178
214
|
/**
|
|
179
215
|
* @see {@link ListMessageReactionsCommand}
|
|
180
216
|
*/
|
|
@@ -193,6 +229,12 @@ export interface Conversations {
|
|
|
193
229
|
markRead(args: MarkReadCommandInput, options?: __HttpHandlerOptions): Promise<MarkReadCommandOutput>;
|
|
194
230
|
markRead(args: MarkReadCommandInput, cb: (err: any, data?: MarkReadCommandOutput) => void): void;
|
|
195
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;
|
|
196
238
|
/**
|
|
197
239
|
* @see {@link PartialUpdateChannelCommand}
|
|
198
240
|
*/
|
|
@@ -205,6 +247,12 @@ export interface Conversations {
|
|
|
205
247
|
partialUpdateMessage(args: PartialUpdateMessageCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateMessageCommandOutput>;
|
|
206
248
|
partialUpdateMessage(args: PartialUpdateMessageCommandInput, cb: (err: any, data?: PartialUpdateMessageCommandOutput) => void): void;
|
|
207
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;
|
|
208
256
|
/**
|
|
209
257
|
* @see {@link ScheduleExternalFlagAdjustmentJobCommand}
|
|
210
258
|
*/
|
|
@@ -247,12 +295,36 @@ export interface Conversations {
|
|
|
247
295
|
showChannel(args: ShowChannelCommandInput, options?: __HttpHandlerOptions): Promise<ShowChannelCommandOutput>;
|
|
248
296
|
showChannel(args: ShowChannelCommandInput, cb: (err: any, data?: ShowChannelCommandOutput) => void): void;
|
|
249
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;
|
|
250
316
|
/**
|
|
251
317
|
* @see {@link UpdateChannelCommand}
|
|
252
318
|
*/
|
|
253
319
|
updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
|
|
254
320
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
255
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;
|
|
256
328
|
/**
|
|
257
329
|
* @see {@link UpdateMessageCommand}
|
|
258
330
|
*/
|
|
@@ -1,9 +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 {
|
|
4
|
+
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
5
5
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
6
6
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
7
|
+
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./commands/DeleteInboxTagCommand";
|
|
7
8
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
8
9
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
9
10
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
@@ -11,6 +12,7 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
11
12
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
12
13
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
13
14
|
import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
|
|
15
|
+
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
|
|
14
16
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
15
17
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
16
18
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "./commands/GetUploadedFileInfoCommand";
|
|
@@ -20,11 +22,15 @@ import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/Jo
|
|
|
20
22
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
21
23
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
22
24
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
25
|
+
import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput } from "./commands/ListInboxTaggedChannelsCommand";
|
|
26
|
+
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
23
27
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
24
28
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
25
29
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
30
|
+
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
26
31
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
27
32
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
33
|
+
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
28
34
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
29
35
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
30
36
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -32,7 +38,11 @@ import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } fro
|
|
|
32
38
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
33
39
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
34
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";
|
|
35
44
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
45
|
+
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
36
46
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
37
47
|
import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
|
|
38
48
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -46,11 +56,11 @@ export { __Client };
|
|
|
46
56
|
/**
|
|
47
57
|
* @public
|
|
48
58
|
*/
|
|
49
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput |
|
|
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;
|
|
50
60
|
/**
|
|
51
61
|
* @public
|
|
52
62
|
*/
|
|
53
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput |
|
|
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;
|
|
54
64
|
/**
|
|
55
65
|
* @public
|
|
56
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
|
+
}
|
|
@@ -525,12 +525,6 @@ declare const DescribeEventCommand_base: {
|
|
|
525
525
|
* // forwardEmail: "STRING_VALUE",
|
|
526
526
|
* // forwardName: "STRING_VALUE",
|
|
527
527
|
* // },
|
|
528
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
529
|
-
* // { // MessagePredefinedReply
|
|
530
|
-
* // text: "STRING_VALUE", // required
|
|
531
|
-
* // label: "STRING_VALUE",
|
|
532
|
-
* // },
|
|
533
|
-
* // ],
|
|
534
528
|
* // type: "regular" || "system", // required
|
|
535
529
|
* // giphy: {
|
|
536
530
|
* // id: "STRING_VALUE", // required
|
|
@@ -629,12 +623,6 @@ declare const DescribeEventCommand_base: {
|
|
|
629
623
|
* // forwardEmail: "STRING_VALUE",
|
|
630
624
|
* // forwardName: "STRING_VALUE",
|
|
631
625
|
* // },
|
|
632
|
-
* // predefinedReplies: [
|
|
633
|
-
* // {
|
|
634
|
-
* // text: "STRING_VALUE", // required
|
|
635
|
-
* // label: "STRING_VALUE",
|
|
636
|
-
* // },
|
|
637
|
-
* // ],
|
|
638
626
|
* // type: "regular" || "system", // required
|
|
639
627
|
* // giphy: {
|
|
640
628
|
* // id: "STRING_VALUE", // required
|
|
@@ -717,12 +705,6 @@ declare const DescribeEventCommand_base: {
|
|
|
717
705
|
* // updatedAt: "STRING_VALUE",
|
|
718
706
|
* // },
|
|
719
707
|
* // forward: "<MessageForward>",
|
|
720
|
-
* // predefinedReplies: [
|
|
721
|
-
* // {
|
|
722
|
-
* // text: "STRING_VALUE", // required
|
|
723
|
-
* // label: "STRING_VALUE",
|
|
724
|
-
* // },
|
|
725
|
-
* // ],
|
|
726
708
|
* // type: "regular" || "system", // required
|
|
727
709
|
* // giphy: "<MessageGiphy>",
|
|
728
710
|
* // silent: true || false,
|
|
@@ -777,12 +759,6 @@ declare const DescribeEventCommand_base: {
|
|
|
777
759
|
* // updatedAt: "STRING_VALUE",
|
|
778
760
|
* // },
|
|
779
761
|
* // forward: "<MessageForward>",
|
|
780
|
-
* // predefinedReplies: [
|
|
781
|
-
* // {
|
|
782
|
-
* // text: "STRING_VALUE", // required
|
|
783
|
-
* // label: "STRING_VALUE",
|
|
784
|
-
* // },
|
|
785
|
-
* // ],
|
|
786
762
|
* // type: "regular" || "system", // required
|
|
787
763
|
* // giphy: "<MessageGiphy>",
|
|
788
764
|
* // silent: true || false,
|
|
@@ -843,12 +819,6 @@ declare const DescribeEventCommand_base: {
|
|
|
843
819
|
* // updatedAt: "STRING_VALUE",
|
|
844
820
|
* // },
|
|
845
821
|
* // forward: "<MessageForward>",
|
|
846
|
-
* // predefinedReplies: [
|
|
847
|
-
* // {
|
|
848
|
-
* // text: "STRING_VALUE", // required
|
|
849
|
-
* // label: "STRING_VALUE",
|
|
850
|
-
* // },
|
|
851
|
-
* // ],
|
|
852
822
|
* // type: "regular" || "system", // required
|
|
853
823
|
* // giphy: "<MessageGiphy>",
|
|
854
824
|
* // silent: true || false,
|
|
@@ -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
|
+
}
|
|
@@ -131,12 +131,6 @@ declare const GetMessageCommand_base: {
|
|
|
131
131
|
* // forwardEmail: "STRING_VALUE",
|
|
132
132
|
* // forwardName: "STRING_VALUE",
|
|
133
133
|
* // },
|
|
134
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
135
|
-
* // { // MessagePredefinedReply
|
|
136
|
-
* // text: "STRING_VALUE", // required
|
|
137
|
-
* // label: "STRING_VALUE",
|
|
138
|
-
* // },
|
|
139
|
-
* // ],
|
|
140
134
|
* // type: "regular" || "system", // required
|
|
141
135
|
* // giphy: {
|
|
142
136
|
* // id: "STRING_VALUE", // required
|
|
@@ -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
|
+
}
|