@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
@@ -0,0 +1,179 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { GetWhatsAppNumberConfigurationInput, GetWhatsAppNumberConfigurationOutput } 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 GetWhatsAppNumberConfigurationCommand}.
14
+ */
15
+ export interface GetWhatsAppNumberConfigurationCommandInput extends GetWhatsAppNumberConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWhatsAppNumberConfigurationCommand}.
21
+ */
22
+ export interface GetWhatsAppNumberConfigurationCommandOutput extends GetWhatsAppNumberConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const GetWhatsAppNumberConfigurationCommand_base: {
25
+ new (input: GetWhatsAppNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetWhatsAppNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppNumberConfigurationCommandInput, GetWhatsAppNumberConfigurationCommandOutput, 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, GetWhatsAppNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, GetWhatsAppNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // GetWhatsAppNumberConfigurationInput
39
+ * companyId: "STRING_VALUE",
40
+ * serviceNumber: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetWhatsAppNumberConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetWhatsAppNumberConfigurationOutput
45
+ * // configuration: { // WhatsAppConfig
46
+ * // serviceUri: "STRING_VALUE", // required
47
+ * // routes: [ // WhatsAppConfigRoutesList
48
+ * // { // WhatsAppConfigRoute
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
+ * // reassign: true || false,
73
+ * // actions: [ // RouteActions
74
+ * // { // RouteAction
75
+ * // id: "STRING_VALUE", // required
76
+ * // conditions: [ // RouteActionConditions
77
+ * // { // RouteActionCondition Union: only one key present
78
+ * // replyTimeout: { // RouteReplyTimeoutCondition
79
+ * // timeout: Number("int"), // required
80
+ * // },
81
+ * // readTimeout: { // RouteReadTimeoutCondition
82
+ * // timeout: Number("int"), // required
83
+ * // },
84
+ * // },
85
+ * // ],
86
+ * // task: { // RouteActionTask Union: only one key present
87
+ * // sendMessage: { // RouteSendMessageTask
88
+ * // botId: "STRING_VALUE", // required
89
+ * // text: "STRING_VALUE", // required
90
+ * // },
91
+ * // addMembers: { // RouteAddMembersTask
92
+ * // emails: [ // RouteAddMembersUsersList // required
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
96
+ * // },
97
+ * // },
98
+ * // ],
99
+ * // },
100
+ * // ],
101
+ * // target: {// Union: only one key present
102
+ * // service: {
103
+ * // id: Number("int"), // required
104
+ * // uri: "STRING_VALUE", // required
105
+ * // },
106
+ * // agent: {
107
+ * // email: "STRING_VALUE", // required
108
+ * // },
109
+ * // bot: {
110
+ * // id: "STRING_VALUE", // required
111
+ * // },
112
+ * // },
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 GetWhatsAppNumberConfigurationCommandInput - {@link GetWhatsAppNumberConfigurationCommandInput}
149
+ * @returns {@link GetWhatsAppNumberConfigurationCommandOutput}
150
+ * @see {@link GetWhatsAppNumberConfigurationCommandInput} for command's `input` shape.
151
+ * @see {@link GetWhatsAppNumberConfigurationCommandOutput} 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 GetWhatsAppNumberConfigurationCommand extends GetWhatsAppNumberConfigurationCommand_base {
168
+ /** @internal type navigation helper, not in runtime. */
169
+ protected static __types: {
170
+ api: {
171
+ input: GetWhatsAppNumberConfigurationInput;
172
+ output: GetWhatsAppNumberConfigurationOutput;
173
+ };
174
+ sdk: {
175
+ input: GetWhatsAppNumberConfigurationCommandInput;
176
+ output: GetWhatsAppNumberConfigurationCommandOutput;
177
+ };
178
+ };
179
+ }
@@ -108,6 +108,32 @@ declare const GetWidgetCommand_base: {
108
108
  * // id: "STRING_VALUE", // required
109
109
  * // },
110
110
  * // },
111
+ * // actions: [ // RouteActions
112
+ * // { // RouteAction
113
+ * // id: "STRING_VALUE", // required
114
+ * // conditions: [ // RouteActionConditions
115
+ * // { // RouteActionCondition Union: only one key present
116
+ * // replyTimeout: { // RouteReplyTimeoutCondition
117
+ * // timeout: Number("int"), // required
118
+ * // },
119
+ * // readTimeout: { // RouteReadTimeoutCondition
120
+ * // timeout: Number("int"), // required
121
+ * // },
122
+ * // },
123
+ * // ],
124
+ * // task: { // RouteActionTask Union: only one key present
125
+ * // sendMessage: { // RouteSendMessageTask
126
+ * // botId: "STRING_VALUE", // required
127
+ * // text: "STRING_VALUE", // required
128
+ * // },
129
+ * // addMembers: { // RouteAddMembersTask
130
+ * // emails: [ // RouteAddMembersUsersList // required
131
+ * // "STRING_VALUE",
132
+ * // ],
133
+ * // },
134
+ * // },
135
+ * // },
136
+ * // ],
111
137
  * // },
112
138
  * // ],
113
139
  * // welcomeMessages: [
@@ -153,6 +179,33 @@ declare const GetWidgetCommand_base: {
153
179
  * // id: "STRING_VALUE", // required
154
180
  * // },
155
181
  * // },
182
+ * // reassign: true || false,
183
+ * // actions: [
184
+ * // {
185
+ * // id: "STRING_VALUE", // required
186
+ * // conditions: [
187
+ * // {// Union: only one key present
188
+ * // replyTimeout: {
189
+ * // timeout: Number("int"), // required
190
+ * // },
191
+ * // readTimeout: {
192
+ * // timeout: Number("int"), // required
193
+ * // },
194
+ * // },
195
+ * // ],
196
+ * // task: {// Union: only one key present
197
+ * // sendMessage: {
198
+ * // botId: "STRING_VALUE", // required
199
+ * // text: "STRING_VALUE", // required
200
+ * // },
201
+ * // addMembers: {
202
+ * // emails: [ // required
203
+ * // "STRING_VALUE",
204
+ * // ],
205
+ * // },
206
+ * // },
207
+ * // },
208
+ * // ],
156
209
  * // id: "STRING_VALUE", // required
157
210
  * // company: "STRING_VALUE", // required
158
211
  * // createdAt: "STRING_VALUE", // required
@@ -172,6 +225,8 @@ declare const GetWidgetCommand_base: {
172
225
  *
173
226
  * @throws {@link ValidationException} (client fault)
174
227
  *
228
+ * @throws {@link NotFoundException} (client fault)
229
+ *
175
230
  * @throws {@link ForbiddenException} (client fault)
176
231
  *
177
232
  * @throws {@link RateLimitExceededException} (client fault)
@@ -179,7 +234,19 @@ declare const GetWidgetCommand_base: {
179
234
  * @throws {@link KiteServiceException}
180
235
  * <p>Base exception class for all service exceptions from Kite service.</p>
181
236
  *
237
+ *
182
238
  * @public
183
239
  */
184
240
  export declare class GetWidgetCommand extends GetWidgetCommand_base {
241
+ /** @internal type navigation helper, not in runtime. */
242
+ protected static __types: {
243
+ api: {
244
+ input: GetWidgetInput;
245
+ output: GetWidgetOutput;
246
+ };
247
+ sdk: {
248
+ input: GetWidgetCommandInput;
249
+ output: GetWidgetCommandOutput;
250
+ };
251
+ };
185
252
  }
@@ -82,6 +82,8 @@ declare const ListAgentsCommand_base: {
82
82
  *
83
83
  * @throws {@link ValidationException} (client fault)
84
84
  *
85
+ * @throws {@link NotFoundException} (client fault)
86
+ *
85
87
  * @throws {@link ForbiddenException} (client fault)
86
88
  *
87
89
  * @throws {@link RateLimitExceededException} (client fault)
@@ -89,6 +91,18 @@ declare const ListAgentsCommand_base: {
89
91
  * @throws {@link KiteServiceException}
90
92
  * <p>Base exception class for all service exceptions from Kite service.</p>
91
93
  *
94
+ *
92
95
  */
93
96
  export declare class ListAgentsCommand extends ListAgentsCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListAgentsInput;
101
+ output: ListAgentsOutput;
102
+ };
103
+ sdk: {
104
+ input: ListAgentsCommandInput;
105
+ output: ListAgentsCommandOutput;
106
+ };
107
+ };
94
108
  }
@@ -68,6 +68,8 @@ declare const ListServicesCommand_base: {
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
70
  *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ *
71
73
  * @throws {@link ForbiddenException} (client fault)
72
74
  *
73
75
  * @throws {@link RateLimitExceededException} (client fault)
@@ -75,6 +77,18 @@ declare const ListServicesCommand_base: {
75
77
  * @throws {@link KiteServiceException}
76
78
  * <p>Base exception class for all service exceptions from Kite service.</p>
77
79
  *
80
+ *
78
81
  */
79
82
  export declare class ListServicesCommand extends ListServicesCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListServicesInput;
87
+ output: ListServicesOutput;
88
+ };
89
+ sdk: {
90
+ input: ListServicesCommandInput;
91
+ output: ListServicesCommandOutput;
92
+ };
93
+ };
80
94
  }
@@ -0,0 +1,180 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ListSmsConfigurationsInput, ListSmsConfigurationsOutput } 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 ListSmsConfigurationsCommand}.
14
+ */
15
+ export interface ListSmsConfigurationsCommandInput extends ListSmsConfigurationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSmsConfigurationsCommand}.
21
+ */
22
+ export interface ListSmsConfigurationsCommandOutput extends ListSmsConfigurationsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSmsConfigurationsCommand_base: {
25
+ new (input: ListSmsConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSmsConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSmsConfigurationsCommandInput, ListSmsConfigurationsCommandOutput, 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, ListSmsConfigurationsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ListSmsConfigurationsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ListSmsConfigurationsInput
39
+ * companyId: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListSmsConfigurationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListSmsConfigurationsOutput
44
+ * // configurations: [ // SmsConfigsList // required
45
+ * // { // 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
+ *
149
+ * @param ListSmsConfigurationsCommandInput - {@link ListSmsConfigurationsCommandInput}
150
+ * @returns {@link ListSmsConfigurationsCommandOutput}
151
+ * @see {@link ListSmsConfigurationsCommandInput} for command's `input` shape.
152
+ * @see {@link ListSmsConfigurationsCommandOutput} for command's `response` shape.
153
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
154
+ *
155
+ * @throws {@link ValidationException} (client fault)
156
+ *
157
+ * @throws {@link NotFoundException} (client fault)
158
+ *
159
+ * @throws {@link ForbiddenException} (client fault)
160
+ *
161
+ * @throws {@link RateLimitExceededException} (client fault)
162
+ *
163
+ * @throws {@link KiteServiceException}
164
+ * <p>Base exception class for all service exceptions from Kite service.</p>
165
+ *
166
+ *
167
+ */
168
+ export declare class ListSmsConfigurationsCommand extends ListSmsConfigurationsCommand_base {
169
+ /** @internal type navigation helper, not in runtime. */
170
+ protected static __types: {
171
+ api: {
172
+ input: ListSmsConfigurationsInput;
173
+ output: ListSmsConfigurationsOutput;
174
+ };
175
+ sdk: {
176
+ input: ListSmsConfigurationsCommandInput;
177
+ output: ListSmsConfigurationsCommandOutput;
178
+ };
179
+ };
180
+ }
@@ -0,0 +1,82 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ListSmsNumbersInput, ListSmsNumbersOutput } 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 ListSmsNumbersCommand}.
14
+ */
15
+ export interface ListSmsNumbersCommandInput extends ListSmsNumbersInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSmsNumbersCommand}.
21
+ */
22
+ export interface ListSmsNumbersCommandOutput extends ListSmsNumbersOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSmsNumbersCommand_base: {
25
+ new (input: ListSmsNumbersCommandInput): import("@smithy/smithy-client").CommandImpl<ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSmsNumbersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSmsNumbersCommandInput, ListSmsNumbersCommandOutput, 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, ListSmsNumbersCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ListSmsNumbersCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ListSmsNumbersInput
39
+ * companyId: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListSmsNumbersCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListSmsNumbersOutput
44
+ * // numbers: [ // SmsServiceNumbersList // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param ListSmsNumbersCommandInput - {@link ListSmsNumbersCommandInput}
52
+ * @returns {@link ListSmsNumbersCommandOutput}
53
+ * @see {@link ListSmsNumbersCommandInput} for command's `input` shape.
54
+ * @see {@link ListSmsNumbersCommandOutput} for command's `response` shape.
55
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
56
+ *
57
+ * @throws {@link ValidationException} (client fault)
58
+ *
59
+ * @throws {@link NotFoundException} (client fault)
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ *
63
+ * @throws {@link RateLimitExceededException} (client fault)
64
+ *
65
+ * @throws {@link KiteServiceException}
66
+ * <p>Base exception class for all service exceptions from Kite service.</p>
67
+ *
68
+ *
69
+ */
70
+ export declare class ListSmsNumbersCommand extends ListSmsNumbersCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: ListSmsNumbersInput;
75
+ output: ListSmsNumbersOutput;
76
+ };
77
+ sdk: {
78
+ input: ListSmsNumbersCommandInput;
79
+ output: ListSmsNumbersCommandOutput;
80
+ };
81
+ };
82
+ }