@getanyapi/sdk 0.119.0 → 0.119.1
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
|
|
|
5780
5780
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5781
5781
|
*
|
|
5782
5782
|
* @example
|
|
5783
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
5783
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
|
|
5784
5784
|
*/
|
|
5785
5785
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5786
5786
|
}
|
|
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23858
23858
|
* Price: $0.0015 per request.
|
|
23859
23859
|
*
|
|
23860
23860
|
* @example
|
|
23861
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
23861
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
23862
23862
|
*/
|
|
23863
23863
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
23864
23864
|
/**
|
|
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23869
23869
|
* Price: $0.0015 per request.
|
|
23870
23870
|
*
|
|
23871
23871
|
* @example
|
|
23872
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
23872
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
|
|
23873
23873
|
*/
|
|
23874
23874
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
23875
23875
|
}
|
|
@@ -60520,7 +60520,7 @@ declare class TiktokNamespace {
|
|
|
60520
60520
|
*
|
|
60521
60521
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
60522
60522
|
*
|
|
60523
|
-
* Price: $0.
|
|
60523
|
+
* Price: $0.00045 per request.
|
|
60524
60524
|
*
|
|
60525
60525
|
* @example
|
|
60526
60526
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
package/dist/index.d.ts
CHANGED
|
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
|
|
|
5780
5780
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5781
5781
|
*
|
|
5782
5782
|
* @example
|
|
5783
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
5783
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
|
|
5784
5784
|
*/
|
|
5785
5785
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5786
5786
|
}
|
|
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23858
23858
|
* Price: $0.0015 per request.
|
|
23859
23859
|
*
|
|
23860
23860
|
* @example
|
|
23861
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
23861
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
23862
23862
|
*/
|
|
23863
23863
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
23864
23864
|
/**
|
|
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23869
23869
|
* Price: $0.0015 per request.
|
|
23870
23870
|
*
|
|
23871
23871
|
* @example
|
|
23872
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
23872
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
|
|
23873
23873
|
*/
|
|
23874
23874
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
23875
23875
|
}
|
|
@@ -60520,7 +60520,7 @@ declare class TiktokNamespace {
|
|
|
60520
60520
|
*
|
|
60521
60521
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
60522
60522
|
*
|
|
60523
|
-
* Price: $0.
|
|
60523
|
+
* Price: $0.00045 per request.
|
|
60524
60524
|
*
|
|
60525
60525
|
* @example
|
|
60526
60526
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
package/dist/index.js
CHANGED
|
@@ -1491,7 +1491,7 @@ var BookingNamespace = class {
|
|
|
1491
1491
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1492
1492
|
*
|
|
1493
1493
|
* @example
|
|
1494
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1494
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
|
|
1495
1495
|
*/
|
|
1496
1496
|
search(input, options) {
|
|
1497
1497
|
return this._core.run("booking.search", input, options);
|
|
@@ -3544,7 +3544,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3544
3544
|
* Price: $0.0015 per request.
|
|
3545
3545
|
*
|
|
3546
3546
|
* @example
|
|
3547
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3547
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3548
3548
|
*/
|
|
3549
3549
|
details(input, options) {
|
|
3550
3550
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3557,7 +3557,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3557
3557
|
* Price: $0.0015 per request.
|
|
3558
3558
|
*
|
|
3559
3559
|
* @example
|
|
3560
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3560
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
|
|
3561
3561
|
*/
|
|
3562
3562
|
search(input, options) {
|
|
3563
3563
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -7359,7 +7359,7 @@ var TiktokNamespace = class {
|
|
|
7359
7359
|
*
|
|
7360
7360
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
7361
7361
|
*
|
|
7362
|
-
* Price: $0.
|
|
7362
|
+
* Price: $0.00045 per request.
|
|
7363
7363
|
*
|
|
7364
7364
|
* @example
|
|
7365
7365
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|