@getanyapi/sdk 0.170.6 → 0.171.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
@@ -27977,7 +27977,7 @@ interface InstagramPostInput {
27977
27977
  /**
27978
27978
  * 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 `plays`, 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.
27979
27979
  */
27980
- requireFields?: ("altText" | "audioId" | "countsHidden" | "durationSeconds" | "hasAudio" | "locationId" | "locationLat" | "locationLng" | "plays" | "reshares" | "soundAuthor" | "soundTitle")[];
27980
+ requireFields?: ("altText" | "audioId" | "countsHidden" | "durationSeconds" | "hasAudio" | "locationId" | "locationLat" | "locationLng" | "paidPartnership" | "plays" | "reshares" | "soundAuthor" | "soundTitle")[];
27981
27981
  /**
27982
27982
  * Deprecated; send `requireFields: ["plays"]` instead, which does exactly the same thing. Set true to be served only by a source that reports a reel's play count. Omit it and routing is unchanged, with the cheapest source serving, which does not carry play counts, so `plays` is absent from its responses. This can raise your price: opting in routes to a source that reports the count, and you are quoted and charged its price. It stays accepted so callers that already send it keep working.
27983
27983
  */
@@ -28088,9 +28088,9 @@ interface InstagramPostData {
28088
28088
  */
28089
28089
  owner: string;
28090
28090
  /**
28091
- * True when the post is tagged as a paid partnership.
28091
+ * True when the post is tagged as a paid partnership. Null when this source does not report it.
28092
28092
  */
28093
- paidPartnership?: boolean;
28093
+ paidPartnership?: boolean | null;
28094
28094
  /**
28095
28095
  * Number of plays of the reel or video. Absent when Instagram does not expose a play count for this media, and on lanes that cannot serve it.
28096
28096
  */
@@ -29404,9 +29404,9 @@ interface InstagramSearchHashtagPost {
29404
29404
  */
29405
29405
  mentions?: string[];
29406
29406
  /**
29407
- * True when the post is tagged as a paid partnership.
29407
+ * True when the post is tagged as a paid partnership. Null when this source does not report it.
29408
29408
  */
29409
- paidPartnership?: boolean;
29409
+ paidPartnership?: boolean | null;
29410
29410
  /**
29411
29411
  * Instagram product type of the media, for example feed, clips or igtv.
29412
29412
  */
@@ -31619,9 +31619,9 @@ interface InstagramWebReelsSearchReel {
31619
31619
  */
31620
31620
  mentions?: string[];
31621
31621
  /**
31622
- * True when the reel is a paid partnership.
31622
+ * True when the reel is a paid partnership. Null when this source does not report it.
31623
31623
  */
31624
- paidPartnership: boolean;
31624
+ paidPartnership: boolean | null;
31625
31625
  /**
31626
31626
  * Instagram's own surface label for the reel, such as clips.
31627
31627
  */
@@ -69080,7 +69080,7 @@ declare class TiktokNamespace {
69080
69080
  *
69081
69081
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
69082
69082
  *
69083
- * Price: $0.0004 per request.
69083
+ * Price: $0.00045 per request.
69084
69084
  *
69085
69085
  * @example
69086
69086
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
package/dist/index.d.ts CHANGED
@@ -27977,7 +27977,7 @@ interface InstagramPostInput {
27977
27977
  /**
27978
27978
  * 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 `plays`, 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.
27979
27979
  */
27980
- requireFields?: ("altText" | "audioId" | "countsHidden" | "durationSeconds" | "hasAudio" | "locationId" | "locationLat" | "locationLng" | "plays" | "reshares" | "soundAuthor" | "soundTitle")[];
27980
+ requireFields?: ("altText" | "audioId" | "countsHidden" | "durationSeconds" | "hasAudio" | "locationId" | "locationLat" | "locationLng" | "paidPartnership" | "plays" | "reshares" | "soundAuthor" | "soundTitle")[];
27981
27981
  /**
27982
27982
  * Deprecated; send `requireFields: ["plays"]` instead, which does exactly the same thing. Set true to be served only by a source that reports a reel's play count. Omit it and routing is unchanged, with the cheapest source serving, which does not carry play counts, so `plays` is absent from its responses. This can raise your price: opting in routes to a source that reports the count, and you are quoted and charged its price. It stays accepted so callers that already send it keep working.
27983
27983
  */
@@ -28088,9 +28088,9 @@ interface InstagramPostData {
28088
28088
  */
28089
28089
  owner: string;
28090
28090
  /**
28091
- * True when the post is tagged as a paid partnership.
28091
+ * True when the post is tagged as a paid partnership. Null when this source does not report it.
28092
28092
  */
28093
- paidPartnership?: boolean;
28093
+ paidPartnership?: boolean | null;
28094
28094
  /**
28095
28095
  * Number of plays of the reel or video. Absent when Instagram does not expose a play count for this media, and on lanes that cannot serve it.
28096
28096
  */
@@ -29404,9 +29404,9 @@ interface InstagramSearchHashtagPost {
29404
29404
  */
29405
29405
  mentions?: string[];
29406
29406
  /**
29407
- * True when the post is tagged as a paid partnership.
29407
+ * True when the post is tagged as a paid partnership. Null when this source does not report it.
29408
29408
  */
29409
- paidPartnership?: boolean;
29409
+ paidPartnership?: boolean | null;
29410
29410
  /**
29411
29411
  * Instagram product type of the media, for example feed, clips or igtv.
29412
29412
  */
@@ -31619,9 +31619,9 @@ interface InstagramWebReelsSearchReel {
31619
31619
  */
31620
31620
  mentions?: string[];
31621
31621
  /**
31622
- * True when the reel is a paid partnership.
31622
+ * True when the reel is a paid partnership. Null when this source does not report it.
31623
31623
  */
31624
- paidPartnership: boolean;
31624
+ paidPartnership: boolean | null;
31625
31625
  /**
31626
31626
  * Instagram's own surface label for the reel, such as clips.
31627
31627
  */
@@ -69080,7 +69080,7 @@ declare class TiktokNamespace {
69080
69080
  *
69081
69081
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
69082
69082
  *
69083
- * Price: $0.0004 per request.
69083
+ * Price: $0.00045 per request.
69084
69084
  *
69085
69085
  * @example
69086
69086
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
package/dist/index.js CHANGED
@@ -8374,7 +8374,7 @@ var TiktokNamespace = class {
8374
8374
  *
8375
8375
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
8376
8376
  *
8377
- * Price: $0.0004 per request.
8377
+ * Price: $0.00045 per request.
8378
8378
  *
8379
8379
  * @example
8380
8380
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });