@wildix/xbees-kite-client 1.0.20 → 1.0.22
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 +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListSmsNumbersCommand.d.ts +19 -1
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +19 -1
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +42 -7
- package/package.json +1 -1
|
@@ -333,6 +333,7 @@ const se_PutWhatsAppNumberConfigurationCommand = async (input, context) => {
|
|
|
333
333
|
let body;
|
|
334
334
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
335
335
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
336
|
+
'reassign': [],
|
|
336
337
|
'routes': _ => (0, smithy_client_1._json)(_),
|
|
337
338
|
'serviceUri': [],
|
|
338
339
|
'target': _ => (0, smithy_client_1._json)(_),
|
|
@@ -312,6 +312,7 @@ export const se_PutWhatsAppNumberConfigurationCommand = async (input, context) =
|
|
|
312
312
|
let body;
|
|
313
313
|
body = JSON.stringify(take(input, {
|
|
314
314
|
'actions': _ => _json(_),
|
|
315
|
+
'reassign': [],
|
|
315
316
|
'routes': _ => _json(_),
|
|
316
317
|
'serviceUri': [],
|
|
317
318
|
'target': _ => _json(_),
|
|
@@ -69,7 +69,6 @@ declare const GetWhatsAppNumberConfigurationCommand_base: {
|
|
|
69
69
|
* // id: "STRING_VALUE", // required
|
|
70
70
|
* // },
|
|
71
71
|
* // },
|
|
72
|
-
* // reassign: true || false,
|
|
73
72
|
* // actions: [ // RouteActions
|
|
74
73
|
* // { // RouteAction
|
|
75
74
|
* // id: "STRING_VALUE", // required
|
|
@@ -142,6 +141,7 @@ declare const GetWhatsAppNumberConfigurationCommand_base: {
|
|
|
142
141
|
* // id: "STRING_VALUE", // required
|
|
143
142
|
* // },
|
|
144
143
|
* // },
|
|
144
|
+
* // reassign: true || false,
|
|
145
145
|
* // actions: [
|
|
146
146
|
* // {
|
|
147
147
|
* // id: "STRING_VALUE", // required
|
|
@@ -42,7 +42,25 @@ declare const ListSmsNumbersCommand_base: {
|
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // ListSmsNumbersOutput
|
|
44
44
|
* // numbers: [ // SmsServiceNumbersList // required
|
|
45
|
-
* //
|
|
45
|
+
* // { // SmsServiceNumber
|
|
46
|
+
* // number: "STRING_VALUE", // required
|
|
47
|
+
* // service: { // Service
|
|
48
|
+
* // id: Number("int"), // required
|
|
49
|
+
* // uri: "STRING_VALUE", // required
|
|
50
|
+
* // title: "STRING_VALUE", // required
|
|
51
|
+
* // settings: { // ServiceSettings
|
|
52
|
+
* // phoneNumber: "STRING_VALUE",
|
|
53
|
+
* // messagingNumber: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // extensions: [ // ExtensionsList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // pbx: { // ServicePbx
|
|
59
|
+
* // domain: "STRING_VALUE", // required
|
|
60
|
+
* // port: Number("int"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
46
64
|
* // ],
|
|
47
65
|
* // };
|
|
48
66
|
*
|
|
@@ -69,7 +69,6 @@ declare const ListWhatsAppConfigurationsCommand_base: {
|
|
|
69
69
|
* // id: "STRING_VALUE", // required
|
|
70
70
|
* // },
|
|
71
71
|
* // },
|
|
72
|
-
* // reassign: true || false,
|
|
73
72
|
* // actions: [ // RouteActions
|
|
74
73
|
* // { // RouteAction
|
|
75
74
|
* // id: "STRING_VALUE", // required
|
|
@@ -142,6 +141,7 @@ declare const ListWhatsAppConfigurationsCommand_base: {
|
|
|
142
141
|
* // id: "STRING_VALUE", // required
|
|
143
142
|
* // },
|
|
144
143
|
* // },
|
|
144
|
+
* // reassign: true || false,
|
|
145
145
|
* // actions: [
|
|
146
146
|
* // {
|
|
147
147
|
* // id: "STRING_VALUE", // required
|
|
@@ -42,7 +42,25 @@ declare const ListWhatsAppNumbersCommand_base: {
|
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // ListWhatsAppNumbersOutput
|
|
44
44
|
* // numbers: [ // WhatsAppServiceNumbersList // required
|
|
45
|
-
* //
|
|
45
|
+
* // { // WhatsAppServiceNumber
|
|
46
|
+
* // number: "STRING_VALUE", // required
|
|
47
|
+
* // service: { // Service
|
|
48
|
+
* // id: Number("int"), // required
|
|
49
|
+
* // uri: "STRING_VALUE", // required
|
|
50
|
+
* // title: "STRING_VALUE", // required
|
|
51
|
+
* // settings: { // ServiceSettings
|
|
52
|
+
* // phoneNumber: "STRING_VALUE",
|
|
53
|
+
* // messagingNumber: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // extensions: [ // ExtensionsList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // pbx: { // ServicePbx
|
|
59
|
+
* // domain: "STRING_VALUE", // required
|
|
60
|
+
* // port: Number("int"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
46
64
|
* // ],
|
|
47
65
|
* // };
|
|
48
66
|
*
|
|
@@ -62,7 +62,6 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
62
62
|
* id: "STRING_VALUE", // required
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
-
* reassign: true || false,
|
|
66
65
|
* actions: [ // RouteActions
|
|
67
66
|
* { // RouteAction
|
|
68
67
|
* id: "STRING_VALUE", // required
|
|
@@ -135,6 +134,7 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
135
134
|
* id: "STRING_VALUE", // required
|
|
136
135
|
* },
|
|
137
136
|
* },
|
|
137
|
+
* reassign: true || false,
|
|
138
138
|
* actions: [
|
|
139
139
|
* {
|
|
140
140
|
* id: "STRING_VALUE", // required
|
|
@@ -226,7 +226,6 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
226
226
|
* // id: "STRING_VALUE", // required
|
|
227
227
|
* // },
|
|
228
228
|
* // },
|
|
229
|
-
* // reassign: true || false,
|
|
230
229
|
* // actions: [ // RouteActions
|
|
231
230
|
* // { // RouteAction
|
|
232
231
|
* // id: "STRING_VALUE", // required
|
|
@@ -299,6 +298,7 @@ declare const PutWhatsAppNumberConfigurationCommand_base: {
|
|
|
299
298
|
* // id: "STRING_VALUE", // required
|
|
300
299
|
* // },
|
|
301
300
|
* // },
|
|
301
|
+
* // reassign: true || false,
|
|
302
302
|
* // actions: [
|
|
303
303
|
* // {
|
|
304
304
|
* // id: "STRING_VALUE", // required
|
|
@@ -1599,11 +1599,6 @@ export interface WhatsAppConfigRoute {
|
|
|
1599
1599
|
* @public
|
|
1600
1600
|
*/
|
|
1601
1601
|
target: RouteTarget;
|
|
1602
|
-
/**
|
|
1603
|
-
* 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.
|
|
1604
|
-
* @public
|
|
1605
|
-
*/
|
|
1606
|
-
reassign?: boolean | undefined;
|
|
1607
1602
|
/**
|
|
1608
1603
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1609
1604
|
* @public
|
|
@@ -1629,6 +1624,11 @@ export interface WhatsAppConfig {
|
|
|
1629
1624
|
* @public
|
|
1630
1625
|
*/
|
|
1631
1626
|
target: RouteTarget;
|
|
1627
|
+
/**
|
|
1628
|
+
* 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.
|
|
1629
|
+
* @public
|
|
1630
|
+
*/
|
|
1631
|
+
reassign?: boolean | undefined;
|
|
1632
1632
|
/**
|
|
1633
1633
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1634
1634
|
* @public
|
|
@@ -1790,11 +1790,26 @@ export interface ListSmsNumbersInput {
|
|
|
1790
1790
|
*/
|
|
1791
1791
|
companyId?: string | undefined;
|
|
1792
1792
|
}
|
|
1793
|
+
/**
|
|
1794
|
+
* @public
|
|
1795
|
+
*/
|
|
1796
|
+
export interface SmsServiceNumber {
|
|
1797
|
+
/**
|
|
1798
|
+
* A phone number registered though Classound.
|
|
1799
|
+
* @public
|
|
1800
|
+
*/
|
|
1801
|
+
number: string;
|
|
1802
|
+
/**
|
|
1803
|
+
* A service that is linked to specified SMS number. If empty it means that this phone number is not properly configured.
|
|
1804
|
+
* @public
|
|
1805
|
+
*/
|
|
1806
|
+
service?: Service | undefined;
|
|
1807
|
+
}
|
|
1793
1808
|
/**
|
|
1794
1809
|
* @public
|
|
1795
1810
|
*/
|
|
1796
1811
|
export interface ListSmsNumbersOutput {
|
|
1797
|
-
numbers: (
|
|
1812
|
+
numbers: (SmsServiceNumber)[];
|
|
1798
1813
|
}
|
|
1799
1814
|
/**
|
|
1800
1815
|
* @public
|
|
@@ -1822,11 +1837,26 @@ export interface ListWhatsAppNumbersInput {
|
|
|
1822
1837
|
*/
|
|
1823
1838
|
companyId?: string | undefined;
|
|
1824
1839
|
}
|
|
1840
|
+
/**
|
|
1841
|
+
* @public
|
|
1842
|
+
*/
|
|
1843
|
+
export interface WhatsAppServiceNumber {
|
|
1844
|
+
/**
|
|
1845
|
+
* A WhatsApp phone number registered though Classound.
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
number: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* A service that is linked to specified WhatsApp number. If empty it means that this phone number is not properly configured.
|
|
1851
|
+
* @public
|
|
1852
|
+
*/
|
|
1853
|
+
service?: Service | undefined;
|
|
1854
|
+
}
|
|
1825
1855
|
/**
|
|
1826
1856
|
* @public
|
|
1827
1857
|
*/
|
|
1828
1858
|
export interface ListWhatsAppNumbersOutput {
|
|
1829
|
-
numbers: (
|
|
1859
|
+
numbers: (WhatsAppServiceNumber)[];
|
|
1830
1860
|
}
|
|
1831
1861
|
/**
|
|
1832
1862
|
* @public
|
|
@@ -1922,6 +1952,11 @@ export interface PutWhatsAppNumberConfigurationInput {
|
|
|
1922
1952
|
* @public
|
|
1923
1953
|
*/
|
|
1924
1954
|
target: RouteTarget;
|
|
1955
|
+
/**
|
|
1956
|
+
* 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.
|
|
1957
|
+
* @public
|
|
1958
|
+
*/
|
|
1959
|
+
reassign?: boolean | undefined;
|
|
1925
1960
|
/**
|
|
1926
1961
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1927
1962
|
* @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.22",
|
|
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",
|