@zernio/node 0.2.852 → 0.2.854
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 +33 -8
- package/dist/index.d.ts +33 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +33 -8
package/dist/index.d.mts
CHANGED
|
@@ -25393,9 +25393,14 @@ type GetTweetData = {
|
|
|
25393
25393
|
*/
|
|
25394
25394
|
accountId: string;
|
|
25395
25395
|
/**
|
|
25396
|
-
*
|
|
25396
|
+
* Alias of tweetId, kept for existing callers
|
|
25397
|
+
* @deprecated
|
|
25397
25398
|
*/
|
|
25398
|
-
id
|
|
25399
|
+
id?: string;
|
|
25400
|
+
/**
|
|
25401
|
+
* Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
|
|
25402
|
+
*/
|
|
25403
|
+
tweetId: string;
|
|
25399
25404
|
};
|
|
25400
25405
|
};
|
|
25401
25406
|
type GetTweetResponse = ({
|
|
@@ -25424,9 +25429,9 @@ type GetTweetResponse = ({
|
|
|
25424
25429
|
platform?: string;
|
|
25425
25430
|
};
|
|
25426
25431
|
});
|
|
25427
|
-
type GetTweetError = (
|
|
25432
|
+
type GetTweetError = (unknown | {
|
|
25428
25433
|
error?: string;
|
|
25429
|
-
}
|
|
25434
|
+
});
|
|
25430
25435
|
type ListInboxMentionsData = {
|
|
25431
25436
|
query?: {
|
|
25432
25437
|
/**
|
|
@@ -28674,6 +28679,10 @@ type ListPhoneNumberCountriesError = ({
|
|
|
28674
28679
|
});
|
|
28675
28680
|
type SearchAvailablePhoneNumbersData = {
|
|
28676
28681
|
query?: {
|
|
28682
|
+
/**
|
|
28683
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28684
|
+
*/
|
|
28685
|
+
areaCode?: string;
|
|
28677
28686
|
/**
|
|
28678
28687
|
* Pattern to match within the number
|
|
28679
28688
|
*/
|
|
@@ -28685,7 +28694,12 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28685
28694
|
*/
|
|
28686
28695
|
locality?: string;
|
|
28687
28696
|
/**
|
|
28688
|
-
*
|
|
28697
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
28698
|
+
*/
|
|
28699
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
28700
|
+
/**
|
|
28701
|
+
* Alias of areaCode, kept for existing callers
|
|
28702
|
+
* @deprecated
|
|
28689
28703
|
*/
|
|
28690
28704
|
prefix?: string;
|
|
28691
28705
|
/**
|
|
@@ -28693,7 +28707,8 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28693
28707
|
*/
|
|
28694
28708
|
sms?: boolean;
|
|
28695
28709
|
/**
|
|
28696
|
-
*
|
|
28710
|
+
* Alias of numberType, kept for existing callers
|
|
28711
|
+
* @deprecated
|
|
28697
28712
|
*/
|
|
28698
28713
|
type?: string;
|
|
28699
28714
|
};
|
|
@@ -29001,6 +29016,10 @@ type ListWhatsAppNumberCountriesError = ({
|
|
|
29001
29016
|
});
|
|
29002
29017
|
type SearchAvailableWhatsAppNumbersData = {
|
|
29003
29018
|
query?: {
|
|
29019
|
+
/**
|
|
29020
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
29021
|
+
*/
|
|
29022
|
+
areaCode?: string;
|
|
29004
29023
|
/**
|
|
29005
29024
|
* Pattern to match within the number
|
|
29006
29025
|
*/
|
|
@@ -29012,11 +29031,17 @@ type SearchAvailableWhatsAppNumbersData = {
|
|
|
29012
29031
|
*/
|
|
29013
29032
|
locality?: string;
|
|
29014
29033
|
/**
|
|
29015
|
-
*
|
|
29034
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
29035
|
+
*/
|
|
29036
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
29037
|
+
/**
|
|
29038
|
+
* Alias of areaCode, kept for existing callers
|
|
29039
|
+
* @deprecated
|
|
29016
29040
|
*/
|
|
29017
29041
|
prefix?: string;
|
|
29018
29042
|
/**
|
|
29019
|
-
*
|
|
29043
|
+
* Alias of numberType, kept for existing callers
|
|
29044
|
+
* @deprecated
|
|
29020
29045
|
*/
|
|
29021
29046
|
type?: string;
|
|
29022
29047
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -25393,9 +25393,14 @@ type GetTweetData = {
|
|
|
25393
25393
|
*/
|
|
25394
25394
|
accountId: string;
|
|
25395
25395
|
/**
|
|
25396
|
-
*
|
|
25396
|
+
* Alias of tweetId, kept for existing callers
|
|
25397
|
+
* @deprecated
|
|
25397
25398
|
*/
|
|
25398
|
-
id
|
|
25399
|
+
id?: string;
|
|
25400
|
+
/**
|
|
25401
|
+
* Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
|
|
25402
|
+
*/
|
|
25403
|
+
tweetId: string;
|
|
25399
25404
|
};
|
|
25400
25405
|
};
|
|
25401
25406
|
type GetTweetResponse = ({
|
|
@@ -25424,9 +25429,9 @@ type GetTweetResponse = ({
|
|
|
25424
25429
|
platform?: string;
|
|
25425
25430
|
};
|
|
25426
25431
|
});
|
|
25427
|
-
type GetTweetError = (
|
|
25432
|
+
type GetTweetError = (unknown | {
|
|
25428
25433
|
error?: string;
|
|
25429
|
-
}
|
|
25434
|
+
});
|
|
25430
25435
|
type ListInboxMentionsData = {
|
|
25431
25436
|
query?: {
|
|
25432
25437
|
/**
|
|
@@ -28674,6 +28679,10 @@ type ListPhoneNumberCountriesError = ({
|
|
|
28674
28679
|
});
|
|
28675
28680
|
type SearchAvailablePhoneNumbersData = {
|
|
28676
28681
|
query?: {
|
|
28682
|
+
/**
|
|
28683
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28684
|
+
*/
|
|
28685
|
+
areaCode?: string;
|
|
28677
28686
|
/**
|
|
28678
28687
|
* Pattern to match within the number
|
|
28679
28688
|
*/
|
|
@@ -28685,7 +28694,12 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28685
28694
|
*/
|
|
28686
28695
|
locality?: string;
|
|
28687
28696
|
/**
|
|
28688
|
-
*
|
|
28697
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
28698
|
+
*/
|
|
28699
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
28700
|
+
/**
|
|
28701
|
+
* Alias of areaCode, kept for existing callers
|
|
28702
|
+
* @deprecated
|
|
28689
28703
|
*/
|
|
28690
28704
|
prefix?: string;
|
|
28691
28705
|
/**
|
|
@@ -28693,7 +28707,8 @@ type SearchAvailablePhoneNumbersData = {
|
|
|
28693
28707
|
*/
|
|
28694
28708
|
sms?: boolean;
|
|
28695
28709
|
/**
|
|
28696
|
-
*
|
|
28710
|
+
* Alias of numberType, kept for existing callers
|
|
28711
|
+
* @deprecated
|
|
28697
28712
|
*/
|
|
28698
28713
|
type?: string;
|
|
28699
28714
|
};
|
|
@@ -29001,6 +29016,10 @@ type ListWhatsAppNumberCountriesError = ({
|
|
|
29001
29016
|
});
|
|
29002
29017
|
type SearchAvailableWhatsAppNumbersData = {
|
|
29003
29018
|
query?: {
|
|
29019
|
+
/**
|
|
29020
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
29021
|
+
*/
|
|
29022
|
+
areaCode?: string;
|
|
29004
29023
|
/**
|
|
29005
29024
|
* Pattern to match within the number
|
|
29006
29025
|
*/
|
|
@@ -29012,11 +29031,17 @@ type SearchAvailableWhatsAppNumbersData = {
|
|
|
29012
29031
|
*/
|
|
29013
29032
|
locality?: string;
|
|
29014
29033
|
/**
|
|
29015
|
-
*
|
|
29034
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
29035
|
+
*/
|
|
29036
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
29037
|
+
/**
|
|
29038
|
+
* Alias of areaCode, kept for existing callers
|
|
29039
|
+
* @deprecated
|
|
29016
29040
|
*/
|
|
29017
29041
|
prefix?: string;
|
|
29018
29042
|
/**
|
|
29019
|
-
*
|
|
29043
|
+
* Alias of numberType, kept for existing callers
|
|
29044
|
+
* @deprecated
|
|
29020
29045
|
*/
|
|
29021
29046
|
type?: string;
|
|
29022
29047
|
};
|
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.854",
|
|
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.854",
|
|
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
|
@@ -24985,9 +24985,14 @@ export type GetTweetData = {
|
|
|
24985
24985
|
*/
|
|
24986
24986
|
accountId: string;
|
|
24987
24987
|
/**
|
|
24988
|
-
*
|
|
24988
|
+
* Alias of tweetId, kept for existing callers
|
|
24989
|
+
* @deprecated
|
|
24989
24990
|
*/
|
|
24990
|
-
id
|
|
24991
|
+
id?: string;
|
|
24992
|
+
/**
|
|
24993
|
+
* Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...). The same name the other /v1/twitter operations use (retweet, bookmark).
|
|
24994
|
+
*/
|
|
24995
|
+
tweetId: string;
|
|
24991
24996
|
};
|
|
24992
24997
|
};
|
|
24993
24998
|
|
|
@@ -25018,9 +25023,9 @@ export type GetTweetResponse = ({
|
|
|
25018
25023
|
};
|
|
25019
25024
|
});
|
|
25020
25025
|
|
|
25021
|
-
export type GetTweetError = (
|
|
25026
|
+
export type GetTweetError = (unknown | {
|
|
25022
25027
|
error?: string;
|
|
25023
|
-
}
|
|
25028
|
+
});
|
|
25024
25029
|
|
|
25025
25030
|
export type ListInboxMentionsData = {
|
|
25026
25031
|
query?: {
|
|
@@ -28562,6 +28567,10 @@ export type ListPhoneNumberCountriesError = ({
|
|
|
28562
28567
|
|
|
28563
28568
|
export type SearchAvailablePhoneNumbersData = {
|
|
28564
28569
|
query?: {
|
|
28570
|
+
/**
|
|
28571
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28572
|
+
*/
|
|
28573
|
+
areaCode?: string;
|
|
28565
28574
|
/**
|
|
28566
28575
|
* Pattern to match within the number
|
|
28567
28576
|
*/
|
|
@@ -28573,7 +28582,12 @@ export type SearchAvailablePhoneNumbersData = {
|
|
|
28573
28582
|
*/
|
|
28574
28583
|
locality?: string;
|
|
28575
28584
|
/**
|
|
28576
|
-
*
|
|
28585
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
28586
|
+
*/
|
|
28587
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
28588
|
+
/**
|
|
28589
|
+
* Alias of areaCode, kept for existing callers
|
|
28590
|
+
* @deprecated
|
|
28577
28591
|
*/
|
|
28578
28592
|
prefix?: string;
|
|
28579
28593
|
/**
|
|
@@ -28581,7 +28595,8 @@ export type SearchAvailablePhoneNumbersData = {
|
|
|
28581
28595
|
*/
|
|
28582
28596
|
sms?: boolean;
|
|
28583
28597
|
/**
|
|
28584
|
-
*
|
|
28598
|
+
* Alias of numberType, kept for existing callers
|
|
28599
|
+
* @deprecated
|
|
28585
28600
|
*/
|
|
28586
28601
|
type?: string;
|
|
28587
28602
|
};
|
|
@@ -28903,6 +28918,10 @@ export type ListWhatsAppNumberCountriesError = ({
|
|
|
28903
28918
|
|
|
28904
28919
|
export type SearchAvailableWhatsAppNumbersData = {
|
|
28905
28920
|
query?: {
|
|
28921
|
+
/**
|
|
28922
|
+
* Area code or national dialing code the number must start with, e.g. 415 or 91
|
|
28923
|
+
*/
|
|
28924
|
+
areaCode?: string;
|
|
28906
28925
|
/**
|
|
28907
28926
|
* Pattern to match within the number
|
|
28908
28927
|
*/
|
|
@@ -28914,11 +28933,17 @@ export type SearchAvailableWhatsAppNumbersData = {
|
|
|
28914
28933
|
*/
|
|
28915
28934
|
locality?: string;
|
|
28916
28935
|
/**
|
|
28917
|
-
*
|
|
28936
|
+
* Number type; defaults to the country's WhatsApp-safe type (the same name as on purchase, availability and kyc)
|
|
28937
|
+
*/
|
|
28938
|
+
numberType?: 'local' | 'mobile' | 'national' | 'toll_free';
|
|
28939
|
+
/**
|
|
28940
|
+
* Alias of areaCode, kept for existing callers
|
|
28941
|
+
* @deprecated
|
|
28918
28942
|
*/
|
|
28919
28943
|
prefix?: string;
|
|
28920
28944
|
/**
|
|
28921
|
-
*
|
|
28945
|
+
* Alias of numberType, kept for existing callers
|
|
28946
|
+
* @deprecated
|
|
28922
28947
|
*/
|
|
28923
28948
|
type?: string;
|
|
28924
28949
|
};
|