@wildix/xbees-kite-client 1.0.15 → 1.0.18

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