@getanyapi/sdk 0.11.0 → 0.12.0
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.cjs +3 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -91
- package/dist/index.d.ts +26 -91
- package/dist/index.js +3 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -85,7 +85,6 @@ __export(index_exports, {
|
|
|
85
85
|
WalmartNamespace: () => WalmartNamespace,
|
|
86
86
|
WebNamespace: () => WebNamespace,
|
|
87
87
|
WeiboNamespace: () => WeiboNamespace,
|
|
88
|
-
WhatsappNamespace: () => WhatsappNamespace,
|
|
89
88
|
YahooFinanceNamespace: () => YahooFinanceNamespace,
|
|
90
89
|
YelpNamespace: () => YelpNamespace,
|
|
91
90
|
YoutubeNamespace: () => YoutubeNamespace,
|
|
@@ -2877,12 +2876,12 @@ var InstagramNamespace = class {
|
|
|
2877
2876
|
/**
|
|
2878
2877
|
* Instagram Stories (full)
|
|
2879
2878
|
*
|
|
2880
|
-
* Fetch public Instagram
|
|
2879
|
+
* Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.
|
|
2881
2880
|
*
|
|
2882
|
-
* Price: $0.
|
|
2881
|
+
* Price: $0.002 per request.
|
|
2883
2882
|
*
|
|
2884
2883
|
* @example
|
|
2885
|
-
* const res = await client.instagram.storiesFull({
|
|
2884
|
+
* const res = await client.instagram.storiesFull({ username: "natgeo" });
|
|
2886
2885
|
*/
|
|
2887
2886
|
storiesFull(input, options) {
|
|
2888
2887
|
return this._core.run("instagram.stories_full", input, options);
|
|
@@ -5444,27 +5443,6 @@ var WeiboNamespace = class {
|
|
|
5444
5443
|
}
|
|
5445
5444
|
};
|
|
5446
5445
|
|
|
5447
|
-
// src/generated/platforms/whatsapp.ts
|
|
5448
|
-
var WhatsappNamespace = class {
|
|
5449
|
-
constructor(_core) {
|
|
5450
|
-
this._core = _core;
|
|
5451
|
-
}
|
|
5452
|
-
_core;
|
|
5453
|
-
/**
|
|
5454
|
-
* WhatsApp Number Validator
|
|
5455
|
-
*
|
|
5456
|
-
* Check whether a phone number is registered on WhatsApp.
|
|
5457
|
-
*
|
|
5458
|
-
* Price: $0.0035 per request plus $0.001 per result (maximum $0.0045).
|
|
5459
|
-
*
|
|
5460
|
-
* @example
|
|
5461
|
-
* const res = await client.whatsapp.validate({ phone: "+14155552671" });
|
|
5462
|
-
*/
|
|
5463
|
-
validate(input, options) {
|
|
5464
|
-
return this._core.run("whatsapp.validate", input, options);
|
|
5465
|
-
}
|
|
5466
|
-
};
|
|
5467
|
-
|
|
5468
5446
|
// src/generated/platforms/yahoo_finance.ts
|
|
5469
5447
|
var YahooFinanceNamespace = class {
|
|
5470
5448
|
constructor(_core) {
|
|
@@ -6380,14 +6358,6 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
6380
6358
|
this._core
|
|
6381
6359
|
);
|
|
6382
6360
|
}
|
|
6383
|
-
/**
|
|
6384
|
-
* Typed methods for the whatsapp platform.
|
|
6385
|
-
*/
|
|
6386
|
-
get whatsapp() {
|
|
6387
|
-
return this._namespaces["whatsapp"] ??= new WhatsappNamespace(
|
|
6388
|
-
this._core
|
|
6389
|
-
);
|
|
6390
|
-
}
|
|
6391
6361
|
/**
|
|
6392
6362
|
* Typed methods for the yahoo_finance platform.
|
|
6393
6363
|
*/
|
|
@@ -6496,7 +6466,6 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
6496
6466
|
WalmartNamespace,
|
|
6497
6467
|
WebNamespace,
|
|
6498
6468
|
WeiboNamespace,
|
|
6499
|
-
WhatsappNamespace,
|
|
6500
6469
|
YahooFinanceNamespace,
|
|
6501
6470
|
YelpNamespace,
|
|
6502
6471
|
YoutubeNamespace,
|