@getanyapi/sdk 0.119.7 → 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
@@ -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 });
@@ -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
@@ -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 });
@@ -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
@@ -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 });
@@ -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" });