@zernio/node 0.2.827 → 0.2.829
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 +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +25 -2
package/dist/index.d.mts
CHANGED
|
@@ -4713,9 +4713,28 @@ type CtwaAdRequestBody = {
|
|
|
4713
4713
|
*/
|
|
4714
4714
|
text: string;
|
|
4715
4715
|
/**
|
|
4716
|
-
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
|
|
4716
|
+
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
|
|
4717
4717
|
*/
|
|
4718
|
-
prefillText
|
|
4718
|
+
prefillText?: string;
|
|
4719
|
+
/**
|
|
4720
|
+
* Tappable chips under the greeting instead of a prefilled
|
|
4721
|
+
* message. Exactly one of prefillText or quickReplies. Put
|
|
4722
|
+
* your own campaign or ad key in each payload: the tap arrives
|
|
4723
|
+
* on the messages webhook with that payload even where Meta
|
|
4724
|
+
* delivers no ad referral (Pages owned by an EU business under
|
|
4725
|
+
* the Europe/Japan Messenger restrictions).
|
|
4726
|
+
*
|
|
4727
|
+
*/
|
|
4728
|
+
quickReplies?: Array<{
|
|
4729
|
+
/**
|
|
4730
|
+
* Chip label the person taps.
|
|
4731
|
+
*/
|
|
4732
|
+
title: string;
|
|
4733
|
+
/**
|
|
4734
|
+
* Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
|
|
4735
|
+
*/
|
|
4736
|
+
payload: string;
|
|
4737
|
+
}>;
|
|
4719
4738
|
};
|
|
4720
4739
|
/**
|
|
4721
4740
|
* Multi-creative shape: N CTWA ads under one campaign + one
|
|
@@ -15769,6 +15788,10 @@ type GetAccountHealthData = {
|
|
|
15769
15788
|
type GetAccountHealthResponse = ({
|
|
15770
15789
|
accountId?: string;
|
|
15771
15790
|
platform?: string;
|
|
15791
|
+
/**
|
|
15792
|
+
* TikTok only. The TikTok integration the account is connected through: business (TikTok for Business, Accounts API) or developer (the original integration). Absent on other platforms.
|
|
15793
|
+
*/
|
|
15794
|
+
integrationLane?: 'business' | 'developer';
|
|
15772
15795
|
username?: string;
|
|
15773
15796
|
displayName?: string;
|
|
15774
15797
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4713,9 +4713,28 @@ type CtwaAdRequestBody = {
|
|
|
4713
4713
|
*/
|
|
4714
4714
|
text: string;
|
|
4715
4715
|
/**
|
|
4716
|
-
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
|
|
4716
|
+
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
|
|
4717
4717
|
*/
|
|
4718
|
-
prefillText
|
|
4718
|
+
prefillText?: string;
|
|
4719
|
+
/**
|
|
4720
|
+
* Tappable chips under the greeting instead of a prefilled
|
|
4721
|
+
* message. Exactly one of prefillText or quickReplies. Put
|
|
4722
|
+
* your own campaign or ad key in each payload: the tap arrives
|
|
4723
|
+
* on the messages webhook with that payload even where Meta
|
|
4724
|
+
* delivers no ad referral (Pages owned by an EU business under
|
|
4725
|
+
* the Europe/Japan Messenger restrictions).
|
|
4726
|
+
*
|
|
4727
|
+
*/
|
|
4728
|
+
quickReplies?: Array<{
|
|
4729
|
+
/**
|
|
4730
|
+
* Chip label the person taps.
|
|
4731
|
+
*/
|
|
4732
|
+
title: string;
|
|
4733
|
+
/**
|
|
4734
|
+
* Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
|
|
4735
|
+
*/
|
|
4736
|
+
payload: string;
|
|
4737
|
+
}>;
|
|
4719
4738
|
};
|
|
4720
4739
|
/**
|
|
4721
4740
|
* Multi-creative shape: N CTWA ads under one campaign + one
|
|
@@ -15769,6 +15788,10 @@ type GetAccountHealthData = {
|
|
|
15769
15788
|
type GetAccountHealthResponse = ({
|
|
15770
15789
|
accountId?: string;
|
|
15771
15790
|
platform?: string;
|
|
15791
|
+
/**
|
|
15792
|
+
* TikTok only. The TikTok integration the account is connected through: business (TikTok for Business, Accounts API) or developer (the original integration). Absent on other platforms.
|
|
15793
|
+
*/
|
|
15794
|
+
integrationLane?: 'business' | 'developer';
|
|
15772
15795
|
username?: string;
|
|
15773
15796
|
displayName?: string;
|
|
15774
15797
|
/**
|
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.829",
|
|
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.829",
|
|
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
|
@@ -3178,9 +3178,28 @@ export type CtwaAdRequestBody = {
|
|
|
3178
3178
|
*/
|
|
3179
3179
|
text: string;
|
|
3180
3180
|
/**
|
|
3181
|
-
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
|
|
3181
|
+
* Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
|
|
3182
3182
|
*/
|
|
3183
|
-
prefillText
|
|
3183
|
+
prefillText?: string;
|
|
3184
|
+
/**
|
|
3185
|
+
* Tappable chips under the greeting instead of a prefilled
|
|
3186
|
+
* message. Exactly one of prefillText or quickReplies. Put
|
|
3187
|
+
* your own campaign or ad key in each payload: the tap arrives
|
|
3188
|
+
* on the messages webhook with that payload even where Meta
|
|
3189
|
+
* delivers no ad referral (Pages owned by an EU business under
|
|
3190
|
+
* the Europe/Japan Messenger restrictions).
|
|
3191
|
+
*
|
|
3192
|
+
*/
|
|
3193
|
+
quickReplies?: Array<{
|
|
3194
|
+
/**
|
|
3195
|
+
* Chip label the person taps.
|
|
3196
|
+
*/
|
|
3197
|
+
title: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
|
|
3200
|
+
*/
|
|
3201
|
+
payload: string;
|
|
3202
|
+
}>;
|
|
3184
3203
|
};
|
|
3185
3204
|
/**
|
|
3186
3205
|
* Multi-creative shape: N CTWA ads under one campaign + one
|
|
@@ -14798,6 +14817,10 @@ export type GetAccountHealthData = {
|
|
|
14798
14817
|
export type GetAccountHealthResponse = ({
|
|
14799
14818
|
accountId?: string;
|
|
14800
14819
|
platform?: string;
|
|
14820
|
+
/**
|
|
14821
|
+
* TikTok only. The TikTok integration the account is connected through: business (TikTok for Business, Accounts API) or developer (the original integration). Absent on other platforms.
|
|
14822
|
+
*/
|
|
14823
|
+
integrationLane?: 'business' | 'developer';
|
|
14801
14824
|
username?: string;
|
|
14802
14825
|
displayName?: string;
|
|
14803
14826
|
/**
|