@wildix/xbees-kite-client 1.2.3 → 1.3.1

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.
@@ -37,6 +37,7 @@ const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
37
37
  body = JSON.stringify((0, smithy_client_1.take)(input, {
38
38
  'actions': _ => (0, smithy_client_1._json)(_),
39
39
  'anonymousSessionsEnabled': [],
40
+ 'anonymousSessionsOnly': [],
40
41
  'appearance': _ => (0, smithy_client_1._json)(_),
41
42
  'name': [],
42
43
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -64,6 +65,7 @@ const se_CreateWidgetCommand = async (input, context) => {
64
65
  body = JSON.stringify((0, smithy_client_1.take)(input, {
65
66
  'actions': _ => (0, smithy_client_1._json)(_),
66
67
  'anonymousSessionsEnabled': [],
68
+ 'anonymousSessionsOnly': [],
67
69
  'appearance': _ => (0, smithy_client_1._json)(_),
68
70
  'name': [],
69
71
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -404,6 +406,7 @@ const se_UpdateWidgetCommand = async (input, context) => {
404
406
  body = JSON.stringify((0, smithy_client_1.take)(input, {
405
407
  'actions': _ => (0, smithy_client_1._json)(_),
406
408
  'anonymousSessionsEnabled': [],
409
+ 'anonymousSessionsOnly': [],
407
410
  'appearance': _ => (0, smithy_client_1._json)(_),
408
411
  'name': [],
409
412
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -905,6 +908,7 @@ const de_Widget = (output, context) => {
905
908
  return (0, smithy_client_1.take)(output, {
906
909
  'actions': smithy_client_1._json,
907
910
  'anonymousSessionsEnabled': smithy_client_1.expectBoolean,
911
+ 'anonymousSessionsOnly': smithy_client_1.expectBoolean,
908
912
  'appearance': smithy_client_1._json,
909
913
  'company': smithy_client_1.expectString,
910
914
  'createdAt': smithy_client_1.expectString,
@@ -33,6 +33,7 @@ export const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
33
33
  body = JSON.stringify(take(input, {
34
34
  'actions': _ => _json(_),
35
35
  'anonymousSessionsEnabled': [],
36
+ 'anonymousSessionsOnly': [],
36
37
  'appearance': _ => _json(_),
37
38
  'name': [],
38
39
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -59,6 +60,7 @@ export const se_CreateWidgetCommand = async (input, context) => {
59
60
  body = JSON.stringify(take(input, {
60
61
  'actions': _ => _json(_),
61
62
  'anonymousSessionsEnabled': [],
63
+ 'anonymousSessionsOnly': [],
62
64
  'appearance': _ => _json(_),
63
65
  'name': [],
64
66
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -380,6 +382,7 @@ export const se_UpdateWidgetCommand = async (input, context) => {
380
382
  body = JSON.stringify(take(input, {
381
383
  'actions': _ => _json(_),
382
384
  'anonymousSessionsEnabled': [],
385
+ 'anonymousSessionsOnly': [],
383
386
  'appearance': _ => _json(_),
384
387
  'name': [],
385
388
  'routes': _ => se_WidgetRoutesList(_, context),
@@ -858,6 +861,7 @@ const de_Widget = (output, context) => {
858
861
  return take(output, {
859
862
  'actions': _json,
860
863
  'anonymousSessionsEnabled': __expectBoolean,
864
+ 'anonymousSessionsOnly': __expectBoolean,
861
865
  'appearance': _json,
862
866
  'company': __expectString,
863
867
  'createdAt': __expectString,
@@ -228,6 +228,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
228
228
  * },
229
229
  * },
230
230
  * anonymousSessionsEnabled: true || false,
231
+ * anonymousSessionsOnly: true || false,
231
232
  * actions: [
232
233
  * {
233
234
  * id: "STRING_VALUE", // required
@@ -486,6 +487,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
486
487
  * // },
487
488
  * // },
488
489
  * // anonymousSessionsEnabled: true || false,
490
+ * // anonymousSessionsOnly: true || false,
489
491
  * // actions: [
490
492
  * // {
491
493
  * // id: "STRING_VALUE", // required
@@ -228,6 +228,7 @@ declare const CreateWidgetCommand_base: {
228
228
  * },
229
229
  * },
230
230
  * anonymousSessionsEnabled: true || false,
231
+ * anonymousSessionsOnly: true || false,
231
232
  * actions: [
232
233
  * {
233
234
  * id: "STRING_VALUE", // required
@@ -485,6 +486,7 @@ declare const CreateWidgetCommand_base: {
485
486
  * // },
486
487
  * // },
487
488
  * // anonymousSessionsEnabled: true || false,
489
+ * // anonymousSessionsOnly: true || false,
488
490
  * // actions: [
489
491
  * // {
490
492
  * // id: "STRING_VALUE", // required
@@ -125,6 +125,7 @@ declare const GetConfigCommand_base: {
125
125
  * // },
126
126
  * // ],
127
127
  * // anonymousSessionsEnabled: true || false,
128
+ * // anonymousSessionsOnly: true || false,
128
129
  * // features: [ // KiteFeaturesList
129
130
  * // "scheduling",
130
131
  * // ],
@@ -234,6 +234,7 @@ declare const GetWidgetCommand_base: {
234
234
  * // },
235
235
  * // },
236
236
  * // anonymousSessionsEnabled: true || false,
237
+ * // anonymousSessionsOnly: true || false,
237
238
  * // actions: [
238
239
  * // {
239
240
  * // id: "STRING_VALUE", // required
@@ -235,6 +235,7 @@ declare const ListWidgetsCommand_base: {
235
235
  * // },
236
236
  * // },
237
237
  * // anonymousSessionsEnabled: true || false,
238
+ * // anonymousSessionsOnly: true || false,
238
239
  * // actions: [
239
240
  * // {
240
241
  * // id: "STRING_VALUE", // required
@@ -228,6 +228,7 @@ declare const UpdateWidgetCommand_base: {
228
228
  * },
229
229
  * },
230
230
  * anonymousSessionsEnabled: true || false,
231
+ * anonymousSessionsOnly: true || false,
231
232
  * actions: [
232
233
  * {
233
234
  * id: "STRING_VALUE", // required
@@ -486,6 +487,7 @@ declare const UpdateWidgetCommand_base: {
486
487
  * // },
487
488
  * // },
488
489
  * // anonymousSessionsEnabled: true || false,
490
+ * // anonymousSessionsOnly: true || false,
489
491
  * // actions: [
490
492
  * // {
491
493
  * // id: "STRING_VALUE", // required
@@ -1177,6 +1177,11 @@ export interface CreateOrUpdateWidgetPreviewInput {
1177
1177
  * @public
1178
1178
  */
1179
1179
  anonymousSessionsEnabled?: boolean | undefined;
1180
+ /**
1181
+ * Controls whether only unauthenticated users are allowed to start guest sessions through this widget. When enabled, anonymousSessionsEnabled is treated as enabled as well.
1182
+ * @public
1183
+ */
1184
+ anonymousSessionsOnly?: boolean | undefined;
1180
1185
  /**
1181
1186
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1182
1187
  * @public
@@ -1219,6 +1224,11 @@ export interface Widget {
1219
1224
  * @public
1220
1225
  */
1221
1226
  anonymousSessionsEnabled?: boolean | undefined;
1227
+ /**
1228
+ * Controls whether only unauthenticated users are allowed to start guest sessions through this widget. When enabled, anonymousSessionsEnabled is treated as enabled as well.
1229
+ * @public
1230
+ */
1231
+ anonymousSessionsOnly?: boolean | undefined;
1222
1232
  /**
1223
1233
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1224
1234
  * @public
@@ -1265,6 +1275,11 @@ export interface CreateWidgetInput {
1265
1275
  * @public
1266
1276
  */
1267
1277
  anonymousSessionsEnabled?: boolean | undefined;
1278
+ /**
1279
+ * Controls whether only unauthenticated users are allowed to start guest sessions through this widget. When enabled, anonymousSessionsEnabled is treated as enabled as well.
1280
+ * @public
1281
+ */
1282
+ anonymousSessionsOnly?: boolean | undefined;
1268
1283
  /**
1269
1284
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1270
1285
  * @public
@@ -1411,6 +1426,11 @@ export interface KiteConfig {
1411
1426
  * @public
1412
1427
  */
1413
1428
  anonymousSessionsEnabled?: boolean | undefined;
1429
+ /**
1430
+ * Controls whether only unauthenticated users are allowed to start guest sessions through this widget.
1431
+ * @public
1432
+ */
1433
+ anonymousSessionsOnly?: boolean | undefined;
1414
1434
  /**
1415
1435
  * A list of features that are supported.
1416
1436
  * @public
@@ -2084,6 +2104,11 @@ export interface UpdateWidgetInput {
2084
2104
  * @public
2085
2105
  */
2086
2106
  anonymousSessionsEnabled?: boolean | undefined;
2107
+ /**
2108
+ * Controls whether only unauthenticated users are allowed to start guest sessions through this widget. When enabled, anonymousSessionsEnabled is treated as enabled as well.
2109
+ * @public
2110
+ */
2111
+ anonymousSessionsOnly?: boolean | undefined;
2087
2112
  /**
2088
2113
  * Actions that will be used if the specified route and the conditions within a specific action are met.
2089
2114
  * @public
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.2.3",
4
+ "version": "1.3.1",
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",