@getanyapi/sdk 0.103.0 → 0.103.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.d.cts CHANGED
@@ -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-14", checkOut: "2026-11-16", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21900,7 +21900,7 @@ declare class GoogleHotelsNamespace {
21900
21900
  * Price: $0.0015 per request.
21901
21901
  *
21902
21902
  * @example
21903
- * const res = await client.googleHotels.details({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21903
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21904
21904
  */
21905
21905
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21906
21906
  /**
@@ -21911,7 +21911,7 @@ declare class GoogleHotelsNamespace {
21911
21911
  * Price: $0.0015 per request.
21912
21912
  *
21913
21913
  * @example
21914
- * const res = await client.googleHotels.search({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", query: "hotels near times square new york" });
21914
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
21915
21915
  */
21916
21916
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21917
21917
  }
@@ -64697,7 +64697,7 @@ declare class YoutubeNamespace {
64697
64697
  *
64698
64698
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
64699
64699
  *
64700
- * Price: $0.0009 per request.
64700
+ * Price: $0.0008 per request.
64701
64701
  *
64702
64702
  * @example
64703
64703
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -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-14", checkOut: "2026-11-16", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21900,7 +21900,7 @@ declare class GoogleHotelsNamespace {
21900
21900
  * Price: $0.0015 per request.
21901
21901
  *
21902
21902
  * @example
21903
- * const res = await client.googleHotels.details({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21903
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21904
21904
  */
21905
21905
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21906
21906
  /**
@@ -21911,7 +21911,7 @@ declare class GoogleHotelsNamespace {
21911
21911
  * Price: $0.0015 per request.
21912
21912
  *
21913
21913
  * @example
21914
- * const res = await client.googleHotels.search({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", query: "hotels near times square new york" });
21914
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
21915
21915
  */
21916
21916
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21917
21917
  }
@@ -64697,7 +64697,7 @@ declare class YoutubeNamespace {
64697
64697
  *
64698
64698
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
64699
64699
  *
64700
- * Price: $0.0009 per request.
64700
+ * Price: $0.0008 per request.
64701
64701
  *
64702
64702
  * @example
64703
64703
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.js CHANGED
@@ -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-14", checkOut: "2026-11-16", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
1435
1435
  */
1436
1436
  search(input, options) {
1437
1437
  return this._core.run("booking.search", 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.details({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3338
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3339
3339
  */
3340
3340
  details(input, options) {
3341
3341
  return this._core.run("google_hotels.details", input, options);
@@ -3348,7 +3348,7 @@ var GoogleHotelsNamespace = class {
3348
3348
  * Price: $0.0015 per request.
3349
3349
  *
3350
3350
  * @example
3351
- * const res = await client.googleHotels.search({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", query: "hotels near times square new york" });
3351
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
3352
3352
  */
3353
3353
  search(input, options) {
3354
3354
  return this._core.run("google_hotels.search", input, options);
@@ -8451,7 +8451,7 @@ var YoutubeNamespace = class {
8451
8451
  *
8452
8452
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
8453
8453
  *
8454
- * Price: $0.0009 per request.
8454
+ * Price: $0.0008 per request.
8455
8455
  *
8456
8456
  * @example
8457
8457
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });