@getanyapi/sdk 0.82.0 → 0.83.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 +48 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -4
- package/dist/index.d.ts +53 -4
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4474,6 +4474,10 @@ interface AppstoreReviewsInput {
|
|
|
4474
4474
|
* Default: us.
|
|
4475
4475
|
*/
|
|
4476
4476
|
country?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of reviews.
|
|
4479
|
+
*/
|
|
4480
|
+
cursor?: string;
|
|
4477
4481
|
/**
|
|
4478
4482
|
* Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
|
|
4479
4483
|
*/
|
|
@@ -4489,9 +4493,9 @@ interface AppstoreReviewsInput {
|
|
|
4489
4493
|
*/
|
|
4490
4494
|
preferLatencyUnderMs?: number;
|
|
4491
4495
|
/**
|
|
4492
|
-
* 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 `helpfulVotes` or `version`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
4496
|
+
* 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 `helpfulVotes` or `version`, 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 review 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.
|
|
4493
4497
|
*/
|
|
4494
|
-
requireFields?: ("appId" | "helpfulVotes" | "url" | "version")[];
|
|
4498
|
+
requireFields?: ("appId" | "helpfulVotes" | "nextCursor" | "url" | "version")[];
|
|
4495
4499
|
/**
|
|
4496
4500
|
* 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`.
|
|
4497
4501
|
*/
|
|
@@ -4552,6 +4556,10 @@ interface AppstoreReviewsData {
|
|
|
4552
4556
|
* Review records: star rating, review title and text, reviewer nickname, app version, and review date. Populated whenever the provider has data for the entity.
|
|
4553
4557
|
*/
|
|
4554
4558
|
items: AppstoreReviewsItem[];
|
|
4559
|
+
/**
|
|
4560
|
+
* Opaque cursor for the next page of reviews, or null when there are no more. Pass it back as cursor to continue.
|
|
4561
|
+
*/
|
|
4562
|
+
nextCursor?: string | null;
|
|
4555
4563
|
}
|
|
4556
4564
|
/**
|
|
4557
4565
|
* Typed methods for the appstore platform. Attached to the AnyAPI client as
|
|
@@ -4571,6 +4579,13 @@ declare class AppstoreNamespace {
|
|
|
4571
4579
|
* const res = await client.appstore.reviews({ appId: "389801252", country: "us", limit: 3 });
|
|
4572
4580
|
*/
|
|
4573
4581
|
reviews(input: AppstoreReviewsInput, options?: RequestOptions): Promise<RunResult<AppstoreReviewsData>>;
|
|
4582
|
+
/**
|
|
4583
|
+
* Iterate every result of App Store Reviews across pages.
|
|
4584
|
+
*
|
|
4585
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4586
|
+
* result pages instead (each carries its own costUsd).
|
|
4587
|
+
*/
|
|
4588
|
+
iterReviews(input: AppstoreReviewsInput, options?: RequestOptions): Paginator<AppstoreReviewsItem, RunResult<AppstoreReviewsData>>;
|
|
4574
4589
|
}
|
|
4575
4590
|
|
|
4576
4591
|
/**
|
|
@@ -52884,6 +52899,10 @@ interface TiktokHashtagVideosInput {
|
|
|
52884
52899
|
* Default: true.
|
|
52885
52900
|
*/
|
|
52886
52901
|
allowFallbacks?: boolean;
|
|
52902
|
+
/**
|
|
52903
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of videos.
|
|
52904
|
+
*/
|
|
52905
|
+
cursor?: string;
|
|
52887
52906
|
/**
|
|
52888
52907
|
* TikTok hashtag to fetch videos for, without the # prefix (e.g. booktok).
|
|
52889
52908
|
*/
|
|
@@ -52903,9 +52922,9 @@ interface TiktokHashtagVideosInput {
|
|
|
52903
52922
|
*/
|
|
52904
52923
|
preferLatencyUnderMs?: number;
|
|
52905
52924
|
/**
|
|
52906
|
-
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it.
|
|
52925
|
+
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it. 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.
|
|
52907
52926
|
*/
|
|
52908
|
-
requireFields?: ("commentCount" | "likeCount" | "playCount" | "shareCount")[];
|
|
52927
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount")[];
|
|
52909
52928
|
/**
|
|
52910
52929
|
* 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`.
|
|
52911
52930
|
*/
|
|
@@ -52990,6 +53009,10 @@ interface TiktokHashtagVideosData {
|
|
|
52990
53009
|
* Recent TikTok video records for the hashtag. Populated whenever the provider has data for the entity.
|
|
52991
53010
|
*/
|
|
52992
53011
|
items: TiktokHashtagVideosItem[];
|
|
53012
|
+
/**
|
|
53013
|
+
* Opaque cursor for the next page of videos, or null when there are no more. Pass it back as cursor to continue.
|
|
53014
|
+
*/
|
|
53015
|
+
nextCursor?: string | null;
|
|
52993
53016
|
}
|
|
52994
53017
|
/**
|
|
52995
53018
|
* Input for TikTok Live (tiktok.live).
|
|
@@ -55557,6 +55580,13 @@ declare class TiktokNamespace {
|
|
|
55557
55580
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
55558
55581
|
*/
|
|
55559
55582
|
hashtagVideos(input: TiktokHashtagVideosInput, options?: RequestOptions): Promise<RunResult<TiktokHashtagVideosData>>;
|
|
55583
|
+
/**
|
|
55584
|
+
* Iterate every result of TikTok Hashtag Videos across pages.
|
|
55585
|
+
*
|
|
55586
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
55587
|
+
* result pages instead (each carries its own costUsd).
|
|
55588
|
+
*/
|
|
55589
|
+
iterHashtagVideos(input: TiktokHashtagVideosInput, options?: RequestOptions): Paginator<TiktokHashtagVideosItem, RunResult<TiktokHashtagVideosData>>;
|
|
55560
55590
|
/**
|
|
55561
55591
|
* TikTok Live
|
|
55562
55592
|
*
|
|
@@ -58222,6 +58252,10 @@ interface TwitterRepliesInput {
|
|
|
58222
58252
|
* Default: true.
|
|
58223
58253
|
*/
|
|
58224
58254
|
allowFallbacks?: boolean;
|
|
58255
|
+
/**
|
|
58256
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of replies.
|
|
58257
|
+
*/
|
|
58258
|
+
cursor?: string;
|
|
58225
58259
|
/**
|
|
58226
58260
|
* Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
|
|
58227
58261
|
*/
|
|
@@ -58236,6 +58270,10 @@ interface TwitterRepliesInput {
|
|
|
58236
58270
|
* Range: minimum 1.
|
|
58237
58271
|
*/
|
|
58238
58272
|
preferLatencyUnderMs?: number;
|
|
58273
|
+
/**
|
|
58274
|
+
* 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`, 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. 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.
|
|
58275
|
+
*/
|
|
58276
|
+
requireFields?: "nextCursor"[];
|
|
58239
58277
|
/**
|
|
58240
58278
|
* 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`.
|
|
58241
58279
|
*/
|
|
@@ -58333,6 +58371,10 @@ interface TwitterRepliesData {
|
|
|
58333
58371
|
* Reply records for the requested post. Populated whenever the provider has data for the entity.
|
|
58334
58372
|
*/
|
|
58335
58373
|
items: TwitterRepliesItem[];
|
|
58374
|
+
/**
|
|
58375
|
+
* Opaque cursor for the next page of replies, or null when there are no more. Pass it back as cursor to continue.
|
|
58376
|
+
*/
|
|
58377
|
+
nextCursor?: string | null;
|
|
58336
58378
|
}
|
|
58337
58379
|
/**
|
|
58338
58380
|
* Input for X / Twitter Search (twitter.search).
|
|
@@ -59495,6 +59537,13 @@ declare class TwitterNamespace {
|
|
|
59495
59537
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
59496
59538
|
*/
|
|
59497
59539
|
replies(input: TwitterRepliesInput, options?: RequestOptions): Promise<RunResult<TwitterRepliesData>>;
|
|
59540
|
+
/**
|
|
59541
|
+
* Iterate every result of X / Twitter Post Replies across pages.
|
|
59542
|
+
*
|
|
59543
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
59544
|
+
* result pages instead (each carries its own costUsd).
|
|
59545
|
+
*/
|
|
59546
|
+
iterReplies(input: TwitterRepliesInput, options?: RequestOptions): Paginator<TwitterRepliesItem, RunResult<TwitterRepliesData>>;
|
|
59498
59547
|
/**
|
|
59499
59548
|
* X / Twitter Search
|
|
59500
59549
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -4474,6 +4474,10 @@ interface AppstoreReviewsInput {
|
|
|
4474
4474
|
* Default: us.
|
|
4475
4475
|
*/
|
|
4476
4476
|
country?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of reviews.
|
|
4479
|
+
*/
|
|
4480
|
+
cursor?: string;
|
|
4477
4481
|
/**
|
|
4478
4482
|
* Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
|
|
4479
4483
|
*/
|
|
@@ -4489,9 +4493,9 @@ interface AppstoreReviewsInput {
|
|
|
4489
4493
|
*/
|
|
4490
4494
|
preferLatencyUnderMs?: number;
|
|
4491
4495
|
/**
|
|
4492
|
-
* 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 `helpfulVotes` or `version`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
4496
|
+
* 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 `helpfulVotes` or `version`, 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 review 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.
|
|
4493
4497
|
*/
|
|
4494
|
-
requireFields?: ("appId" | "helpfulVotes" | "url" | "version")[];
|
|
4498
|
+
requireFields?: ("appId" | "helpfulVotes" | "nextCursor" | "url" | "version")[];
|
|
4495
4499
|
/**
|
|
4496
4500
|
* 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`.
|
|
4497
4501
|
*/
|
|
@@ -4552,6 +4556,10 @@ interface AppstoreReviewsData {
|
|
|
4552
4556
|
* Review records: star rating, review title and text, reviewer nickname, app version, and review date. Populated whenever the provider has data for the entity.
|
|
4553
4557
|
*/
|
|
4554
4558
|
items: AppstoreReviewsItem[];
|
|
4559
|
+
/**
|
|
4560
|
+
* Opaque cursor for the next page of reviews, or null when there are no more. Pass it back as cursor to continue.
|
|
4561
|
+
*/
|
|
4562
|
+
nextCursor?: string | null;
|
|
4555
4563
|
}
|
|
4556
4564
|
/**
|
|
4557
4565
|
* Typed methods for the appstore platform. Attached to the AnyAPI client as
|
|
@@ -4571,6 +4579,13 @@ declare class AppstoreNamespace {
|
|
|
4571
4579
|
* const res = await client.appstore.reviews({ appId: "389801252", country: "us", limit: 3 });
|
|
4572
4580
|
*/
|
|
4573
4581
|
reviews(input: AppstoreReviewsInput, options?: RequestOptions): Promise<RunResult<AppstoreReviewsData>>;
|
|
4582
|
+
/**
|
|
4583
|
+
* Iterate every result of App Store Reviews across pages.
|
|
4584
|
+
*
|
|
4585
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4586
|
+
* result pages instead (each carries its own costUsd).
|
|
4587
|
+
*/
|
|
4588
|
+
iterReviews(input: AppstoreReviewsInput, options?: RequestOptions): Paginator<AppstoreReviewsItem, RunResult<AppstoreReviewsData>>;
|
|
4574
4589
|
}
|
|
4575
4590
|
|
|
4576
4591
|
/**
|
|
@@ -52884,6 +52899,10 @@ interface TiktokHashtagVideosInput {
|
|
|
52884
52899
|
* Default: true.
|
|
52885
52900
|
*/
|
|
52886
52901
|
allowFallbacks?: boolean;
|
|
52902
|
+
/**
|
|
52903
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of videos.
|
|
52904
|
+
*/
|
|
52905
|
+
cursor?: string;
|
|
52887
52906
|
/**
|
|
52888
52907
|
* TikTok hashtag to fetch videos for, without the # prefix (e.g. booktok).
|
|
52889
52908
|
*/
|
|
@@ -52903,9 +52922,9 @@ interface TiktokHashtagVideosInput {
|
|
|
52903
52922
|
*/
|
|
52904
52923
|
preferLatencyUnderMs?: number;
|
|
52905
52924
|
/**
|
|
52906
|
-
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it.
|
|
52925
|
+
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it. 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.
|
|
52907
52926
|
*/
|
|
52908
|
-
requireFields?: ("commentCount" | "likeCount" | "playCount" | "shareCount")[];
|
|
52927
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount")[];
|
|
52909
52928
|
/**
|
|
52910
52929
|
* 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`.
|
|
52911
52930
|
*/
|
|
@@ -52990,6 +53009,10 @@ interface TiktokHashtagVideosData {
|
|
|
52990
53009
|
* Recent TikTok video records for the hashtag. Populated whenever the provider has data for the entity.
|
|
52991
53010
|
*/
|
|
52992
53011
|
items: TiktokHashtagVideosItem[];
|
|
53012
|
+
/**
|
|
53013
|
+
* Opaque cursor for the next page of videos, or null when there are no more. Pass it back as cursor to continue.
|
|
53014
|
+
*/
|
|
53015
|
+
nextCursor?: string | null;
|
|
52993
53016
|
}
|
|
52994
53017
|
/**
|
|
52995
53018
|
* Input for TikTok Live (tiktok.live).
|
|
@@ -55557,6 +55580,13 @@ declare class TiktokNamespace {
|
|
|
55557
55580
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
55558
55581
|
*/
|
|
55559
55582
|
hashtagVideos(input: TiktokHashtagVideosInput, options?: RequestOptions): Promise<RunResult<TiktokHashtagVideosData>>;
|
|
55583
|
+
/**
|
|
55584
|
+
* Iterate every result of TikTok Hashtag Videos across pages.
|
|
55585
|
+
*
|
|
55586
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
55587
|
+
* result pages instead (each carries its own costUsd).
|
|
55588
|
+
*/
|
|
55589
|
+
iterHashtagVideos(input: TiktokHashtagVideosInput, options?: RequestOptions): Paginator<TiktokHashtagVideosItem, RunResult<TiktokHashtagVideosData>>;
|
|
55560
55590
|
/**
|
|
55561
55591
|
* TikTok Live
|
|
55562
55592
|
*
|
|
@@ -58222,6 +58252,10 @@ interface TwitterRepliesInput {
|
|
|
58222
58252
|
* Default: true.
|
|
58223
58253
|
*/
|
|
58224
58254
|
allowFallbacks?: boolean;
|
|
58255
|
+
/**
|
|
58256
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of replies.
|
|
58257
|
+
*/
|
|
58258
|
+
cursor?: string;
|
|
58225
58259
|
/**
|
|
58226
58260
|
* Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
|
|
58227
58261
|
*/
|
|
@@ -58236,6 +58270,10 @@ interface TwitterRepliesInput {
|
|
|
58236
58270
|
* Range: minimum 1.
|
|
58237
58271
|
*/
|
|
58238
58272
|
preferLatencyUnderMs?: number;
|
|
58273
|
+
/**
|
|
58274
|
+
* 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`, 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. 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.
|
|
58275
|
+
*/
|
|
58276
|
+
requireFields?: "nextCursor"[];
|
|
58239
58277
|
/**
|
|
58240
58278
|
* 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`.
|
|
58241
58279
|
*/
|
|
@@ -58333,6 +58371,10 @@ interface TwitterRepliesData {
|
|
|
58333
58371
|
* Reply records for the requested post. Populated whenever the provider has data for the entity.
|
|
58334
58372
|
*/
|
|
58335
58373
|
items: TwitterRepliesItem[];
|
|
58374
|
+
/**
|
|
58375
|
+
* Opaque cursor for the next page of replies, or null when there are no more. Pass it back as cursor to continue.
|
|
58376
|
+
*/
|
|
58377
|
+
nextCursor?: string | null;
|
|
58336
58378
|
}
|
|
58337
58379
|
/**
|
|
58338
58380
|
* Input for X / Twitter Search (twitter.search).
|
|
@@ -59495,6 +59537,13 @@ declare class TwitterNamespace {
|
|
|
59495
59537
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
59496
59538
|
*/
|
|
59497
59539
|
replies(input: TwitterRepliesInput, options?: RequestOptions): Promise<RunResult<TwitterRepliesData>>;
|
|
59540
|
+
/**
|
|
59541
|
+
* Iterate every result of X / Twitter Post Replies across pages.
|
|
59542
|
+
*
|
|
59543
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
59544
|
+
* result pages instead (each carries its own costUsd).
|
|
59545
|
+
*/
|
|
59546
|
+
iterReplies(input: TwitterRepliesInput, options?: RequestOptions): Paginator<TwitterRepliesItem, RunResult<TwitterRepliesData>>;
|
|
59498
59547
|
/**
|
|
59499
59548
|
* X / Twitter Search
|
|
59500
59549
|
*
|
package/dist/index.js
CHANGED
|
@@ -1352,6 +1352,22 @@ var AppstoreNamespace = class {
|
|
|
1352
1352
|
reviews(input, options) {
|
|
1353
1353
|
return this._core.run("appstore.reviews", input, options);
|
|
1354
1354
|
}
|
|
1355
|
+
/**
|
|
1356
|
+
* Iterate every result of App Store Reviews across pages.
|
|
1357
|
+
*
|
|
1358
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
1359
|
+
* result pages instead (each carries its own costUsd).
|
|
1360
|
+
*/
|
|
1361
|
+
iterReviews(input, options) {
|
|
1362
|
+
return paginate(
|
|
1363
|
+
this._core,
|
|
1364
|
+
"appstore.reviews",
|
|
1365
|
+
input,
|
|
1366
|
+
"items",
|
|
1367
|
+
false,
|
|
1368
|
+
options
|
|
1369
|
+
);
|
|
1370
|
+
}
|
|
1355
1371
|
};
|
|
1356
1372
|
|
|
1357
1373
|
// src/generated/platforms/bluesky.ts
|
|
@@ -6556,6 +6572,22 @@ var TiktokNamespace = class {
|
|
|
6556
6572
|
hashtagVideos(input, options) {
|
|
6557
6573
|
return this._core.run("tiktok.hashtag_videos", input, options);
|
|
6558
6574
|
}
|
|
6575
|
+
/**
|
|
6576
|
+
* Iterate every result of TikTok Hashtag Videos across pages.
|
|
6577
|
+
*
|
|
6578
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6579
|
+
* result pages instead (each carries its own costUsd).
|
|
6580
|
+
*/
|
|
6581
|
+
iterHashtagVideos(input, options) {
|
|
6582
|
+
return paginate(
|
|
6583
|
+
this._core,
|
|
6584
|
+
"tiktok.hashtag_videos",
|
|
6585
|
+
input,
|
|
6586
|
+
"items",
|
|
6587
|
+
false,
|
|
6588
|
+
options
|
|
6589
|
+
);
|
|
6590
|
+
}
|
|
6559
6591
|
/**
|
|
6560
6592
|
* TikTok Live
|
|
6561
6593
|
*
|
|
@@ -7450,6 +7482,22 @@ var TwitterNamespace = class {
|
|
|
7450
7482
|
replies(input, options) {
|
|
7451
7483
|
return this._core.run("twitter.replies", input, options);
|
|
7452
7484
|
}
|
|
7485
|
+
/**
|
|
7486
|
+
* Iterate every result of X / Twitter Post Replies across pages.
|
|
7487
|
+
*
|
|
7488
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
7489
|
+
* result pages instead (each carries its own costUsd).
|
|
7490
|
+
*/
|
|
7491
|
+
iterReplies(input, options) {
|
|
7492
|
+
return paginate(
|
|
7493
|
+
this._core,
|
|
7494
|
+
"twitter.replies",
|
|
7495
|
+
input,
|
|
7496
|
+
"items",
|
|
7497
|
+
false,
|
|
7498
|
+
options
|
|
7499
|
+
);
|
|
7500
|
+
}
|
|
7453
7501
|
/**
|
|
7454
7502
|
* X / Twitter Search
|
|
7455
7503
|
*
|