@getanyapi/sdk 0.70.1 → 0.71.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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -39
- package/dist/index.d.ts +81 -39
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1857,7 +1857,7 @@ interface AmazonSearchItem {
|
|
|
1857
1857
|
*/
|
|
1858
1858
|
isSponsored?: boolean;
|
|
1859
1859
|
/**
|
|
1860
|
-
* Pre-discount list price when on sale,
|
|
1860
|
+
* Pre-discount list price when on sale, or null when the product is not discounted or the serving source does not publish it.
|
|
1861
1861
|
*/
|
|
1862
1862
|
listPrice?: number | null;
|
|
1863
1863
|
/**
|
|
@@ -1869,17 +1869,17 @@ interface AmazonSearchItem {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
position?: number;
|
|
1871
1871
|
/**
|
|
1872
|
-
* Current price as a numeric amount
|
|
1872
|
+
* Current price as a numeric amount, or null when the result shows no current price (no offer, or only a secondary offer).
|
|
1873
1873
|
*/
|
|
1874
|
-
price?: number;
|
|
1874
|
+
price?: number | null;
|
|
1875
1875
|
/**
|
|
1876
|
-
* Average star rating, 0-5
|
|
1876
|
+
* Average star rating, 0-5, or null when the product is unrated.
|
|
1877
1877
|
*/
|
|
1878
|
-
rating?: number;
|
|
1878
|
+
rating?: number | null;
|
|
1879
1879
|
/**
|
|
1880
|
-
* Number of customer reviews
|
|
1880
|
+
* Number of customer reviews, or null when the product has none.
|
|
1881
1881
|
*/
|
|
1882
|
-
reviewsCount?: number;
|
|
1882
|
+
reviewsCount?: number | null;
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Product title. Populated whenever the provider has data for the entity.
|
|
1885
1885
|
*/
|
|
@@ -11370,22 +11370,25 @@ interface EbaySearchItem {
|
|
|
11370
11370
|
*/
|
|
11371
11371
|
itemId: string;
|
|
11372
11372
|
/**
|
|
11373
|
-
* Auction, FixedPrice, etc.
|
|
11373
|
+
* Auction, FixedPrice, etc. Null when the serving source does not publish the listing format.
|
|
11374
11374
|
*/
|
|
11375
|
-
listingType?: string;
|
|
11375
|
+
listingType?: string | null;
|
|
11376
11376
|
/**
|
|
11377
11377
|
* Listing price.
|
|
11378
11378
|
*/
|
|
11379
11379
|
price?: number;
|
|
11380
11380
|
/**
|
|
11381
|
-
* Seller's lifetime feedback count.
|
|
11381
|
+
* Seller's lifetime feedback count, or null when the serving source does not publish it.
|
|
11382
11382
|
*/
|
|
11383
|
-
sellerFeedbackCount?: number;
|
|
11383
|
+
sellerFeedbackCount?: number | null;
|
|
11384
11384
|
/**
|
|
11385
|
-
* Seller positive-feedback percentage.
|
|
11385
|
+
* Seller positive-feedback percentage, or null when the serving source does not publish it.
|
|
11386
11386
|
*/
|
|
11387
|
-
sellerFeedbackPercent?: number;
|
|
11388
|
-
|
|
11387
|
+
sellerFeedbackPercent?: number | null;
|
|
11388
|
+
/**
|
|
11389
|
+
* Seller username, or null when the serving source does not publish the seller.
|
|
11390
|
+
*/
|
|
11391
|
+
sellerName?: string | null;
|
|
11389
11392
|
/**
|
|
11390
11393
|
* Shipping cost or free-delivery label.
|
|
11391
11394
|
*/
|
|
@@ -11754,7 +11757,7 @@ declare class EbayNamespace {
|
|
|
11754
11757
|
*
|
|
11755
11758
|
* Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
|
|
11756
11759
|
*
|
|
11757
|
-
* Price: $0.
|
|
11760
|
+
* Price: $0.0005 per request.
|
|
11758
11761
|
*
|
|
11759
11762
|
* @example
|
|
11760
11763
|
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
|
|
@@ -40145,6 +40148,10 @@ interface PinterestSearchInput {
|
|
|
40145
40148
|
* Keyword, topic, brand, or theme to search Pinterest for (e.g. mid-century living room).
|
|
40146
40149
|
*/
|
|
40147
40150
|
query: string;
|
|
40151
|
+
/**
|
|
40152
|
+
* 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 `description` 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 null on a pin that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40153
|
+
*/
|
|
40154
|
+
requireFields?: ("description" | "videoUrl")[];
|
|
40148
40155
|
/**
|
|
40149
40156
|
* 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`.
|
|
40150
40157
|
*/
|
|
@@ -40157,12 +40164,35 @@ interface PinterestSearchInput {
|
|
|
40157
40164
|
type?: "all-pins" | "videos" | "boards" | "profiles";
|
|
40158
40165
|
}
|
|
40159
40166
|
interface PinterestSearchItem {
|
|
40167
|
+
/**
|
|
40168
|
+
* Username (handle) of the account that saved the pin.
|
|
40169
|
+
*/
|
|
40170
|
+
author?: string;
|
|
40171
|
+
/**
|
|
40172
|
+
* Display name of the account that saved the pin.
|
|
40173
|
+
*/
|
|
40174
|
+
authorName?: string;
|
|
40175
|
+
/**
|
|
40176
|
+
* The pin's full description text, or null when the source does not provide it.
|
|
40177
|
+
*/
|
|
40178
|
+
description?: string | null;
|
|
40160
40179
|
id: string;
|
|
40180
|
+
/**
|
|
40181
|
+
* URL of the pin's full-size image; for a video pin, its cover image.
|
|
40182
|
+
*/
|
|
40183
|
+
image?: string;
|
|
40184
|
+
/**
|
|
40185
|
+
* Pin title, or the pin's description when the pin has no title.
|
|
40186
|
+
*/
|
|
40161
40187
|
title: string;
|
|
40162
40188
|
/**
|
|
40163
40189
|
* Populated whenever the provider has data for the entity.
|
|
40164
40190
|
*/
|
|
40165
40191
|
url: string;
|
|
40192
|
+
/**
|
|
40193
|
+
* Streaming (HLS) URL of the pin's video, or null when the pin is not a video or the source does not provide it.
|
|
40194
|
+
*/
|
|
40195
|
+
videoUrl?: string | null;
|
|
40166
40196
|
[extra: string]: unknown;
|
|
40167
40197
|
}
|
|
40168
40198
|
/**
|
|
@@ -51302,6 +51332,10 @@ interface TiktokHashtagVideosInput {
|
|
|
51302
51332
|
* Range: minimum 1.
|
|
51303
51333
|
*/
|
|
51304
51334
|
preferLatencyUnderMs?: number;
|
|
51335
|
+
/**
|
|
51336
|
+
* 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.
|
|
51337
|
+
*/
|
|
51338
|
+
requireFields?: ("commentCount" | "likeCount" | "playCount" | "shareCount")[];
|
|
51305
51339
|
/**
|
|
51306
51340
|
* 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`.
|
|
51307
51341
|
*/
|
|
@@ -51333,7 +51367,7 @@ interface TiktokHashtagVideosItem {
|
|
|
51333
51367
|
*/
|
|
51334
51368
|
collectCount?: number;
|
|
51335
51369
|
/**
|
|
51336
|
-
* Number of comments on the video.
|
|
51370
|
+
* Number of comments on the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51337
51371
|
*/
|
|
51338
51372
|
commentCount?: number;
|
|
51339
51373
|
/**
|
|
@@ -51353,15 +51387,15 @@ interface TiktokHashtagVideosItem {
|
|
|
51353
51387
|
*/
|
|
51354
51388
|
image?: string;
|
|
51355
51389
|
/**
|
|
51356
|
-
* Number of likes on the video.
|
|
51390
|
+
* Number of likes on the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51357
51391
|
*/
|
|
51358
51392
|
likeCount?: number;
|
|
51359
51393
|
/**
|
|
51360
|
-
* Number of views/plays of the video.
|
|
51394
|
+
* Number of views/plays of the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51361
51395
|
*/
|
|
51362
51396
|
playCount?: number;
|
|
51363
51397
|
/**
|
|
51364
|
-
* Number of shares of the video.
|
|
51398
|
+
* Number of shares of the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51365
51399
|
*/
|
|
51366
51400
|
shareCount?: number;
|
|
51367
51401
|
/**
|
|
@@ -54782,7 +54816,7 @@ interface TiktokShopSearchItem {
|
|
|
54782
54816
|
*/
|
|
54783
54817
|
image?: string;
|
|
54784
54818
|
/**
|
|
54785
|
-
* Pre-discount list price
|
|
54819
|
+
* Pre-discount list price. Omitted when the product is not on sale.
|
|
54786
54820
|
*/
|
|
54787
54821
|
originalPrice?: number;
|
|
54788
54822
|
/**
|
|
@@ -54794,7 +54828,7 @@ interface TiktokShopSearchItem {
|
|
|
54794
54828
|
*/
|
|
54795
54829
|
productId: string;
|
|
54796
54830
|
/**
|
|
54797
|
-
* Average review score.
|
|
54831
|
+
* Average review score. Omitted when the product has no rating yet.
|
|
54798
54832
|
*/
|
|
54799
54833
|
rating?: number;
|
|
54800
54834
|
/**
|
|
@@ -55509,10 +55543,6 @@ interface TrustpilotReviewsInput {
|
|
|
55509
55543
|
* Range: minimum 1.
|
|
55510
55544
|
*/
|
|
55511
55545
|
preferLatencyUnderMs?: number;
|
|
55512
|
-
/**
|
|
55513
|
-
* 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 `avatarUrl`, 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.
|
|
55514
|
-
*/
|
|
55515
|
-
requireFields?: ("author" | "authorCountry" | "avatarUrl" | "language" | "reviewerReviewsCount")[];
|
|
55516
55546
|
/**
|
|
55517
55547
|
* Review ordering: auto, relevancy, or recent (e.g. recent).
|
|
55518
55548
|
* One of: auto, relevancy, recent.
|
|
@@ -55547,9 +55577,9 @@ interface TrustpilotReviewsItem {
|
|
|
55547
55577
|
*/
|
|
55548
55578
|
authorCountry?: string;
|
|
55549
55579
|
/**
|
|
55550
|
-
* URL of the reviewer's avatar image.
|
|
55580
|
+
* URL of the reviewer's avatar image, or null when the reviewer has no photo.
|
|
55551
55581
|
*/
|
|
55552
|
-
avatarUrl?: string;
|
|
55582
|
+
avatarUrl?: string | null;
|
|
55553
55583
|
/**
|
|
55554
55584
|
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
|
|
55555
55585
|
* Present whenever the upstream returns this record.
|
|
@@ -55559,6 +55589,14 @@ interface TrustpilotReviewsItem {
|
|
|
55559
55589
|
* Language code of the review text, e.g. en.
|
|
55560
55590
|
*/
|
|
55561
55591
|
language?: string;
|
|
55592
|
+
/**
|
|
55593
|
+
* The company's public reply to the review. Absent when the company has not replied.
|
|
55594
|
+
*/
|
|
55595
|
+
ownerResponseText?: string;
|
|
55596
|
+
/**
|
|
55597
|
+
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the company replied; absent when it has not.
|
|
55598
|
+
*/
|
|
55599
|
+
ownerResponseUtc?: number;
|
|
55562
55600
|
/**
|
|
55563
55601
|
* Star rating (1-5).
|
|
55564
55602
|
*/
|
|
@@ -60724,9 +60762,9 @@ interface YoutubeVideoInput {
|
|
|
60724
60762
|
*/
|
|
60725
60763
|
preferLatencyUnderMs?: number;
|
|
60726
60764
|
/**
|
|
60727
|
-
* 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 `authorAvatarUrl`, 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.
|
|
60765
|
+
* 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 `authorAvatarUrl`, 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.
|
|
60728
60766
|
*/
|
|
60729
|
-
requireFields?: "authorAvatarUrl"[];
|
|
60767
|
+
requireFields?: ("authorAvatarUrl" | "comments" | "description")[];
|
|
60730
60768
|
/**
|
|
60731
60769
|
* 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`.
|
|
60732
60770
|
*/
|
|
@@ -60761,7 +60799,7 @@ interface YoutubeVideoData {
|
|
|
60761
60799
|
*/
|
|
60762
60800
|
channel: string;
|
|
60763
60801
|
/**
|
|
60764
|
-
* Number of comments.
|
|
60802
|
+
* Number of comments. Some sources round large counts (2.4M instead of 2,457,538); name `comments` in requireFields to be served only by a source that returns the exact count.
|
|
60765
60803
|
*/
|
|
60766
60804
|
comments: number;
|
|
60767
60805
|
/**
|
|
@@ -60769,7 +60807,7 @@ interface YoutubeVideoData {
|
|
|
60769
60807
|
*/
|
|
60770
60808
|
createdUtc: number;
|
|
60771
60809
|
/**
|
|
60772
|
-
*
|
|
60810
|
+
* Video description text. Some sources return it as YouTube displays it, with long links shortened (https://colab.research.google.com/dri...) and YouTube or social links replaced by their titles; name `description` in requireFields to be served only by a source that returns every link intact.
|
|
60773
60811
|
*/
|
|
60774
60812
|
description?: string;
|
|
60775
60813
|
/**
|
|
@@ -62487,9 +62525,13 @@ interface ZillowSearchItem {
|
|
|
62487
62525
|
livingArea?: number;
|
|
62488
62526
|
longitude?: number;
|
|
62489
62527
|
/**
|
|
62490
|
-
* Lot size in square feet.
|
|
62528
|
+
* Lot size as Zillow states it, in the unit named by lotSizeUnit (square feet or acres), or null when the listing has no lot size.
|
|
62491
62529
|
*/
|
|
62492
|
-
lotSize?: number;
|
|
62530
|
+
lotSize?: number | null;
|
|
62531
|
+
/**
|
|
62532
|
+
* Unit of lotSize: sqft or acres. Null when the listing has no lot size or the serving source does not name the unit.
|
|
62533
|
+
*/
|
|
62534
|
+
lotSizeUnit?: string | null;
|
|
62493
62535
|
/**
|
|
62494
62536
|
* List price in the listing currency.
|
|
62495
62537
|
*/
|
|
@@ -62499,9 +62541,9 @@ interface ZillowSearchItem {
|
|
|
62499
62541
|
*/
|
|
62500
62542
|
propertyType?: string;
|
|
62501
62543
|
/**
|
|
62502
|
-
* Zillow estimated monthly rent.
|
|
62544
|
+
* Zillow estimated monthly rent, or null when Zillow shows no rent Zestimate for the listing.
|
|
62503
62545
|
*/
|
|
62504
|
-
rentZestimate?: number;
|
|
62546
|
+
rentZestimate?: number | null;
|
|
62505
62547
|
/**
|
|
62506
62548
|
* Two-letter state code.
|
|
62507
62549
|
*/
|
|
@@ -62516,9 +62558,9 @@ interface ZillowSearchItem {
|
|
|
62516
62558
|
*/
|
|
62517
62559
|
streetAddress?: string;
|
|
62518
62560
|
/**
|
|
62519
|
-
* Assessed value the county tax authority carries for the property.
|
|
62561
|
+
* Assessed value the county tax authority carries for the property, or null when none is published.
|
|
62520
62562
|
*/
|
|
62521
|
-
taxAssessedValue?: number;
|
|
62563
|
+
taxAssessedValue?: number | null;
|
|
62522
62564
|
/**
|
|
62523
62565
|
* Absolute Zillow listing URL. Populated whenever the provider has data for the entity.
|
|
62524
62566
|
*/
|
|
@@ -62528,9 +62570,9 @@ interface ZillowSearchItem {
|
|
|
62528
62570
|
*/
|
|
62529
62571
|
yearBuilt?: number | null;
|
|
62530
62572
|
/**
|
|
62531
|
-
* Zillow estimated market value.
|
|
62573
|
+
* Zillow estimated market value, or null when Zillow shows no Zestimate for the listing.
|
|
62532
62574
|
*/
|
|
62533
|
-
zestimate?: number;
|
|
62575
|
+
zestimate?: number | null;
|
|
62534
62576
|
zipcode?: string;
|
|
62535
62577
|
/**
|
|
62536
62578
|
* Zillow property id (zpid). Populated whenever the provider has data for the entity.
|
package/dist/index.d.ts
CHANGED
|
@@ -1857,7 +1857,7 @@ interface AmazonSearchItem {
|
|
|
1857
1857
|
*/
|
|
1858
1858
|
isSponsored?: boolean;
|
|
1859
1859
|
/**
|
|
1860
|
-
* Pre-discount list price when on sale,
|
|
1860
|
+
* Pre-discount list price when on sale, or null when the product is not discounted or the serving source does not publish it.
|
|
1861
1861
|
*/
|
|
1862
1862
|
listPrice?: number | null;
|
|
1863
1863
|
/**
|
|
@@ -1869,17 +1869,17 @@ interface AmazonSearchItem {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
position?: number;
|
|
1871
1871
|
/**
|
|
1872
|
-
* Current price as a numeric amount
|
|
1872
|
+
* Current price as a numeric amount, or null when the result shows no current price (no offer, or only a secondary offer).
|
|
1873
1873
|
*/
|
|
1874
|
-
price?: number;
|
|
1874
|
+
price?: number | null;
|
|
1875
1875
|
/**
|
|
1876
|
-
* Average star rating, 0-5
|
|
1876
|
+
* Average star rating, 0-5, or null when the product is unrated.
|
|
1877
1877
|
*/
|
|
1878
|
-
rating?: number;
|
|
1878
|
+
rating?: number | null;
|
|
1879
1879
|
/**
|
|
1880
|
-
* Number of customer reviews
|
|
1880
|
+
* Number of customer reviews, or null when the product has none.
|
|
1881
1881
|
*/
|
|
1882
|
-
reviewsCount?: number;
|
|
1882
|
+
reviewsCount?: number | null;
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Product title. Populated whenever the provider has data for the entity.
|
|
1885
1885
|
*/
|
|
@@ -11370,22 +11370,25 @@ interface EbaySearchItem {
|
|
|
11370
11370
|
*/
|
|
11371
11371
|
itemId: string;
|
|
11372
11372
|
/**
|
|
11373
|
-
* Auction, FixedPrice, etc.
|
|
11373
|
+
* Auction, FixedPrice, etc. Null when the serving source does not publish the listing format.
|
|
11374
11374
|
*/
|
|
11375
|
-
listingType?: string;
|
|
11375
|
+
listingType?: string | null;
|
|
11376
11376
|
/**
|
|
11377
11377
|
* Listing price.
|
|
11378
11378
|
*/
|
|
11379
11379
|
price?: number;
|
|
11380
11380
|
/**
|
|
11381
|
-
* Seller's lifetime feedback count.
|
|
11381
|
+
* Seller's lifetime feedback count, or null when the serving source does not publish it.
|
|
11382
11382
|
*/
|
|
11383
|
-
sellerFeedbackCount?: number;
|
|
11383
|
+
sellerFeedbackCount?: number | null;
|
|
11384
11384
|
/**
|
|
11385
|
-
* Seller positive-feedback percentage.
|
|
11385
|
+
* Seller positive-feedback percentage, or null when the serving source does not publish it.
|
|
11386
11386
|
*/
|
|
11387
|
-
sellerFeedbackPercent?: number;
|
|
11388
|
-
|
|
11387
|
+
sellerFeedbackPercent?: number | null;
|
|
11388
|
+
/**
|
|
11389
|
+
* Seller username, or null when the serving source does not publish the seller.
|
|
11390
|
+
*/
|
|
11391
|
+
sellerName?: string | null;
|
|
11389
11392
|
/**
|
|
11390
11393
|
* Shipping cost or free-delivery label.
|
|
11391
11394
|
*/
|
|
@@ -11754,7 +11757,7 @@ declare class EbayNamespace {
|
|
|
11754
11757
|
*
|
|
11755
11758
|
* Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
|
|
11756
11759
|
*
|
|
11757
|
-
* Price: $0.
|
|
11760
|
+
* Price: $0.0005 per request.
|
|
11758
11761
|
*
|
|
11759
11762
|
* @example
|
|
11760
11763
|
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
|
|
@@ -40145,6 +40148,10 @@ interface PinterestSearchInput {
|
|
|
40145
40148
|
* Keyword, topic, brand, or theme to search Pinterest for (e.g. mid-century living room).
|
|
40146
40149
|
*/
|
|
40147
40150
|
query: string;
|
|
40151
|
+
/**
|
|
40152
|
+
* 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 `description` 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 null on a pin that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40153
|
+
*/
|
|
40154
|
+
requireFields?: ("description" | "videoUrl")[];
|
|
40148
40155
|
/**
|
|
40149
40156
|
* 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`.
|
|
40150
40157
|
*/
|
|
@@ -40157,12 +40164,35 @@ interface PinterestSearchInput {
|
|
|
40157
40164
|
type?: "all-pins" | "videos" | "boards" | "profiles";
|
|
40158
40165
|
}
|
|
40159
40166
|
interface PinterestSearchItem {
|
|
40167
|
+
/**
|
|
40168
|
+
* Username (handle) of the account that saved the pin.
|
|
40169
|
+
*/
|
|
40170
|
+
author?: string;
|
|
40171
|
+
/**
|
|
40172
|
+
* Display name of the account that saved the pin.
|
|
40173
|
+
*/
|
|
40174
|
+
authorName?: string;
|
|
40175
|
+
/**
|
|
40176
|
+
* The pin's full description text, or null when the source does not provide it.
|
|
40177
|
+
*/
|
|
40178
|
+
description?: string | null;
|
|
40160
40179
|
id: string;
|
|
40180
|
+
/**
|
|
40181
|
+
* URL of the pin's full-size image; for a video pin, its cover image.
|
|
40182
|
+
*/
|
|
40183
|
+
image?: string;
|
|
40184
|
+
/**
|
|
40185
|
+
* Pin title, or the pin's description when the pin has no title.
|
|
40186
|
+
*/
|
|
40161
40187
|
title: string;
|
|
40162
40188
|
/**
|
|
40163
40189
|
* Populated whenever the provider has data for the entity.
|
|
40164
40190
|
*/
|
|
40165
40191
|
url: string;
|
|
40192
|
+
/**
|
|
40193
|
+
* Streaming (HLS) URL of the pin's video, or null when the pin is not a video or the source does not provide it.
|
|
40194
|
+
*/
|
|
40195
|
+
videoUrl?: string | null;
|
|
40166
40196
|
[extra: string]: unknown;
|
|
40167
40197
|
}
|
|
40168
40198
|
/**
|
|
@@ -51302,6 +51332,10 @@ interface TiktokHashtagVideosInput {
|
|
|
51302
51332
|
* Range: minimum 1.
|
|
51303
51333
|
*/
|
|
51304
51334
|
preferLatencyUnderMs?: number;
|
|
51335
|
+
/**
|
|
51336
|
+
* 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.
|
|
51337
|
+
*/
|
|
51338
|
+
requireFields?: ("commentCount" | "likeCount" | "playCount" | "shareCount")[];
|
|
51305
51339
|
/**
|
|
51306
51340
|
* 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`.
|
|
51307
51341
|
*/
|
|
@@ -51333,7 +51367,7 @@ interface TiktokHashtagVideosItem {
|
|
|
51333
51367
|
*/
|
|
51334
51368
|
collectCount?: number;
|
|
51335
51369
|
/**
|
|
51336
|
-
* Number of comments on the video.
|
|
51370
|
+
* Number of comments on the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51337
51371
|
*/
|
|
51338
51372
|
commentCount?: number;
|
|
51339
51373
|
/**
|
|
@@ -51353,15 +51387,15 @@ interface TiktokHashtagVideosItem {
|
|
|
51353
51387
|
*/
|
|
51354
51388
|
image?: string;
|
|
51355
51389
|
/**
|
|
51356
|
-
* Number of likes on the video.
|
|
51390
|
+
* Number of likes on the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51357
51391
|
*/
|
|
51358
51392
|
likeCount?: number;
|
|
51359
51393
|
/**
|
|
51360
|
-
* Number of views/plays of the video.
|
|
51394
|
+
* Number of views/plays of the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51361
51395
|
*/
|
|
51362
51396
|
playCount?: number;
|
|
51363
51397
|
/**
|
|
51364
|
-
* Number of shares of the video.
|
|
51398
|
+
* Number of shares of the video. Some sources round large counts (27.7M instead of 27,712,408); name the field in requireFields to be served only by a source that returns the exact count.
|
|
51365
51399
|
*/
|
|
51366
51400
|
shareCount?: number;
|
|
51367
51401
|
/**
|
|
@@ -54782,7 +54816,7 @@ interface TiktokShopSearchItem {
|
|
|
54782
54816
|
*/
|
|
54783
54817
|
image?: string;
|
|
54784
54818
|
/**
|
|
54785
|
-
* Pre-discount list price
|
|
54819
|
+
* Pre-discount list price. Omitted when the product is not on sale.
|
|
54786
54820
|
*/
|
|
54787
54821
|
originalPrice?: number;
|
|
54788
54822
|
/**
|
|
@@ -54794,7 +54828,7 @@ interface TiktokShopSearchItem {
|
|
|
54794
54828
|
*/
|
|
54795
54829
|
productId: string;
|
|
54796
54830
|
/**
|
|
54797
|
-
* Average review score.
|
|
54831
|
+
* Average review score. Omitted when the product has no rating yet.
|
|
54798
54832
|
*/
|
|
54799
54833
|
rating?: number;
|
|
54800
54834
|
/**
|
|
@@ -55509,10 +55543,6 @@ interface TrustpilotReviewsInput {
|
|
|
55509
55543
|
* Range: minimum 1.
|
|
55510
55544
|
*/
|
|
55511
55545
|
preferLatencyUnderMs?: number;
|
|
55512
|
-
/**
|
|
55513
|
-
* 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 `avatarUrl`, 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.
|
|
55514
|
-
*/
|
|
55515
|
-
requireFields?: ("author" | "authorCountry" | "avatarUrl" | "language" | "reviewerReviewsCount")[];
|
|
55516
55546
|
/**
|
|
55517
55547
|
* Review ordering: auto, relevancy, or recent (e.g. recent).
|
|
55518
55548
|
* One of: auto, relevancy, recent.
|
|
@@ -55547,9 +55577,9 @@ interface TrustpilotReviewsItem {
|
|
|
55547
55577
|
*/
|
|
55548
55578
|
authorCountry?: string;
|
|
55549
55579
|
/**
|
|
55550
|
-
* URL of the reviewer's avatar image.
|
|
55580
|
+
* URL of the reviewer's avatar image, or null when the reviewer has no photo.
|
|
55551
55581
|
*/
|
|
55552
|
-
avatarUrl?: string;
|
|
55582
|
+
avatarUrl?: string | null;
|
|
55553
55583
|
/**
|
|
55554
55584
|
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
|
|
55555
55585
|
* Present whenever the upstream returns this record.
|
|
@@ -55559,6 +55589,14 @@ interface TrustpilotReviewsItem {
|
|
|
55559
55589
|
* Language code of the review text, e.g. en.
|
|
55560
55590
|
*/
|
|
55561
55591
|
language?: string;
|
|
55592
|
+
/**
|
|
55593
|
+
* The company's public reply to the review. Absent when the company has not replied.
|
|
55594
|
+
*/
|
|
55595
|
+
ownerResponseText?: string;
|
|
55596
|
+
/**
|
|
55597
|
+
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the company replied; absent when it has not.
|
|
55598
|
+
*/
|
|
55599
|
+
ownerResponseUtc?: number;
|
|
55562
55600
|
/**
|
|
55563
55601
|
* Star rating (1-5).
|
|
55564
55602
|
*/
|
|
@@ -60724,9 +60762,9 @@ interface YoutubeVideoInput {
|
|
|
60724
60762
|
*/
|
|
60725
60763
|
preferLatencyUnderMs?: number;
|
|
60726
60764
|
/**
|
|
60727
|
-
* 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 `authorAvatarUrl`, 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.
|
|
60765
|
+
* 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 `authorAvatarUrl`, 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.
|
|
60728
60766
|
*/
|
|
60729
|
-
requireFields?: "authorAvatarUrl"[];
|
|
60767
|
+
requireFields?: ("authorAvatarUrl" | "comments" | "description")[];
|
|
60730
60768
|
/**
|
|
60731
60769
|
* 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`.
|
|
60732
60770
|
*/
|
|
@@ -60761,7 +60799,7 @@ interface YoutubeVideoData {
|
|
|
60761
60799
|
*/
|
|
60762
60800
|
channel: string;
|
|
60763
60801
|
/**
|
|
60764
|
-
* Number of comments.
|
|
60802
|
+
* Number of comments. Some sources round large counts (2.4M instead of 2,457,538); name `comments` in requireFields to be served only by a source that returns the exact count.
|
|
60765
60803
|
*/
|
|
60766
60804
|
comments: number;
|
|
60767
60805
|
/**
|
|
@@ -60769,7 +60807,7 @@ interface YoutubeVideoData {
|
|
|
60769
60807
|
*/
|
|
60770
60808
|
createdUtc: number;
|
|
60771
60809
|
/**
|
|
60772
|
-
*
|
|
60810
|
+
* Video description text. Some sources return it as YouTube displays it, with long links shortened (https://colab.research.google.com/dri...) and YouTube or social links replaced by their titles; name `description` in requireFields to be served only by a source that returns every link intact.
|
|
60773
60811
|
*/
|
|
60774
60812
|
description?: string;
|
|
60775
60813
|
/**
|
|
@@ -62487,9 +62525,13 @@ interface ZillowSearchItem {
|
|
|
62487
62525
|
livingArea?: number;
|
|
62488
62526
|
longitude?: number;
|
|
62489
62527
|
/**
|
|
62490
|
-
* Lot size in square feet.
|
|
62528
|
+
* Lot size as Zillow states it, in the unit named by lotSizeUnit (square feet or acres), or null when the listing has no lot size.
|
|
62491
62529
|
*/
|
|
62492
|
-
lotSize?: number;
|
|
62530
|
+
lotSize?: number | null;
|
|
62531
|
+
/**
|
|
62532
|
+
* Unit of lotSize: sqft or acres. Null when the listing has no lot size or the serving source does not name the unit.
|
|
62533
|
+
*/
|
|
62534
|
+
lotSizeUnit?: string | null;
|
|
62493
62535
|
/**
|
|
62494
62536
|
* List price in the listing currency.
|
|
62495
62537
|
*/
|
|
@@ -62499,9 +62541,9 @@ interface ZillowSearchItem {
|
|
|
62499
62541
|
*/
|
|
62500
62542
|
propertyType?: string;
|
|
62501
62543
|
/**
|
|
62502
|
-
* Zillow estimated monthly rent.
|
|
62544
|
+
* Zillow estimated monthly rent, or null when Zillow shows no rent Zestimate for the listing.
|
|
62503
62545
|
*/
|
|
62504
|
-
rentZestimate?: number;
|
|
62546
|
+
rentZestimate?: number | null;
|
|
62505
62547
|
/**
|
|
62506
62548
|
* Two-letter state code.
|
|
62507
62549
|
*/
|
|
@@ -62516,9 +62558,9 @@ interface ZillowSearchItem {
|
|
|
62516
62558
|
*/
|
|
62517
62559
|
streetAddress?: string;
|
|
62518
62560
|
/**
|
|
62519
|
-
* Assessed value the county tax authority carries for the property.
|
|
62561
|
+
* Assessed value the county tax authority carries for the property, or null when none is published.
|
|
62520
62562
|
*/
|
|
62521
|
-
taxAssessedValue?: number;
|
|
62563
|
+
taxAssessedValue?: number | null;
|
|
62522
62564
|
/**
|
|
62523
62565
|
* Absolute Zillow listing URL. Populated whenever the provider has data for the entity.
|
|
62524
62566
|
*/
|
|
@@ -62528,9 +62570,9 @@ interface ZillowSearchItem {
|
|
|
62528
62570
|
*/
|
|
62529
62571
|
yearBuilt?: number | null;
|
|
62530
62572
|
/**
|
|
62531
|
-
* Zillow estimated market value.
|
|
62573
|
+
* Zillow estimated market value, or null when Zillow shows no Zestimate for the listing.
|
|
62532
62574
|
*/
|
|
62533
|
-
zestimate?: number;
|
|
62575
|
+
zestimate?: number | null;
|
|
62534
62576
|
zipcode?: string;
|
|
62535
62577
|
/**
|
|
62536
62578
|
* Zillow property id (zpid). Populated whenever the provider has data for the entity.
|
package/dist/index.js
CHANGED
|
@@ -1912,7 +1912,7 @@ var EbayNamespace = class {
|
|
|
1912
1912
|
*
|
|
1913
1913
|
* Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
|
|
1914
1914
|
*
|
|
1915
|
-
* Price: $0.
|
|
1915
|
+
* Price: $0.0005 per request.
|
|
1916
1916
|
*
|
|
1917
1917
|
* @example
|
|
1918
1918
|
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
|