@zernio/node 0.2.1031 → 0.2.1032
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 +22 -2
- package/dist/index.d.ts +22 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +22 -2
package/dist/index.d.mts
CHANGED
|
@@ -8336,7 +8336,10 @@ type InboxWebhookMessage = {
|
|
|
8336
8336
|
* Additional attachment metadata
|
|
8337
8337
|
*/
|
|
8338
8338
|
payload?: {
|
|
8339
|
-
|
|
8339
|
+
/**
|
|
8340
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
8341
|
+
*/
|
|
8342
|
+
voice?: boolean;
|
|
8340
8343
|
};
|
|
8341
8344
|
}>;
|
|
8342
8345
|
sender: {
|
|
@@ -13935,7 +13938,10 @@ type WebhookPayloadMessage = {
|
|
|
13935
13938
|
* Additional attachment metadata
|
|
13936
13939
|
*/
|
|
13937
13940
|
payload?: {
|
|
13938
|
-
|
|
13941
|
+
/**
|
|
13942
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
13943
|
+
*/
|
|
13944
|
+
voice?: boolean;
|
|
13939
13945
|
};
|
|
13940
13946
|
}>;
|
|
13941
13947
|
sender: {
|
|
@@ -14171,6 +14177,14 @@ type WebhookPayloadMessage = {
|
|
|
14171
14177
|
*/
|
|
14172
14178
|
product_retailer_id?: string;
|
|
14173
14179
|
};
|
|
14180
|
+
/**
|
|
14181
|
+
* WhatsApp only. True when the user forwarded this message (5 times or fewer). Absent when not forwarded.
|
|
14182
|
+
*/
|
|
14183
|
+
forwarded?: boolean;
|
|
14184
|
+
/**
|
|
14185
|
+
* WhatsApp only. True when the message was forwarded more than 5 times; Meta then omits forwarded.
|
|
14186
|
+
*/
|
|
14187
|
+
frequentlyForwarded?: boolean;
|
|
14174
14188
|
/**
|
|
14175
14189
|
* WhatsApp only. The location pin the user shared, forwarded
|
|
14176
14190
|
* verbatim from Meta. The message `text` is only the emoji preview
|
|
@@ -14278,6 +14292,12 @@ type WebhookPayloadMessage = {
|
|
|
14278
14292
|
image_url?: string;
|
|
14279
14293
|
video_url?: string;
|
|
14280
14294
|
thumbnail_url?: string;
|
|
14295
|
+
/**
|
|
14296
|
+
* WhatsApp CTWA only. The greeting Meta showed the user in the ad.
|
|
14297
|
+
*/
|
|
14298
|
+
welcome_message?: {
|
|
14299
|
+
text?: string;
|
|
14300
|
+
};
|
|
14281
14301
|
/**
|
|
14282
14302
|
* Facebook Messenger CTM / Instagram CTD only. The Meta ad ID the
|
|
14283
14303
|
* user clicked to start the conversation.
|
package/dist/index.d.ts
CHANGED
|
@@ -8336,7 +8336,10 @@ type InboxWebhookMessage = {
|
|
|
8336
8336
|
* Additional attachment metadata
|
|
8337
8337
|
*/
|
|
8338
8338
|
payload?: {
|
|
8339
|
-
|
|
8339
|
+
/**
|
|
8340
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
8341
|
+
*/
|
|
8342
|
+
voice?: boolean;
|
|
8340
8343
|
};
|
|
8341
8344
|
}>;
|
|
8342
8345
|
sender: {
|
|
@@ -13935,7 +13938,10 @@ type WebhookPayloadMessage = {
|
|
|
13935
13938
|
* Additional attachment metadata
|
|
13936
13939
|
*/
|
|
13937
13940
|
payload?: {
|
|
13938
|
-
|
|
13941
|
+
/**
|
|
13942
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
13943
|
+
*/
|
|
13944
|
+
voice?: boolean;
|
|
13939
13945
|
};
|
|
13940
13946
|
}>;
|
|
13941
13947
|
sender: {
|
|
@@ -14171,6 +14177,14 @@ type WebhookPayloadMessage = {
|
|
|
14171
14177
|
*/
|
|
14172
14178
|
product_retailer_id?: string;
|
|
14173
14179
|
};
|
|
14180
|
+
/**
|
|
14181
|
+
* WhatsApp only. True when the user forwarded this message (5 times or fewer). Absent when not forwarded.
|
|
14182
|
+
*/
|
|
14183
|
+
forwarded?: boolean;
|
|
14184
|
+
/**
|
|
14185
|
+
* WhatsApp only. True when the message was forwarded more than 5 times; Meta then omits forwarded.
|
|
14186
|
+
*/
|
|
14187
|
+
frequentlyForwarded?: boolean;
|
|
14174
14188
|
/**
|
|
14175
14189
|
* WhatsApp only. The location pin the user shared, forwarded
|
|
14176
14190
|
* verbatim from Meta. The message `text` is only the emoji preview
|
|
@@ -14278,6 +14292,12 @@ type WebhookPayloadMessage = {
|
|
|
14278
14292
|
image_url?: string;
|
|
14279
14293
|
video_url?: string;
|
|
14280
14294
|
thumbnail_url?: string;
|
|
14295
|
+
/**
|
|
14296
|
+
* WhatsApp CTWA only. The greeting Meta showed the user in the ad.
|
|
14297
|
+
*/
|
|
14298
|
+
welcome_message?: {
|
|
14299
|
+
text?: string;
|
|
14300
|
+
};
|
|
14281
14301
|
/**
|
|
14282
14302
|
* Facebook Messenger CTM / Instagram CTD only. The Meta ad ID the
|
|
14283
14303
|
* user clicked to start the conversation.
|
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.1032",
|
|
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.1032",
|
|
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
|
@@ -6660,7 +6660,10 @@ export type InboxWebhookMessage = {
|
|
|
6660
6660
|
* Additional attachment metadata
|
|
6661
6661
|
*/
|
|
6662
6662
|
payload?: {
|
|
6663
|
-
|
|
6663
|
+
/**
|
|
6664
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
6665
|
+
*/
|
|
6666
|
+
voice?: boolean;
|
|
6664
6667
|
};
|
|
6665
6668
|
}>;
|
|
6666
6669
|
sender: {
|
|
@@ -12511,7 +12514,10 @@ export type WebhookPayloadMessage = {
|
|
|
12511
12514
|
* Additional attachment metadata
|
|
12512
12515
|
*/
|
|
12513
12516
|
payload?: {
|
|
12514
|
-
|
|
12517
|
+
/**
|
|
12518
|
+
* WhatsApp audio only. True for a voice note recorded in the WhatsApp client, false for an audio file.
|
|
12519
|
+
*/
|
|
12520
|
+
voice?: boolean;
|
|
12515
12521
|
};
|
|
12516
12522
|
}>;
|
|
12517
12523
|
sender: {
|
|
@@ -12747,6 +12753,14 @@ export type WebhookPayloadMessage = {
|
|
|
12747
12753
|
*/
|
|
12748
12754
|
product_retailer_id?: string;
|
|
12749
12755
|
};
|
|
12756
|
+
/**
|
|
12757
|
+
* WhatsApp only. True when the user forwarded this message (5 times or fewer). Absent when not forwarded.
|
|
12758
|
+
*/
|
|
12759
|
+
forwarded?: boolean;
|
|
12760
|
+
/**
|
|
12761
|
+
* WhatsApp only. True when the message was forwarded more than 5 times; Meta then omits forwarded.
|
|
12762
|
+
*/
|
|
12763
|
+
frequentlyForwarded?: boolean;
|
|
12750
12764
|
/**
|
|
12751
12765
|
* WhatsApp only. The location pin the user shared, forwarded
|
|
12752
12766
|
* verbatim from Meta. The message `text` is only the emoji preview
|
|
@@ -12854,6 +12868,12 @@ export type WebhookPayloadMessage = {
|
|
|
12854
12868
|
image_url?: string;
|
|
12855
12869
|
video_url?: string;
|
|
12856
12870
|
thumbnail_url?: string;
|
|
12871
|
+
/**
|
|
12872
|
+
* WhatsApp CTWA only. The greeting Meta showed the user in the ad.
|
|
12873
|
+
*/
|
|
12874
|
+
welcome_message?: {
|
|
12875
|
+
text?: string;
|
|
12876
|
+
};
|
|
12857
12877
|
/**
|
|
12858
12878
|
* Facebook Messenger CTM / Instagram CTD only. The Meta ad ID the
|
|
12859
12879
|
* user clicked to start the conversation.
|