@wildix/xbees-kite-client 1.0.10 → 1.0.12
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 +2 -2
- package/dist-cjs/commands/{GetCalendarAvailabilityCommand.js → GetCalendarSlotsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +1 -1
- package/dist-cjs/models/models_0.js +34 -8
- package/dist-cjs/protocols/Aws_restJson1.js +69 -13
- package/dist-es/Kite.js +2 -2
- package/dist-es/commands/GetCalendarSlotsCommand.js +17 -0
- package/dist-es/commands/index.js +1 -1
- package/dist-es/models/models_0.js +31 -7
- package/dist-es/protocols/Aws_restJson1.js +68 -12
- package/dist-types/Kite.d.ts +5 -5
- package/dist-types/KiteClient.d.ts +3 -3
- package/dist-types/commands/CancelCalendarEventCommand.d.ts +2 -0
- package/dist-types/commands/CreateWidgetCommand.d.ts +82 -22
- package/dist-types/commands/{GetCalendarAvailabilityCommand.d.ts → GetCalendarSlotsCommand.d.ts} +21 -19
- package/dist-types/commands/GetWidgetCommand.d.ts +41 -11
- package/dist-types/commands/ListWidgetsCommand.d.ts +41 -11
- package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +4 -0
- package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +4 -0
- package/dist-types/commands/UpdateWidgetCommand.d.ts +82 -22
- package/dist-types/commands/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +51 -24
- package/dist-types/protocols/Aws_restJson1.d.ts +5 -5
- package/package.json +1 -1
- package/dist-es/commands/GetCalendarAvailabilityCommand.js +0 -17
|
@@ -132,6 +132,8 @@ declare const CancelCalendarEventCommand_base: {
|
|
|
132
132
|
* @see {@link CancelCalendarEventCommandOutput} for command's `response` shape.
|
|
133
133
|
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
134
134
|
*
|
|
135
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
136
|
+
*
|
|
135
137
|
* @throws {@link ValidationException} (client fault)
|
|
136
138
|
*
|
|
137
139
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -60,6 +60,36 @@ declare const CreateWidgetCommand_base: {
|
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
+
* welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
64
|
+
* { // WidgetWelcomeMessage
|
|
65
|
+
* text: "STRING_VALUE",
|
|
66
|
+
* elements: [ // ElementsList
|
|
67
|
+
* { // Element Union: only one key present
|
|
68
|
+
* actions: [ // ActionsElementsList
|
|
69
|
+
* { // ActionElement Union: only one key present
|
|
70
|
+
* button: { // ButtonElement
|
|
71
|
+
* text: "STRING_VALUE", // required
|
|
72
|
+
* variant: "contained" || "outlined",
|
|
73
|
+
* disabled: true || false,
|
|
74
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
75
|
+
* link: { // ButtonLinkHandler
|
|
76
|
+
* url: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* reply: { // ButtonReplyHandler
|
|
79
|
+
* text: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* action: { // ButtonActionHandler
|
|
82
|
+
* id: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* delay: Number("int"),
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
63
93
|
* target: { // WidgetTarget Union: only one key present
|
|
64
94
|
* service: { // WidgetServiceTarget
|
|
65
95
|
* id: Number("int"), // required
|
|
@@ -74,25 +104,25 @@ declare const CreateWidgetCommand_base: {
|
|
|
74
104
|
* },
|
|
75
105
|
* },
|
|
76
106
|
* ],
|
|
77
|
-
* welcomeMessages: [
|
|
78
|
-
* {
|
|
107
|
+
* welcomeMessages: [
|
|
108
|
+
* {
|
|
79
109
|
* text: "STRING_VALUE",
|
|
80
|
-
* elements: [
|
|
81
|
-
* {
|
|
82
|
-
* actions: [
|
|
83
|
-
* {
|
|
84
|
-
* button: {
|
|
110
|
+
* elements: [
|
|
111
|
+
* {// Union: only one key present
|
|
112
|
+
* actions: [
|
|
113
|
+
* {// Union: only one key present
|
|
114
|
+
* button: {
|
|
85
115
|
* text: "STRING_VALUE", // required
|
|
86
116
|
* variant: "contained" || "outlined",
|
|
87
117
|
* disabled: true || false,
|
|
88
|
-
* handler: {
|
|
89
|
-
* link: {
|
|
118
|
+
* handler: {// Union: only one key present
|
|
119
|
+
* link: {
|
|
90
120
|
* url: "STRING_VALUE", // required
|
|
91
121
|
* },
|
|
92
|
-
* reply: {
|
|
122
|
+
* reply: {
|
|
93
123
|
* text: "STRING_VALUE",
|
|
94
124
|
* },
|
|
95
|
-
* action: {
|
|
125
|
+
* action: {
|
|
96
126
|
* id: "STRING_VALUE", // required
|
|
97
127
|
* },
|
|
98
128
|
* },
|
|
@@ -148,6 +178,36 @@ declare const CreateWidgetCommand_base: {
|
|
|
148
178
|
* // },
|
|
149
179
|
* // },
|
|
150
180
|
* // ],
|
|
181
|
+
* // welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
182
|
+
* // { // WidgetWelcomeMessage
|
|
183
|
+
* // text: "STRING_VALUE",
|
|
184
|
+
* // elements: [ // ElementsList
|
|
185
|
+
* // { // Element Union: only one key present
|
|
186
|
+
* // actions: [ // ActionsElementsList
|
|
187
|
+
* // { // ActionElement Union: only one key present
|
|
188
|
+
* // button: { // ButtonElement
|
|
189
|
+
* // text: "STRING_VALUE", // required
|
|
190
|
+
* // variant: "contained" || "outlined",
|
|
191
|
+
* // disabled: true || false,
|
|
192
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
193
|
+
* // link: { // ButtonLinkHandler
|
|
194
|
+
* // url: "STRING_VALUE", // required
|
|
195
|
+
* // },
|
|
196
|
+
* // reply: { // ButtonReplyHandler
|
|
197
|
+
* // text: "STRING_VALUE",
|
|
198
|
+
* // },
|
|
199
|
+
* // action: { // ButtonActionHandler
|
|
200
|
+
* // id: "STRING_VALUE", // required
|
|
201
|
+
* // },
|
|
202
|
+
* // },
|
|
203
|
+
* // },
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // },
|
|
207
|
+
* // ],
|
|
208
|
+
* // delay: Number("int"),
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
151
211
|
* // target: { // WidgetTarget Union: only one key present
|
|
152
212
|
* // service: { // WidgetServiceTarget
|
|
153
213
|
* // id: Number("int"), // required
|
|
@@ -162,25 +222,25 @@ declare const CreateWidgetCommand_base: {
|
|
|
162
222
|
* // },
|
|
163
223
|
* // },
|
|
164
224
|
* // ],
|
|
165
|
-
* // welcomeMessages: [
|
|
166
|
-
* // {
|
|
225
|
+
* // welcomeMessages: [
|
|
226
|
+
* // {
|
|
167
227
|
* // text: "STRING_VALUE",
|
|
168
|
-
* // elements: [
|
|
169
|
-
* // {
|
|
170
|
-
* // actions: [
|
|
171
|
-
* // {
|
|
172
|
-
* // button: {
|
|
228
|
+
* // elements: [
|
|
229
|
+
* // {// Union: only one key present
|
|
230
|
+
* // actions: [
|
|
231
|
+
* // {// Union: only one key present
|
|
232
|
+
* // button: {
|
|
173
233
|
* // text: "STRING_VALUE", // required
|
|
174
234
|
* // variant: "contained" || "outlined",
|
|
175
235
|
* // disabled: true || false,
|
|
176
|
-
* // handler: {
|
|
177
|
-
* // link: {
|
|
236
|
+
* // handler: {// Union: only one key present
|
|
237
|
+
* // link: {
|
|
178
238
|
* // url: "STRING_VALUE", // required
|
|
179
239
|
* // },
|
|
180
|
-
* // reply: {
|
|
240
|
+
* // reply: {
|
|
181
241
|
* // text: "STRING_VALUE",
|
|
182
242
|
* // },
|
|
183
|
-
* // action: {
|
|
243
|
+
* // action: {
|
|
184
244
|
* // id: "STRING_VALUE", // required
|
|
185
245
|
* // },
|
|
186
246
|
* // },
|
package/dist-types/commands/{GetCalendarAvailabilityCommand.d.ts → GetCalendarSlotsCommand.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
|
|
2
|
-
import {
|
|
2
|
+
import { GetCalendarSlotsInput, GetCalendarSlotsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
@@ -10,20 +10,20 @@ export { $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
13
|
-
* The input for {@link
|
|
13
|
+
* The input for {@link GetCalendarSlotsCommand}.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface GetCalendarSlotsCommandInput extends GetCalendarSlotsInput {
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
19
19
|
*
|
|
20
|
-
* The output of {@link
|
|
20
|
+
* The output of {@link GetCalendarSlotsCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetCalendarSlotsCommandOutput extends GetCalendarSlotsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
|
-
declare const
|
|
25
|
-
new (input:
|
|
26
|
-
new (__0_0:
|
|
24
|
+
declare const GetCalendarSlotsCommand_base: {
|
|
25
|
+
new (input: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -32,10 +32,10 @@ declare const GetCalendarAvailabilityCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import { KiteClient,
|
|
36
|
-
* // const { KiteClient,
|
|
35
|
+
* import { KiteClient, GetCalendarSlotsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
|
|
36
|
+
* // const { KiteClient, GetCalendarSlotsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
|
|
37
37
|
* const client = new KiteClient(config);
|
|
38
|
-
* const input = { //
|
|
38
|
+
* const input = { // GetCalendarSlotsInput
|
|
39
39
|
* targetId: "STRING_VALUE", // required
|
|
40
40
|
* from: "STRING_VALUE", // required
|
|
41
41
|
* till: "STRING_VALUE", // required
|
|
@@ -43,10 +43,10 @@ declare const GetCalendarAvailabilityCommand_base: {
|
|
|
43
43
|
* timeZone: "STRING_VALUE", // required
|
|
44
44
|
* excluded: "STRING_VALUE",
|
|
45
45
|
* };
|
|
46
|
-
* const command = new
|
|
46
|
+
* const command = new GetCalendarSlotsCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
-
* // { //
|
|
49
|
-
* //
|
|
48
|
+
* // { // GetCalendarSlotsOutput
|
|
49
|
+
* // calendar: { // CalendarAvailability
|
|
50
50
|
* // days: [ // CalendarDaySlotsList
|
|
51
51
|
* // { // CalendarDaySlots
|
|
52
52
|
* // date: "STRING_VALUE",
|
|
@@ -69,12 +69,14 @@ declare const GetCalendarAvailabilityCommand_base: {
|
|
|
69
69
|
*
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
|
-
* @param
|
|
73
|
-
* @returns {@link
|
|
74
|
-
* @see {@link
|
|
75
|
-
* @see {@link
|
|
72
|
+
* @param GetCalendarSlotsCommandInput - {@link GetCalendarSlotsCommandInput}
|
|
73
|
+
* @returns {@link GetCalendarSlotsCommandOutput}
|
|
74
|
+
* @see {@link GetCalendarSlotsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetCalendarSlotsCommandOutput} for command's `response` shape.
|
|
76
76
|
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
77
77
|
*
|
|
78
|
+
* @throws {@link TargetNotFoundException} (client fault)
|
|
79
|
+
*
|
|
78
80
|
* @throws {@link ValidationException} (client fault)
|
|
79
81
|
*
|
|
80
82
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -85,5 +87,5 @@ declare const GetCalendarAvailabilityCommand_base: {
|
|
|
85
87
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
86
88
|
*
|
|
87
89
|
*/
|
|
88
|
-
export declare class
|
|
90
|
+
export declare class GetCalendarSlotsCommand extends GetCalendarSlotsCommand_base {
|
|
89
91
|
}
|
|
@@ -66,6 +66,36 @@ declare const GetWidgetCommand_base: {
|
|
|
66
66
|
* // },
|
|
67
67
|
* // },
|
|
68
68
|
* // ],
|
|
69
|
+
* // welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
70
|
+
* // { // WidgetWelcomeMessage
|
|
71
|
+
* // text: "STRING_VALUE",
|
|
72
|
+
* // elements: [ // ElementsList
|
|
73
|
+
* // { // Element Union: only one key present
|
|
74
|
+
* // actions: [ // ActionsElementsList
|
|
75
|
+
* // { // ActionElement Union: only one key present
|
|
76
|
+
* // button: { // ButtonElement
|
|
77
|
+
* // text: "STRING_VALUE", // required
|
|
78
|
+
* // variant: "contained" || "outlined",
|
|
79
|
+
* // disabled: true || false,
|
|
80
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
81
|
+
* // link: { // ButtonLinkHandler
|
|
82
|
+
* // url: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // reply: { // ButtonReplyHandler
|
|
85
|
+
* // text: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // action: { // ButtonActionHandler
|
|
88
|
+
* // id: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // delay: Number("int"),
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
69
99
|
* // target: { // WidgetTarget Union: only one key present
|
|
70
100
|
* // service: { // WidgetServiceTarget
|
|
71
101
|
* // id: Number("int"), // required
|
|
@@ -80,25 +110,25 @@ declare const GetWidgetCommand_base: {
|
|
|
80
110
|
* // },
|
|
81
111
|
* // },
|
|
82
112
|
* // ],
|
|
83
|
-
* // welcomeMessages: [
|
|
84
|
-
* // {
|
|
113
|
+
* // welcomeMessages: [
|
|
114
|
+
* // {
|
|
85
115
|
* // text: "STRING_VALUE",
|
|
86
|
-
* // elements: [
|
|
87
|
-
* // {
|
|
88
|
-
* // actions: [
|
|
89
|
-
* // {
|
|
90
|
-
* // button: {
|
|
116
|
+
* // elements: [
|
|
117
|
+
* // {// Union: only one key present
|
|
118
|
+
* // actions: [
|
|
119
|
+
* // {// Union: only one key present
|
|
120
|
+
* // button: {
|
|
91
121
|
* // text: "STRING_VALUE", // required
|
|
92
122
|
* // variant: "contained" || "outlined",
|
|
93
123
|
* // disabled: true || false,
|
|
94
|
-
* // handler: {
|
|
95
|
-
* // link: {
|
|
124
|
+
* // handler: {// Union: only one key present
|
|
125
|
+
* // link: {
|
|
96
126
|
* // url: "STRING_VALUE", // required
|
|
97
127
|
* // },
|
|
98
|
-
* // reply: {
|
|
128
|
+
* // reply: {
|
|
99
129
|
* // text: "STRING_VALUE",
|
|
100
130
|
* // },
|
|
101
|
-
* // action: {
|
|
131
|
+
* // action: {
|
|
102
132
|
* // id: "STRING_VALUE", // required
|
|
103
133
|
* // },
|
|
104
134
|
* // },
|
|
@@ -68,6 +68,36 @@ declare const ListWidgetsCommand_base: {
|
|
|
68
68
|
* // },
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
71
|
+
* // welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
72
|
+
* // { // WidgetWelcomeMessage
|
|
73
|
+
* // text: "STRING_VALUE",
|
|
74
|
+
* // elements: [ // ElementsList
|
|
75
|
+
* // { // Element Union: only one key present
|
|
76
|
+
* // actions: [ // ActionsElementsList
|
|
77
|
+
* // { // ActionElement Union: only one key present
|
|
78
|
+
* // button: { // ButtonElement
|
|
79
|
+
* // text: "STRING_VALUE", // required
|
|
80
|
+
* // variant: "contained" || "outlined",
|
|
81
|
+
* // disabled: true || false,
|
|
82
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
83
|
+
* // link: { // ButtonLinkHandler
|
|
84
|
+
* // url: "STRING_VALUE", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // reply: { // ButtonReplyHandler
|
|
87
|
+
* // text: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // action: { // ButtonActionHandler
|
|
90
|
+
* // id: "STRING_VALUE", // required
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // delay: Number("int"),
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
71
101
|
* // target: { // WidgetTarget Union: only one key present
|
|
72
102
|
* // service: { // WidgetServiceTarget
|
|
73
103
|
* // id: Number("int"), // required
|
|
@@ -82,25 +112,25 @@ declare const ListWidgetsCommand_base: {
|
|
|
82
112
|
* // },
|
|
83
113
|
* // },
|
|
84
114
|
* // ],
|
|
85
|
-
* // welcomeMessages: [
|
|
86
|
-
* // {
|
|
115
|
+
* // welcomeMessages: [
|
|
116
|
+
* // {
|
|
87
117
|
* // text: "STRING_VALUE",
|
|
88
|
-
* // elements: [
|
|
89
|
-
* // {
|
|
90
|
-
* // actions: [
|
|
91
|
-
* // {
|
|
92
|
-
* // button: {
|
|
118
|
+
* // elements: [
|
|
119
|
+
* // {// Union: only one key present
|
|
120
|
+
* // actions: [
|
|
121
|
+
* // {// Union: only one key present
|
|
122
|
+
* // button: {
|
|
93
123
|
* // text: "STRING_VALUE", // required
|
|
94
124
|
* // variant: "contained" || "outlined",
|
|
95
125
|
* // disabled: true || false,
|
|
96
|
-
* // handler: {
|
|
97
|
-
* // link: {
|
|
126
|
+
* // handler: {// Union: only one key present
|
|
127
|
+
* // link: {
|
|
98
128
|
* // url: "STRING_VALUE", // required
|
|
99
129
|
* // },
|
|
100
|
-
* // reply: {
|
|
130
|
+
* // reply: {
|
|
101
131
|
* // text: "STRING_VALUE",
|
|
102
132
|
* // },
|
|
103
|
-
* // action: {
|
|
133
|
+
* // action: {
|
|
104
134
|
* // id: "STRING_VALUE", // required
|
|
105
135
|
* // },
|
|
106
136
|
* // },
|
|
@@ -141,6 +141,10 @@ declare const RescheduleCalendarEventCommand_base: {
|
|
|
141
141
|
* @see {@link RescheduleCalendarEventCommandOutput} for command's `response` shape.
|
|
142
142
|
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
143
143
|
*
|
|
144
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link EventNotFoundException} (client fault)
|
|
147
|
+
*
|
|
144
148
|
* @throws {@link ValidationException} (client fault)
|
|
145
149
|
*
|
|
146
150
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -138,6 +138,10 @@ declare const ScheduleCalendarEventCommand_base: {
|
|
|
138
138
|
* @see {@link ScheduleCalendarEventCommandOutput} for command's `response` shape.
|
|
139
139
|
* @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
|
|
140
140
|
*
|
|
141
|
+
* @throws {@link TargetNotFoundException} (client fault)
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
144
|
+
*
|
|
141
145
|
* @throws {@link ValidationException} (client fault)
|
|
142
146
|
*
|
|
143
147
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -60,6 +60,36 @@ declare const UpdateWidgetCommand_base: {
|
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
+
* welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
64
|
+
* { // WidgetWelcomeMessage
|
|
65
|
+
* text: "STRING_VALUE",
|
|
66
|
+
* elements: [ // ElementsList
|
|
67
|
+
* { // Element Union: only one key present
|
|
68
|
+
* actions: [ // ActionsElementsList
|
|
69
|
+
* { // ActionElement Union: only one key present
|
|
70
|
+
* button: { // ButtonElement
|
|
71
|
+
* text: "STRING_VALUE", // required
|
|
72
|
+
* variant: "contained" || "outlined",
|
|
73
|
+
* disabled: true || false,
|
|
74
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
75
|
+
* link: { // ButtonLinkHandler
|
|
76
|
+
* url: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* reply: { // ButtonReplyHandler
|
|
79
|
+
* text: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* action: { // ButtonActionHandler
|
|
82
|
+
* id: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* delay: Number("int"),
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
63
93
|
* target: { // WidgetTarget Union: only one key present
|
|
64
94
|
* service: { // WidgetServiceTarget
|
|
65
95
|
* id: Number("int"), // required
|
|
@@ -74,25 +104,25 @@ declare const UpdateWidgetCommand_base: {
|
|
|
74
104
|
* },
|
|
75
105
|
* },
|
|
76
106
|
* ],
|
|
77
|
-
* welcomeMessages: [
|
|
78
|
-
* {
|
|
107
|
+
* welcomeMessages: [
|
|
108
|
+
* {
|
|
79
109
|
* text: "STRING_VALUE",
|
|
80
|
-
* elements: [
|
|
81
|
-
* {
|
|
82
|
-
* actions: [
|
|
83
|
-
* {
|
|
84
|
-
* button: {
|
|
110
|
+
* elements: [
|
|
111
|
+
* {// Union: only one key present
|
|
112
|
+
* actions: [
|
|
113
|
+
* {// Union: only one key present
|
|
114
|
+
* button: {
|
|
85
115
|
* text: "STRING_VALUE", // required
|
|
86
116
|
* variant: "contained" || "outlined",
|
|
87
117
|
* disabled: true || false,
|
|
88
|
-
* handler: {
|
|
89
|
-
* link: {
|
|
118
|
+
* handler: {// Union: only one key present
|
|
119
|
+
* link: {
|
|
90
120
|
* url: "STRING_VALUE", // required
|
|
91
121
|
* },
|
|
92
|
-
* reply: {
|
|
122
|
+
* reply: {
|
|
93
123
|
* text: "STRING_VALUE",
|
|
94
124
|
* },
|
|
95
|
-
* action: {
|
|
125
|
+
* action: {
|
|
96
126
|
* id: "STRING_VALUE", // required
|
|
97
127
|
* },
|
|
98
128
|
* },
|
|
@@ -149,6 +179,36 @@ declare const UpdateWidgetCommand_base: {
|
|
|
149
179
|
* // },
|
|
150
180
|
* // },
|
|
151
181
|
* // ],
|
|
182
|
+
* // welcomeMessages: [ // WidgetWelcomeMessagesList
|
|
183
|
+
* // { // WidgetWelcomeMessage
|
|
184
|
+
* // text: "STRING_VALUE",
|
|
185
|
+
* // elements: [ // ElementsList
|
|
186
|
+
* // { // Element Union: only one key present
|
|
187
|
+
* // actions: [ // ActionsElementsList
|
|
188
|
+
* // { // ActionElement Union: only one key present
|
|
189
|
+
* // button: { // ButtonElement
|
|
190
|
+
* // text: "STRING_VALUE", // required
|
|
191
|
+
* // variant: "contained" || "outlined",
|
|
192
|
+
* // disabled: true || false,
|
|
193
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
194
|
+
* // link: { // ButtonLinkHandler
|
|
195
|
+
* // url: "STRING_VALUE", // required
|
|
196
|
+
* // },
|
|
197
|
+
* // reply: { // ButtonReplyHandler
|
|
198
|
+
* // text: "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // action: { // ButtonActionHandler
|
|
201
|
+
* // id: "STRING_VALUE", // required
|
|
202
|
+
* // },
|
|
203
|
+
* // },
|
|
204
|
+
* // },
|
|
205
|
+
* // },
|
|
206
|
+
* // ],
|
|
207
|
+
* // },
|
|
208
|
+
* // ],
|
|
209
|
+
* // delay: Number("int"),
|
|
210
|
+
* // },
|
|
211
|
+
* // ],
|
|
152
212
|
* // target: { // WidgetTarget Union: only one key present
|
|
153
213
|
* // service: { // WidgetServiceTarget
|
|
154
214
|
* // id: Number("int"), // required
|
|
@@ -163,25 +223,25 @@ declare const UpdateWidgetCommand_base: {
|
|
|
163
223
|
* // },
|
|
164
224
|
* // },
|
|
165
225
|
* // ],
|
|
166
|
-
* // welcomeMessages: [
|
|
167
|
-
* // {
|
|
226
|
+
* // welcomeMessages: [
|
|
227
|
+
* // {
|
|
168
228
|
* // text: "STRING_VALUE",
|
|
169
|
-
* // elements: [
|
|
170
|
-
* // {
|
|
171
|
-
* // actions: [
|
|
172
|
-
* // {
|
|
173
|
-
* // button: {
|
|
229
|
+
* // elements: [
|
|
230
|
+
* // {// Union: only one key present
|
|
231
|
+
* // actions: [
|
|
232
|
+
* // {// Union: only one key present
|
|
233
|
+
* // button: {
|
|
174
234
|
* // text: "STRING_VALUE", // required
|
|
175
235
|
* // variant: "contained" || "outlined",
|
|
176
236
|
* // disabled: true || false,
|
|
177
|
-
* // handler: {
|
|
178
|
-
* // link: {
|
|
237
|
+
* // handler: {// Union: only one key present
|
|
238
|
+
* // link: {
|
|
179
239
|
* // url: "STRING_VALUE", // required
|
|
180
240
|
* // },
|
|
181
|
-
* // reply: {
|
|
241
|
+
* // reply: {
|
|
182
242
|
* // text: "STRING_VALUE",
|
|
183
243
|
* // },
|
|
184
|
-
* // action: {
|
|
244
|
+
* // action: {
|
|
185
245
|
* // id: "STRING_VALUE", // required
|
|
186
246
|
* // },
|
|
187
247
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./CancelCalendarEventCommand";
|
|
2
2
|
export * from "./CreateWidgetCommand";
|
|
3
3
|
export * from "./DeleteWidgetCommand";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./GetCalendarSlotsCommand";
|
|
5
5
|
export * from "./GetConfigCommand";
|
|
6
6
|
export * from "./GetWidgetCommand";
|
|
7
7
|
export * from "./ListAgentsCommand";
|