@wildix/xbees-kite-client 1.0.15 → 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 (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 +342 -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 +296 -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 +118 -0
  39. package/dist-types/commands/CreateWidgetCommand.d.ts +118 -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 +178 -0
  44. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +178 -0
  45. package/dist-types/commands/GetWidgetCommand.d.ts +66 -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 +179 -0
  49. package/dist-types/commands/ListSmsNumbersCommand.d.ts +82 -0
  50. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +179 -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 +66 -0
  54. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +270 -0
  55. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +270 -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 +118 -0
  59. package/dist-types/commands/index.d.ts +9 -0
  60. package/dist-types/models/models_0.d.ts +869 -161
  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
@@ -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,32 @@ declare const CreateOrUpdateWidgetPreviewCommand_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
  * temporaryWidgetId: "STRING_VALUE", // required
152
204
  * };
@@ -221,6 +273,32 @@ declare const CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 CreateOrUpdateWidgetPreviewCommand_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 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
+ };
296
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
  }
@@ -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,178 @@
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
+ * // actions: [
113
+ * // {
114
+ * // id: "STRING_VALUE", // required
115
+ * // conditions: [
116
+ * // {// Union: only one key present
117
+ * // replyTimeout: {
118
+ * // timeout: Number("int"), // required
119
+ * // },
120
+ * // readTimeout: {
121
+ * // timeout: Number("int"), // required
122
+ * // },
123
+ * // },
124
+ * // ],
125
+ * // task: {// Union: only one key present
126
+ * // sendMessage: {
127
+ * // botId: "STRING_VALUE", // required
128
+ * // text: "STRING_VALUE", // required
129
+ * // },
130
+ * // addMembers: {
131
+ * // emails: [ // required
132
+ * // "STRING_VALUE",
133
+ * // ],
134
+ * // },
135
+ * // },
136
+ * // },
137
+ * // ],
138
+ * // companyId: "STRING_VALUE", // required
139
+ * // serviceNumber: "STRING_VALUE", // required
140
+ * // createdAt: "STRING_VALUE", // required
141
+ * // updatedAt: "STRING_VALUE",
142
+ * // },
143
+ * // };
144
+ *
145
+ * ```
146
+ *
147
+ * @param GetSmsNumberConfigurationCommandInput - {@link GetSmsNumberConfigurationCommandInput}
148
+ * @returns {@link GetSmsNumberConfigurationCommandOutput}
149
+ * @see {@link GetSmsNumberConfigurationCommandInput} for command's `input` shape.
150
+ * @see {@link GetSmsNumberConfigurationCommandOutput} for command's `response` shape.
151
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
152
+ *
153
+ * @throws {@link ValidationException} (client fault)
154
+ *
155
+ * @throws {@link NotFoundException} (client fault)
156
+ *
157
+ * @throws {@link ForbiddenException} (client fault)
158
+ *
159
+ * @throws {@link RateLimitExceededException} (client fault)
160
+ *
161
+ * @throws {@link KiteServiceException}
162
+ * <p>Base exception class for all service exceptions from Kite service.</p>
163
+ *
164
+ *
165
+ */
166
+ export declare class GetSmsNumberConfigurationCommand extends GetSmsNumberConfigurationCommand_base {
167
+ /** @internal type navigation helper, not in runtime. */
168
+ protected static __types: {
169
+ api: {
170
+ input: GetSmsNumberConfigurationInput;
171
+ output: GetSmsNumberConfigurationOutput;
172
+ };
173
+ sdk: {
174
+ input: GetSmsNumberConfigurationCommandInput;
175
+ output: GetSmsNumberConfigurationCommandOutput;
176
+ };
177
+ };
178
+ }