scrapebadger 0.15.3 → 0.15.4
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.d.cts +514 -76
- package/dist/index.d.ts +514 -76
- package/dist/index.js +117 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +114 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -411,7 +411,7 @@ interface VintedPagination {
|
|
|
411
411
|
/**
|
|
412
412
|
* Response from the search endpoint.
|
|
413
413
|
*/
|
|
414
|
-
interface SearchResponse$
|
|
414
|
+
interface SearchResponse$4 {
|
|
415
415
|
/** List of matching items */
|
|
416
416
|
items: VintedItemSummary[];
|
|
417
417
|
/** Pagination metadata */
|
|
@@ -479,7 +479,7 @@ interface StatusesResponse {
|
|
|
479
479
|
/**
|
|
480
480
|
* Response from the markets endpoint.
|
|
481
481
|
*/
|
|
482
|
-
interface MarketsResponse$
|
|
482
|
+
interface MarketsResponse$5 {
|
|
483
483
|
/** List of available markets */
|
|
484
484
|
markets: VintedMarket[];
|
|
485
485
|
}
|
|
@@ -550,7 +550,7 @@ interface VintedSearchParams {
|
|
|
550
550
|
* });
|
|
551
551
|
* ```
|
|
552
552
|
*/
|
|
553
|
-
declare class SearchClient$
|
|
553
|
+
declare class SearchClient$8 {
|
|
554
554
|
private readonly client;
|
|
555
555
|
constructor(client: BaseClient);
|
|
556
556
|
/**
|
|
@@ -586,7 +586,7 @@ declare class SearchClient$7 {
|
|
|
586
586
|
* }
|
|
587
587
|
* ```
|
|
588
588
|
*/
|
|
589
|
-
search(params: VintedSearchParams): Promise<SearchResponse$
|
|
589
|
+
search(params: VintedSearchParams): Promise<SearchResponse$4>;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
/**
|
|
@@ -741,7 +741,7 @@ declare class UsersClient$2 {
|
|
|
741
741
|
* }
|
|
742
742
|
* ```
|
|
743
743
|
*/
|
|
744
|
-
declare class ReferenceClient$
|
|
744
|
+
declare class ReferenceClient$6 {
|
|
745
745
|
private readonly client;
|
|
746
746
|
constructor(client: BaseClient);
|
|
747
747
|
/**
|
|
@@ -819,7 +819,7 @@ declare class ReferenceClient$5 {
|
|
|
819
819
|
* }
|
|
820
820
|
* ```
|
|
821
821
|
*/
|
|
822
|
-
markets(): Promise<MarketsResponse$
|
|
822
|
+
markets(): Promise<MarketsResponse$5>;
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
/**
|
|
@@ -856,13 +856,13 @@ declare class ReferenceClient$5 {
|
|
|
856
856
|
*/
|
|
857
857
|
declare class VintedClient {
|
|
858
858
|
/** Client for item search operations */
|
|
859
|
-
readonly search: SearchClient$
|
|
859
|
+
readonly search: SearchClient$8;
|
|
860
860
|
/** Client for individual item operations */
|
|
861
861
|
readonly items: ItemsClient$1;
|
|
862
862
|
/** Client for user operations */
|
|
863
863
|
readonly users: UsersClient$2;
|
|
864
864
|
/** Client for reference data (brands, colors, statuses, markets) */
|
|
865
|
-
readonly reference: ReferenceClient$
|
|
865
|
+
readonly reference: ReferenceClient$6;
|
|
866
866
|
/**
|
|
867
867
|
* Create a new Vinted client.
|
|
868
868
|
*
|
|
@@ -1862,7 +1862,7 @@ declare class ScholarClient {
|
|
|
1862
1862
|
* }
|
|
1863
1863
|
* ```
|
|
1864
1864
|
*/
|
|
1865
|
-
declare class SearchClient$
|
|
1865
|
+
declare class SearchClient$7 {
|
|
1866
1866
|
private readonly client;
|
|
1867
1867
|
constructor(client: BaseClient);
|
|
1868
1868
|
/**
|
|
@@ -2064,7 +2064,7 @@ declare class VideosClient$2 {
|
|
|
2064
2064
|
*/
|
|
2065
2065
|
declare class GoogleClient {
|
|
2066
2066
|
/** Google Web Search (SERP) — with optional deferred AI Overview follow-up. */
|
|
2067
|
-
readonly search: SearchClient$
|
|
2067
|
+
readonly search: SearchClient$7;
|
|
2068
2068
|
/** Google Maps — places, reviews, photos, posts. */
|
|
2069
2069
|
readonly maps: MapsClient;
|
|
2070
2070
|
/** Google News — articles, topics, trending. */
|
|
@@ -2895,7 +2895,7 @@ interface DomainPostsResponse {
|
|
|
2895
2895
|
* const domainPosts = await client.reddit.search.domainPosts({ domain: "github.com" });
|
|
2896
2896
|
* ```
|
|
2897
2897
|
*/
|
|
2898
|
-
declare class SearchClient$
|
|
2898
|
+
declare class SearchClient$6 {
|
|
2899
2899
|
private readonly client;
|
|
2900
2900
|
constructor(client: BaseClient);
|
|
2901
2901
|
/**
|
|
@@ -3504,7 +3504,7 @@ declare class UsersClient$1 {
|
|
|
3504
3504
|
*/
|
|
3505
3505
|
declare class RedditClient {
|
|
3506
3506
|
/** Client for search operations (posts, subreddits, users, domain posts) */
|
|
3507
|
-
readonly search: SearchClient$
|
|
3507
|
+
readonly search: SearchClient$6;
|
|
3508
3508
|
/** Client for post operations (trending, details, comments, duplicates) */
|
|
3509
3509
|
readonly posts: PostsClient;
|
|
3510
3510
|
/** Client for subreddit operations (details, posts, rules, moderators, wiki) */
|
|
@@ -3554,7 +3554,7 @@ interface Pagination$1 {
|
|
|
3554
3554
|
/**
|
|
3555
3555
|
* A single supported marketplace (for /markets).
|
|
3556
3556
|
*/
|
|
3557
|
-
interface MarketInfo$
|
|
3557
|
+
interface MarketInfo$3 {
|
|
3558
3558
|
/** Market code (e.g. "US", "UK", "DE") */
|
|
3559
3559
|
code: string;
|
|
3560
3560
|
/** Amazon domain suffix (e.g. "com", "co.uk") */
|
|
@@ -3900,7 +3900,7 @@ interface AutocompleteSuggestion$1 {
|
|
|
3900
3900
|
alias: string | null;
|
|
3901
3901
|
}
|
|
3902
3902
|
/** Response from the /search endpoint. */
|
|
3903
|
-
interface SearchResponse$
|
|
3903
|
+
interface SearchResponse$3 {
|
|
3904
3904
|
query: string;
|
|
3905
3905
|
domain: string;
|
|
3906
3906
|
results: SearchResult$3[];
|
|
@@ -3995,14 +3995,14 @@ interface SellerFeedbackResponse$1 {
|
|
|
3995
3995
|
scraped_at: string | null;
|
|
3996
3996
|
}
|
|
3997
3997
|
/** Response from the /autocomplete endpoint. */
|
|
3998
|
-
interface AutocompleteResponse$
|
|
3998
|
+
interface AutocompleteResponse$3 {
|
|
3999
3999
|
query: string;
|
|
4000
4000
|
domain: string;
|
|
4001
4001
|
suggestions: AutocompleteSuggestion$1[];
|
|
4002
4002
|
}
|
|
4003
4003
|
/** Response from the /markets endpoint. */
|
|
4004
|
-
interface MarketsResponse$
|
|
4005
|
-
markets: MarketInfo$
|
|
4004
|
+
interface MarketsResponse$4 {
|
|
4005
|
+
markets: MarketInfo$3[];
|
|
4006
4006
|
}
|
|
4007
4007
|
/** Response from the /categories endpoint. */
|
|
4008
4008
|
interface CategoriesResponse$2 {
|
|
@@ -4128,7 +4128,7 @@ interface AmazonAutocompleteParams {
|
|
|
4128
4128
|
* const suggestions = await client.amazon.search.autocomplete("lapt");
|
|
4129
4129
|
* ```
|
|
4130
4130
|
*/
|
|
4131
|
-
declare class SearchClient$
|
|
4131
|
+
declare class SearchClient$5 {
|
|
4132
4132
|
private readonly client;
|
|
4133
4133
|
constructor(client: BaseClient);
|
|
4134
4134
|
/**
|
|
@@ -4139,7 +4139,7 @@ declare class SearchClient$4 {
|
|
|
4139
4139
|
* @throws AuthenticationError - If the API key is invalid.
|
|
4140
4140
|
* @throws ValidationError - If the parameters are invalid.
|
|
4141
4141
|
*/
|
|
4142
|
-
search(params: AmazonSearchParams): Promise<SearchResponse$
|
|
4142
|
+
search(params: AmazonSearchParams): Promise<SearchResponse$3>;
|
|
4143
4143
|
/**
|
|
4144
4144
|
* Get Amazon keyword autocomplete suggestions.
|
|
4145
4145
|
*
|
|
@@ -4147,7 +4147,7 @@ declare class SearchClient$4 {
|
|
|
4147
4147
|
* @param options - Optional parameters (domain).
|
|
4148
4148
|
* @returns Autocomplete suggestions.
|
|
4149
4149
|
*/
|
|
4150
|
-
autocomplete(query: string, options?: AmazonAutocompleteParams): Promise<AutocompleteResponse$
|
|
4150
|
+
autocomplete(query: string, options?: AmazonAutocompleteParams): Promise<AutocompleteResponse$3>;
|
|
4151
4151
|
}
|
|
4152
4152
|
|
|
4153
4153
|
/**
|
|
@@ -4324,7 +4324,7 @@ declare class SellersClient$1 {
|
|
|
4324
4324
|
* const categories = await client.amazon.reference.categories();
|
|
4325
4325
|
* ```
|
|
4326
4326
|
*/
|
|
4327
|
-
declare class ReferenceClient$
|
|
4327
|
+
declare class ReferenceClient$5 {
|
|
4328
4328
|
private readonly client;
|
|
4329
4329
|
constructor(client: BaseClient);
|
|
4330
4330
|
/**
|
|
@@ -4332,7 +4332,7 @@ declare class ReferenceClient$4 {
|
|
|
4332
4332
|
*
|
|
4333
4333
|
* @returns Markets response with all supported marketplaces.
|
|
4334
4334
|
*/
|
|
4335
|
-
markets(): Promise<MarketsResponse$
|
|
4335
|
+
markets(): Promise<MarketsResponse$4>;
|
|
4336
4336
|
/**
|
|
4337
4337
|
* Get the reference department / category aliases.
|
|
4338
4338
|
*
|
|
@@ -4379,7 +4379,7 @@ declare class ReferenceClient$4 {
|
|
|
4379
4379
|
*/
|
|
4380
4380
|
declare class AmazonClient {
|
|
4381
4381
|
/** Client for keyword search and autocomplete */
|
|
4382
|
-
readonly search: SearchClient$
|
|
4382
|
+
readonly search: SearchClient$5;
|
|
4383
4383
|
/** Client for product detail, offers, and reviews */
|
|
4384
4384
|
readonly products: ProductsClient$1;
|
|
4385
4385
|
/** Client for bestsellers, new releases, deals, and category browse */
|
|
@@ -4387,7 +4387,7 @@ declare class AmazonClient {
|
|
|
4387
4387
|
/** Client for seller profile, products, and feedback */
|
|
4388
4388
|
readonly sellers: SellersClient$1;
|
|
4389
4389
|
/** Client for reference data (markets, categories) */
|
|
4390
|
-
readonly reference: ReferenceClient$
|
|
4390
|
+
readonly reference: ReferenceClient$5;
|
|
4391
4391
|
/**
|
|
4392
4392
|
* Create a new Amazon client.
|
|
4393
4393
|
*
|
|
@@ -4604,7 +4604,7 @@ interface ShopeeMarket {
|
|
|
4604
4604
|
/**
|
|
4605
4605
|
* Response from the /v1/shopee/markets endpoint.
|
|
4606
4606
|
*/
|
|
4607
|
-
interface MarketsResponse$
|
|
4607
|
+
interface MarketsResponse$3 {
|
|
4608
4608
|
markets: ShopeeMarket[];
|
|
4609
4609
|
}
|
|
4610
4610
|
/** Parameters for searching Shopee products. */
|
|
@@ -4679,7 +4679,7 @@ interface ShopeeCategoriesParams {
|
|
|
4679
4679
|
* const cat = await client.shopee.search.categoryItems(100001, { market: "sg" });
|
|
4680
4680
|
* ```
|
|
4681
4681
|
*/
|
|
4682
|
-
declare class SearchClient$
|
|
4682
|
+
declare class SearchClient$4 {
|
|
4683
4683
|
private readonly client;
|
|
4684
4684
|
constructor(client: BaseClient);
|
|
4685
4685
|
/**
|
|
@@ -4802,7 +4802,7 @@ declare class ReviewsClient {
|
|
|
4802
4802
|
* }
|
|
4803
4803
|
* ```
|
|
4804
4804
|
*/
|
|
4805
|
-
declare class ReferenceClient$
|
|
4805
|
+
declare class ReferenceClient$4 {
|
|
4806
4806
|
private readonly client;
|
|
4807
4807
|
constructor(client: BaseClient);
|
|
4808
4808
|
/**
|
|
@@ -4810,7 +4810,7 @@ declare class ReferenceClient$3 {
|
|
|
4810
4810
|
*
|
|
4811
4811
|
* @returns Markets response with all supported Shopee markets (0 credits).
|
|
4812
4812
|
*/
|
|
4813
|
-
markets(): Promise<MarketsResponse$
|
|
4813
|
+
markets(): Promise<MarketsResponse$3>;
|
|
4814
4814
|
/**
|
|
4815
4815
|
* Get the full category tree for a Shopee market.
|
|
4816
4816
|
*
|
|
@@ -4862,13 +4862,13 @@ declare class ReferenceClient$3 {
|
|
|
4862
4862
|
*/
|
|
4863
4863
|
declare class ShopeeClient {
|
|
4864
4864
|
/** Client for keyword search and category-item listing */
|
|
4865
|
-
readonly search: SearchClient$
|
|
4865
|
+
readonly search: SearchClient$4;
|
|
4866
4866
|
/** Client for full product detail pages */
|
|
4867
4867
|
readonly products: ProductsClient;
|
|
4868
4868
|
/** Client for product reviews and rating summaries */
|
|
4869
4869
|
readonly reviews: ReviewsClient;
|
|
4870
4870
|
/** Client for reference data (markets, category tree) */
|
|
4871
|
-
readonly reference: ReferenceClient$
|
|
4871
|
+
readonly reference: ReferenceClient$4;
|
|
4872
4872
|
/**
|
|
4873
4873
|
* Create a new Shopee client.
|
|
4874
4874
|
*
|
|
@@ -5714,7 +5714,7 @@ declare class VideosClient$1 {
|
|
|
5714
5714
|
* const users = await client.tiktok.search.users({ query: "skincare" });
|
|
5715
5715
|
* ```
|
|
5716
5716
|
*/
|
|
5717
|
-
declare class SearchClient$
|
|
5717
|
+
declare class SearchClient$3 {
|
|
5718
5718
|
private readonly client;
|
|
5719
5719
|
constructor(client: BaseClient);
|
|
5720
5720
|
/**
|
|
@@ -5920,7 +5920,7 @@ declare class AdsClient {
|
|
|
5920
5920
|
* }
|
|
5921
5921
|
* ```
|
|
5922
5922
|
*/
|
|
5923
|
-
declare class ReferenceClient$
|
|
5923
|
+
declare class ReferenceClient$3 {
|
|
5924
5924
|
private readonly client;
|
|
5925
5925
|
constructor(client: BaseClient);
|
|
5926
5926
|
/**
|
|
@@ -5985,7 +5985,7 @@ declare class TikTokClient {
|
|
|
5985
5985
|
/** Client for video detail, comments, replies, related, transcript, oEmbed */
|
|
5986
5986
|
readonly videos: VideosClient$1;
|
|
5987
5987
|
/** Client for keyword search across videos, users, and hashtags */
|
|
5988
|
-
readonly search: SearchClient$
|
|
5988
|
+
readonly search: SearchClient$3;
|
|
5989
5989
|
/** Client for sound/music detail and videos using a sound */
|
|
5990
5990
|
readonly music: MusicClient$1;
|
|
5991
5991
|
/** Client for hashtag detail and tagged videos */
|
|
@@ -5995,7 +5995,7 @@ declare class TikTokClient {
|
|
|
5995
5995
|
/** Client for the Commercial Content Library (ad transparency) */
|
|
5996
5996
|
readonly ads: AdsClient;
|
|
5997
5997
|
/** Client for reference data (regions) and service health */
|
|
5998
|
-
readonly reference: ReferenceClient$
|
|
5998
|
+
readonly reference: ReferenceClient$3;
|
|
5999
5999
|
/**
|
|
6000
6000
|
* Create a new TikTok client.
|
|
6001
6001
|
*
|
|
@@ -6041,7 +6041,7 @@ interface Pagination {
|
|
|
6041
6041
|
/**
|
|
6042
6042
|
* A single supported marketplace (for /markets).
|
|
6043
6043
|
*/
|
|
6044
|
-
interface MarketInfo$
|
|
6044
|
+
interface MarketInfo$2 {
|
|
6045
6045
|
/** Market code (e.g. "US", "GB", "DE") */
|
|
6046
6046
|
code: string;
|
|
6047
6047
|
/** eBay domain suffix (e.g. "com", "co.uk") */
|
|
@@ -6279,7 +6279,7 @@ interface AutocompleteSuggestion {
|
|
|
6279
6279
|
value: string;
|
|
6280
6280
|
}
|
|
6281
6281
|
/** Response from the /search and /completed endpoints. */
|
|
6282
|
-
interface SearchResponse$
|
|
6282
|
+
interface SearchResponse$2 {
|
|
6283
6283
|
query: string | null;
|
|
6284
6284
|
domain: string;
|
|
6285
6285
|
category_id: string | null;
|
|
@@ -6342,14 +6342,14 @@ interface CategoryResponse {
|
|
|
6342
6342
|
scraped_at: string | null;
|
|
6343
6343
|
}
|
|
6344
6344
|
/** Response from the /autocomplete endpoint. */
|
|
6345
|
-
interface AutocompleteResponse$
|
|
6345
|
+
interface AutocompleteResponse$2 {
|
|
6346
6346
|
query: string;
|
|
6347
6347
|
domain: string;
|
|
6348
6348
|
suggestions: AutocompleteSuggestion[];
|
|
6349
6349
|
}
|
|
6350
6350
|
/** Response from the /markets endpoint. */
|
|
6351
|
-
interface MarketsResponse$
|
|
6352
|
-
markets: MarketInfo$
|
|
6351
|
+
interface MarketsResponse$2 {
|
|
6352
|
+
markets: MarketInfo$2[];
|
|
6353
6353
|
}
|
|
6354
6354
|
/** Response from the /categories endpoint. */
|
|
6355
6355
|
interface CategoriesResponse$1 {
|
|
@@ -6489,7 +6489,7 @@ interface EbayAutocompleteParams {
|
|
|
6489
6489
|
* const suggestions = await client.ebay.search.autocomplete("ipho");
|
|
6490
6490
|
* ```
|
|
6491
6491
|
*/
|
|
6492
|
-
declare class SearchClient$
|
|
6492
|
+
declare class SearchClient$2 {
|
|
6493
6493
|
private readonly client;
|
|
6494
6494
|
constructor(client: BaseClient);
|
|
6495
6495
|
/**
|
|
@@ -6500,14 +6500,14 @@ declare class SearchClient$1 {
|
|
|
6500
6500
|
* @throws AuthenticationError - If the API key is invalid.
|
|
6501
6501
|
* @throws ValidationError - If the parameters are invalid.
|
|
6502
6502
|
*/
|
|
6503
|
-
search(params: EbaySearchParams): Promise<SearchResponse$
|
|
6503
|
+
search(params: EbaySearchParams): Promise<SearchResponse$2>;
|
|
6504
6504
|
/**
|
|
6505
6505
|
* Search completed / sold listings — eBay's sold-price history.
|
|
6506
6506
|
*
|
|
6507
6507
|
* @param params - Search parameters including query, filters, and pagination.
|
|
6508
6508
|
* @returns Search results (with `sold: true`), facets, and pagination.
|
|
6509
6509
|
*/
|
|
6510
|
-
completed(params: EbayCompletedParams): Promise<SearchResponse$
|
|
6510
|
+
completed(params: EbayCompletedParams): Promise<SearchResponse$2>;
|
|
6511
6511
|
/**
|
|
6512
6512
|
* Get eBay keyword autocomplete suggestions.
|
|
6513
6513
|
*
|
|
@@ -6515,7 +6515,7 @@ declare class SearchClient$1 {
|
|
|
6515
6515
|
* @param options - Optional parameters (domain).
|
|
6516
6516
|
* @returns Autocomplete suggestions.
|
|
6517
6517
|
*/
|
|
6518
|
-
autocomplete(query: string, options?: EbayAutocompleteParams): Promise<AutocompleteResponse$
|
|
6518
|
+
autocomplete(query: string, options?: EbayAutocompleteParams): Promise<AutocompleteResponse$2>;
|
|
6519
6519
|
}
|
|
6520
6520
|
|
|
6521
6521
|
/**
|
|
@@ -6670,7 +6670,7 @@ declare class CategoriesClient {
|
|
|
6670
6670
|
* }
|
|
6671
6671
|
* ```
|
|
6672
6672
|
*/
|
|
6673
|
-
declare class ReferenceClient$
|
|
6673
|
+
declare class ReferenceClient$2 {
|
|
6674
6674
|
private readonly client;
|
|
6675
6675
|
constructor(client: BaseClient);
|
|
6676
6676
|
/**
|
|
@@ -6678,7 +6678,7 @@ declare class ReferenceClient$1 {
|
|
|
6678
6678
|
*
|
|
6679
6679
|
* @returns Markets response with all supported marketplaces.
|
|
6680
6680
|
*/
|
|
6681
|
-
markets(): Promise<MarketsResponse$
|
|
6681
|
+
markets(): Promise<MarketsResponse$2>;
|
|
6682
6682
|
}
|
|
6683
6683
|
|
|
6684
6684
|
/**
|
|
@@ -6725,7 +6725,7 @@ declare class ReferenceClient$1 {
|
|
|
6725
6725
|
*/
|
|
6726
6726
|
declare class EbayClient {
|
|
6727
6727
|
/** Client for active search, completed/sold search, and autocomplete */
|
|
6728
|
-
readonly search: SearchClient$
|
|
6728
|
+
readonly search: SearchClient$2;
|
|
6729
6729
|
/** Client for item detail and catalog product reviews */
|
|
6730
6730
|
readonly items: ItemsClient;
|
|
6731
6731
|
/** Client for seller profile, items, and feedback */
|
|
@@ -6733,7 +6733,7 @@ declare class EbayClient {
|
|
|
6733
6733
|
/** Client for category browse and the reference category list */
|
|
6734
6734
|
readonly categories: CategoriesClient;
|
|
6735
6735
|
/** Client for reference data (markets) */
|
|
6736
|
-
readonly reference: ReferenceClient$
|
|
6736
|
+
readonly reference: ReferenceClient$2;
|
|
6737
6737
|
/**
|
|
6738
6738
|
* Create a new eBay client.
|
|
6739
6739
|
*
|
|
@@ -7228,7 +7228,7 @@ interface SearchChip {
|
|
|
7228
7228
|
/**
|
|
7229
7229
|
* A page of search results.
|
|
7230
7230
|
*/
|
|
7231
|
-
interface SearchResponse {
|
|
7231
|
+
interface SearchResponse$1 {
|
|
7232
7232
|
query: string | null;
|
|
7233
7233
|
results: SearchResult[];
|
|
7234
7234
|
total_results: number | null;
|
|
@@ -7243,7 +7243,7 @@ interface SearchResponse {
|
|
|
7243
7243
|
/**
|
|
7244
7244
|
* Keyword suggestions for a query prefix.
|
|
7245
7245
|
*/
|
|
7246
|
-
interface AutocompleteResponse {
|
|
7246
|
+
interface AutocompleteResponse$1 {
|
|
7247
7247
|
query: string;
|
|
7248
7248
|
suggestions: string[];
|
|
7249
7249
|
}
|
|
@@ -7466,7 +7466,7 @@ interface RegionsResponse {
|
|
|
7466
7466
|
/**
|
|
7467
7467
|
* A single geo-targeted scraper market (for /markets).
|
|
7468
7468
|
*/
|
|
7469
|
-
interface MarketInfo {
|
|
7469
|
+
interface MarketInfo$1 {
|
|
7470
7470
|
/** Content region code (e.g. "US") */
|
|
7471
7471
|
gl: string;
|
|
7472
7472
|
/** UI language code (e.g. "en") */
|
|
@@ -7477,8 +7477,8 @@ interface MarketInfo {
|
|
|
7477
7477
|
/**
|
|
7478
7478
|
* Response from the /markets endpoint.
|
|
7479
7479
|
*/
|
|
7480
|
-
interface MarketsResponse {
|
|
7481
|
-
markets: MarketInfo[];
|
|
7480
|
+
interface MarketsResponse$1 {
|
|
7481
|
+
markets: MarketInfo$1[];
|
|
7482
7482
|
}
|
|
7483
7483
|
/** Result-type filter for search. */
|
|
7484
7484
|
type YoutubeSearchType = "video" | "channel" | "playlist" | "movie" | "all";
|
|
@@ -7519,11 +7519,9 @@ interface YoutubeSearchParams extends YoutubeRegionParams {
|
|
|
7519
7519
|
continuation?: string;
|
|
7520
7520
|
}
|
|
7521
7521
|
/** Options for the autocomplete endpoint. */
|
|
7522
|
-
|
|
7523
|
-
}
|
|
7522
|
+
type YoutubeAutocompleteParams = YoutubeRegionParams;
|
|
7524
7523
|
/** Options for the video detail endpoint. */
|
|
7525
|
-
|
|
7526
|
-
}
|
|
7524
|
+
type YoutubeVideoParams = YoutubeRegionParams;
|
|
7527
7525
|
/** Options for the related-videos endpoint. */
|
|
7528
7526
|
interface YoutubeRelatedParams extends YoutubeRegionParams {
|
|
7529
7527
|
/** Pagination token */
|
|
@@ -7547,8 +7545,7 @@ interface YoutubeTranscriptParams extends YoutubeRegionParams {
|
|
|
7547
7545
|
language?: string;
|
|
7548
7546
|
}
|
|
7549
7547
|
/** Options for the captions endpoint. */
|
|
7550
|
-
|
|
7551
|
-
}
|
|
7548
|
+
type YoutubeCaptionsParams = YoutubeRegionParams;
|
|
7552
7549
|
/** Options for the streams endpoint. */
|
|
7553
7550
|
interface YoutubeStreamsParams {
|
|
7554
7551
|
/** Content region */
|
|
@@ -7574,8 +7571,7 @@ interface YoutubeOEmbedParams {
|
|
|
7574
7571
|
url: string;
|
|
7575
7572
|
}
|
|
7576
7573
|
/** Options for the channel detail / about / subscriber_count endpoints. */
|
|
7577
|
-
|
|
7578
|
-
}
|
|
7574
|
+
type YoutubeChannelParams = YoutubeRegionParams;
|
|
7579
7575
|
/** Options for a channel tab (videos/shorts/streams/playlists/community) endpoint. */
|
|
7580
7576
|
interface YoutubeChannelTabParams extends YoutubeRegionParams {
|
|
7581
7577
|
/** Pagination token */
|
|
@@ -7596,24 +7592,21 @@ interface YoutubeResolveParams extends YoutubeRegionParams {
|
|
|
7596
7592
|
url?: string;
|
|
7597
7593
|
}
|
|
7598
7594
|
/** Options for the playlist detail / mix endpoints. */
|
|
7599
|
-
|
|
7600
|
-
}
|
|
7595
|
+
type YoutubePlaylistParams = YoutubeRegionParams;
|
|
7601
7596
|
/** Options for the playlist items endpoint. */
|
|
7602
7597
|
interface YoutubePlaylistItemsParams extends YoutubeRegionParams {
|
|
7603
7598
|
/** Pagination token */
|
|
7604
7599
|
continuation?: string;
|
|
7605
7600
|
}
|
|
7606
7601
|
/** Options for the community post detail endpoint. */
|
|
7607
|
-
|
|
7608
|
-
}
|
|
7602
|
+
type YoutubePostParams = YoutubeRegionParams;
|
|
7609
7603
|
/** Options for the community post comments endpoint. */
|
|
7610
7604
|
interface YoutubePostCommentsParams extends YoutubeRegionParams {
|
|
7611
7605
|
/** Pagination token */
|
|
7612
7606
|
continuation?: string;
|
|
7613
7607
|
}
|
|
7614
7608
|
/** Options for the single-short endpoint. */
|
|
7615
|
-
|
|
7616
|
-
}
|
|
7609
|
+
type YoutubeShortParams = YoutubeRegionParams;
|
|
7617
7610
|
/** Options for the shorts-by-sound endpoint. */
|
|
7618
7611
|
interface YoutubeShortsBySoundParams extends YoutubeRegionParams {
|
|
7619
7612
|
/** Pagination token */
|
|
@@ -7675,7 +7668,7 @@ interface YoutubeCategoriesParams {
|
|
|
7675
7668
|
* const suggestions = await client.youtube.search.autocomplete("lofi");
|
|
7676
7669
|
* ```
|
|
7677
7670
|
*/
|
|
7678
|
-
declare class SearchClient {
|
|
7671
|
+
declare class SearchClient$1 {
|
|
7679
7672
|
private readonly client;
|
|
7680
7673
|
constructor(client: BaseClient);
|
|
7681
7674
|
/**
|
|
@@ -7686,7 +7679,7 @@ declare class SearchClient {
|
|
|
7686
7679
|
* @throws AuthenticationError - If the API key is invalid.
|
|
7687
7680
|
* @throws ValidationError - If the parameters are invalid.
|
|
7688
7681
|
*/
|
|
7689
|
-
search(params: YoutubeSearchParams): Promise<SearchResponse>;
|
|
7682
|
+
search(params: YoutubeSearchParams): Promise<SearchResponse$1>;
|
|
7690
7683
|
/**
|
|
7691
7684
|
* Get YouTube keyword autocomplete suggestions.
|
|
7692
7685
|
*
|
|
@@ -7694,7 +7687,7 @@ declare class SearchClient {
|
|
|
7694
7687
|
* @param options - Optional region parameters (gl, hl).
|
|
7695
7688
|
* @returns Autocomplete suggestions.
|
|
7696
7689
|
*/
|
|
7697
|
-
autocomplete(query: string, options?: YoutubeAutocompleteParams): Promise<AutocompleteResponse>;
|
|
7690
|
+
autocomplete(query: string, options?: YoutubeAutocompleteParams): Promise<AutocompleteResponse$1>;
|
|
7698
7691
|
}
|
|
7699
7692
|
|
|
7700
7693
|
/**
|
|
@@ -7900,7 +7893,7 @@ declare class ChannelsClient {
|
|
|
7900
7893
|
* @param options - The required query plus optional continuation and region.
|
|
7901
7894
|
* @returns A page of search results scoped to the channel.
|
|
7902
7895
|
*/
|
|
7903
|
-
search(channelId: string, options: YoutubeChannelSearchParams): Promise<SearchResponse>;
|
|
7896
|
+
search(channelId: string, options: YoutubeChannelSearchParams): Promise<SearchResponse$1>;
|
|
7904
7897
|
/**
|
|
7905
7898
|
* Resolve a @handle or URL to canonical YouTube ids.
|
|
7906
7899
|
*
|
|
@@ -8127,7 +8120,7 @@ declare class MusicClient {
|
|
|
8127
8120
|
* @param params - The required query plus optional continuation and region.
|
|
8128
8121
|
* @returns A page of search results with a continuation token.
|
|
8129
8122
|
*/
|
|
8130
|
-
search(params: YoutubeMusicSearchParams): Promise<SearchResponse>;
|
|
8123
|
+
search(params: YoutubeMusicSearchParams): Promise<SearchResponse$1>;
|
|
8131
8124
|
}
|
|
8132
8125
|
|
|
8133
8126
|
/**
|
|
@@ -8150,7 +8143,7 @@ declare class MusicClient {
|
|
|
8150
8143
|
* const markets = await client.youtube.reference.markets();
|
|
8151
8144
|
* ```
|
|
8152
8145
|
*/
|
|
8153
|
-
declare class ReferenceClient {
|
|
8146
|
+
declare class ReferenceClient$1 {
|
|
8154
8147
|
private readonly client;
|
|
8155
8148
|
constructor(client: BaseClient);
|
|
8156
8149
|
/**
|
|
@@ -8177,7 +8170,7 @@ declare class ReferenceClient {
|
|
|
8177
8170
|
*
|
|
8178
8171
|
* @returns The supported scraper markets.
|
|
8179
8172
|
*/
|
|
8180
|
-
markets(): Promise<MarketsResponse>;
|
|
8173
|
+
markets(): Promise<MarketsResponse$1>;
|
|
8181
8174
|
}
|
|
8182
8175
|
|
|
8183
8176
|
/**
|
|
@@ -8228,7 +8221,7 @@ declare class ReferenceClient {
|
|
|
8228
8221
|
*/
|
|
8229
8222
|
declare class YoutubeClient {
|
|
8230
8223
|
/** Client for full-matrix search and keyword autocomplete */
|
|
8231
|
-
readonly search: SearchClient;
|
|
8224
|
+
readonly search: SearchClient$1;
|
|
8232
8225
|
/** Client for video detail, comments, transcript, captions, streams, live chat, batch, and oEmbed */
|
|
8233
8226
|
readonly videos: VideosClient;
|
|
8234
8227
|
/** Client for channel detail, tab feeds, about, subscriber count, search, and resolve */
|
|
@@ -8244,7 +8237,7 @@ declare class YoutubeClient {
|
|
|
8244
8237
|
/** Client for YouTube Music search */
|
|
8245
8238
|
readonly music: MusicClient;
|
|
8246
8239
|
/** Client for reference data (categories, languages, regions, markets) */
|
|
8247
|
-
readonly reference: ReferenceClient;
|
|
8240
|
+
readonly reference: ReferenceClient$1;
|
|
8248
8241
|
/**
|
|
8249
8242
|
* Create a new YouTube client.
|
|
8250
8243
|
*
|
|
@@ -8253,6 +8246,449 @@ declare class YoutubeClient {
|
|
|
8253
8246
|
constructor(client: BaseClient);
|
|
8254
8247
|
}
|
|
8255
8248
|
|
|
8249
|
+
/**
|
|
8250
|
+
* TypeScript types for Realtor API responses.
|
|
8251
|
+
*
|
|
8252
|
+
* These interfaces mirror the backend `realtor_scraper` response schema
|
|
8253
|
+
* field-for-field. Backend keys are snake_case (e.g. `property_id`,
|
|
8254
|
+
* `list_price`, `last_sold_date_at`, `tax_history`) and are kept snake_case
|
|
8255
|
+
* here to match the JSON exactly. All model fields are optional and nullable
|
|
8256
|
+
* (`field?: type | null`); list fields default to `[]` on the backend and are
|
|
8257
|
+
* typed as arrays. Every datetime field ships in BOTH `*_utc` (string) and
|
|
8258
|
+
* `*_at` (string) form.
|
|
8259
|
+
*/
|
|
8260
|
+
/** A lat/lon coordinate pair. */
|
|
8261
|
+
interface Coordinate {
|
|
8262
|
+
lat?: number | null;
|
|
8263
|
+
lon?: number | null;
|
|
8264
|
+
}
|
|
8265
|
+
/** A postal address with an optional coordinate. */
|
|
8266
|
+
interface Address {
|
|
8267
|
+
line?: string | null;
|
|
8268
|
+
city?: string | null;
|
|
8269
|
+
state?: string | null;
|
|
8270
|
+
state_code?: string | null;
|
|
8271
|
+
postal_code?: string | null;
|
|
8272
|
+
country?: string | null;
|
|
8273
|
+
neighborhood?: string | null;
|
|
8274
|
+
county?: string | null;
|
|
8275
|
+
coordinate?: Coordinate | null;
|
|
8276
|
+
}
|
|
8277
|
+
/** A property photo with multiple resolutions. */
|
|
8278
|
+
interface Photo {
|
|
8279
|
+
href?: string | null;
|
|
8280
|
+
href_high?: string | null;
|
|
8281
|
+
href_med?: string | null;
|
|
8282
|
+
href_low?: string | null;
|
|
8283
|
+
tags?: string[];
|
|
8284
|
+
description?: string | null;
|
|
8285
|
+
}
|
|
8286
|
+
/** A phone number attached to an agent or office. */
|
|
8287
|
+
interface Phone {
|
|
8288
|
+
number?: string | null;
|
|
8289
|
+
type?: string | null;
|
|
8290
|
+
ext?: string | null;
|
|
8291
|
+
primary?: boolean | null;
|
|
8292
|
+
}
|
|
8293
|
+
/** An agent's brokerage office. */
|
|
8294
|
+
interface Office {
|
|
8295
|
+
name?: string | null;
|
|
8296
|
+
email?: string | null;
|
|
8297
|
+
href?: string | null;
|
|
8298
|
+
logo?: string | null;
|
|
8299
|
+
phones?: Phone[];
|
|
8300
|
+
address?: Address | null;
|
|
8301
|
+
}
|
|
8302
|
+
/** A listing agent. */
|
|
8303
|
+
interface Agent {
|
|
8304
|
+
agent_id?: string | null;
|
|
8305
|
+
name?: string | null;
|
|
8306
|
+
first_name?: string | null;
|
|
8307
|
+
last_name?: string | null;
|
|
8308
|
+
title?: string | null;
|
|
8309
|
+
type?: string | null;
|
|
8310
|
+
email?: string | null;
|
|
8311
|
+
phones?: Phone[];
|
|
8312
|
+
photo?: string | null;
|
|
8313
|
+
href?: string | null;
|
|
8314
|
+
office?: Office | null;
|
|
8315
|
+
broker?: string | null;
|
|
8316
|
+
nrds_id?: string | null;
|
|
8317
|
+
state_license?: string | null;
|
|
8318
|
+
}
|
|
8319
|
+
/** A scheduled open house. */
|
|
8320
|
+
interface OpenHouse {
|
|
8321
|
+
start_utc?: string | null;
|
|
8322
|
+
start_at?: string | null;
|
|
8323
|
+
end_utc?: string | null;
|
|
8324
|
+
end_at?: string | null;
|
|
8325
|
+
description?: string | null;
|
|
8326
|
+
time_zone?: string | null;
|
|
8327
|
+
href?: string | null;
|
|
8328
|
+
}
|
|
8329
|
+
/** A nearby school. */
|
|
8330
|
+
interface School {
|
|
8331
|
+
name?: string | null;
|
|
8332
|
+
rating?: number | null;
|
|
8333
|
+
education_levels?: string[];
|
|
8334
|
+
grades?: string | null;
|
|
8335
|
+
distance_miles?: number | null;
|
|
8336
|
+
district?: string | null;
|
|
8337
|
+
}
|
|
8338
|
+
/** A single year's tax + assessment record. */
|
|
8339
|
+
interface TaxRecord {
|
|
8340
|
+
year?: number | null;
|
|
8341
|
+
tax?: number | null;
|
|
8342
|
+
assessment_building?: number | null;
|
|
8343
|
+
assessment_land?: number | null;
|
|
8344
|
+
assessment_total?: number | null;
|
|
8345
|
+
}
|
|
8346
|
+
/** A single price-history event (list, sold, reduced, etc.). */
|
|
8347
|
+
interface PriceEvent {
|
|
8348
|
+
date_utc?: string | null;
|
|
8349
|
+
date_at?: string | null;
|
|
8350
|
+
event?: string | null;
|
|
8351
|
+
price?: number | null;
|
|
8352
|
+
price_per_sqft?: number | null;
|
|
8353
|
+
source_listing_id?: string | null;
|
|
8354
|
+
}
|
|
8355
|
+
/** A third-party value estimate. */
|
|
8356
|
+
interface Estimate {
|
|
8357
|
+
source?: string | null;
|
|
8358
|
+
estimate?: number | null;
|
|
8359
|
+
estimate_high?: number | null;
|
|
8360
|
+
estimate_low?: number | null;
|
|
8361
|
+
date_utc?: string | null;
|
|
8362
|
+
date_at?: string | null;
|
|
8363
|
+
}
|
|
8364
|
+
/** A named group of detail lines (e.g. "Interior Features"). */
|
|
8365
|
+
interface DetailGroup {
|
|
8366
|
+
category?: string | null;
|
|
8367
|
+
text?: string[];
|
|
8368
|
+
}
|
|
8369
|
+
/** Boolean status flags for a listing. */
|
|
8370
|
+
interface Flags {
|
|
8371
|
+
is_new_listing?: boolean | null;
|
|
8372
|
+
is_pending?: boolean | null;
|
|
8373
|
+
is_contingent?: boolean | null;
|
|
8374
|
+
is_foreclosure?: boolean | null;
|
|
8375
|
+
is_new_construction?: boolean | null;
|
|
8376
|
+
is_price_reduced?: boolean | null;
|
|
8377
|
+
is_coming_soon?: boolean | null;
|
|
8378
|
+
}
|
|
8379
|
+
/** A property as returned by /search. */
|
|
8380
|
+
interface Property {
|
|
8381
|
+
property_id?: string | null;
|
|
8382
|
+
listing_id?: string | null;
|
|
8383
|
+
mls_number?: string | null;
|
|
8384
|
+
market?: string | null;
|
|
8385
|
+
country?: string | null;
|
|
8386
|
+
url?: string | null;
|
|
8387
|
+
status?: string | null;
|
|
8388
|
+
transaction_type?: string | null;
|
|
8389
|
+
currency?: string | null;
|
|
8390
|
+
list_price?: number | null;
|
|
8391
|
+
list_price_formatted?: string | null;
|
|
8392
|
+
list_price_min?: number | null;
|
|
8393
|
+
list_price_max?: number | null;
|
|
8394
|
+
price_per_sqft?: number | null;
|
|
8395
|
+
price_reduced_amount?: number | null;
|
|
8396
|
+
last_sold_price?: number | null;
|
|
8397
|
+
last_sold_date_utc?: string | null;
|
|
8398
|
+
last_sold_date_at?: string | null;
|
|
8399
|
+
hoa_fee?: number | null;
|
|
8400
|
+
property_type?: string | null;
|
|
8401
|
+
sub_type?: string | null;
|
|
8402
|
+
beds?: number | null;
|
|
8403
|
+
baths?: number | null;
|
|
8404
|
+
baths_full?: number | null;
|
|
8405
|
+
baths_half?: number | null;
|
|
8406
|
+
sqft?: number | null;
|
|
8407
|
+
lot_sqft?: number | null;
|
|
8408
|
+
year_built?: number | null;
|
|
8409
|
+
stories?: number | null;
|
|
8410
|
+
garage?: number | null;
|
|
8411
|
+
rooms?: number | null;
|
|
8412
|
+
parking_spaces?: number | null;
|
|
8413
|
+
address?: Address | null;
|
|
8414
|
+
description_text?: string | null;
|
|
8415
|
+
primary_photo?: string | null;
|
|
8416
|
+
photo_count?: number | null;
|
|
8417
|
+
photos?: Photo[];
|
|
8418
|
+
virtual_tours?: string[];
|
|
8419
|
+
videos?: string[];
|
|
8420
|
+
flags?: Flags | null;
|
|
8421
|
+
tags?: string[];
|
|
8422
|
+
list_date_utc?: string | null;
|
|
8423
|
+
list_date_at?: string | null;
|
|
8424
|
+
last_update_utc?: string | null;
|
|
8425
|
+
last_update_at?: string | null;
|
|
8426
|
+
days_on_market?: number | null;
|
|
8427
|
+
agents?: Agent[];
|
|
8428
|
+
source_mls_id?: string | null;
|
|
8429
|
+
source_mls_name?: string | null;
|
|
8430
|
+
open_houses?: OpenHouse[];
|
|
8431
|
+
}
|
|
8432
|
+
/** A property as returned by /properties/{property_id} (Property + extras). */
|
|
8433
|
+
interface PropertyDetail extends Property {
|
|
8434
|
+
details?: DetailGroup[];
|
|
8435
|
+
amenities?: string[];
|
|
8436
|
+
tax_history?: TaxRecord[];
|
|
8437
|
+
price_history?: PriceEvent[];
|
|
8438
|
+
schools?: School[];
|
|
8439
|
+
estimates?: Estimate[];
|
|
8440
|
+
}
|
|
8441
|
+
/** A single location suggestion. */
|
|
8442
|
+
interface Suggestion {
|
|
8443
|
+
id?: string | null;
|
|
8444
|
+
type?: string | null;
|
|
8445
|
+
label?: string | null;
|
|
8446
|
+
city?: string | null;
|
|
8447
|
+
state_code?: string | null;
|
|
8448
|
+
postal_code?: string | null;
|
|
8449
|
+
country?: string | null;
|
|
8450
|
+
slug_id?: string | null;
|
|
8451
|
+
geo_id?: string | null;
|
|
8452
|
+
coordinate?: Coordinate | null;
|
|
8453
|
+
market?: string | null;
|
|
8454
|
+
}
|
|
8455
|
+
/** A single supported market (for /markets). */
|
|
8456
|
+
interface MarketInfo {
|
|
8457
|
+
code: string;
|
|
8458
|
+
domain: string;
|
|
8459
|
+
country: string;
|
|
8460
|
+
currency: string;
|
|
8461
|
+
locale: string;
|
|
8462
|
+
name: string;
|
|
8463
|
+
}
|
|
8464
|
+
/** Response from the /autocomplete endpoint. */
|
|
8465
|
+
interface AutocompleteResponse {
|
|
8466
|
+
market: string;
|
|
8467
|
+
query: string;
|
|
8468
|
+
suggestions: Suggestion[];
|
|
8469
|
+
}
|
|
8470
|
+
/** Response from the /search endpoint. */
|
|
8471
|
+
interface SearchResponse {
|
|
8472
|
+
market: string;
|
|
8473
|
+
country: string;
|
|
8474
|
+
total: number;
|
|
8475
|
+
count: number;
|
|
8476
|
+
page: number;
|
|
8477
|
+
total_pages: number;
|
|
8478
|
+
results: Property[];
|
|
8479
|
+
}
|
|
8480
|
+
/** Response from the /markets endpoint. */
|
|
8481
|
+
interface MarketsResponse {
|
|
8482
|
+
markets: MarketInfo[];
|
|
8483
|
+
}
|
|
8484
|
+
/** Supported market codes. */
|
|
8485
|
+
type RealtorMarket = "us" | "ca";
|
|
8486
|
+
/** Listing status filter. */
|
|
8487
|
+
type RealtorStatus = "for_sale" | "for_rent" | "sold" | "pending";
|
|
8488
|
+
/** Sort order for search results. */
|
|
8489
|
+
type RealtorSort = "relevant" | "newest" | "price_low" | "price_high" | "photo_count";
|
|
8490
|
+
/** Options for the search endpoint. */
|
|
8491
|
+
interface RealtorSearchOptions {
|
|
8492
|
+
/** Market (default: "us") */
|
|
8493
|
+
market?: RealtorMarket;
|
|
8494
|
+
/** Listing status (default: "for_sale") */
|
|
8495
|
+
status?: RealtorStatus;
|
|
8496
|
+
/** Minimum list price */
|
|
8497
|
+
priceMin?: number;
|
|
8498
|
+
/** Maximum list price */
|
|
8499
|
+
priceMax?: number;
|
|
8500
|
+
/** Minimum bedrooms */
|
|
8501
|
+
bedsMin?: number;
|
|
8502
|
+
/** Minimum bathrooms */
|
|
8503
|
+
bathsMin?: number;
|
|
8504
|
+
/** Minimum square footage (US) */
|
|
8505
|
+
sqftMin?: number;
|
|
8506
|
+
/** Maximum square footage (US) */
|
|
8507
|
+
sqftMax?: number;
|
|
8508
|
+
/** Property type (US, CSV: single_family,condos,townhomes,multi_family,mobile,land) */
|
|
8509
|
+
propertyType?: string;
|
|
8510
|
+
/** Sort order */
|
|
8511
|
+
sort?: RealtorSort;
|
|
8512
|
+
/** Page number (default: 1) */
|
|
8513
|
+
page?: number;
|
|
8514
|
+
/** Results per page (1-200) */
|
|
8515
|
+
limit?: number;
|
|
8516
|
+
/** Bounding box min latitude (CA power-user) */
|
|
8517
|
+
latMin?: number;
|
|
8518
|
+
/** Bounding box max latitude (CA power-user) */
|
|
8519
|
+
latMax?: number;
|
|
8520
|
+
/** Bounding box min longitude (CA power-user) */
|
|
8521
|
+
lngMin?: number;
|
|
8522
|
+
/** Bounding box max longitude (CA power-user) */
|
|
8523
|
+
lngMax?: number;
|
|
8524
|
+
}
|
|
8525
|
+
/** Options for the autocomplete endpoint. */
|
|
8526
|
+
interface RealtorAutocompleteOptions {
|
|
8527
|
+
/** Market (default: "us") */
|
|
8528
|
+
market?: RealtorMarket;
|
|
8529
|
+
/** Max suggestions (1-25, default: 10) */
|
|
8530
|
+
limit?: number;
|
|
8531
|
+
}
|
|
8532
|
+
/** Options for the property detail endpoint. */
|
|
8533
|
+
interface RealtorPropertyOptions {
|
|
8534
|
+
/** Market (default: "us") */
|
|
8535
|
+
market?: RealtorMarket;
|
|
8536
|
+
}
|
|
8537
|
+
|
|
8538
|
+
/**
|
|
8539
|
+
* Realtor Search API client.
|
|
8540
|
+
*
|
|
8541
|
+
* Provides methods for property search and location autocomplete.
|
|
8542
|
+
*/
|
|
8543
|
+
|
|
8544
|
+
/**
|
|
8545
|
+
* Client for realtor search and autocomplete endpoints.
|
|
8546
|
+
*
|
|
8547
|
+
* @example
|
|
8548
|
+
* ```typescript
|
|
8549
|
+
* const client = new ScrapeBadger({ apiKey: "key" });
|
|
8550
|
+
*
|
|
8551
|
+
* const results = await client.realtor.search.search("Austin, TX");
|
|
8552
|
+
* for (const p of results.results) {
|
|
8553
|
+
* console.log(`${p.address?.line} — ${p.list_price_formatted}`);
|
|
8554
|
+
* }
|
|
8555
|
+
*
|
|
8556
|
+
* const suggestions = await client.realtor.search.autocomplete("Miami");
|
|
8557
|
+
* ```
|
|
8558
|
+
*/
|
|
8559
|
+
declare class SearchClient {
|
|
8560
|
+
private readonly client;
|
|
8561
|
+
constructor(client: BaseClient);
|
|
8562
|
+
/**
|
|
8563
|
+
* Search a market for properties.
|
|
8564
|
+
*
|
|
8565
|
+
* @param location - Freetext location ("Austin, TX" / ZIP / "Toronto, ON").
|
|
8566
|
+
* Required unless a CA bounding box is provided.
|
|
8567
|
+
* @param options - Filters, sorting, and pagination.
|
|
8568
|
+
* @returns Search results with pagination metadata.
|
|
8569
|
+
* @throws AuthenticationError - If the API key is invalid.
|
|
8570
|
+
* @throws ValidationError - If the parameters are invalid.
|
|
8571
|
+
*/
|
|
8572
|
+
search(location?: string, options?: RealtorSearchOptions): Promise<SearchResponse>;
|
|
8573
|
+
/**
|
|
8574
|
+
* Get location autocomplete suggestions.
|
|
8575
|
+
*
|
|
8576
|
+
* @param query - Partial location query.
|
|
8577
|
+
* @param options - Optional parameters (market, limit).
|
|
8578
|
+
* @returns Autocomplete suggestions.
|
|
8579
|
+
*/
|
|
8580
|
+
autocomplete(query: string, options?: RealtorAutocompleteOptions): Promise<AutocompleteResponse>;
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
/**
|
|
8584
|
+
* Realtor Properties API client.
|
|
8585
|
+
*
|
|
8586
|
+
* Provides a method for fetching full property detail.
|
|
8587
|
+
*/
|
|
8588
|
+
|
|
8589
|
+
/**
|
|
8590
|
+
* Client for the realtor property detail endpoint.
|
|
8591
|
+
*
|
|
8592
|
+
* @example
|
|
8593
|
+
* ```typescript
|
|
8594
|
+
* const client = new ScrapeBadger({ apiKey: "key" });
|
|
8595
|
+
*
|
|
8596
|
+
* const detail = await client.realtor.properties.getProperty("1234567890");
|
|
8597
|
+
* console.log(detail.address?.line, detail.list_price);
|
|
8598
|
+
* ```
|
|
8599
|
+
*/
|
|
8600
|
+
declare class PropertiesClient {
|
|
8601
|
+
private readonly client;
|
|
8602
|
+
constructor(client: BaseClient);
|
|
8603
|
+
/**
|
|
8604
|
+
* Get a single property's full detail.
|
|
8605
|
+
*
|
|
8606
|
+
* @param propertyId - The property id.
|
|
8607
|
+
* @param options - Optional parameters (market).
|
|
8608
|
+
* @returns Property detail including details, amenities, and history.
|
|
8609
|
+
* @throws NotFoundError - If the property doesn't exist.
|
|
8610
|
+
*/
|
|
8611
|
+
getProperty(propertyId: string, options?: RealtorPropertyOptions): Promise<PropertyDetail>;
|
|
8612
|
+
}
|
|
8613
|
+
|
|
8614
|
+
/**
|
|
8615
|
+
* Realtor Reference Data API client.
|
|
8616
|
+
*
|
|
8617
|
+
* Provides a method for fetching the static market list.
|
|
8618
|
+
*/
|
|
8619
|
+
|
|
8620
|
+
/**
|
|
8621
|
+
* Client for realtor reference data endpoints (markets).
|
|
8622
|
+
*
|
|
8623
|
+
* @example
|
|
8624
|
+
* ```typescript
|
|
8625
|
+
* const client = new ScrapeBadger({ apiKey: "key" });
|
|
8626
|
+
*
|
|
8627
|
+
* const markets = await client.realtor.reference.listMarkets();
|
|
8628
|
+
* for (const m of markets.markets) {
|
|
8629
|
+
* console.log(`${m.code}: ${m.domain} (${m.currency})`);
|
|
8630
|
+
* }
|
|
8631
|
+
* ```
|
|
8632
|
+
*/
|
|
8633
|
+
declare class ReferenceClient {
|
|
8634
|
+
private readonly client;
|
|
8635
|
+
constructor(client: BaseClient);
|
|
8636
|
+
/**
|
|
8637
|
+
* Get all supported realtor markets.
|
|
8638
|
+
*
|
|
8639
|
+
* @returns Markets response with all supported markets.
|
|
8640
|
+
*/
|
|
8641
|
+
listMarkets(): Promise<MarketsResponse>;
|
|
8642
|
+
}
|
|
8643
|
+
|
|
8644
|
+
/**
|
|
8645
|
+
* Realtor API client.
|
|
8646
|
+
*
|
|
8647
|
+
* Provides access to all Realtor API endpoints through specialized sub-clients.
|
|
8648
|
+
*/
|
|
8649
|
+
|
|
8650
|
+
/**
|
|
8651
|
+
* Realtor API client with access to all Realtor endpoints.
|
|
8652
|
+
*
|
|
8653
|
+
* Unified real-estate API over realtor.com (US) + realtor.ca (Canada).
|
|
8654
|
+
*
|
|
8655
|
+
* Provides sub-clients for different resource types:
|
|
8656
|
+
* - `search` - Property search and location autocomplete
|
|
8657
|
+
* - `properties` - Full property detail
|
|
8658
|
+
* - `reference` - Reference data (markets)
|
|
8659
|
+
*
|
|
8660
|
+
* @example
|
|
8661
|
+
* ```typescript
|
|
8662
|
+
* const client = new ScrapeBadger({ apiKey: "key" });
|
|
8663
|
+
*
|
|
8664
|
+
* // Search properties
|
|
8665
|
+
* const results = await client.realtor.search.search("Austin, TX");
|
|
8666
|
+
*
|
|
8667
|
+
* // Location autocomplete
|
|
8668
|
+
* const suggestions = await client.realtor.search.autocomplete("Miami");
|
|
8669
|
+
*
|
|
8670
|
+
* // Get property detail
|
|
8671
|
+
* const detail = await client.realtor.properties.getProperty("1234567890");
|
|
8672
|
+
*
|
|
8673
|
+
* // Reference data
|
|
8674
|
+
* const markets = await client.realtor.reference.listMarkets();
|
|
8675
|
+
* ```
|
|
8676
|
+
*/
|
|
8677
|
+
declare class RealtorClient {
|
|
8678
|
+
/** Client for property search and location autocomplete */
|
|
8679
|
+
readonly search: SearchClient;
|
|
8680
|
+
/** Client for full property detail */
|
|
8681
|
+
readonly properties: PropertiesClient;
|
|
8682
|
+
/** Client for reference data (markets) */
|
|
8683
|
+
readonly reference: ReferenceClient;
|
|
8684
|
+
/**
|
|
8685
|
+
* Create a new Realtor client.
|
|
8686
|
+
*
|
|
8687
|
+
* @param client - The base HTTP client for making requests.
|
|
8688
|
+
*/
|
|
8689
|
+
constructor(client: BaseClient);
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8256
8692
|
/**
|
|
8257
8693
|
* Main ScrapeBadger client.
|
|
8258
8694
|
*
|
|
@@ -8313,6 +8749,8 @@ declare class ScrapeBadger {
|
|
|
8313
8749
|
readonly ebay: EbayClient;
|
|
8314
8750
|
/** YouTube scraper API client — 39 endpoints */
|
|
8315
8751
|
readonly youtube: YoutubeClient;
|
|
8752
|
+
/** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
|
|
8753
|
+
readonly realtor: RealtorClient;
|
|
8316
8754
|
/**
|
|
8317
8755
|
* Create a new ScrapeBadger client.
|
|
8318
8756
|
*
|
|
@@ -8341,4 +8779,4 @@ declare class ScrapeBadger {
|
|
|
8341
8779
|
constructor(config?: Partial<ScrapeBadgerConfig>);
|
|
8342
8780
|
}
|
|
8343
8781
|
|
|
8344
|
-
export { type AiListItem, type AiModeResponse, type AiModeSearchParams, type AiReference, type AiTableRow, type AiTextBlock, type AmazonAutocompleteParams, type AutocompleteResponse$2 as AmazonAutocompleteResponse, type AutocompleteSuggestion$1 as AmazonAutocompleteSuggestion, type Bestseller as AmazonBestseller, type BestsellersRankEntry as AmazonBestsellersRankEntry, type BestsellersResponse as AmazonBestsellersResponse, type Buybox as AmazonBuybox, type CategoriesResponse$2 as AmazonCategoriesResponse, type CategoryInfo$1 as AmazonCategoryInfo, type AmazonCategoryParams, type CategoryResponse$1 as AmazonCategoryResponse, AmazonClient, type Coupon as AmazonCoupon, type Deal as AmazonDeal, type AmazonDealsParams, type DealsResponse as AmazonDealsResponse, type Delivery as AmazonDelivery, type FeedbackWindow as AmazonFeedbackWindow, ListingsClient as AmazonListingsClient, type AmazonListingsParams, type MarketInfo$2 as AmazonMarketInfo, type MarketsResponse$3 as AmazonMarketsResponse, type NewReleasesResponse as AmazonNewReleasesResponse, type Offer as AmazonOffer, type OfferCondition as AmazonOfferCondition, type OfferDelivery as AmazonOfferDelivery, type OfferSeller as AmazonOfferSeller, type AmazonOffersParams, type OffersResponse as AmazonOffersResponse, type Pagination$1 as AmazonPagination, type AmazonPrice, type Product as AmazonProduct, type ProductBadges as AmazonProductBadges, type ProductDeal as AmazonProductDeal, type ProductDetailResponse as AmazonProductDetailResponse, type AmazonProductParams, type ProductVariant as AmazonProductVariant, ProductsClient$1 as AmazonProductsClient, type RatingBreakdown$1 as AmazonRatingBreakdown, ReferenceClient$4 as AmazonReferenceClient, type RelatedProduct as AmazonRelatedProduct, type Review$1 as AmazonReview, type ReviewProfile as AmazonReviewProfile, type AmazonReviewsParams, type ReviewsResponse$1 as AmazonReviewsResponse, SearchClient$4 as AmazonSearchClient, type AmazonSearchParams, type SearchResponse$2 as AmazonSearchResponse, type SearchResult$3 as AmazonSearchResult, type Seller$1 as AmazonSeller, type SellerFeedbackEntry as AmazonSellerFeedbackEntry, type SellerFeedbackResponse$1 as AmazonSellerFeedbackResponse, type SellerFeedbackSummary as AmazonSellerFeedbackSummary, type AmazonSellerListParams, type AmazonSellerParams, type SellerProductsResponse as AmazonSellerProductsResponse, type SellerProfileResponse$1 as AmazonSellerProfileResponse, SellersClient$1 as AmazonSellersClient, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type EbayAutocompleteParams, type AutocompleteResponse$1 as EbayAutocompleteResponse, type AutocompleteSuggestion as EbayAutocompleteSuggestion, type EbayBuyingFormat, CategoriesClient as EbayCategoriesClient, type CategoriesResponse$1 as EbayCategoriesResponse, type CategoryInfo as EbayCategoryInfo, type EbayCategoryParams, type CategoryResponse as EbayCategoryResponse, EbayClient, type EbayCompletedParams, type EbayCondition, type FeedbackBreakdown as EbayFeedbackBreakdown, type FeedbackEntry as EbayFeedbackEntry, type Image as EbayImage, type Item as EbayItem, type ItemDetailResponse as EbayItemDetailResponse, type EbayItemParams, type ItemSeller as EbayItemSeller, ItemsClient as EbayItemsClient, type MarketInfo$1 as EbayMarketInfo, type MarketsResponse$1 as EbayMarketsResponse, type Pagination as EbayPagination, type EbayPrice, type RatingHistogram as EbayRatingHistogram, ReferenceClient$1 as EbayReferenceClient, type ReturnsPolicy as EbayReturnsPolicy, type Review as EbayReview, type EbayReviewsParams, type ReviewsResponse as EbayReviewsResponse, SearchClient$1 as EbaySearchClient, type EbaySearchParams, type SearchResponse$1 as EbaySearchResponse, type SearchResult$1 as EbaySearchResult, type Seller as EbaySeller, type EbaySellerFeedbackParams, type SellerFeedbackResponse as EbaySellerFeedbackResponse, type EbaySellerItemsParams, type SellerItemsResponse as EbaySellerItemsResponse, type EbaySellerParams, type SellerProfileResponse as EbaySellerProfileResponse, SellersClient as EbaySellersClient, type ShippingOption as EbayShippingOption, type EbaySortBy, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient$2 as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$6 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient$1 as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient$2 as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type RedditAward, RedditClient, type RedditComment, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient$5 as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient$1 as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShopeeCategoriesParams, type ShopeeCategoryItemsParams, type CategoryNode as ShopeeCategoryNode, type CategoryTree as ShopeeCategoryTree, ShopeeClient, type ShopeeMarket, type MarketsResponse$2 as ShopeeMarketsResponse, type ShopeeProduct, type ProductAttribute as ShopeeProductAttribute, type ProductImage as ShopeeProductImage, type ProductModel as ShopeeProductModel, type ShopeeProductParams, ProductsClient as ShopeeProductsClient, type RatingBreakdown as ShopeeRatingBreakdown, ReferenceClient$3 as ShopeeReferenceClient, type ShopeeReview, type ReviewReply as ShopeeReviewReply, type ReviewSummary as ShopeeReviewSummary, ReviewsClient as ShopeeReviewsClient, type ShopeeReviewsParams, type ReviewsResult as ShopeeReviewsResult, SearchClient$3 as ShopeeSearchClient, type ShopeeSearchParams, type SearchResult$2 as ShopeeSearchResult, type ShoppingClickParams, type ShoppingOffersParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TikTokAd, type AdLibraryPage as TikTokAdLibraryPage, type AdLibrarySearchResponse as TikTokAdLibrarySearchResponse, type TikTokAdSearchParams, type TikTokAdVideo, AdsClient as TikTokAdsClient, type TikTokAnchor, type TikTokAuthor, type TikTokChallenge, TikTokClient, type TikTokComment, type CommentListResponse as TikTokCommentListResponse, type TikTokCommentRepliesParams, type TikTokCommentsParams, type TikTokCursorPage, type TikTokEffectSticker, type TikTokHashtag, type TikTokHashtagParams, type HashtagResponse$1 as TikTokHashtagResponse, type HashtagSearchResponse as TikTokHashtagSearchResponse, HashtagsClient as TikTokHashtagsClient, type TikTokListVideosParams, type TikTokMusic, MusicClient$1 as TikTokMusicClient, type TikTokMusicParams, type MusicResponse as TikTokMusicResponse, type TikTokOEmbed, type TikTokOEmbedParams, type ProfileResponse as TikTokProfileResponse, ReferenceClient$2 as TikTokReferenceClient, type RegionInfo as TikTokRegionInfo, type RegionsResponse$1 as TikTokRegionsResponse, type TikTokRelatedParams, SearchClient$2 as TikTokSearchClient, type TikTokSearchParams, type TikTokStats, type TikTokSubtitle, type TikTokTextExtra, type TikTokTranscriptParams, type TranscriptResponse as TikTokTranscriptResponse, TrendingClient$1 as TikTokTrendingClient, type TikTokTrendingHashtag, type TrendingHashtagsResponse as TikTokTrendingHashtagsResponse, type TikTokTrendingParams, type TikTokTrendingSong, type TrendingSongsResponse as TikTokTrendingSongsResponse, type TikTokTrendingVideosParams, type TikTokUser, type TikTokUserListParams, type UserListResponse as TikTokUserListResponse, type TikTokUserParams, type UserSearchResponse as TikTokUserSearchResponse, type TikTokUserStats, UsersClient as TikTokUsersClient, type TikTokVideo, type TikTokVideoControl, type VideoListResponse as TikTokVideoListResponse, type TikTokVideoMeta, type TikTokVideoParams, type VideoResponse as TikTokVideoResponse, type TikTokVideoStatus, VideosClient$1 as TikTokVideosClient, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse$1 as VintedItemDetailResponse, type VintedItemSummary, ItemsClient$1 as VintedItemsClient, type VintedMarket, type MarketsResponse$4 as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient$5 as VintedReferenceClient, SearchClient$7 as VintedSearchClient, type VintedSearchParams, type SearchResponse$3 as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$2 as VintedUsersClient, WebClient, type WikiPageResponse, type AudioTrack as YoutubeAudioTrack, type YoutubeAutocompleteParams, type AutocompleteResponse as YoutubeAutocompleteResponse, type YoutubeBatchParams, type BatchResponse as YoutubeBatchResponse, type CaptionTrack as YoutubeCaptionTrack, type YoutubeCaptionsParams, type CaptionsResponse as YoutubeCaptionsResponse, type YoutubeCategoriesParams, type CategoriesResponse as YoutubeCategoriesResponse, type Channel as YoutubeChannel, type ChannelAbout as YoutubeChannelAbout, type ChannelLink as YoutubeChannelLink, type YoutubeChannelParams, type YoutubeChannelSearchParams, type YoutubeChannelTabParams, type ChannelTabResponse as YoutubeChannelTabResponse, type ChannelVideosResponse as YoutubeChannelVideosResponse, ChannelsClient as YoutubeChannelsClient, type Chapter as YoutubeChapter, YoutubeClient, type Comment as YoutubeComment, type YoutubeCommentSort, type YoutubeCommentsParams, type CommentsResponse as YoutubeCommentsResponse, CommunityClient as YoutubeCommunityClient, type CommunityPost as YoutubeCommunityPost, type CommunityResponse as YoutubeCommunityResponse, type YoutubeDuration, type Format as YoutubeFormat, type YoutubeHashtagParams, type HashtagResponse as YoutubeHashtagResponse, type HeatMarker as YoutubeHeatMarker, type YoutubeHomeParams, type HomeResponse as YoutubeHomeResponse, type LanguagesResponse as YoutubeLanguagesResponse, type LiveChatMessage as YoutubeLiveChatMessage, type YoutubeLiveChatParams, type LiveChatResponse as YoutubeLiveChatResponse, type LiveStreamingDetails as YoutubeLiveStreamingDetails, type MarketInfo as YoutubeMarketInfo, type MarketsResponse as YoutubeMarketsResponse, MusicClient as YoutubeMusicClient, type YoutubeMusicSearchParams, type OEmbed as YoutubeOEmbed, type YoutubeOEmbedParams, type Playlist as YoutubePlaylist, type PlaylistItem as YoutubePlaylistItem, type YoutubePlaylistItemsParams, type PlaylistItemsResponse as YoutubePlaylistItemsResponse, type YoutubePlaylistParams, PlaylistsClient as YoutubePlaylistsClient, type PollChoice as YoutubePollChoice, type YoutubePostCommentsParams, type YoutubePostParams, ReferenceClient as YoutubeReferenceClient, type ReferenceRow as YoutubeReferenceRow, type YoutubeRegionParams, type RegionRestriction as YoutubeRegionRestriction, type RegionsResponse as YoutubeRegionsResponse, type YoutubeRelatedParams, type RelatedResponse as YoutubeRelatedResponse, type YoutubeRepliesParams, type RepliesResponse as YoutubeRepliesResponse, type YoutubeResolveParams, type ResolveResult as YoutubeResolveResult, type SearchChip as YoutubeSearchChip, SearchClient as YoutubeSearchClient, type YoutubeSearchParams, type SearchResponse as YoutubeSearchResponse, type SearchResult as YoutubeSearchResult, type YoutubeSearchSort, type YoutubeSearchType, type ShoppingResult as YoutubeShoppingResult, type Short as YoutubeShort, type YoutubeShortParams, type YoutubeShortsBySoundParams, ShortsClient as YoutubeShortsClient, type StreamingData as YoutubeStreamingData, type YoutubeStreamsClient, type YoutubeStreamsParams, type SubscriberCount as YoutubeSubscriberCount, type Thumbnail as YoutubeThumbnail, type Transcript as YoutubeTranscript, type YoutubeTranscriptParams, type TranscriptSegment as YoutubeTranscriptSegment, TrendingClient as YoutubeTrendingClient, type TrendingItem as YoutubeTrendingItem, type YoutubeTrendingParams, type TrendingResponse as YoutubeTrendingResponse, type YoutubeTrendingShortsParams, type YoutubeTrendingType, type YoutubeUploadDate, type Video as YoutubeVideo, type YoutubeVideoParams, VideosClient as YoutubeVideosClient };
|
|
8782
|
+
export { type AiListItem, type AiModeResponse, type AiModeSearchParams, type AiReference, type AiTableRow, type AiTextBlock, type AmazonAutocompleteParams, type AutocompleteResponse$3 as AmazonAutocompleteResponse, type AutocompleteSuggestion$1 as AmazonAutocompleteSuggestion, type Bestseller as AmazonBestseller, type BestsellersRankEntry as AmazonBestsellersRankEntry, type BestsellersResponse as AmazonBestsellersResponse, type Buybox as AmazonBuybox, type CategoriesResponse$2 as AmazonCategoriesResponse, type CategoryInfo$1 as AmazonCategoryInfo, type AmazonCategoryParams, type CategoryResponse$1 as AmazonCategoryResponse, AmazonClient, type Coupon as AmazonCoupon, type Deal as AmazonDeal, type AmazonDealsParams, type DealsResponse as AmazonDealsResponse, type Delivery as AmazonDelivery, type FeedbackWindow as AmazonFeedbackWindow, ListingsClient as AmazonListingsClient, type AmazonListingsParams, type MarketInfo$3 as AmazonMarketInfo, type MarketsResponse$4 as AmazonMarketsResponse, type NewReleasesResponse as AmazonNewReleasesResponse, type Offer as AmazonOffer, type OfferCondition as AmazonOfferCondition, type OfferDelivery as AmazonOfferDelivery, type OfferSeller as AmazonOfferSeller, type AmazonOffersParams, type OffersResponse as AmazonOffersResponse, type Pagination$1 as AmazonPagination, type AmazonPrice, type Product as AmazonProduct, type ProductBadges as AmazonProductBadges, type ProductDeal as AmazonProductDeal, type ProductDetailResponse as AmazonProductDetailResponse, type AmazonProductParams, type ProductVariant as AmazonProductVariant, ProductsClient$1 as AmazonProductsClient, type RatingBreakdown$1 as AmazonRatingBreakdown, ReferenceClient$5 as AmazonReferenceClient, type RelatedProduct as AmazonRelatedProduct, type Review$1 as AmazonReview, type ReviewProfile as AmazonReviewProfile, type AmazonReviewsParams, type ReviewsResponse$1 as AmazonReviewsResponse, SearchClient$5 as AmazonSearchClient, type AmazonSearchParams, type SearchResponse$3 as AmazonSearchResponse, type SearchResult$3 as AmazonSearchResult, type Seller$1 as AmazonSeller, type SellerFeedbackEntry as AmazonSellerFeedbackEntry, type SellerFeedbackResponse$1 as AmazonSellerFeedbackResponse, type SellerFeedbackSummary as AmazonSellerFeedbackSummary, type AmazonSellerListParams, type AmazonSellerParams, type SellerProductsResponse as AmazonSellerProductsResponse, type SellerProfileResponse$1 as AmazonSellerProfileResponse, SellersClient$1 as AmazonSellersClient, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type EbayAutocompleteParams, type AutocompleteResponse$2 as EbayAutocompleteResponse, type AutocompleteSuggestion as EbayAutocompleteSuggestion, type EbayBuyingFormat, CategoriesClient as EbayCategoriesClient, type CategoriesResponse$1 as EbayCategoriesResponse, type CategoryInfo as EbayCategoryInfo, type EbayCategoryParams, type CategoryResponse as EbayCategoryResponse, EbayClient, type EbayCompletedParams, type EbayCondition, type FeedbackBreakdown as EbayFeedbackBreakdown, type FeedbackEntry as EbayFeedbackEntry, type Image as EbayImage, type Item as EbayItem, type ItemDetailResponse as EbayItemDetailResponse, type EbayItemParams, type ItemSeller as EbayItemSeller, ItemsClient as EbayItemsClient, type MarketInfo$2 as EbayMarketInfo, type MarketsResponse$2 as EbayMarketsResponse, type Pagination as EbayPagination, type EbayPrice, type RatingHistogram as EbayRatingHistogram, ReferenceClient$2 as EbayReferenceClient, type ReturnsPolicy as EbayReturnsPolicy, type Review as EbayReview, type EbayReviewsParams, type ReviewsResponse as EbayReviewsResponse, SearchClient$2 as EbaySearchClient, type EbaySearchParams, type SearchResponse$2 as EbaySearchResponse, type SearchResult$1 as EbaySearchResult, type Seller as EbaySeller, type EbaySellerFeedbackParams, type SellerFeedbackResponse as EbaySellerFeedbackResponse, type EbaySellerItemsParams, type SellerItemsResponse as EbaySellerItemsResponse, type EbaySellerParams, type SellerProfileResponse as EbaySellerProfileResponse, SellersClient as EbaySellersClient, type ShippingOption as EbayShippingOption, type EbaySortBy, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient$2 as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$7 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient$1 as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient$2 as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type Address as RealtorAddress, type Agent as RealtorAgent, type RealtorAutocompleteOptions, type AutocompleteResponse as RealtorAutocompleteResponse, RealtorClient, type Coordinate as RealtorCoordinate, type DetailGroup as RealtorDetailGroup, type Estimate as RealtorEstimate, type Flags as RealtorFlags, type RealtorMarket, type MarketInfo as RealtorMarketInfo, type MarketsResponse as RealtorMarketsResponse, type Office as RealtorOffice, type OpenHouse as RealtorOpenHouse, type Phone as RealtorPhone, type Photo as RealtorPhoto, type PriceEvent as RealtorPriceEvent, PropertiesClient as RealtorPropertiesClient, type Property as RealtorProperty, type PropertyDetail as RealtorPropertyDetail, type RealtorPropertyOptions, ReferenceClient as RealtorReferenceClient, type School as RealtorSchool, SearchClient as RealtorSearchClient, type RealtorSearchOptions, type SearchResponse as RealtorSearchResponse, type RealtorSort, type RealtorStatus, type Suggestion as RealtorSuggestion, type TaxRecord as RealtorTaxRecord, type RedditAward, RedditClient, type RedditComment, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient$6 as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient$1 as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShopeeCategoriesParams, type ShopeeCategoryItemsParams, type CategoryNode as ShopeeCategoryNode, type CategoryTree as ShopeeCategoryTree, ShopeeClient, type ShopeeMarket, type MarketsResponse$3 as ShopeeMarketsResponse, type ShopeeProduct, type ProductAttribute as ShopeeProductAttribute, type ProductImage as ShopeeProductImage, type ProductModel as ShopeeProductModel, type ShopeeProductParams, ProductsClient as ShopeeProductsClient, type RatingBreakdown as ShopeeRatingBreakdown, ReferenceClient$4 as ShopeeReferenceClient, type ShopeeReview, type ReviewReply as ShopeeReviewReply, type ReviewSummary as ShopeeReviewSummary, ReviewsClient as ShopeeReviewsClient, type ShopeeReviewsParams, type ReviewsResult as ShopeeReviewsResult, SearchClient$4 as ShopeeSearchClient, type ShopeeSearchParams, type SearchResult$2 as ShopeeSearchResult, type ShoppingClickParams, type ShoppingOffersParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TikTokAd, type AdLibraryPage as TikTokAdLibraryPage, type AdLibrarySearchResponse as TikTokAdLibrarySearchResponse, type TikTokAdSearchParams, type TikTokAdVideo, AdsClient as TikTokAdsClient, type TikTokAnchor, type TikTokAuthor, type TikTokChallenge, TikTokClient, type TikTokComment, type CommentListResponse as TikTokCommentListResponse, type TikTokCommentRepliesParams, type TikTokCommentsParams, type TikTokCursorPage, type TikTokEffectSticker, type TikTokHashtag, type TikTokHashtagParams, type HashtagResponse$1 as TikTokHashtagResponse, type HashtagSearchResponse as TikTokHashtagSearchResponse, HashtagsClient as TikTokHashtagsClient, type TikTokListVideosParams, type TikTokMusic, MusicClient$1 as TikTokMusicClient, type TikTokMusicParams, type MusicResponse as TikTokMusicResponse, type TikTokOEmbed, type TikTokOEmbedParams, type ProfileResponse as TikTokProfileResponse, ReferenceClient$3 as TikTokReferenceClient, type RegionInfo as TikTokRegionInfo, type RegionsResponse$1 as TikTokRegionsResponse, type TikTokRelatedParams, SearchClient$3 as TikTokSearchClient, type TikTokSearchParams, type TikTokStats, type TikTokSubtitle, type TikTokTextExtra, type TikTokTranscriptParams, type TranscriptResponse as TikTokTranscriptResponse, TrendingClient$1 as TikTokTrendingClient, type TikTokTrendingHashtag, type TrendingHashtagsResponse as TikTokTrendingHashtagsResponse, type TikTokTrendingParams, type TikTokTrendingSong, type TrendingSongsResponse as TikTokTrendingSongsResponse, type TikTokTrendingVideosParams, type TikTokUser, type TikTokUserListParams, type UserListResponse as TikTokUserListResponse, type TikTokUserParams, type UserSearchResponse as TikTokUserSearchResponse, type TikTokUserStats, UsersClient as TikTokUsersClient, type TikTokVideo, type TikTokVideoControl, type VideoListResponse as TikTokVideoListResponse, type TikTokVideoMeta, type TikTokVideoParams, type VideoResponse as TikTokVideoResponse, type TikTokVideoStatus, VideosClient$1 as TikTokVideosClient, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse$1 as VintedItemDetailResponse, type VintedItemSummary, ItemsClient$1 as VintedItemsClient, type VintedMarket, type MarketsResponse$5 as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient$6 as VintedReferenceClient, SearchClient$8 as VintedSearchClient, type VintedSearchParams, type SearchResponse$4 as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$2 as VintedUsersClient, WebClient, type WikiPageResponse, type AudioTrack as YoutubeAudioTrack, type YoutubeAutocompleteParams, type AutocompleteResponse$1 as YoutubeAutocompleteResponse, type YoutubeBatchParams, type BatchResponse as YoutubeBatchResponse, type CaptionTrack as YoutubeCaptionTrack, type YoutubeCaptionsParams, type CaptionsResponse as YoutubeCaptionsResponse, type YoutubeCategoriesParams, type CategoriesResponse as YoutubeCategoriesResponse, type Channel as YoutubeChannel, type ChannelAbout as YoutubeChannelAbout, type ChannelLink as YoutubeChannelLink, type YoutubeChannelParams, type YoutubeChannelSearchParams, type YoutubeChannelTabParams, type ChannelTabResponse as YoutubeChannelTabResponse, type ChannelVideosResponse as YoutubeChannelVideosResponse, ChannelsClient as YoutubeChannelsClient, type Chapter as YoutubeChapter, YoutubeClient, type Comment as YoutubeComment, type YoutubeCommentSort, type YoutubeCommentsParams, type CommentsResponse as YoutubeCommentsResponse, CommunityClient as YoutubeCommunityClient, type CommunityPost as YoutubeCommunityPost, type CommunityResponse as YoutubeCommunityResponse, type YoutubeDuration, type Format as YoutubeFormat, type YoutubeHashtagParams, type HashtagResponse as YoutubeHashtagResponse, type HeatMarker as YoutubeHeatMarker, type YoutubeHomeParams, type HomeResponse as YoutubeHomeResponse, type LanguagesResponse as YoutubeLanguagesResponse, type LiveChatMessage as YoutubeLiveChatMessage, type YoutubeLiveChatParams, type LiveChatResponse as YoutubeLiveChatResponse, type LiveStreamingDetails as YoutubeLiveStreamingDetails, type MarketInfo$1 as YoutubeMarketInfo, type MarketsResponse$1 as YoutubeMarketsResponse, MusicClient as YoutubeMusicClient, type YoutubeMusicSearchParams, type OEmbed as YoutubeOEmbed, type YoutubeOEmbedParams, type Playlist as YoutubePlaylist, type PlaylistItem as YoutubePlaylistItem, type YoutubePlaylistItemsParams, type PlaylistItemsResponse as YoutubePlaylistItemsResponse, type YoutubePlaylistParams, PlaylistsClient as YoutubePlaylistsClient, type PollChoice as YoutubePollChoice, type YoutubePostCommentsParams, type YoutubePostParams, ReferenceClient$1 as YoutubeReferenceClient, type ReferenceRow as YoutubeReferenceRow, type YoutubeRegionParams, type RegionRestriction as YoutubeRegionRestriction, type RegionsResponse as YoutubeRegionsResponse, type YoutubeRelatedParams, type RelatedResponse as YoutubeRelatedResponse, type YoutubeRepliesParams, type RepliesResponse as YoutubeRepliesResponse, type YoutubeResolveParams, type ResolveResult as YoutubeResolveResult, type SearchChip as YoutubeSearchChip, SearchClient$1 as YoutubeSearchClient, type YoutubeSearchParams, type SearchResponse$1 as YoutubeSearchResponse, type SearchResult as YoutubeSearchResult, type YoutubeSearchSort, type YoutubeSearchType, type ShoppingResult as YoutubeShoppingResult, type Short as YoutubeShort, type YoutubeShortParams, type YoutubeShortsBySoundParams, ShortsClient as YoutubeShortsClient, type StreamingData as YoutubeStreamingData, type YoutubeStreamsClient, type YoutubeStreamsParams, type SubscriberCount as YoutubeSubscriberCount, type Thumbnail as YoutubeThumbnail, type Transcript as YoutubeTranscript, type YoutubeTranscriptParams, type TranscriptSegment as YoutubeTranscriptSegment, TrendingClient as YoutubeTrendingClient, type TrendingItem as YoutubeTrendingItem, type YoutubeTrendingParams, type TrendingResponse as YoutubeTrendingResponse, type YoutubeTrendingShortsParams, type YoutubeTrendingType, type YoutubeUploadDate, type Video as YoutubeVideo, type YoutubeVideoParams, VideosClient as YoutubeVideosClient };
|