@zernio/node 0.2.552 → 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
@@ -17504,7 +17504,7 @@ type SendInboxMessageData = {
17504
17504
  */
17505
17505
  message?: string;
17506
17506
  /**
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.
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.
17508
17508
  */
17509
17509
  attachmentUrl?: string;
17510
17510
  /**
@@ -17562,6 +17562,12 @@ type SendInboxMessageData = {
17562
17562
  * `type: postback`, e.g.
17563
17563
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17564
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
+ *
17565
17571
  */
17566
17572
  buttons?: Array<{
17567
17573
  /**
package/dist/index.d.ts CHANGED
@@ -17504,7 +17504,7 @@ type SendInboxMessageData = {
17504
17504
  */
17505
17505
  message?: string;
17506
17506
  /**
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.
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.
17508
17508
  */
17509
17509
  attachmentUrl?: string;
17510
17510
  /**
@@ -17562,6 +17562,12 @@ type SendInboxMessageData = {
17562
17562
  * `type: postback`, e.g.
17563
17563
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17564
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
+ *
17565
17571
  */
17566
17572
  buttons?: Array<{
17567
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.552",
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.552",
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.552",
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",
@@ -17149,7 +17149,7 @@ export type SendInboxMessageData = {
17149
17149
  */
17150
17150
  message?: string;
17151
17151
  /**
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.
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.
17153
17153
  */
17154
17154
  attachmentUrl?: string;
17155
17155
  /**
@@ -17207,6 +17207,12 @@ export type SendInboxMessageData = {
17207
17207
  * `type: postback`, e.g.
17208
17208
  * `{ "type": "postback", "title": "Yes", "payload": "yes" }`.
17209
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
+ *
17210
17216
  */
17211
17217
  buttons?: Array<{
17212
17218
  /**