@zernio/node 0.2.551 → 0.2.553

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/index.d.mts CHANGED
@@ -3899,10 +3899,6 @@ type ExternalPostSummary = {
3899
3899
  * Media type (e.g. image, video, carousel)
3900
3900
  */
3901
3901
  mediaType?: string;
3902
- /**
3903
- * Primary media URL
3904
- */
3905
- mediaUrl?: string;
3906
3902
  /**
3907
3903
  * Thumbnail URL
3908
3904
  */
@@ -17508,7 +17504,7 @@ type SendInboxMessageData = {
17508
17504
  */
17509
17505
  message?: string;
17510
17506
  /**
17511
- * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
17507
+ * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead. On WhatsApp, combining an image, video, or file with `buttons` renders the media as the header of one interactive reply-button message; audio cannot be combined with buttons.
17512
17508
  */
17513
17509
  attachmentUrl?: string;
17514
17510
  /**
@@ -17566,6 +17562,12 @@ type SendInboxMessageData = {
17566
17562
  * `type: postback`, e.g.
17567
17563
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17568
17564
  *
17565
+ * Combine `buttons` with `attachmentUrl` and `attachmentType`
17566
+ * `image`, `video`, or `file` to render one WhatsApp message with
17567
+ * a media header, body text, and reply buttons. Audio is not a
17568
+ * supported interactive header and returns 400 when combined
17569
+ * with buttons.
17570
+ *
17569
17571
  */
17570
17572
  buttons?: Array<{
17571
17573
  /**
package/dist/index.d.ts CHANGED
@@ -3899,10 +3899,6 @@ type ExternalPostSummary = {
3899
3899
  * Media type (e.g. image, video, carousel)
3900
3900
  */
3901
3901
  mediaType?: string;
3902
- /**
3903
- * Primary media URL
3904
- */
3905
- mediaUrl?: string;
3906
3902
  /**
3907
3903
  * Thumbnail URL
3908
3904
  */
@@ -17508,7 +17504,7 @@ type SendInboxMessageData = {
17508
17504
  */
17509
17505
  message?: string;
17510
17506
  /**
17511
- * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
17507
+ * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead. On WhatsApp, combining an image, video, or file with `buttons` renders the media as the header of one interactive reply-button message; audio cannot be combined with buttons.
17512
17508
  */
17513
17509
  attachmentUrl?: string;
17514
17510
  /**
@@ -17566,6 +17562,12 @@ type SendInboxMessageData = {
17566
17562
  * `type: postback`, e.g.
17567
17563
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17568
17564
  *
17565
+ * Combine `buttons` with `attachmentUrl` and `attachmentType`
17566
+ * `image`, `video`, or `file` to render one WhatsApp message with
17567
+ * a media header, body text, and reply buttons. Audio is not a
17568
+ * supported interactive header and returns 400 when combined
17569
+ * with buttons.
17570
+ *
17569
17571
  */
17570
17572
  buttons?: Array<{
17571
17573
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.551",
39
+ version: "0.2.553",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.551",
8
+ version: "0.2.553",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.551",
3
+ "version": "0.2.553",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2717,10 +2717,6 @@ export type ExternalPostSummary = {
2717
2717
  * Media type (e.g. image, video, carousel)
2718
2718
  */
2719
2719
  mediaType?: string;
2720
- /**
2721
- * Primary media URL
2722
- */
2723
- mediaUrl?: string;
2724
2720
  /**
2725
2721
  * Thumbnail URL
2726
2722
  */
@@ -17153,7 +17149,7 @@ export type SendInboxMessageData = {
17153
17149
  */
17154
17150
  message?: string;
17155
17151
  /**
17156
- * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
17152
+ * URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead. On WhatsApp, combining an image, video, or file with `buttons` renders the media as the header of one interactive reply-button message; audio cannot be combined with buttons.
17157
17153
  */
17158
17154
  attachmentUrl?: string;
17159
17155
  /**
@@ -17211,6 +17207,12 @@ export type SendInboxMessageData = {
17211
17207
  * `type: postback`, e.g.
17212
17208
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17213
17209
  *
17210
+ * Combine `buttons` with `attachmentUrl` and `attachmentType`
17211
+ * `image`, `video`, or `file` to render one WhatsApp message with
17212
+ * a media header, body text, and reply buttons. Audio is not a
17213
+ * supported interactive header and returns 400 when combined
17214
+ * with buttons.
17215
+ *
17214
17216
  */
17215
17217
  buttons?: Array<{
17216
17218
  /**