@wildix/xbees-kite-client 1.0.14 → 1.0.17

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 (67) hide show
  1. package/dist-cjs/Kite.js +20 -0
  2. package/dist-cjs/KiteClient.js +4 -5
  3. package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +21 -0
  4. package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +21 -0
  5. package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +21 -0
  6. package/dist-cjs/commands/ListSmsConfigurationsCommand.js +21 -0
  7. package/dist-cjs/commands/ListSmsNumbersCommand.js +21 -0
  8. package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +21 -0
  9. package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +21 -0
  10. package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +21 -0
  11. package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +21 -0
  12. package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +113 -22
  15. package/dist-cjs/protocols/Aws_restJson1.js +380 -74
  16. package/dist-cjs/runtimeConfig.browser.js +1 -1
  17. package/dist-cjs/runtimeConfig.js +4 -3
  18. package/dist-cjs/runtimeExtensions.js +2 -10
  19. package/dist-es/Kite.js +20 -0
  20. package/dist-es/KiteClient.js +4 -5
  21. package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +17 -0
  22. package/dist-es/commands/GetSmsNumberConfigurationCommand.js +17 -0
  23. package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +17 -0
  24. package/dist-es/commands/ListSmsConfigurationsCommand.js +17 -0
  25. package/dist-es/commands/ListSmsNumbersCommand.js +17 -0
  26. package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +17 -0
  27. package/dist-es/commands/ListWhatsAppNumbersCommand.js +17 -0
  28. package/dist-es/commands/ListWhatsAppTemplatesCommand.js +17 -0
  29. package/dist-es/commands/PutSmsNumberConfigurationCommand.js +17 -0
  30. package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +17 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +105 -15
  33. package/dist-es/protocols/Aws_restJson1.js +334 -48
  34. package/dist-es/runtimeConfig.browser.js +2 -2
  35. package/dist-es/runtimeConfig.js +5 -4
  36. package/dist-es/runtimeExtensions.js +2 -10
  37. package/dist-types/Kite.d.ts +74 -0
  38. package/dist-types/KiteClient.d.ts +12 -2
  39. package/dist-types/commands/CancelCalendarEventCommand.d.ts +17 -0
  40. package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +414 -0
  41. package/dist-types/commands/CreateWidgetCommand.d.ts +118 -0
  42. package/dist-types/commands/DeleteWidgetCommand.d.ts +14 -0
  43. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +14 -0
  44. package/dist-types/commands/GetConfigCommand.d.ts +14 -0
  45. package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +178 -0
  46. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +178 -0
  47. package/dist-types/commands/GetWidgetCommand.d.ts +66 -0
  48. package/dist-types/commands/ListAgentsCommand.d.ts +14 -0
  49. package/dist-types/commands/ListServicesCommand.d.ts +14 -0
  50. package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +179 -0
  51. package/dist-types/commands/ListSmsNumbersCommand.d.ts +82 -0
  52. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +179 -0
  53. package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +82 -0
  54. package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +118 -0
  55. package/dist-types/commands/ListWidgetsCommand.d.ts +66 -0
  56. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +270 -0
  57. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +270 -0
  58. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +17 -0
  59. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +17 -0
  60. package/dist-types/commands/UpdateWidgetCommand.d.ts +118 -0
  61. package/dist-types/commands/index.d.ts +10 -0
  62. package/dist-types/models/models_0.d.ts +900 -154
  63. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  65. package/dist-types/runtimeConfig.d.ts +2 -1
  66. package/dist-types/runtimeConfig.native.d.ts +2 -1
  67. package/package.json +37 -33
@@ -76,6 +76,9 @@ declare const ScheduleCalendarEventCommand_base: {
76
76
  * // ],
77
77
  * // },
78
78
  * // ],
79
+ * // ptt: { // ChannelContextPushToTalk
80
+ * // broadcastId: "STRING_VALUE",
81
+ * // },
79
82
  * // },
80
83
  * // kite: true || false,
81
84
  * // kiteTarget: "STRING_VALUE",
@@ -144,6 +147,8 @@ declare const ScheduleCalendarEventCommand_base: {
144
147
  *
145
148
  * @throws {@link ValidationException} (client fault)
146
149
  *
150
+ * @throws {@link NotFoundException} (client fault)
151
+ *
147
152
  * @throws {@link ForbiddenException} (client fault)
148
153
  *
149
154
  * @throws {@link RateLimitExceededException} (client fault)
@@ -151,6 +156,18 @@ declare const ScheduleCalendarEventCommand_base: {
151
156
  * @throws {@link KiteServiceException}
152
157
  * <p>Base exception class for all service exceptions from Kite service.</p>
153
158
  *
159
+ *
154
160
  */
155
161
  export declare class ScheduleCalendarEventCommand extends ScheduleCalendarEventCommand_base {
162
+ /** @internal type navigation helper, not in runtime. */
163
+ protected static __types: {
164
+ api: {
165
+ input: ScheduleCalendarEventInput;
166
+ output: ScheduleCalendarEventOutput;
167
+ };
168
+ sdk: {
169
+ input: ScheduleCalendarEventCommandInput;
170
+ output: ScheduleCalendarEventCommandOutput;
171
+ };
172
+ };
156
173
  }
@@ -102,6 +102,32 @@ declare const UpdateWidgetCommand_base: {
102
102
  * id: "STRING_VALUE", // required
103
103
  * },
104
104
  * },
105
+ * actions: [ // RouteActions
106
+ * { // RouteAction
107
+ * id: "STRING_VALUE", // required
108
+ * conditions: [ // RouteActionConditions
109
+ * { // RouteActionCondition Union: only one key present
110
+ * replyTimeout: { // RouteReplyTimeoutCondition
111
+ * timeout: Number("int"), // required
112
+ * },
113
+ * readTimeout: { // RouteReadTimeoutCondition
114
+ * timeout: Number("int"), // required
115
+ * },
116
+ * },
117
+ * ],
118
+ * task: { // RouteActionTask Union: only one key present
119
+ * sendMessage: { // RouteSendMessageTask
120
+ * botId: "STRING_VALUE", // required
121
+ * text: "STRING_VALUE", // required
122
+ * },
123
+ * addMembers: { // RouteAddMembersTask
124
+ * emails: [ // RouteAddMembersUsersList // required
125
+ * "STRING_VALUE",
126
+ * ],
127
+ * },
128
+ * },
129
+ * },
130
+ * ],
105
131
  * },
106
132
  * ],
107
133
  * welcomeMessages: [
@@ -147,6 +173,32 @@ declare const UpdateWidgetCommand_base: {
147
173
  * id: "STRING_VALUE", // required
148
174
  * },
149
175
  * },
176
+ * actions: [
177
+ * {
178
+ * id: "STRING_VALUE", // required
179
+ * conditions: [
180
+ * {// Union: only one key present
181
+ * replyTimeout: {
182
+ * timeout: Number("int"), // required
183
+ * },
184
+ * readTimeout: {
185
+ * timeout: Number("int"), // required
186
+ * },
187
+ * },
188
+ * ],
189
+ * task: {// Union: only one key present
190
+ * sendMessage: {
191
+ * botId: "STRING_VALUE", // required
192
+ * text: "STRING_VALUE", // required
193
+ * },
194
+ * addMembers: {
195
+ * emails: [ // required
196
+ * "STRING_VALUE",
197
+ * ],
198
+ * },
199
+ * },
200
+ * },
201
+ * ],
150
202
  * companyId: "STRING_VALUE",
151
203
  * widgetId: "STRING_VALUE", // required
152
204
  * };
@@ -221,6 +273,32 @@ declare const UpdateWidgetCommand_base: {
221
273
  * // id: "STRING_VALUE", // required
222
274
  * // },
223
275
  * // },
276
+ * // actions: [ // RouteActions
277
+ * // { // RouteAction
278
+ * // id: "STRING_VALUE", // required
279
+ * // conditions: [ // RouteActionConditions
280
+ * // { // RouteActionCondition Union: only one key present
281
+ * // replyTimeout: { // RouteReplyTimeoutCondition
282
+ * // timeout: Number("int"), // required
283
+ * // },
284
+ * // readTimeout: { // RouteReadTimeoutCondition
285
+ * // timeout: Number("int"), // required
286
+ * // },
287
+ * // },
288
+ * // ],
289
+ * // task: { // RouteActionTask Union: only one key present
290
+ * // sendMessage: { // RouteSendMessageTask
291
+ * // botId: "STRING_VALUE", // required
292
+ * // text: "STRING_VALUE", // required
293
+ * // },
294
+ * // addMembers: { // RouteAddMembersTask
295
+ * // emails: [ // RouteAddMembersUsersList // required
296
+ * // "STRING_VALUE",
297
+ * // ],
298
+ * // },
299
+ * // },
300
+ * // },
301
+ * // ],
224
302
  * // },
225
303
  * // ],
226
304
  * // welcomeMessages: [
@@ -266,6 +344,32 @@ declare const UpdateWidgetCommand_base: {
266
344
  * // id: "STRING_VALUE", // required
267
345
  * // },
268
346
  * // },
347
+ * // actions: [
348
+ * // {
349
+ * // id: "STRING_VALUE", // required
350
+ * // conditions: [
351
+ * // {// Union: only one key present
352
+ * // replyTimeout: {
353
+ * // timeout: Number("int"), // required
354
+ * // },
355
+ * // readTimeout: {
356
+ * // timeout: Number("int"), // required
357
+ * // },
358
+ * // },
359
+ * // ],
360
+ * // task: {// Union: only one key present
361
+ * // sendMessage: {
362
+ * // botId: "STRING_VALUE", // required
363
+ * // text: "STRING_VALUE", // required
364
+ * // },
365
+ * // addMembers: {
366
+ * // emails: [ // required
367
+ * // "STRING_VALUE",
368
+ * // ],
369
+ * // },
370
+ * // },
371
+ * // },
372
+ * // ],
269
373
  * // id: "STRING_VALUE", // required
270
374
  * // company: "STRING_VALUE", // required
271
375
  * // createdAt: "STRING_VALUE", // required
@@ -283,6 +387,8 @@ declare const UpdateWidgetCommand_base: {
283
387
  *
284
388
  * @throws {@link ValidationException} (client fault)
285
389
  *
390
+ * @throws {@link NotFoundException} (client fault)
391
+ *
286
392
  * @throws {@link ForbiddenException} (client fault)
287
393
  *
288
394
  * @throws {@link RateLimitExceededException} (client fault)
@@ -290,7 +396,19 @@ declare const UpdateWidgetCommand_base: {
290
396
  * @throws {@link KiteServiceException}
291
397
  * <p>Base exception class for all service exceptions from Kite service.</p>
292
398
  *
399
+ *
293
400
  * @public
294
401
  */
295
402
  export declare class UpdateWidgetCommand extends UpdateWidgetCommand_base {
403
+ /** @internal type navigation helper, not in runtime. */
404
+ protected static __types: {
405
+ api: {
406
+ input: UpdateWidgetInput;
407
+ output: UpdateWidgetOutput;
408
+ };
409
+ sdk: {
410
+ input: UpdateWidgetCommandInput;
411
+ output: UpdateWidgetCommandOutput;
412
+ };
413
+ };
296
414
  }
@@ -1,12 +1,22 @@
1
1
  export * from "./CancelCalendarEventCommand";
2
+ export * from "./CreateOrUpdateWidgetPreviewCommand";
2
3
  export * from "./CreateWidgetCommand";
3
4
  export * from "./DeleteWidgetCommand";
4
5
  export * from "./GetCalendarSlotsCommand";
5
6
  export * from "./GetConfigCommand";
7
+ export * from "./GetSmsNumberConfigurationCommand";
8
+ export * from "./GetWhatsAppNumberConfigurationCommand";
6
9
  export * from "./GetWidgetCommand";
7
10
  export * from "./ListAgentsCommand";
8
11
  export * from "./ListServicesCommand";
12
+ export * from "./ListSmsConfigurationsCommand";
13
+ export * from "./ListSmsNumbersCommand";
14
+ export * from "./ListWhatsAppConfigurationsCommand";
15
+ export * from "./ListWhatsAppNumbersCommand";
16
+ export * from "./ListWhatsAppTemplatesCommand";
9
17
  export * from "./ListWidgetsCommand";
18
+ export * from "./PutSmsNumberConfigurationCommand";
19
+ export * from "./PutWhatsAppNumberConfigurationCommand";
10
20
  export * from "./RescheduleCalendarEventCommand";
11
21
  export * from "./ScheduleCalendarEventCommand";
12
22
  export * from "./UpdateWidgetCommand";