@getanyapi/sdk 0.88.0 → 0.90.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.js CHANGED
@@ -1941,7 +1941,7 @@ var EbayNamespace = class {
1941
1941
  *
1942
1942
  * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.
1943
1943
  *
1944
- * Price: $0.0135 per request.
1944
+ * Price: $0.003 per request.
1945
1945
  *
1946
1946
  * @example
1947
1947
  * const res = await client.ebay.soldListings({ query: "iphone 13 pro", limit: 10, sort: "ended_recently" });
@@ -1954,7 +1954,7 @@ var EbayNamespace = class {
1954
1954
  *
1955
1955
  * Retrieve recently sold eBay listings for any keyword with the sold price, sale date, condition, format, bids, and whether a Best Offer was accepted, without seller details; the lighter sibling of eBay Sold Listings for price comps.
1956
1956
  *
1957
- * Price: $0.0135 per request.
1957
+ * Price: $0.003 per request.
1958
1958
  *
1959
1959
  * @example
1960
1960
  * const res = await client.ebay.soldListingsThin({ query: "iphone 13 pro", limit: 10, sort: "ended_recently" });
@@ -3089,32 +3089,6 @@ var GoogleNamespace = class {
3089
3089
  autocomplete(input, options) {
3090
3090
  return this._core.run("google.autocomplete", input, options);
3091
3091
  }
3092
- /**
3093
- * Google Hotel Details
3094
- *
3095
- * 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.
3096
- *
3097
- * Price: $0.0015 per request.
3098
- *
3099
- * @example
3100
- * const res = await client.google.hotelDetails({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3101
- */
3102
- hotelDetails(input, options) {
3103
- return this._core.run("google.hotel_details", input, options);
3104
- }
3105
- /**
3106
- * Google Hotels Search
3107
- *
3108
- * 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.
3109
- *
3110
- * Price: $0.0015 per request.
3111
- *
3112
- * @example
3113
- * const res = await client.google.hotels({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", query: "hotels near times square new york" });
3114
- */
3115
- hotels(input, options) {
3116
- return this._core.run("google.hotels", input, options);
3117
- }
3118
3092
  /**
3119
3093
  * Google Images
3120
3094
  *
@@ -3334,6 +3308,40 @@ var GoogleFinanceNamespace = class {
3334
3308
  }
3335
3309
  };
3336
3310
 
3311
+ // src/generated/platforms/google_hotels.ts
3312
+ var GoogleHotelsNamespace = class {
3313
+ constructor(_core) {
3314
+ this._core = _core;
3315
+ }
3316
+ _core;
3317
+ /**
3318
+ * Google Hotel Details
3319
+ *
3320
+ * 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.
3321
+ *
3322
+ * Price: $0.0015 per request.
3323
+ *
3324
+ * @example
3325
+ * const res = await client.googleHotels.details({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3326
+ */
3327
+ details(input, options) {
3328
+ return this._core.run("google_hotels.details", input, options);
3329
+ }
3330
+ /**
3331
+ * Google Hotels Search
3332
+ *
3333
+ * 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.
3334
+ *
3335
+ * Price: $0.0015 per request.
3336
+ *
3337
+ * @example
3338
+ * const res = await client.googleHotels.search({ checkIn: "2026-10-31", checkOut: "2026-11-02", country: "us", query: "hotels near times square new york" });
3339
+ */
3340
+ search(input, options) {
3341
+ return this._core.run("google_hotels.search", input, options);
3342
+ }
3343
+ };
3344
+
3337
3345
  // src/generated/platforms/google_shopping.ts
3338
3346
  var GoogleShoppingNamespace = class {
3339
3347
  constructor(_core) {
@@ -8784,6 +8792,14 @@ var AnyAPI2 = class extends AnyAPI {
8784
8792
  this._core
8785
8793
  );
8786
8794
  }
8795
+ /**
8796
+ * Typed methods for the google_hotels platform.
8797
+ */
8798
+ get googleHotels() {
8799
+ return this._namespaces["googleHotels"] ??= new GoogleHotelsNamespace(
8800
+ this._core
8801
+ );
8802
+ }
8787
8803
  /**
8788
8804
  * Typed methods for the google_shopping platform.
8789
8805
  */
@@ -9209,6 +9225,7 @@ export {
9209
9225
  GlassdoorNamespace,
9210
9226
  GoogleAdsNamespace,
9211
9227
  GoogleFinanceNamespace,
9228
+ GoogleHotelsNamespace,
9212
9229
  GoogleNamespace,
9213
9230
  GoogleShoppingNamespace,
9214
9231
  HackernewsNamespace,