@getanyapi/sdk 0.86.0 → 0.88.0
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 +30 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +361 -10
- package/dist/index.d.ts +361 -10
- package/dist/index.js +30 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1552,7 +1552,7 @@ var BookingNamespace = class {
|
|
|
1552
1552
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1553
1553
|
*
|
|
1554
1554
|
* @example
|
|
1555
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
1555
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-10-31", checkOut: "2026-11-02", limit: 3 });
|
|
1556
1556
|
*/
|
|
1557
1557
|
search(input, options) {
|
|
1558
1558
|
return this._core.run("booking.search", input, options);
|
|
@@ -3210,6 +3210,32 @@ var GoogleNamespace = class {
|
|
|
3210
3210
|
autocomplete(input, options) {
|
|
3211
3211
|
return this._core.run("google.autocomplete", input, options);
|
|
3212
3212
|
}
|
|
3213
|
+
/**
|
|
3214
|
+
* Google Hotel Details
|
|
3215
|
+
*
|
|
3216
|
+
* Get one hotel from Google Hotels by its property ID: address, phone, website, rating, nightly price, prices from each booking site, amenities and check-in times as normalized JSON.
|
|
3217
|
+
*
|
|
3218
|
+
* Price: $0.0015 per request.
|
|
3219
|
+
*
|
|
3220
|
+
* @example
|
|
3221
|
+
* const res = await client.google.hotelDetails({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3222
|
+
*/
|
|
3223
|
+
hotelDetails(input, options) {
|
|
3224
|
+
return this._core.run("google.hotel_details", input, options);
|
|
3225
|
+
}
|
|
3226
|
+
/**
|
|
3227
|
+
* Google Hotels Search
|
|
3228
|
+
*
|
|
3229
|
+
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
3230
|
+
*
|
|
3231
|
+
* Price: $0.0015 per request.
|
|
3232
|
+
*
|
|
3233
|
+
* @example
|
|
3234
|
+
* const res = await client.google.hotels({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", query: "hotels near times square new york" });
|
|
3235
|
+
*/
|
|
3236
|
+
hotels(input, options) {
|
|
3237
|
+
return this._core.run("google.hotels", input, options);
|
|
3238
|
+
}
|
|
3213
3239
|
/**
|
|
3214
3240
|
* Google Images
|
|
3215
3241
|
*
|
|
@@ -4603,14 +4629,14 @@ var LinkedinNamespace = class {
|
|
|
4603
4629
|
return this._core.run("linkedin.search_companies", input, options);
|
|
4604
4630
|
}
|
|
4605
4631
|
/**
|
|
4606
|
-
* LinkedIn
|
|
4632
|
+
* LinkedIn Sales Navigator Lead Search
|
|
4607
4633
|
*
|
|
4608
|
-
*
|
|
4634
|
+
* LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles.
|
|
4609
4635
|
*
|
|
4610
4636
|
* Price: $0.07 per request.
|
|
4611
4637
|
*
|
|
4612
4638
|
* @example
|
|
4613
|
-
* const res = await client.linkedin.searchLeads({
|
|
4639
|
+
* const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
|
|
4614
4640
|
*/
|
|
4615
4641
|
searchLeads(input, options) {
|
|
4616
4642
|
return this._core.run("linkedin.search_leads", input, options);
|