@getanyapi/sdk 0.95.2 → 0.96.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.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-09", checkOut: "2026-11-11", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-10", checkOut: "2026-11-12", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -43579,7 +43579,7 @@ interface RedditSearchInput {
43579
43579
  /**
43580
43580
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `media`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43581
43581
  */
43582
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "media" | "nsfw")[];
43582
+ requireFields?: ("isArchived" | "isLocked" | "media")[];
43583
43583
  /**
43584
43584
  * Result sort order.
43585
43585
  * One of: relevance, hot, top, new, comments.
@@ -43790,7 +43790,7 @@ interface RedditSubredditPostsInput {
43790
43790
  /**
43791
43791
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43792
43792
  */
43793
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "nsfw" | "selftext" | "upvoteRatio")[];
43793
+ requireFields?: ("isArchived" | "isLocked" | "selftext")[];
43794
43794
  /**
43795
43795
  * Listing sort order.
43796
43796
  * One of: hot, new, top.
@@ -43916,7 +43916,7 @@ interface RedditSubredditSearchInput {
43916
43916
  /**
43917
43917
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43918
43918
  */
43919
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "selftext")[];
43919
+ requireFields?: ("isArchived" | "isLocked" | "selftext")[];
43920
43920
  /**
43921
43921
  * Optional sort order: relevance, hot, top, new, comments.
43922
43922
  * One of: relevance, hot, top, new, comments.
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-09", checkOut: "2026-11-11", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-10", checkOut: "2026-11-12", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -43579,7 +43579,7 @@ interface RedditSearchInput {
43579
43579
  /**
43580
43580
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `media`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43581
43581
  */
43582
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "media" | "nsfw")[];
43582
+ requireFields?: ("isArchived" | "isLocked" | "media")[];
43583
43583
  /**
43584
43584
  * Result sort order.
43585
43585
  * One of: relevance, hot, top, new, comments.
@@ -43790,7 +43790,7 @@ interface RedditSubredditPostsInput {
43790
43790
  /**
43791
43791
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43792
43792
  */
43793
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "nsfw" | "selftext" | "upvoteRatio")[];
43793
+ requireFields?: ("isArchived" | "isLocked" | "selftext")[];
43794
43794
  /**
43795
43795
  * Listing sort order.
43796
43796
  * One of: hot, new, top.
@@ -43916,7 +43916,7 @@ interface RedditSubredditSearchInput {
43916
43916
  /**
43917
43917
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.
43918
43918
  */
43919
- requireFields?: ("authorId" | "isArchived" | "isLocked" | "selftext")[];
43919
+ requireFields?: ("isArchived" | "isLocked" | "selftext")[];
43920
43920
  /**
43921
43921
  * Optional sort order: relevance, hot, top, new, comments.
43922
43922
  * One of: relevance, hot, top, new, comments.
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-09", checkOut: "2026-11-11", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3325
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-10", checkOut: "2026-11-12", 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-09", checkOut: "2026-11-11", country: "us", query: "hotels near times square new york" });
3338
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-10", checkOut: "2026-11-12", 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);