@wildix/xbees-conversations-client 1.1.20 → 1.1.21

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.
@@ -350,6 +350,7 @@ exports.GroupChannelUnsetOptions = {
350
350
  PICTURE: "picture",
351
351
  PICTURE_COLOR: "pictureColor",
352
352
  SUBJECT: "subject",
353
+ WHATSAPP_STATUS: "whatsappStatus",
353
354
  };
354
355
  exports.MessageUnsetFields = {
355
356
  ATTACHMENTS: "attachments",
@@ -101,6 +101,7 @@ const se_CreateGroupChannelCommand = async (input, context) => {
101
101
  'picture': [],
102
102
  'pictureColor': [],
103
103
  'subject': [],
104
+ 'whatsappStatus': [],
104
105
  }));
105
106
  b.m("POST")
106
107
  .h(headers)
@@ -1175,6 +1176,7 @@ const se_UpdateChannelCommand = async (input, context) => {
1175
1176
  'pictureColor': [],
1176
1177
  'silent': [],
1177
1178
  'subject': [],
1179
+ 'whatsappStatus': [],
1178
1180
  }));
1179
1181
  b.m("PUT")
1180
1182
  .h(headers)
@@ -332,6 +332,7 @@ export const GroupChannelUnsetOptions = {
332
332
  PICTURE: "picture",
333
333
  PICTURE_COLOR: "pictureColor",
334
334
  SUBJECT: "subject",
335
+ WHATSAPP_STATUS: "whatsappStatus",
335
336
  };
336
337
  export const MessageUnsetFields = {
337
338
  ATTACHMENTS: "attachments",
@@ -93,6 +93,7 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
93
93
  'picture': [],
94
94
  'pictureColor': [],
95
95
  'subject': [],
96
+ 'whatsappStatus': [],
96
97
  }));
97
98
  b.m("POST")
98
99
  .h(headers)
@@ -1109,6 +1110,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
1109
1110
  'pictureColor': [],
1110
1111
  'silent': [],
1111
1112
  'subject': [],
1113
+ 'whatsappStatus': [],
1112
1114
  }));
1113
1115
  b.m("PUT")
1114
1116
  .h(headers)
@@ -64,6 +64,7 @@ declare const CreateGroupChannelCommand_base: {
64
64
  * broadcastId: "STRING_VALUE",
65
65
  * },
66
66
  * },
67
+ * whatsappStatus: "24h_channel_closed",
67
68
  * userId: "STRING_VALUE",
68
69
  * channelId: "STRING_VALUE",
69
70
  * members: [ // UsersIdList
@@ -68,9 +68,10 @@ declare const PartialUpdateChannelCommand_base: {
68
68
  * broadcastId: "STRING_VALUE",
69
69
  * },
70
70
  * },
71
+ * whatsappStatus: "24h_channel_closed",
71
72
  * },
72
73
  * unset: [ // PartialUpdateChannelUnsetOptions
73
- * "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents",
74
+ * "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus",
74
75
  * ],
75
76
  * };
76
77
  * const command = new PartialUpdateChannelCommand(input);
@@ -64,6 +64,7 @@ declare const UpdateChannelCommand_base: {
64
64
  * broadcastId: "STRING_VALUE",
65
65
  * },
66
66
  * },
67
+ * whatsappStatus: "24h_channel_closed",
67
68
  * channelId: "STRING_VALUE", // required
68
69
  * userId: "STRING_VALUE",
69
70
  * silent: true || false,
@@ -764,6 +764,7 @@ export interface CreateGroupChannelInput {
764
764
  * @public
765
765
  */
766
766
  context?: ChannelContext | undefined;
767
+ whatsappStatus?: ChannelWhatsAppStatus | undefined;
767
768
  /**
768
769
  * The unique identifier of the user when a service token is used.
769
770
  * @public
@@ -2397,6 +2398,7 @@ export interface PartialUpdateChannelSetOptions {
2397
2398
  * @public
2398
2399
  */
2399
2400
  context?: ChannelContext | undefined;
2401
+ whatsappStatus?: ChannelWhatsAppStatus | undefined;
2400
2402
  }
2401
2403
  /**
2402
2404
  * @public
@@ -2412,6 +2414,7 @@ export declare const GroupChannelUnsetOptions: {
2412
2414
  readonly PICTURE: "picture";
2413
2415
  readonly PICTURE_COLOR: "pictureColor";
2414
2416
  readonly SUBJECT: "subject";
2417
+ readonly WHATSAPP_STATUS: "whatsappStatus";
2415
2418
  };
2416
2419
  /**
2417
2420
  * @public
@@ -3094,6 +3097,7 @@ export interface UpdateChannelInput {
3094
3097
  * @public
3095
3098
  */
3096
3099
  context?: ChannelContext | undefined;
3100
+ whatsappStatus?: ChannelWhatsAppStatus | undefined;
3097
3101
  /**
3098
3102
  * The unique identifier of the channel to be updated.
3099
3103
  * @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.1.20",
4
+ "version": "1.1.21",
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",