@zernio/node 0.2.591 → 0.2.593
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 +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -6
package/dist/index.d.mts
CHANGED
|
@@ -5590,9 +5590,9 @@ type PlatformTarget = {
|
|
|
5590
5590
|
*/
|
|
5591
5591
|
errorMessage?: string;
|
|
5592
5592
|
/**
|
|
5593
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
5593
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
5594
5594
|
*/
|
|
5595
|
-
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
5595
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
5596
5596
|
/**
|
|
5597
5597
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
5598
5598
|
*/
|
|
@@ -5603,9 +5603,9 @@ type PlatformTarget = {
|
|
|
5603
5603
|
*/
|
|
5604
5604
|
type trialGraduationStrategy = 'MANUAL' | 'SS_PERFORMANCE';
|
|
5605
5605
|
/**
|
|
5606
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
5606
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
5607
5607
|
*/
|
|
5608
|
-
type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
5608
|
+
type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
5609
5609
|
/**
|
|
5610
5610
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
5611
5611
|
*/
|
|
@@ -29992,8 +29992,9 @@ type BoostPostData = {
|
|
|
29992
29992
|
* CTA button label. Send it together with `linkUrl` — a CTA without a
|
|
29993
29993
|
* destination produces a button that goes nowhere, so sending one alone is a 400.
|
|
29994
29994
|
*
|
|
29995
|
-
* **Meta**:
|
|
29996
|
-
*
|
|
29995
|
+
* **Meta**: the CTA enum of POST /v1/ads/create plus
|
|
29996
|
+
* `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
|
|
29997
|
+
* value `linkUrl` is typically the Instagram profile URL.
|
|
29997
29998
|
*
|
|
29998
29999
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
29999
30000
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|
package/dist/index.d.ts
CHANGED
|
@@ -5590,9 +5590,9 @@ type PlatformTarget = {
|
|
|
5590
5590
|
*/
|
|
5591
5591
|
errorMessage?: string;
|
|
5592
5592
|
/**
|
|
5593
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
5593
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
5594
5594
|
*/
|
|
5595
|
-
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
5595
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
5596
5596
|
/**
|
|
5597
5597
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
5598
5598
|
*/
|
|
@@ -5603,9 +5603,9 @@ type PlatformTarget = {
|
|
|
5603
5603
|
*/
|
|
5604
5604
|
type trialGraduationStrategy = 'MANUAL' | 'SS_PERFORMANCE';
|
|
5605
5605
|
/**
|
|
5606
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
5606
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
5607
5607
|
*/
|
|
5608
|
-
type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
5608
|
+
type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
5609
5609
|
/**
|
|
5610
5610
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
5611
5611
|
*/
|
|
@@ -29992,8 +29992,9 @@ type BoostPostData = {
|
|
|
29992
29992
|
* CTA button label. Send it together with `linkUrl` — a CTA without a
|
|
29993
29993
|
* destination produces a button that goes nowhere, so sending one alone is a 400.
|
|
29994
29994
|
*
|
|
29995
|
-
* **Meta**:
|
|
29996
|
-
*
|
|
29995
|
+
* **Meta**: the CTA enum of POST /v1/ads/create plus
|
|
29996
|
+
* `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
|
|
29997
|
+
* value `linkUrl` is typically the Instagram profile URL.
|
|
29997
29998
|
*
|
|
29998
29999
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
29999
30000
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|
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.593",
|
|
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.593",
|
|
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
|
@@ -4450,9 +4450,9 @@ export type PlatformTarget = {
|
|
|
4450
4450
|
*/
|
|
4451
4451
|
errorMessage?: string;
|
|
4452
4452
|
/**
|
|
4453
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
4453
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
4454
4454
|
*/
|
|
4455
|
-
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
4455
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
4456
4456
|
/**
|
|
4457
4457
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
4458
4458
|
*/
|
|
@@ -4465,9 +4465,9 @@ export type PlatformTarget = {
|
|
|
4465
4465
|
export type trialGraduationStrategy = 'MANUAL' | 'SS_PERFORMANCE';
|
|
4466
4466
|
|
|
4467
4467
|
/**
|
|
4468
|
-
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
|
|
4468
|
+
* Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), platform_rate_limit (platform throttling, retried automatically), quota_exhausted (shared daily API quota empty, resumes at the platform's reset), system_error (Zernio infra), unknown
|
|
4469
4469
|
*/
|
|
4470
|
-
export type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
|
|
4470
|
+
export type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
4471
4471
|
|
|
4472
4472
|
/**
|
|
4473
4473
|
* Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
|
|
@@ -30530,8 +30530,9 @@ export type BoostPostData = {
|
|
|
30530
30530
|
* CTA button label. Send it together with `linkUrl` — a CTA without a
|
|
30531
30531
|
* destination produces a button that goes nowhere, so sending one alone is a 400.
|
|
30532
30532
|
*
|
|
30533
|
-
* **Meta**:
|
|
30534
|
-
*
|
|
30533
|
+
* **Meta**: the CTA enum of POST /v1/ads/create plus
|
|
30534
|
+
* `VIEW_INSTAGRAM_PROFILE`, which is accepted on boost only. For that
|
|
30535
|
+
* value `linkUrl` is typically the Instagram profile URL.
|
|
30535
30536
|
*
|
|
30536
30537
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
30537
30538
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|