@zernio/node 0.2.797 → 0.2.799

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 CHANGED
@@ -16287,6 +16287,10 @@ type ConnectAdsData = {
16287
16287
  * Business login only. Facebook Page ID to select from the token grants for ad creatives and lead forms.
16288
16288
  */
16289
16289
  pageId?: string;
16290
+ /**
16291
+ * Business login only. Ad-account permission the connection's system user will hold. `full` asks the owner for Full control (MANAGE; required to create pixels and other account-level assets through Zernio). `advertise` asks for Manage campaigns (ADVERTISE), enough for campaigns, ad sets, creatives, ads, media and reporting, for owners who will not grant billing-level control to an integration. Either way Meta only lets a business admin complete the grant. 503 if the advertise configuration is not set up.
16292
+ */
16293
+ permissionLevel?: 'full' | 'advertise';
16290
16294
  /**
16291
16295
  * Your Zernio profile ID
16292
16296
  */
@@ -27235,6 +27239,9 @@ type PurchasePhoneNumberError = (unknown | {
27235
27239
  } | {
27236
27240
  error?: string;
27237
27241
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27242
+ } | {
27243
+ error?: string;
27244
+ code?: 'CARRIER_UNAVAILABLE';
27238
27245
  });
27239
27246
  type ListPhoneNumberCountriesResponse = ({
27240
27247
  countries?: Array<{
@@ -27603,6 +27610,9 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
27603
27610
  } | {
27604
27611
  error?: string;
27605
27612
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27613
+ } | {
27614
+ error?: string;
27615
+ code?: 'CARRIER_UNAVAILABLE';
27606
27616
  });
27607
27617
  type ListWhatsAppNumberCountriesResponse = ({
27608
27618
  countries?: Array<{
package/dist/index.d.ts CHANGED
@@ -16287,6 +16287,10 @@ type ConnectAdsData = {
16287
16287
  * Business login only. Facebook Page ID to select from the token grants for ad creatives and lead forms.
16288
16288
  */
16289
16289
  pageId?: string;
16290
+ /**
16291
+ * Business login only. Ad-account permission the connection's system user will hold. `full` asks the owner for Full control (MANAGE; required to create pixels and other account-level assets through Zernio). `advertise` asks for Manage campaigns (ADVERTISE), enough for campaigns, ad sets, creatives, ads, media and reporting, for owners who will not grant billing-level control to an integration. Either way Meta only lets a business admin complete the grant. 503 if the advertise configuration is not set up.
16292
+ */
16293
+ permissionLevel?: 'full' | 'advertise';
16290
16294
  /**
16291
16295
  * Your Zernio profile ID
16292
16296
  */
@@ -27235,6 +27239,9 @@ type PurchasePhoneNumberError = (unknown | {
27235
27239
  } | {
27236
27240
  error?: string;
27237
27241
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27242
+ } | {
27243
+ error?: string;
27244
+ code?: 'CARRIER_UNAVAILABLE';
27238
27245
  });
27239
27246
  type ListPhoneNumberCountriesResponse = ({
27240
27247
  countries?: Array<{
@@ -27603,6 +27610,9 @@ type PurchaseWhatsAppPhoneNumberError = (unknown | {
27603
27610
  } | {
27604
27611
  error?: string;
27605
27612
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27613
+ } | {
27614
+ error?: string;
27615
+ code?: 'CARRIER_UNAVAILABLE';
27606
27616
  });
27607
27617
  type ListWhatsAppNumberCountriesResponse = ({
27608
27618
  countries?: Array<{
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.797",
39
+ version: "0.2.799",
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.797",
8
+ version: "0.2.799",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.797",
3
+ "version": "0.2.799",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15372,6 +15372,10 @@ export type ConnectAdsData = {
15372
15372
  * Business login only. Facebook Page ID to select from the token grants for ad creatives and lead forms.
15373
15373
  */
15374
15374
  pageId?: string;
15375
+ /**
15376
+ * Business login only. Ad-account permission the connection's system user will hold. `full` asks the owner for Full control (MANAGE; required to create pixels and other account-level assets through Zernio). `advertise` asks for Manage campaigns (ADVERTISE), enough for campaigns, ad sets, creatives, ads, media and reporting, for owners who will not grant billing-level control to an integration. Either way Meta only lets a business admin complete the grant. 503 if the advertise configuration is not set up.
15377
+ */
15378
+ permissionLevel?: 'full' | 'advertise';
15375
15379
  /**
15376
15380
  * Your Zernio profile ID
15377
15381
  */
@@ -27082,6 +27086,9 @@ export type PurchasePhoneNumberError = (unknown | {
27082
27086
  } | {
27083
27087
  error?: string;
27084
27088
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27089
+ } | {
27090
+ error?: string;
27091
+ code?: 'CARRIER_UNAVAILABLE';
27085
27092
  });
27086
27093
 
27087
27094
  export type ListPhoneNumberCountriesResponse = ({
@@ -27464,6 +27471,9 @@ export type PurchaseWhatsAppPhoneNumberError = (unknown | {
27464
27471
  } | {
27465
27472
  error?: string;
27466
27473
  code?: 'PURCHASE_VELOCITY' | 'AREA_CODE_UNAVAILABLE' | 'PHONE_NUMBER_UNAVAILABLE';
27474
+ } | {
27475
+ error?: string;
27476
+ code?: 'CARRIER_UNAVAILABLE';
27467
27477
  });
27468
27478
 
27469
27479
  export type ListWhatsAppNumberCountriesResponse = ({