@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
@@ -1,12 +1,22 @@
1
1
  import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
2
+ import { CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput } from "./commands/CreateOrUpdateWidgetPreviewCommand";
2
3
  import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
3
4
  import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
4
5
  import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
5
6
  import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
7
+ import { GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput } from "./commands/GetSmsNumberConfigurationCommand";
8
+ import { GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput } from "./commands/GetWhatsAppNumberConfigurationCommand";
6
9
  import { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
7
10
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
8
11
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
12
+ import { ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput } from "./commands/ListSmsConfigurationsCommand";
13
+ import { ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput } from "./commands/ListSmsNumbersCommand";
14
+ import { ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput } from "./commands/ListWhatsAppConfigurationsCommand";
15
+ import { ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput } from "./commands/ListWhatsAppNumbersCommand";
16
+ import { ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput } from "./commands/ListWhatsAppTemplatesCommand";
9
17
  import { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "./commands/ListWidgetsCommand";
18
+ import { PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput } from "./commands/PutSmsNumberConfigurationCommand";
19
+ import { PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput } from "./commands/PutWhatsAppNumberConfigurationCommand";
10
20
  import { RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput } from "./commands/RescheduleCalendarEventCommand";
11
21
  import { ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput } from "./commands/ScheduleCalendarEventCommand";
12
22
  import { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "./commands/UpdateWidgetCommand";
@@ -21,11 +31,11 @@ export { __Client };
21
31
  /**
22
32
  * @public
23
33
  */
24
- export type ServiceInputTypes = CancelCalendarEventCommandInput | CreateWidgetCommandInput | DeleteWidgetCommandInput | GetCalendarSlotsCommandInput | GetConfigCommandInput | GetWidgetCommandInput | ListAgentsCommandInput | ListServicesCommandInput | ListWidgetsCommandInput | RescheduleCalendarEventCommandInput | ScheduleCalendarEventCommandInput | UpdateWidgetCommandInput;
34
+ export type ServiceInputTypes = CancelCalendarEventCommandInput | CreateOrUpdateWidgetPreviewCommandInput | CreateWidgetCommandInput | DeleteWidgetCommandInput | GetCalendarSlotsCommandInput | GetConfigCommandInput | GetSmsNumberConfigurationCommandInput | GetWhatsAppNumberConfigurationCommandInput | GetWidgetCommandInput | ListAgentsCommandInput | ListServicesCommandInput | ListSmsConfigurationsCommandInput | ListSmsNumbersCommandInput | ListWhatsAppConfigurationsCommandInput | ListWhatsAppNumbersCommandInput | ListWhatsAppTemplatesCommandInput | ListWidgetsCommandInput | PutSmsNumberConfigurationCommandInput | PutWhatsAppNumberConfigurationCommandInput | RescheduleCalendarEventCommandInput | ScheduleCalendarEventCommandInput | UpdateWidgetCommandInput;
25
35
  /**
26
36
  * @public
27
37
  */
28
- export type ServiceOutputTypes = CancelCalendarEventCommandOutput | CreateWidgetCommandOutput | DeleteWidgetCommandOutput | GetCalendarSlotsCommandOutput | GetConfigCommandOutput | GetWidgetCommandOutput | ListAgentsCommandOutput | ListServicesCommandOutput | ListWidgetsCommandOutput | RescheduleCalendarEventCommandOutput | ScheduleCalendarEventCommandOutput | UpdateWidgetCommandOutput;
38
+ export type ServiceOutputTypes = CancelCalendarEventCommandOutput | CreateOrUpdateWidgetPreviewCommandOutput | CreateWidgetCommandOutput | DeleteWidgetCommandOutput | GetCalendarSlotsCommandOutput | GetConfigCommandOutput | GetSmsNumberConfigurationCommandOutput | GetWhatsAppNumberConfigurationCommandOutput | GetWidgetCommandOutput | ListAgentsCommandOutput | ListServicesCommandOutput | ListSmsConfigurationsCommandOutput | ListSmsNumbersCommandOutput | ListWhatsAppConfigurationsCommandOutput | ListWhatsAppNumbersCommandOutput | ListWhatsAppTemplatesCommandOutput | ListWidgetsCommandOutput | PutSmsNumberConfigurationCommandOutput | PutWhatsAppNumberConfigurationCommandOutput | RescheduleCalendarEventCommandOutput | ScheduleCalendarEventCommandOutput | UpdateWidgetCommandOutput;
29
39
  /**
30
40
  * @public
31
41
  */
@@ -70,6 +70,9 @@ declare const CancelCalendarEventCommand_base: {
70
70
  * // ],
71
71
  * // },
72
72
  * // ],
73
+ * // ptt: { // ChannelContextPushToTalk
74
+ * // broadcastId: "STRING_VALUE",
75
+ * // },
73
76
  * // },
74
77
  * // kite: true || false,
75
78
  * // kiteTarget: "STRING_VALUE",
@@ -136,6 +139,8 @@ declare const CancelCalendarEventCommand_base: {
136
139
  *
137
140
  * @throws {@link ValidationException} (client fault)
138
141
  *
142
+ * @throws {@link NotFoundException} (client fault)
143
+ *
139
144
  * @throws {@link ForbiddenException} (client fault)
140
145
  *
141
146
  * @throws {@link RateLimitExceededException} (client fault)
@@ -143,6 +148,18 @@ declare const CancelCalendarEventCommand_base: {
143
148
  * @throws {@link KiteServiceException}
144
149
  * <p>Base exception class for all service exceptions from Kite service.</p>
145
150
  *
151
+ *
146
152
  */
147
153
  export declare class CancelCalendarEventCommand extends CancelCalendarEventCommand_base {
154
+ /** @internal type navigation helper, not in runtime. */
155
+ protected static __types: {
156
+ api: {
157
+ input: CancelCalendarEventInput;
158
+ output: CancelCalendarEventOutput;
159
+ };
160
+ sdk: {
161
+ input: CancelCalendarEventCommandInput;
162
+ output: CancelCalendarEventCommandOutput;
163
+ };
164
+ };
148
165
  }
@@ -0,0 +1,414 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { CreateOrUpdateWidgetPreviewInput, CreateOrUpdateWidgetPreviewOutput } 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 CreateOrUpdateWidgetPreviewCommand}.
14
+ */
15
+ export interface CreateOrUpdateWidgetPreviewCommandInput extends CreateOrUpdateWidgetPreviewInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateOrUpdateWidgetPreviewCommand}.
21
+ */
22
+ export interface CreateOrUpdateWidgetPreviewCommandOutput extends CreateOrUpdateWidgetPreviewOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateOrUpdateWidgetPreviewCommand_base: {
25
+ new (input: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateOrUpdateWidgetPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrUpdateWidgetPreviewCommandInput, CreateOrUpdateWidgetPreviewCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates or updates a temporary widget to assist with configuration testing. Preview widgets mimic the behavior and appearance of regular widgets but are automatically deleted after two hours. They are primarily designed for use in the Kite configuration interface, enabling users to experiment with settings and instantly visualize how changes affect the widget's design and functionality.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { KiteClient, CreateOrUpdateWidgetPreviewCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
+ * // const { KiteClient, CreateOrUpdateWidgetPreviewCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
36
+ * const client = new KiteClient(config);
37
+ * const input = { // CreateOrUpdateWidgetPreviewInput
38
+ * appearance: { // WidgetAppearance
39
+ * pallete: { // WidgetPalleteSettings
40
+ * backgroundColor: "STRING_VALUE",
41
+ * accentColor: "STRING_VALUE",
42
+ * },
43
+ * text: { // WidgetTextSettings
44
+ * button: "STRING_VALUE",
45
+ * title: "STRING_VALUE",
46
+ * topTitle: "STRING_VALUE",
47
+ * topSubtitle: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * routes: [ // WidgetRoutesList
51
+ * { // WidgetRoute
52
+ * id: "STRING_VALUE", // required
53
+ * rules: [ // WidgetRouteRulesList // required
54
+ * { // WidgetRouteRule Union: only one key present
55
+ * timeFrame: { // WidgetRouteTimeFrameRule
56
+ * timeZone: "STRING_VALUE", // required
57
+ * day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
58
+ * startMinute: Number("int"), // required
59
+ * endMinute: Number("int"), // required
60
+ * },
61
+ * },
62
+ * ],
63
+ * welcomeMessages: [ // WidgetWelcomeMessagesList
64
+ * { // WidgetWelcomeMessage
65
+ * text: "STRING_VALUE",
66
+ * elements: [ // ElementsList
67
+ * { // Element Union: only one key present
68
+ * actions: [ // ActionsElementsList
69
+ * { // ActionElement Union: only one key present
70
+ * button: { // ButtonElement
71
+ * text: "STRING_VALUE", // required
72
+ * handler: { // ButtonHandler Union: only one key present
73
+ * link: { // ButtonLinkHandler
74
+ * url: "STRING_VALUE", // required
75
+ * },
76
+ * reply: { // ButtonReplyHandler
77
+ * text: "STRING_VALUE",
78
+ * },
79
+ * action: { // ButtonActionHandler
80
+ * id: "STRING_VALUE", // required
81
+ * },
82
+ * },
83
+ * variant: "contained" || "outlined",
84
+ * disabled: true || false,
85
+ * },
86
+ * },
87
+ * ],
88
+ * },
89
+ * ],
90
+ * delay: Number("int"),
91
+ * },
92
+ * ],
93
+ * target: { // WidgetTarget Union: only one key present
94
+ * service: { // WidgetServiceTarget
95
+ * id: Number("int"), // required
96
+ * uri: "STRING_VALUE", // required
97
+ * },
98
+ * agent: { // WidgetAgentTarget
99
+ * email: "STRING_VALUE", // required
100
+ * },
101
+ * bot: { // WidgetBotTarget
102
+ * id: "STRING_VALUE", // required
103
+ * },
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
+ * ],
131
+ * },
132
+ * ],
133
+ * welcomeMessages: [
134
+ * {
135
+ * text: "STRING_VALUE",
136
+ * elements: [
137
+ * {// Union: only one key present
138
+ * actions: [
139
+ * {// Union: only one key present
140
+ * button: {
141
+ * text: "STRING_VALUE", // required
142
+ * handler: {// Union: only one key present
143
+ * link: {
144
+ * url: "STRING_VALUE", // required
145
+ * },
146
+ * reply: {
147
+ * text: "STRING_VALUE",
148
+ * },
149
+ * action: {
150
+ * id: "STRING_VALUE", // required
151
+ * },
152
+ * },
153
+ * variant: "contained" || "outlined",
154
+ * disabled: true || false,
155
+ * },
156
+ * },
157
+ * ],
158
+ * },
159
+ * ],
160
+ * delay: Number("int"),
161
+ * },
162
+ * ],
163
+ * name: "STRING_VALUE", // required
164
+ * target: {// Union: only one key present
165
+ * service: {
166
+ * id: Number("int"), // required
167
+ * uri: "STRING_VALUE", // required
168
+ * },
169
+ * agent: {
170
+ * email: "STRING_VALUE", // required
171
+ * },
172
+ * bot: {
173
+ * id: "STRING_VALUE", // required
174
+ * },
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
+ * ],
202
+ * companyId: "STRING_VALUE",
203
+ * temporaryWidgetId: "STRING_VALUE", // required
204
+ * };
205
+ * const command = new CreateOrUpdateWidgetPreviewCommand(input);
206
+ * const response = await client.send(command);
207
+ * // { // CreateOrUpdateWidgetPreviewOutput
208
+ * // widget: { // Widget
209
+ * // appearance: { // WidgetAppearance
210
+ * // pallete: { // WidgetPalleteSettings
211
+ * // backgroundColor: "STRING_VALUE",
212
+ * // accentColor: "STRING_VALUE",
213
+ * // },
214
+ * // text: { // WidgetTextSettings
215
+ * // button: "STRING_VALUE",
216
+ * // title: "STRING_VALUE",
217
+ * // topTitle: "STRING_VALUE",
218
+ * // topSubtitle: "STRING_VALUE",
219
+ * // },
220
+ * // },
221
+ * // routes: [ // WidgetRoutesList
222
+ * // { // WidgetRoute
223
+ * // id: "STRING_VALUE", // required
224
+ * // rules: [ // WidgetRouteRulesList // required
225
+ * // { // WidgetRouteRule Union: only one key present
226
+ * // timeFrame: { // WidgetRouteTimeFrameRule
227
+ * // timeZone: "STRING_VALUE", // required
228
+ * // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
229
+ * // startMinute: Number("int"), // required
230
+ * // endMinute: Number("int"), // required
231
+ * // },
232
+ * // },
233
+ * // ],
234
+ * // welcomeMessages: [ // WidgetWelcomeMessagesList
235
+ * // { // WidgetWelcomeMessage
236
+ * // text: "STRING_VALUE",
237
+ * // elements: [ // ElementsList
238
+ * // { // Element Union: only one key present
239
+ * // actions: [ // ActionsElementsList
240
+ * // { // ActionElement Union: only one key present
241
+ * // button: { // ButtonElement
242
+ * // text: "STRING_VALUE", // required
243
+ * // handler: { // ButtonHandler Union: only one key present
244
+ * // link: { // ButtonLinkHandler
245
+ * // url: "STRING_VALUE", // required
246
+ * // },
247
+ * // reply: { // ButtonReplyHandler
248
+ * // text: "STRING_VALUE",
249
+ * // },
250
+ * // action: { // ButtonActionHandler
251
+ * // id: "STRING_VALUE", // required
252
+ * // },
253
+ * // },
254
+ * // variant: "contained" || "outlined",
255
+ * // disabled: true || false,
256
+ * // },
257
+ * // },
258
+ * // ],
259
+ * // },
260
+ * // ],
261
+ * // delay: Number("int"),
262
+ * // },
263
+ * // ],
264
+ * // target: { // WidgetTarget Union: only one key present
265
+ * // service: { // WidgetServiceTarget
266
+ * // id: Number("int"), // required
267
+ * // uri: "STRING_VALUE", // required
268
+ * // },
269
+ * // agent: { // WidgetAgentTarget
270
+ * // email: "STRING_VALUE", // required
271
+ * // },
272
+ * // bot: { // WidgetBotTarget
273
+ * // id: "STRING_VALUE", // required
274
+ * // },
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
+ * // ],
302
+ * // },
303
+ * // ],
304
+ * // welcomeMessages: [
305
+ * // {
306
+ * // text: "STRING_VALUE",
307
+ * // elements: [
308
+ * // {// Union: only one key present
309
+ * // actions: [
310
+ * // {// Union: only one key present
311
+ * // button: {
312
+ * // text: "STRING_VALUE", // required
313
+ * // handler: {// Union: only one key present
314
+ * // link: {
315
+ * // url: "STRING_VALUE", // required
316
+ * // },
317
+ * // reply: {
318
+ * // text: "STRING_VALUE",
319
+ * // },
320
+ * // action: {
321
+ * // id: "STRING_VALUE", // required
322
+ * // },
323
+ * // },
324
+ * // variant: "contained" || "outlined",
325
+ * // disabled: true || false,
326
+ * // },
327
+ * // },
328
+ * // ],
329
+ * // },
330
+ * // ],
331
+ * // delay: Number("int"),
332
+ * // },
333
+ * // ],
334
+ * // name: "STRING_VALUE", // required
335
+ * // target: {// Union: only one key present
336
+ * // service: {
337
+ * // id: Number("int"), // required
338
+ * // uri: "STRING_VALUE", // required
339
+ * // },
340
+ * // agent: {
341
+ * // email: "STRING_VALUE", // required
342
+ * // },
343
+ * // bot: {
344
+ * // id: "STRING_VALUE", // required
345
+ * // },
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
+ * // ],
373
+ * // id: "STRING_VALUE", // required
374
+ * // company: "STRING_VALUE", // required
375
+ * // createdAt: "STRING_VALUE", // required
376
+ * // updatedAt: "STRING_VALUE",
377
+ * // },
378
+ * // };
379
+ *
380
+ * ```
381
+ *
382
+ * @param CreateOrUpdateWidgetPreviewCommandInput - {@link CreateOrUpdateWidgetPreviewCommandInput}
383
+ * @returns {@link CreateOrUpdateWidgetPreviewCommandOutput}
384
+ * @see {@link CreateOrUpdateWidgetPreviewCommandInput} for command's `input` shape.
385
+ * @see {@link CreateOrUpdateWidgetPreviewCommandOutput} for command's `response` shape.
386
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
387
+ *
388
+ * @throws {@link ValidationException} (client fault)
389
+ *
390
+ * @throws {@link NotFoundException} (client fault)
391
+ *
392
+ * @throws {@link ForbiddenException} (client fault)
393
+ *
394
+ * @throws {@link RateLimitExceededException} (client fault)
395
+ *
396
+ * @throws {@link KiteServiceException}
397
+ * <p>Base exception class for all service exceptions from Kite service.</p>
398
+ *
399
+ *
400
+ * @public
401
+ */
402
+ export declare class CreateOrUpdateWidgetPreviewCommand extends CreateOrUpdateWidgetPreviewCommand_base {
403
+ /** @internal type navigation helper, not in runtime. */
404
+ protected static __types: {
405
+ api: {
406
+ input: CreateOrUpdateWidgetPreviewInput;
407
+ output: CreateOrUpdateWidgetPreviewOutput;
408
+ };
409
+ sdk: {
410
+ input: CreateOrUpdateWidgetPreviewCommandInput;
411
+ output: CreateOrUpdateWidgetPreviewCommandOutput;
412
+ };
413
+ };
414
+ }
@@ -102,6 +102,32 @@ declare const CreateWidgetCommand_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 CreateWidgetCommand_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
  * };
152
204
  * const command = new CreateWidgetCommand(input);
@@ -220,6 +272,32 @@ declare const CreateWidgetCommand_base: {
220
272
  * // id: "STRING_VALUE", // required
221
273
  * // },
222
274
  * // },
275
+ * // actions: [ // RouteActions
276
+ * // { // RouteAction
277
+ * // id: "STRING_VALUE", // required
278
+ * // conditions: [ // RouteActionConditions
279
+ * // { // RouteActionCondition Union: only one key present
280
+ * // replyTimeout: { // RouteReplyTimeoutCondition
281
+ * // timeout: Number("int"), // required
282
+ * // },
283
+ * // readTimeout: { // RouteReadTimeoutCondition
284
+ * // timeout: Number("int"), // required
285
+ * // },
286
+ * // },
287
+ * // ],
288
+ * // task: { // RouteActionTask Union: only one key present
289
+ * // sendMessage: { // RouteSendMessageTask
290
+ * // botId: "STRING_VALUE", // required
291
+ * // text: "STRING_VALUE", // required
292
+ * // },
293
+ * // addMembers: { // RouteAddMembersTask
294
+ * // emails: [ // RouteAddMembersUsersList // required
295
+ * // "STRING_VALUE",
296
+ * // ],
297
+ * // },
298
+ * // },
299
+ * // },
300
+ * // ],
223
301
  * // },
224
302
  * // ],
225
303
  * // welcomeMessages: [
@@ -265,6 +343,32 @@ declare const CreateWidgetCommand_base: {
265
343
  * // id: "STRING_VALUE", // required
266
344
  * // },
267
345
  * // },
346
+ * // actions: [
347
+ * // {
348
+ * // id: "STRING_VALUE", // required
349
+ * // conditions: [
350
+ * // {// Union: only one key present
351
+ * // replyTimeout: {
352
+ * // timeout: Number("int"), // required
353
+ * // },
354
+ * // readTimeout: {
355
+ * // timeout: Number("int"), // required
356
+ * // },
357
+ * // },
358
+ * // ],
359
+ * // task: {// Union: only one key present
360
+ * // sendMessage: {
361
+ * // botId: "STRING_VALUE", // required
362
+ * // text: "STRING_VALUE", // required
363
+ * // },
364
+ * // addMembers: {
365
+ * // emails: [ // required
366
+ * // "STRING_VALUE",
367
+ * // ],
368
+ * // },
369
+ * // },
370
+ * // },
371
+ * // ],
268
372
  * // id: "STRING_VALUE", // required
269
373
  * // company: "STRING_VALUE", // required
270
374
  * // createdAt: "STRING_VALUE", // required
@@ -282,6 +386,8 @@ declare const CreateWidgetCommand_base: {
282
386
  *
283
387
  * @throws {@link ValidationException} (client fault)
284
388
  *
389
+ * @throws {@link NotFoundException} (client fault)
390
+ *
285
391
  * @throws {@link ForbiddenException} (client fault)
286
392
  *
287
393
  * @throws {@link RateLimitExceededException} (client fault)
@@ -289,7 +395,19 @@ declare const CreateWidgetCommand_base: {
289
395
  * @throws {@link KiteServiceException}
290
396
  * <p>Base exception class for all service exceptions from Kite service.</p>
291
397
  *
398
+ *
292
399
  * @public
293
400
  */
294
401
  export declare class CreateWidgetCommand extends CreateWidgetCommand_base {
402
+ /** @internal type navigation helper, not in runtime. */
403
+ protected static __types: {
404
+ api: {
405
+ input: CreateWidgetInput;
406
+ output: CreateWidgetOutput;
407
+ };
408
+ sdk: {
409
+ input: CreateWidgetCommandInput;
410
+ output: CreateWidgetCommandOutput;
411
+ };
412
+ };
295
413
  }
@@ -51,6 +51,8 @@ declare const DeleteWidgetCommand_base: {
51
51
  *
52
52
  * @throws {@link ValidationException} (client fault)
53
53
  *
54
+ * @throws {@link NotFoundException} (client fault)
55
+ *
54
56
  * @throws {@link ForbiddenException} (client fault)
55
57
  *
56
58
  * @throws {@link RateLimitExceededException} (client fault)
@@ -58,7 +60,19 @@ declare const DeleteWidgetCommand_base: {
58
60
  * @throws {@link KiteServiceException}
59
61
  * <p>Base exception class for all service exceptions from Kite service.</p>
60
62
  *
63
+ *
61
64
  * @public
62
65
  */
63
66
  export declare class DeleteWidgetCommand extends DeleteWidgetCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DeleteWidgetInput;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: DeleteWidgetCommandInput;
75
+ output: DeleteWidgetCommandOutput;
76
+ };
77
+ };
64
78
  }