@zernio/node 0.2.299 → 0.2.300
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -13033,6 +13033,10 @@ type SendInboxMessageData = {
|
|
|
13033
13033
|
* Type of attachment. Defaults to file if not specified.
|
|
13034
13034
|
*/
|
|
13035
13035
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
13036
|
+
/**
|
|
13037
|
+
* WhatsApp only. Display name for a document sent via attachmentUrl with attachmentType: file (e.g. "Report.pdf"). Maps to the recipient's file name; without it WhatsApp derives the name from the URL and shows "Untitled". Ignored for image/video/audio and for binary uploads (which use the uploaded file's name).
|
|
13038
|
+
*/
|
|
13039
|
+
attachmentName?: string;
|
|
13036
13040
|
/**
|
|
13037
13041
|
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
13038
13042
|
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|
package/dist/index.d.ts
CHANGED
|
@@ -13033,6 +13033,10 @@ type SendInboxMessageData = {
|
|
|
13033
13033
|
* Type of attachment. Defaults to file if not specified.
|
|
13034
13034
|
*/
|
|
13035
13035
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
13036
|
+
/**
|
|
13037
|
+
* WhatsApp only. Display name for a document sent via attachmentUrl with attachmentType: file (e.g. "Report.pdf"). Maps to the recipient's file name; without it WhatsApp derives the name from the URL and shows "Untitled". Ignored for image/video/audio and for binary uploads (which use the uploaded file's name).
|
|
13038
|
+
*/
|
|
13039
|
+
attachmentName?: string;
|
|
13036
13040
|
/**
|
|
13037
13041
|
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
13038
13042
|
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|
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.
|
|
39
|
+
version: "0.2.300",
|
|
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.
|
|
8
|
+
version: "0.2.300",
|
|
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
|
@@ -13003,6 +13003,10 @@ export type SendInboxMessageData = {
|
|
|
13003
13003
|
* Type of attachment. Defaults to file if not specified.
|
|
13004
13004
|
*/
|
|
13005
13005
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
13006
|
+
/**
|
|
13007
|
+
* WhatsApp only. Display name for a document sent via attachmentUrl with attachmentType: file (e.g. "Report.pdf"). Maps to the recipient's file name; without it WhatsApp derives the name from the URL and shows "Untitled". Ignored for image/video/audio and for binary uploads (which use the uploaded file's name).
|
|
13008
|
+
*/
|
|
13009
|
+
attachmentName?: string;
|
|
13006
13010
|
/**
|
|
13007
13011
|
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
13008
13012
|
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|