@wildix/xbees-kite-client 1.0.17 → 1.0.18
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 +5 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -1
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +2 -0
- package/dist-types/commands/CreateWidgetCommand.d.ts +2 -0
- package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetWidgetCommand.d.ts +1 -0
- package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListWidgetsCommand.d.ts +1 -0
- package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWidgetCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +35 -0
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
38
38
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
39
39
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
40
40
|
'name': [],
|
|
41
|
+
'reassign': [],
|
|
41
42
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
42
43
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
43
44
|
'temporaryWidgetId': [],
|
|
@@ -64,6 +65,7 @@ const se_CreateWidgetCommand = async (input, context) => {
|
|
|
64
65
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
65
66
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
66
67
|
'name': [],
|
|
68
|
+
'reassign': [],
|
|
67
69
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
68
70
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
69
71
|
'welcomeMessages': _ => (0, smithy_client_1._json)(_),
|
|
@@ -306,6 +308,7 @@ const se_PutSmsNumberConfigurationCommand = async (input, context) => {
|
|
|
306
308
|
let body;
|
|
307
309
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
308
310
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
311
|
+
'reassign': [],
|
|
309
312
|
'routes': _ => (0, smithy_client_1._json)(_),
|
|
310
313
|
'serviceUri': [],
|
|
311
314
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
@@ -403,6 +406,7 @@ const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
403
406
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
404
407
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
405
408
|
'name': [],
|
|
409
|
+
'reassign': [],
|
|
406
410
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
407
411
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
408
412
|
'welcomeMessages': _ => (0, smithy_client_1._json)(_),
|
|
@@ -906,6 +910,7 @@ const de_Widget = (output, context) => {
|
|
|
906
910
|
'createdAt': smithy_client_1.expectString,
|
|
907
911
|
'id': smithy_client_1.expectString,
|
|
908
912
|
'name': smithy_client_1.expectString,
|
|
913
|
+
'reassign': smithy_client_1.expectBoolean,
|
|
909
914
|
'routes': (_) => de_WidgetRoutesList(_, context),
|
|
910
915
|
'target': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
911
916
|
'updatedAt': smithy_client_1.expectString,
|
|
@@ -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, 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, 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 = {};
|
|
@@ -34,6 +34,7 @@ export const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
34
34
|
'actions': _ => _json(_),
|
|
35
35
|
'appearance': _ => _json(_),
|
|
36
36
|
'name': [],
|
|
37
|
+
'reassign': [],
|
|
37
38
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
38
39
|
'target': _ => _json(_),
|
|
39
40
|
'temporaryWidgetId': [],
|
|
@@ -59,6 +60,7 @@ export const se_CreateWidgetCommand = async (input, context) => {
|
|
|
59
60
|
'actions': _ => _json(_),
|
|
60
61
|
'appearance': _ => _json(_),
|
|
61
62
|
'name': [],
|
|
63
|
+
'reassign': [],
|
|
62
64
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
63
65
|
'target': _ => _json(_),
|
|
64
66
|
'welcomeMessages': _ => _json(_),
|
|
@@ -286,6 +288,7 @@ export const se_PutSmsNumberConfigurationCommand = async (input, context) => {
|
|
|
286
288
|
let body;
|
|
287
289
|
body = JSON.stringify(take(input, {
|
|
288
290
|
'actions': _ => _json(_),
|
|
291
|
+
'reassign': [],
|
|
289
292
|
'routes': _ => _json(_),
|
|
290
293
|
'serviceUri': [],
|
|
291
294
|
'target': _ => _json(_),
|
|
@@ -379,6 +382,7 @@ export const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
379
382
|
'actions': _ => _json(_),
|
|
380
383
|
'appearance': _ => _json(_),
|
|
381
384
|
'name': [],
|
|
385
|
+
'reassign': [],
|
|
382
386
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
383
387
|
'target': _ => _json(_),
|
|
384
388
|
'welcomeMessages': _ => _json(_),
|
|
@@ -859,6 +863,7 @@ const de_Widget = (output, context) => {
|
|
|
859
863
|
'createdAt': __expectString,
|
|
860
864
|
'id': __expectString,
|
|
861
865
|
'name': __expectString,
|
|
866
|
+
'reassign': __expectBoolean,
|
|
862
867
|
'routes': (_) => de_WidgetRoutesList(_, context),
|
|
863
868
|
'target': (_) => _json(__expectUnion(_)),
|
|
864
869
|
'updatedAt': __expectString,
|
|
@@ -173,6 +173,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
173
173
|
* id: "STRING_VALUE", // required
|
|
174
174
|
* },
|
|
175
175
|
* },
|
|
176
|
+
* reassign: true || false,
|
|
176
177
|
* actions: [
|
|
177
178
|
* {
|
|
178
179
|
* id: "STRING_VALUE", // required
|
|
@@ -344,6 +345,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
344
345
|
* // id: "STRING_VALUE", // required
|
|
345
346
|
* // },
|
|
346
347
|
* // },
|
|
348
|
+
* // reassign: true || false,
|
|
347
349
|
* // actions: [
|
|
348
350
|
* // {
|
|
349
351
|
* // id: "STRING_VALUE", // required
|
|
@@ -173,6 +173,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
173
173
|
* id: "STRING_VALUE", // required
|
|
174
174
|
* },
|
|
175
175
|
* },
|
|
176
|
+
* reassign: true || false,
|
|
176
177
|
* actions: [
|
|
177
178
|
* {
|
|
178
179
|
* id: "STRING_VALUE", // required
|
|
@@ -343,6 +344,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
343
344
|
* // id: "STRING_VALUE", // required
|
|
344
345
|
* // },
|
|
345
346
|
* // },
|
|
347
|
+
* // reassign: true || false,
|
|
346
348
|
* // actions: [
|
|
347
349
|
* // {
|
|
348
350
|
* // id: "STRING_VALUE", // required
|
|
@@ -102,6 +102,7 @@ declare const PutSmsNumberConfigurationCommand_base: {
|
|
|
102
102
|
* id: "STRING_VALUE", // required
|
|
103
103
|
* },
|
|
104
104
|
* },
|
|
105
|
+
* reassign: true || false,
|
|
105
106
|
* actions: [
|
|
106
107
|
* {
|
|
107
108
|
* id: "STRING_VALUE", // required
|
|
@@ -201,6 +202,7 @@ declare const PutSmsNumberConfigurationCommand_base: {
|
|
|
201
202
|
* // id: "STRING_VALUE", // required
|
|
202
203
|
* // },
|
|
203
204
|
* // },
|
|
205
|
+
* // reassign: true || false,
|
|
204
206
|
* // actions: [
|
|
205
207
|
* // {
|
|
206
208
|
* // id: "STRING_VALUE", // required
|
|
@@ -62,6 +62,7 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
62
62
|
* id: "STRING_VALUE", // required
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
+
* reassign: true || false,
|
|
65
66
|
* actions: [ // RouteActions
|
|
66
67
|
* { // RouteAction
|
|
67
68
|
* id: "STRING_VALUE", // required
|
|
@@ -161,6 +162,7 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
161
162
|
* // id: "STRING_VALUE", // required
|
|
162
163
|
* // },
|
|
163
164
|
* // },
|
|
165
|
+
* // reassign: true || false,
|
|
164
166
|
* // actions: [ // RouteActions
|
|
165
167
|
* // { // RouteAction
|
|
166
168
|
* // id: "STRING_VALUE", // required
|
|
@@ -173,6 +173,7 @@ declare const UpdateWidgetCommand_base: {
|
|
|
173
173
|
* id: "STRING_VALUE", // required
|
|
174
174
|
* },
|
|
175
175
|
* },
|
|
176
|
+
* reassign: true || false,
|
|
176
177
|
* actions: [
|
|
177
178
|
* {
|
|
178
179
|
* id: "STRING_VALUE", // required
|
|
@@ -344,6 +345,7 @@ declare const UpdateWidgetCommand_base: {
|
|
|
344
345
|
* // id: "STRING_VALUE", // required
|
|
345
346
|
* // },
|
|
346
347
|
* // },
|
|
348
|
+
* // reassign: true || false,
|
|
347
349
|
* // actions: [
|
|
348
350
|
* // {
|
|
349
351
|
* // id: "STRING_VALUE", // required
|
|
@@ -980,6 +980,11 @@ export interface CreateOrUpdateWidgetPreviewInput {
|
|
|
980
980
|
* @public
|
|
981
981
|
*/
|
|
982
982
|
target: WidgetTarget;
|
|
983
|
+
/**
|
|
984
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
reassign?: boolean | undefined;
|
|
983
988
|
/**
|
|
984
989
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
985
990
|
* @public
|
|
@@ -1017,6 +1022,11 @@ export interface Widget {
|
|
|
1017
1022
|
* @public
|
|
1018
1023
|
*/
|
|
1019
1024
|
target: WidgetTarget;
|
|
1025
|
+
/**
|
|
1026
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1027
|
+
* @public
|
|
1028
|
+
*/
|
|
1029
|
+
reassign?: boolean | undefined;
|
|
1020
1030
|
/**
|
|
1021
1031
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1022
1032
|
* @public
|
|
@@ -1058,6 +1068,11 @@ export interface CreateWidgetInput {
|
|
|
1058
1068
|
* @public
|
|
1059
1069
|
*/
|
|
1060
1070
|
target: WidgetTarget;
|
|
1071
|
+
/**
|
|
1072
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
reassign?: boolean | undefined;
|
|
1061
1076
|
/**
|
|
1062
1077
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1063
1078
|
* @public
|
|
@@ -1381,6 +1396,11 @@ export interface SmsConfig {
|
|
|
1381
1396
|
* @public
|
|
1382
1397
|
*/
|
|
1383
1398
|
target: RouteTarget;
|
|
1399
|
+
/**
|
|
1400
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1401
|
+
* @public
|
|
1402
|
+
*/
|
|
1403
|
+
reassign?: boolean | undefined;
|
|
1384
1404
|
/**
|
|
1385
1405
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1386
1406
|
* @public
|
|
@@ -1419,6 +1439,11 @@ export interface WhatsAppConfigRoute {
|
|
|
1419
1439
|
* @public
|
|
1420
1440
|
*/
|
|
1421
1441
|
target: RouteTarget;
|
|
1442
|
+
/**
|
|
1443
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1444
|
+
* @public
|
|
1445
|
+
*/
|
|
1446
|
+
reassign?: boolean | undefined;
|
|
1422
1447
|
/**
|
|
1423
1448
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1424
1449
|
* @public
|
|
@@ -1695,6 +1720,11 @@ export interface PutSmsNumberConfigurationInput {
|
|
|
1695
1720
|
* @public
|
|
1696
1721
|
*/
|
|
1697
1722
|
target: RouteTarget;
|
|
1723
|
+
/**
|
|
1724
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1725
|
+
* @public
|
|
1726
|
+
*/
|
|
1727
|
+
reassign?: boolean | undefined;
|
|
1698
1728
|
/**
|
|
1699
1729
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1700
1730
|
* @public
|
|
@@ -1832,6 +1862,11 @@ export interface UpdateWidgetInput {
|
|
|
1832
1862
|
* @public
|
|
1833
1863
|
*/
|
|
1834
1864
|
target: WidgetTarget;
|
|
1865
|
+
/**
|
|
1866
|
+
* Determines whether the conversation should be assigned to the specified target and rules even if initially conversation have different target. If set to true, assignment will occur regardless of previously defined target. Defaults to false.
|
|
1867
|
+
* @public
|
|
1868
|
+
*/
|
|
1869
|
+
reassign?: boolean | undefined;
|
|
1835
1870
|
/**
|
|
1836
1871
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1837
1872
|
* @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.0.
|
|
4
|
+
"version": "1.0.18",
|
|
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",
|