@getanyapi/sdk 0.178.13 → 0.178.14
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
|
@@ -5279,7 +5279,7 @@ declare class BookingNamespace {
|
|
|
5279
5279
|
* Price: $0.0008 per request.
|
|
5280
5280
|
*
|
|
5281
5281
|
* @example
|
|
5282
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5282
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
5283
5283
|
*/
|
|
5284
5284
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5285
5285
|
}
|
|
@@ -25862,7 +25862,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25862
25862
|
* Price: $0.00085 per request.
|
|
25863
25863
|
*
|
|
25864
25864
|
* @example
|
|
25865
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25865
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
25866
25866
|
*/
|
|
25867
25867
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25868
25868
|
/**
|
|
@@ -25873,7 +25873,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25873
25873
|
* Price: $0.00085 per request.
|
|
25874
25874
|
*
|
|
25875
25875
|
* @example
|
|
25876
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25876
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
25877
25877
|
*/
|
|
25878
25878
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25879
25879
|
}
|
|
@@ -26208,7 +26208,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26208
26208
|
* Price: $0.0015 per request.
|
|
26209
26209
|
*
|
|
26210
26210
|
* @example
|
|
26211
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26211
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26212
26212
|
*/
|
|
26213
26213
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26214
26214
|
/**
|
|
@@ -26219,7 +26219,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26219
26219
|
* Price: $0.0048 per request.
|
|
26220
26220
|
*
|
|
26221
26221
|
* @example
|
|
26222
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26222
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
26223
26223
|
*/
|
|
26224
26224
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26225
26225
|
}
|
|
@@ -74517,7 +74517,7 @@ declare class VrboNamespace {
|
|
|
74517
74517
|
* Price: $0.00085 per request.
|
|
74518
74518
|
*
|
|
74519
74519
|
* @example
|
|
74520
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
74520
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
74521
74521
|
*/
|
|
74522
74522
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
74523
74523
|
/**
|
|
@@ -74528,7 +74528,7 @@ declare class VrboNamespace {
|
|
|
74528
74528
|
* Price: $0.00085 per request.
|
|
74529
74529
|
*
|
|
74530
74530
|
* @example
|
|
74531
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
74531
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
74532
74532
|
*/
|
|
74533
74533
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
74534
74534
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5279,7 +5279,7 @@ declare class BookingNamespace {
|
|
|
5279
5279
|
* Price: $0.0008 per request.
|
|
5280
5280
|
*
|
|
5281
5281
|
* @example
|
|
5282
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5282
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
5283
5283
|
*/
|
|
5284
5284
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5285
5285
|
}
|
|
@@ -25862,7 +25862,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25862
25862
|
* Price: $0.00085 per request.
|
|
25863
25863
|
*
|
|
25864
25864
|
* @example
|
|
25865
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25865
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
25866
25866
|
*/
|
|
25867
25867
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25868
25868
|
/**
|
|
@@ -25873,7 +25873,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25873
25873
|
* Price: $0.00085 per request.
|
|
25874
25874
|
*
|
|
25875
25875
|
* @example
|
|
25876
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25876
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
25877
25877
|
*/
|
|
25878
25878
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25879
25879
|
}
|
|
@@ -26208,7 +26208,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26208
26208
|
* Price: $0.0015 per request.
|
|
26209
26209
|
*
|
|
26210
26210
|
* @example
|
|
26211
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26211
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26212
26212
|
*/
|
|
26213
26213
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26214
26214
|
/**
|
|
@@ -26219,7 +26219,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26219
26219
|
* Price: $0.0048 per request.
|
|
26220
26220
|
*
|
|
26221
26221
|
* @example
|
|
26222
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26222
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
26223
26223
|
*/
|
|
26224
26224
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26225
26225
|
}
|
|
@@ -74517,7 +74517,7 @@ declare class VrboNamespace {
|
|
|
74517
74517
|
* Price: $0.00085 per request.
|
|
74518
74518
|
*
|
|
74519
74519
|
* @example
|
|
74520
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
74520
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
74521
74521
|
*/
|
|
74522
74522
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
74523
74523
|
/**
|
|
@@ -74528,7 +74528,7 @@ declare class VrboNamespace {
|
|
|
74528
74528
|
* Price: $0.00085 per request.
|
|
74529
74529
|
*
|
|
74530
74530
|
* @example
|
|
74531
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
74531
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
74532
74532
|
*/
|
|
74533
74533
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
74534
74534
|
}
|
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-22", checkOut: "2026-12-24", limit: 3 });
|
|
1570
1570
|
*/
|
|
1571
1571
|
search(input, options) {
|
|
1572
1572
|
return this._core.run("booking.search", input, options);
|
|
@@ -3893,7 +3893,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3893
3893
|
* Price: $0.00085 per request.
|
|
3894
3894
|
*
|
|
3895
3895
|
* @example
|
|
3896
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3896
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
3897
3897
|
*/
|
|
3898
3898
|
calendar(input, options) {
|
|
3899
3899
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3906,7 +3906,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3906
3906
|
* Price: $0.00085 per request.
|
|
3907
3907
|
*
|
|
3908
3908
|
* @example
|
|
3909
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3909
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
3910
3910
|
*/
|
|
3911
3911
|
search(input, options) {
|
|
3912
3912
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3927,7 +3927,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3927
3927
|
* Price: $0.0015 per request.
|
|
3928
3928
|
*
|
|
3929
3929
|
* @example
|
|
3930
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3930
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3931
3931
|
*/
|
|
3932
3932
|
details(input, options) {
|
|
3933
3933
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3940,7 +3940,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3940
3940
|
* Price: $0.0048 per request.
|
|
3941
3941
|
*
|
|
3942
3942
|
* @example
|
|
3943
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3943
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
3944
3944
|
*/
|
|
3945
3945
|
search(input, options) {
|
|
3946
3946
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -9177,7 +9177,7 @@ var VrboNamespace = class {
|
|
|
9177
9177
|
* Price: $0.00085 per request.
|
|
9178
9178
|
*
|
|
9179
9179
|
* @example
|
|
9180
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9180
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
9181
9181
|
*/
|
|
9182
9182
|
listing(input, options) {
|
|
9183
9183
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9190,7 +9190,7 @@ var VrboNamespace = class {
|
|
|
9190
9190
|
* Price: $0.00085 per request.
|
|
9191
9191
|
*
|
|
9192
9192
|
* @example
|
|
9193
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9193
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
9194
9194
|
*/
|
|
9195
9195
|
search(input, options) {
|
|
9196
9196
|
return this._core.run("vrbo.search", input, options);
|