@getanyapi/sdk 0.138.0 → 0.139.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
@@ -21498,6 +21498,10 @@ interface FacebookSearchPostsInput {
21498
21498
  * Keyword or phrase to search Facebook posts for (e.g. 'product launch').
21499
21499
  */
21500
21500
  query: string;
21501
+ /**
21502
+ * 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 `imagesCount` or `albumPreview`, 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.
21503
+ */
21504
+ requireFields?: ("albumPreview" | "imagesCount" | "type")[];
21501
21505
  /**
21502
21506
  * 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`.
21503
21507
  */
@@ -75747,7 +75751,7 @@ interface YoutubeVideoTranscriptFullInput {
75747
75751
  */
75748
75752
  ignoreSources?: string[];
75749
75753
  /**
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.
75754
+ * 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. With `captionKind` set to "manual" or "automatic", no other language is returned.
75751
75755
  */
75752
75756
  language?: string;
75753
75757
  /**
@@ -76153,7 +76157,7 @@ declare class YoutubeNamespace {
76153
76157
  *
76154
76158
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
76155
76159
  *
76156
- * Price: $0.002 per request.
76160
+ * Price: $0.0015 per request.
76157
76161
  *
76158
76162
  * @example
76159
76163
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -21498,6 +21498,10 @@ interface FacebookSearchPostsInput {
21498
21498
  * Keyword or phrase to search Facebook posts for (e.g. 'product launch').
21499
21499
  */
21500
21500
  query: string;
21501
+ /**
21502
+ * 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 `imagesCount` or `albumPreview`, 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.
21503
+ */
21504
+ requireFields?: ("albumPreview" | "imagesCount" | "type")[];
21501
21505
  /**
21502
21506
  * 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`.
21503
21507
  */
@@ -75747,7 +75751,7 @@ interface YoutubeVideoTranscriptFullInput {
75747
75751
  */
75748
75752
  ignoreSources?: string[];
75749
75753
  /**
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.
75754
+ * 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. With `captionKind` set to "manual" or "automatic", no other language is returned.
75751
75755
  */
75752
75756
  language?: string;
75753
75757
  /**
@@ -76153,7 +76157,7 @@ declare class YoutubeNamespace {
76153
76157
  *
76154
76158
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
76155
76159
  *
76156
- * Price: $0.002 per request.
76160
+ * Price: $0.0015 per request.
76157
76161
  *
76158
76162
  * @example
76159
76163
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.js CHANGED
@@ -9454,7 +9454,7 @@ var YoutubeNamespace = class {
9454
9454
  *
9455
9455
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
9456
9456
  *
9457
- * Price: $0.002 per request.
9457
+ * Price: $0.0015 per request.
9458
9458
  *
9459
9459
  * @example
9460
9460
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });