@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.js
CHANGED
|
@@ -2778,12 +2778,12 @@ var InstagramNamespace = class {
|
|
|
2778
2778
|
/**
|
|
2779
2779
|
* Instagram Stories (full)
|
|
2780
2780
|
*
|
|
2781
|
-
* Fetch public Instagram
|
|
2781
|
+
* Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.
|
|
2782
2782
|
*
|
|
2783
|
-
* Price: $0.
|
|
2783
|
+
* Price: $0.002 per request.
|
|
2784
2784
|
*
|
|
2785
2785
|
* @example
|
|
2786
|
-
* const res = await client.instagram.storiesFull({
|
|
2786
|
+
* const res = await client.instagram.storiesFull({ username: "natgeo" });
|
|
2787
2787
|
*/
|
|
2788
2788
|
storiesFull(input, options) {
|
|
2789
2789
|
return this._core.run("instagram.stories_full", input, options);
|
|
@@ -5345,27 +5345,6 @@ var WeiboNamespace = class {
|
|
|
5345
5345
|
}
|
|
5346
5346
|
};
|
|
5347
5347
|
|
|
5348
|
-
// src/generated/platforms/whatsapp.ts
|
|
5349
|
-
var WhatsappNamespace = class {
|
|
5350
|
-
constructor(_core) {
|
|
5351
|
-
this._core = _core;
|
|
5352
|
-
}
|
|
5353
|
-
_core;
|
|
5354
|
-
/**
|
|
5355
|
-
* WhatsApp Number Validator
|
|
5356
|
-
*
|
|
5357
|
-
* Check whether a phone number is registered on WhatsApp.
|
|
5358
|
-
*
|
|
5359
|
-
* Price: $0.0035 per request plus $0.001 per result (maximum $0.0045).
|
|
5360
|
-
*
|
|
5361
|
-
* @example
|
|
5362
|
-
* const res = await client.whatsapp.validate({ phone: "+14155552671" });
|
|
5363
|
-
*/
|
|
5364
|
-
validate(input, options) {
|
|
5365
|
-
return this._core.run("whatsapp.validate", input, options);
|
|
5366
|
-
}
|
|
5367
|
-
};
|
|
5368
|
-
|
|
5369
5348
|
// src/generated/platforms/yahoo_finance.ts
|
|
5370
5349
|
var YahooFinanceNamespace = class {
|
|
5371
5350
|
constructor(_core) {
|
|
@@ -6281,14 +6260,6 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
6281
6260
|
this._core
|
|
6282
6261
|
);
|
|
6283
6262
|
}
|
|
6284
|
-
/**
|
|
6285
|
-
* Typed methods for the whatsapp platform.
|
|
6286
|
-
*/
|
|
6287
|
-
get whatsapp() {
|
|
6288
|
-
return this._namespaces["whatsapp"] ??= new WhatsappNamespace(
|
|
6289
|
-
this._core
|
|
6290
|
-
);
|
|
6291
|
-
}
|
|
6292
6263
|
/**
|
|
6293
6264
|
* Typed methods for the yahoo_finance platform.
|
|
6294
6265
|
*/
|
|
@@ -6396,7 +6367,6 @@ export {
|
|
|
6396
6367
|
WalmartNamespace,
|
|
6397
6368
|
WebNamespace,
|
|
6398
6369
|
WeiboNamespace,
|
|
6399
|
-
WhatsappNamespace,
|
|
6400
6370
|
YahooFinanceNamespace,
|
|
6401
6371
|
YelpNamespace,
|
|
6402
6372
|
YoutubeNamespace,
|