@getanyapi/sdk 0.145.0 → 0.146.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
@@ -66419,7 +66419,7 @@ interface TiktokTrendingHashtagsInput {
66419
66419
  /**
66420
66420
  * 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 `industryIds`, 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 hashtag that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
66421
66421
  */
66422
- requireFields?: "industryIds"[];
66422
+ requireFields?: ("industryIds" | "topCreators")[];
66423
66423
  /**
66424
66424
  * 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`.
66425
66425
  */
@@ -75504,7 +75504,7 @@ declare class YoutubeNamespace {
75504
75504
  *
75505
75505
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
75506
75506
  *
75507
- * Price: $0.00045 per request.
75507
+ * Price: $0.0005 per request.
75508
75508
  *
75509
75509
  * @example
75510
75510
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
package/dist/index.d.ts CHANGED
@@ -66419,7 +66419,7 @@ interface TiktokTrendingHashtagsInput {
66419
66419
  /**
66420
66420
  * 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 `industryIds`, 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 hashtag that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
66421
66421
  */
66422
- requireFields?: "industryIds"[];
66422
+ requireFields?: ("industryIds" | "topCreators")[];
66423
66423
  /**
66424
66424
  * 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`.
66425
66425
  */
@@ -75504,7 +75504,7 @@ declare class YoutubeNamespace {
75504
75504
  *
75505
75505
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
75506
75506
  *
75507
- * Price: $0.00045 per request.
75507
+ * Price: $0.0005 per request.
75508
75508
  *
75509
75509
  * @example
75510
75510
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
package/dist/index.js CHANGED
@@ -9066,7 +9066,7 @@ var YoutubeNamespace = class {
9066
9066
  *
9067
9067
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
9068
9068
  *
9069
- * Price: $0.00045 per request.
9069
+ * Price: $0.0005 per request.
9070
9070
  *
9071
9071
  * @example
9072
9072
  * const res = await client.youtube.channel({ handle: "@mkbhd" });