@wildix/xbees-conversations-client 1.1.0 → 1.1.2
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 +14 -0
- package/dist-cjs/commands/CreateKiteChannelCommand.js +21 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +107 -12
- package/dist-cjs/protocols/Aws_restJson1.js +302 -2
- package/dist-es/Conversations.js +14 -0
- package/dist-es/commands/CreateKiteChannelCommand.js +17 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/ListPinnedMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +102 -11
- package/dist-es/protocols/Aws_restJson1.js +286 -1
- package/dist-types/Conversations.d.ts +49 -0
- package/dist-types/ConversationsClient.d.ts +9 -2
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +240 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +144 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetMessageCommand.d.ts +24 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +24 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +224 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +53 -1
- package/dist-types/commands/PinMessageCommand.d.ts +73 -0
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +24 -0
- package/dist-types/commands/SendMessageCommand.d.ts +48 -0
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +75 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +71 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +49 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +578 -102
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,12 +3,14 @@ import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./c
|
|
|
3
3
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
4
4
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
5
5
|
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
6
|
+
import { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "./commands/CreateKiteChannelCommand";
|
|
6
7
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
7
8
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
8
9
|
import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./commands/DeleteInboxTagCommand";
|
|
9
10
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
10
11
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
11
12
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
13
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
|
|
12
14
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
13
15
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
14
16
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
@@ -27,12 +29,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
27
29
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
28
30
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
29
31
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
32
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "./commands/ListPinnedMessagesCommand";
|
|
30
33
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
31
34
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
32
35
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
33
36
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
34
37
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
38
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
35
39
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
40
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
36
41
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
37
42
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
38
43
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
@@ -40,7 +45,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
|
|
|
40
45
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
41
46
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
42
47
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
48
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
|
|
43
49
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
50
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
44
51
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
45
52
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
46
53
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
@@ -73,6 +80,12 @@ export interface Conversations {
|
|
|
73
80
|
createInboxTag(args: CreateInboxTagCommandInput, options?: __HttpHandlerOptions): Promise<CreateInboxTagCommandOutput>;
|
|
74
81
|
createInboxTag(args: CreateInboxTagCommandInput, cb: (err: any, data?: CreateInboxTagCommandOutput) => void): void;
|
|
75
82
|
createInboxTag(args: CreateInboxTagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInboxTagCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link CreateKiteChannelCommand}
|
|
85
|
+
*/
|
|
86
|
+
createKiteChannel(args: CreateKiteChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateKiteChannelCommandOutput>;
|
|
87
|
+
createKiteChannel(args: CreateKiteChannelCommandInput, cb: (err: any, data?: CreateKiteChannelCommandOutput) => void): void;
|
|
88
|
+
createKiteChannel(args: CreateKiteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKiteChannelCommandOutput) => void): void;
|
|
76
89
|
/**
|
|
77
90
|
* @see {@link DeleteChannelCommand}
|
|
78
91
|
*/
|
|
@@ -110,6 +123,12 @@ export interface Conversations {
|
|
|
110
123
|
describeEvent(args: DescribeEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCommandOutput>;
|
|
111
124
|
describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
112
125
|
describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link GetActionTriggerResultCommand}
|
|
128
|
+
*/
|
|
129
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<GetActionTriggerResultCommandOutput>;
|
|
130
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
|
|
131
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
|
|
113
132
|
/**
|
|
114
133
|
* @see {@link GetChannelCommand}
|
|
115
134
|
*/
|
|
@@ -223,6 +242,12 @@ export interface Conversations {
|
|
|
223
242
|
listMessages(args: ListMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessagesCommandOutput>;
|
|
224
243
|
listMessages(args: ListMessagesCommandInput, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
225
244
|
listMessages(args: ListMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link ListPinnedMessagesCommand}
|
|
247
|
+
*/
|
|
248
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListPinnedMessagesCommandOutput>;
|
|
249
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, cb: (err: any, data?: ListPinnedMessagesCommandOutput) => void): void;
|
|
250
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPinnedMessagesCommandOutput) => void): void;
|
|
226
251
|
/**
|
|
227
252
|
* @see {@link MarkReadCommand}
|
|
228
253
|
*/
|
|
@@ -253,12 +278,24 @@ export interface Conversations {
|
|
|
253
278
|
pinChannel(args: PinChannelCommandInput, options?: __HttpHandlerOptions): Promise<PinChannelCommandOutput>;
|
|
254
279
|
pinChannel(args: PinChannelCommandInput, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
255
280
|
pinChannel(args: PinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
281
|
+
/**
|
|
282
|
+
* @see {@link PinMessageCommand}
|
|
283
|
+
*/
|
|
284
|
+
pinMessage(args: PinMessageCommandInput, options?: __HttpHandlerOptions): Promise<PinMessageCommandOutput>;
|
|
285
|
+
pinMessage(args: PinMessageCommandInput, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
286
|
+
pinMessage(args: PinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
256
287
|
/**
|
|
257
288
|
* @see {@link ScheduleExternalFlagAdjustmentJobCommand}
|
|
258
289
|
*/
|
|
259
290
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
260
291
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
261
292
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link SendActionTriggerResultCommand}
|
|
295
|
+
*/
|
|
296
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<SendActionTriggerResultCommandOutput>;
|
|
297
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
|
|
298
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
|
|
262
299
|
/**
|
|
263
300
|
* @see {@link SendGiphyCommand}
|
|
264
301
|
*/
|
|
@@ -301,12 +338,24 @@ export interface Conversations {
|
|
|
301
338
|
tagChannel(args: TagChannelCommandInput, options?: __HttpHandlerOptions): Promise<TagChannelCommandOutput>;
|
|
302
339
|
tagChannel(args: TagChannelCommandInput, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
303
340
|
tagChannel(args: TagChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
341
|
+
/**
|
|
342
|
+
* @see {@link TriggerMessageActionCommand}
|
|
343
|
+
*/
|
|
344
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, options?: __HttpHandlerOptions): Promise<TriggerMessageActionCommandOutput>;
|
|
345
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
|
|
346
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
|
|
304
347
|
/**
|
|
305
348
|
* @see {@link UnpinChannelCommand}
|
|
306
349
|
*/
|
|
307
350
|
unpinChannel(args: UnpinChannelCommandInput, options?: __HttpHandlerOptions): Promise<UnpinChannelCommandOutput>;
|
|
308
351
|
unpinChannel(args: UnpinChannelCommandInput, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
309
352
|
unpinChannel(args: UnpinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
353
|
+
/**
|
|
354
|
+
* @see {@link UnpinMessageCommand}
|
|
355
|
+
*/
|
|
356
|
+
unpinMessage(args: UnpinMessageCommandInput, options?: __HttpHandlerOptions): Promise<UnpinMessageCommandOutput>;
|
|
357
|
+
unpinMessage(args: UnpinMessageCommandInput, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
358
|
+
unpinMessage(args: UnpinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
310
359
|
/**
|
|
311
360
|
* @see {@link UntagChannelCommand}
|
|
312
361
|
*/
|
|
@@ -2,12 +2,14 @@ import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./c
|
|
|
2
2
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
3
3
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
4
4
|
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "./commands/CreateInboxTagCommand";
|
|
5
|
+
import { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "./commands/CreateKiteChannelCommand";
|
|
5
6
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
6
7
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
7
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
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
|
|
11
13
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
12
14
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
13
15
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
@@ -26,12 +28,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
26
28
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
27
29
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
28
30
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
31
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "./commands/ListPinnedMessagesCommand";
|
|
29
32
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
30
33
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
31
34
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
32
35
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
33
36
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
37
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
34
38
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
35
40
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
36
41
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
37
42
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
@@ -39,7 +44,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
|
|
|
39
44
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
40
45
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
41
46
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
47
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
|
|
42
48
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
49
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
43
50
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
44
51
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
45
52
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
@@ -56,11 +63,11 @@ export { __Client };
|
|
|
56
63
|
/**
|
|
57
64
|
* @public
|
|
58
65
|
*/
|
|
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;
|
|
66
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
60
67
|
/**
|
|
61
68
|
* @public
|
|
62
69
|
*/
|
|
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;
|
|
70
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
64
71
|
/**
|
|
65
72
|
* @public
|
|
66
73
|
*/
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { CreateKiteChannelInput, CreateKiteChannelOutput } 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 CreateKiteChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateKiteChannelCommandInput extends CreateKiteChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateKiteChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateKiteChannelCommandOutput extends CreateKiteChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateKiteChannelCommand_base: {
|
|
25
|
+
new (input: CreateKiteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateKiteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new kite channel with specified widget or email.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, CreateKiteChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, CreateKiteChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // CreateKiteChannelInput
|
|
38
|
+
* userId: "STRING_VALUE",
|
|
39
|
+
* channelId: "STRING_VALUE",
|
|
40
|
+
* targetId: "STRING_VALUE", // required
|
|
41
|
+
* targetRouteId: "STRING_VALUE",
|
|
42
|
+
* welcomeMessages: [ // WelcomeMessagesList
|
|
43
|
+
* { // WelcomeMessage
|
|
44
|
+
* text: "STRING_VALUE",
|
|
45
|
+
* elements: [ // ElementsList
|
|
46
|
+
* { // Element Union: only one key present
|
|
47
|
+
* actions: [ // ActionsElementsList
|
|
48
|
+
* { // ActionElement Union: only one key present
|
|
49
|
+
* button: { // ButtonElement
|
|
50
|
+
* text: "STRING_VALUE", // required
|
|
51
|
+
* variant: "contained" || "outlined",
|
|
52
|
+
* disabled: true || false,
|
|
53
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
54
|
+
* link: { // ButtonLinkHandler
|
|
55
|
+
* url: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* reply: { // ButtonReplyHandler
|
|
58
|
+
* text: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* action: { // ButtonActionHandler
|
|
61
|
+
* id: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* attachments: [ // MessageAttachmentList
|
|
70
|
+
* { // MessageAttachment
|
|
71
|
+
* id: "STRING_VALUE", // required
|
|
72
|
+
* fsId: "STRING_VALUE", // required
|
|
73
|
+
* mime: "STRING_VALUE",
|
|
74
|
+
* name: "STRING_VALUE", // required
|
|
75
|
+
* size: Number("int"), // required
|
|
76
|
+
* width: Number("int"),
|
|
77
|
+
* height: Number("int"),
|
|
78
|
+
* thumbnail: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* messageId: "STRING_VALUE", // required
|
|
82
|
+
* user: { // User
|
|
83
|
+
* id: "STRING_VALUE", // required
|
|
84
|
+
* name: "STRING_VALUE",
|
|
85
|
+
* email: "STRING_VALUE",
|
|
86
|
+
* phone: "STRING_VALUE",
|
|
87
|
+
* picture: "STRING_VALUE",
|
|
88
|
+
* locale: "STRING_VALUE",
|
|
89
|
+
* timeZone: "STRING_VALUE",
|
|
90
|
+
* company: "STRING_VALUE",
|
|
91
|
+
* bot: true || false,
|
|
92
|
+
* pbxDomain: "STRING_VALUE",
|
|
93
|
+
* pbxPort: "STRING_VALUE",
|
|
94
|
+
* pbxExtension: "STRING_VALUE",
|
|
95
|
+
* pbxSerial: "STRING_VALUE",
|
|
96
|
+
* pbxUserId: "STRING_VALUE",
|
|
97
|
+
* createdAt: "STRING_VALUE",
|
|
98
|
+
* updatedAt: "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* initialMessage: { // InitialMessage
|
|
103
|
+
* text: "STRING_VALUE",
|
|
104
|
+
* elements: [
|
|
105
|
+
* {// Union: only one key present
|
|
106
|
+
* actions: [
|
|
107
|
+
* {// Union: only one key present
|
|
108
|
+
* button: {
|
|
109
|
+
* text: "STRING_VALUE", // required
|
|
110
|
+
* variant: "contained" || "outlined",
|
|
111
|
+
* disabled: true || false,
|
|
112
|
+
* handler: {// Union: only one key present
|
|
113
|
+
* link: {
|
|
114
|
+
* url: "STRING_VALUE", // required
|
|
115
|
+
* },
|
|
116
|
+
* reply: {
|
|
117
|
+
* text: "STRING_VALUE",
|
|
118
|
+
* },
|
|
119
|
+
* action: {
|
|
120
|
+
* id: "STRING_VALUE", // required
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* attachments: [
|
|
129
|
+
* {
|
|
130
|
+
* id: "STRING_VALUE", // required
|
|
131
|
+
* fsId: "STRING_VALUE", // required
|
|
132
|
+
* mime: "STRING_VALUE",
|
|
133
|
+
* name: "STRING_VALUE", // required
|
|
134
|
+
* size: Number("int"), // required
|
|
135
|
+
* width: Number("int"),
|
|
136
|
+
* height: Number("int"),
|
|
137
|
+
* thumbnail: "STRING_VALUE",
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* messageId: "STRING_VALUE", // required
|
|
141
|
+
* },
|
|
142
|
+
* };
|
|
143
|
+
* const command = new CreateKiteChannelCommand(input);
|
|
144
|
+
* const response = await client.send(command);
|
|
145
|
+
* // { // CreateKiteChannelOutput
|
|
146
|
+
* // channel: { // Channel
|
|
147
|
+
* // subject: "STRING_VALUE",
|
|
148
|
+
* // description: "STRING_VALUE",
|
|
149
|
+
* // picture: "STRING_VALUE",
|
|
150
|
+
* // pictureColor: "STRING_VALUE",
|
|
151
|
+
* // access: "private" || "public",
|
|
152
|
+
* // company: "STRING_VALUE",
|
|
153
|
+
* // context: { // ChannelContext
|
|
154
|
+
* // source: "kite",
|
|
155
|
+
* // target: "STRING_VALUE",
|
|
156
|
+
* // events: [ // ChannelContextEventList
|
|
157
|
+
* // { // ChannelContextEvent
|
|
158
|
+
* // id: "STRING_VALUE",
|
|
159
|
+
* // owner: "STRING_VALUE",
|
|
160
|
+
* // start: "STRING_VALUE",
|
|
161
|
+
* // end: "STRING_VALUE",
|
|
162
|
+
* // summary: "STRING_VALUE",
|
|
163
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
164
|
+
* // { // ChannelContextEventAttendee
|
|
165
|
+
* // email: "STRING_VALUE", // required
|
|
166
|
+
* // name: "STRING_VALUE",
|
|
167
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // },
|
|
173
|
+
* // kite: true || false,
|
|
174
|
+
* // kiteTarget: "STRING_VALUE",
|
|
175
|
+
* // kiteVariant: "STRING_VALUE",
|
|
176
|
+
* // kiteAssign: "STRING_VALUE",
|
|
177
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
178
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
179
|
+
* // service: "STRING_VALUE",
|
|
180
|
+
* // serviceTitle: "STRING_VALUE",
|
|
181
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
182
|
+
* // assignee: { // User
|
|
183
|
+
* // id: "STRING_VALUE", // required
|
|
184
|
+
* // name: "STRING_VALUE",
|
|
185
|
+
* // email: "STRING_VALUE",
|
|
186
|
+
* // phone: "STRING_VALUE",
|
|
187
|
+
* // picture: "STRING_VALUE",
|
|
188
|
+
* // locale: "STRING_VALUE",
|
|
189
|
+
* // timeZone: "STRING_VALUE",
|
|
190
|
+
* // company: "STRING_VALUE",
|
|
191
|
+
* // bot: true || false,
|
|
192
|
+
* // pbxDomain: "STRING_VALUE",
|
|
193
|
+
* // pbxPort: "STRING_VALUE",
|
|
194
|
+
* // pbxExtension: "STRING_VALUE",
|
|
195
|
+
* // pbxSerial: "STRING_VALUE",
|
|
196
|
+
* // pbxUserId: "STRING_VALUE",
|
|
197
|
+
* // createdAt: "STRING_VALUE",
|
|
198
|
+
* // updatedAt: "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // telephony: true || false,
|
|
201
|
+
* // sms: true || false,
|
|
202
|
+
* // mms: true || false,
|
|
203
|
+
* // whatsapp: true || false,
|
|
204
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
205
|
+
* // broadcast: true || false,
|
|
206
|
+
* // external: true || false,
|
|
207
|
+
* // channelId: "STRING_VALUE", // required
|
|
208
|
+
* // channelType: "direct" || "group", // required
|
|
209
|
+
* // memberCount: Number("int"), // required
|
|
210
|
+
* // createdAt: "STRING_VALUE", // required
|
|
211
|
+
* // createdBy: "STRING_VALUE", // required
|
|
212
|
+
* // updatedAt: "STRING_VALUE",
|
|
213
|
+
* // },
|
|
214
|
+
* // };
|
|
215
|
+
*
|
|
216
|
+
* ```
|
|
217
|
+
*
|
|
218
|
+
* @param CreateKiteChannelCommandInput - {@link CreateKiteChannelCommandInput}
|
|
219
|
+
* @returns {@link CreateKiteChannelCommandOutput}
|
|
220
|
+
* @see {@link CreateKiteChannelCommandInput} for command's `input` shape.
|
|
221
|
+
* @see {@link CreateKiteChannelCommandOutput} for command's `response` shape.
|
|
222
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
223
|
+
*
|
|
224
|
+
* @throws {@link TargetNotFoundException} (client fault)
|
|
225
|
+
*
|
|
226
|
+
* @throws {@link TargetNotEligibleException} (client fault)
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link ValidationException} (client fault)
|
|
229
|
+
*
|
|
230
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
233
|
+
*
|
|
234
|
+
* @throws {@link ConversationsServiceException}
|
|
235
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
236
|
+
*
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
export declare class CreateKiteChannelCommand extends CreateKiteChannelCommand_base {
|
|
240
|
+
}
|