@getanyapi/sdk 0.142.6 → 0.143.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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1808,7 +1808,7 @@ var BookingNamespace = class {
|
|
|
1808
1808
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1809
1809
|
*
|
|
1810
1810
|
* @example
|
|
1811
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-29", checkOut: "2026-12-01", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -3963,7 +3963,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3963
3963
|
* Price: $0.0015 per request.
|
|
3964
3964
|
*
|
|
3965
3965
|
* @example
|
|
3966
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3966
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-29", checkOut: "2026-12-01", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3967
3967
|
*/
|
|
3968
3968
|
details(input, options) {
|
|
3969
3969
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3976,7 +3976,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3976
3976
|
* Price: $0.0015 per request.
|
|
3977
3977
|
*
|
|
3978
3978
|
* @example
|
|
3979
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3979
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-29", checkOut: "2026-12-01", country: "us", query: "hotels near times square new york" });
|
|
3980
3980
|
*/
|
|
3981
3981
|
search(input, options) {
|
|
3982
3982
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5510,7 +5510,7 @@ var MapsNamespace = class {
|
|
|
5510
5510
|
*
|
|
5511
5511
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
5512
5512
|
*
|
|
5513
|
-
* Price: $0.
|
|
5513
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
5514
5514
|
*
|
|
5515
5515
|
* @example
|
|
5516
5516
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|