@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
@@ -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
+ }
@@ -0,0 +1,179 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ListWhatsAppConfigurationsInput, ListWhatsAppConfigurationsOutput } 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 ListWhatsAppConfigurationsCommand}.
14
+ */
15
+ export interface ListWhatsAppConfigurationsCommandInput extends ListWhatsAppConfigurationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWhatsAppConfigurationsCommand}.
21
+ */
22
+ export interface ListWhatsAppConfigurationsCommandOutput extends ListWhatsAppConfigurationsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListWhatsAppConfigurationsCommand_base: {
25
+ new (input: ListWhatsAppConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListWhatsAppConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListWhatsAppConfigurationsCommandInput, ListWhatsAppConfigurationsCommandOutput, 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, ListWhatsAppConfigurationsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ListWhatsAppConfigurationsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ListWhatsAppConfigurationsInput
39
+ * companyId: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListWhatsAppConfigurationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListWhatsAppConfigurationsOutput
44
+ * // configurations: [ // WhatsAppConfigsList // required
45
+ * // { // 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
+ *
148
+ * @param ListWhatsAppConfigurationsCommandInput - {@link ListWhatsAppConfigurationsCommandInput}
149
+ * @returns {@link ListWhatsAppConfigurationsCommandOutput}
150
+ * @see {@link ListWhatsAppConfigurationsCommandInput} for command's `input` shape.
151
+ * @see {@link ListWhatsAppConfigurationsCommandOutput} 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 ListWhatsAppConfigurationsCommand extends ListWhatsAppConfigurationsCommand_base {
168
+ /** @internal type navigation helper, not in runtime. */
169
+ protected static __types: {
170
+ api: {
171
+ input: ListWhatsAppConfigurationsInput;
172
+ output: ListWhatsAppConfigurationsOutput;
173
+ };
174
+ sdk: {
175
+ input: ListWhatsAppConfigurationsCommandInput;
176
+ output: ListWhatsAppConfigurationsCommandOutput;
177
+ };
178
+ };
179
+ }
@@ -0,0 +1,82 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ListWhatsAppNumbersInput, ListWhatsAppNumbersOutput } 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 ListWhatsAppNumbersCommand}.
14
+ */
15
+ export interface ListWhatsAppNumbersCommandInput extends ListWhatsAppNumbersInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWhatsAppNumbersCommand}.
21
+ */
22
+ export interface ListWhatsAppNumbersCommandOutput extends ListWhatsAppNumbersOutput, __MetadataBearer {
23
+ }
24
+ declare const ListWhatsAppNumbersCommand_base: {
25
+ new (input: ListWhatsAppNumbersCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListWhatsAppNumbersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListWhatsAppNumbersCommandInput, ListWhatsAppNumbersCommandOutput, 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, ListWhatsAppNumbersCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ListWhatsAppNumbersCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ListWhatsAppNumbersInput
39
+ * companyId: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListWhatsAppNumbersCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListWhatsAppNumbersOutput
44
+ * // numbers: [ // WhatsAppServiceNumbersList // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param ListWhatsAppNumbersCommandInput - {@link ListWhatsAppNumbersCommandInput}
52
+ * @returns {@link ListWhatsAppNumbersCommandOutput}
53
+ * @see {@link ListWhatsAppNumbersCommandInput} for command's `input` shape.
54
+ * @see {@link ListWhatsAppNumbersCommandOutput} 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 ListWhatsAppNumbersCommand extends ListWhatsAppNumbersCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: ListWhatsAppNumbersInput;
75
+ output: ListWhatsAppNumbersOutput;
76
+ };
77
+ sdk: {
78
+ input: ListWhatsAppNumbersCommandInput;
79
+ output: ListWhatsAppNumbersCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -0,0 +1,118 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ListWhatsAppTemplatesInput, ListWhatsAppTemplatesOutput } 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 ListWhatsAppTemplatesCommand}.
14
+ */
15
+ export interface ListWhatsAppTemplatesCommandInput extends ListWhatsAppTemplatesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWhatsAppTemplatesCommand}.
21
+ */
22
+ export interface ListWhatsAppTemplatesCommandOutput extends ListWhatsAppTemplatesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListWhatsAppTemplatesCommand_base: {
25
+ new (input: ListWhatsAppTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListWhatsAppTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppTemplatesCommandInput, ListWhatsAppTemplatesCommandOutput, 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, ListWhatsAppTemplatesCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ListWhatsAppTemplatesCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ListWhatsAppTemplatesInput
39
+ * companyId: "STRING_VALUE",
40
+ * serviceNumber: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListWhatsAppTemplatesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListWhatsAppTemplatesOutput
45
+ * // templates: [ // TemplateList // required
46
+ * // { // Template
47
+ * // name: "STRING_VALUE", // required
48
+ * // parameterFormat: "NAMED", // required
49
+ * // components: [ // ComponentList // required
50
+ * // { // Component
51
+ * // type: "HEADER" || "BODY" || "FOOTER" || "BUTTONS", // required
52
+ * // format: "TEXT" || "IMAGE", // required
53
+ * // text: "STRING_VALUE",
54
+ * // example: { // ComponentExample
55
+ * // headerHandle: [ // StringList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // bodyTextNamedParams: [ // BodyTextNamedParamList
59
+ * // { // BodyTextNamedParam
60
+ * // paramName: "STRING_VALUE", // required
61
+ * // example: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // buttons: [ // ButtonList
66
+ * // { // Button
67
+ * // type: "QUICK_REPLY" || "URL" || "PHONE_NUMBER" || "OTP" || "MPM" || "CATALOG" || "FLOW" || "VOICE_CALL" || "APP", // required
68
+ * // text: "STRING_VALUE", // required
69
+ * // flowId: Number("long"),
70
+ * // flowAction: "STRING_VALUE",
71
+ * // navigateScreen: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // ],
76
+ * // language: "STRING_VALUE", // required
77
+ * // status: "APPROVED" || "PAUSED" || "REJECTED", // required
78
+ * // category: "MARKETING" || "UTILITY" || "AUTHENTICATION", // required
79
+ * // subCategory: "STRING_VALUE",
80
+ * // id: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param ListWhatsAppTemplatesCommandInput - {@link ListWhatsAppTemplatesCommandInput}
88
+ * @returns {@link ListWhatsAppTemplatesCommandOutput}
89
+ * @see {@link ListWhatsAppTemplatesCommandInput} for command's `input` shape.
90
+ * @see {@link ListWhatsAppTemplatesCommandOutput} for command's `response` shape.
91
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ *
95
+ * @throws {@link NotFoundException} (client fault)
96
+ *
97
+ * @throws {@link ForbiddenException} (client fault)
98
+ *
99
+ * @throws {@link RateLimitExceededException} (client fault)
100
+ *
101
+ * @throws {@link KiteServiceException}
102
+ * <p>Base exception class for all service exceptions from Kite service.</p>
103
+ *
104
+ *
105
+ */
106
+ export declare class ListWhatsAppTemplatesCommand extends ListWhatsAppTemplatesCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: ListWhatsAppTemplatesInput;
111
+ output: ListWhatsAppTemplatesOutput;
112
+ };
113
+ sdk: {
114
+ input: ListWhatsAppTemplatesCommandInput;
115
+ output: ListWhatsAppTemplatesCommandOutput;
116
+ };
117
+ };
118
+ }