@zernio/node 0.2.1010 → 0.2.1012

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
@@ -22162,7 +22162,7 @@ type SelectLinkedInOrganizationResponse = ({
22162
22162
  });
22163
22163
  type SelectLinkedInOrganizationError = (unknown | {
22164
22164
  error?: string;
22165
- });
22165
+ } | ErrorResponse);
22166
22166
  type ListPinterestBoardsForSelectionData = {
22167
22167
  headers: {
22168
22168
  /**
@@ -32626,7 +32626,7 @@ type SearchAvailablePhoneNumbersData = {
32626
32626
  country?: string;
32627
32627
  limit?: number;
32628
32628
  /**
32629
- * City
32629
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32630
32630
  */
32631
32631
  locality?: string;
32632
32632
  /**
@@ -32797,6 +32797,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32797
32797
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
32798
32798
  */
32799
32799
  count?: number;
32800
+ /**
32801
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32802
+ */
32803
+ ndcs?: Array<(string)>;
32804
+ /**
32805
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32806
+ */
32807
+ aliases?: Array<(string)>;
32800
32808
  }>;
32801
32809
  /**
32802
32810
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -32804,6 +32812,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32804
32812
  preOrder?: Array<{
32805
32813
  ndc?: string;
32806
32814
  name?: string;
32815
+ /**
32816
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32817
+ */
32818
+ ndcs?: Array<(string)>;
32819
+ /**
32820
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32821
+ */
32822
+ aliases?: Array<(string)>;
32807
32823
  }>;
32808
32824
  /**
32809
32825
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -32812,6 +32828,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32812
32828
  ndc?: string;
32813
32829
  name?: string;
32814
32830
  listed?: number;
32831
+ /**
32832
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32833
+ */
32834
+ ndcs?: Array<(string)>;
32835
+ /**
32836
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32837
+ */
32838
+ aliases?: Array<(string)>;
32815
32839
  }>;
32816
32840
  };
32817
32841
  });
@@ -32985,7 +33009,7 @@ type SearchAvailableWhatsAppNumbersData = {
32985
33009
  country?: string;
32986
33010
  limit?: number;
32987
33011
  /**
32988
- * City
33012
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32989
33013
  */
32990
33014
  locality?: string;
32991
33015
  /**
@@ -33099,6 +33123,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33099
33123
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
33100
33124
  */
33101
33125
  count?: number;
33126
+ /**
33127
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33128
+ */
33129
+ ndcs?: Array<(string)>;
33130
+ /**
33131
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33132
+ */
33133
+ aliases?: Array<(string)>;
33102
33134
  }>;
33103
33135
  /**
33104
33136
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -33106,6 +33138,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33106
33138
  preOrder?: Array<{
33107
33139
  ndc?: string;
33108
33140
  name?: string;
33141
+ /**
33142
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33143
+ */
33144
+ ndcs?: Array<(string)>;
33145
+ /**
33146
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33147
+ */
33148
+ aliases?: Array<(string)>;
33109
33149
  }>;
33110
33150
  /**
33111
33151
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -33114,6 +33154,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33114
33154
  ndc?: string;
33115
33155
  name?: string;
33116
33156
  listed?: number;
33157
+ /**
33158
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33159
+ */
33160
+ ndcs?: Array<(string)>;
33161
+ /**
33162
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33163
+ */
33164
+ aliases?: Array<(string)>;
33117
33165
  }>;
33118
33166
  };
33119
33167
  });
package/dist/index.d.ts CHANGED
@@ -22162,7 +22162,7 @@ type SelectLinkedInOrganizationResponse = ({
22162
22162
  });
22163
22163
  type SelectLinkedInOrganizationError = (unknown | {
22164
22164
  error?: string;
22165
- });
22165
+ } | ErrorResponse);
22166
22166
  type ListPinterestBoardsForSelectionData = {
22167
22167
  headers: {
22168
22168
  /**
@@ -32626,7 +32626,7 @@ type SearchAvailablePhoneNumbersData = {
32626
32626
  country?: string;
32627
32627
  limit?: number;
32628
32628
  /**
32629
- * City
32629
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32630
32630
  */
32631
32631
  locality?: string;
32632
32632
  /**
@@ -32797,6 +32797,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32797
32797
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
32798
32798
  */
32799
32799
  count?: number;
32800
+ /**
32801
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32802
+ */
32803
+ ndcs?: Array<(string)>;
32804
+ /**
32805
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32806
+ */
32807
+ aliases?: Array<(string)>;
32800
32808
  }>;
32801
32809
  /**
32802
32810
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -32804,6 +32812,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32804
32812
  preOrder?: Array<{
32805
32813
  ndc?: string;
32806
32814
  name?: string;
32815
+ /**
32816
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32817
+ */
32818
+ ndcs?: Array<(string)>;
32819
+ /**
32820
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32821
+ */
32822
+ aliases?: Array<(string)>;
32807
32823
  }>;
32808
32824
  /**
32809
32825
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -32812,6 +32828,14 @@ type CheckPhoneNumberAvailabilityResponse = ({
32812
32828
  ndc?: string;
32813
32829
  name?: string;
32814
32830
  listed?: number;
32831
+ /**
32832
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32833
+ */
32834
+ ndcs?: Array<(string)>;
32835
+ /**
32836
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32837
+ */
32838
+ aliases?: Array<(string)>;
32815
32839
  }>;
32816
32840
  };
32817
32841
  });
@@ -32985,7 +33009,7 @@ type SearchAvailableWhatsAppNumbersData = {
32985
33009
  country?: string;
32986
33010
  limit?: number;
32987
33011
  /**
32988
- * City
33012
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32989
33013
  */
32990
33014
  locality?: string;
32991
33015
  /**
@@ -33099,6 +33123,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33099
33123
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
33100
33124
  */
33101
33125
  count?: number;
33126
+ /**
33127
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33128
+ */
33129
+ ndcs?: Array<(string)>;
33130
+ /**
33131
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33132
+ */
33133
+ aliases?: Array<(string)>;
33102
33134
  }>;
33103
33135
  /**
33104
33136
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -33106,6 +33138,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33106
33138
  preOrder?: Array<{
33107
33139
  ndc?: string;
33108
33140
  name?: string;
33141
+ /**
33142
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33143
+ */
33144
+ ndcs?: Array<(string)>;
33145
+ /**
33146
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33147
+ */
33148
+ aliases?: Array<(string)>;
33109
33149
  }>;
33110
33150
  /**
33111
33151
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -33114,6 +33154,14 @@ type CheckWhatsAppNumberAvailabilityResponse = ({
33114
33154
  ndc?: string;
33115
33155
  name?: string;
33116
33156
  listed?: number;
33157
+ /**
33158
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33159
+ */
33160
+ ndcs?: Array<(string)>;
33161
+ /**
33162
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33163
+ */
33164
+ aliases?: Array<(string)>;
33117
33165
  }>;
33118
33166
  };
33119
33167
  });
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.1010",
39
+ version: "0.2.1012",
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.1010",
8
+ version: "0.2.1012",
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.1010",
3
+ "version": "0.2.1012",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21200,7 +21200,7 @@ export type SelectLinkedInOrganizationResponse = ({
21200
21200
 
21201
21201
  export type SelectLinkedInOrganizationError = (unknown | {
21202
21202
  error?: string;
21203
- });
21203
+ } | ErrorResponse);
21204
21204
 
21205
21205
  export type ListPinterestBoardsForSelectionData = {
21206
21206
  headers: {
@@ -32495,7 +32495,7 @@ export type SearchAvailablePhoneNumbersData = {
32495
32495
  country?: string;
32496
32496
  limit?: number;
32497
32497
  /**
32498
- * City
32498
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32499
32499
  */
32500
32500
  locality?: string;
32501
32501
  /**
@@ -32670,6 +32670,14 @@ export type CheckPhoneNumberAvailabilityResponse = ({
32670
32670
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
32671
32671
  */
32672
32672
  count?: number;
32673
+ /**
32674
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32675
+ */
32676
+ ndcs?: Array<(string)>;
32677
+ /**
32678
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32679
+ */
32680
+ aliases?: Array<(string)>;
32673
32681
  }>;
32674
32682
  /**
32675
32683
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -32677,6 +32685,14 @@ export type CheckPhoneNumberAvailabilityResponse = ({
32677
32685
  preOrder?: Array<{
32678
32686
  ndc?: string;
32679
32687
  name?: string;
32688
+ /**
32689
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32690
+ */
32691
+ ndcs?: Array<(string)>;
32692
+ /**
32693
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32694
+ */
32695
+ aliases?: Array<(string)>;
32680
32696
  }>;
32681
32697
  /**
32682
32698
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -32685,6 +32701,14 @@ export type CheckPhoneNumberAvailabilityResponse = ({
32685
32701
  ndc?: string;
32686
32702
  name?: string;
32687
32703
  listed?: number;
32704
+ /**
32705
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
32706
+ */
32707
+ ndcs?: Array<(string)>;
32708
+ /**
32709
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
32710
+ */
32711
+ aliases?: Array<(string)>;
32688
32712
  }>;
32689
32713
  };
32690
32714
  });
@@ -32868,7 +32892,7 @@ export type SearchAvailableWhatsAppNumbersData = {
32868
32892
  country?: string;
32869
32893
  limit?: number;
32870
32894
  /**
32871
- * City
32895
+ * A city name, matched against the numbering plan (accents and common aliases allowed) and searched by that city's area codes; a name no city of the plan matches returns no numbers. `areaCode` takes a city name too.
32872
32896
  */
32873
32897
  locality?: string;
32874
32898
  /**
@@ -32986,6 +33010,14 @@ export type CheckWhatsAppNumberAvailabilityResponse = ({
32986
33010
  * Numbers we can sell there: the carrier count minus the numbers we hold back (WhatsApp refused them or another order holds them).
32987
33011
  */
32988
33012
  count?: number;
33013
+ /**
33014
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33015
+ */
33016
+ ndcs?: Array<(string)>;
33017
+ /**
33018
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33019
+ */
33020
+ aliases?: Array<(string)>;
32989
33021
  }>;
32990
33022
  /**
32991
33023
  * The carrier lists nothing there and the number type is a document tier: submit KYC with `areaCode` and `preOrder: true`, the carrier sources one (usually 2 to 4 weeks, never guaranteed), nothing is billed until it is active.
@@ -32993,6 +33025,14 @@ export type CheckWhatsAppNumberAvailabilityResponse = ({
32993
33025
  preOrder?: Array<{
32994
33026
  ndc?: string;
32995
33027
  name?: string;
33028
+ /**
33029
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33030
+ */
33031
+ ndcs?: Array<(string)>;
33032
+ /**
33033
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33034
+ */
33035
+ aliases?: Array<(string)>;
32996
33036
  }>;
32997
33037
  /**
32998
33038
  * Nothing deliverable and no pre-order: `listed` > 0 is stock the carrier shows that WhatsApp refused recently (held back until it clears), 0 is a dry area of an instant tier. A stock watch (POST /v1/phone-numbers/stock-watches with `areaCode`) is the way to hear when it is back.
@@ -33001,6 +33041,14 @@ export type CheckWhatsAppNumberAvailabilityResponse = ({
33001
33041
  ndc?: string;
33002
33042
  name?: string;
33003
33043
  listed?: number;
33044
+ /**
33045
+ * Every area code of the city, deepest first (Madrid: 915, 911, 910, ...). `ndc` is the one an order is placed against.
33046
+ */
33047
+ ndcs?: Array<(string)>;
33048
+ /**
33049
+ * Other names the area answers to, present only when it has some (Milano for Milan, Sevilla for Seville).
33050
+ */
33051
+ aliases?: Array<(string)>;
33004
33052
  }>;
33005
33053
  };
33006
33054
  });