@wildix/xbees-conversations-client 1.0.56 → 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.
Files changed (56) hide show
  1. package/dist-cjs/Conversations.js +22 -2
  2. package/dist-cjs/commands/{CreateKiteChannelCommand.js → CreateInboxTagCommand.js} +7 -7
  3. package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
  4. package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
  5. package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
  6. package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
  7. package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
  8. package/dist-cjs/commands/PinChannelCommand.js +21 -0
  9. package/dist-cjs/commands/TagChannelCommand.js +21 -0
  10. package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
  11. package/dist-cjs/commands/UntagChannelCommand.js +21 -0
  12. package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +11 -1
  14. package/dist-cjs/models/models_0.js +74 -39
  15. package/dist-cjs/protocols/Aws_restJson1.js +373 -26
  16. package/dist-es/Conversations.js +22 -2
  17. package/dist-es/commands/CreateInboxTagCommand.js +17 -0
  18. package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
  19. package/dist-es/commands/GetInboxStateCommand.js +17 -0
  20. package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
  21. package/dist-es/commands/ListInboxTagsCommand.js +17 -0
  22. package/dist-es/commands/MarkUnreadCommand.js +17 -0
  23. package/dist-es/commands/PinChannelCommand.js +17 -0
  24. package/dist-es/commands/TagChannelCommand.js +17 -0
  25. package/dist-es/commands/UnpinChannelCommand.js +17 -0
  26. package/dist-es/commands/UntagChannelCommand.js +17 -0
  27. package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
  28. package/dist-es/commands/index.js +11 -1
  29. package/dist-es/models/models_0.js +68 -36
  30. package/dist-es/protocols/Aws_restJson1.js +350 -23
  31. package/dist-types/Conversations.d.ts +77 -5
  32. package/dist-types/ConversationsClient.d.ts +13 -3
  33. package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
  34. package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
  35. package/dist-types/commands/DescribeEventCommand.d.ts +0 -30
  36. package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
  37. package/dist-types/commands/GetMessageCommand.d.ts +0 -6
  38. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
  39. package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
  40. package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
  41. package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
  42. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +0 -12
  43. package/dist-types/commands/PinChannelCommand.d.ts +75 -0
  44. package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
  45. package/dist-types/commands/SendMessageCommand.d.ts +0 -12
  46. package/dist-types/commands/TagChannelCommand.d.ts +76 -0
  47. package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
  48. package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
  49. package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
  50. package/dist-types/commands/UpdateMessageCommand.d.ts +0 -12
  51. package/dist-types/commands/index.d.ts +11 -1
  52. package/dist-types/models/models_0.d.ts +412 -217
  53. package/dist-types/protocols/Aws_restJson1.d.ts +95 -5
  54. package/package.json +1 -1
  55. package/dist-es/commands/CreateKiteChannelCommand.js +0 -17
  56. package/dist-types/commands/CreateKiteChannelCommand.d.ts +0 -300
@@ -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 { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "../commands/CreateKiteChannelCommand";
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/Get
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/J
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 { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
@@ -50,9 +60,9 @@ export declare const se_AddChannelMembersCommand: (input: AddChannelMembersComma
50
60
  */
51
61
  export declare const se_CreateGroupChannelCommand: (input: CreateGroupChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
62
  /**
53
- * serializeAws_restJson1CreateKiteChannelCommand
63
+ * serializeAws_restJson1CreateInboxTagCommand
54
64
  */
55
- export declare const se_CreateKiteChannelCommand: (input: CreateKiteChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ export declare const se_CreateInboxTagCommand: (input: CreateInboxTagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
66
  /**
57
67
  * serializeAws_restJson1DeleteChannelCommand
58
68
  */
@@ -61,6 +71,10 @@ export declare const se_DeleteChannelCommand: (input: DeleteChannelCommandInput,
61
71
  * serializeAws_restJson1DeleteChannelMemberCommand
62
72
  */
63
73
  export declare const se_DeleteChannelMemberCommand: (input: DeleteChannelMemberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
+ /**
75
+ * serializeAws_restJson1DeleteInboxTagCommand
76
+ */
77
+ export declare const se_DeleteInboxTagCommand: (input: DeleteInboxTagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
78
  /**
65
79
  * serializeAws_restJson1DeleteMessageCommand
66
80
  */
@@ -89,6 +103,10 @@ export declare const se_GetDirectChannelIdCommand: (input: GetDirectChannelIdCom
89
103
  * serializeAws_restJson1GetFilePresignedDownloadUrlCommand
90
104
  */
91
105
  export declare const se_GetFilePresignedDownloadUrlCommand: (input: GetFilePresignedDownloadUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
+ /**
107
+ * serializeAws_restJson1GetInboxStateCommand
108
+ */
109
+ export declare const se_GetInboxStateCommand: (input: GetInboxStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
110
  /**
93
111
  * serializeAws_restJson1GetMessageCommand
94
112
  */
@@ -125,6 +143,14 @@ export declare const se_ListChannelMembersCommand: (input: ListChannelMembersCom
125
143
  * serializeAws_restJson1ListChannelsCommand
126
144
  */
127
145
  export declare const se_ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
146
+ /**
147
+ * serializeAws_restJson1ListInboxTaggedChannelsCommand
148
+ */
149
+ export declare const se_ListInboxTaggedChannelsCommand: (input: ListInboxTaggedChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
+ /**
151
+ * serializeAws_restJson1ListInboxTagsCommand
152
+ */
153
+ export declare const se_ListInboxTagsCommand: (input: ListInboxTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
128
154
  /**
129
155
  * serializeAws_restJson1ListMessageReactionsCommand
130
156
  */
@@ -137,6 +163,10 @@ export declare const se_ListMessagesCommand: (input: ListMessagesCommandInput, c
137
163
  * serializeAws_restJson1MarkReadCommand
138
164
  */
139
165
  export declare const se_MarkReadCommand: (input: MarkReadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
166
+ /**
167
+ * serializeAws_restJson1MarkUnreadCommand
168
+ */
169
+ export declare const se_MarkUnreadCommand: (input: MarkUnreadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
140
170
  /**
141
171
  * serializeAws_restJson1PartialUpdateChannelCommand
142
172
  */
@@ -145,6 +175,10 @@ export declare const se_PartialUpdateChannelCommand: (input: PartialUpdateChanne
145
175
  * serializeAws_restJson1PartialUpdateMessageCommand
146
176
  */
147
177
  export declare const se_PartialUpdateMessageCommand: (input: PartialUpdateMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
178
+ /**
179
+ * serializeAws_restJson1PinChannelCommand
180
+ */
181
+ export declare const se_PinChannelCommand: (input: PinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
148
182
  /**
149
183
  * serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
150
184
  */
@@ -173,10 +207,26 @@ export declare const se_SendTypingStopCommand: (input: SendTypingStopCommandInpu
173
207
  * serializeAws_restJson1ShowChannelCommand
174
208
  */
175
209
  export declare const se_ShowChannelCommand: (input: ShowChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
210
+ /**
211
+ * serializeAws_restJson1TagChannelCommand
212
+ */
213
+ export declare const se_TagChannelCommand: (input: TagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
214
+ /**
215
+ * serializeAws_restJson1UnpinChannelCommand
216
+ */
217
+ export declare const se_UnpinChannelCommand: (input: UnpinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
+ /**
219
+ * serializeAws_restJson1UntagChannelCommand
220
+ */
221
+ export declare const se_UntagChannelCommand: (input: UntagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
222
  /**
177
223
  * serializeAws_restJson1UpdateChannelCommand
178
224
  */
179
225
  export declare const se_UpdateChannelCommand: (input: UpdateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
226
+ /**
227
+ * serializeAws_restJson1UpdateInboxTagCommand
228
+ */
229
+ export declare const se_UpdateInboxTagCommand: (input: UpdateInboxTagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
180
230
  /**
181
231
  * serializeAws_restJson1UpdateMessageCommand
182
232
  */
@@ -198,9 +248,9 @@ export declare const de_AddChannelMembersCommand: (output: __HttpResponse, conte
198
248
  */
199
249
  export declare const de_CreateGroupChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGroupChannelCommandOutput>;
200
250
  /**
201
- * deserializeAws_restJson1CreateKiteChannelCommand
251
+ * deserializeAws_restJson1CreateInboxTagCommand
202
252
  */
203
- export declare const de_CreateKiteChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKiteChannelCommandOutput>;
253
+ export declare const de_CreateInboxTagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInboxTagCommandOutput>;
204
254
  /**
205
255
  * deserializeAws_restJson1DeleteChannelCommand
206
256
  */
@@ -209,6 +259,10 @@ export declare const de_DeleteChannelCommand: (output: __HttpResponse, context:
209
259
  * deserializeAws_restJson1DeleteChannelMemberCommand
210
260
  */
211
261
  export declare const de_DeleteChannelMemberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChannelMemberCommandOutput>;
262
+ /**
263
+ * deserializeAws_restJson1DeleteInboxTagCommand
264
+ */
265
+ export declare const de_DeleteInboxTagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInboxTagCommandOutput>;
212
266
  /**
213
267
  * deserializeAws_restJson1DeleteMessageCommand
214
268
  */
@@ -237,6 +291,10 @@ export declare const de_GetDirectChannelIdCommand: (output: __HttpResponse, cont
237
291
  * deserializeAws_restJson1GetFilePresignedDownloadUrlCommand
238
292
  */
239
293
  export declare const de_GetFilePresignedDownloadUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFilePresignedDownloadUrlCommandOutput>;
294
+ /**
295
+ * deserializeAws_restJson1GetInboxStateCommand
296
+ */
297
+ export declare const de_GetInboxStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInboxStateCommandOutput>;
240
298
  /**
241
299
  * deserializeAws_restJson1GetMessageCommand
242
300
  */
@@ -273,6 +331,14 @@ export declare const de_ListChannelMembersCommand: (output: __HttpResponse, cont
273
331
  * deserializeAws_restJson1ListChannelsCommand
274
332
  */
275
333
  export declare const de_ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
334
+ /**
335
+ * deserializeAws_restJson1ListInboxTaggedChannelsCommand
336
+ */
337
+ export declare const de_ListInboxTaggedChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInboxTaggedChannelsCommandOutput>;
338
+ /**
339
+ * deserializeAws_restJson1ListInboxTagsCommand
340
+ */
341
+ export declare const de_ListInboxTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInboxTagsCommandOutput>;
276
342
  /**
277
343
  * deserializeAws_restJson1ListMessageReactionsCommand
278
344
  */
@@ -285,6 +351,10 @@ export declare const de_ListMessagesCommand: (output: __HttpResponse, context: _
285
351
  * deserializeAws_restJson1MarkReadCommand
286
352
  */
287
353
  export declare const de_MarkReadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MarkReadCommandOutput>;
354
+ /**
355
+ * deserializeAws_restJson1MarkUnreadCommand
356
+ */
357
+ export declare const de_MarkUnreadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MarkUnreadCommandOutput>;
288
358
  /**
289
359
  * deserializeAws_restJson1PartialUpdateChannelCommand
290
360
  */
@@ -293,6 +363,10 @@ export declare const de_PartialUpdateChannelCommand: (output: __HttpResponse, co
293
363
  * deserializeAws_restJson1PartialUpdateMessageCommand
294
364
  */
295
365
  export declare const de_PartialUpdateMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateMessageCommandOutput>;
366
+ /**
367
+ * deserializeAws_restJson1PinChannelCommand
368
+ */
369
+ export declare const de_PinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinChannelCommandOutput>;
296
370
  /**
297
371
  * deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
298
372
  */
@@ -321,10 +395,26 @@ export declare const de_SendTypingStopCommand: (output: __HttpResponse, context:
321
395
  * deserializeAws_restJson1ShowChannelCommand
322
396
  */
323
397
  export declare const de_ShowChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ShowChannelCommandOutput>;
398
+ /**
399
+ * deserializeAws_restJson1TagChannelCommand
400
+ */
401
+ export declare const de_TagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagChannelCommandOutput>;
402
+ /**
403
+ * deserializeAws_restJson1UnpinChannelCommand
404
+ */
405
+ export declare const de_UnpinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinChannelCommandOutput>;
406
+ /**
407
+ * deserializeAws_restJson1UntagChannelCommand
408
+ */
409
+ export declare const de_UntagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagChannelCommandOutput>;
324
410
  /**
325
411
  * deserializeAws_restJson1UpdateChannelCommand
326
412
  */
327
413
  export declare const de_UpdateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChannelCommandOutput>;
414
+ /**
415
+ * deserializeAws_restJson1UpdateInboxTagCommand
416
+ */
417
+ export declare const de_UpdateInboxTagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInboxTagCommandOutput>;
328
418
  /**
329
419
  * deserializeAws_restJson1UpdateMessageCommand
330
420
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.0.56",
4
+ "version": "1.0.57",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -1,17 +0,0 @@
1
- import { de_CreateKiteChannelCommand, se_CreateKiteChannelCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class CreateKiteChannelCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Conversations", "CreateKiteChannel", {})
12
- .n("ConversationsClient", "CreateKiteChannelCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreateKiteChannelCommand)
15
- .de(de_CreateKiteChannelCommand)
16
- .build() {
17
- }
@@ -1,300 +0,0 @@
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
- * attachments: [ // MessageAttachmentList
46
- * { // MessageAttachment
47
- * id: "STRING_VALUE", // required
48
- * fsId: "STRING_VALUE", // required
49
- * mime: "STRING_VALUE",
50
- * name: "STRING_VALUE", // required
51
- * size: Number("int"), // required
52
- * width: Number("int"),
53
- * height: Number("int"),
54
- * thumbnail: "STRING_VALUE",
55
- * },
56
- * ],
57
- * quote: { // MessageQuote
58
- * messageId: "STRING_VALUE", // required
59
- * channelId: "STRING_VALUE", // required
60
- * user: { // User
61
- * id: "STRING_VALUE", // required
62
- * name: "STRING_VALUE",
63
- * email: "STRING_VALUE",
64
- * phone: "STRING_VALUE",
65
- * picture: "STRING_VALUE",
66
- * locale: "STRING_VALUE",
67
- * timeZone: "STRING_VALUE",
68
- * company: "STRING_VALUE",
69
- * bot: true || false,
70
- * pbxDomain: "STRING_VALUE",
71
- * pbxPort: "STRING_VALUE",
72
- * pbxExtension: "STRING_VALUE",
73
- * pbxSerial: "STRING_VALUE",
74
- * pbxUserId: "STRING_VALUE",
75
- * createdAt: "STRING_VALUE",
76
- * updatedAt: "STRING_VALUE",
77
- * },
78
- * text: "STRING_VALUE",
79
- * attachments: [
80
- * {
81
- * id: "STRING_VALUE", // required
82
- * fsId: "STRING_VALUE", // required
83
- * mime: "STRING_VALUE",
84
- * name: "STRING_VALUE", // required
85
- * size: Number("int"), // required
86
- * width: Number("int"),
87
- * height: Number("int"),
88
- * thumbnail: "STRING_VALUE",
89
- * },
90
- * ],
91
- * forward: { // MessageForward
92
- * forwardCompany: "STRING_VALUE",
93
- * forwardDate: "STRING_VALUE", // required
94
- * forwardEmail: "STRING_VALUE",
95
- * forwardName: "STRING_VALUE",
96
- * },
97
- * mentions: [ // UsersList
98
- * {
99
- * id: "STRING_VALUE", // required
100
- * name: "STRING_VALUE",
101
- * email: "STRING_VALUE",
102
- * phone: "STRING_VALUE",
103
- * picture: "STRING_VALUE",
104
- * locale: "STRING_VALUE",
105
- * timeZone: "STRING_VALUE",
106
- * company: "STRING_VALUE",
107
- * bot: true || false,
108
- * pbxDomain: "STRING_VALUE",
109
- * pbxPort: "STRING_VALUE",
110
- * pbxExtension: "STRING_VALUE",
111
- * pbxSerial: "STRING_VALUE",
112
- * pbxUserId: "STRING_VALUE",
113
- * createdAt: "STRING_VALUE",
114
- * updatedAt: "STRING_VALUE",
115
- * },
116
- * ],
117
- * giphy: { // MessageGiphy
118
- * id: "STRING_VALUE", // required
119
- * size: "STRING_VALUE", // required
120
- * url: "STRING_VALUE", // required
121
- * height: "STRING_VALUE", // required
122
- * width: "STRING_VALUE", // required
123
- * },
124
- * createdAt: "STRING_VALUE", // required
125
- * updatedAt: "STRING_VALUE",
126
- * },
127
- * forward: {
128
- * forwardCompany: "STRING_VALUE",
129
- * forwardDate: "STRING_VALUE", // required
130
- * forwardEmail: "STRING_VALUE",
131
- * forwardName: "STRING_VALUE",
132
- * },
133
- * predefinedReplies: [ // MessagePredefinedRepliesList
134
- * { // MessagePredefinedReply
135
- * text: "STRING_VALUE", // required
136
- * label: "STRING_VALUE",
137
- * },
138
- * ],
139
- * type: "regular" || "system", // required
140
- * giphy: {
141
- * id: "STRING_VALUE", // required
142
- * size: "STRING_VALUE", // required
143
- * url: "STRING_VALUE", // required
144
- * height: "STRING_VALUE", // required
145
- * width: "STRING_VALUE", // required
146
- * },
147
- * silent: true || false,
148
- * event: "STRING_VALUE",
149
- * sms: true || false,
150
- * smsStatus: "sent" || "delivered" || "trying" || "error",
151
- * whatsapp: true || false,
152
- * whatsappStatus: "trying" || "sent" || "delivered" || "error",
153
- * messageId: "STRING_VALUE", // required
154
- * user: "<User>", // required
155
- * },
156
- * ],
157
- * initialMessage: { // InitialMessage
158
- * text: "STRING_VALUE",
159
- * attachments: "<MessageAttachmentList>",
160
- * quote: {
161
- * messageId: "STRING_VALUE", // required
162
- * channelId: "STRING_VALUE", // required
163
- * user: "<User>", // required
164
- * text: "STRING_VALUE",
165
- * attachments: "<MessageAttachmentList>",
166
- * forward: {
167
- * forwardCompany: "STRING_VALUE",
168
- * forwardDate: "STRING_VALUE", // required
169
- * forwardEmail: "STRING_VALUE",
170
- * forwardName: "STRING_VALUE",
171
- * },
172
- * mentions: [
173
- * "<User>",
174
- * ],
175
- * giphy: {
176
- * id: "STRING_VALUE", // required
177
- * size: "STRING_VALUE", // required
178
- * url: "STRING_VALUE", // required
179
- * height: "STRING_VALUE", // required
180
- * width: "STRING_VALUE", // required
181
- * },
182
- * createdAt: "STRING_VALUE", // required
183
- * updatedAt: "STRING_VALUE",
184
- * },
185
- * forward: "<MessageForward>",
186
- * predefinedReplies: [
187
- * {
188
- * text: "STRING_VALUE", // required
189
- * label: "STRING_VALUE",
190
- * },
191
- * ],
192
- * type: "regular" || "system", // required
193
- * giphy: "<MessageGiphy>",
194
- * silent: true || false,
195
- * event: "STRING_VALUE",
196
- * sms: true || false,
197
- * smsStatus: "sent" || "delivered" || "trying" || "error",
198
- * whatsapp: true || false,
199
- * whatsappStatus: "trying" || "sent" || "delivered" || "error",
200
- * messageId: "STRING_VALUE", // required
201
- * },
202
- * };
203
- * const command = new CreateKiteChannelCommand(input);
204
- * const response = await client.send(command);
205
- * // { // CreateKiteChannelOutput
206
- * // channel: { // Channel
207
- * // subject: "STRING_VALUE",
208
- * // description: "STRING_VALUE",
209
- * // picture: "STRING_VALUE",
210
- * // pictureColor: "STRING_VALUE",
211
- * // access: "private" || "public",
212
- * // company: "STRING_VALUE",
213
- * // context: { // ChannelContext
214
- * // source: "kite",
215
- * // target: "STRING_VALUE",
216
- * // events: [ // ChannelContextEventList
217
- * // { // ChannelContextEvent
218
- * // id: "STRING_VALUE",
219
- * // owner: "STRING_VALUE",
220
- * // start: "STRING_VALUE",
221
- * // end: "STRING_VALUE",
222
- * // summary: "STRING_VALUE",
223
- * // attendees: [ // ChannelContextEventAttendeeList
224
- * // { // ChannelContextEventAttendee
225
- * // email: "STRING_VALUE", // required
226
- * // name: "STRING_VALUE",
227
- * // status: "accepted" || "tentative" || "declined" || "none", // required
228
- * // },
229
- * // ],
230
- * // },
231
- * // ],
232
- * // },
233
- * // kite: true || false,
234
- * // kiteTarget: "STRING_VALUE",
235
- * // kiteVariant: "STRING_VALUE",
236
- * // kiteAssign: "STRING_VALUE",
237
- * // kiteServiceName: "STRING_VALUE",
238
- * // kiteDefaultSubject: "STRING_VALUE",
239
- * // service: "STRING_VALUE",
240
- * // serviceTitle: "STRING_VALUE",
241
- * // serviceRecipient: "STRING_VALUE",
242
- * // assignee: { // User
243
- * // id: "STRING_VALUE", // required
244
- * // name: "STRING_VALUE",
245
- * // email: "STRING_VALUE",
246
- * // phone: "STRING_VALUE",
247
- * // picture: "STRING_VALUE",
248
- * // locale: "STRING_VALUE",
249
- * // timeZone: "STRING_VALUE",
250
- * // company: "STRING_VALUE",
251
- * // bot: true || false,
252
- * // pbxDomain: "STRING_VALUE",
253
- * // pbxPort: "STRING_VALUE",
254
- * // pbxExtension: "STRING_VALUE",
255
- * // pbxSerial: "STRING_VALUE",
256
- * // pbxUserId: "STRING_VALUE",
257
- * // createdAt: "STRING_VALUE",
258
- * // updatedAt: "STRING_VALUE",
259
- * // },
260
- * // telephony: true || false,
261
- * // sms: true || false,
262
- * // mms: true || false,
263
- * // whatsapp: true || false,
264
- * // whatsappStatus: "24h_channel_closed",
265
- * // broadcast: true || false,
266
- * // external: true || false,
267
- * // channelId: "STRING_VALUE", // required
268
- * // channelType: "direct" || "group", // required
269
- * // memberCount: Number("int"), // required
270
- * // createdAt: "STRING_VALUE", // required
271
- * // createdBy: "STRING_VALUE", // required
272
- * // updatedAt: "STRING_VALUE",
273
- * // },
274
- * // };
275
- *
276
- * ```
277
- *
278
- * @param CreateKiteChannelCommandInput - {@link CreateKiteChannelCommandInput}
279
- * @returns {@link CreateKiteChannelCommandOutput}
280
- * @see {@link CreateKiteChannelCommandInput} for command's `input` shape.
281
- * @see {@link CreateKiteChannelCommandOutput} for command's `response` shape.
282
- * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
283
- *
284
- * @throws {@link TargetNotFoundException} (client fault)
285
- *
286
- * @throws {@link TargetNotEligibleException} (client fault)
287
- *
288
- * @throws {@link ValidationException} (client fault)
289
- *
290
- * @throws {@link ForbiddenException} (client fault)
291
- *
292
- * @throws {@link RateLimitExceededException} (client fault)
293
- *
294
- * @throws {@link ConversationsServiceException}
295
- * <p>Base exception class for all service exceptions from Conversations service.</p>
296
- *
297
- * @public
298
- */
299
- export declare class CreateKiteChannelCommand extends CreateKiteChannelCommand_base {
300
- }