@zernio/node 0.2.182 → 0.2.183
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 +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -10950,6 +10950,15 @@ type SendInboxMessageData = {
|
|
|
10950
10950
|
* Type of attachment. Defaults to file if not specified.
|
|
10951
10951
|
*/
|
|
10952
10952
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
10953
|
+
/**
|
|
10954
|
+
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
10955
|
+
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|
|
10956
|
+
* UI instead of a basic audio attachment. The audio file MUST be `.ogg`
|
|
10957
|
+
* encoded with the OPUS codec (mono) per Meta's voice-message contract;
|
|
10958
|
+
* other formats are rejected by WhatsApp. Ignored for non-audio attachments.
|
|
10959
|
+
*
|
|
10960
|
+
*/
|
|
10961
|
+
voiceNote?: boolean;
|
|
10953
10962
|
/**
|
|
10954
10963
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
10955
10964
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -10950,6 +10950,15 @@ type SendInboxMessageData = {
|
|
|
10950
10950
|
* Type of attachment. Defaults to file if not specified.
|
|
10951
10951
|
*/
|
|
10952
10952
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
10953
|
+
/**
|
|
10954
|
+
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
10955
|
+
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|
|
10956
|
+
* UI instead of a basic audio attachment. The audio file MUST be `.ogg`
|
|
10957
|
+
* encoded with the OPUS codec (mono) per Meta's voice-message contract;
|
|
10958
|
+
* other formats are rejected by WhatsApp. Ignored for non-audio attachments.
|
|
10959
|
+
*
|
|
10960
|
+
*/
|
|
10961
|
+
voiceNote?: boolean;
|
|
10953
10962
|
/**
|
|
10954
10963
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
10955
10964
|
*/
|
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.183",
|
|
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.183",
|
|
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
|
@@ -10912,6 +10912,15 @@ export type SendInboxMessageData = {
|
|
|
10912
10912
|
* Type of attachment. Defaults to file if not specified.
|
|
10913
10913
|
*/
|
|
10914
10914
|
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
10915
|
+
/**
|
|
10916
|
+
* WhatsApp only. When `true` on an audio attachment, the message is sent
|
|
10917
|
+
* as a voice message (PTT) — the recipient sees the waveform + voice-note
|
|
10918
|
+
* UI instead of a basic audio attachment. The audio file MUST be `.ogg`
|
|
10919
|
+
* encoded with the OPUS codec (mono) per Meta's voice-message contract;
|
|
10920
|
+
* other formats are rejected by WhatsApp. Ignored for non-audio attachments.
|
|
10921
|
+
*
|
|
10922
|
+
*/
|
|
10923
|
+
voiceNote?: boolean;
|
|
10915
10924
|
/**
|
|
10916
10925
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
10917
10926
|
*/
|