@getanyapi/sdk 0.162.12 → 0.162.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-19", checkOut: "2026-12-21", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -25129,7 +25129,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25129
25129
|
* Price: $0.00085 per request.
|
|
25130
25130
|
*
|
|
25131
25131
|
* @example
|
|
25132
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25132
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-19", departureDateTo: "2027-01-17", destination: "LHR", origin: "JFK" });
|
|
25133
25133
|
*/
|
|
25134
25134
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25135
25135
|
/**
|
|
@@ -25140,7 +25140,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25140
25140
|
* Price: $0.00085 per request.
|
|
25141
25141
|
*
|
|
25142
25142
|
* @example
|
|
25143
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25143
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-19", destination: "LHR", origin: "JFK" });
|
|
25144
25144
|
*/
|
|
25145
25145
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25146
25146
|
}
|
|
@@ -25475,7 +25475,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25475
25475
|
* Price: $0.0015 per request.
|
|
25476
25476
|
*
|
|
25477
25477
|
* @example
|
|
25478
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25478
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-19", checkOut: "2026-12-21", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25479
25479
|
*/
|
|
25480
25480
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25481
25481
|
/**
|
|
@@ -25486,7 +25486,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25486
25486
|
* Price: $0.0015 per request.
|
|
25487
25487
|
*
|
|
25488
25488
|
* @example
|
|
25489
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25489
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-19", checkOut: "2026-12-21", country: "us", query: "hotels near times square new york" });
|
|
25490
25490
|
*/
|
|
25491
25491
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25492
25492
|
}
|
|
@@ -73781,7 +73781,7 @@ declare class VrboNamespace {
|
|
|
73781
73781
|
* Price: $0.00085 per request.
|
|
73782
73782
|
*
|
|
73783
73783
|
* @example
|
|
73784
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73784
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-19", checkOut: "2026-12-22" });
|
|
73785
73785
|
*/
|
|
73786
73786
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73787
73787
|
/**
|
|
@@ -73792,7 +73792,7 @@ declare class VrboNamespace {
|
|
|
73792
73792
|
* Price: $0.00085 per request.
|
|
73793
73793
|
*
|
|
73794
73794
|
* @example
|
|
73795
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73795
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-19", checkOut: "2026-12-22", location: "Lake Tahoe", adults: 2 });
|
|
73796
73796
|
*/
|
|
73797
73797
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73798
73798
|
}
|
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-19", checkOut: "2026-12-21", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -25129,7 +25129,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25129
25129
|
* Price: $0.00085 per request.
|
|
25130
25130
|
*
|
|
25131
25131
|
* @example
|
|
25132
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25132
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-19", departureDateTo: "2027-01-17", destination: "LHR", origin: "JFK" });
|
|
25133
25133
|
*/
|
|
25134
25134
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25135
25135
|
/**
|
|
@@ -25140,7 +25140,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25140
25140
|
* Price: $0.00085 per request.
|
|
25141
25141
|
*
|
|
25142
25142
|
* @example
|
|
25143
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25143
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-19", destination: "LHR", origin: "JFK" });
|
|
25144
25144
|
*/
|
|
25145
25145
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25146
25146
|
}
|
|
@@ -25475,7 +25475,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25475
25475
|
* Price: $0.0015 per request.
|
|
25476
25476
|
*
|
|
25477
25477
|
* @example
|
|
25478
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25478
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-19", checkOut: "2026-12-21", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25479
25479
|
*/
|
|
25480
25480
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25481
25481
|
/**
|
|
@@ -25486,7 +25486,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25486
25486
|
* Price: $0.0015 per request.
|
|
25487
25487
|
*
|
|
25488
25488
|
* @example
|
|
25489
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25489
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-19", checkOut: "2026-12-21", country: "us", query: "hotels near times square new york" });
|
|
25490
25490
|
*/
|
|
25491
25491
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25492
25492
|
}
|
|
@@ -73781,7 +73781,7 @@ declare class VrboNamespace {
|
|
|
73781
73781
|
* Price: $0.00085 per request.
|
|
73782
73782
|
*
|
|
73783
73783
|
* @example
|
|
73784
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73784
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-19", checkOut: "2026-12-22" });
|
|
73785
73785
|
*/
|
|
73786
73786
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73787
73787
|
/**
|
|
@@ -73792,7 +73792,7 @@ declare class VrboNamespace {
|
|
|
73792
73792
|
* Price: $0.00085 per request.
|
|
73793
73793
|
*
|
|
73794
73794
|
* @example
|
|
73795
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73795
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-19", checkOut: "2026-12-22", location: "Lake Tahoe", adults: 2 });
|
|
73796
73796
|
*/
|
|
73797
73797
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73798
73798
|
}
|
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-19", checkOut: "2026-12-21", 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-19", departureDateTo: "2027-01-17", 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-19", 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-19", checkOut: "2026-12-21", 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.0015 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-19", checkOut: "2026-12-21", 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-19", checkOut: "2026-12-22" });
|
|
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-19", checkOut: "2026-12-22", location: "Lake Tahoe", adults: 2 });
|
|
9134
9134
|
*/
|
|
9135
9135
|
search(input, options) {
|
|
9136
9136
|
return this._core.run("vrbo.search", input, options);
|