@zernio/node 0.2.686 → 0.2.688
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 +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +6 -3
- package/src/generated/types.gen.ts +16 -0
package/dist/index.d.mts
CHANGED
|
@@ -3684,6 +3684,10 @@ type CtwaAdRequestBody = {
|
|
|
3684
3684
|
*
|
|
3685
3685
|
*/
|
|
3686
3686
|
dsaPayor?: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
3689
|
+
*/
|
|
3690
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
3687
3691
|
};
|
|
3688
3692
|
/**
|
|
3689
3693
|
* Required unless `adSetId` is set.
|
|
@@ -32219,6 +32223,10 @@ type BoostPostData = {
|
|
|
32219
32223
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32220
32224
|
*/
|
|
32221
32225
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32226
|
+
/**
|
|
32227
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32228
|
+
*/
|
|
32229
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32222
32230
|
/**
|
|
32223
32231
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32224
32232
|
*
|
|
@@ -32785,6 +32793,14 @@ type CreateStandaloneAdData = {
|
|
|
32785
32793
|
*
|
|
32786
32794
|
*/
|
|
32787
32795
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32796
|
+
/**
|
|
32797
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
32798
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
32799
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
32800
|
+
* includes the corresponding country.
|
|
32801
|
+
*
|
|
32802
|
+
*/
|
|
32803
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32788
32804
|
/**
|
|
32789
32805
|
* Required for lifetime budgets
|
|
32790
32806
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3684,6 +3684,10 @@ type CtwaAdRequestBody = {
|
|
|
3684
3684
|
*
|
|
3685
3685
|
*/
|
|
3686
3686
|
dsaPayor?: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
3689
|
+
*/
|
|
3690
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
3687
3691
|
};
|
|
3688
3692
|
/**
|
|
3689
3693
|
* Required unless `adSetId` is set.
|
|
@@ -32219,6 +32223,10 @@ type BoostPostData = {
|
|
|
32219
32223
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32220
32224
|
*/
|
|
32221
32225
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32226
|
+
/**
|
|
32227
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32228
|
+
*/
|
|
32229
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32222
32230
|
/**
|
|
32223
32231
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32224
32232
|
*
|
|
@@ -32785,6 +32793,14 @@ type CreateStandaloneAdData = {
|
|
|
32785
32793
|
*
|
|
32786
32794
|
*/
|
|
32787
32795
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32796
|
+
/**
|
|
32797
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
32798
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
32799
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
32800
|
+
* includes the corresponding country.
|
|
32801
|
+
*
|
|
32802
|
+
*/
|
|
32803
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32788
32804
|
/**
|
|
32789
32805
|
* Required for lifetime budgets
|
|
32790
32806
|
*/
|
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.688",
|
|
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.688",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -4097,9 +4097,12 @@ export const unlikePost = <ThrowOnError extends boolean = false>(options: Option
|
|
|
4097
4097
|
* Send a private message to the author of a comment. Supported on Instagram and Facebook only.
|
|
4098
4098
|
* One reply per comment, must be sent within 7 days. Optionally attach interactive elements:
|
|
4099
4099
|
* `quickReplies` (chips above the keyboard, max 13) or `buttons` (1-3 inline postback/url
|
|
4100
|
-
* buttons rendered in the same bubble via Meta's button_template).
|
|
4101
|
-
*
|
|
4102
|
-
*
|
|
4100
|
+
* buttons rendered in the same bubble via Meta's button_template). Chips do not render in
|
|
4101
|
+
* the Instagram Message Requests folder. Since late August 2026 Instagram refuses buttons,
|
|
4102
|
+
* cards and attachments to commenters who do not follow the account (Meta code 2, subcode
|
|
4103
|
+
* 1545133, returned here as a non-retryable 400 that says so), and the failed call still
|
|
4104
|
+
* consumes the comment's single private reply. To reach non-followers send plain text and
|
|
4105
|
+
* add buttons once they reply. `quickReplies` and `buttons` are mutually exclusive.
|
|
4103
4106
|
*
|
|
4104
4107
|
*/
|
|
4105
4108
|
export const sendPrivateReplyToComment = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendPrivateReplyToCommentData, ThrowOnError>) => {
|
|
@@ -2413,6 +2413,10 @@ export type CtwaAdRequestBody = {
|
|
|
2413
2413
|
*
|
|
2414
2414
|
*/
|
|
2415
2415
|
dsaPayor?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
2418
|
+
*/
|
|
2419
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
2416
2420
|
};
|
|
2417
2421
|
|
|
2418
2422
|
/**
|
|
@@ -32815,6 +32819,10 @@ export type BoostPostData = {
|
|
|
32815
32819
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32816
32820
|
*/
|
|
32817
32821
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32822
|
+
/**
|
|
32823
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32824
|
+
*/
|
|
32825
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32818
32826
|
/**
|
|
32819
32827
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32820
32828
|
*
|
|
@@ -33384,6 +33392,14 @@ export type CreateStandaloneAdData = {
|
|
|
33384
33392
|
*
|
|
33385
33393
|
*/
|
|
33386
33394
|
specialAdCategoryCountry?: Array<(string)>;
|
|
33395
|
+
/**
|
|
33396
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
33397
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
33398
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
33399
|
+
* includes the corresponding country.
|
|
33400
|
+
*
|
|
33401
|
+
*/
|
|
33402
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
33387
33403
|
/**
|
|
33388
33404
|
* Required for lifetime budgets
|
|
33389
33405
|
*/
|