@getanyapi/sdk 0.117.1 → 0.118.1
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1614,7 +1614,7 @@ var BookingNamespace = class {
|
|
|
1614
1614
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1615
1615
|
*
|
|
1616
1616
|
* @example
|
|
1617
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1617
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
|
|
1618
1618
|
*/
|
|
1619
1619
|
search(input, options) {
|
|
1620
1620
|
return this._core.run("booking.search", input, options);
|
|
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
|
|
|
2158
2158
|
*
|
|
2159
2159
|
* Find a person's work email address from their name and company domain.
|
|
2160
2160
|
*
|
|
2161
|
-
* Price: $0.
|
|
2161
|
+
* Price: $0.0308 per request.
|
|
2162
2162
|
*
|
|
2163
2163
|
* @example
|
|
2164
2164
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3667
3667
|
* Price: $0.0015 per request.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3670
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3671
3671
|
*/
|
|
3672
3672
|
details(input, options) {
|
|
3673
3673
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3680
3680
|
* Price: $0.0015 per request.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @example
|
|
3683
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3683
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
|
|
3684
3684
|
*/
|
|
3685
3685
|
search(input, options) {
|
|
3686
3686
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5831,7 +5831,7 @@ var RedditNamespace = class {
|
|
|
5831
5831
|
*
|
|
5832
5832
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5833
5833
|
*
|
|
5834
|
-
* Price: $0.
|
|
5834
|
+
* Price: $0.0008 per request.
|
|
5835
5835
|
*
|
|
5836
5836
|
* @example
|
|
5837
5837
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|