@getanyapi/sdk 0.119.6 → 0.120.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
@@ -5574,7 +5574,7 @@ declare class BlueskyNamespace {
5574
5574
  *
5575
5575
  * Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON.
5576
5576
  *
5577
- * Price: $0.0012 per request.
5577
+ * Price: $0.0011 per request.
5578
5578
  *
5579
5579
  * @example
5580
5580
  * const res = await client.bluesky.post({ url: "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l" });
@@ -5585,7 +5585,7 @@ declare class BlueskyNamespace {
5585
5585
  *
5586
5586
  * Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.
5587
5587
  *
5588
- * Price: $0.0012 per request.
5588
+ * Price: $0.0011 per request.
5589
5589
  *
5590
5590
  * @example
5591
5591
  * const res = await client.bluesky.profile({ handle: "bsky.app" });
@@ -5596,7 +5596,7 @@ declare class BlueskyNamespace {
5596
5596
  *
5597
5597
  * List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.
5598
5598
  *
5599
- * Price: $0.0012 per request.
5599
+ * Price: $0.0011 per request.
5600
5600
  *
5601
5601
  * @example
5602
5602
  * const res = await client.bluesky.userPosts({ handle: "bsky.app" });
@@ -32738,6 +32738,10 @@ interface LinkedinProfileCommentsInput {
32738
32738
  * Range: minimum 1.
32739
32739
  */
32740
32740
  preferLatencyUnderMs?: number;
32741
+ /**
32742
+ * 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 `edited` or `isAuthor`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
32743
+ */
32744
+ requireFields?: ("edited" | "isAuthor")[];
32741
32745
  /**
32742
32746
  * 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`.
32743
32747
  */
@@ -32793,9 +32797,9 @@ interface LinkedinProfileCommentsItem {
32793
32797
  */
32794
32798
  createdUtc?: number;
32795
32799
  /**
32796
- * Whether the comment has been edited.
32800
+ * Whether the comment has been edited. Null when the serving source does not report it.
32797
32801
  */
32798
- edited?: boolean;
32802
+ edited?: boolean | null;
32799
32803
  /**
32800
32804
  * Engagement metrics for the comment.
32801
32805
  */
@@ -32821,9 +32825,9 @@ interface LinkedinProfileCommentsItem {
32821
32825
  */
32822
32826
  id: string;
32823
32827
  /**
32824
- * Whether the commenter is also the author of the post.
32828
+ * Whether the commenter is also the author of the post. Null when the serving source does not report it.
32825
32829
  */
32826
- isAuthor?: boolean;
32830
+ isAuthor?: boolean | null;
32827
32831
  /**
32828
32832
  * The post the comment was left on, so the comment can be read in context. Populated whenever the provider has data for the entity.
32829
32833
  * Present whenever the upstream returns this record.
@@ -35460,7 +35464,7 @@ declare class LinkedinNamespace {
35460
35464
  *
35461
35465
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
35462
35466
  *
35463
- * Price: $0.005 per request.
35467
+ * Price: $0.0029 per request.
35464
35468
  *
35465
35469
  * @example
35466
35470
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -35562,7 +35566,7 @@ declare class LinkedinNamespace {
35562
35566
  *
35563
35567
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
35564
35568
  *
35565
- * Price: $0.005 per request.
35569
+ * Price: $0.0029 per request.
35566
35570
  *
35567
35571
  * @example
35568
35572
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -35606,7 +35610,7 @@ declare class LinkedinNamespace {
35606
35610
  *
35607
35611
  * List the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.
35608
35612
  *
35609
- * Price: $0.005 per request.
35613
+ * Price: $0.0029 per request.
35610
35614
  *
35611
35615
  * @example
35612
35616
  * const res = await client.linkedin.profileComments({ url: "https://www.linkedin.com/in/jeffweiner08", limit: 10 });
@@ -35653,7 +35657,7 @@ declare class LinkedinNamespace {
35653
35657
  *
35654
35658
  * List the posts a LinkedIn member has reacted to - the reaction, its timestamp, and the full post it was made on with author and engagement.
35655
35659
  *
35656
- * Price: $0.005 per request.
35660
+ * Price: $0.0029 per request.
35657
35661
  *
35658
35662
  * @example
35659
35663
  * const res = await client.linkedin.profileReactions({ url: "https://www.linkedin.com/in/williamhgates", limit: 10 });
@@ -54559,7 +54563,7 @@ declare class SnapchatNamespace {
54559
54563
  *
54560
54564
  * Fetch a Snapchat user's public profile by username: display name, bio, subscriber count, and recent public content.
54561
54565
  *
54562
- * Price: $0.0012 per request.
54566
+ * Price: $0.0011 per request.
54563
54567
  *
54564
54568
  * @example
54565
54569
  * const res = await client.snapchat.profile({ username: "nasa" });
@@ -56438,7 +56442,7 @@ declare class ThreadsNamespace {
56438
56442
  *
56439
56443
  * Fetch a single Threads post by URL: text, author, engagement counts, and timestamp.
56440
56444
  *
56441
- * Price: $0.0012 per request.
56445
+ * Price: $0.0011 per request.
56442
56446
  *
56443
56447
  * @example
56444
56448
  * const res = await client.threads.post({ url: "https://www.threads.com/@aaronparnas/post/DZxPYVFkYSq" });
@@ -62260,7 +62264,7 @@ declare class TruthsocialNamespace {
62260
62264
  *
62261
62265
  * Get a single Truth Social post by its URL - text, author, engagement (likes, comments, shares), and timestamp as clean JSON.
62262
62266
  *
62263
- * Price: $0.0012 per request.
62267
+ * Price: $0.0011 per request.
62264
62268
  *
62265
62269
  * @example
62266
62270
  * const res = await client.truthsocial.post({ url: "https://truthsocial.com/@realDonaldTrump/posts/116824551176646175" });
@@ -62271,7 +62275,7 @@ declare class TruthsocialNamespace {
62271
62275
  *
62272
62276
  * Get a Truth Social account's public profile by handle - display name, bio, follower/following counts, and post count as clean JSON.
62273
62277
  *
62274
- * Price: $0.0012 per request.
62278
+ * Price: $0.0011 per request.
62275
62279
  *
62276
62280
  * @example
62277
62281
  * const res = await client.truthsocial.profile({ handle: "DevinNunes" });
@@ -64282,7 +64286,7 @@ declare class TwitterNamespace {
64282
64286
  *
64283
64287
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
64284
64288
  *
64285
- * Price: $0.0007 per request.
64289
+ * Price: $0.00075 per request.
64286
64290
  *
64287
64291
  * @example
64288
64292
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
package/dist/index.d.ts CHANGED
@@ -5574,7 +5574,7 @@ declare class BlueskyNamespace {
5574
5574
  *
5575
5575
  * Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON.
5576
5576
  *
5577
- * Price: $0.0012 per request.
5577
+ * Price: $0.0011 per request.
5578
5578
  *
5579
5579
  * @example
5580
5580
  * const res = await client.bluesky.post({ url: "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l" });
@@ -5585,7 +5585,7 @@ declare class BlueskyNamespace {
5585
5585
  *
5586
5586
  * Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.
5587
5587
  *
5588
- * Price: $0.0012 per request.
5588
+ * Price: $0.0011 per request.
5589
5589
  *
5590
5590
  * @example
5591
5591
  * const res = await client.bluesky.profile({ handle: "bsky.app" });
@@ -5596,7 +5596,7 @@ declare class BlueskyNamespace {
5596
5596
  *
5597
5597
  * List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.
5598
5598
  *
5599
- * Price: $0.0012 per request.
5599
+ * Price: $0.0011 per request.
5600
5600
  *
5601
5601
  * @example
5602
5602
  * const res = await client.bluesky.userPosts({ handle: "bsky.app" });
@@ -32738,6 +32738,10 @@ interface LinkedinProfileCommentsInput {
32738
32738
  * Range: minimum 1.
32739
32739
  */
32740
32740
  preferLatencyUnderMs?: number;
32741
+ /**
32742
+ * 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 `edited` or `isAuthor`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
32743
+ */
32744
+ requireFields?: ("edited" | "isAuthor")[];
32741
32745
  /**
32742
32746
  * 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`.
32743
32747
  */
@@ -32793,9 +32797,9 @@ interface LinkedinProfileCommentsItem {
32793
32797
  */
32794
32798
  createdUtc?: number;
32795
32799
  /**
32796
- * Whether the comment has been edited.
32800
+ * Whether the comment has been edited. Null when the serving source does not report it.
32797
32801
  */
32798
- edited?: boolean;
32802
+ edited?: boolean | null;
32799
32803
  /**
32800
32804
  * Engagement metrics for the comment.
32801
32805
  */
@@ -32821,9 +32825,9 @@ interface LinkedinProfileCommentsItem {
32821
32825
  */
32822
32826
  id: string;
32823
32827
  /**
32824
- * Whether the commenter is also the author of the post.
32828
+ * Whether the commenter is also the author of the post. Null when the serving source does not report it.
32825
32829
  */
32826
- isAuthor?: boolean;
32830
+ isAuthor?: boolean | null;
32827
32831
  /**
32828
32832
  * The post the comment was left on, so the comment can be read in context. Populated whenever the provider has data for the entity.
32829
32833
  * Present whenever the upstream returns this record.
@@ -35460,7 +35464,7 @@ declare class LinkedinNamespace {
35460
35464
  *
35461
35465
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
35462
35466
  *
35463
- * Price: $0.005 per request.
35467
+ * Price: $0.0029 per request.
35464
35468
  *
35465
35469
  * @example
35466
35470
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -35562,7 +35566,7 @@ declare class LinkedinNamespace {
35562
35566
  *
35563
35567
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
35564
35568
  *
35565
- * Price: $0.005 per request.
35569
+ * Price: $0.0029 per request.
35566
35570
  *
35567
35571
  * @example
35568
35572
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -35606,7 +35610,7 @@ declare class LinkedinNamespace {
35606
35610
  *
35607
35611
  * List the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.
35608
35612
  *
35609
- * Price: $0.005 per request.
35613
+ * Price: $0.0029 per request.
35610
35614
  *
35611
35615
  * @example
35612
35616
  * const res = await client.linkedin.profileComments({ url: "https://www.linkedin.com/in/jeffweiner08", limit: 10 });
@@ -35653,7 +35657,7 @@ declare class LinkedinNamespace {
35653
35657
  *
35654
35658
  * List the posts a LinkedIn member has reacted to - the reaction, its timestamp, and the full post it was made on with author and engagement.
35655
35659
  *
35656
- * Price: $0.005 per request.
35660
+ * Price: $0.0029 per request.
35657
35661
  *
35658
35662
  * @example
35659
35663
  * const res = await client.linkedin.profileReactions({ url: "https://www.linkedin.com/in/williamhgates", limit: 10 });
@@ -54559,7 +54563,7 @@ declare class SnapchatNamespace {
54559
54563
  *
54560
54564
  * Fetch a Snapchat user's public profile by username: display name, bio, subscriber count, and recent public content.
54561
54565
  *
54562
- * Price: $0.0012 per request.
54566
+ * Price: $0.0011 per request.
54563
54567
  *
54564
54568
  * @example
54565
54569
  * const res = await client.snapchat.profile({ username: "nasa" });
@@ -56438,7 +56442,7 @@ declare class ThreadsNamespace {
56438
56442
  *
56439
56443
  * Fetch a single Threads post by URL: text, author, engagement counts, and timestamp.
56440
56444
  *
56441
- * Price: $0.0012 per request.
56445
+ * Price: $0.0011 per request.
56442
56446
  *
56443
56447
  * @example
56444
56448
  * const res = await client.threads.post({ url: "https://www.threads.com/@aaronparnas/post/DZxPYVFkYSq" });
@@ -62260,7 +62264,7 @@ declare class TruthsocialNamespace {
62260
62264
  *
62261
62265
  * Get a single Truth Social post by its URL - text, author, engagement (likes, comments, shares), and timestamp as clean JSON.
62262
62266
  *
62263
- * Price: $0.0012 per request.
62267
+ * Price: $0.0011 per request.
62264
62268
  *
62265
62269
  * @example
62266
62270
  * const res = await client.truthsocial.post({ url: "https://truthsocial.com/@realDonaldTrump/posts/116824551176646175" });
@@ -62271,7 +62275,7 @@ declare class TruthsocialNamespace {
62271
62275
  *
62272
62276
  * Get a Truth Social account's public profile by handle - display name, bio, follower/following counts, and post count as clean JSON.
62273
62277
  *
62274
- * Price: $0.0012 per request.
62278
+ * Price: $0.0011 per request.
62275
62279
  *
62276
62280
  * @example
62277
62281
  * const res = await client.truthsocial.profile({ handle: "DevinNunes" });
@@ -64282,7 +64286,7 @@ declare class TwitterNamespace {
64282
64286
  *
64283
64287
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
64284
64288
  *
64285
- * Price: $0.0007 per request.
64289
+ * Price: $0.00075 per request.
64286
64290
  *
64287
64291
  * @example
64288
64292
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
package/dist/index.js CHANGED
@@ -1441,7 +1441,7 @@ var BlueskyNamespace = class {
1441
1441
  *
1442
1442
  * Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON.
1443
1443
  *
1444
- * Price: $0.0012 per request.
1444
+ * Price: $0.0011 per request.
1445
1445
  *
1446
1446
  * @example
1447
1447
  * const res = await client.bluesky.post({ url: "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l" });
@@ -1454,7 +1454,7 @@ var BlueskyNamespace = class {
1454
1454
  *
1455
1455
  * Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.
1456
1456
  *
1457
- * Price: $0.0012 per request.
1457
+ * Price: $0.0011 per request.
1458
1458
  *
1459
1459
  * @example
1460
1460
  * const res = await client.bluesky.profile({ handle: "bsky.app" });
@@ -1467,7 +1467,7 @@ var BlueskyNamespace = class {
1467
1467
  *
1468
1468
  * List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.
1469
1469
  *
1470
- * Price: $0.0012 per request.
1470
+ * Price: $0.0011 per request.
1471
1471
  *
1472
1472
  * @example
1473
1473
  * const res = await client.bluesky.userPosts({ handle: "bsky.app" });
@@ -4508,7 +4508,7 @@ var LinkedinNamespace = class {
4508
4508
  *
4509
4509
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
4510
4510
  *
4511
- * Price: $0.005 per request.
4511
+ * Price: $0.0029 per request.
4512
4512
  *
4513
4513
  * @example
4514
4514
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -4644,7 +4644,7 @@ var LinkedinNamespace = class {
4644
4644
  *
4645
4645
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
4646
4646
  *
4647
- * Price: $0.005 per request.
4647
+ * Price: $0.0029 per request.
4648
4648
  *
4649
4649
  * @example
4650
4650
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -4696,7 +4696,7 @@ var LinkedinNamespace = class {
4696
4696
  *
4697
4697
  * List the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.
4698
4698
  *
4699
- * Price: $0.005 per request.
4699
+ * Price: $0.0029 per request.
4700
4700
  *
4701
4701
  * @example
4702
4702
  * const res = await client.linkedin.profileComments({ url: "https://www.linkedin.com/in/jeffweiner08", limit: 10 });
@@ -4767,7 +4767,7 @@ var LinkedinNamespace = class {
4767
4767
  *
4768
4768
  * List the posts a LinkedIn member has reacted to - the reaction, its timestamp, and the full post it was made on with author and engagement.
4769
4769
  *
4770
- * Price: $0.005 per request.
4770
+ * Price: $0.0029 per request.
4771
4771
  *
4772
4772
  * @example
4773
4773
  * const res = await client.linkedin.profileReactions({ url: "https://www.linkedin.com/in/williamhgates", limit: 10 });
@@ -6467,7 +6467,7 @@ var SnapchatNamespace = class {
6467
6467
  *
6468
6468
  * Fetch a Snapchat user's public profile by username: display name, bio, subscriber count, and recent public content.
6469
6469
  *
6470
- * Price: $0.0012 per request.
6470
+ * Price: $0.0011 per request.
6471
6471
  *
6472
6472
  * @example
6473
6473
  * const res = await client.snapchat.profile({ username: "nasa" });
@@ -6666,7 +6666,7 @@ var ThreadsNamespace = class {
6666
6666
  *
6667
6667
  * Fetch a single Threads post by URL: text, author, engagement counts, and timestamp.
6668
6668
  *
6669
- * Price: $0.0012 per request.
6669
+ * Price: $0.0011 per request.
6670
6670
  *
6671
6671
  * @example
6672
6672
  * const res = await client.threads.post({ url: "https://www.threads.com/@aaronparnas/post/DZxPYVFkYSq" });
@@ -7647,7 +7647,7 @@ var TruthsocialNamespace = class {
7647
7647
  *
7648
7648
  * Get a single Truth Social post by its URL - text, author, engagement (likes, comments, shares), and timestamp as clean JSON.
7649
7649
  *
7650
- * Price: $0.0012 per request.
7650
+ * Price: $0.0011 per request.
7651
7651
  *
7652
7652
  * @example
7653
7653
  * const res = await client.truthsocial.post({ url: "https://truthsocial.com/@realDonaldTrump/posts/116824551176646175" });
@@ -7660,7 +7660,7 @@ var TruthsocialNamespace = class {
7660
7660
  *
7661
7661
  * Get a Truth Social account's public profile by handle - display name, bio, follower/following counts, and post count as clean JSON.
7662
7662
  *
7663
- * Price: $0.0012 per request.
7663
+ * Price: $0.0011 per request.
7664
7664
  *
7665
7665
  * @example
7666
7666
  * const res = await client.truthsocial.profile({ handle: "DevinNunes" });
@@ -7907,7 +7907,7 @@ var TwitterNamespace = class {
7907
7907
  *
7908
7908
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
7909
7909
  *
7910
- * Price: $0.0007 per request.
7910
+ * Price: $0.00075 per request.
7911
7911
  *
7912
7912
  * @example
7913
7913
  * const res = await client.twitter.searchUsers({ query: "ai agents" });