@getanyapi/sdk 0.59.0 → 0.60.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.cjs.map +1 -1
- package/dist/index.d.cts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -56437,7 +56437,7 @@ interface TwitterSearchInput {
|
|
|
56437
56437
|
/**
|
|
56438
56438
|
* 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 `nextCursor` or `media`, 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. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
56439
56439
|
*/
|
|
56440
|
-
requireFields?: ("authorFollowers" | "authorId" | "authorImage" | "authorVerified" | "bookmarkCount" | "conversationId" | "isReply" | "lang" | "likeCount" | "media" | "nextCursor" | "quoteCount" | "replyCount" | "retweetCount" | "viewCount")[];
|
|
56440
|
+
requireFields?: ("authorFollowers" | "authorId" | "authorImage" | "authorVerified" | "bookmarkCount" | "conversationId" | "inReplyToId" | "isReply" | "lang" | "likeCount" | "media" | "nextCursor" | "quoteCount" | "replyCount" | "retweetCount" | "viewCount")[];
|
|
56441
56441
|
/**
|
|
56442
56442
|
* Set true to get up to limit results in one response instead of provider-native pages, served by a bulk provider when needed.
|
|
56443
56443
|
*/
|
|
@@ -56470,6 +56470,10 @@ interface TwitterSearchItem {
|
|
|
56470
56470
|
* Populated whenever the provider has data for the entity.
|
|
56471
56471
|
*/
|
|
56472
56472
|
id: string;
|
|
56473
|
+
/**
|
|
56474
|
+
* Id of the post this post directly replies to, as a string, or null when the post is not a reply.
|
|
56475
|
+
*/
|
|
56476
|
+
inReplyToId?: string | null;
|
|
56473
56477
|
isReply?: boolean;
|
|
56474
56478
|
lang?: string;
|
|
56475
56479
|
likeCount?: number;
|
|
@@ -57029,7 +57033,7 @@ interface TwitterTweetInput {
|
|
|
57029
57033
|
/**
|
|
57030
57034
|
* 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 `media` or `videoUrl`, 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 tweet that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
57031
57035
|
*/
|
|
57032
|
-
requireFields?: ("authorHandle" | "authorImage" | "authorName" | "authorVerified" | "bookmarks" | "conversationId" | "height" | "lang" | "likes" | "media" | "quotes" | "replies" | "retweets" | "type" | "url" | "videoUrl" | "views" | "width")[];
|
|
57036
|
+
requireFields?: ("authorHandle" | "authorImage" | "authorName" | "authorVerified" | "bookmarks" | "conversationId" | "height" | "inReplyToId" | "lang" | "likes" | "media" | "quotes" | "replies" | "retweets" | "type" | "url" | "videoUrl" | "views" | "width")[];
|
|
57033
57037
|
/**
|
|
57034
57038
|
* 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`.
|
|
57035
57039
|
*/
|
|
@@ -57101,6 +57105,10 @@ interface TwitterTweetData {
|
|
|
57101
57105
|
* Populated whenever the provider has data for the entity.
|
|
57102
57106
|
*/
|
|
57103
57107
|
id: string;
|
|
57108
|
+
/**
|
|
57109
|
+
* Id of the post this post directly replies to, as a string, or null when the post is not a reply.
|
|
57110
|
+
*/
|
|
57111
|
+
inReplyToId?: string | null;
|
|
57104
57112
|
/**
|
|
57105
57113
|
* Two-letter language code X detected for the post.
|
|
57106
57114
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -56437,7 +56437,7 @@ interface TwitterSearchInput {
|
|
|
56437
56437
|
/**
|
|
56438
56438
|
* 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 `nextCursor` or `media`, 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. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
56439
56439
|
*/
|
|
56440
|
-
requireFields?: ("authorFollowers" | "authorId" | "authorImage" | "authorVerified" | "bookmarkCount" | "conversationId" | "isReply" | "lang" | "likeCount" | "media" | "nextCursor" | "quoteCount" | "replyCount" | "retweetCount" | "viewCount")[];
|
|
56440
|
+
requireFields?: ("authorFollowers" | "authorId" | "authorImage" | "authorVerified" | "bookmarkCount" | "conversationId" | "inReplyToId" | "isReply" | "lang" | "likeCount" | "media" | "nextCursor" | "quoteCount" | "replyCount" | "retweetCount" | "viewCount")[];
|
|
56441
56441
|
/**
|
|
56442
56442
|
* Set true to get up to limit results in one response instead of provider-native pages, served by a bulk provider when needed.
|
|
56443
56443
|
*/
|
|
@@ -56470,6 +56470,10 @@ interface TwitterSearchItem {
|
|
|
56470
56470
|
* Populated whenever the provider has data for the entity.
|
|
56471
56471
|
*/
|
|
56472
56472
|
id: string;
|
|
56473
|
+
/**
|
|
56474
|
+
* Id of the post this post directly replies to, as a string, or null when the post is not a reply.
|
|
56475
|
+
*/
|
|
56476
|
+
inReplyToId?: string | null;
|
|
56473
56477
|
isReply?: boolean;
|
|
56474
56478
|
lang?: string;
|
|
56475
56479
|
likeCount?: number;
|
|
@@ -57029,7 +57033,7 @@ interface TwitterTweetInput {
|
|
|
57029
57033
|
/**
|
|
57030
57034
|
* 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 `media` or `videoUrl`, 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 tweet that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
57031
57035
|
*/
|
|
57032
|
-
requireFields?: ("authorHandle" | "authorImage" | "authorName" | "authorVerified" | "bookmarks" | "conversationId" | "height" | "lang" | "likes" | "media" | "quotes" | "replies" | "retweets" | "type" | "url" | "videoUrl" | "views" | "width")[];
|
|
57036
|
+
requireFields?: ("authorHandle" | "authorImage" | "authorName" | "authorVerified" | "bookmarks" | "conversationId" | "height" | "inReplyToId" | "lang" | "likes" | "media" | "quotes" | "replies" | "retweets" | "type" | "url" | "videoUrl" | "views" | "width")[];
|
|
57033
57037
|
/**
|
|
57034
57038
|
* 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`.
|
|
57035
57039
|
*/
|
|
@@ -57101,6 +57105,10 @@ interface TwitterTweetData {
|
|
|
57101
57105
|
* Populated whenever the provider has data for the entity.
|
|
57102
57106
|
*/
|
|
57103
57107
|
id: string;
|
|
57108
|
+
/**
|
|
57109
|
+
* Id of the post this post directly replies to, as a string, or null when the post is not a reply.
|
|
57110
|
+
*/
|
|
57111
|
+
inReplyToId?: string | null;
|
|
57104
57112
|
/**
|
|
57105
57113
|
* Two-letter language code X detected for the post.
|
|
57106
57114
|
*/
|