@getanyapi/sdk 0.135.0 → 0.135.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
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
7761
7761
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
7762
7762
  *
7763
7763
  * @example
7764
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
7764
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
7765
7765
  */
7766
7766
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
7767
7767
  }
@@ -25852,7 +25852,7 @@ declare class GoogleNamespace {
25852
25852
  *
25853
25853
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
25854
25854
  *
25855
- * Price: $0.0048 per request.
25855
+ * Price: $0.0015 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25980,7 +25980,7 @@ declare class GoogleNamespace {
25980
25980
  *
25981
25981
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
25982
25982
  *
25983
- * Price: $0.0005 per request.
25983
+ * Price: $0.0004 per request.
25984
25984
  *
25985
25985
  * @example
25986
25986
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -26009,7 +26009,7 @@ declare class GoogleNamespace {
26009
26009
  *
26010
26010
  * Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
26011
26011
  *
26012
- * Price: $0.002 per request.
26012
+ * Price: $0.018 per request.
26013
26013
  *
26014
26014
  * @example
26015
26015
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -26914,7 +26914,7 @@ declare class GoogleHotelsNamespace {
26914
26914
  * Price: $0.0015 per request.
26915
26915
  *
26916
26916
  * @example
26917
- * const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26917
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26918
26918
  */
26919
26919
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
26920
26920
  /**
@@ -26925,7 +26925,7 @@ declare class GoogleHotelsNamespace {
26925
26925
  * Price: $0.0015 per request.
26926
26926
  *
26927
26927
  * @example
26928
- * const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
26928
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
26929
26929
  */
26930
26930
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
26931
26931
  }
@@ -27513,7 +27513,7 @@ interface IndeedJobsInput {
27513
27513
  */
27514
27514
  ignoreSources?: string[];
27515
27515
  /**
27516
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
27516
+ * Maximum number of results to return (1-20, default 20).
27517
27517
  * Range: minimum 1, maximum 20.
27518
27518
  */
27519
27519
  limit?: number;
@@ -27522,7 +27522,7 @@ interface IndeedJobsInput {
27522
27522
  */
27523
27523
  location?: string;
27524
27524
  /**
27525
- * Only return jobs posted within this window: 24h (past day) or week (past 7 days). Omit for all dates.
27525
+ * Only return jobs posted within this window: 24h (past day) or week (past 7 days). Omit for all dates. This can raise your price: a dearer source serves a request that sets it, and you are quoted and charged its price.
27526
27526
  * One of: 24h, week.
27527
27527
  */
27528
27528
  postedLimit?: "24h" | "week";
@@ -27536,7 +27536,7 @@ interface IndeedJobsInput {
27536
27536
  */
27537
27537
  query: string;
27538
27538
  /**
27539
- * Optional; omit it and routing is unchanged. Name the output fields this request must be able to return, for example `rating` or `streetAddress`, 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. The price is the same whichever source serves. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
27539
+ * 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 `rating` or `streetAddress`, 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 listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
27540
27540
  */
27541
27541
  requireFields?: ("admin2Code" | "companyRevenue" | "discoveredUtc" | "expired" | "language" | "rating" | "reviewCount" | "streetAddress")[];
27542
27542
  /**
@@ -27665,7 +27665,7 @@ declare class IndeedNamespace {
27665
27665
  *
27666
27666
  * Search Indeed job listings by keyword, location, and country, with up to 20 normalized job records per request.
27667
27667
  *
27668
- * Price: $0.00088 per request plus $0.00009 per result (maximum $0.00264).
27668
+ * Price: $0.00042 per request.
27669
27669
  *
27670
27670
  * @example
27671
27671
  * const res = await client.indeed.jobs({ query: "data analyst", limit: 3, location: "Austin, TX" });
package/dist/index.d.ts CHANGED
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
7761
7761
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
7762
7762
  *
7763
7763
  * @example
7764
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
7764
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
7765
7765
  */
7766
7766
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
7767
7767
  }
@@ -25852,7 +25852,7 @@ declare class GoogleNamespace {
25852
25852
  *
25853
25853
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
25854
25854
  *
25855
- * Price: $0.0048 per request.
25855
+ * Price: $0.0015 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25980,7 +25980,7 @@ declare class GoogleNamespace {
25980
25980
  *
25981
25981
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
25982
25982
  *
25983
- * Price: $0.0005 per request.
25983
+ * Price: $0.0004 per request.
25984
25984
  *
25985
25985
  * @example
25986
25986
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -26009,7 +26009,7 @@ declare class GoogleNamespace {
26009
26009
  *
26010
26010
  * Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
26011
26011
  *
26012
- * Price: $0.002 per request.
26012
+ * Price: $0.018 per request.
26013
26013
  *
26014
26014
  * @example
26015
26015
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -26914,7 +26914,7 @@ declare class GoogleHotelsNamespace {
26914
26914
  * Price: $0.0015 per request.
26915
26915
  *
26916
26916
  * @example
26917
- * const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26917
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26918
26918
  */
26919
26919
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
26920
26920
  /**
@@ -26925,7 +26925,7 @@ declare class GoogleHotelsNamespace {
26925
26925
  * Price: $0.0015 per request.
26926
26926
  *
26927
26927
  * @example
26928
- * const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
26928
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
26929
26929
  */
26930
26930
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
26931
26931
  }
@@ -27513,7 +27513,7 @@ interface IndeedJobsInput {
27513
27513
  */
27514
27514
  ignoreSources?: string[];
27515
27515
  /**
27516
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
27516
+ * Maximum number of results to return (1-20, default 20).
27517
27517
  * Range: minimum 1, maximum 20.
27518
27518
  */
27519
27519
  limit?: number;
@@ -27522,7 +27522,7 @@ interface IndeedJobsInput {
27522
27522
  */
27523
27523
  location?: string;
27524
27524
  /**
27525
- * Only return jobs posted within this window: 24h (past day) or week (past 7 days). Omit for all dates.
27525
+ * Only return jobs posted within this window: 24h (past day) or week (past 7 days). Omit for all dates. This can raise your price: a dearer source serves a request that sets it, and you are quoted and charged its price.
27526
27526
  * One of: 24h, week.
27527
27527
  */
27528
27528
  postedLimit?: "24h" | "week";
@@ -27536,7 +27536,7 @@ interface IndeedJobsInput {
27536
27536
  */
27537
27537
  query: string;
27538
27538
  /**
27539
- * Optional; omit it and routing is unchanged. Name the output fields this request must be able to return, for example `rating` or `streetAddress`, 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. The price is the same whichever source serves. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
27539
+ * 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 `rating` or `streetAddress`, 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 listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
27540
27540
  */
27541
27541
  requireFields?: ("admin2Code" | "companyRevenue" | "discoveredUtc" | "expired" | "language" | "rating" | "reviewCount" | "streetAddress")[];
27542
27542
  /**
@@ -27665,7 +27665,7 @@ declare class IndeedNamespace {
27665
27665
  *
27666
27666
  * Search Indeed job listings by keyword, location, and country, with up to 20 normalized job records per request.
27667
27667
  *
27668
- * Price: $0.00088 per request plus $0.00009 per result (maximum $0.00264).
27668
+ * Price: $0.00042 per request.
27669
27669
  *
27670
27670
  * @example
27671
27671
  * const res = await client.indeed.jobs({ query: "data analyst", limit: 3, location: "Austin, TX" });
package/dist/index.js CHANGED
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
1671
1671
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1672
1672
  *
1673
1673
  * @example
1674
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
1674
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
1675
1675
  */
1676
1676
  search(input, options) {
1677
1677
  return this._core.run("booking.search", input, options);
@@ -3504,7 +3504,7 @@ var GoogleNamespace = class {
3504
3504
  *
3505
3505
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
3506
3506
  *
3507
- * Price: $0.0048 per request.
3507
+ * Price: $0.0015 per request.
3508
3508
  *
3509
3509
  * @example
3510
3510
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3663,7 +3663,7 @@ var GoogleNamespace = class {
3663
3663
  *
3664
3664
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
3665
3665
  *
3666
- * Price: $0.0005 per request.
3666
+ * Price: $0.0004 per request.
3667
3667
  *
3668
3668
  * @example
3669
3669
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3705,7 +3705,7 @@ var GoogleNamespace = class {
3705
3705
  *
3706
3706
  * Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
3707
3707
  *
3708
- * Price: $0.002 per request.
3708
+ * Price: $0.018 per request.
3709
3709
  *
3710
3710
  * @example
3711
3711
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
3839
3839
  * Price: $0.0015 per request.
3840
3840
  *
3841
3841
  * @example
3842
- * const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3842
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3843
3843
  */
3844
3844
  details(input, options) {
3845
3845
  return this._core.run("google_hotels.details", input, options);
@@ -3852,7 +3852,7 @@ var GoogleHotelsNamespace = class {
3852
3852
  * Price: $0.0015 per request.
3853
3853
  *
3854
3854
  * @example
3855
- * const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
3855
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
3856
3856
  */
3857
3857
  search(input, options) {
3858
3858
  return this._core.run("google_hotels.search", input, options);
@@ -3972,7 +3972,7 @@ var IndeedNamespace = class {
3972
3972
  *
3973
3973
  * Search Indeed job listings by keyword, location, and country, with up to 20 normalized job records per request.
3974
3974
  *
3975
- * Price: $0.00088 per request plus $0.00009 per result (maximum $0.00264).
3975
+ * Price: $0.00042 per request.
3976
3976
  *
3977
3977
  * @example
3978
3978
  * const res = await client.indeed.jobs({ query: "data analyst", limit: 3, location: "Austin, TX" });