@zernio/node 0.2.851 → 0.2.853

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
@@ -4769,6 +4769,14 @@ type CtwaAdRequestBody = {
4769
4769
  *
4770
4770
  */
4771
4771
  name: string;
4772
+ /**
4773
+ * Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
4774
+ */
4775
+ campaignName?: string;
4776
+ /**
4777
+ * Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
4778
+ */
4779
+ adSetName?: string;
4772
4780
  /**
4773
4781
  * Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
4774
4782
  */
@@ -28666,6 +28674,10 @@ type ListPhoneNumberCountriesError = ({
28666
28674
  });
28667
28675
  type SearchAvailablePhoneNumbersData = {
28668
28676
  query?: {
28677
+ /**
28678
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
28679
+ */
28680
+ areaCode?: string;
28669
28681
  /**
28670
28682
  * Pattern to match within the number
28671
28683
  */
@@ -28677,7 +28689,12 @@ type SearchAvailablePhoneNumbersData = {
28677
28689
  */
28678
28690
  locality?: string;
28679
28691
  /**
28680
- * Area code
28692
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
28693
+ */
28694
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
28695
+ /**
28696
+ * Alias of areaCode, kept for existing callers
28697
+ * @deprecated
28681
28698
  */
28682
28699
  prefix?: string;
28683
28700
  /**
@@ -28685,7 +28702,8 @@ type SearchAvailablePhoneNumbersData = {
28685
28702
  */
28686
28703
  sms?: boolean;
28687
28704
  /**
28688
- * Number type; defaults to the country's WhatsApp-safe type
28705
+ * Alias of numberType, kept for existing callers
28706
+ * @deprecated
28689
28707
  */
28690
28708
  type?: string;
28691
28709
  };
@@ -28993,6 +29011,10 @@ type ListWhatsAppNumberCountriesError = ({
28993
29011
  });
28994
29012
  type SearchAvailableWhatsAppNumbersData = {
28995
29013
  query?: {
29014
+ /**
29015
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
29016
+ */
29017
+ areaCode?: string;
28996
29018
  /**
28997
29019
  * Pattern to match within the number
28998
29020
  */
@@ -29004,11 +29026,17 @@ type SearchAvailableWhatsAppNumbersData = {
29004
29026
  */
29005
29027
  locality?: string;
29006
29028
  /**
29007
- * Area code
29029
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
29030
+ */
29031
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
29032
+ /**
29033
+ * Alias of areaCode, kept for existing callers
29034
+ * @deprecated
29008
29035
  */
29009
29036
  prefix?: string;
29010
29037
  /**
29011
- * Number type; defaults to the country's WhatsApp-safe type
29038
+ * Alias of numberType, kept for existing callers
29039
+ * @deprecated
29012
29040
  */
29013
29041
  type?: string;
29014
29042
  };
package/dist/index.d.ts CHANGED
@@ -4769,6 +4769,14 @@ type CtwaAdRequestBody = {
4769
4769
  *
4770
4770
  */
4771
4771
  name: string;
4772
+ /**
4773
+ * Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
4774
+ */
4775
+ campaignName?: string;
4776
+ /**
4777
+ * Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
4778
+ */
4779
+ adSetName?: string;
4772
4780
  /**
4773
4781
  * Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
4774
4782
  */
@@ -28666,6 +28674,10 @@ type ListPhoneNumberCountriesError = ({
28666
28674
  });
28667
28675
  type SearchAvailablePhoneNumbersData = {
28668
28676
  query?: {
28677
+ /**
28678
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
28679
+ */
28680
+ areaCode?: string;
28669
28681
  /**
28670
28682
  * Pattern to match within the number
28671
28683
  */
@@ -28677,7 +28689,12 @@ type SearchAvailablePhoneNumbersData = {
28677
28689
  */
28678
28690
  locality?: string;
28679
28691
  /**
28680
- * Area code
28692
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
28693
+ */
28694
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
28695
+ /**
28696
+ * Alias of areaCode, kept for existing callers
28697
+ * @deprecated
28681
28698
  */
28682
28699
  prefix?: string;
28683
28700
  /**
@@ -28685,7 +28702,8 @@ type SearchAvailablePhoneNumbersData = {
28685
28702
  */
28686
28703
  sms?: boolean;
28687
28704
  /**
28688
- * Number type; defaults to the country's WhatsApp-safe type
28705
+ * Alias of numberType, kept for existing callers
28706
+ * @deprecated
28689
28707
  */
28690
28708
  type?: string;
28691
28709
  };
@@ -28993,6 +29011,10 @@ type ListWhatsAppNumberCountriesError = ({
28993
29011
  });
28994
29012
  type SearchAvailableWhatsAppNumbersData = {
28995
29013
  query?: {
29014
+ /**
29015
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
29016
+ */
29017
+ areaCode?: string;
28996
29018
  /**
28997
29019
  * Pattern to match within the number
28998
29020
  */
@@ -29004,11 +29026,17 @@ type SearchAvailableWhatsAppNumbersData = {
29004
29026
  */
29005
29027
  locality?: string;
29006
29028
  /**
29007
- * Area code
29029
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
29030
+ */
29031
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
29032
+ /**
29033
+ * Alias of areaCode, kept for existing callers
29034
+ * @deprecated
29008
29035
  */
29009
29036
  prefix?: string;
29010
29037
  /**
29011
- * Number type; defaults to the country's WhatsApp-safe type
29038
+ * Alias of numberType, kept for existing callers
29039
+ * @deprecated
29012
29040
  */
29013
29041
  type?: string;
29014
29042
  };
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.851",
39
+ version: "0.2.853",
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.851",
8
+ version: "0.2.853",
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.851",
3
+ "version": "0.2.853",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3209,6 +3209,14 @@ export type CtwaAdRequestBody = {
3209
3209
  *
3210
3210
  */
3211
3211
  name: string;
3212
+ /**
3213
+ * Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
3214
+ */
3215
+ campaignName?: string;
3216
+ /**
3217
+ * Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
3218
+ */
3219
+ adSetName?: string;
3212
3220
  /**
3213
3221
  * Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
3214
3222
  */
@@ -28554,6 +28562,10 @@ export type ListPhoneNumberCountriesError = ({
28554
28562
 
28555
28563
  export type SearchAvailablePhoneNumbersData = {
28556
28564
  query?: {
28565
+ /**
28566
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
28567
+ */
28568
+ areaCode?: string;
28557
28569
  /**
28558
28570
  * Pattern to match within the number
28559
28571
  */
@@ -28565,7 +28577,12 @@ export type SearchAvailablePhoneNumbersData = {
28565
28577
  */
28566
28578
  locality?: string;
28567
28579
  /**
28568
- * Area code
28580
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
28581
+ */
28582
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
28583
+ /**
28584
+ * Alias of areaCode, kept for existing callers
28585
+ * @deprecated
28569
28586
  */
28570
28587
  prefix?: string;
28571
28588
  /**
@@ -28573,7 +28590,8 @@ export type SearchAvailablePhoneNumbersData = {
28573
28590
  */
28574
28591
  sms?: boolean;
28575
28592
  /**
28576
- * Number type; defaults to the country's WhatsApp-safe type
28593
+ * Alias of numberType, kept for existing callers
28594
+ * @deprecated
28577
28595
  */
28578
28596
  type?: string;
28579
28597
  };
@@ -28895,6 +28913,10 @@ export type ListWhatsAppNumberCountriesError = ({
28895
28913
 
28896
28914
  export type SearchAvailableWhatsAppNumbersData = {
28897
28915
  query?: {
28916
+ /**
28917
+ * Area code or national dialing code the number must start with, e.g. 415 or 91
28918
+ */
28919
+ areaCode?: string;
28898
28920
  /**
28899
28921
  * Pattern to match within the number
28900
28922
  */
@@ -28906,11 +28928,17 @@ export type SearchAvailableWhatsAppNumbersData = {
28906
28928
  */
28907
28929
  locality?: string;
28908
28930
  /**
28909
- * Area code
28931
+ * Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
28932
+ */
28933
+ numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
28934
+ /**
28935
+ * Alias of areaCode, kept for existing callers
28936
+ * @deprecated
28910
28937
  */
28911
28938
  prefix?: string;
28912
28939
  /**
28913
- * Number type; defaults to the country's WhatsApp-safe type
28940
+ * Alias of numberType, kept for existing callers
28941
+ * @deprecated
28914
28942
  */
28915
28943
  type?: string;
28916
28944
  };