@getanyapi/sdk 0.103.0 → 0.104.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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -128
- package/dist/index.d.ts +139 -128
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
|
|
|
5011
5011
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5012
5012
|
*
|
|
5013
5013
|
* @example
|
|
5014
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
5014
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
|
|
5015
5015
|
*/
|
|
5016
5016
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5017
5017
|
}
|
|
@@ -5423,7 +5423,7 @@ interface ChatgptSearchPlace {
|
|
|
5423
5423
|
*/
|
|
5424
5424
|
reviewCount?: number | null;
|
|
5425
5425
|
/**
|
|
5426
|
-
* Place website URL
|
|
5426
|
+
* Place website URL with tracking parameters stripped; an id parameter is kept, since a page such as Facebook profile.php needs it.
|
|
5427
5427
|
* Format: uri.
|
|
5428
5428
|
*/
|
|
5429
5429
|
websiteUrl?: string | null;
|
|
@@ -5476,7 +5476,7 @@ interface ChatgptSearchShoppingCard {
|
|
|
5476
5476
|
*/
|
|
5477
5477
|
title: string;
|
|
5478
5478
|
/**
|
|
5479
|
-
* Product page URL,
|
|
5479
|
+
* Product page URL with its query kept, since the query can name the product variant (e.g. color and size).
|
|
5480
5480
|
* Format: uri.
|
|
5481
5481
|
*/
|
|
5482
5482
|
url?: string | null;
|
|
@@ -21900,7 +21900,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21900
21900
|
* Price: $0.0015 per request.
|
|
21901
21901
|
*
|
|
21902
21902
|
* @example
|
|
21903
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
21903
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
21904
21904
|
*/
|
|
21905
21905
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
21906
21906
|
/**
|
|
@@ -21911,7 +21911,7 @@ declare class GoogleHotelsNamespace {
|
|
|
21911
21911
|
* Price: $0.0015 per request.
|
|
21912
21912
|
*
|
|
21913
21913
|
* @example
|
|
21914
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
21914
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
|
|
21915
21915
|
*/
|
|
21916
21916
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
21917
21917
|
}
|
|
@@ -22839,7 +22839,7 @@ interface InstagramFollowersItem {
|
|
|
22839
22839
|
*/
|
|
22840
22840
|
id: string;
|
|
22841
22841
|
/**
|
|
22842
|
-
* URL of the follower's profile picture,
|
|
22842
|
+
* URL of the follower's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.
|
|
22843
22843
|
*/
|
|
22844
22844
|
image?: string;
|
|
22845
22845
|
/**
|
|
@@ -22869,7 +22869,7 @@ interface InstagramFollowersData {
|
|
|
22869
22869
|
*/
|
|
22870
22870
|
items: InstagramFollowersItem[];
|
|
22871
22871
|
/**
|
|
22872
|
-
* Opaque cursor for the next page of followers, or null/empty when there are no more.
|
|
22872
|
+
* Opaque cursor for the next page of followers, or null/empty when there are no more. Some sources return a single page of about 50 followers and no continuation, so it is empty there. Pass it back as cursor whenever it is non-empty.
|
|
22873
22873
|
*/
|
|
22874
22874
|
nextCursor?: string | null;
|
|
22875
22875
|
}
|
|
@@ -22918,7 +22918,7 @@ interface InstagramFollowingItem {
|
|
|
22918
22918
|
*/
|
|
22919
22919
|
id: string;
|
|
22920
22920
|
/**
|
|
22921
|
-
* URL of the followed account's profile picture,
|
|
22921
|
+
* URL of the followed account's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.
|
|
22922
22922
|
*/
|
|
22923
22923
|
image?: string;
|
|
22924
22924
|
/**
|
|
@@ -22948,7 +22948,7 @@ interface InstagramFollowingData {
|
|
|
22948
22948
|
*/
|
|
22949
22949
|
items: InstagramFollowingItem[];
|
|
22950
22950
|
/**
|
|
22951
|
-
* Opaque cursor for the next page of results, or null/empty when there are no more.
|
|
22951
|
+
* Opaque cursor for the next page of results, or null/empty when there are no more. Some sources return a single page of about 50 accounts and no continuation, so it is empty there. Pass it back as cursor whenever it is non-empty.
|
|
22952
22952
|
*/
|
|
22953
22953
|
nextCursor?: string | null;
|
|
22954
22954
|
}
|
|
@@ -23691,7 +23691,7 @@ interface InstagramPostInput {
|
|
|
23691
23691
|
/**
|
|
23692
23692
|
* 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.
|
|
23693
23693
|
*/
|
|
23694
|
-
requireFields?: ("
|
|
23694
|
+
requireFields?: ("hasAudio" | "locationId" | "plays")[];
|
|
23695
23695
|
/**
|
|
23696
23696
|
* 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.
|
|
23697
23697
|
*/
|
|
@@ -24418,6 +24418,10 @@ interface InstagramSearchInput {
|
|
|
24418
24418
|
* Keyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery).
|
|
24419
24419
|
*/
|
|
24420
24420
|
query: string;
|
|
24421
|
+
/**
|
|
24422
|
+
* 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 `postsCount`, 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 profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
24423
|
+
*/
|
|
24424
|
+
requireFields?: "postsCount"[];
|
|
24421
24425
|
/**
|
|
24422
24426
|
* 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`.
|
|
24423
24427
|
*/
|
|
@@ -24451,7 +24455,7 @@ interface InstagramSearchItem {
|
|
|
24451
24455
|
*/
|
|
24452
24456
|
id: string;
|
|
24453
24457
|
/**
|
|
24454
|
-
* URL of the account's profile picture,
|
|
24458
|
+
* URL of the account's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.
|
|
24455
24459
|
*/
|
|
24456
24460
|
image?: string;
|
|
24457
24461
|
/**
|
|
@@ -24459,9 +24463,9 @@ interface InstagramSearchItem {
|
|
|
24459
24463
|
*/
|
|
24460
24464
|
name?: string;
|
|
24461
24465
|
/**
|
|
24462
|
-
* The account's post count.
|
|
24466
|
+
* The account's post count. Null when the serving source does not report it.
|
|
24463
24467
|
*/
|
|
24464
|
-
postsCount?: number;
|
|
24468
|
+
postsCount?: number | null;
|
|
24465
24469
|
/**
|
|
24466
24470
|
* Canonical URL of the account's profile, with tracking query params stripped. Populated whenever the provider has data for the entity.
|
|
24467
24471
|
*/
|
|
@@ -24892,7 +24896,10 @@ interface InstagramSearchProfilesProfile {
|
|
|
24892
24896
|
* Populated whenever the provider has data for the entity.
|
|
24893
24897
|
*/
|
|
24894
24898
|
id: string;
|
|
24895
|
-
|
|
24899
|
+
/**
|
|
24900
|
+
* Total number of posts on the account. Null when the serving source does not report it.
|
|
24901
|
+
*/
|
|
24902
|
+
posts: number | null;
|
|
24896
24903
|
/**
|
|
24897
24904
|
* Whether the account is private. Null when the serving source does not report it.
|
|
24898
24905
|
*/
|
|
@@ -25007,9 +25014,9 @@ interface InstagramSearchProfilesContactProfile {
|
|
|
25007
25014
|
*/
|
|
25008
25015
|
phone?: string;
|
|
25009
25016
|
/**
|
|
25010
|
-
* Number of posts on the profile.
|
|
25017
|
+
* Number of posts on the profile. Null when the serving source does not report it.
|
|
25011
25018
|
*/
|
|
25012
|
-
posts: number;
|
|
25019
|
+
posts: number | null;
|
|
25013
25020
|
/**
|
|
25014
25021
|
* Canonical URL of the profile.
|
|
25015
25022
|
*/
|
|
@@ -25562,6 +25569,10 @@ interface InstagramUserPostsInput {
|
|
|
25562
25569
|
* Range: minimum 1.
|
|
25563
25570
|
*/
|
|
25564
25571
|
preferLatencyUnderMs?: number;
|
|
25572
|
+
/**
|
|
25573
|
+
* 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 `userId`, 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.
|
|
25574
|
+
*/
|
|
25575
|
+
requireFields?: "userId"[];
|
|
25565
25576
|
/**
|
|
25566
25577
|
* 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`.
|
|
25567
25578
|
*/
|
|
@@ -25603,9 +25614,9 @@ interface InstagramUserPostsPost {
|
|
|
25603
25614
|
*/
|
|
25604
25615
|
url: string;
|
|
25605
25616
|
/**
|
|
25606
|
-
* Instagram user id of the posting account.
|
|
25617
|
+
* Instagram user id of the posting account. Null when the serving source does not report it.
|
|
25607
25618
|
*/
|
|
25608
|
-
userId?: string;
|
|
25619
|
+
userId?: string | null;
|
|
25609
25620
|
/**
|
|
25610
25621
|
* Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle. Populated whenever the provider has data for the entity.
|
|
25611
25622
|
*/
|
|
@@ -28227,7 +28238,7 @@ interface LinkedinCompanyPostsItem {
|
|
|
28227
28238
|
*/
|
|
28228
28239
|
author?: {
|
|
28229
28240
|
/**
|
|
28230
|
-
* Author follower count as displayed text (e.g. '1,543,793 followers').
|
|
28241
|
+
* Author follower count as displayed text (e.g. '1,543,793 followers'). Absent when the author is a person, whose card shows a headline instead.
|
|
28231
28242
|
*/
|
|
28232
28243
|
followers?: string;
|
|
28233
28244
|
/**
|
|
@@ -31737,7 +31748,7 @@ interface LinkedinSearchPostsFullPost {
|
|
|
31737
31748
|
*/
|
|
31738
31749
|
attachmentType?: string;
|
|
31739
31750
|
/**
|
|
31740
|
-
*
|
|
31751
|
+
* Destination URL of the attachment with tracking parameters removed; a video keeps the signed query it needs to play, and a YouTube link keeps its video id. When attachmentType is article, pass this URL to the linkedin.article endpoint to read the article's full body text.
|
|
31741
31752
|
* Format: uri.
|
|
31742
31753
|
*/
|
|
31743
31754
|
attachmentUrl?: string;
|
|
@@ -32107,7 +32118,7 @@ interface LinkedinSearchProfilesItem {
|
|
|
32107
32118
|
*/
|
|
32108
32119
|
premium?: boolean;
|
|
32109
32120
|
/**
|
|
32110
|
-
* Listed skills,
|
|
32121
|
+
* Listed skills, one object per skill with its name and, when the source has them, the endorsements label and related positions.
|
|
32111
32122
|
*/
|
|
32112
32123
|
skills?: unknown[];
|
|
32113
32124
|
/**
|
|
@@ -52753,13 +52764,13 @@ interface ThreadsPostData {
|
|
|
52753
52764
|
*/
|
|
52754
52765
|
quoteCount: number | null;
|
|
52755
52766
|
/**
|
|
52756
|
-
* Number of replies to the post.
|
|
52767
|
+
* Number of replies to the post. Null when the source does not report it.
|
|
52757
52768
|
*/
|
|
52758
|
-
replyCount: number;
|
|
52769
|
+
replyCount: number | null;
|
|
52759
52770
|
/**
|
|
52760
|
-
* Number of reposts of the post.
|
|
52771
|
+
* Number of reposts of the post. Null when the source does not report it.
|
|
52761
52772
|
*/
|
|
52762
|
-
repostCount: number;
|
|
52773
|
+
repostCount: number | null;
|
|
52763
52774
|
/**
|
|
52764
52775
|
* Post text content. Populated whenever the provider has data for the entity.
|
|
52765
52776
|
*/
|
|
@@ -53835,7 +53846,7 @@ interface TiktokHashtagVideosItem {
|
|
|
53835
53846
|
*/
|
|
53836
53847
|
id: string;
|
|
53837
53848
|
/**
|
|
53838
|
-
* URL of the video's cover/thumbnail image,
|
|
53849
|
+
* URL of the video's cover/thumbnail image. Signed and short-lived, so the query string is load-bearing and kept intact. Empty when the upstream omits it.
|
|
53839
53850
|
*/
|
|
53840
53851
|
image?: string;
|
|
53841
53852
|
/**
|
|
@@ -55246,9 +55257,9 @@ interface TiktokSearchUsersInput {
|
|
|
55246
55257
|
*/
|
|
55247
55258
|
query: string;
|
|
55248
55259
|
/**
|
|
55249
|
-
* 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
|
|
55260
|
+
* 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. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
55250
55261
|
*/
|
|
55251
|
-
requireFields?:
|
|
55262
|
+
requireFields?: "nextCursor"[];
|
|
55252
55263
|
/**
|
|
55253
55264
|
* 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`.
|
|
55254
55265
|
*/
|
|
@@ -58611,10 +58622,18 @@ interface TwitterArticleData {
|
|
|
58611
58622
|
* Self-reported profile location.
|
|
58612
58623
|
*/
|
|
58613
58624
|
location?: string;
|
|
58625
|
+
/**
|
|
58626
|
+
* Number of media items the author has published.
|
|
58627
|
+
*/
|
|
58628
|
+
mediaCount?: number;
|
|
58614
58629
|
/**
|
|
58615
58630
|
* Profile display name.
|
|
58616
58631
|
*/
|
|
58617
58632
|
name?: string;
|
|
58633
|
+
/**
|
|
58634
|
+
* Number of posts the author has published.
|
|
58635
|
+
*/
|
|
58636
|
+
posts?: number;
|
|
58618
58637
|
/**
|
|
58619
58638
|
* Canonical public X profile URL. Populated whenever the provider has data for the entity.
|
|
58620
58639
|
* Format: uri.
|
|
@@ -58647,14 +58666,6 @@ interface TwitterArticleData {
|
|
|
58647
58666
|
* Range: minimum 0.
|
|
58648
58667
|
*/
|
|
58649
58668
|
likes?: number;
|
|
58650
|
-
/**
|
|
58651
|
-
* Number of media items the author has published.
|
|
58652
|
-
*/
|
|
58653
|
-
mediaCount?: number;
|
|
58654
|
-
/**
|
|
58655
|
-
* Number of posts the author has published.
|
|
58656
|
-
*/
|
|
58657
|
-
posts?: number;
|
|
58658
58669
|
/**
|
|
58659
58670
|
* Preview text supplied by X.
|
|
58660
58671
|
*/
|
|
@@ -58880,6 +58891,10 @@ interface TwitterFollowersItem {
|
|
|
58880
58891
|
* The account's profile bio/description.
|
|
58881
58892
|
*/
|
|
58882
58893
|
bio?: string;
|
|
58894
|
+
/**
|
|
58895
|
+
* UTC epoch timestamp in seconds (Unix time) the account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
58896
|
+
*/
|
|
58897
|
+
createdUtc?: number;
|
|
58883
58898
|
/**
|
|
58884
58899
|
* How many followers this account has.
|
|
58885
58900
|
*/
|
|
@@ -58888,6 +58903,10 @@ interface TwitterFollowersItem {
|
|
|
58888
58903
|
* How many accounts this account follows.
|
|
58889
58904
|
*/
|
|
58890
58905
|
following?: number;
|
|
58906
|
+
/**
|
|
58907
|
+
* Numeric X user id of the account, as a string.
|
|
58908
|
+
*/
|
|
58909
|
+
id?: string;
|
|
58891
58910
|
/**
|
|
58892
58911
|
* The account's self-reported location (may be empty).
|
|
58893
58912
|
*/
|
|
@@ -58910,14 +58929,6 @@ interface TwitterFollowersItem {
|
|
|
58910
58929
|
* The `data` payload of X / Twitter Followers (twitter.followers).
|
|
58911
58930
|
*/
|
|
58912
58931
|
interface TwitterFollowersData {
|
|
58913
|
-
/**
|
|
58914
|
-
* UTC epoch timestamp in seconds (Unix time) the account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
58915
|
-
*/
|
|
58916
|
-
createdUtc?: number;
|
|
58917
|
-
/**
|
|
58918
|
-
* Numeric X user id of the account, as a string.
|
|
58919
|
-
*/
|
|
58920
|
-
id?: string;
|
|
58921
58932
|
/**
|
|
58922
58933
|
* Follower records, normalized to a compact shape. Populated whenever the provider has data for the entity.
|
|
58923
58934
|
*/
|
|
@@ -58977,6 +58988,10 @@ interface TwitterFollowingItem {
|
|
|
58977
58988
|
* The account's profile bio/description.
|
|
58978
58989
|
*/
|
|
58979
58990
|
bio: string;
|
|
58991
|
+
/**
|
|
58992
|
+
* UTC epoch timestamp in seconds (Unix time) the account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
58993
|
+
*/
|
|
58994
|
+
createdUtc?: number;
|
|
58980
58995
|
/**
|
|
58981
58996
|
* How many followers this account has.
|
|
58982
58997
|
*/
|
|
@@ -58985,6 +59000,10 @@ interface TwitterFollowingItem {
|
|
|
58985
59000
|
* How many accounts this account follows.
|
|
58986
59001
|
*/
|
|
58987
59002
|
following: number;
|
|
59003
|
+
/**
|
|
59004
|
+
* Numeric X user id of the account, as a string.
|
|
59005
|
+
*/
|
|
59006
|
+
id?: string;
|
|
58988
59007
|
/**
|
|
58989
59008
|
* The account's self-reported location (may be empty).
|
|
58990
59009
|
*/
|
|
@@ -58993,6 +59012,10 @@ interface TwitterFollowingItem {
|
|
|
58993
59012
|
* The account's display name. Populated whenever the provider has data for the entity.
|
|
58994
59013
|
*/
|
|
58995
59014
|
name: string;
|
|
59015
|
+
/**
|
|
59016
|
+
* Number of posts the account has published.
|
|
59017
|
+
*/
|
|
59018
|
+
posts?: number;
|
|
58996
59019
|
/**
|
|
58997
59020
|
* The account's @ handle, without the @ prefix. Populated whenever the provider has data for the entity.
|
|
58998
59021
|
*/
|
|
@@ -59003,14 +59026,6 @@ interface TwitterFollowingItem {
|
|
|
59003
59026
|
* The `data` payload of X / Twitter Following (twitter.following).
|
|
59004
59027
|
*/
|
|
59005
59028
|
interface TwitterFollowingData {
|
|
59006
|
-
/**
|
|
59007
|
-
* UTC epoch timestamp in seconds (Unix time) the account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
59008
|
-
*/
|
|
59009
|
-
createdUtc?: number;
|
|
59010
|
-
/**
|
|
59011
|
-
* Numeric X user id of the account, as a string.
|
|
59012
|
-
*/
|
|
59013
|
-
id?: string;
|
|
59014
59029
|
/**
|
|
59015
59030
|
* Followed-account records, normalized to a compact shape. Populated whenever the provider has data for the entity.
|
|
59016
59031
|
*/
|
|
@@ -59019,10 +59034,6 @@ interface TwitterFollowingData {
|
|
|
59019
59034
|
* Opaque cursor for the next page of followed accounts, or null when there are no more. Pass it back as cursor to continue.
|
|
59020
59035
|
*/
|
|
59021
59036
|
nextCursor?: string | null;
|
|
59022
|
-
/**
|
|
59023
|
-
* Number of posts the account has published.
|
|
59024
|
-
*/
|
|
59025
|
-
posts?: number;
|
|
59026
59037
|
}
|
|
59027
59038
|
/**
|
|
59028
59039
|
* Input for Twitter Profile (twitter.profile).
|
|
@@ -59155,6 +59166,10 @@ interface TwitterRepliesItem {
|
|
|
59155
59166
|
* Display name of the reply's author. Empty when the upstream omits it.
|
|
59156
59167
|
*/
|
|
59157
59168
|
authorName?: string;
|
|
59169
|
+
/**
|
|
59170
|
+
* Id of the conversation the reply belongs to, as a string.
|
|
59171
|
+
*/
|
|
59172
|
+
conversationId?: string;
|
|
59158
59173
|
/**
|
|
59159
59174
|
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
|
|
59160
59175
|
*/
|
|
@@ -59226,10 +59241,6 @@ interface TwitterRepliesMedia {
|
|
|
59226
59241
|
* The `data` payload of X / Twitter Post Replies (twitter.replies).
|
|
59227
59242
|
*/
|
|
59228
59243
|
interface TwitterRepliesData {
|
|
59229
|
-
/**
|
|
59230
|
-
* Id of the conversation the reply belongs to, as a string.
|
|
59231
|
-
*/
|
|
59232
|
-
conversationId?: string;
|
|
59233
59244
|
/**
|
|
59234
59245
|
* Reply records for the requested post. Populated whenever the provider has data for the entity.
|
|
59235
59246
|
*/
|
|
@@ -59291,6 +59302,18 @@ interface TwitterSearchInput {
|
|
|
59291
59302
|
source?: string[];
|
|
59292
59303
|
}
|
|
59293
59304
|
interface TwitterSearchItem {
|
|
59305
|
+
/**
|
|
59306
|
+
* Follower count of the account that posted.
|
|
59307
|
+
*/
|
|
59308
|
+
authorFollowers?: number;
|
|
59309
|
+
/**
|
|
59310
|
+
* Numeric X user id of the account that posted, as a string.
|
|
59311
|
+
*/
|
|
59312
|
+
authorId?: string;
|
|
59313
|
+
/**
|
|
59314
|
+
* Avatar image URL of the account that posted.
|
|
59315
|
+
*/
|
|
59316
|
+
authorImage?: string;
|
|
59294
59317
|
/**
|
|
59295
59318
|
* Populated whenever the provider has data for the entity.
|
|
59296
59319
|
* Present whenever the upstream returns this record.
|
|
@@ -59370,18 +59393,6 @@ interface TwitterSearchMedia {
|
|
|
59370
59393
|
* The `data` payload of X / Twitter Search (twitter.search).
|
|
59371
59394
|
*/
|
|
59372
59395
|
interface TwitterSearchData {
|
|
59373
|
-
/**
|
|
59374
|
-
* Follower count of the account that posted.
|
|
59375
|
-
*/
|
|
59376
|
-
authorFollowers?: number;
|
|
59377
|
-
/**
|
|
59378
|
-
* Numeric X user id of the account that posted, as a string.
|
|
59379
|
-
*/
|
|
59380
|
-
authorId?: string;
|
|
59381
|
-
/**
|
|
59382
|
-
* Avatar image URL of the account that posted.
|
|
59383
|
-
*/
|
|
59384
|
-
authorImage?: string;
|
|
59385
59396
|
/**
|
|
59386
59397
|
* Tweet records: text, author profile, timestamp, and engagement metrics (likes, retweets, replies, views). Populated whenever the provider has data for the entity.
|
|
59387
59398
|
*/
|
|
@@ -59706,6 +59717,34 @@ interface TwitterThreadMedia {
|
|
|
59706
59717
|
*/
|
|
59707
59718
|
interface TwitterThreadData {
|
|
59708
59719
|
author: {
|
|
59720
|
+
/**
|
|
59721
|
+
* Avatar image URL of the author.
|
|
59722
|
+
*/
|
|
59723
|
+
avatarUrl?: string;
|
|
59724
|
+
/**
|
|
59725
|
+
* Bio text on the author's profile.
|
|
59726
|
+
*/
|
|
59727
|
+
bio?: string;
|
|
59728
|
+
/**
|
|
59729
|
+
* Whether the author carries an X blue verification badge.
|
|
59730
|
+
*/
|
|
59731
|
+
blueVerified?: boolean;
|
|
59732
|
+
/**
|
|
59733
|
+
* Profile banner image URL of the author.
|
|
59734
|
+
*/
|
|
59735
|
+
coverUrl?: string;
|
|
59736
|
+
/**
|
|
59737
|
+
* UTC epoch timestamp in seconds (Unix time) the author's account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
59738
|
+
*/
|
|
59739
|
+
createdUtc?: number;
|
|
59740
|
+
/**
|
|
59741
|
+
* Follower count of the author.
|
|
59742
|
+
*/
|
|
59743
|
+
followers?: number;
|
|
59744
|
+
/**
|
|
59745
|
+
* Number of accounts the author follows.
|
|
59746
|
+
*/
|
|
59747
|
+
following?: number;
|
|
59709
59748
|
/**
|
|
59710
59749
|
* Populated whenever the provider has data for the entity.
|
|
59711
59750
|
*/
|
|
@@ -59714,23 +59753,23 @@ interface TwitterThreadData {
|
|
|
59714
59753
|
* Populated whenever the provider has data for the entity.
|
|
59715
59754
|
*/
|
|
59716
59755
|
id: string;
|
|
59756
|
+
/**
|
|
59757
|
+
* Location text on the author's profile.
|
|
59758
|
+
*/
|
|
59759
|
+
location?: string;
|
|
59717
59760
|
/**
|
|
59718
59761
|
* Populated whenever the provider has data for the entity.
|
|
59719
59762
|
*/
|
|
59720
59763
|
name: string;
|
|
59764
|
+
/**
|
|
59765
|
+
* Canonical X profile URL of the thread's author.
|
|
59766
|
+
*/
|
|
59767
|
+
url?: string;
|
|
59768
|
+
/**
|
|
59769
|
+
* Whether the author carries a legacy X verification badge.
|
|
59770
|
+
*/
|
|
59771
|
+
verified?: boolean;
|
|
59721
59772
|
};
|
|
59722
|
-
/**
|
|
59723
|
-
* Avatar image URL of the author.
|
|
59724
|
-
*/
|
|
59725
|
-
avatarUrl?: string;
|
|
59726
|
-
/**
|
|
59727
|
-
* Bio text on the author's profile.
|
|
59728
|
-
*/
|
|
59729
|
-
bio?: string;
|
|
59730
|
-
/**
|
|
59731
|
-
* Whether the author carries an X blue verification badge.
|
|
59732
|
-
*/
|
|
59733
|
-
blueVerified?: boolean;
|
|
59734
59773
|
/**
|
|
59735
59774
|
* Whether the provider reached the end of the self-thread without hitting its internal cap.
|
|
59736
59775
|
*/
|
|
@@ -59739,26 +59778,6 @@ interface TwitterThreadData {
|
|
|
59739
59778
|
* Conversation ID shared by the self-thread tweets. Populated whenever the provider has data for the entity.
|
|
59740
59779
|
*/
|
|
59741
59780
|
conversationId: string;
|
|
59742
|
-
/**
|
|
59743
|
-
* Profile banner image URL of the author.
|
|
59744
|
-
*/
|
|
59745
|
-
coverUrl?: string;
|
|
59746
|
-
/**
|
|
59747
|
-
* UTC epoch timestamp in seconds (Unix time) the author's account was created. Multiply by 1000 for a JS Date in milliseconds.
|
|
59748
|
-
*/
|
|
59749
|
-
createdUtc?: number;
|
|
59750
|
-
/**
|
|
59751
|
-
* Follower count of the author.
|
|
59752
|
-
*/
|
|
59753
|
-
followers?: number;
|
|
59754
|
-
/**
|
|
59755
|
-
* Number of accounts the author follows.
|
|
59756
|
-
*/
|
|
59757
|
-
following?: number;
|
|
59758
|
-
/**
|
|
59759
|
-
* Location text on the author's profile.
|
|
59760
|
-
*/
|
|
59761
|
-
location?: string;
|
|
59762
59781
|
/**
|
|
59763
59782
|
* Number of tweets returned in the self-thread.
|
|
59764
59783
|
*/
|
|
@@ -59767,14 +59786,6 @@ interface TwitterThreadData {
|
|
|
59767
59786
|
* Ordered self-thread tweets. Replies from other users are excluded. Populated whenever the provider has data for the entity.
|
|
59768
59787
|
*/
|
|
59769
59788
|
tweets: TwitterThreadTweet[];
|
|
59770
|
-
/**
|
|
59771
|
-
* Canonical X profile URL of the thread's author.
|
|
59772
|
-
*/
|
|
59773
|
-
url?: string;
|
|
59774
|
-
/**
|
|
59775
|
-
* Whether the author carries a legacy X verification badge.
|
|
59776
|
-
*/
|
|
59777
|
-
verified?: boolean;
|
|
59778
59789
|
}
|
|
59779
59790
|
/**
|
|
59780
59791
|
* Input for X / Twitter Trends (twitter.trends).
|
|
@@ -59835,6 +59846,10 @@ interface TwitterTrendsItem {
|
|
|
59835
59846
|
* Range: minimum 1.
|
|
59836
59847
|
*/
|
|
59837
59848
|
rank: number;
|
|
59849
|
+
/**
|
|
59850
|
+
* X search URL for the trend.
|
|
59851
|
+
*/
|
|
59852
|
+
url?: string;
|
|
59838
59853
|
[extra: string]: unknown;
|
|
59839
59854
|
}
|
|
59840
59855
|
/**
|
|
@@ -59857,10 +59872,6 @@ interface TwitterTrendsData {
|
|
|
59857
59872
|
* Resolved Yahoo WOEID used by X, exposed as a stable location identifier. Populated whenever the provider has data for the entity.
|
|
59858
59873
|
*/
|
|
59859
59874
|
locationId: string;
|
|
59860
|
-
/**
|
|
59861
|
-
* X search URL for the trend.
|
|
59862
|
-
*/
|
|
59863
|
-
url?: string;
|
|
59864
59875
|
}
|
|
59865
59876
|
/**
|
|
59866
59877
|
* Input for Twitter Tweet (twitter.tweet).
|
|
@@ -59881,9 +59892,9 @@ interface TwitterTweetInput {
|
|
|
59881
59892
|
*/
|
|
59882
59893
|
preferLatencyUnderMs?: number;
|
|
59883
59894
|
/**
|
|
59884
|
-
* 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 `
|
|
59895
|
+
* 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 `videoUrl` or `width`, 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.
|
|
59885
59896
|
*/
|
|
59886
|
-
requireFields?: ("height" | "
|
|
59897
|
+
requireFields?: ("height" | "videoUrl" | "width")[];
|
|
59887
59898
|
/**
|
|
59888
59899
|
* 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`.
|
|
59889
59900
|
*/
|
|
@@ -60042,9 +60053,9 @@ interface TwitterUserPostsInput {
|
|
|
60042
60053
|
*/
|
|
60043
60054
|
preferLatencyUnderMs?: number;
|
|
60044
60055
|
/**
|
|
60045
|
-
* 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 `isPinned
|
|
60056
|
+
* 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 `isPinned`, 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. 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.
|
|
60046
60057
|
*/
|
|
60047
|
-
requireFields?:
|
|
60058
|
+
requireFields?: "isPinned"[];
|
|
60048
60059
|
/**
|
|
60049
60060
|
* 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`.
|
|
60050
60061
|
*/
|
|
@@ -64153,6 +64164,10 @@ interface YoutubeVideoCommentsComment {
|
|
|
64153
64164
|
*/
|
|
64154
64165
|
publishedTime: string;
|
|
64155
64166
|
replies: number;
|
|
64167
|
+
/**
|
|
64168
|
+
* Token for this comment's replies. Pass it as continuationToken to youtube.comment_replies. Absent when the comment has no replies or the serving source does not return one.
|
|
64169
|
+
*/
|
|
64170
|
+
repliesContinuationToken?: string;
|
|
64156
64171
|
/**
|
|
64157
64172
|
* Populated whenever the provider has data for the entity.
|
|
64158
64173
|
*/
|
|
@@ -64274,10 +64289,6 @@ interface YoutubeVideoTranscriptInput {
|
|
|
64274
64289
|
* Range: minimum 1.
|
|
64275
64290
|
*/
|
|
64276
64291
|
preferLatencyUnderMs?: number;
|
|
64277
|
-
/**
|
|
64278
|
-
* Only use sources that return these fields. The cheapest source returns the transcript as one block of text and no timings, so name any of these to be served by a source that carries timed segments instead.
|
|
64279
|
-
*/
|
|
64280
|
-
requireFields?: ("durationSeconds" | "segments" | "startSeconds" | "text")[];
|
|
64281
64292
|
/**
|
|
64282
64293
|
* 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`.
|
|
64283
64294
|
*/
|
|
@@ -64697,7 +64708,7 @@ declare class YoutubeNamespace {
|
|
|
64697
64708
|
*
|
|
64698
64709
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
64699
64710
|
*
|
|
64700
|
-
* Price: $0.
|
|
64711
|
+
* Price: $0.0008 per request.
|
|
64701
64712
|
*
|
|
64702
64713
|
* @example
|
|
64703
64714
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -65732,7 +65743,7 @@ interface ZillowSearchItem {
|
|
|
65732
65743
|
brokerName?: string;
|
|
65733
65744
|
city?: string;
|
|
65734
65745
|
/**
|
|
65735
|
-
* ISO currency code of the price (e.g.
|
|
65746
|
+
* ISO currency code of the price (e.g. USD).
|
|
65736
65747
|
*/
|
|
65737
65748
|
currency?: string;
|
|
65738
65749
|
/**
|
|
@@ -65771,7 +65782,7 @@ interface ZillowSearchItem {
|
|
|
65771
65782
|
*/
|
|
65772
65783
|
price?: number;
|
|
65773
65784
|
/**
|
|
65774
|
-
* Property type (e.g.
|
|
65785
|
+
* Property type (e.g. SINGLE_FAMILY, CONDO, TOWNHOUSE).
|
|
65775
65786
|
*/
|
|
65776
65787
|
propertyType?: string;
|
|
65777
65788
|
/**
|
|
@@ -65783,7 +65794,7 @@ interface ZillowSearchItem {
|
|
|
65783
65794
|
*/
|
|
65784
65795
|
state?: string;
|
|
65785
65796
|
/**
|
|
65786
|
-
* Listing status (e.g.
|
|
65797
|
+
* Listing status (e.g. FOR_SALE, FOR_RENT, RECENTLY_SOLD).
|
|
65787
65798
|
*/
|
|
65788
65799
|
status?: string;
|
|
65789
65800
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
|
|
|
1431
1431
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1432
1432
|
*
|
|
1433
1433
|
* @example
|
|
1434
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1434
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
|
|
1435
1435
|
*/
|
|
1436
1436
|
search(input, options) {
|
|
1437
1437
|
return this._core.run("booking.search", input, options);
|
|
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3335
3335
|
* Price: $0.0015 per request.
|
|
3336
3336
|
*
|
|
3337
3337
|
* @example
|
|
3338
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3338
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3339
3339
|
*/
|
|
3340
3340
|
details(input, options) {
|
|
3341
3341
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3348,7 +3348,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3348
3348
|
* Price: $0.0015 per request.
|
|
3349
3349
|
*
|
|
3350
3350
|
* @example
|
|
3351
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3351
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
|
|
3352
3352
|
*/
|
|
3353
3353
|
search(input, options) {
|
|
3354
3354
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8451,7 +8451,7 @@ var YoutubeNamespace = class {
|
|
|
8451
8451
|
*
|
|
8452
8452
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
8453
8453
|
*
|
|
8454
|
-
* Price: $0.
|
|
8454
|
+
* Price: $0.0008 per request.
|
|
8455
8455
|
*
|
|
8456
8456
|
* @example
|
|
8457
8457
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|