@zernio/node 0.2.1043 → 0.2.1045
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -11587,7 +11587,7 @@ type TargetingSpec = {
|
|
|
11587
11587
|
}>;
|
|
11588
11588
|
};
|
|
11589
11589
|
/**
|
|
11590
|
-
* Minimum age. Applied on Meta, TikTok and
|
|
11590
|
+
* Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
|
|
11591
11591
|
*/
|
|
11592
11592
|
ageMin?: number;
|
|
11593
11593
|
/**
|
|
@@ -11595,7 +11595,7 @@ type TargetingSpec = {
|
|
|
11595
11595
|
*/
|
|
11596
11596
|
ageMax?: number;
|
|
11597
11597
|
/**
|
|
11598
|
-
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and
|
|
11598
|
+
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
|
|
11599
11599
|
*/
|
|
11600
11600
|
gender?: 'all' | 'male' | 'female';
|
|
11601
11601
|
/**
|
|
@@ -11608,7 +11608,7 @@ type TargetingSpec = {
|
|
|
11608
11608
|
*/
|
|
11609
11609
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
11610
11610
|
/**
|
|
11611
|
-
* Language codes restricting the audience by language. Applied on Meta and
|
|
11611
|
+
* Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn, X and Pinterest; rejected with 400 on OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
11612
11612
|
*/
|
|
11613
11613
|
languages?: Array<(string)>;
|
|
11614
11614
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -11587,7 +11587,7 @@ type TargetingSpec = {
|
|
|
11587
11587
|
}>;
|
|
11588
11588
|
};
|
|
11589
11589
|
/**
|
|
11590
|
-
* Minimum age. Applied on Meta, TikTok and
|
|
11590
|
+
* Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
|
|
11591
11591
|
*/
|
|
11592
11592
|
ageMin?: number;
|
|
11593
11593
|
/**
|
|
@@ -11595,7 +11595,7 @@ type TargetingSpec = {
|
|
|
11595
11595
|
*/
|
|
11596
11596
|
ageMax?: number;
|
|
11597
11597
|
/**
|
|
11598
|
-
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and
|
|
11598
|
+
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
|
|
11599
11599
|
*/
|
|
11600
11600
|
gender?: 'all' | 'male' | 'female';
|
|
11601
11601
|
/**
|
|
@@ -11608,7 +11608,7 @@ type TargetingSpec = {
|
|
|
11608
11608
|
*/
|
|
11609
11609
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
11610
11610
|
/**
|
|
11611
|
-
* Language codes restricting the audience by language. Applied on Meta and
|
|
11611
|
+
* Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn, X and Pinterest; rejected with 400 on OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
11612
11612
|
*/
|
|
11613
11613
|
languages?: Array<(string)>;
|
|
11614
11614
|
/**
|
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.1045",
|
|
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.1045",
|
|
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
|
@@ -10065,7 +10065,7 @@ export type TargetingSpec = {
|
|
|
10065
10065
|
}>;
|
|
10066
10066
|
};
|
|
10067
10067
|
/**
|
|
10068
|
-
* Minimum age. Applied on Meta, TikTok and
|
|
10068
|
+
* Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
|
|
10069
10069
|
*/
|
|
10070
10070
|
ageMin?: number;
|
|
10071
10071
|
/**
|
|
@@ -10073,7 +10073,7 @@ export type TargetingSpec = {
|
|
|
10073
10073
|
*/
|
|
10074
10074
|
ageMax?: number;
|
|
10075
10075
|
/**
|
|
10076
|
-
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and
|
|
10076
|
+
* Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
|
|
10077
10077
|
*/
|
|
10078
10078
|
gender?: 'all' | 'male' | 'female';
|
|
10079
10079
|
/**
|
|
@@ -10086,7 +10086,7 @@ export type TargetingSpec = {
|
|
|
10086
10086
|
*/
|
|
10087
10087
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
10088
10088
|
/**
|
|
10089
|
-
* Language codes restricting the audience by language. Applied on Meta and
|
|
10089
|
+
* Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn, X and Pinterest; rejected with 400 on OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
10090
10090
|
*/
|
|
10091
10091
|
languages?: Array<(string)>;
|
|
10092
10092
|
/**
|