@getanyapi/sdk 0.94.2 → 0.94.4

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.d.cts CHANGED
@@ -1836,7 +1836,7 @@ interface AmazonSearchInput {
1836
1836
  */
1837
1837
  source?: string[];
1838
1838
  /**
1839
- * Amazon search or category URL to pull results from (e.g. https://www.amazon.com/s?k=gaming+mouse).
1839
+ * Amazon search or category URL. For U.S. URLs, include page to select an Amazon results page; limit caps that page. Supported keyword, category, price, brand, rating and Prime selectors and standard Amazon sort orders are preserved. Unsupported selectors are rejected.
1840
1840
  */
1841
1841
  url: string;
1842
1842
  }
@@ -1923,7 +1923,7 @@ declare class AmazonNamespace {
1923
1923
  *
1924
1924
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1925
1925
  *
1926
- * Price: $0.0005 per request.
1926
+ * Price: $0.00075 per request.
1927
1927
  *
1928
1928
  * @example
1929
1929
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
1956
1956
  *
1957
1957
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1958
1958
  *
1959
- * Price: $0.0005 per request.
1959
+ * Price: $0.00075 per request.
1960
1960
  *
1961
1961
  * @example
1962
1962
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-07", checkOut: "2026-11-09", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-08", checkOut: "2026-11-10", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21486,7 +21486,7 @@ declare class GoogleHotelsNamespace {
21486
21486
  * Price: $0.0015 per request.
21487
21487
  *
21488
21488
  * @example
21489
- * const res = await client.googleHotels.details({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21490
21490
  */
21491
21491
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21492
21492
  /**
@@ -21497,7 +21497,7 @@ declare class GoogleHotelsNamespace {
21497
21497
  * Price: $0.0015 per request.
21498
21498
  *
21499
21499
  * @example
21500
- * const res = await client.googleHotels.search({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
package/dist/index.d.ts CHANGED
@@ -1836,7 +1836,7 @@ interface AmazonSearchInput {
1836
1836
  */
1837
1837
  source?: string[];
1838
1838
  /**
1839
- * Amazon search or category URL to pull results from (e.g. https://www.amazon.com/s?k=gaming+mouse).
1839
+ * Amazon search or category URL. For U.S. URLs, include page to select an Amazon results page; limit caps that page. Supported keyword, category, price, brand, rating and Prime selectors and standard Amazon sort orders are preserved. Unsupported selectors are rejected.
1840
1840
  */
1841
1841
  url: string;
1842
1842
  }
@@ -1923,7 +1923,7 @@ declare class AmazonNamespace {
1923
1923
  *
1924
1924
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1925
1925
  *
1926
- * Price: $0.0005 per request.
1926
+ * Price: $0.00075 per request.
1927
1927
  *
1928
1928
  * @example
1929
1929
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
1956
1956
  *
1957
1957
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1958
1958
  *
1959
- * Price: $0.0005 per request.
1959
+ * Price: $0.00075 per request.
1960
1960
  *
1961
1961
  * @example
1962
1962
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-07", checkOut: "2026-11-09", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-08", checkOut: "2026-11-10", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21486,7 +21486,7 @@ declare class GoogleHotelsNamespace {
21486
21486
  * Price: $0.0015 per request.
21487
21487
  *
21488
21488
  * @example
21489
- * const res = await client.googleHotels.details({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21490
21490
  */
21491
21491
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21492
21492
  /**
@@ -21497,7 +21497,7 @@ declare class GoogleHotelsNamespace {
21497
21497
  * Price: $0.0015 per request.
21498
21498
  *
21499
21499
  * @example
21500
- * const res = await client.googleHotels.search({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
package/dist/index.js CHANGED
@@ -1172,7 +1172,7 @@ var AmazonNamespace = class {
1172
1172
  *
1173
1173
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1174
1174
  *
1175
- * Price: $0.0005 per request.
1175
+ * Price: $0.00075 per request.
1176
1176
  *
1177
1177
  * @example
1178
1178
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1211,7 +1211,7 @@ var AmazonNamespace = class {
1211
1211
  *
1212
1212
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1213
1213
  *
1214
- * Price: $0.0005 per request.
1214
+ * Price: $0.00075 per request.
1215
1215
  *
1216
1216
  * @example
1217
1217
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
1431
1431
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1432
1432
  *
1433
1433
  * @example
1434
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-07", checkOut: "2026-11-09", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-08", checkOut: "2026-11-10", limit: 3 });
1435
1435
  */
1436
1436
  search(input, options) {
1437
1437
  return this._core.run("booking.search", input, options);
@@ -3322,7 +3322,7 @@ var GoogleHotelsNamespace = class {
3322
3322
  * Price: $0.0015 per request.
3323
3323
  *
3324
3324
  * @example
3325
- * const res = await client.googleHotels.details({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3325
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3326
3326
  */
3327
3327
  details(input, options) {
3328
3328
  return this._core.run("google_hotels.details", input, options);
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
3335
3335
  * Price: $0.0015 per request.
3336
3336
  *
3337
3337
  * @example
3338
- * const res = await client.googleHotels.search({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", query: "hotels near times square new york" });
3338
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-08", checkOut: "2026-11-10", country: "us", query: "hotels near times square new york" });
3339
3339
  */
3340
3340
  search(input, options) {
3341
3341
  return this._core.run("google_hotels.search", input, options);