@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
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
|
|
2
|
+
import { PutSmsNumberConfigurationInput, PutSmsNumberConfigurationOutput } 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 PutSmsNumberConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutSmsNumberConfigurationCommandInput extends PutSmsNumberConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutSmsNumberConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutSmsNumberConfigurationCommandOutput extends PutSmsNumberConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutSmsNumberConfigurationCommand_base: {
|
|
25
|
+
new (input: PutSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSmsNumberConfigurationCommandInput, PutSmsNumberConfigurationCommandOutput, 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, PutSmsNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
|
|
36
|
+
* // const { KiteClient, PutSmsNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
|
|
37
|
+
* const client = new KiteClient(config);
|
|
38
|
+
* const input = { // PutSmsNumberConfigurationInput
|
|
39
|
+
* serviceUri: "STRING_VALUE", // required
|
|
40
|
+
* routes: [ // SmsConfigRoutesList
|
|
41
|
+
* { // SmsConfigRoute
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* rules: [ // RouteRulesList // required
|
|
44
|
+
* { // RouteRule Union: only one key present
|
|
45
|
+
* timeFrame: { // RouteTimeFrameRule
|
|
46
|
+
* timeZone: "STRING_VALUE", // required
|
|
47
|
+
* day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
48
|
+
* startMinute: Number("int"), // required
|
|
49
|
+
* endMinute: Number("int"), // required
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* target: { // RouteTarget Union: only one key present
|
|
54
|
+
* service: { // RouteServiceTarget
|
|
55
|
+
* id: Number("int"), // required
|
|
56
|
+
* uri: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* agent: { // RouteAgentTarget
|
|
59
|
+
* email: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* bot: { // RouteBotTarget
|
|
62
|
+
* id: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* actions: [ // RouteActions
|
|
66
|
+
* { // RouteAction
|
|
67
|
+
* id: "STRING_VALUE", // required
|
|
68
|
+
* conditions: [ // RouteActionConditions
|
|
69
|
+
* { // RouteActionCondition Union: only one key present
|
|
70
|
+
* replyTimeout: { // RouteReplyTimeoutCondition
|
|
71
|
+
* timeout: Number("int"), // required
|
|
72
|
+
* },
|
|
73
|
+
* readTimeout: { // RouteReadTimeoutCondition
|
|
74
|
+
* timeout: Number("int"), // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* task: { // RouteActionTask Union: only one key present
|
|
79
|
+
* sendMessage: { // RouteSendMessageTask
|
|
80
|
+
* botId: "STRING_VALUE", // required
|
|
81
|
+
* text: "STRING_VALUE", // required
|
|
82
|
+
* },
|
|
83
|
+
* addMembers: { // RouteAddMembersTask
|
|
84
|
+
* emails: [ // RouteAddMembersUsersList // required
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* target: {// Union: only one key present
|
|
94
|
+
* service: {
|
|
95
|
+
* id: Number("int"), // required
|
|
96
|
+
* uri: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* agent: {
|
|
99
|
+
* email: "STRING_VALUE", // required
|
|
100
|
+
* },
|
|
101
|
+
* bot: {
|
|
102
|
+
* id: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* reassign: true || false,
|
|
106
|
+
* actions: [
|
|
107
|
+
* {
|
|
108
|
+
* id: "STRING_VALUE", // required
|
|
109
|
+
* conditions: [
|
|
110
|
+
* {// Union: only one key present
|
|
111
|
+
* replyTimeout: {
|
|
112
|
+
* timeout: Number("int"), // required
|
|
113
|
+
* },
|
|
114
|
+
* readTimeout: {
|
|
115
|
+
* timeout: Number("int"), // required
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* task: {// Union: only one key present
|
|
120
|
+
* sendMessage: {
|
|
121
|
+
* botId: "STRING_VALUE", // required
|
|
122
|
+
* text: "STRING_VALUE", // required
|
|
123
|
+
* },
|
|
124
|
+
* addMembers: {
|
|
125
|
+
* emails: [ // required
|
|
126
|
+
* "STRING_VALUE",
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* companyId: "STRING_VALUE",
|
|
133
|
+
* serviceNumber: "STRING_VALUE", // required
|
|
134
|
+
* };
|
|
135
|
+
* const command = new PutSmsNumberConfigurationCommand(input);
|
|
136
|
+
* const response = await client.send(command);
|
|
137
|
+
* // { // PutSmsNumberConfigurationOutput
|
|
138
|
+
* // configuration: { // SmsConfig
|
|
139
|
+
* // serviceUri: "STRING_VALUE", // required
|
|
140
|
+
* // routes: [ // SmsConfigRoutesList
|
|
141
|
+
* // { // SmsConfigRoute
|
|
142
|
+
* // id: "STRING_VALUE", // required
|
|
143
|
+
* // rules: [ // RouteRulesList // required
|
|
144
|
+
* // { // RouteRule Union: only one key present
|
|
145
|
+
* // timeFrame: { // RouteTimeFrameRule
|
|
146
|
+
* // timeZone: "STRING_VALUE", // required
|
|
147
|
+
* // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
148
|
+
* // startMinute: Number("int"), // required
|
|
149
|
+
* // endMinute: Number("int"), // required
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // target: { // RouteTarget Union: only one key present
|
|
154
|
+
* // service: { // RouteServiceTarget
|
|
155
|
+
* // id: Number("int"), // required
|
|
156
|
+
* // uri: "STRING_VALUE", // required
|
|
157
|
+
* // },
|
|
158
|
+
* // agent: { // RouteAgentTarget
|
|
159
|
+
* // email: "STRING_VALUE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // bot: { // RouteBotTarget
|
|
162
|
+
* // id: "STRING_VALUE", // required
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // actions: [ // RouteActions
|
|
166
|
+
* // { // RouteAction
|
|
167
|
+
* // id: "STRING_VALUE", // required
|
|
168
|
+
* // conditions: [ // RouteActionConditions
|
|
169
|
+
* // { // RouteActionCondition Union: only one key present
|
|
170
|
+
* // replyTimeout: { // RouteReplyTimeoutCondition
|
|
171
|
+
* // timeout: Number("int"), // required
|
|
172
|
+
* // },
|
|
173
|
+
* // readTimeout: { // RouteReadTimeoutCondition
|
|
174
|
+
* // timeout: Number("int"), // required
|
|
175
|
+
* // },
|
|
176
|
+
* // },
|
|
177
|
+
* // ],
|
|
178
|
+
* // task: { // RouteActionTask Union: only one key present
|
|
179
|
+
* // sendMessage: { // RouteSendMessageTask
|
|
180
|
+
* // botId: "STRING_VALUE", // required
|
|
181
|
+
* // text: "STRING_VALUE", // required
|
|
182
|
+
* // },
|
|
183
|
+
* // addMembers: { // RouteAddMembersTask
|
|
184
|
+
* // emails: [ // RouteAddMembersUsersList // required
|
|
185
|
+
* // "STRING_VALUE",
|
|
186
|
+
* // ],
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // ],
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // target: {// Union: only one key present
|
|
194
|
+
* // service: {
|
|
195
|
+
* // id: Number("int"), // required
|
|
196
|
+
* // uri: "STRING_VALUE", // required
|
|
197
|
+
* // },
|
|
198
|
+
* // agent: {
|
|
199
|
+
* // email: "STRING_VALUE", // required
|
|
200
|
+
* // },
|
|
201
|
+
* // bot: {
|
|
202
|
+
* // id: "STRING_VALUE", // required
|
|
203
|
+
* // },
|
|
204
|
+
* // },
|
|
205
|
+
* // reassign: true || false,
|
|
206
|
+
* // actions: [
|
|
207
|
+
* // {
|
|
208
|
+
* // id: "STRING_VALUE", // required
|
|
209
|
+
* // conditions: [
|
|
210
|
+
* // {// Union: only one key present
|
|
211
|
+
* // replyTimeout: {
|
|
212
|
+
* // timeout: Number("int"), // required
|
|
213
|
+
* // },
|
|
214
|
+
* // readTimeout: {
|
|
215
|
+
* // timeout: Number("int"), // required
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // ],
|
|
219
|
+
* // task: {// Union: only one key present
|
|
220
|
+
* // sendMessage: {
|
|
221
|
+
* // botId: "STRING_VALUE", // required
|
|
222
|
+
* // text: "STRING_VALUE", // required
|
|
223
|
+
* // },
|
|
224
|
+
* // addMembers: {
|
|
225
|
+
* // emails: [ // required
|
|
226
|
+
* // "STRING_VALUE",
|
|
227
|
+
* // ],
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // ],
|
|
232
|
+
* // companyId: "STRING_VALUE", // required
|
|
233
|
+
* // serviceNumber: "STRING_VALUE", // required
|
|
234
|
+
* // createdAt: "STRING_VALUE", // required
|
|
235
|
+
* // updatedAt: "STRING_VALUE",
|
|
236
|
+
* // },
|
|
237
|
+
* // };
|
|
238
|
+
*
|
|
239
|
+
* ```
|
|
240
|
+
*
|
|
241
|
+
* @param PutSmsNumberConfigurationCommandInput - {@link PutSmsNumberConfigurationCommandInput}
|
|
242
|
+
* @returns {@link PutSmsNumberConfigurationCommandOutput}
|
|
243
|
+
* @see {@link PutSmsNumberConfigurationCommandInput} for command's `input` shape.
|
|
244
|
+
* @see {@link PutSmsNumberConfigurationCommandOutput} for command's `response` shape.
|
|
245
|
+
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
246
|
+
*
|
|
247
|
+
* @throws {@link ValidationException} (client fault)
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link NotFoundException} (client fault)
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
254
|
+
*
|
|
255
|
+
* @throws {@link KiteServiceException}
|
|
256
|
+
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
*/
|
|
260
|
+
export declare class PutSmsNumberConfigurationCommand extends PutSmsNumberConfigurationCommand_base {
|
|
261
|
+
/** @internal type navigation helper, not in runtime. */
|
|
262
|
+
protected static __types: {
|
|
263
|
+
api: {
|
|
264
|
+
input: PutSmsNumberConfigurationInput;
|
|
265
|
+
output: PutSmsNumberConfigurationOutput;
|
|
266
|
+
};
|
|
267
|
+
sdk: {
|
|
268
|
+
input: PutSmsNumberConfigurationCommandInput;
|
|
269
|
+
output: PutSmsNumberConfigurationCommandOutput;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
|
|
2
|
+
import { PutWhatsAppNumberConfigurationInput, PutWhatsAppNumberConfigurationOutput } 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 PutWhatsAppNumberConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutWhatsAppNumberConfigurationCommandInput extends PutWhatsAppNumberConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutWhatsAppNumberConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutWhatsAppNumberConfigurationCommandOutput extends PutWhatsAppNumberConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
25
|
+
new (input: PutWhatsAppNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutWhatsAppNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutWhatsAppNumberConfigurationCommandInput, PutWhatsAppNumberConfigurationCommandOutput, 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, PutWhatsAppNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
|
|
36
|
+
* // const { KiteClient, PutWhatsAppNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
|
|
37
|
+
* const client = new KiteClient(config);
|
|
38
|
+
* const input = { // PutWhatsAppNumberConfigurationInput
|
|
39
|
+
* serviceUri: "STRING_VALUE", // required
|
|
40
|
+
* routes: [ // WhatsAppConfigRoutesList
|
|
41
|
+
* { // WhatsAppConfigRoute
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* rules: [ // RouteRulesList // required
|
|
44
|
+
* { // RouteRule Union: only one key present
|
|
45
|
+
* timeFrame: { // RouteTimeFrameRule
|
|
46
|
+
* timeZone: "STRING_VALUE", // required
|
|
47
|
+
* day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
48
|
+
* startMinute: Number("int"), // required
|
|
49
|
+
* endMinute: Number("int"), // required
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* target: { // RouteTarget Union: only one key present
|
|
54
|
+
* service: { // RouteServiceTarget
|
|
55
|
+
* id: Number("int"), // required
|
|
56
|
+
* uri: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* agent: { // RouteAgentTarget
|
|
59
|
+
* email: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* bot: { // RouteBotTarget
|
|
62
|
+
* id: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* reassign: true || false,
|
|
66
|
+
* actions: [ // RouteActions
|
|
67
|
+
* { // RouteAction
|
|
68
|
+
* id: "STRING_VALUE", // required
|
|
69
|
+
* conditions: [ // RouteActionConditions
|
|
70
|
+
* { // RouteActionCondition Union: only one key present
|
|
71
|
+
* replyTimeout: { // RouteReplyTimeoutCondition
|
|
72
|
+
* timeout: Number("int"), // required
|
|
73
|
+
* },
|
|
74
|
+
* readTimeout: { // RouteReadTimeoutCondition
|
|
75
|
+
* timeout: Number("int"), // required
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* task: { // RouteActionTask Union: only one key present
|
|
80
|
+
* sendMessage: { // RouteSendMessageTask
|
|
81
|
+
* botId: "STRING_VALUE", // required
|
|
82
|
+
* text: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* addMembers: { // RouteAddMembersTask
|
|
85
|
+
* emails: [ // RouteAddMembersUsersList // required
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* target: {// Union: only one key present
|
|
95
|
+
* service: {
|
|
96
|
+
* id: Number("int"), // required
|
|
97
|
+
* uri: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* agent: {
|
|
100
|
+
* email: "STRING_VALUE", // required
|
|
101
|
+
* },
|
|
102
|
+
* bot: {
|
|
103
|
+
* id: "STRING_VALUE", // required
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* actions: [
|
|
107
|
+
* {
|
|
108
|
+
* id: "STRING_VALUE", // required
|
|
109
|
+
* conditions: [
|
|
110
|
+
* {// Union: only one key present
|
|
111
|
+
* replyTimeout: {
|
|
112
|
+
* timeout: Number("int"), // required
|
|
113
|
+
* },
|
|
114
|
+
* readTimeout: {
|
|
115
|
+
* timeout: Number("int"), // required
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* task: {// Union: only one key present
|
|
120
|
+
* sendMessage: {
|
|
121
|
+
* botId: "STRING_VALUE", // required
|
|
122
|
+
* text: "STRING_VALUE", // required
|
|
123
|
+
* },
|
|
124
|
+
* addMembers: {
|
|
125
|
+
* emails: [ // required
|
|
126
|
+
* "STRING_VALUE",
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* companyId: "STRING_VALUE",
|
|
133
|
+
* serviceNumber: "STRING_VALUE", // required
|
|
134
|
+
* };
|
|
135
|
+
* const command = new PutWhatsAppNumberConfigurationCommand(input);
|
|
136
|
+
* const response = await client.send(command);
|
|
137
|
+
* // { // PutWhatsAppNumberConfigurationOutput
|
|
138
|
+
* // configuration: { // WhatsAppConfig
|
|
139
|
+
* // serviceUri: "STRING_VALUE", // required
|
|
140
|
+
* // routes: [ // WhatsAppConfigRoutesList
|
|
141
|
+
* // { // WhatsAppConfigRoute
|
|
142
|
+
* // id: "STRING_VALUE", // required
|
|
143
|
+
* // rules: [ // RouteRulesList // required
|
|
144
|
+
* // { // RouteRule Union: only one key present
|
|
145
|
+
* // timeFrame: { // RouteTimeFrameRule
|
|
146
|
+
* // timeZone: "STRING_VALUE", // required
|
|
147
|
+
* // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
148
|
+
* // startMinute: Number("int"), // required
|
|
149
|
+
* // endMinute: Number("int"), // required
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // target: { // RouteTarget Union: only one key present
|
|
154
|
+
* // service: { // RouteServiceTarget
|
|
155
|
+
* // id: Number("int"), // required
|
|
156
|
+
* // uri: "STRING_VALUE", // required
|
|
157
|
+
* // },
|
|
158
|
+
* // agent: { // RouteAgentTarget
|
|
159
|
+
* // email: "STRING_VALUE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // bot: { // RouteBotTarget
|
|
162
|
+
* // id: "STRING_VALUE", // required
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // reassign: true || false,
|
|
166
|
+
* // actions: [ // RouteActions
|
|
167
|
+
* // { // RouteAction
|
|
168
|
+
* // id: "STRING_VALUE", // required
|
|
169
|
+
* // conditions: [ // RouteActionConditions
|
|
170
|
+
* // { // RouteActionCondition Union: only one key present
|
|
171
|
+
* // replyTimeout: { // RouteReplyTimeoutCondition
|
|
172
|
+
* // timeout: Number("int"), // required
|
|
173
|
+
* // },
|
|
174
|
+
* // readTimeout: { // RouteReadTimeoutCondition
|
|
175
|
+
* // timeout: Number("int"), // required
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // task: { // RouteActionTask Union: only one key present
|
|
180
|
+
* // sendMessage: { // RouteSendMessageTask
|
|
181
|
+
* // botId: "STRING_VALUE", // required
|
|
182
|
+
* // text: "STRING_VALUE", // required
|
|
183
|
+
* // },
|
|
184
|
+
* // addMembers: { // RouteAddMembersTask
|
|
185
|
+
* // emails: [ // RouteAddMembersUsersList // required
|
|
186
|
+
* // "STRING_VALUE",
|
|
187
|
+
* // ],
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // },
|
|
191
|
+
* // ],
|
|
192
|
+
* // },
|
|
193
|
+
* // ],
|
|
194
|
+
* // target: {// Union: only one key present
|
|
195
|
+
* // service: {
|
|
196
|
+
* // id: Number("int"), // required
|
|
197
|
+
* // uri: "STRING_VALUE", // required
|
|
198
|
+
* // },
|
|
199
|
+
* // agent: {
|
|
200
|
+
* // email: "STRING_VALUE", // required
|
|
201
|
+
* // },
|
|
202
|
+
* // bot: {
|
|
203
|
+
* // id: "STRING_VALUE", // required
|
|
204
|
+
* // },
|
|
205
|
+
* // },
|
|
206
|
+
* // actions: [
|
|
207
|
+
* // {
|
|
208
|
+
* // id: "STRING_VALUE", // required
|
|
209
|
+
* // conditions: [
|
|
210
|
+
* // {// Union: only one key present
|
|
211
|
+
* // replyTimeout: {
|
|
212
|
+
* // timeout: Number("int"), // required
|
|
213
|
+
* // },
|
|
214
|
+
* // readTimeout: {
|
|
215
|
+
* // timeout: Number("int"), // required
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // ],
|
|
219
|
+
* // task: {// Union: only one key present
|
|
220
|
+
* // sendMessage: {
|
|
221
|
+
* // botId: "STRING_VALUE", // required
|
|
222
|
+
* // text: "STRING_VALUE", // required
|
|
223
|
+
* // },
|
|
224
|
+
* // addMembers: {
|
|
225
|
+
* // emails: [ // required
|
|
226
|
+
* // "STRING_VALUE",
|
|
227
|
+
* // ],
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // ],
|
|
232
|
+
* // companyId: "STRING_VALUE", // required
|
|
233
|
+
* // serviceNumber: "STRING_VALUE", // required
|
|
234
|
+
* // createdAt: "STRING_VALUE", // required
|
|
235
|
+
* // updatedAt: "STRING_VALUE",
|
|
236
|
+
* // },
|
|
237
|
+
* // };
|
|
238
|
+
*
|
|
239
|
+
* ```
|
|
240
|
+
*
|
|
241
|
+
* @param PutWhatsAppNumberConfigurationCommandInput - {@link PutWhatsAppNumberConfigurationCommandInput}
|
|
242
|
+
* @returns {@link PutWhatsAppNumberConfigurationCommandOutput}
|
|
243
|
+
* @see {@link PutWhatsAppNumberConfigurationCommandInput} for command's `input` shape.
|
|
244
|
+
* @see {@link PutWhatsAppNumberConfigurationCommandOutput} for command's `response` shape.
|
|
245
|
+
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
246
|
+
*
|
|
247
|
+
* @throws {@link ValidationException} (client fault)
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link NotFoundException} (client fault)
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
254
|
+
*
|
|
255
|
+
* @throws {@link KiteServiceException}
|
|
256
|
+
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
*/
|
|
260
|
+
export declare class PutWhatsAppNumberConfigurationCommand extends PutWhatsAppNumberConfigurationCommand_base {
|
|
261
|
+
/** @internal type navigation helper, not in runtime. */
|
|
262
|
+
protected static __types: {
|
|
263
|
+
api: {
|
|
264
|
+
input: PutWhatsAppNumberConfigurationInput;
|
|
265
|
+
output: PutWhatsAppNumberConfigurationOutput;
|
|
266
|
+
};
|
|
267
|
+
sdk: {
|
|
268
|
+
input: PutWhatsAppNumberConfigurationCommandInput;
|
|
269
|
+
output: PutWhatsAppNumberConfigurationCommandOutput;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
}
|
|
@@ -79,6 +79,9 @@ declare const RescheduleCalendarEventCommand_base: {
|
|
|
79
79
|
* // ],
|
|
80
80
|
* // },
|
|
81
81
|
* // ],
|
|
82
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
83
|
+
* // broadcastId: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
82
85
|
* // },
|
|
83
86
|
* // kite: true || false,
|
|
84
87
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -147,6 +150,8 @@ declare const RescheduleCalendarEventCommand_base: {
|
|
|
147
150
|
*
|
|
148
151
|
* @throws {@link ValidationException} (client fault)
|
|
149
152
|
*
|
|
153
|
+
* @throws {@link NotFoundException} (client fault)
|
|
154
|
+
*
|
|
150
155
|
* @throws {@link ForbiddenException} (client fault)
|
|
151
156
|
*
|
|
152
157
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -154,6 +159,18 @@ declare const RescheduleCalendarEventCommand_base: {
|
|
|
154
159
|
* @throws {@link KiteServiceException}
|
|
155
160
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
156
161
|
*
|
|
162
|
+
*
|
|
157
163
|
*/
|
|
158
164
|
export declare class RescheduleCalendarEventCommand extends RescheduleCalendarEventCommand_base {
|
|
165
|
+
/** @internal type navigation helper, not in runtime. */
|
|
166
|
+
protected static __types: {
|
|
167
|
+
api: {
|
|
168
|
+
input: RescheduleCalendarEventInput;
|
|
169
|
+
output: RescheduleCalendarEventOutput;
|
|
170
|
+
};
|
|
171
|
+
sdk: {
|
|
172
|
+
input: RescheduleCalendarEventCommandInput;
|
|
173
|
+
output: RescheduleCalendarEventCommandOutput;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
159
176
|
}
|
|
@@ -76,6 +76,9 @@ declare const ScheduleCalendarEventCommand_base: {
|
|
|
76
76
|
* // ],
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
|
79
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
80
|
+
* // broadcastId: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
79
82
|
* // },
|
|
80
83
|
* // kite: true || false,
|
|
81
84
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -144,6 +147,8 @@ declare const ScheduleCalendarEventCommand_base: {
|
|
|
144
147
|
*
|
|
145
148
|
* @throws {@link ValidationException} (client fault)
|
|
146
149
|
*
|
|
150
|
+
* @throws {@link NotFoundException} (client fault)
|
|
151
|
+
*
|
|
147
152
|
* @throws {@link ForbiddenException} (client fault)
|
|
148
153
|
*
|
|
149
154
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -151,6 +156,18 @@ declare const ScheduleCalendarEventCommand_base: {
|
|
|
151
156
|
* @throws {@link KiteServiceException}
|
|
152
157
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
153
158
|
*
|
|
159
|
+
*
|
|
154
160
|
*/
|
|
155
161
|
export declare class ScheduleCalendarEventCommand extends ScheduleCalendarEventCommand_base {
|
|
162
|
+
/** @internal type navigation helper, not in runtime. */
|
|
163
|
+
protected static __types: {
|
|
164
|
+
api: {
|
|
165
|
+
input: ScheduleCalendarEventInput;
|
|
166
|
+
output: ScheduleCalendarEventOutput;
|
|
167
|
+
};
|
|
168
|
+
sdk: {
|
|
169
|
+
input: ScheduleCalendarEventCommandInput;
|
|
170
|
+
output: ScheduleCalendarEventCommandOutput;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
156
173
|
}
|