@getanyapi/sdk 0.71.0 → 0.72.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 +49 -14
- package/dist/index.d.ts +49 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -41040,9 +41040,9 @@ interface RealtorSearchItem {
|
|
|
41040
41040
|
*/
|
|
41041
41041
|
taxAmount?: number;
|
|
41042
41042
|
/**
|
|
41043
|
-
* Most recent assessed value from the county tax authority, in US dollars.
|
|
41043
|
+
* Most recent assessed value from the county tax authority, in US dollars, or null when none is published (common on new construction).
|
|
41044
41044
|
*/
|
|
41045
|
-
taxAssessedValue?: number;
|
|
41045
|
+
taxAssessedValue?: number | null;
|
|
41046
41046
|
/**
|
|
41047
41047
|
* Human-readable street address line used as the listing title.
|
|
41048
41048
|
*/
|
|
@@ -42763,9 +42763,9 @@ interface RedfinSearchItem {
|
|
|
42763
42763
|
*/
|
|
42764
42764
|
longitude?: number;
|
|
42765
42765
|
/**
|
|
42766
|
-
* Lot size in square feet.
|
|
42766
|
+
* Lot size in square feet, or null when the listing has no lot size (common on condos).
|
|
42767
42767
|
*/
|
|
42768
|
-
lotSize?: number;
|
|
42768
|
+
lotSize?: number | null;
|
|
42769
42769
|
/**
|
|
42770
42770
|
* MLS number for the listing.
|
|
42771
42771
|
*/
|
|
@@ -53410,6 +53410,10 @@ interface TiktokVideoInput {
|
|
|
53410
53410
|
* Range: minimum 1.
|
|
53411
53411
|
*/
|
|
53412
53412
|
preferLatencyUnderMs?: number;
|
|
53413
|
+
/**
|
|
53414
|
+
* 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 `views`, 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.
|
|
53415
|
+
*/
|
|
53416
|
+
requireFields?: ("comments" | "likes" | "shares" | "views")[];
|
|
53413
53417
|
/**
|
|
53414
53418
|
* 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`.
|
|
53415
53419
|
*/
|
|
@@ -53443,6 +53447,9 @@ interface TiktokVideoData {
|
|
|
53443
53447
|
* Populated whenever the provider has data for the entity.
|
|
53444
53448
|
*/
|
|
53445
53449
|
caption: string;
|
|
53450
|
+
/**
|
|
53451
|
+
* Number of comments. Some sources round large counts (48.5K instead of 48,536); name `comments` in requireFields to be served only by a source that returns the exact count.
|
|
53452
|
+
*/
|
|
53446
53453
|
comments: number;
|
|
53447
53454
|
/**
|
|
53448
53455
|
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
|
|
@@ -53460,9 +53467,15 @@ interface TiktokVideoData {
|
|
|
53460
53467
|
* URL of the video's cover/thumbnail image. A signed, short-lived TikTok CDN URL (typically expires within about a day; query params are load-bearing and kept intact), often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support. Absent when the upstream provides no cover.
|
|
53461
53468
|
*/
|
|
53462
53469
|
image?: string;
|
|
53470
|
+
/**
|
|
53471
|
+
* Number of likes. Some sources round large counts (2.9M instead of 2,884,604); name `likes` in requireFields to be served only by a source that returns the exact count.
|
|
53472
|
+
*/
|
|
53463
53473
|
likes: number;
|
|
53464
53474
|
region: string;
|
|
53465
53475
|
saves: number;
|
|
53476
|
+
/**
|
|
53477
|
+
* Number of shares. Some sources round large counts (35.9K instead of 35,923); name `shares` in requireFields to be served only by a source that returns the exact count.
|
|
53478
|
+
*/
|
|
53466
53479
|
shares: number;
|
|
53467
53480
|
/**
|
|
53468
53481
|
* Canonical TikTok URL of the video.
|
|
@@ -53472,6 +53485,9 @@ interface TiktokVideoData {
|
|
|
53472
53485
|
* Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
|
|
53473
53486
|
*/
|
|
53474
53487
|
videoUrl?: string;
|
|
53488
|
+
/**
|
|
53489
|
+
* Number of plays. Some sources round large counts (32.7M instead of 32,736,400); name `views` in requireFields to be served only by a source that returns the exact count.
|
|
53490
|
+
*/
|
|
53475
53491
|
views: number;
|
|
53476
53492
|
[extra: string]: unknown;
|
|
53477
53493
|
}
|
|
@@ -54961,13 +54977,19 @@ interface TiktokShopShopProductsProduct {
|
|
|
54961
54977
|
* Product image URL.
|
|
54962
54978
|
*/
|
|
54963
54979
|
image?: string;
|
|
54964
|
-
|
|
54980
|
+
/**
|
|
54981
|
+
* Pre-discount list price, or null when the product is not on sale.
|
|
54982
|
+
*/
|
|
54983
|
+
originalPrice: number | null;
|
|
54965
54984
|
price: number;
|
|
54966
54985
|
/**
|
|
54967
54986
|
* Populated whenever the provider has data for the entity.
|
|
54968
54987
|
*/
|
|
54969
54988
|
productId: string;
|
|
54970
|
-
|
|
54989
|
+
/**
|
|
54990
|
+
* Average review score out of 5, or null when the product has no rating yet.
|
|
54991
|
+
*/
|
|
54992
|
+
rating: number | null;
|
|
54971
54993
|
reviewCount: number;
|
|
54972
54994
|
soldCount: number;
|
|
54973
54995
|
/**
|
|
@@ -55042,13 +55064,19 @@ interface TiktokShopUserShowcaseProduct {
|
|
|
55042
55064
|
* Populated whenever the provider has data for the entity.
|
|
55043
55065
|
*/
|
|
55044
55066
|
imageUrl: string;
|
|
55045
|
-
|
|
55067
|
+
/**
|
|
55068
|
+
* Pre-discount list price, or null when the product is not on sale.
|
|
55069
|
+
*/
|
|
55070
|
+
originalPrice: string | null;
|
|
55046
55071
|
price: string;
|
|
55047
55072
|
/**
|
|
55048
55073
|
* Populated whenever the provider has data for the entity.
|
|
55049
55074
|
*/
|
|
55050
55075
|
productId: string;
|
|
55051
|
-
|
|
55076
|
+
/**
|
|
55077
|
+
* Average review score out of 5, or null when the product has no rating yet.
|
|
55078
|
+
*/
|
|
55079
|
+
rating: number | null;
|
|
55052
55080
|
reviewCount: number;
|
|
55053
55081
|
/**
|
|
55054
55082
|
* Identifier of the seller listing the product.
|
|
@@ -60082,6 +60110,10 @@ interface YoutubeChannelVideosInput {
|
|
|
60082
60110
|
* Range: minimum 1.
|
|
60083
60111
|
*/
|
|
60084
60112
|
preferLatencyUnderMs?: number;
|
|
60113
|
+
/**
|
|
60114
|
+
* 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 `views`, 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. 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. A source that returns only a rounded or shortened value for a field does not count as returning it.
|
|
60115
|
+
*/
|
|
60116
|
+
requireFields?: "views"[];
|
|
60085
60117
|
/**
|
|
60086
60118
|
* Sort order.
|
|
60087
60119
|
* One of: latest, popular.
|
|
@@ -60118,6 +60150,9 @@ interface YoutubeChannelVideosVideo {
|
|
|
60118
60150
|
* Populated whenever the provider has data for the entity.
|
|
60119
60151
|
*/
|
|
60120
60152
|
url: string;
|
|
60153
|
+
/**
|
|
60154
|
+
* Number of views. Some sources round large counts (6.4M instead of 6,474,059); name `views` in requireFields to be served only by a source that returns the exact count.
|
|
60155
|
+
*/
|
|
60121
60156
|
views: number;
|
|
60122
60157
|
[extra: string]: unknown;
|
|
60123
60158
|
}
|
|
@@ -60628,7 +60663,7 @@ interface YoutubeSearchShortsShort {
|
|
|
60628
60663
|
*/
|
|
60629
60664
|
url: string;
|
|
60630
60665
|
/**
|
|
60631
|
-
* View count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0.
|
|
60666
|
+
* View count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0. Rounded as YouTube shows it on Shorts (8.9M, 875K), so counts of 1,000 or more are approximate.
|
|
60632
60667
|
*/
|
|
60633
60668
|
views: number;
|
|
60634
60669
|
/**
|
|
@@ -60695,7 +60730,7 @@ interface YoutubeTrendingShortsShort {
|
|
|
60695
60730
|
*/
|
|
60696
60731
|
channelTitle: string;
|
|
60697
60732
|
/**
|
|
60698
|
-
* Number of comments on the short.
|
|
60733
|
+
* Number of comments on the short. Rounded as YouTube shows it on Shorts (1.2K, 15K), so counts of 1,000 or more are approximate.
|
|
60699
60734
|
*/
|
|
60700
60735
|
comments?: number;
|
|
60701
60736
|
/**
|
|
@@ -62331,9 +62366,9 @@ interface ZillowPropertyItem {
|
|
|
62331
62366
|
*/
|
|
62332
62367
|
propertyTaxRate?: number;
|
|
62333
62368
|
/**
|
|
62334
|
-
* Zillow estimated monthly rent.
|
|
62369
|
+
* Zillow estimated monthly rent, or null when Zillow shows no rent Zestimate for the property.
|
|
62335
62370
|
*/
|
|
62336
|
-
rentZestimate?: number;
|
|
62371
|
+
rentZestimate?: number | null;
|
|
62337
62372
|
/**
|
|
62338
62373
|
* Interior living area in square feet.
|
|
62339
62374
|
*/
|
|
@@ -62351,9 +62386,9 @@ interface ZillowPropertyItem {
|
|
|
62351
62386
|
*/
|
|
62352
62387
|
url: string;
|
|
62353
62388
|
/**
|
|
62354
|
-
* Zillow estimated market value.
|
|
62389
|
+
* Zillow estimated market value, or null when Zillow shows no Zestimate for the property.
|
|
62355
62390
|
*/
|
|
62356
|
-
zestimate?: number;
|
|
62391
|
+
zestimate?: number | null;
|
|
62357
62392
|
/**
|
|
62358
62393
|
* Zillow property id (zpid), the stable identifier for the property. Populated whenever the provider has data for the entity.
|
|
62359
62394
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -41040,9 +41040,9 @@ interface RealtorSearchItem {
|
|
|
41040
41040
|
*/
|
|
41041
41041
|
taxAmount?: number;
|
|
41042
41042
|
/**
|
|
41043
|
-
* Most recent assessed value from the county tax authority, in US dollars.
|
|
41043
|
+
* Most recent assessed value from the county tax authority, in US dollars, or null when none is published (common on new construction).
|
|
41044
41044
|
*/
|
|
41045
|
-
taxAssessedValue?: number;
|
|
41045
|
+
taxAssessedValue?: number | null;
|
|
41046
41046
|
/**
|
|
41047
41047
|
* Human-readable street address line used as the listing title.
|
|
41048
41048
|
*/
|
|
@@ -42763,9 +42763,9 @@ interface RedfinSearchItem {
|
|
|
42763
42763
|
*/
|
|
42764
42764
|
longitude?: number;
|
|
42765
42765
|
/**
|
|
42766
|
-
* Lot size in square feet.
|
|
42766
|
+
* Lot size in square feet, or null when the listing has no lot size (common on condos).
|
|
42767
42767
|
*/
|
|
42768
|
-
lotSize?: number;
|
|
42768
|
+
lotSize?: number | null;
|
|
42769
42769
|
/**
|
|
42770
42770
|
* MLS number for the listing.
|
|
42771
42771
|
*/
|
|
@@ -53410,6 +53410,10 @@ interface TiktokVideoInput {
|
|
|
53410
53410
|
* Range: minimum 1.
|
|
53411
53411
|
*/
|
|
53412
53412
|
preferLatencyUnderMs?: number;
|
|
53413
|
+
/**
|
|
53414
|
+
* 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 `views`, 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.
|
|
53415
|
+
*/
|
|
53416
|
+
requireFields?: ("comments" | "likes" | "shares" | "views")[];
|
|
53413
53417
|
/**
|
|
53414
53418
|
* 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`.
|
|
53415
53419
|
*/
|
|
@@ -53443,6 +53447,9 @@ interface TiktokVideoData {
|
|
|
53443
53447
|
* Populated whenever the provider has data for the entity.
|
|
53444
53448
|
*/
|
|
53445
53449
|
caption: string;
|
|
53450
|
+
/**
|
|
53451
|
+
* Number of comments. Some sources round large counts (48.5K instead of 48,536); name `comments` in requireFields to be served only by a source that returns the exact count.
|
|
53452
|
+
*/
|
|
53446
53453
|
comments: number;
|
|
53447
53454
|
/**
|
|
53448
53455
|
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
|
|
@@ -53460,9 +53467,15 @@ interface TiktokVideoData {
|
|
|
53460
53467
|
* URL of the video's cover/thumbnail image. A signed, short-lived TikTok CDN URL (typically expires within about a day; query params are load-bearing and kept intact), often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support. Absent when the upstream provides no cover.
|
|
53461
53468
|
*/
|
|
53462
53469
|
image?: string;
|
|
53470
|
+
/**
|
|
53471
|
+
* Number of likes. Some sources round large counts (2.9M instead of 2,884,604); name `likes` in requireFields to be served only by a source that returns the exact count.
|
|
53472
|
+
*/
|
|
53463
53473
|
likes: number;
|
|
53464
53474
|
region: string;
|
|
53465
53475
|
saves: number;
|
|
53476
|
+
/**
|
|
53477
|
+
* Number of shares. Some sources round large counts (35.9K instead of 35,923); name `shares` in requireFields to be served only by a source that returns the exact count.
|
|
53478
|
+
*/
|
|
53466
53479
|
shares: number;
|
|
53467
53480
|
/**
|
|
53468
53481
|
* Canonical TikTok URL of the video.
|
|
@@ -53472,6 +53485,9 @@ interface TiktokVideoData {
|
|
|
53472
53485
|
* Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
|
|
53473
53486
|
*/
|
|
53474
53487
|
videoUrl?: string;
|
|
53488
|
+
/**
|
|
53489
|
+
* Number of plays. Some sources round large counts (32.7M instead of 32,736,400); name `views` in requireFields to be served only by a source that returns the exact count.
|
|
53490
|
+
*/
|
|
53475
53491
|
views: number;
|
|
53476
53492
|
[extra: string]: unknown;
|
|
53477
53493
|
}
|
|
@@ -54961,13 +54977,19 @@ interface TiktokShopShopProductsProduct {
|
|
|
54961
54977
|
* Product image URL.
|
|
54962
54978
|
*/
|
|
54963
54979
|
image?: string;
|
|
54964
|
-
|
|
54980
|
+
/**
|
|
54981
|
+
* Pre-discount list price, or null when the product is not on sale.
|
|
54982
|
+
*/
|
|
54983
|
+
originalPrice: number | null;
|
|
54965
54984
|
price: number;
|
|
54966
54985
|
/**
|
|
54967
54986
|
* Populated whenever the provider has data for the entity.
|
|
54968
54987
|
*/
|
|
54969
54988
|
productId: string;
|
|
54970
|
-
|
|
54989
|
+
/**
|
|
54990
|
+
* Average review score out of 5, or null when the product has no rating yet.
|
|
54991
|
+
*/
|
|
54992
|
+
rating: number | null;
|
|
54971
54993
|
reviewCount: number;
|
|
54972
54994
|
soldCount: number;
|
|
54973
54995
|
/**
|
|
@@ -55042,13 +55064,19 @@ interface TiktokShopUserShowcaseProduct {
|
|
|
55042
55064
|
* Populated whenever the provider has data for the entity.
|
|
55043
55065
|
*/
|
|
55044
55066
|
imageUrl: string;
|
|
55045
|
-
|
|
55067
|
+
/**
|
|
55068
|
+
* Pre-discount list price, or null when the product is not on sale.
|
|
55069
|
+
*/
|
|
55070
|
+
originalPrice: string | null;
|
|
55046
55071
|
price: string;
|
|
55047
55072
|
/**
|
|
55048
55073
|
* Populated whenever the provider has data for the entity.
|
|
55049
55074
|
*/
|
|
55050
55075
|
productId: string;
|
|
55051
|
-
|
|
55076
|
+
/**
|
|
55077
|
+
* Average review score out of 5, or null when the product has no rating yet.
|
|
55078
|
+
*/
|
|
55079
|
+
rating: number | null;
|
|
55052
55080
|
reviewCount: number;
|
|
55053
55081
|
/**
|
|
55054
55082
|
* Identifier of the seller listing the product.
|
|
@@ -60082,6 +60110,10 @@ interface YoutubeChannelVideosInput {
|
|
|
60082
60110
|
* Range: minimum 1.
|
|
60083
60111
|
*/
|
|
60084
60112
|
preferLatencyUnderMs?: number;
|
|
60113
|
+
/**
|
|
60114
|
+
* 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 `views`, 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. 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. A source that returns only a rounded or shortened value for a field does not count as returning it.
|
|
60115
|
+
*/
|
|
60116
|
+
requireFields?: "views"[];
|
|
60085
60117
|
/**
|
|
60086
60118
|
* Sort order.
|
|
60087
60119
|
* One of: latest, popular.
|
|
@@ -60118,6 +60150,9 @@ interface YoutubeChannelVideosVideo {
|
|
|
60118
60150
|
* Populated whenever the provider has data for the entity.
|
|
60119
60151
|
*/
|
|
60120
60152
|
url: string;
|
|
60153
|
+
/**
|
|
60154
|
+
* Number of views. Some sources round large counts (6.4M instead of 6,474,059); name `views` in requireFields to be served only by a source that returns the exact count.
|
|
60155
|
+
*/
|
|
60121
60156
|
views: number;
|
|
60122
60157
|
[extra: string]: unknown;
|
|
60123
60158
|
}
|
|
@@ -60628,7 +60663,7 @@ interface YoutubeSearchShortsShort {
|
|
|
60628
60663
|
*/
|
|
60629
60664
|
url: string;
|
|
60630
60665
|
/**
|
|
60631
|
-
* View count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0.
|
|
60666
|
+
* View count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0. Rounded as YouTube shows it on Shorts (8.9M, 875K), so counts of 1,000 or more are approximate.
|
|
60632
60667
|
*/
|
|
60633
60668
|
views: number;
|
|
60634
60669
|
/**
|
|
@@ -60695,7 +60730,7 @@ interface YoutubeTrendingShortsShort {
|
|
|
60695
60730
|
*/
|
|
60696
60731
|
channelTitle: string;
|
|
60697
60732
|
/**
|
|
60698
|
-
* Number of comments on the short.
|
|
60733
|
+
* Number of comments on the short. Rounded as YouTube shows it on Shorts (1.2K, 15K), so counts of 1,000 or more are approximate.
|
|
60699
60734
|
*/
|
|
60700
60735
|
comments?: number;
|
|
60701
60736
|
/**
|
|
@@ -62331,9 +62366,9 @@ interface ZillowPropertyItem {
|
|
|
62331
62366
|
*/
|
|
62332
62367
|
propertyTaxRate?: number;
|
|
62333
62368
|
/**
|
|
62334
|
-
* Zillow estimated monthly rent.
|
|
62369
|
+
* Zillow estimated monthly rent, or null when Zillow shows no rent Zestimate for the property.
|
|
62335
62370
|
*/
|
|
62336
|
-
rentZestimate?: number;
|
|
62371
|
+
rentZestimate?: number | null;
|
|
62337
62372
|
/**
|
|
62338
62373
|
* Interior living area in square feet.
|
|
62339
62374
|
*/
|
|
@@ -62351,9 +62386,9 @@ interface ZillowPropertyItem {
|
|
|
62351
62386
|
*/
|
|
62352
62387
|
url: string;
|
|
62353
62388
|
/**
|
|
62354
|
-
* Zillow estimated market value.
|
|
62389
|
+
* Zillow estimated market value, or null when Zillow shows no Zestimate for the property.
|
|
62355
62390
|
*/
|
|
62356
|
-
zestimate?: number;
|
|
62391
|
+
zestimate?: number | null;
|
|
62357
62392
|
/**
|
|
62358
62393
|
* Zillow property id (zpid), the stable identifier for the property. Populated whenever the provider has data for the entity.
|
|
62359
62394
|
*/
|