@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.
- package/dist-cjs/Kite.js +20 -0
- package/dist-cjs/KiteClient.js +4 -5
- package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +21 -0
- 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 +10 -0
- package/dist-cjs/models/models_0.js +113 -22
- package/dist-cjs/protocols/Aws_restJson1.js +380 -74
- 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 +20 -0
- package/dist-es/KiteClient.js +4 -5
- package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +17 -0
- 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 +10 -0
- package/dist-es/models/models_0.js +105 -15
- package/dist-es/protocols/Aws_restJson1.js +334 -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 +74 -0
- package/dist-types/KiteClient.d.ts +12 -2
- package/dist-types/commands/CancelCalendarEventCommand.d.ts +17 -0
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +414 -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 +10 -0
- package/dist-types/models/models_0.d.ts +900 -154
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -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
|
@@ -79,6 +79,8 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
81
|
*
|
|
82
|
+
* @throws {@link NotFoundException} (client fault)
|
|
83
|
+
*
|
|
82
84
|
* @throws {@link ForbiddenException} (client fault)
|
|
83
85
|
*
|
|
84
86
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -86,6 +88,18 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
86
88
|
* @throws {@link KiteServiceException}
|
|
87
89
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
88
90
|
*
|
|
91
|
+
*
|
|
89
92
|
*/
|
|
90
93
|
export declare class GetCalendarSlotsCommand extends GetCalendarSlotsCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: GetCalendarSlotsInput;
|
|
98
|
+
output: GetCalendarSlotsOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: GetCalendarSlotsCommandInput;
|
|
102
|
+
output: GetCalendarSlotsCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
91
105
|
}
|
|
@@ -130,6 +130,8 @@ declare const GetConfigCommand_base: {
|
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link ValidationException} (client fault)
|
|
132
132
|
*
|
|
133
|
+
* @throws {@link NotFoundException} (client fault)
|
|
134
|
+
*
|
|
133
135
|
* @throws {@link ForbiddenException} (client fault)
|
|
134
136
|
*
|
|
135
137
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
@@ -137,6 +139,18 @@ declare const GetConfigCommand_base: {
|
|
|
137
139
|
* @throws {@link KiteServiceException}
|
|
138
140
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
139
141
|
*
|
|
142
|
+
*
|
|
140
143
|
*/
|
|
141
144
|
export declare class GetConfigCommand extends GetConfigCommand_base {
|
|
145
|
+
/** @internal type navigation helper, not in runtime. */
|
|
146
|
+
protected static __types: {
|
|
147
|
+
api: {
|
|
148
|
+
input: GetConfigInput;
|
|
149
|
+
output: GetConfigOutput;
|
|
150
|
+
};
|
|
151
|
+
sdk: {
|
|
152
|
+
input: GetConfigCommandInput;
|
|
153
|
+
output: GetConfigCommandOutput;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
142
156
|
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
|
|
2
|
+
import { GetSmsNumberConfigurationInput, GetSmsNumberConfigurationOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSmsNumberConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSmsNumberConfigurationCommandInput extends GetSmsNumberConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSmsNumberConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSmsNumberConfigurationCommandOutput extends GetSmsNumberConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSmsNumberConfigurationCommand_base: {
|
|
25
|
+
new (input: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSmsNumberConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSmsNumberConfigurationCommandInput, GetSmsNumberConfigurationCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { KiteClient, GetSmsNumberConfigurationCommand } from "@wildix/xbees-kite-client"; // ES Modules import
|
|
36
|
+
* // const { KiteClient, GetSmsNumberConfigurationCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
|
|
37
|
+
* const client = new KiteClient(config);
|
|
38
|
+
* const input = { // GetSmsNumberConfigurationInput
|
|
39
|
+
* companyId: "STRING_VALUE",
|
|
40
|
+
* serviceNumber: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetSmsNumberConfigurationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetSmsNumberConfigurationOutput
|
|
45
|
+
* // configuration: { // SmsConfig
|
|
46
|
+
* // serviceUri: "STRING_VALUE", // required
|
|
47
|
+
* // routes: [ // SmsConfigRoutesList
|
|
48
|
+
* // { // SmsConfigRoute
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // rules: [ // RouteRulesList // required
|
|
51
|
+
* // { // RouteRule Union: only one key present
|
|
52
|
+
* // timeFrame: { // RouteTimeFrameRule
|
|
53
|
+
* // timeZone: "STRING_VALUE", // required
|
|
54
|
+
* // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
55
|
+
* // startMinute: Number("int"), // required
|
|
56
|
+
* // endMinute: Number("int"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // target: { // RouteTarget Union: only one key present
|
|
61
|
+
* // service: { // RouteServiceTarget
|
|
62
|
+
* // id: Number("int"), // required
|
|
63
|
+
* // uri: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // agent: { // RouteAgentTarget
|
|
66
|
+
* // email: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // bot: { // RouteBotTarget
|
|
69
|
+
* // id: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // actions: [ // RouteActions
|
|
73
|
+
* // { // RouteAction
|
|
74
|
+
* // id: "STRING_VALUE", // required
|
|
75
|
+
* // conditions: [ // RouteActionConditions
|
|
76
|
+
* // { // RouteActionCondition Union: only one key present
|
|
77
|
+
* // replyTimeout: { // RouteReplyTimeoutCondition
|
|
78
|
+
* // timeout: Number("int"), // required
|
|
79
|
+
* // },
|
|
80
|
+
* // readTimeout: { // RouteReadTimeoutCondition
|
|
81
|
+
* // timeout: Number("int"), // required
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // task: { // RouteActionTask Union: only one key present
|
|
86
|
+
* // sendMessage: { // RouteSendMessageTask
|
|
87
|
+
* // botId: "STRING_VALUE", // required
|
|
88
|
+
* // text: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // addMembers: { // RouteAddMembersTask
|
|
91
|
+
* // emails: [ // RouteAddMembersUsersList // required
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // target: {// Union: only one key present
|
|
101
|
+
* // service: {
|
|
102
|
+
* // id: Number("int"), // required
|
|
103
|
+
* // uri: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // agent: {
|
|
106
|
+
* // email: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // bot: {
|
|
109
|
+
* // id: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // actions: [
|
|
113
|
+
* // {
|
|
114
|
+
* // id: "STRING_VALUE", // required
|
|
115
|
+
* // conditions: [
|
|
116
|
+
* // {// Union: only one key present
|
|
117
|
+
* // replyTimeout: {
|
|
118
|
+
* // timeout: Number("int"), // required
|
|
119
|
+
* // },
|
|
120
|
+
* // readTimeout: {
|
|
121
|
+
* // timeout: Number("int"), // required
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // task: {// Union: only one key present
|
|
126
|
+
* // sendMessage: {
|
|
127
|
+
* // botId: "STRING_VALUE", // required
|
|
128
|
+
* // text: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // addMembers: {
|
|
131
|
+
* // emails: [ // required
|
|
132
|
+
* // "STRING_VALUE",
|
|
133
|
+
* // ],
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // companyId: "STRING_VALUE", // required
|
|
139
|
+
* // serviceNumber: "STRING_VALUE", // required
|
|
140
|
+
* // createdAt: "STRING_VALUE", // required
|
|
141
|
+
* // updatedAt: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param GetSmsNumberConfigurationCommandInput - {@link GetSmsNumberConfigurationCommandInput}
|
|
148
|
+
* @returns {@link GetSmsNumberConfigurationCommandOutput}
|
|
149
|
+
* @see {@link GetSmsNumberConfigurationCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link GetSmsNumberConfigurationCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link ValidationException} (client fault)
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link NotFoundException} (client fault)
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link KiteServiceException}
|
|
162
|
+
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
163
|
+
*
|
|
164
|
+
*
|
|
165
|
+
*/
|
|
166
|
+
export declare class GetSmsNumberConfigurationCommand extends GetSmsNumberConfigurationCommand_base {
|
|
167
|
+
/** @internal type navigation helper, not in runtime. */
|
|
168
|
+
protected static __types: {
|
|
169
|
+
api: {
|
|
170
|
+
input: GetSmsNumberConfigurationInput;
|
|
171
|
+
output: GetSmsNumberConfigurationOutput;
|
|
172
|
+
};
|
|
173
|
+
sdk: {
|
|
174
|
+
input: GetSmsNumberConfigurationCommandInput;
|
|
175
|
+
output: GetSmsNumberConfigurationCommandOutput;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
}
|
|
@@ -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
|
}
|