@getanyapi/sdk 0.90.4 → 0.90.6
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
|
@@ -5010,7 +5010,7 @@ declare class BookingNamespace {
|
|
|
5010
5010
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5011
5011
|
*
|
|
5012
5012
|
* @example
|
|
5013
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
5013
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-01", checkOut: "2026-11-03", limit: 3 });
|
|
5014
5014
|
*/
|
|
5015
5015
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5016
5016
|
}
|
|
@@ -20474,7 +20474,7 @@ declare class GoogleNamespace {
|
|
|
20474
20474
|
*
|
|
20475
20475
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
20476
20476
|
*
|
|
20477
|
-
* Price: $0.
|
|
20477
|
+
* Price: $0.0018 per request.
|
|
20478
20478
|
*
|
|
20479
20479
|
* @example
|
|
20480
20480
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -21485,7 +21485,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21485
21485
|
* Price: $0.0015 per request.
|
|
21486
21486
|
*
|
|
21487
21487
|
* @example
|
|
21488
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
21488
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
21489
21489
|
*/
|
|
21490
21490
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
21491
21491
|
/**
|
|
@@ -21496,7 +21496,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21496
21496
|
* Price: $0.0015 per request.
|
|
21497
21497
|
*
|
|
21498
21498
|
* @example
|
|
21499
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
21499
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", query: "hotels near times square new york" });
|
|
21500
21500
|
*/
|
|
21501
21501
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
21502
21502
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5010,7 +5010,7 @@ declare class BookingNamespace {
|
|
|
5010
5010
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5011
5011
|
*
|
|
5012
5012
|
* @example
|
|
5013
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
5013
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-01", checkOut: "2026-11-03", limit: 3 });
|
|
5014
5014
|
*/
|
|
5015
5015
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5016
5016
|
}
|
|
@@ -20474,7 +20474,7 @@ declare class GoogleNamespace {
|
|
|
20474
20474
|
*
|
|
20475
20475
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
20476
20476
|
*
|
|
20477
|
-
* Price: $0.
|
|
20477
|
+
* Price: $0.0018 per request.
|
|
20478
20478
|
*
|
|
20479
20479
|
* @example
|
|
20480
20480
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -21485,7 +21485,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21485
21485
|
* Price: $0.0015 per request.
|
|
21486
21486
|
*
|
|
21487
21487
|
* @example
|
|
21488
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
21488
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
21489
21489
|
*/
|
|
21490
21490
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
21491
21491
|
/**
|
|
@@ -21496,7 +21496,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21496
21496
|
* Price: $0.0015 per request.
|
|
21497
21497
|
*
|
|
21498
21498
|
* @example
|
|
21499
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
21499
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", query: "hotels near times square new york" });
|
|
21500
21500
|
*/
|
|
21501
21501
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
21502
21502
|
}
|
package/dist/index.js
CHANGED
|
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
|
|
|
1431
1431
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1432
1432
|
*
|
|
1433
1433
|
* @example
|
|
1434
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
1434
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-01", checkOut: "2026-11-03", limit: 3 });
|
|
1435
1435
|
*/
|
|
1436
1436
|
search(input, options) {
|
|
1437
1437
|
return this._core.run("booking.search", input, options);
|
|
@@ -3055,7 +3055,7 @@ var GoogleNamespace = class {
|
|
|
3055
3055
|
*
|
|
3056
3056
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3057
3057
|
*
|
|
3058
|
-
* Price: $0.
|
|
3058
|
+
* Price: $0.0018 per request.
|
|
3059
3059
|
*
|
|
3060
3060
|
* @example
|
|
3061
3061
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3322,7 +3322,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3322
3322
|
* Price: $0.0015 per request.
|
|
3323
3323
|
*
|
|
3324
3324
|
* @example
|
|
3325
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
3325
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3326
3326
|
*/
|
|
3327
3327
|
details(input, options) {
|
|
3328
3328
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3335
3335
|
* Price: $0.0015 per request.
|
|
3336
3336
|
*
|
|
3337
3337
|
* @example
|
|
3338
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
3338
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-01", checkOut: "2026-11-03", country: "us", query: "hotels near times square new york" });
|
|
3339
3339
|
*/
|
|
3340
3340
|
search(input, options) {
|
|
3341
3341
|
return this._core.run("google_hotels.search", input, options);
|