@getanyapi/sdk 0.90.5 → 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
|
}
|
|
@@ -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
|
}
|
|
@@ -26060,7 +26060,7 @@ declare class InstagramNamespace {
|
|
|
26060
26060
|
*
|
|
26061
26061
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
26062
26062
|
*
|
|
26063
|
-
* Price: $0.
|
|
26063
|
+
* Price: $0.00175 per request.
|
|
26064
26064
|
*
|
|
26065
26065
|
* @example
|
|
26066
26066
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -26060,7 +26060,7 @@ declare class InstagramNamespace {
|
|
|
26060
26060
|
*
|
|
26061
26061
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
26062
26062
|
*
|
|
26063
|
-
* Price: $0.
|
|
26063
|
+
* Price: $0.00175 per request.
|
|
26064
26064
|
*
|
|
26065
26065
|
* @example
|
|
26066
26066
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
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);
|
|
@@ -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);
|
|
@@ -3985,7 +3985,7 @@ var InstagramNamespace = class {
|
|
|
3985
3985
|
*
|
|
3986
3986
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
3987
3987
|
*
|
|
3988
|
-
* Price: $0.
|
|
3988
|
+
* Price: $0.00175 per request.
|
|
3989
3989
|
*
|
|
3990
3990
|
* @example
|
|
3991
3991
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|