@zernio/node 0.2.1000 → 0.2.1001

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
@@ -32989,7 +32989,7 @@ type SubmitPhoneNumberKycData = {
32989
32989
  */
32990
32990
  areaCode?: string;
32991
32991
  /**
32992
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
32992
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
32993
32993
  */
32994
32994
  preOrder?: boolean;
32995
32995
  /**
@@ -33044,7 +33044,7 @@ type SubmitPhoneNumberKycData = {
33044
33044
  type SubmitPhoneNumberKycResponse = ({
33045
33045
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
33046
33046
  /**
33047
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33047
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33048
33048
  */
33049
33049
  preOrder?: boolean;
33050
33050
  /**
@@ -33811,7 +33811,7 @@ type SubmitWhatsAppNumberKycData = {
33811
33811
  */
33812
33812
  areaCode?: string;
33813
33813
  /**
33814
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
33814
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
33815
33815
  */
33816
33816
  preOrder?: boolean;
33817
33817
  /**
@@ -33862,7 +33862,7 @@ type SubmitWhatsAppNumberKycData = {
33862
33862
  type SubmitWhatsAppNumberKycResponse = ({
33863
33863
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
33864
33864
  /**
33865
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33865
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33866
33866
  */
33867
33867
  preOrder?: boolean;
33868
33868
  /**
package/dist/index.d.ts CHANGED
@@ -32989,7 +32989,7 @@ type SubmitPhoneNumberKycData = {
32989
32989
  */
32990
32990
  areaCode?: string;
32991
32991
  /**
32992
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
32992
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
32993
32993
  */
32994
32994
  preOrder?: boolean;
32995
32995
  /**
@@ -33044,7 +33044,7 @@ type SubmitPhoneNumberKycData = {
33044
33044
  type SubmitPhoneNumberKycResponse = ({
33045
33045
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
33046
33046
  /**
33047
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33047
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33048
33048
  */
33049
33049
  preOrder?: boolean;
33050
33050
  /**
@@ -33811,7 +33811,7 @@ type SubmitWhatsAppNumberKycData = {
33811
33811
  */
33812
33812
  areaCode?: string;
33813
33813
  /**
33814
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
33814
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
33815
33815
  */
33816
33816
  preOrder?: boolean;
33817
33817
  /**
@@ -33862,7 +33862,7 @@ type SubmitWhatsAppNumberKycData = {
33862
33862
  type SubmitWhatsAppNumberKycResponse = ({
33863
33863
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
33864
33864
  /**
33865
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33865
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33866
33866
  */
33867
33867
  preOrder?: boolean;
33868
33868
  /**
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.1000",
39
+ version: "0.2.1001",
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.1000",
8
+ version: "0.2.1001",
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.1000",
3
+ "version": "0.2.1001",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32881,7 +32881,7 @@ export type SubmitPhoneNumberKycData = {
32881
32881
  */
32882
32882
  areaCode?: string;
32883
32883
  /**
32884
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
32884
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
32885
32885
  */
32886
32886
  preOrder?: boolean;
32887
32887
  /**
@@ -32937,7 +32937,7 @@ export type SubmitPhoneNumberKycData = {
32937
32937
  export type SubmitPhoneNumberKycResponse = ({
32938
32938
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
32939
32939
  /**
32940
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
32940
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
32941
32941
  */
32942
32942
  preOrder?: boolean;
32943
32943
  /**
@@ -33759,7 +33759,7 @@ export type SubmitWhatsAppNumberKycData = {
33759
33759
  */
33760
33760
  areaCode?: string;
33761
33761
  /**
33762
- * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area.
33762
+ * With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Not needed without areaCode: a whole pair with no stock, or an address in a geographic-match country whose area has no stock, is pre-ordered on its own (see preOrder in the response).
33763
33763
  */
33764
33764
  preOrder?: boolean;
33765
33765
  /**
@@ -33811,7 +33811,7 @@ export type SubmitWhatsAppNumberKycData = {
33811
33811
  export type SubmitWhatsAppNumberKycResponse = ({
33812
33812
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
33813
33813
  /**
33814
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33814
+ * True when this submission placed a pre-order instead of an order from stock: the country and type had nothing deliverable, the picked areaCode was sold out (preOrder: true sent), or the country requires the number's area to cover the registered address and that area has no stock (the carrier is then asked for a number in exactly that area). The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks, never guaranteed), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
33815
33815
  */
33816
33816
  preOrder?: boolean;
33817
33817
  /**