@zernio/node 0.2.852 → 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 +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +24 -4
package/dist/index.d.mts
CHANGED
|
@@ -28674,6 +28674,10 @@ type ListPhoneNumberCountriesError = ({
|
|
|
28674
28674
|
});
|
|
28675
28675
|
type SearchAvailablePhoneNumbersData = {
|
|
28676
28676
|
query?: {
|
|
28677
|
+
/**
|
|
28678
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28679
|
+
*/
|
|
28680
|
+
areaCode?: string;
|
|
28677
28681
|
/**
|
|
28678
28682
|
* Pattern to match within the number
|
|
28679
28683
|
*/
|
|
@@ -28685,7 +28689,12 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28685
28689
|
*/
|
|
28686
28690
|
locality?: string;
|
|
28687
28691
|
/**
|
|
28688
|
-
*
|
|
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
|
|
28689
28698
|
*/
|
|
28690
28699
|
prefix?: string;
|
|
28691
28700
|
/**
|
|
@@ -28693,7 +28702,8 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28693
28702
|
*/
|
|
28694
28703
|
sms?: boolean;
|
|
28695
28704
|
/**
|
|
28696
|
-
*
|
|
28705
|
+
* Alias of numberType, kept for existing callers
|
|
28706
|
+
* @deprecated
|
|
28697
28707
|
*/
|
|
28698
28708
|
type?: string;
|
|
28699
28709
|
};
|
|
@@ -29001,6 +29011,10 @@ type ListWhatsAppNumberCountriesError = ({
|
|
|
29001
29011
|
});
|
|
29002
29012
|
type SearchAvailableWhatsAppNumbersData = {
|
|
29003
29013
|
query?: {
|
|
29014
|
+
/**
|
|
29015
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
29016
|
+
*/
|
|
29017
|
+
areaCode?: string;
|
|
29004
29018
|
/**
|
|
29005
29019
|
* Pattern to match within the number
|
|
29006
29020
|
*/
|
|
@@ -29012,11 +29026,17 @@ type SearchAvailableWhatsAppNumbersData = {
|
|
|
29012
29026
|
*/
|
|
29013
29027
|
locality?: string;
|
|
29014
29028
|
/**
|
|
29015
|
-
*
|
|
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
|
|
29016
29035
|
*/
|
|
29017
29036
|
prefix?: string;
|
|
29018
29037
|
/**
|
|
29019
|
-
*
|
|
29038
|
+
* Alias of numberType, kept for existing callers
|
|
29039
|
+
* @deprecated
|
|
29020
29040
|
*/
|
|
29021
29041
|
type?: string;
|
|
29022
29042
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -28674,6 +28674,10 @@ type ListPhoneNumberCountriesError = ({
|
|
|
28674
28674
|
});
|
|
28675
28675
|
type SearchAvailablePhoneNumbersData = {
|
|
28676
28676
|
query?: {
|
|
28677
|
+
/**
|
|
28678
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28679
|
+
*/
|
|
28680
|
+
areaCode?: string;
|
|
28677
28681
|
/**
|
|
28678
28682
|
* Pattern to match within the number
|
|
28679
28683
|
*/
|
|
@@ -28685,7 +28689,12 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28685
28689
|
*/
|
|
28686
28690
|
locality?: string;
|
|
28687
28691
|
/**
|
|
28688
|
-
*
|
|
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
|
|
28689
28698
|
*/
|
|
28690
28699
|
prefix?: string;
|
|
28691
28700
|
/**
|
|
@@ -28693,7 +28702,8 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28693
28702
|
*/
|
|
28694
28703
|
sms?: boolean;
|
|
28695
28704
|
/**
|
|
28696
|
-
*
|
|
28705
|
+
* Alias of numberType, kept for existing callers
|
|
28706
|
+
* @deprecated
|
|
28697
28707
|
*/
|
|
28698
28708
|
type?: string;
|
|
28699
28709
|
};
|
|
@@ -29001,6 +29011,10 @@ type ListWhatsAppNumberCountriesError = ({
|
|
|
29001
29011
|
});
|
|
29002
29012
|
type SearchAvailableWhatsAppNumbersData = {
|
|
29003
29013
|
query?: {
|
|
29014
|
+
/**
|
|
29015
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
29016
|
+
*/
|
|
29017
|
+
areaCode?: string;
|
|
29004
29018
|
/**
|
|
29005
29019
|
* Pattern to match within the number
|
|
29006
29020
|
*/
|
|
@@ -29012,11 +29026,17 @@ type SearchAvailableWhatsAppNumbersData = {
|
|
|
29012
29026
|
*/
|
|
29013
29027
|
locality?: string;
|
|
29014
29028
|
/**
|
|
29015
|
-
*
|
|
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
|
|
29016
29035
|
*/
|
|
29017
29036
|
prefix?: string;
|
|
29018
29037
|
/**
|
|
29019
|
-
*
|
|
29038
|
+
* Alias of numberType, kept for existing callers
|
|
29039
|
+
* @deprecated
|
|
29020
29040
|
*/
|
|
29021
29041
|
type?: string;
|
|
29022
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.
|
|
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.
|
|
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
|
@@ -28562,6 +28562,10 @@ export type ListPhoneNumberCountriesError = ({
|
|
|
28562
28562
|
|
|
28563
28563
|
export type SearchAvailablePhoneNumbersData = {
|
|
28564
28564
|
query?: {
|
|
28565
|
+
/**
|
|
28566
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28567
|
+
*/
|
|
28568
|
+
areaCode?: string;
|
|
28565
28569
|
/**
|
|
28566
28570
|
* Pattern to match within the number
|
|
28567
28571
|
*/
|
|
@@ -28573,7 +28577,12 @@ export type SearchAvailablePhoneNumbersData = {
|
|
|
28573
28577
|
*/
|
|
28574
28578
|
locality?: string;
|
|
28575
28579
|
/**
|
|
28576
|
-
*
|
|
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
|
|
28577
28586
|
*/
|
|
28578
28587
|
prefix?: string;
|
|
28579
28588
|
/**
|
|
@@ -28581,7 +28590,8 @@ export type SearchAvailablePhoneNumbersData = {
|
|
|
28581
28590
|
*/
|
|
28582
28591
|
sms?: boolean;
|
|
28583
28592
|
/**
|
|
28584
|
-
*
|
|
28593
|
+
* Alias of numberType, kept for existing callers
|
|
28594
|
+
* @deprecated
|
|
28585
28595
|
*/
|
|
28586
28596
|
type?: string;
|
|
28587
28597
|
};
|
|
@@ -28903,6 +28913,10 @@ export type ListWhatsAppNumberCountriesError = ({
|
|
|
28903
28913
|
|
|
28904
28914
|
export type SearchAvailableWhatsAppNumbersData = {
|
|
28905
28915
|
query?: {
|
|
28916
|
+
/**
|
|
28917
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28918
|
+
*/
|
|
28919
|
+
areaCode?: string;
|
|
28906
28920
|
/**
|
|
28907
28921
|
* Pattern to match within the number
|
|
28908
28922
|
*/
|
|
@@ -28914,11 +28928,17 @@ export type SearchAvailableWhatsAppNumbersData = {
|
|
|
28914
28928
|
*/
|
|
28915
28929
|
locality?: string;
|
|
28916
28930
|
/**
|
|
28917
|
-
*
|
|
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
|
|
28918
28937
|
*/
|
|
28919
28938
|
prefix?: string;
|
|
28920
28939
|
/**
|
|
28921
|
-
*
|
|
28940
|
+
* Alias of numberType, kept for existing callers
|
|
28941
|
+
* @deprecated
|
|
28922
28942
|
*/
|
|
28923
28943
|
type?: string;
|
|
28924
28944
|
};
|