@getanyapi/sdk 0.146.0 → 0.146.2
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
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-03", checkOut: "2026-12-05", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -26518,7 +26518,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26518
26518
|
* Price: $0.0015 per request.
|
|
26519
26519
|
*
|
|
26520
26520
|
* @example
|
|
26521
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26521
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26522
26522
|
*/
|
|
26523
26523
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26524
26524
|
/**
|
|
@@ -26529,7 +26529,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26529
26529
|
* Price: $0.0015 per request.
|
|
26530
26530
|
*
|
|
26531
26531
|
* @example
|
|
26532
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26532
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", query: "hotels near times square new york" });
|
|
26533
26533
|
*/
|
|
26534
26534
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26535
26535
|
}
|
|
@@ -67430,7 +67430,7 @@ declare class TiktokNamespace {
|
|
|
67430
67430
|
*
|
|
67431
67431
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
67432
67432
|
*
|
|
67433
|
-
* Price: $0.
|
|
67433
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67434
67434
|
*
|
|
67435
67435
|
* @example
|
|
67436
67436
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.d.ts
CHANGED
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-03", checkOut: "2026-12-05", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -26518,7 +26518,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26518
26518
|
* Price: $0.0015 per request.
|
|
26519
26519
|
*
|
|
26520
26520
|
* @example
|
|
26521
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26521
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26522
26522
|
*/
|
|
26523
26523
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26524
26524
|
/**
|
|
@@ -26529,7 +26529,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26529
26529
|
* Price: $0.0015 per request.
|
|
26530
26530
|
*
|
|
26531
26531
|
* @example
|
|
26532
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26532
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", query: "hotels near times square new york" });
|
|
26533
26533
|
*/
|
|
26534
26534
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26535
26535
|
}
|
|
@@ -67430,7 +67430,7 @@ declare class TiktokNamespace {
|
|
|
67430
67430
|
*
|
|
67431
67431
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
67432
67432
|
*
|
|
67433
|
-
* Price: $0.
|
|
67433
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67434
67434
|
*
|
|
67435
67435
|
* @example
|
|
67436
67436
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.js
CHANGED
|
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
|
|
|
1671
1671
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1672
1672
|
*
|
|
1673
1673
|
* @example
|
|
1674
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-03", checkOut: "2026-12-05", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3826,7 +3826,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.0015 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
details(input, options) {
|
|
3832
3832
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3839
3839
|
* Price: $0.0015 per request.
|
|
3840
3840
|
*
|
|
3841
3841
|
* @example
|
|
3842
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-03", checkOut: "2026-12-05", country: "us", query: "hotels near times square new york" });
|
|
3843
3843
|
*/
|
|
3844
3844
|
search(input, options) {
|
|
3845
3845
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -7681,7 +7681,7 @@ var TiktokNamespace = class {
|
|
|
7681
7681
|
*
|
|
7682
7682
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
7683
7683
|
*
|
|
7684
|
-
* Price: $0.
|
|
7684
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7685
7685
|
*
|
|
7686
7686
|
* @example
|
|
7687
7687
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|