@getanyapi/sdk 0.118.2 → 0.119.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
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -18437,10 +18437,6 @@ interface FacebookSearchPostsInput {
18437
18437
  * Optional place name; include both city and country for best matches (e.g. 'Paris, France'). Uses Facebook's place filter, which favors posts tagged at that place rather than every post by people who live there, and can still return some posts from elsewhere.
18438
18438
  */
18439
18439
  location?: string;
18440
- /**
18441
- * Optional Facebook place ID, used instead of location when you already have it (e.g. '110774245616525' for Paris, France). Filters the same way as location.
18442
- */
18443
- locationId?: string;
18444
18440
  /**
18445
18441
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
18446
18442
  * Range: minimum 1.
@@ -23862,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23862
23858
  * Price: $0.0015 per request.
23863
23859
  *
23864
23860
  * @example
23865
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23866
23862
  */
23867
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23868
23864
  /**
@@ -23873,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23873
23869
  * Price: $0.0015 per request.
23874
23870
  *
23875
23871
  * @example
23876
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23877
23873
  */
23878
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23879
23875
  }
@@ -60524,7 +60520,7 @@ declare class TiktokNamespace {
60524
60520
  *
60525
60521
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
60526
60522
  *
60527
- * Price: $0.0004 per request.
60523
+ * Price: $0.00045 per request.
60528
60524
  *
60529
60525
  * @example
60530
60526
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
package/dist/index.d.ts CHANGED
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -18437,10 +18437,6 @@ interface FacebookSearchPostsInput {
18437
18437
  * Optional place name; include both city and country for best matches (e.g. 'Paris, France'). Uses Facebook's place filter, which favors posts tagged at that place rather than every post by people who live there, and can still return some posts from elsewhere.
18438
18438
  */
18439
18439
  location?: string;
18440
- /**
18441
- * Optional Facebook place ID, used instead of location when you already have it (e.g. '110774245616525' for Paris, France). Filters the same way as location.
18442
- */
18443
- locationId?: string;
18444
18440
  /**
18445
18441
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
18446
18442
  * Range: minimum 1.
@@ -23862,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23862
23858
  * Price: $0.0015 per request.
23863
23859
  *
23864
23860
  * @example
23865
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23866
23862
  */
23867
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23868
23864
  /**
@@ -23873,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23873
23869
  * Price: $0.0015 per request.
23874
23870
  *
23875
23871
  * @example
23876
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23877
23873
  */
23878
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23879
23875
  }
@@ -60524,7 +60520,7 @@ declare class TiktokNamespace {
60524
60520
  *
60525
60521
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
60526
60522
  *
60527
- * Price: $0.0004 per request.
60523
+ * Price: $0.00045 per request.
60528
60524
  *
60529
60525
  * @example
60530
60526
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
package/dist/index.js CHANGED
@@ -1491,7 +1491,7 @@ var BookingNamespace = class {
1491
1491
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1492
1492
  *
1493
1493
  * @example
1494
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
1494
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
1495
1495
  */
1496
1496
  search(input, options) {
1497
1497
  return this._core.run("booking.search", input, options);
@@ -3544,7 +3544,7 @@ var GoogleHotelsNamespace = class {
3544
3544
  * Price: $0.0015 per request.
3545
3545
  *
3546
3546
  * @example
3547
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3547
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3548
3548
  */
3549
3549
  details(input, options) {
3550
3550
  return this._core.run("google_hotels.details", input, options);
@@ -3557,7 +3557,7 @@ var GoogleHotelsNamespace = class {
3557
3557
  * Price: $0.0015 per request.
3558
3558
  *
3559
3559
  * @example
3560
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
3560
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
3561
3561
  */
3562
3562
  search(input, options) {
3563
3563
  return this._core.run("google_hotels.search", input, options);
@@ -7359,7 +7359,7 @@ var TiktokNamespace = class {
7359
7359
  *
7360
7360
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
7361
7361
  *
7362
- * Price: $0.0004 per request.
7362
+ * Price: $0.00045 per request.
7363
7363
  *
7364
7364
  * @example
7365
7365
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });