@zernio/node 0.2.923 → 0.2.925
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/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -25094,7 +25094,7 @@ type ListInboxCommentsData = {
|
|
|
25094
25094
|
cursor?: string;
|
|
25095
25095
|
limit?: number;
|
|
25096
25096
|
/**
|
|
25097
|
-
* Minimum comment count
|
|
25097
|
+
* Minimum comment count, applied to each page after pagination
|
|
25098
25098
|
*/
|
|
25099
25099
|
minComments?: number;
|
|
25100
25100
|
/**
|
|
@@ -35146,7 +35146,7 @@ type CreateAdCampaignData = {
|
|
|
35146
35146
|
*/
|
|
35147
35147
|
buyingType?: 'AUCTION' | 'RESERVED';
|
|
35148
35148
|
/**
|
|
35149
|
-
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED.
|
|
35149
|
+
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED. `true` on any other platform returns 501 `feature_not_available` (same as POST /v1/ads/create); `false` is ignored.
|
|
35150
35150
|
*/
|
|
35151
35151
|
validateOnly?: boolean;
|
|
35152
35152
|
specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS' | 'FINANCIAL_PRODUCTS_SERVICES' | 'ONLINE_GAMBLING_AND_GAMING')>;
|
|
@@ -40369,7 +40369,7 @@ type CreateStandaloneAdData = {
|
|
|
40369
40369
|
*/
|
|
40370
40370
|
aiDisclosure?: 'OPT_IN' | 'OPT_OUT';
|
|
40371
40371
|
/**
|
|
40372
|
-
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error.
|
|
40372
|
+
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error. Any other platform, or a Google campaignType other than pmax, returns 501 `feature_not_available`.
|
|
40373
40373
|
*/
|
|
40374
40374
|
validateOnly?: boolean;
|
|
40375
40375
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -25094,7 +25094,7 @@ type ListInboxCommentsData = {
|
|
|
25094
25094
|
cursor?: string;
|
|
25095
25095
|
limit?: number;
|
|
25096
25096
|
/**
|
|
25097
|
-
* Minimum comment count
|
|
25097
|
+
* Minimum comment count, applied to each page after pagination
|
|
25098
25098
|
*/
|
|
25099
25099
|
minComments?: number;
|
|
25100
25100
|
/**
|
|
@@ -35146,7 +35146,7 @@ type CreateAdCampaignData = {
|
|
|
35146
35146
|
*/
|
|
35147
35147
|
buyingType?: 'AUCTION' | 'RESERVED';
|
|
35148
35148
|
/**
|
|
35149
|
-
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED.
|
|
35149
|
+
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED. `true` on any other platform returns 501 `feature_not_available` (same as POST /v1/ads/create); `false` is ignored.
|
|
35150
35150
|
*/
|
|
35151
35151
|
validateOnly?: boolean;
|
|
35152
35152
|
specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS' | 'FINANCIAL_PRODUCTS_SERVICES' | 'ONLINE_GAMBLING_AND_GAMING')>;
|
|
@@ -40369,7 +40369,7 @@ type CreateStandaloneAdData = {
|
|
|
40369
40369
|
*/
|
|
40370
40370
|
aiDisclosure?: 'OPT_IN' | 'OPT_OUT';
|
|
40371
40371
|
/**
|
|
40372
|
-
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error.
|
|
40372
|
+
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error. Any other platform, or a Google campaignType other than pmax, returns 501 `feature_not_available`.
|
|
40373
40373
|
*/
|
|
40374
40374
|
validateOnly?: boolean;
|
|
40375
40375
|
/**
|
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.925",
|
|
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.925",
|
|
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
|
@@ -4296,6 +4296,9 @@ export const getMessageAttachment = <ThrowOnError extends boolean = false>(optio
|
|
|
4296
4296
|
* (`sortBy=date`, `sortOrder=desc`): with `sortOrder=asc`, or with `sortBy=comments`,
|
|
4297
4297
|
* the cursor filter does not match the sort order and the second page is unreliable.
|
|
4298
4298
|
*
|
|
4299
|
+
* `minComments` is applied to each page after pagination: a page can hold fewer than
|
|
4300
|
+
* `limit` posts, even none, while `hasMore` is true; keep following `nextCursor`.
|
|
4301
|
+
*
|
|
4299
4302
|
* `nextCursor` is opaque: pass it back verbatim, never construct or parse it, its
|
|
4300
4303
|
* composition may change without notice. Because each page re-queries a live window,
|
|
4301
4304
|
* results can still shift between requests, so dedupe by `id` on the client.
|
|
@@ -24618,7 +24618,7 @@ export type ListInboxCommentsData = {
|
|
|
24618
24618
|
cursor?: string;
|
|
24619
24619
|
limit?: number;
|
|
24620
24620
|
/**
|
|
24621
|
-
* Minimum comment count
|
|
24621
|
+
* Minimum comment count, applied to each page after pagination
|
|
24622
24622
|
*/
|
|
24623
24623
|
minComments?: number;
|
|
24624
24624
|
/**
|
|
@@ -35483,7 +35483,7 @@ export type CreateAdCampaignData = {
|
|
|
35483
35483
|
*/
|
|
35484
35484
|
buyingType?: 'AUCTION' | 'RESERVED';
|
|
35485
35485
|
/**
|
|
35486
|
-
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED.
|
|
35486
|
+
* Meta only. Runs campaign validation without creating or persisting a campaign; Idempotency-Key storage is bypassed. Returns HTTP 200 with validateOnly true and status VALIDATED. `true` on any other platform returns 501 `feature_not_available` (same as POST /v1/ads/create); `false` is ignored.
|
|
35487
35487
|
*/
|
|
35488
35488
|
validateOnly?: boolean;
|
|
35489
35489
|
specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS' | 'FINANCIAL_PRODUCTS_SERVICES' | 'ONLINE_GAMBLING_AND_GAMING')>;
|
|
@@ -41027,7 +41027,7 @@ export type CreateStandaloneAdData = {
|
|
|
41027
41027
|
*/
|
|
41028
41028
|
aiDisclosure?: 'OPT_IN' | 'OPT_OUT';
|
|
41029
41029
|
/**
|
|
41030
|
-
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error.
|
|
41030
|
+
* Google Performance Max validates the complete atomic campaign and asset group with no resource creation or local persistence. Google validation still downloads image URLs and consumes quota. On Meta, validates the complete inline campaign, ad set, creative and ad with execution_options validate_only. Nothing is uploaded or created, and validation bypasses Idempotency-Key storage. Supports a single image, all-image placementAssets with per-rule copy, existing video.id or existingCreativeId; other media pools, new video uploads, creatives[], adSetId and RESERVED buying return 400. Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped. Success returns 200 with per-node results; Meta rejection returns an error. Any other platform, or a Google campaignType other than pmax, returns 501 `feature_not_available`.
|
|
41031
41031
|
*/
|
|
41032
41032
|
validateOnly?: boolean;
|
|
41033
41033
|
/**
|