@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.
- 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 +342 -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 +296 -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 +118 -0
- package/dist-types/commands/CreateWidgetCommand.d.ts +118 -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 +178 -0
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +178 -0
- package/dist-types/commands/GetWidgetCommand.d.ts +66 -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 +179 -0
- package/dist-types/commands/ListSmsNumbersCommand.d.ts +82 -0
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +179 -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 +66 -0
- package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +270 -0
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +270 -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 +118 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +869 -161
- 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
|
@@ -0,0 +1,178 @@
|
|
|
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
|
+
* // 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 GetWhatsAppNumberConfigurationCommandInput - {@link GetWhatsAppNumberConfigurationCommandInput}
|
|
148
|
+
* @returns {@link GetWhatsAppNumberConfigurationCommandOutput}
|
|
149
|
+
* @see {@link GetWhatsAppNumberConfigurationCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link GetWhatsAppNumberConfigurationCommandOutput} 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 GetWhatsAppNumberConfigurationCommand extends GetWhatsAppNumberConfigurationCommand_base {
|
|
167
|
+
/** @internal type navigation helper, not in runtime. */
|
|
168
|
+
protected static __types: {
|
|
169
|
+
api: {
|
|
170
|
+
input: GetWhatsAppNumberConfigurationInput;
|
|
171
|
+
output: GetWhatsAppNumberConfigurationOutput;
|
|
172
|
+
};
|
|
173
|
+
sdk: {
|
|
174
|
+
input: GetWhatsAppNumberConfigurationCommandInput;
|
|
175
|
+
output: GetWhatsAppNumberConfigurationCommandOutput;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
}
|
|
@@ -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,32 @@ declare const GetWidgetCommand_base: {
|
|
|
153
179
|
* // id: "STRING_VALUE", // required
|
|
154
180
|
* // },
|
|
155
181
|
* // },
|
|
182
|
+
* // actions: [
|
|
183
|
+
* // {
|
|
184
|
+
* // id: "STRING_VALUE", // required
|
|
185
|
+
* // conditions: [
|
|
186
|
+
* // {// Union: only one key present
|
|
187
|
+
* // replyTimeout: {
|
|
188
|
+
* // timeout: Number("int"), // required
|
|
189
|
+
* // },
|
|
190
|
+
* // readTimeout: {
|
|
191
|
+
* // timeout: Number("int"), // required
|
|
192
|
+
* // },
|
|
193
|
+
* // },
|
|
194
|
+
* // ],
|
|
195
|
+
* // task: {// Union: only one key present
|
|
196
|
+
* // sendMessage: {
|
|
197
|
+
* // botId: "STRING_VALUE", // required
|
|
198
|
+
* // text: "STRING_VALUE", // required
|
|
199
|
+
* // },
|
|
200
|
+
* // addMembers: {
|
|
201
|
+
* // emails: [ // required
|
|
202
|
+
* // "STRING_VALUE",
|
|
203
|
+
* // ],
|
|
204
|
+
* // },
|
|
205
|
+
* // },
|
|
206
|
+
* // },
|
|
207
|
+
* // ],
|
|
156
208
|
* // id: "STRING_VALUE", // required
|
|
157
209
|
* // company: "STRING_VALUE", // required
|
|
158
210
|
* // createdAt: "STRING_VALUE", // required
|
|
@@ -172,6 +224,8 @@ declare const GetWidgetCommand_base: {
|
|
|
172
224
|
*
|
|
173
225
|
* @throws {@link ValidationException} (client fault)
|
|
174
226
|
*
|
|
227
|
+
* @throws {@link NotFoundException} (client fault)
|
|
228
|
+
*
|
|
175
229
|
* @throws {@link ForbiddenException} (client fault)
|
|
176
230
|
*
|
|
177
231
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -179,7 +233,19 @@ declare const GetWidgetCommand_base: {
|
|
|
179
233
|
* @throws {@link KiteServiceException}
|
|
180
234
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
181
235
|
*
|
|
236
|
+
*
|
|
182
237
|
* @public
|
|
183
238
|
*/
|
|
184
239
|
export declare class GetWidgetCommand extends GetWidgetCommand_base {
|
|
240
|
+
/** @internal type navigation helper, not in runtime. */
|
|
241
|
+
protected static __types: {
|
|
242
|
+
api: {
|
|
243
|
+
input: GetWidgetInput;
|
|
244
|
+
output: GetWidgetOutput;
|
|
245
|
+
};
|
|
246
|
+
sdk: {
|
|
247
|
+
input: GetWidgetCommandInput;
|
|
248
|
+
output: GetWidgetCommandOutput;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
185
251
|
}
|
|
@@ -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,179 @@
|
|
|
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
|
+
* // 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
|
+
*
|
|
148
|
+
* @param ListSmsConfigurationsCommandInput - {@link ListSmsConfigurationsCommandInput}
|
|
149
|
+
* @returns {@link ListSmsConfigurationsCommandOutput}
|
|
150
|
+
* @see {@link ListSmsConfigurationsCommandInput} for command's `input` shape.
|
|
151
|
+
* @see {@link ListSmsConfigurationsCommandOutput} 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 ListSmsConfigurationsCommand extends ListSmsConfigurationsCommand_base {
|
|
168
|
+
/** @internal type navigation helper, not in runtime. */
|
|
169
|
+
protected static __types: {
|
|
170
|
+
api: {
|
|
171
|
+
input: ListSmsConfigurationsInput;
|
|
172
|
+
output: ListSmsConfigurationsOutput;
|
|
173
|
+
};
|
|
174
|
+
sdk: {
|
|
175
|
+
input: ListSmsConfigurationsCommandInput;
|
|
176
|
+
output: ListSmsConfigurationsCommandOutput;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
}
|
|
@@ -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
|
+
}
|