@zernio/node 0.2.3 → 0.2.4

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
@@ -6505,6 +6505,14 @@ type SendInboxMessageData = {
6505
6505
  * Message text
6506
6506
  */
6507
6507
  message?: string;
6508
+ /**
6509
+ * 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.
6510
+ */
6511
+ attachmentUrl?: string;
6512
+ /**
6513
+ * Type of attachment. Defaults to file if not specified.
6514
+ */
6515
+ attachmentType?: 'image' | 'video' | 'audio' | 'file';
6508
6516
  /**
6509
6517
  * Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
6510
6518
  */
package/dist/index.d.ts CHANGED
@@ -6505,6 +6505,14 @@ type SendInboxMessageData = {
6505
6505
  * Message text
6506
6506
  */
6507
6507
  message?: string;
6508
+ /**
6509
+ * 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.
6510
+ */
6511
+ attachmentUrl?: string;
6512
+ /**
6513
+ * Type of attachment. Defaults to file if not specified.
6514
+ */
6515
+ attachmentType?: 'image' | 'video' | 'audio' | 'file';
6508
6516
  /**
6509
6517
  * Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
6510
6518
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6525,6 +6525,14 @@ export type SendInboxMessageData = {
6525
6525
  * Message text
6526
6526
  */
6527
6527
  message?: string;
6528
+ /**
6529
+ * 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.
6530
+ */
6531
+ attachmentUrl?: string;
6532
+ /**
6533
+ * Type of attachment. Defaults to file if not specified.
6534
+ */
6535
+ attachmentType?: 'image' | 'video' | 'audio' | 'file';
6528
6536
  /**
6529
6537
  * Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
6530
6538
  */