@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.
- package/dist-cjs/Kite.js +18 -0
- package/dist-cjs/KiteClient.js +4 -5
- package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +21 -0
- package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +21 -0
- package/dist-cjs/commands/ListSmsConfigurationsCommand.js +21 -0
- package/dist-cjs/commands/ListSmsNumbersCommand.js +21 -0
- package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +21 -0
- package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +21 -0
- package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +21 -0
- package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +21 -0
- package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +21 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +113 -22
- package/dist-cjs/protocols/Aws_restJson1.js +347 -76
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/Kite.js +18 -0
- package/dist-es/KiteClient.js +4 -5
- package/dist-es/commands/GetSmsNumberConfigurationCommand.js +17 -0
- package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +17 -0
- package/dist-es/commands/ListSmsConfigurationsCommand.js +17 -0
- package/dist-es/commands/ListSmsNumbersCommand.js +17 -0
- package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +17 -0
- package/dist-es/commands/ListWhatsAppNumbersCommand.js +17 -0
- package/dist-es/commands/ListWhatsAppTemplatesCommand.js +17 -0
- package/dist-es/commands/PutSmsNumberConfigurationCommand.js +17 -0
- package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +17 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +105 -15
- package/dist-es/protocols/Aws_restJson1.js +301 -48
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/Kite.d.ts +67 -0
- package/dist-types/KiteClient.d.ts +11 -2
- package/dist-types/commands/CancelCalendarEventCommand.d.ts +17 -0
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +120 -0
- package/dist-types/commands/CreateWidgetCommand.d.ts +120 -0
- package/dist-types/commands/DeleteWidgetCommand.d.ts +14 -0
- package/dist-types/commands/GetCalendarSlotsCommand.d.ts +14 -0
- package/dist-types/commands/GetConfigCommand.d.ts +14 -0
- package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +179 -0
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +179 -0
- package/dist-types/commands/GetWidgetCommand.d.ts +67 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +14 -0
- package/dist-types/commands/ListServicesCommand.d.ts +14 -0
- package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +180 -0
- package/dist-types/commands/ListSmsNumbersCommand.d.ts +82 -0
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +180 -0
- package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +82 -0
- package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +118 -0
- package/dist-types/commands/ListWidgetsCommand.d.ts +67 -0
- package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +272 -0
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +272 -0
- package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +17 -0
- package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +17 -0
- package/dist-types/commands/UpdateWidgetCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +908 -165
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/package.json +37 -33
|
@@ -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
|
}
|
|
@@ -102,6 +102,32 @@ declare const CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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
|
* temporaryWidgetId: "STRING_VALUE", // required
|
|
152
205
|
* };
|
|
@@ -221,6 +274,32 @@ declare const CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand extends CreateOrUpdateWidgetPreviewCommand_base {
|
|
405
|
+
/** @internal type navigation helper, not in runtime. */
|
|
406
|
+
protected static __types: {
|
|
407
|
+
api: {
|
|
408
|
+
input: CreateOrUpdateWidgetPreviewInput;
|
|
409
|
+
output: CreateOrUpdateWidgetPreviewOutput;
|
|
410
|
+
};
|
|
411
|
+
sdk: {
|
|
412
|
+
input: CreateOrUpdateWidgetPreviewCommandInput;
|
|
413
|
+
output: CreateOrUpdateWidgetPreviewCommandOutput;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
296
416
|
}
|
|
@@ -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,33 @@ declare const CreateWidgetCommand_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
|
* };
|
|
152
205
|
* const command = new CreateWidgetCommand(input);
|
|
@@ -220,6 +273,32 @@ declare const CreateWidgetCommand_base: {
|
|
|
220
273
|
* // id: "STRING_VALUE", // required
|
|
221
274
|
* // },
|
|
222
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
|
+
* // ],
|
|
223
302
|
* // },
|
|
224
303
|
* // ],
|
|
225
304
|
* // welcomeMessages: [
|
|
@@ -265,6 +344,33 @@ declare const CreateWidgetCommand_base: {
|
|
|
265
344
|
* // id: "STRING_VALUE", // required
|
|
266
345
|
* // },
|
|
267
346
|
* // },
|
|
347
|
+
* // reassign: true || false,
|
|
348
|
+
* // actions: [
|
|
349
|
+
* // {
|
|
350
|
+
* // id: "STRING_VALUE", // required
|
|
351
|
+
* // conditions: [
|
|
352
|
+
* // {// Union: only one key present
|
|
353
|
+
* // replyTimeout: {
|
|
354
|
+
* // timeout: Number("int"), // required
|
|
355
|
+
* // },
|
|
356
|
+
* // readTimeout: {
|
|
357
|
+
* // timeout: Number("int"), // required
|
|
358
|
+
* // },
|
|
359
|
+
* // },
|
|
360
|
+
* // ],
|
|
361
|
+
* // task: {// Union: only one key present
|
|
362
|
+
* // sendMessage: {
|
|
363
|
+
* // botId: "STRING_VALUE", // required
|
|
364
|
+
* // text: "STRING_VALUE", // required
|
|
365
|
+
* // },
|
|
366
|
+
* // addMembers: {
|
|
367
|
+
* // emails: [ // required
|
|
368
|
+
* // "STRING_VALUE",
|
|
369
|
+
* // ],
|
|
370
|
+
* // },
|
|
371
|
+
* // },
|
|
372
|
+
* // },
|
|
373
|
+
* // ],
|
|
268
374
|
* // id: "STRING_VALUE", // required
|
|
269
375
|
* // company: "STRING_VALUE", // required
|
|
270
376
|
* // createdAt: "STRING_VALUE", // required
|
|
@@ -282,6 +388,8 @@ declare const CreateWidgetCommand_base: {
|
|
|
282
388
|
*
|
|
283
389
|
* @throws {@link ValidationException} (client fault)
|
|
284
390
|
*
|
|
391
|
+
* @throws {@link NotFoundException} (client fault)
|
|
392
|
+
*
|
|
285
393
|
* @throws {@link ForbiddenException} (client fault)
|
|
286
394
|
*
|
|
287
395
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -289,7 +397,19 @@ declare const CreateWidgetCommand_base: {
|
|
|
289
397
|
* @throws {@link KiteServiceException}
|
|
290
398
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
291
399
|
*
|
|
400
|
+
*
|
|
292
401
|
* @public
|
|
293
402
|
*/
|
|
294
403
|
export declare class CreateWidgetCommand extends CreateWidgetCommand_base {
|
|
404
|
+
/** @internal type navigation helper, not in runtime. */
|
|
405
|
+
protected static __types: {
|
|
406
|
+
api: {
|
|
407
|
+
input: CreateWidgetInput;
|
|
408
|
+
output: CreateWidgetOutput;
|
|
409
|
+
};
|
|
410
|
+
sdk: {
|
|
411
|
+
input: CreateWidgetCommandInput;
|
|
412
|
+
output: CreateWidgetCommandOutput;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
295
415
|
}
|
|
@@ -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
|
}
|
|
@@ -79,6 +79,8 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
81
|
*
|
|
82
|
+
* @throws {@link NotFoundException} (client fault)
|
|
83
|
+
*
|
|
82
84
|
* @throws {@link ForbiddenException} (client fault)
|
|
83
85
|
*
|
|
84
86
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -86,6 +88,18 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
86
88
|
* @throws {@link KiteServiceException}
|
|
87
89
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
88
90
|
*
|
|
91
|
+
*
|
|
89
92
|
*/
|
|
90
93
|
export declare class GetCalendarSlotsCommand extends GetCalendarSlotsCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: GetCalendarSlotsInput;
|
|
98
|
+
output: GetCalendarSlotsOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: GetCalendarSlotsCommandInput;
|
|
102
|
+
output: GetCalendarSlotsCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
91
105
|
}
|
|
@@ -130,6 +130,8 @@ declare const GetConfigCommand_base: {
|
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link ValidationException} (client fault)
|
|
132
132
|
*
|
|
133
|
+
* @throws {@link NotFoundException} (client fault)
|
|
134
|
+
*
|
|
133
135
|
* @throws {@link ForbiddenException} (client fault)
|
|
134
136
|
*
|
|
135
137
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -137,6 +139,18 @@ declare const GetConfigCommand_base: {
|
|
|
137
139
|
* @throws {@link KiteServiceException}
|
|
138
140
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
139
141
|
*
|
|
142
|
+
*
|
|
140
143
|
*/
|
|
141
144
|
export declare class GetConfigCommand extends GetConfigCommand_base {
|
|
145
|
+
/** @internal type navigation helper, not in runtime. */
|
|
146
|
+
protected static __types: {
|
|
147
|
+
api: {
|
|
148
|
+
input: GetConfigInput;
|
|
149
|
+
output: GetConfigOutput;
|
|
150
|
+
};
|
|
151
|
+
sdk: {
|
|
152
|
+
input: GetConfigCommandInput;
|
|
153
|
+
output: GetConfigCommandOutput;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
142
156
|
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
|
|
2
|
+
import { GetSmsNumberConfigurationInput, GetSmsNumberConfigurationOutput } 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 GetSmsNumberConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSmsNumberConfigurationCommandInput extends GetSmsNumberConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSmsNumberConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSmsNumberConfigurationCommandOutput extends GetSmsNumberConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSmsNumberConfigurationCommand_base: {
|
|
25
|
+
new (input: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { KiteClient, GetSmsNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
|
|
36
|
+
* // const { KiteClient, GetSmsNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
|
|
37
|
+
* const client = new KiteClient(config);
|
|
38
|
+
* const input = { // GetSmsNumberConfigurationInput
|
|
39
|
+
* companyId: "STRING_VALUE",
|
|
40
|
+
* serviceNumber: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetSmsNumberConfigurationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetSmsNumberConfigurationOutput
|
|
45
|
+
* // configuration: { // SmsConfig
|
|
46
|
+
* // serviceUri: "STRING_VALUE", // required
|
|
47
|
+
* // routes: [ // SmsConfigRoutesList
|
|
48
|
+
* // { // SmsConfigRoute
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // rules: [ // RouteRulesList // required
|
|
51
|
+
* // { // RouteRule Union: only one key present
|
|
52
|
+
* // timeFrame: { // RouteTimeFrameRule
|
|
53
|
+
* // timeZone: "STRING_VALUE", // required
|
|
54
|
+
* // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
55
|
+
* // startMinute: Number("int"), // required
|
|
56
|
+
* // endMinute: Number("int"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // target: { // RouteTarget Union: only one key present
|
|
61
|
+
* // service: { // RouteServiceTarget
|
|
62
|
+
* // id: Number("int"), // required
|
|
63
|
+
* // uri: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // agent: { // RouteAgentTarget
|
|
66
|
+
* // email: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // bot: { // RouteBotTarget
|
|
69
|
+
* // id: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // actions: [ // RouteActions
|
|
73
|
+
* // { // RouteAction
|
|
74
|
+
* // id: "STRING_VALUE", // required
|
|
75
|
+
* // conditions: [ // RouteActionConditions
|
|
76
|
+
* // { // RouteActionCondition Union: only one key present
|
|
77
|
+
* // replyTimeout: { // RouteReplyTimeoutCondition
|
|
78
|
+
* // timeout: Number("int"), // required
|
|
79
|
+
* // },
|
|
80
|
+
* // readTimeout: { // RouteReadTimeoutCondition
|
|
81
|
+
* // timeout: Number("int"), // required
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // task: { // RouteActionTask Union: only one key present
|
|
86
|
+
* // sendMessage: { // RouteSendMessageTask
|
|
87
|
+
* // botId: "STRING_VALUE", // required
|
|
88
|
+
* // text: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // addMembers: { // RouteAddMembersTask
|
|
91
|
+
* // emails: [ // RouteAddMembersUsersList // required
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // target: {// Union: only one key present
|
|
101
|
+
* // service: {
|
|
102
|
+
* // id: Number("int"), // required
|
|
103
|
+
* // uri: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // agent: {
|
|
106
|
+
* // email: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // bot: {
|
|
109
|
+
* // id: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // reassign: true || false,
|
|
113
|
+
* // actions: [
|
|
114
|
+
* // {
|
|
115
|
+
* // id: "STRING_VALUE", // required
|
|
116
|
+
* // conditions: [
|
|
117
|
+
* // {// Union: only one key present
|
|
118
|
+
* // replyTimeout: {
|
|
119
|
+
* // timeout: Number("int"), // required
|
|
120
|
+
* // },
|
|
121
|
+
* // readTimeout: {
|
|
122
|
+
* // timeout: Number("int"), // required
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // task: {// Union: only one key present
|
|
127
|
+
* // sendMessage: {
|
|
128
|
+
* // botId: "STRING_VALUE", // required
|
|
129
|
+
* // text: "STRING_VALUE", // required
|
|
130
|
+
* // },
|
|
131
|
+
* // addMembers: {
|
|
132
|
+
* // emails: [ // required
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // companyId: "STRING_VALUE", // required
|
|
140
|
+
* // serviceNumber: "STRING_VALUE", // required
|
|
141
|
+
* // createdAt: "STRING_VALUE", // required
|
|
142
|
+
* // updatedAt: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // };
|
|
145
|
+
*
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* @param GetSmsNumberConfigurationCommandInput - {@link GetSmsNumberConfigurationCommandInput}
|
|
149
|
+
* @returns {@link GetSmsNumberConfigurationCommandOutput}
|
|
150
|
+
* @see {@link GetSmsNumberConfigurationCommandInput} for command's `input` shape.
|
|
151
|
+
* @see {@link GetSmsNumberConfigurationCommandOutput} for command's `response` shape.
|
|
152
|
+
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link ValidationException} (client fault)
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link NotFoundException} (client fault)
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link KiteServiceException}
|
|
163
|
+
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
164
|
+
*
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
export declare class GetSmsNumberConfigurationCommand extends GetSmsNumberConfigurationCommand_base {
|
|
168
|
+
/** @internal type navigation helper, not in runtime. */
|
|
169
|
+
protected static __types: {
|
|
170
|
+
api: {
|
|
171
|
+
input: GetSmsNumberConfigurationInput;
|
|
172
|
+
output: GetSmsNumberConfigurationOutput;
|
|
173
|
+
};
|
|
174
|
+
sdk: {
|
|
175
|
+
input: GetSmsNumberConfigurationCommandInput;
|
|
176
|
+
output: GetSmsNumberConfigurationCommandOutput;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
}
|