@wildix/xbees-kite-client 1.0.17 → 1.0.19
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/ListServicesCommand.d.ts +4 -1
- 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 +37 -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
|
|
@@ -46,7 +46,10 @@ declare const ListServicesCommand_base: {
|
|
|
46
46
|
* // id: Number("int"), // required
|
|
47
47
|
* // uri: "STRING_VALUE", // required
|
|
48
48
|
* // title: "STRING_VALUE", // required
|
|
49
|
-
* // settings: {
|
|
49
|
+
* // settings: { // ServiceSettings
|
|
50
|
+
* // phoneNumber: "STRING_VALUE",
|
|
51
|
+
* // messagingNumber: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
50
53
|
* // extensions: [ // ExtensionsList // required
|
|
51
54
|
* // "STRING_VALUE",
|
|
52
55
|
* // ],
|
|
@@ -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
|
|
@@ -387,6 +387,8 @@ export interface ServicePbx {
|
|
|
387
387
|
* @public
|
|
388
388
|
*/
|
|
389
389
|
export interface ServiceSettings {
|
|
390
|
+
phoneNumber?: string | undefined;
|
|
391
|
+
messagingNumber?: string | undefined;
|
|
390
392
|
}
|
|
391
393
|
/**
|
|
392
394
|
* @public
|
|
@@ -980,6 +982,11 @@ export interface CreateOrUpdateWidgetPreviewInput {
|
|
|
980
982
|
* @public
|
|
981
983
|
*/
|
|
982
984
|
target: WidgetTarget;
|
|
985
|
+
/**
|
|
986
|
+
* 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.
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
reassign?: boolean | undefined;
|
|
983
990
|
/**
|
|
984
991
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
985
992
|
* @public
|
|
@@ -1017,6 +1024,11 @@ export interface Widget {
|
|
|
1017
1024
|
* @public
|
|
1018
1025
|
*/
|
|
1019
1026
|
target: WidgetTarget;
|
|
1027
|
+
/**
|
|
1028
|
+
* 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.
|
|
1029
|
+
* @public
|
|
1030
|
+
*/
|
|
1031
|
+
reassign?: boolean | undefined;
|
|
1020
1032
|
/**
|
|
1021
1033
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1022
1034
|
* @public
|
|
@@ -1058,6 +1070,11 @@ export interface CreateWidgetInput {
|
|
|
1058
1070
|
* @public
|
|
1059
1071
|
*/
|
|
1060
1072
|
target: WidgetTarget;
|
|
1073
|
+
/**
|
|
1074
|
+
* 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.
|
|
1075
|
+
* @public
|
|
1076
|
+
*/
|
|
1077
|
+
reassign?: boolean | undefined;
|
|
1061
1078
|
/**
|
|
1062
1079
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1063
1080
|
* @public
|
|
@@ -1381,6 +1398,11 @@ export interface SmsConfig {
|
|
|
1381
1398
|
* @public
|
|
1382
1399
|
*/
|
|
1383
1400
|
target: RouteTarget;
|
|
1401
|
+
/**
|
|
1402
|
+
* 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.
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
reassign?: boolean | undefined;
|
|
1384
1406
|
/**
|
|
1385
1407
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1386
1408
|
* @public
|
|
@@ -1419,6 +1441,11 @@ export interface WhatsAppConfigRoute {
|
|
|
1419
1441
|
* @public
|
|
1420
1442
|
*/
|
|
1421
1443
|
target: RouteTarget;
|
|
1444
|
+
/**
|
|
1445
|
+
* 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.
|
|
1446
|
+
* @public
|
|
1447
|
+
*/
|
|
1448
|
+
reassign?: boolean | undefined;
|
|
1422
1449
|
/**
|
|
1423
1450
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1424
1451
|
* @public
|
|
@@ -1695,6 +1722,11 @@ export interface PutSmsNumberConfigurationInput {
|
|
|
1695
1722
|
* @public
|
|
1696
1723
|
*/
|
|
1697
1724
|
target: RouteTarget;
|
|
1725
|
+
/**
|
|
1726
|
+
* 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.
|
|
1727
|
+
* @public
|
|
1728
|
+
*/
|
|
1729
|
+
reassign?: boolean | undefined;
|
|
1698
1730
|
/**
|
|
1699
1731
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1700
1732
|
* @public
|
|
@@ -1832,6 +1864,11 @@ export interface UpdateWidgetInput {
|
|
|
1832
1864
|
* @public
|
|
1833
1865
|
*/
|
|
1834
1866
|
target: WidgetTarget;
|
|
1867
|
+
/**
|
|
1868
|
+
* 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.
|
|
1869
|
+
* @public
|
|
1870
|
+
*/
|
|
1871
|
+
reassign?: boolean | undefined;
|
|
1835
1872
|
/**
|
|
1836
1873
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1837
1874
|
* @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.19",
|
|
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",
|