@wildix/xbees-kite-client 1.3.1 → 1.3.2
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/protocols/Aws_restJson1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -1
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +2 -0
- package/dist-types/commands/CreateWidgetCommand.d.ts +2 -0
- package/dist-types/commands/GetConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetWidgetCommand.d.ts +1 -0
- package/dist-types/commands/ListWidgetsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateWidgetCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +25 -0
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
39
39
|
'anonymousSessionsEnabled': [],
|
|
40
40
|
'anonymousSessionsOnly': [],
|
|
41
41
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
42
|
+
'minimumBookingGapMinutes': [],
|
|
42
43
|
'name': [],
|
|
43
44
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
44
45
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
@@ -67,6 +68,7 @@ const se_CreateWidgetCommand = async (input, context) => {
|
|
|
67
68
|
'anonymousSessionsEnabled': [],
|
|
68
69
|
'anonymousSessionsOnly': [],
|
|
69
70
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
71
|
+
'minimumBookingGapMinutes': [],
|
|
70
72
|
'name': [],
|
|
71
73
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
72
74
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
@@ -408,6 +410,7 @@ const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
408
410
|
'anonymousSessionsEnabled': [],
|
|
409
411
|
'anonymousSessionsOnly': [],
|
|
410
412
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
413
|
+
'minimumBookingGapMinutes': [],
|
|
411
414
|
'name': [],
|
|
412
415
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
413
416
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
@@ -913,6 +916,7 @@ const de_Widget = (output, context) => {
|
|
|
913
916
|
'company': smithy_client_1.expectString,
|
|
914
917
|
'createdAt': smithy_client_1.expectString,
|
|
915
918
|
'id': smithy_client_1.expectString,
|
|
919
|
+
'minimumBookingGapMinutes': smithy_client_1.expectInt32,
|
|
916
920
|
'name': smithy_client_1.expectString,
|
|
917
921
|
'routes': (_) => de_WidgetRoutesList(_, context),
|
|
918
922
|
'target': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
@@ -2,7 +2,7 @@ import { KiteServiceException as __BaseException } from "../models/KiteServiceEx
|
|
|
2
2
|
import { ChannelNotFoundException, EventNotFoundException, ForbiddenException, NotFoundException, RateLimitExceededException, TargetNotFoundException, ValidationException, WidgetNotFoundException, } from "../models/models_0";
|
|
3
3
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
4
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
6
6
|
export const se_CancelCalendarEventCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
@@ -35,6 +35,7 @@ export const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
35
35
|
'anonymousSessionsEnabled': [],
|
|
36
36
|
'anonymousSessionsOnly': [],
|
|
37
37
|
'appearance': _ => _json(_),
|
|
38
|
+
'minimumBookingGapMinutes': [],
|
|
38
39
|
'name': [],
|
|
39
40
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
40
41
|
'target': _ => _json(_),
|
|
@@ -62,6 +63,7 @@ export const se_CreateWidgetCommand = async (input, context) => {
|
|
|
62
63
|
'anonymousSessionsEnabled': [],
|
|
63
64
|
'anonymousSessionsOnly': [],
|
|
64
65
|
'appearance': _ => _json(_),
|
|
66
|
+
'minimumBookingGapMinutes': [],
|
|
65
67
|
'name': [],
|
|
66
68
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
67
69
|
'target': _ => _json(_),
|
|
@@ -384,6 +386,7 @@ export const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
384
386
|
'anonymousSessionsEnabled': [],
|
|
385
387
|
'anonymousSessionsOnly': [],
|
|
386
388
|
'appearance': _ => _json(_),
|
|
389
|
+
'minimumBookingGapMinutes': [],
|
|
387
390
|
'name': [],
|
|
388
391
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
389
392
|
'target': _ => _json(_),
|
|
@@ -866,6 +869,7 @@ const de_Widget = (output, context) => {
|
|
|
866
869
|
'company': __expectString,
|
|
867
870
|
'createdAt': __expectString,
|
|
868
871
|
'id': __expectString,
|
|
872
|
+
'minimumBookingGapMinutes': __expectInt32,
|
|
869
873
|
'name': __expectString,
|
|
870
874
|
'routes': (_) => de_WidgetRoutesList(_, context),
|
|
871
875
|
'target': (_) => _json(__expectUnion(_)),
|
|
@@ -214,6 +214,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
214
214
|
* delay: Number("int"),
|
|
215
215
|
* },
|
|
216
216
|
* ],
|
|
217
|
+
* minimumBookingGapMinutes: Number("int"),
|
|
217
218
|
* name: "STRING_VALUE", // required
|
|
218
219
|
* target: {// Union: only one key present
|
|
219
220
|
* service: {
|
|
@@ -473,6 +474,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
473
474
|
* // delay: Number("int"),
|
|
474
475
|
* // },
|
|
475
476
|
* // ],
|
|
477
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
476
478
|
* // name: "STRING_VALUE", // required
|
|
477
479
|
* // target: {// Union: only one key present
|
|
478
480
|
* // service: {
|
|
@@ -214,6 +214,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
214
214
|
* delay: Number("int"),
|
|
215
215
|
* },
|
|
216
216
|
* ],
|
|
217
|
+
* minimumBookingGapMinutes: Number("int"),
|
|
217
218
|
* name: "STRING_VALUE", // required
|
|
218
219
|
* target: {// Union: only one key present
|
|
219
220
|
* service: {
|
|
@@ -472,6 +473,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
472
473
|
* // delay: Number("int"),
|
|
473
474
|
* // },
|
|
474
475
|
* // ],
|
|
476
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
475
477
|
* // name: "STRING_VALUE", // required
|
|
476
478
|
* // target: {// Union: only one key present
|
|
477
479
|
* // service: {
|
|
@@ -126,6 +126,7 @@ declare const GetConfigCommand_base: {
|
|
|
126
126
|
* // ],
|
|
127
127
|
* // anonymousSessionsEnabled: true || false,
|
|
128
128
|
* // anonymousSessionsOnly: true || false,
|
|
129
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
129
130
|
* // features: [ // KiteFeaturesList
|
|
130
131
|
* // "scheduling",
|
|
131
132
|
* // ],
|
|
@@ -220,6 +220,7 @@ declare const GetWidgetCommand_base: {
|
|
|
220
220
|
* // delay: Number("int"),
|
|
221
221
|
* // },
|
|
222
222
|
* // ],
|
|
223
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
223
224
|
* // name: "STRING_VALUE", // required
|
|
224
225
|
* // target: {// Union: only one key present
|
|
225
226
|
* // service: {
|
|
@@ -221,6 +221,7 @@ declare const ListWidgetsCommand_base: {
|
|
|
221
221
|
* // delay: Number("int"),
|
|
222
222
|
* // },
|
|
223
223
|
* // ],
|
|
224
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
224
225
|
* // name: "STRING_VALUE", // required
|
|
225
226
|
* // target: {// Union: only one key present
|
|
226
227
|
* // service: {
|
|
@@ -214,6 +214,7 @@ declare const UpdateWidgetCommand_base: {
|
|
|
214
214
|
* delay: Number("int"),
|
|
215
215
|
* },
|
|
216
216
|
* ],
|
|
217
|
+
* minimumBookingGapMinutes: Number("int"),
|
|
217
218
|
* name: "STRING_VALUE", // required
|
|
218
219
|
* target: {// Union: only one key present
|
|
219
220
|
* service: {
|
|
@@ -473,6 +474,7 @@ declare const UpdateWidgetCommand_base: {
|
|
|
473
474
|
* // delay: Number("int"),
|
|
474
475
|
* // },
|
|
475
476
|
* // ],
|
|
477
|
+
* // minimumBookingGapMinutes: Number("int"),
|
|
476
478
|
* // name: "STRING_VALUE", // required
|
|
477
479
|
* // target: {// Union: only one key present
|
|
478
480
|
* // service: {
|
|
@@ -1166,6 +1166,11 @@ export interface CreateOrUpdateWidgetPreviewInput {
|
|
|
1166
1166
|
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
|
|
1169
|
+
/**
|
|
1170
|
+
* Minimum gap in minutes between the current time and the earliest calendar slot that can be booked. If omitted or set to 0, current behavior is preserved.
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
minimumBookingGapMinutes?: number | undefined;
|
|
1169
1174
|
name: string;
|
|
1170
1175
|
/**
|
|
1171
1176
|
* The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
|
|
@@ -1213,6 +1218,11 @@ export interface Widget {
|
|
|
1213
1218
|
* @public
|
|
1214
1219
|
*/
|
|
1215
1220
|
welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* Minimum gap in minutes between the current time and the earliest calendar slot that can be booked. If omitted or set to 0, current behavior is preserved.
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1225
|
+
minimumBookingGapMinutes?: number | undefined;
|
|
1216
1226
|
name: string;
|
|
1217
1227
|
/**
|
|
1218
1228
|
* The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
|
|
@@ -1264,6 +1274,11 @@ export interface CreateWidgetInput {
|
|
|
1264
1274
|
* @public
|
|
1265
1275
|
*/
|
|
1266
1276
|
welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
|
|
1277
|
+
/**
|
|
1278
|
+
* Minimum gap in minutes between the current time and the earliest calendar slot that can be booked. If omitted or set to 0, current behavior is preserved.
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
minimumBookingGapMinutes?: number | undefined;
|
|
1267
1282
|
name: string;
|
|
1268
1283
|
/**
|
|
1269
1284
|
* The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
|
|
@@ -1431,6 +1446,11 @@ export interface KiteConfig {
|
|
|
1431
1446
|
* @public
|
|
1432
1447
|
*/
|
|
1433
1448
|
anonymousSessionsOnly?: boolean | undefined;
|
|
1449
|
+
/**
|
|
1450
|
+
* Minimum gap in minutes between the current time and the earliest calendar slot that can be booked. If omitted or set to 0, current behavior is preserved.
|
|
1451
|
+
* @public
|
|
1452
|
+
*/
|
|
1453
|
+
minimumBookingGapMinutes?: number | undefined;
|
|
1434
1454
|
/**
|
|
1435
1455
|
* A list of features that are supported.
|
|
1436
1456
|
* @public
|
|
@@ -2093,6 +2113,11 @@ export interface UpdateWidgetInput {
|
|
|
2093
2113
|
* @public
|
|
2094
2114
|
*/
|
|
2095
2115
|
welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
|
|
2116
|
+
/**
|
|
2117
|
+
* Minimum gap in minutes between the current time and the earliest calendar slot that can be booked. If omitted or set to 0, current behavior is preserved.
|
|
2118
|
+
* @public
|
|
2119
|
+
*/
|
|
2120
|
+
minimumBookingGapMinutes?: number | undefined;
|
|
2096
2121
|
name: string;
|
|
2097
2122
|
/**
|
|
2098
2123
|
* The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-kite-client",
|
|
3
3
|
"description": "@wildix/xbees-kite-client client",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|