@wildix/xbees-conversations-client 1.2.0 → 1.2.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.
@@ -397,6 +397,7 @@ const se_GetOrCreateSmsChannelCommand = async (input, context) => {
397
397
  });
398
398
  let body;
399
399
  body = JSON.stringify((0, smithy_client_1.take)(input, {
400
+ 'outgoing': [],
400
401
  'recipientId': [],
401
402
  'recipientNumber': [],
402
403
  'serviceUri': [],
@@ -441,6 +442,7 @@ const se_GetOrCreateWhatsAppChannelCommand = async (input, context) => {
441
442
  });
442
443
  let body;
443
444
  body = JSON.stringify((0, smithy_client_1.take)(input, {
445
+ 'outgoing': [],
444
446
  'recipientId': [],
445
447
  'recipientNumber': [],
446
448
  'serviceUri': [],
@@ -372,6 +372,7 @@ export const se_GetOrCreateSmsChannelCommand = async (input, context) => {
372
372
  });
373
373
  let body;
374
374
  body = JSON.stringify(take(input, {
375
+ 'outgoing': [],
375
376
  'recipientId': [],
376
377
  'recipientNumber': [],
377
378
  'serviceUri': [],
@@ -414,6 +415,7 @@ export const se_GetOrCreateWhatsAppChannelCommand = async (input, context) => {
414
415
  });
415
416
  let body;
416
417
  body = JSON.stringify(take(input, {
418
+ 'outgoing': [],
417
419
  'recipientId': [],
418
420
  'recipientNumber': [],
419
421
  'serviceUri': [],
@@ -39,6 +39,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
39
39
  * serviceUri: "STRING_VALUE", // required
40
40
  * recipientId: "STRING_VALUE",
41
41
  * recipientNumber: "STRING_VALUE",
42
+ * outgoing: true || false,
42
43
  * };
43
44
  * const command = new GetOrCreateSmsChannelCommand(input);
44
45
  * const response = await client.send(command);
@@ -39,6 +39,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
39
39
  * serviceUri: "STRING_VALUE", // required
40
40
  * recipientId: "STRING_VALUE",
41
41
  * recipientNumber: "STRING_VALUE",
42
+ * outgoing: true || false,
42
43
  * };
43
44
  * const command = new GetOrCreateWhatsAppChannelCommand(input);
44
45
  * const response = await client.send(command);
@@ -1824,6 +1824,11 @@ export interface GetOrCreateSmsChannelInput {
1824
1824
  * @public
1825
1825
  */
1826
1826
  recipientNumber?: string | undefined;
1827
+ /**
1828
+ * Indicates if the channel is outgoing. It's prevents applying routing settings for the channel. This parameter will be reset to false after 48 hours. Default is false.
1829
+ * @public
1830
+ */
1831
+ outgoing?: boolean | undefined;
1827
1832
  }
1828
1833
  /**
1829
1834
  * @public
@@ -1886,6 +1891,11 @@ export interface GetOrCreateWhatsAppChannelInput {
1886
1891
  * @public
1887
1892
  */
1888
1893
  recipientNumber?: string | undefined;
1894
+ /**
1895
+ * Indicates if the channel is outgoing. It's prevents applying routing settings for the channel. This parameter will be reset to false after 48 hours. Default is false.
1896
+ * @public
1897
+ */
1898
+ outgoing?: boolean | undefined;
1889
1899
  }
1890
1900
  /**
1891
1901
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.2.0",
4
+ "version": "1.2.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",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }