@zernio/node 0.2.796 → 0.2.798
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 +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +10 -0
package/dist/index.d.mts
CHANGED
|
@@ -27235,6 +27235,9 @@ type PurchasePhoneNumberError = (unknown | {
|
|
|
27235
27235
|
} | {
|
|
27236
27236
|
error?: string;
|
|
27237
27237
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27238
|
+
} | {
|
|
27239
|
+
error?: string;
|
|
27240
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27238
27241
|
});
|
|
27239
27242
|
type ListPhoneNumberCountriesResponse = ({
|
|
27240
27243
|
countries?: Array<{
|
|
@@ -27603,6 +27606,9 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
|
|
|
27603
27606
|
} | {
|
|
27604
27607
|
error?: string;
|
|
27605
27608
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27609
|
+
} | {
|
|
27610
|
+
error?: string;
|
|
27611
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27606
27612
|
});
|
|
27607
27613
|
type ListWhatsAppNumberCountriesResponse = ({
|
|
27608
27614
|
countries?: Array<{
|
|
@@ -37438,6 +37444,10 @@ type BoostPostData = {
|
|
|
37438
37444
|
*
|
|
37439
37445
|
*/
|
|
37440
37446
|
sparkAuthCode?: string;
|
|
37447
|
+
/**
|
|
37448
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
37449
|
+
*/
|
|
37450
|
+
smartPlus?: boolean;
|
|
37441
37451
|
/**
|
|
37442
37452
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37443
37453
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
package/dist/index.d.ts
CHANGED
|
@@ -27235,6 +27235,9 @@ type PurchasePhoneNumberError = (unknown | {
|
|
|
27235
27235
|
} | {
|
|
27236
27236
|
error?: string;
|
|
27237
27237
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27238
|
+
} | {
|
|
27239
|
+
error?: string;
|
|
27240
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27238
27241
|
});
|
|
27239
27242
|
type ListPhoneNumberCountriesResponse = ({
|
|
27240
27243
|
countries?: Array<{
|
|
@@ -27603,6 +27606,9 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
|
|
|
27603
27606
|
} | {
|
|
27604
27607
|
error?: string;
|
|
27605
27608
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27609
|
+
} | {
|
|
27610
|
+
error?: string;
|
|
27611
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27606
27612
|
});
|
|
27607
27613
|
type ListWhatsAppNumberCountriesResponse = ({
|
|
27608
27614
|
countries?: Array<{
|
|
@@ -37438,6 +37444,10 @@ type BoostPostData = {
|
|
|
37438
37444
|
*
|
|
37439
37445
|
*/
|
|
37440
37446
|
sparkAuthCode?: string;
|
|
37447
|
+
/**
|
|
37448
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
37449
|
+
*/
|
|
37450
|
+
smartPlus?: boolean;
|
|
37441
37451
|
/**
|
|
37442
37452
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37443
37453
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
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.798",
|
|
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.798",
|
|
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
|
@@ -27082,6 +27082,9 @@ export type PurchasePhoneNumberError = (unknown | {
|
|
|
27082
27082
|
} | {
|
|
27083
27083
|
error?: string;
|
|
27084
27084
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27085
|
+
} | {
|
|
27086
|
+
error?: string;
|
|
27087
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27085
27088
|
});
|
|
27086
27089
|
|
|
27087
27090
|
export type ListPhoneNumberCountriesResponse = ({
|
|
@@ -27464,6 +27467,9 @@ export type PurchaseWhatsAppPhoneNumberError = (unknown | {
|
|
|
27464
27467
|
} | {
|
|
27465
27468
|
error?: string;
|
|
27466
27469
|
code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
|
|
27470
|
+
} | {
|
|
27471
|
+
error?: string;
|
|
27472
|
+
code?: 'CARRIER_UNAVAILABLE';
|
|
27467
27473
|
});
|
|
27468
27474
|
|
|
27469
27475
|
export type ListWhatsAppNumberCountriesResponse = ({
|
|
@@ -38039,6 +38045,10 @@ export type BoostPostData = {
|
|
|
38039
38045
|
*
|
|
38040
38046
|
*/
|
|
38041
38047
|
sparkAuthCode?: string;
|
|
38048
|
+
/**
|
|
38049
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
38050
|
+
*/
|
|
38051
|
+
smartPlus?: boolean;
|
|
38042
38052
|
/**
|
|
38043
38053
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
38044
38054
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|