@getanyapi/sdk 0.152.12 → 0.152.13
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0008 per request.
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-18", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-16", departureDateTo: "2027-01-14", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-16", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -73768,7 +73768,7 @@ declare class VrboNamespace {
|
|
|
73768
73768
|
* Price: $0.00085 per request.
|
|
73769
73769
|
*
|
|
73770
73770
|
* @example
|
|
73771
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73771
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-19" });
|
|
73772
73772
|
*/
|
|
73773
73773
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73774
73774
|
/**
|
|
@@ -73779,7 +73779,7 @@ declare class VrboNamespace {
|
|
|
73779
73779
|
* Price: $0.00085 per request.
|
|
73780
73780
|
*
|
|
73781
73781
|
* @example
|
|
73782
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73782
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-16", checkOut: "2026-12-19", location: "Lake Tahoe", adults: 2 });
|
|
73783
73783
|
*/
|
|
73784
73784
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73785
73785
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0008 per request.
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-18", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-16", departureDateTo: "2027-01-14", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-16", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -73768,7 +73768,7 @@ declare class VrboNamespace {
|
|
|
73768
73768
|
* Price: $0.00085 per request.
|
|
73769
73769
|
*
|
|
73770
73770
|
* @example
|
|
73771
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73771
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-19" });
|
|
73772
73772
|
*/
|
|
73773
73773
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73774
73774
|
/**
|
|
@@ -73779,7 +73779,7 @@ declare class VrboNamespace {
|
|
|
73779
73779
|
* Price: $0.00085 per request.
|
|
73780
73780
|
*
|
|
73781
73781
|
* @example
|
|
73782
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73782
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-16", checkOut: "2026-12-19", location: "Lake Tahoe", adults: 2 });
|
|
73783
73783
|
*/
|
|
73784
73784
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73785
73785
|
}
|
package/dist/index.js
CHANGED
|
@@ -1566,7 +1566,7 @@ var BookingNamespace = class {
|
|
|
1566
1566
|
* Price: $0.0008 per request.
|
|
1567
1567
|
*
|
|
1568
1568
|
* @example
|
|
1569
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1569
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-18", limit: 3 });
|
|
1570
1570
|
*/
|
|
1571
1571
|
search(input, options) {
|
|
1572
1572
|
return this._core.run("booking.search", input, options);
|
|
@@ -3833,7 +3833,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3833
3833
|
* Price: $0.00085 per request.
|
|
3834
3834
|
*
|
|
3835
3835
|
* @example
|
|
3836
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3836
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-16", departureDateTo: "2027-01-14", destination: "LHR", origin: "JFK" });
|
|
3837
3837
|
*/
|
|
3838
3838
|
calendar(input, options) {
|
|
3839
3839
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3846,7 +3846,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3846
3846
|
* Price: $0.00085 per request.
|
|
3847
3847
|
*
|
|
3848
3848
|
* @example
|
|
3849
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3849
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-16", destination: "LHR", origin: "JFK" });
|
|
3850
3850
|
*/
|
|
3851
3851
|
search(input, options) {
|
|
3852
3852
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3867,7 +3867,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3867
3867
|
* Price: $0.0015 per request.
|
|
3868
3868
|
*
|
|
3869
3869
|
* @example
|
|
3870
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3870
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3871
3871
|
*/
|
|
3872
3872
|
details(input, options) {
|
|
3873
3873
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3880,7 +3880,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3880
3880
|
* Price: $0.0048 per request.
|
|
3881
3881
|
*
|
|
3882
3882
|
* @example
|
|
3883
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3883
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
3884
3884
|
*/
|
|
3885
3885
|
search(input, options) {
|
|
3886
3886
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -9117,7 +9117,7 @@ var VrboNamespace = class {
|
|
|
9117
9117
|
* Price: $0.00085 per request.
|
|
9118
9118
|
*
|
|
9119
9119
|
* @example
|
|
9120
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9120
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-19" });
|
|
9121
9121
|
*/
|
|
9122
9122
|
listing(input, options) {
|
|
9123
9123
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9130,7 +9130,7 @@ var VrboNamespace = class {
|
|
|
9130
9130
|
* Price: $0.00085 per request.
|
|
9131
9131
|
*
|
|
9132
9132
|
* @example
|
|
9133
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9133
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-16", checkOut: "2026-12-19", location: "Lake Tahoe", adults: 2 });
|
|
9134
9134
|
*/
|
|
9135
9135
|
search(input, options) {
|
|
9136
9136
|
return this._core.run("vrbo.search", input, options);
|