@getanyapi/sdk 0.137.0 → 0.138.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
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
3095
3095
  *
3096
3096
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
3097
3097
  *
3098
- * Price: $0.0021 per request.
3098
+ * Price: $0.0013 per request.
3099
3099
  *
3100
3100
  * @example
3101
3101
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -16305,7 +16305,7 @@ declare class EmailNamespace {
16305
16305
  *
16306
16306
  * Find a person's work email address from their name and company domain.
16307
16307
  *
16308
- * Price: $0.0154 per request.
16308
+ * Price: $0.0308 per request.
16309
16309
  *
16310
16310
  * @example
16311
16311
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -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.0015 per request.
25855
+ * Price: $0.0018 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25998,7 +25998,7 @@ declare class GoogleNamespace {
25998
25998
  *
25999
25999
  * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
26000
26000
  *
26001
- * Price: $0.0018 per request.
26001
+ * Price: $0.024 per request.
26002
26002
  *
26003
26003
  * @example
26004
26004
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -75747,7 +75747,7 @@ interface YoutubeVideoTranscriptFullInput {
75747
75747
  */
75748
75748
  ignoreSources?: string[];
75749
75749
  /**
75750
- * Preferred caption language code (e.g. "en", "es"). Defaults to English. If the video has no captions in that language, you get the transcript in another language the video has; the `language` field in the result says which.
75750
+ * Caption language code (e.g. "en", "es"). Defaults to English. If the video has no captions in that language, no transcript is returned, even when the video has captions in another language.
75751
75751
  */
75752
75752
  language?: string;
75753
75753
  /**
@@ -75756,9 +75756,9 @@ interface YoutubeVideoTranscriptFullInput {
75756
75756
  */
75757
75757
  preferLatencyUnderMs?: number;
75758
75758
  /**
75759
- * 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 `isAiGenerated`, 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 transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
75759
+ * 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 `views`, 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 transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
75760
75760
  */
75761
- requireFields?: ("authorId" | "authorUrl" | "category" | "createdUtc" | "description" | "image" | "isAiGenerated" | "keywords" | "likes" | "views")[];
75761
+ requireFields?: ("authorId" | "authorUrl" | "category" | "createdUtc" | "description" | "image" | "keywords" | "likes" | "views")[];
75762
75762
  /**
75763
75763
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
75764
75764
  */
package/dist/index.d.ts CHANGED
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
3095
3095
  *
3096
3096
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
3097
3097
  *
3098
- * Price: $0.0021 per request.
3098
+ * Price: $0.0013 per request.
3099
3099
  *
3100
3100
  * @example
3101
3101
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -16305,7 +16305,7 @@ declare class EmailNamespace {
16305
16305
  *
16306
16306
  * Find a person's work email address from their name and company domain.
16307
16307
  *
16308
- * Price: $0.0154 per request.
16308
+ * Price: $0.0308 per request.
16309
16309
  *
16310
16310
  * @example
16311
16311
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -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.0015 per request.
25855
+ * Price: $0.0018 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25998,7 +25998,7 @@ declare class GoogleNamespace {
25998
25998
  *
25999
25999
  * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
26000
26000
  *
26001
- * Price: $0.0018 per request.
26001
+ * Price: $0.024 per request.
26002
26002
  *
26003
26003
  * @example
26004
26004
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -75747,7 +75747,7 @@ interface YoutubeVideoTranscriptFullInput {
75747
75747
  */
75748
75748
  ignoreSources?: string[];
75749
75749
  /**
75750
- * Preferred caption language code (e.g. "en", "es"). Defaults to English. If the video has no captions in that language, you get the transcript in another language the video has; the `language` field in the result says which.
75750
+ * Caption language code (e.g. "en", "es"). Defaults to English. If the video has no captions in that language, no transcript is returned, even when the video has captions in another language.
75751
75751
  */
75752
75752
  language?: string;
75753
75753
  /**
@@ -75756,9 +75756,9 @@ interface YoutubeVideoTranscriptFullInput {
75756
75756
  */
75757
75757
  preferLatencyUnderMs?: number;
75758
75758
  /**
75759
- * 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 `isAiGenerated`, 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 transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
75759
+ * 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 `views`, 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 transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
75760
75760
  */
75761
- requireFields?: ("authorId" | "authorUrl" | "category" | "createdUtc" | "description" | "image" | "isAiGenerated" | "keywords" | "likes" | "views")[];
75761
+ requireFields?: ("authorId" | "authorUrl" | "category" | "createdUtc" | "description" | "image" | "keywords" | "likes" | "views")[];
75762
75762
  /**
75763
75763
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
75764
75764
  */
package/dist/index.js CHANGED
@@ -1284,7 +1284,7 @@ var AmazonNamespace = class {
1284
1284
  *
1285
1285
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1286
1286
  *
1287
- * Price: $0.0021 per request.
1287
+ * Price: $0.0013 per request.
1288
1288
  *
1289
1289
  * @example
1290
1290
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -2270,7 +2270,7 @@ var EmailNamespace = class {
2270
2270
  *
2271
2271
  * Find a person's work email address from their name and company domain.
2272
2272
  *
2273
- * Price: $0.0154 per request.
2273
+ * Price: $0.0308 per request.
2274
2274
  *
2275
2275
  * @example
2276
2276
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -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.0015 per request.
3507
+ * Price: $0.0018 per request.
3508
3508
  *
3509
3509
  * @example
3510
3510
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3692,7 +3692,7 @@ var GoogleNamespace = class {
3692
3692
  *
3693
3693
  * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
3694
3694
  *
3695
- * Price: $0.0018 per request.
3695
+ * Price: $0.024 per request.
3696
3696
  *
3697
3697
  * @example
3698
3698
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });