@wildix/xbees-kite-client 1.0.14 → 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 (67) hide show
  1. package/dist-cjs/Kite.js +20 -0
  2. package/dist-cjs/KiteClient.js +4 -5
  3. package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +21 -0
  4. package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +21 -0
  5. package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +21 -0
  6. package/dist-cjs/commands/ListSmsConfigurationsCommand.js +21 -0
  7. package/dist-cjs/commands/ListSmsNumbersCommand.js +21 -0
  8. package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +21 -0
  9. package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +21 -0
  10. package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +21 -0
  11. package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +21 -0
  12. package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +113 -22
  15. package/dist-cjs/protocols/Aws_restJson1.js +380 -74
  16. package/dist-cjs/runtimeConfig.browser.js +1 -1
  17. package/dist-cjs/runtimeConfig.js +4 -3
  18. package/dist-cjs/runtimeExtensions.js +2 -10
  19. package/dist-es/Kite.js +20 -0
  20. package/dist-es/KiteClient.js +4 -5
  21. package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +17 -0
  22. package/dist-es/commands/GetSmsNumberConfigurationCommand.js +17 -0
  23. package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +17 -0
  24. package/dist-es/commands/ListSmsConfigurationsCommand.js +17 -0
  25. package/dist-es/commands/ListSmsNumbersCommand.js +17 -0
  26. package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +17 -0
  27. package/dist-es/commands/ListWhatsAppNumbersCommand.js +17 -0
  28. package/dist-es/commands/ListWhatsAppTemplatesCommand.js +17 -0
  29. package/dist-es/commands/PutSmsNumberConfigurationCommand.js +17 -0
  30. package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +17 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +105 -15
  33. package/dist-es/protocols/Aws_restJson1.js +334 -48
  34. package/dist-es/runtimeConfig.browser.js +2 -2
  35. package/dist-es/runtimeConfig.js +5 -4
  36. package/dist-es/runtimeExtensions.js +2 -10
  37. package/dist-types/Kite.d.ts +74 -0
  38. package/dist-types/KiteClient.d.ts +12 -2
  39. package/dist-types/commands/CancelCalendarEventCommand.d.ts +17 -0
  40. package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +414 -0
  41. package/dist-types/commands/CreateWidgetCommand.d.ts +118 -0
  42. package/dist-types/commands/DeleteWidgetCommand.d.ts +14 -0
  43. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +14 -0
  44. package/dist-types/commands/GetConfigCommand.d.ts +14 -0
  45. package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +178 -0
  46. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +178 -0
  47. package/dist-types/commands/GetWidgetCommand.d.ts +66 -0
  48. package/dist-types/commands/ListAgentsCommand.d.ts +14 -0
  49. package/dist-types/commands/ListServicesCommand.d.ts +14 -0
  50. package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +179 -0
  51. package/dist-types/commands/ListSmsNumbersCommand.d.ts +82 -0
  52. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +179 -0
  53. package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +82 -0
  54. package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +118 -0
  55. package/dist-types/commands/ListWidgetsCommand.d.ts +66 -0
  56. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +270 -0
  57. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +270 -0
  58. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +17 -0
  59. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +17 -0
  60. package/dist-types/commands/UpdateWidgetCommand.d.ts +118 -0
  61. package/dist-types/commands/index.d.ts +10 -0
  62. package/dist-types/models/models_0.d.ts +900 -154
  63. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  65. package/dist-types/runtimeConfig.d.ts +2 -1
  66. package/dist-types/runtimeConfig.native.d.ts +2 -1
  67. package/package.json +37 -33
@@ -110,6 +110,32 @@ declare const ListWidgetsCommand_base: {
110
110
  * // id: "STRING_VALUE", // required
111
111
  * // },
112
112
  * // },
113
+ * // actions: [ // RouteActions
114
+ * // { // RouteAction
115
+ * // id: "STRING_VALUE", // required
116
+ * // conditions: [ // RouteActionConditions
117
+ * // { // RouteActionCondition Union: only one key present
118
+ * // replyTimeout: { // RouteReplyTimeoutCondition
119
+ * // timeout: Number("int"), // required
120
+ * // },
121
+ * // readTimeout: { // RouteReadTimeoutCondition
122
+ * // timeout: Number("int"), // required
123
+ * // },
124
+ * // },
125
+ * // ],
126
+ * // task: { // RouteActionTask Union: only one key present
127
+ * // sendMessage: { // RouteSendMessageTask
128
+ * // botId: "STRING_VALUE", // required
129
+ * // text: "STRING_VALUE", // required
130
+ * // },
131
+ * // addMembers: { // RouteAddMembersTask
132
+ * // emails: [ // RouteAddMembersUsersList // required
133
+ * // "STRING_VALUE",
134
+ * // ],
135
+ * // },
136
+ * // },
137
+ * // },
138
+ * // ],
113
139
  * // },
114
140
  * // ],
115
141
  * // welcomeMessages: [
@@ -155,6 +181,32 @@ declare const ListWidgetsCommand_base: {
155
181
  * // id: "STRING_VALUE", // required
156
182
  * // },
157
183
  * // },
184
+ * // actions: [
185
+ * // {
186
+ * // id: "STRING_VALUE", // required
187
+ * // conditions: [
188
+ * // {// Union: only one key present
189
+ * // replyTimeout: {
190
+ * // timeout: Number("int"), // required
191
+ * // },
192
+ * // readTimeout: {
193
+ * // timeout: Number("int"), // required
194
+ * // },
195
+ * // },
196
+ * // ],
197
+ * // task: {// Union: only one key present
198
+ * // sendMessage: {
199
+ * // botId: "STRING_VALUE", // required
200
+ * // text: "STRING_VALUE", // required
201
+ * // },
202
+ * // addMembers: {
203
+ * // emails: [ // required
204
+ * // "STRING_VALUE",
205
+ * // ],
206
+ * // },
207
+ * // },
208
+ * // },
209
+ * // ],
158
210
  * // id: "STRING_VALUE", // required
159
211
  * // company: "STRING_VALUE", // required
160
212
  * // createdAt: "STRING_VALUE", // required
@@ -173,6 +225,8 @@ declare const ListWidgetsCommand_base: {
173
225
  *
174
226
  * @throws {@link ValidationException} (client fault)
175
227
  *
228
+ * @throws {@link NotFoundException} (client fault)
229
+ *
176
230
  * @throws {@link ForbiddenException} (client fault)
177
231
  *
178
232
  * @throws {@link RateLimitExceededException} (client fault)
@@ -180,6 +234,18 @@ declare const ListWidgetsCommand_base: {
180
234
  * @throws {@link KiteServiceException}
181
235
  * <p>Base exception class for all service exceptions from Kite service.</p>
182
236
  *
237
+ *
183
238
  */
184
239
  export declare class ListWidgetsCommand extends ListWidgetsCommand_base {
240
+ /** @internal type navigation helper, not in runtime. */
241
+ protected static __types: {
242
+ api: {
243
+ input: ListWidgetsInput;
244
+ output: ListWidgetsOutput;
245
+ };
246
+ sdk: {
247
+ input: ListWidgetsCommandInput;
248
+ output: ListWidgetsCommandOutput;
249
+ };
250
+ };
185
251
  }
@@ -0,0 +1,270 @@
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
+ * actions: [
106
+ * {
107
+ * id: "STRING_VALUE", // required
108
+ * conditions: [
109
+ * {// Union: only one key present
110
+ * replyTimeout: {
111
+ * timeout: Number("int"), // required
112
+ * },
113
+ * readTimeout: {
114
+ * timeout: Number("int"), // required
115
+ * },
116
+ * },
117
+ * ],
118
+ * task: {// Union: only one key present
119
+ * sendMessage: {
120
+ * botId: "STRING_VALUE", // required
121
+ * text: "STRING_VALUE", // required
122
+ * },
123
+ * addMembers: {
124
+ * emails: [ // required
125
+ * "STRING_VALUE",
126
+ * ],
127
+ * },
128
+ * },
129
+ * },
130
+ * ],
131
+ * companyId: "STRING_VALUE",
132
+ * serviceNumber: "STRING_VALUE", // required
133
+ * };
134
+ * const command = new PutSmsNumberConfigurationCommand(input);
135
+ * const response = await client.send(command);
136
+ * // { // PutSmsNumberConfigurationOutput
137
+ * // configuration: { // SmsConfig
138
+ * // serviceUri: "STRING_VALUE", // required
139
+ * // routes: [ // SmsConfigRoutesList
140
+ * // { // SmsConfigRoute
141
+ * // id: "STRING_VALUE", // required
142
+ * // rules: [ // RouteRulesList // required
143
+ * // { // RouteRule Union: only one key present
144
+ * // timeFrame: { // RouteTimeFrameRule
145
+ * // timeZone: "STRING_VALUE", // required
146
+ * // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
147
+ * // startMinute: Number("int"), // required
148
+ * // endMinute: Number("int"), // required
149
+ * // },
150
+ * // },
151
+ * // ],
152
+ * // target: { // RouteTarget Union: only one key present
153
+ * // service: { // RouteServiceTarget
154
+ * // id: Number("int"), // required
155
+ * // uri: "STRING_VALUE", // required
156
+ * // },
157
+ * // agent: { // RouteAgentTarget
158
+ * // email: "STRING_VALUE", // required
159
+ * // },
160
+ * // bot: { // RouteBotTarget
161
+ * // id: "STRING_VALUE", // required
162
+ * // },
163
+ * // },
164
+ * // actions: [ // RouteActions
165
+ * // { // RouteAction
166
+ * // id: "STRING_VALUE", // required
167
+ * // conditions: [ // RouteActionConditions
168
+ * // { // RouteActionCondition Union: only one key present
169
+ * // replyTimeout: { // RouteReplyTimeoutCondition
170
+ * // timeout: Number("int"), // required
171
+ * // },
172
+ * // readTimeout: { // RouteReadTimeoutCondition
173
+ * // timeout: Number("int"), // required
174
+ * // },
175
+ * // },
176
+ * // ],
177
+ * // task: { // RouteActionTask Union: only one key present
178
+ * // sendMessage: { // RouteSendMessageTask
179
+ * // botId: "STRING_VALUE", // required
180
+ * // text: "STRING_VALUE", // required
181
+ * // },
182
+ * // addMembers: { // RouteAddMembersTask
183
+ * // emails: [ // RouteAddMembersUsersList // required
184
+ * // "STRING_VALUE",
185
+ * // ],
186
+ * // },
187
+ * // },
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // ],
192
+ * // target: {// Union: only one key present
193
+ * // service: {
194
+ * // id: Number("int"), // required
195
+ * // uri: "STRING_VALUE", // required
196
+ * // },
197
+ * // agent: {
198
+ * // email: "STRING_VALUE", // required
199
+ * // },
200
+ * // bot: {
201
+ * // id: "STRING_VALUE", // required
202
+ * // },
203
+ * // },
204
+ * // actions: [
205
+ * // {
206
+ * // id: "STRING_VALUE", // required
207
+ * // conditions: [
208
+ * // {// Union: only one key present
209
+ * // replyTimeout: {
210
+ * // timeout: Number("int"), // required
211
+ * // },
212
+ * // readTimeout: {
213
+ * // timeout: Number("int"), // required
214
+ * // },
215
+ * // },
216
+ * // ],
217
+ * // task: {// Union: only one key present
218
+ * // sendMessage: {
219
+ * // botId: "STRING_VALUE", // required
220
+ * // text: "STRING_VALUE", // required
221
+ * // },
222
+ * // addMembers: {
223
+ * // emails: [ // required
224
+ * // "STRING_VALUE",
225
+ * // ],
226
+ * // },
227
+ * // },
228
+ * // },
229
+ * // ],
230
+ * // companyId: "STRING_VALUE", // required
231
+ * // serviceNumber: "STRING_VALUE", // required
232
+ * // createdAt: "STRING_VALUE", // required
233
+ * // updatedAt: "STRING_VALUE",
234
+ * // },
235
+ * // };
236
+ *
237
+ * ```
238
+ *
239
+ * @param PutSmsNumberConfigurationCommandInput - {@link PutSmsNumberConfigurationCommandInput}
240
+ * @returns {@link PutSmsNumberConfigurationCommandOutput}
241
+ * @see {@link PutSmsNumberConfigurationCommandInput} for command's `input` shape.
242
+ * @see {@link PutSmsNumberConfigurationCommandOutput} for command's `response` shape.
243
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
244
+ *
245
+ * @throws {@link ValidationException} (client fault)
246
+ *
247
+ * @throws {@link NotFoundException} (client fault)
248
+ *
249
+ * @throws {@link ForbiddenException} (client fault)
250
+ *
251
+ * @throws {@link RateLimitExceededException} (client fault)
252
+ *
253
+ * @throws {@link KiteServiceException}
254
+ * <p>Base exception class for all service exceptions from Kite service.</p>
255
+ *
256
+ *
257
+ */
258
+ export declare class PutSmsNumberConfigurationCommand extends PutSmsNumberConfigurationCommand_base {
259
+ /** @internal type navigation helper, not in runtime. */
260
+ protected static __types: {
261
+ api: {
262
+ input: PutSmsNumberConfigurationInput;
263
+ output: PutSmsNumberConfigurationOutput;
264
+ };
265
+ sdk: {
266
+ input: PutSmsNumberConfigurationCommandInput;
267
+ output: PutSmsNumberConfigurationCommandOutput;
268
+ };
269
+ };
270
+ }
@@ -0,0 +1,270 @@
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
+ * 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
+ * actions: [
106
+ * {
107
+ * id: "STRING_VALUE", // required
108
+ * conditions: [
109
+ * {// Union: only one key present
110
+ * replyTimeout: {
111
+ * timeout: Number("int"), // required
112
+ * },
113
+ * readTimeout: {
114
+ * timeout: Number("int"), // required
115
+ * },
116
+ * },
117
+ * ],
118
+ * task: {// Union: only one key present
119
+ * sendMessage: {
120
+ * botId: "STRING_VALUE", // required
121
+ * text: "STRING_VALUE", // required
122
+ * },
123
+ * addMembers: {
124
+ * emails: [ // required
125
+ * "STRING_VALUE",
126
+ * ],
127
+ * },
128
+ * },
129
+ * },
130
+ * ],
131
+ * companyId: "STRING_VALUE",
132
+ * serviceNumber: "STRING_VALUE", // required
133
+ * };
134
+ * const command = new PutWhatsAppNumberConfigurationCommand(input);
135
+ * const response = await client.send(command);
136
+ * // { // PutWhatsAppNumberConfigurationOutput
137
+ * // configuration: { // WhatsAppConfig
138
+ * // serviceUri: "STRING_VALUE", // required
139
+ * // routes: [ // WhatsAppConfigRoutesList
140
+ * // { // WhatsAppConfigRoute
141
+ * // id: "STRING_VALUE", // required
142
+ * // rules: [ // RouteRulesList // required
143
+ * // { // RouteRule Union: only one key present
144
+ * // timeFrame: { // RouteTimeFrameRule
145
+ * // timeZone: "STRING_VALUE", // required
146
+ * // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
147
+ * // startMinute: Number("int"), // required
148
+ * // endMinute: Number("int"), // required
149
+ * // },
150
+ * // },
151
+ * // ],
152
+ * // target: { // RouteTarget Union: only one key present
153
+ * // service: { // RouteServiceTarget
154
+ * // id: Number("int"), // required
155
+ * // uri: "STRING_VALUE", // required
156
+ * // },
157
+ * // agent: { // RouteAgentTarget
158
+ * // email: "STRING_VALUE", // required
159
+ * // },
160
+ * // bot: { // RouteBotTarget
161
+ * // id: "STRING_VALUE", // required
162
+ * // },
163
+ * // },
164
+ * // actions: [ // RouteActions
165
+ * // { // RouteAction
166
+ * // id: "STRING_VALUE", // required
167
+ * // conditions: [ // RouteActionConditions
168
+ * // { // RouteActionCondition Union: only one key present
169
+ * // replyTimeout: { // RouteReplyTimeoutCondition
170
+ * // timeout: Number("int"), // required
171
+ * // },
172
+ * // readTimeout: { // RouteReadTimeoutCondition
173
+ * // timeout: Number("int"), // required
174
+ * // },
175
+ * // },
176
+ * // ],
177
+ * // task: { // RouteActionTask Union: only one key present
178
+ * // sendMessage: { // RouteSendMessageTask
179
+ * // botId: "STRING_VALUE", // required
180
+ * // text: "STRING_VALUE", // required
181
+ * // },
182
+ * // addMembers: { // RouteAddMembersTask
183
+ * // emails: [ // RouteAddMembersUsersList // required
184
+ * // "STRING_VALUE",
185
+ * // ],
186
+ * // },
187
+ * // },
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // ],
192
+ * // target: {// Union: only one key present
193
+ * // service: {
194
+ * // id: Number("int"), // required
195
+ * // uri: "STRING_VALUE", // required
196
+ * // },
197
+ * // agent: {
198
+ * // email: "STRING_VALUE", // required
199
+ * // },
200
+ * // bot: {
201
+ * // id: "STRING_VALUE", // required
202
+ * // },
203
+ * // },
204
+ * // actions: [
205
+ * // {
206
+ * // id: "STRING_VALUE", // required
207
+ * // conditions: [
208
+ * // {// Union: only one key present
209
+ * // replyTimeout: {
210
+ * // timeout: Number("int"), // required
211
+ * // },
212
+ * // readTimeout: {
213
+ * // timeout: Number("int"), // required
214
+ * // },
215
+ * // },
216
+ * // ],
217
+ * // task: {// Union: only one key present
218
+ * // sendMessage: {
219
+ * // botId: "STRING_VALUE", // required
220
+ * // text: "STRING_VALUE", // required
221
+ * // },
222
+ * // addMembers: {
223
+ * // emails: [ // required
224
+ * // "STRING_VALUE",
225
+ * // ],
226
+ * // },
227
+ * // },
228
+ * // },
229
+ * // ],
230
+ * // companyId: "STRING_VALUE", // required
231
+ * // serviceNumber: "STRING_VALUE", // required
232
+ * // createdAt: "STRING_VALUE", // required
233
+ * // updatedAt: "STRING_VALUE",
234
+ * // },
235
+ * // };
236
+ *
237
+ * ```
238
+ *
239
+ * @param PutWhatsAppNumberConfigurationCommandInput - {@link PutWhatsAppNumberConfigurationCommandInput}
240
+ * @returns {@link PutWhatsAppNumberConfigurationCommandOutput}
241
+ * @see {@link PutWhatsAppNumberConfigurationCommandInput} for command's `input` shape.
242
+ * @see {@link PutWhatsAppNumberConfigurationCommandOutput} for command's `response` shape.
243
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
244
+ *
245
+ * @throws {@link ValidationException} (client fault)
246
+ *
247
+ * @throws {@link NotFoundException} (client fault)
248
+ *
249
+ * @throws {@link ForbiddenException} (client fault)
250
+ *
251
+ * @throws {@link RateLimitExceededException} (client fault)
252
+ *
253
+ * @throws {@link KiteServiceException}
254
+ * <p>Base exception class for all service exceptions from Kite service.</p>
255
+ *
256
+ *
257
+ */
258
+ export declare class PutWhatsAppNumberConfigurationCommand extends PutWhatsAppNumberConfigurationCommand_base {
259
+ /** @internal type navigation helper, not in runtime. */
260
+ protected static __types: {
261
+ api: {
262
+ input: PutWhatsAppNumberConfigurationInput;
263
+ output: PutWhatsAppNumberConfigurationOutput;
264
+ };
265
+ sdk: {
266
+ input: PutWhatsAppNumberConfigurationCommandInput;
267
+ output: PutWhatsAppNumberConfigurationCommandOutput;
268
+ };
269
+ };
270
+ }
@@ -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
  }