scrapebadger 0.81.0 → 0.82.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/README.md +1 -1
- package/dist/index.cjs +127 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -3
- package/dist/index.d.ts +134 -3
- package/dist/index.mjs +127 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1284,6 +1284,48 @@ interface GoogleSearchParams {
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
mode?: "full" | "fast";
|
|
1286
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* One result to resolve. Only `link_token` is read; every other field is
|
|
1289
|
+
* returned unchanged on its row, so an `organic_results` item can be sent as
|
|
1290
|
+
* it is.
|
|
1291
|
+
*/
|
|
1292
|
+
interface GoogleResolveItem {
|
|
1293
|
+
/** The `link_token` of a search result. */
|
|
1294
|
+
link_token: string;
|
|
1295
|
+
[key: string]: unknown;
|
|
1296
|
+
}
|
|
1297
|
+
interface GoogleResolveParams {
|
|
1298
|
+
/** 1 to 25 results, each with a `link_token`. */
|
|
1299
|
+
results: GoogleResolveItem[];
|
|
1300
|
+
}
|
|
1301
|
+
/**
|
|
1302
|
+
* One row of a resolve response. It is one of:
|
|
1303
|
+
* - resolved: `link` is the result's own URL; no `link_token`,
|
|
1304
|
+
* `retry_after_seconds` or `error`.
|
|
1305
|
+
* - not ready: `link_token` and `retry_after_seconds`; `link` is as sent.
|
|
1306
|
+
* - failed: `link_token` as sent and `error`. Do not send it again.
|
|
1307
|
+
*/
|
|
1308
|
+
interface GoogleResolvedItem {
|
|
1309
|
+
/** The result's own URL once resolved; until then, the value that was sent. */
|
|
1310
|
+
link?: string;
|
|
1311
|
+
/** Token to send next time. It can differ from the one sent: keep the latest. */
|
|
1312
|
+
link_token?: string;
|
|
1313
|
+
/** Seconds to wait before sending `link_token` again (1 or more). */
|
|
1314
|
+
retry_after_seconds?: number;
|
|
1315
|
+
/** Why the link could not be resolved. A row with `error` is final. */
|
|
1316
|
+
error?: string;
|
|
1317
|
+
[key: string]: unknown;
|
|
1318
|
+
}
|
|
1319
|
+
interface GoogleResolveResponse {
|
|
1320
|
+
/** One row per result sent, in the order sent. */
|
|
1321
|
+
results: GoogleResolvedItem[];
|
|
1322
|
+
/** Smallest wait among the rows that are not ready; `null` when no row is waiting. */
|
|
1323
|
+
retry_after_seconds: number | null;
|
|
1324
|
+
}
|
|
1325
|
+
interface GoogleResolveAllOptions {
|
|
1326
|
+
/** Longest time to keep polling, in milliseconds (default 240000). */
|
|
1327
|
+
maxWaitMs?: number;
|
|
1328
|
+
}
|
|
1287
1329
|
interface MapsSearchParams {
|
|
1288
1330
|
/** Search query. Required unless `place_id` or `ludocid` is supplied. */
|
|
1289
1331
|
q?: string;
|
|
@@ -2614,7 +2656,12 @@ declare class SearchClient$h {
|
|
|
2614
2656
|
* no-results answer, `"Results for relaxed query"` when Google drops
|
|
2615
2657
|
* quotes).
|
|
2616
2658
|
* - `organic_results`: position, title, link, snippet, displayed_link,
|
|
2617
|
-
* plus `date`, `sitelinks`, `rich_snippet` and `read_more_link`.
|
|
2659
|
+
* plus `date`, `sitelinks`, `rich_snippet` and `read_more_link`. A
|
|
2660
|
+
* result whose `link` is still a Google redirect
|
|
2661
|
+
* (`https://www.google.com/goto?url=...`) also has `link_token` and
|
|
2662
|
+
* `retry_after_seconds` (seconds until the token can be resolved, 0 =
|
|
2663
|
+
* right away); both are `null` when `link` is already the result's own
|
|
2664
|
+
* URL. Pass such results to {@link resolve} or {@link resolveAll}.
|
|
2618
2665
|
* - `related_questions`: question, rank, `type` (`"ai_overview"` or
|
|
2619
2666
|
* `null`), and `text_blocks` / `references` with
|
|
2620
2667
|
* `expand_related_questions`.
|
|
@@ -2662,7 +2709,8 @@ declare class SearchClient$h {
|
|
|
2662
2709
|
* (`expand_related_questions`) need {@link search}.
|
|
2663
2710
|
*
|
|
2664
2711
|
* Returns `{ search_information, organic_results, related_searches,
|
|
2665
|
-
* pagination }`.
|
|
2712
|
+
* pagination }`. As in {@link search}, an organic result whose `link` is
|
|
2713
|
+
* still a Google redirect has `link_token` and `retry_after_seconds`.
|
|
2666
2714
|
*
|
|
2667
2715
|
* @example
|
|
2668
2716
|
* ```typescript
|
|
@@ -2676,6 +2724,89 @@ declare class SearchClient$h {
|
|
|
2676
2724
|
output?: "json";
|
|
2677
2725
|
}): Promise<GoogleResponse>;
|
|
2678
2726
|
light(params: Omit<GoogleSearchParams, "mode" | "expand_related_questions">): Promise<GoogleResponse | string>;
|
|
2727
|
+
/**
|
|
2728
|
+
* Resolve Google redirect links to the results' own URLs. One
|
|
2729
|
+
* `POST /v1/google/resolve` call, 0 credits.
|
|
2730
|
+
*
|
|
2731
|
+
* Google can return a result's `link` as a redirect
|
|
2732
|
+
* (`https://www.google.com/goto?url=...`) and limits how fast the links of
|
|
2733
|
+
* one result page can be followed. Such a result has a `link_token`. Send
|
|
2734
|
+
* 1 to 25 results that have one; every other field of an item is returned
|
|
2735
|
+
* unchanged on its row, so `organic_results` items can be sent as they
|
|
2736
|
+
* are.
|
|
2737
|
+
*
|
|
2738
|
+
* `results` in the response has one row per item, in the order sent. Each
|
|
2739
|
+
* row is one of:
|
|
2740
|
+
* - resolved: `link` is the result's own URL. The row has no `link_token`,
|
|
2741
|
+
* `retry_after_seconds` or `error`.
|
|
2742
|
+
* - not ready: the row has `link_token` and `retry_after_seconds`. Wait
|
|
2743
|
+
* that many seconds, then send the row's `link_token` again. It can
|
|
2744
|
+
* differ from the one sent, so always keep the latest. `link` is as
|
|
2745
|
+
* sent.
|
|
2746
|
+
* - failed: the row has `link_token` as sent and `error`. Do not send it
|
|
2747
|
+
* again.
|
|
2748
|
+
*
|
|
2749
|
+
* The top-level `retry_after_seconds` is the smallest wait among the rows
|
|
2750
|
+
* that are not ready, or `null` when no row is waiting. A token sent
|
|
2751
|
+
* before its wait is over is not an error: its row comes back not ready
|
|
2752
|
+
* with the wait that is left.
|
|
2753
|
+
*
|
|
2754
|
+
* Polling as `retry_after_seconds` says, all ten links of a result page
|
|
2755
|
+
* are usually known 45 to 70 seconds after the search. Once the result
|
|
2756
|
+
* page is about 160 seconds old, every remaining link resolves in one
|
|
2757
|
+
* call. {@link resolveAll} runs this loop for you.
|
|
2758
|
+
*
|
|
2759
|
+
* @example
|
|
2760
|
+
* ```typescript
|
|
2761
|
+
* const serp = await client.google.search.search({ q: "python 3.13" });
|
|
2762
|
+
* const pending = (serp.organic_results as any[]).filter((r) => r.link_token);
|
|
2763
|
+
* const { results, retry_after_seconds } = await client.google.search.resolve({
|
|
2764
|
+
* results: pending,
|
|
2765
|
+
* });
|
|
2766
|
+
* ```
|
|
2767
|
+
*
|
|
2768
|
+
* @param params - `results`: 1 to 25 items, each with a `link_token`.
|
|
2769
|
+
* @returns The rows in the order sent, and the smallest wait.
|
|
2770
|
+
* @throws ValidationError - 422: no results, more than 25, or an item without a `link_token`.
|
|
2771
|
+
* @throws ServerError - 503 with `Retry-After`: links cannot be resolved right now; try again later.
|
|
2772
|
+
*/
|
|
2773
|
+
resolve(params: GoogleResolveParams): Promise<GoogleResolveResponse>;
|
|
2774
|
+
/**
|
|
2775
|
+
* Resolve every Google redirect link in a list of results, polling
|
|
2776
|
+
* {@link resolve} until all are known or `maxWaitMs` has passed. Free.
|
|
2777
|
+
*
|
|
2778
|
+
* Pass a search response's `organic_results`. Rows with a `link_token` are
|
|
2779
|
+
* sent, at most 25 per request. Between rounds it waits the
|
|
2780
|
+
* `retry_after_seconds` the API returned (at least one second, never past
|
|
2781
|
+
* the deadline). A row without a `link_token` is returned as it is and
|
|
2782
|
+
* never sent. A row that failed (`error`) is not sent again.
|
|
2783
|
+
*
|
|
2784
|
+
* It does not throw for rows that are still not ready at the deadline:
|
|
2785
|
+
* they are returned with their latest `link_token` and
|
|
2786
|
+
* `retry_after_seconds`, and can be passed to `resolveAll` or
|
|
2787
|
+
* {@link resolve} again. An API error (for example a 503) is thrown as
|
|
2788
|
+
* usual.
|
|
2789
|
+
*
|
|
2790
|
+
* The input array and its objects are not changed.
|
|
2791
|
+
*
|
|
2792
|
+
* @example
|
|
2793
|
+
* ```typescript
|
|
2794
|
+
* const serp = await client.google.search.search({ q: "python 3.13" });
|
|
2795
|
+
* const results = await client.google.search.resolveAll(
|
|
2796
|
+
* serp.organic_results as Record<string, unknown>[]
|
|
2797
|
+
* );
|
|
2798
|
+
* for (const r of results) {
|
|
2799
|
+
* if (r.error) console.log("failed:", r.title, r.error);
|
|
2800
|
+
* else if (r.link_token) console.log("not ready yet:", r.title);
|
|
2801
|
+
* else console.log(r.title, r.link);
|
|
2802
|
+
* }
|
|
2803
|
+
* ```
|
|
2804
|
+
*
|
|
2805
|
+
* @param results - Result objects, normally a search response's `organic_results`.
|
|
2806
|
+
* @param options - `maxWaitMs`: longest time to keep polling (default 240000, four minutes).
|
|
2807
|
+
* @returns A new array with one row per input row, in the same order.
|
|
2808
|
+
*/
|
|
2809
|
+
resolveAll(results: Record<string, unknown>[], options?: GoogleResolveAllOptions): Promise<Record<string, unknown>[]>;
|
|
2679
2810
|
}
|
|
2680
2811
|
|
|
2681
2812
|
/**
|
|
@@ -20945,4 +21076,4 @@ declare class ScrapeBadger {
|
|
|
20945
21076
|
constructor(config?: Partial<ScrapeBadgerConfig>);
|
|
20946
21077
|
}
|
|
20947
21078
|
|
|
20948
|
-
export { AgentClient$1 as AgentClient, type AgentTrial, type AiListItem, type AiModeLocation, type AiModeResponse, type AiModeSearchParams, type AiReference, type AiTableRow, type AiTextBlock, type AmazonAutocompleteParams, type AutocompleteResponse$4 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$3 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$1 as AmazonListingsClient, type AmazonListingsParams, type MarketInfo$5 as AmazonMarketInfo, type MarketsResponse$8 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$3 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$3 as AmazonProductsClient, type RatingBreakdown$1 as AmazonRatingBreakdown, ReferenceClient$e as AmazonReferenceClient, type RelatedProduct as AmazonRelatedProduct, type Review$1 as AmazonReview, type ReviewProfile as AmazonReviewProfile, type AmazonReviewsParams, type ReviewsResponse$1 as AmazonReviewsResponse, SearchClient$e as AmazonSearchClient, type AmazonSearchParams, type SearchResponse$7 as AmazonSearchResponse, type SearchResult$3 as AmazonSearchResult, type Seller$2 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$3 as AmazonSellersClient, ApartmentsClient, type FloorPlan as ApartmentsFloorPlan, type Property$3 as ApartmentsProperty, type ApartmentsPropertyParams, type School$4 as ApartmentsSchool, type ApartmentsSearchParams, type SearchResponse$9 as ApartmentsSearchResponse, type SearchResult$4 as ApartmentsSearchResult, type Unit as ApartmentsUnit, type AsyncAccepted, type AsyncNextAction, type AsyncRequest, type AutocompleteParams, type BaiduAutocompleteResponse, BaiduClient, type BaiduImageResult, type BaiduImagesParams, type BaiduImagesResponse, type BaiduLanguage, type BaiduNewsParams, type BaiduNewsResponse, type BaiduNewsResult, type BaiduNewsSort, type BaiduOrganicResult, type BaiduRelatedSearch, type BaiduSearchParams, type BaiduSearchResponse, type BaiduSuggestion, type BatchItem, type BatchItemResult, type BatchOptions, type BatchSubmission, type BingAd, type BingAutocompleteParams, type BingAutocompleteResponse, BingClient, type BingDeepLink, type BingFreshness, type BingImageResult, type BingImagesParams, type BingImagesResponse, type BingMarket, type BingMarketsResponse, MediaClient$1 as BingMediaClient, type BingNewsArticle, NewsClient$1 as BingNewsClient, type BingNewsParams, type BingNewsResponse, type BingOrganicResult, ReferenceClient$8 as BingReferenceClient, type BingSafeSearch, SearchClient$8 as BingSearchClient, type BingSearchParams, type BingSearchResponse, type BingVideoResult, type BingVideosParams, type BingVideosResponse, type CallbackState, type CallbackStatus, AskClient$1 as ChatGPTAskClient, type ChatGPTAskParams, type ChatGPTAskResponse, BrandClient$1 as ChatGPTBrandClient, type ChatGPTBrandVisibilityParams, type ChatGPTBrandVisibilityResponse, type ChatGPTCitation, ChatGPTClient, type ChatGPTCompetitorMention, type ChatGPTModel, type ChatGPTModelsParams, type ChatGPTModelsResponse, ReferenceClient as ChatGPTReferenceClient, type ChatGPTSearchResult, type ChatGPTWebSearchMode, type DepopCard, DepopClient, type DepopMarket, type DepopMarketsResponse, type DepopProductDetail, type DepopProductParams, type SearchMeta as DepopSearchMeta, type DepopSearchParams, type DepopSearchResponse, type DepopShopProfile, type DepopUserParams, type DepopUserProductsParams, type DepopUserProductsResponse, type DetectOptions, type DetectResult, type DomainPostsResponse, type DuckDuckGoAbstract, type DuckDuckGoAutocompleteParams, type DuckDuckGoAutocompleteResponse, DuckDuckGoClient, type DuckDuckGoImageResult, type DuckDuckGoImagesParams, type DuckDuckGoImagesResponse, type DuckDuckGoInstantResponse, MediaClient$2 as DuckDuckGoMediaClient, type DuckDuckGoNewsParams, type DuckDuckGoNewsResponse, type DuckDuckGoNewsResult, type DuckDuckGoRaw, ReferenceClient$9 as DuckDuckGoReferenceClient, type DuckDuckGoRegion, type DuckDuckGoRegionsResponse, type DuckDuckGoRelatedTopic, SearchClient$9 as DuckDuckGoSearchClient, type DuckDuckGoSearchParams, type DuckDuckGoSearchResponse, type DuckDuckGoSearchResult, type DuckDuckGoVideoResult, type DuckDuckGoVideosParams, type DuckDuckGoVideosResponse, type EbayAutocompleteParams, type AutocompleteResponse$3 as EbayAutocompleteResponse, type AutocompleteSuggestion as EbayAutocompleteSuggestion, type EbayBuyingFormat, CategoriesClient as EbayCategoriesClient, type CategoriesResponse$2 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 EbayLanguage, type EbayLocation, type MarketInfo$4 as EbayMarketInfo, type MarketsResponse$6 as EbayMarketsResponse, type Pagination$2 as EbayPagination, type EbayPrice, type RatingHistogram as EbayRatingHistogram, ReferenceClient$b as EbayReferenceClient, type ReturnsPolicy as EbayReturnsPolicy, type Review as EbayReview, type EbayReviewsParams, type ReviewsResponse as EbayReviewsResponse, type EbaySearchByImageParams, SearchClient$b as EbaySearchClient, type EbaySearchParams, type SearchResponse$6 as EbaySearchResponse, type SearchResult$1 as EbaySearchResult, type Seller$1 as EbaySeller, type EbaySellerFeedbackParams, type SellerFeedbackResponse as EbaySellerFeedbackResponse, type EbaySellerItemsParams, type SellerItemsResponse as EbaySellerItemsResponse, type EbaySellerParams, type SellerProfileResponse as EbaySellerProfileResponse, SellersClient$2 as EbaySellersClient, type ShippingOption as EbayShippingOption, type EbaySortBy, type ExtractDataOptions, type ExtractResult, type ExtractRule, type FeedbackOptions, type FeedbackReceipt, type FinanceQuoteParams, type FlightsSearchParams, type FlightsSortBy, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AskClient as GeminiAskClient, type GeminiAskParams, type GeminiAskResponse, BrandClient as GeminiBrandClient, type GeminiBrandVisibilityParams, type GeminiBrandVisibilityResponse, type GeminiCitation, GeminiClient, type GeminiCompetitorMention, type GeminiSearchResult, type GeminiWebSearchMode, type GoogleAdsAdvertiserParams, type GoogleAdsAdvertiserResponse, type GoogleAdsAdvertiserRow, type GoogleAdsAdvertisersParams, type GoogleAdsAdvertisersResponse, AdsClient$2 as GoogleAdsClient, type GoogleAdsCreative, type GoogleAdsCreativeParams, type GoogleAdsCreativeResponse, type GoogleAdsFiltersApplied, type GoogleAdsFormat, type GoogleAdsSearchParams, type GoogleAdsSearchResponse, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient$1 as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient$2 as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient$4 as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$h as GoogleSearchClient, type GoogleSearchParams, ShoppingClient$1 as GoogleShoppingClient, ShortsClient$1 as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient$2 as GoogleVideosClient, type GumtreeAttribute, type GumtreeAutocompleteResponse, type GumtreeBreadcrumb, type GumtreeCategoryFacet, type GumtreeCategoryRef, GumtreeClient, type GumtreeFilterOption, type GumtreeFiltersResponse, type GumtreeListingDetail, type GumtreeListingSummary, type GumtreeLocationAutocompleteResponse, type GumtreeLocationSuggestion, type GumtreeMarket, type GumtreeMarketInfo, type GumtreeMarketParams, type GumtreeMarketsResponse, type GumtreeSearchFilter, type GumtreeSearchFiltersParams, type GumtreeSearchParams, type GumtreeSearchResponse, type GumtreeSeller, type GumtreeSellerListingsParams, type GumtreeSellerListingsResponse, type GumtreeSellerRating, type GumtreeSellerType, type GumtreeSellerVerification, type GumtreeSort, type GumtreeSortOption, type GumtreeSuggestion, type GumtreeTreeNode, type GumtreeTreeParams, type GumtreeTreeResponse, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type Agency as ImmobiliareAgency, type AgencyAgent as ImmobiliareAgencyAgent, type ImmobiliareAgencyListingsParams, type AgencyListingsResponse as ImmobiliareAgencyListingsResponse, type ImmobiliareAgencyParams, type AgencyProfile as ImmobiliareAgencyProfile, type Agent as ImmobiliareAgent, type ImmobiliareAutocompleteParams, type ImmobiliareCategory, ImmobiliareClient, type ImmobiliareContract, type Feature as ImmobiliareFeature, type Listing as ImmobiliareListing, type ImmobiliareListingParams, type Location as ImmobiliareLocation, type Market as ImmobiliareMarket, type ImmobiliareMarketCode, type MarketsResponse$1 as ImmobiliareMarketsResponse, type Photo as ImmobiliarePhoto, type Price as ImmobiliarePrice, type ImmobiliarePriceStatsParams, type PriceStatsPoint as ImmobiliarePriceStatsPoint, type PriceStatsResponse as ImmobiliarePriceStatsResponse, type PropertyUnit as ImmobiliarePropertyUnit, type ReferenceResponse as ImmobiliareReferenceResponse, type RelatedSearch as ImmobiliareRelatedSearch, type ImmobiliareSearchParams, type SearchResponse$1 as ImmobiliareSearchResponse, type ImmobiliareSort, type SuggestResponse as ImmobiliareSuggestResponse, type Suggestion as ImmobiliareSuggestion, type Audio as InstagramAudio, AudioClient as InstagramAudioClient, type BioLink as InstagramBioLink, InstagramClient, type Comment$1 as InstagramComment, type Hashtag as InstagramHashtag, HashtagsClient$1 as InstagramHashtagsClient, type Highlight as InstagramHighlight, type Location$2 as InstagramLocation, LocationsClient as InstagramLocationsClient, type Media as InstagramMedia, MediaClient$3 as InstagramMediaClient, type Oembed as InstagramOembed, type Paginated as InstagramPaginated, type Resource as InstagramResource, SearchClient$f as InstagramSearchClient, type SearchTopResponse as InstagramSearchTopResponse, type User as InstagramUser, type UserAbout as InstagramUserAbout, type UserShort as InstagramUserShort, UsersClient$1 as InstagramUsersClient, type JobsSearchParams, type Ad as LeboncoinAd, type AdResponse as LeboncoinAdResponse, type LeboncoinAdType, AdsClient as LeboncoinAdsClient, type Attribute as LeboncoinAttribute, type CategoriesResponse as LeboncoinCategoriesResponse, type Category as LeboncoinCategory, LeboncoinClient, type Department as LeboncoinDepartment, type LeboncoinDepartmentsParams, type DepartmentsResponse as LeboncoinDepartmentsResponse, type FeedbackScores as LeboncoinFeedbackScores, type Images as LeboncoinImages, type Location$1 as LeboncoinLocation, type LocationSearchResponse as LeboncoinLocationSearchResponse, type LocationSuggestion as LeboncoinLocationSuggestion, type MarketsResponse$3 as LeboncoinMarketsResponse, type Owner as LeboncoinOwner, type LeboncoinOwnerType, ReferenceClient$3 as LeboncoinReferenceClient, type Region as LeboncoinRegion, type RegionsResponse as LeboncoinRegionsResponse, SearchClient$2 as LeboncoinSearchClient, type LeboncoinSearchParams, type SearchResponse$3 as LeboncoinSearchResponse, type Seller as LeboncoinSeller, type LeboncoinSellerListingsParams, type SellerListingsResponse as LeboncoinSellerListingsResponse, type SellerResponse as LeboncoinSellerResponse, SellersClient as LeboncoinSellersClient, type LeboncoinSimilarParams, type SimilarResponse as LeboncoinSimilarResponse, type LeboncoinSortBy, type StoreRatingReview as LeboncoinStoreRatingReview, type LensSearchParams, type Address as LinkedInAddress, LinkedInClient, type Company as LinkedInCompany, type LinkedInCompanyJobsParams, type LinkedInCountryParams, type CourseInstructor as LinkedInCourseInstructor, type LinkedInGeoSuggestResponse, type GeoSuggestion as LinkedInGeoSuggestion, type LinkedInHealthResponse, type JobCard as LinkedInJobCard, type JobDetail as LinkedInJobDetail, type JobsSearchMeta as LinkedInJobsSearchMeta, type LinkedInJobsSearchParams, type LinkedInJobsSearchResponse, type LearningCourse as LinkedInLearningCourse, type Post as LinkedInPost, type PostComment as LinkedInPostComment, type Profile as LinkedInProfile, type ProfileEducation as LinkedInProfileEducation, type ProfileExperience as LinkedInProfileExperience, type School as LinkedInSchool, type Broker as LoopNetBroker, type LoopNetBrokerParams, type BrokerProfile as LoopNetBrokerProfile, type BrokerResponse as LoopNetBrokerResponse, BrokersClient as LoopNetBrokersClient, LoopNetClient, type ListingCard as LoopNetListingCard, type ListingDetail as LoopNetListingDetail, type LoopNetListingParams, type ListingResponse as LoopNetListingResponse, type LoopNetListingType, ListingsClient as LoopNetListingsClient, type LoopNetMarket, type MarketInfo as LoopNetMarketInfo, type MarketsResponse as LoopNetMarketsResponse, type Pagination as LoopNetPagination, type LoopNetPriceType, type PropertyTypeInfo as LoopNetPropertyTypeInfo, type PropertyTypesResponse as LoopNetPropertyTypesResponse, ReferenceClient$1 as LoopNetReferenceClient, SearchClient as LoopNetSearchClient, type LoopNetSearchParams, type SearchResponse as LoopNetSearchResponse, type Space as LoopNetSpace, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NaverBlogParams, type NaverCatalogSort, NaverClient, ContentClient as NaverContentClient, type NaverContentParams, type NaverDealsGender, type NaverInsightTimeUnit, type NaverLiveAttachmentType, type NaverLiveBroadcastProductCategoriesParams, type NaverLiveBroadcastProductsParams, type NaverLiveChannelProductsParams, type NaverLiveChannelShortclipsParams, type NaverLiveReplayProductsParams, type NaverLiveShortclipProductsParams, type NaverLiveShortclipSort, type NaverLocalParams, type NaverNewsParams, type NaverNewsSort, type NaverPeriodType, type NaverPlaceMediaSource, type NaverPlacePhotosParams, type NaverPlaceReviewsParams, PlacesClient as NaverPlacesClient, type NaverProductDetailParams, type NaverProductQnasParams, type NaverProductReviewSort, type NaverProductReviewSummaryParams, type NaverProductReviewsParams, ProductsClient as NaverProductsClient, type NaverResponse, ReviewsClient as NaverReviewsClient, SearchClient$7 as NaverSearchClient, type NaverSearchParams, type NaverShoppingBestsellersParams, type NaverShoppingBrandCategoriesParams, type NaverShoppingBrandRankParams, type NaverShoppingCategoryTreeParams, ShoppingClient as NaverShoppingClient, type NaverShoppingInsightParams, type NaverShoppingKeywordPeriodsParams, type NaverShoppingKeywordsParams, ShoppingLiveClient as NaverShoppingLiveClient, type NaverShoppingSearchCatalogParams, type NaverShoppingSearchFilteredParams, type NaverShoppingSearchProductsParams, type NaverShoppingSearchTab, type NaverShoppingVertical, type NaverStoreBestsellersParams, type NaverStoreHost, type NaverStoreParams, type NaverStoreProductsParams, StoresClient as NaverStoresClient, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type ProxyTier, type Quote, type QuoteCredits, type QuoteFieldError, type QuoteLatency, type QuoteOptions, type QuoteUsd, type Address$2 as RealtorAddress, type Agent$2 as RealtorAgent, type RealtorAutocompleteOptions, type AutocompleteResponse$1 as RealtorAutocompleteResponse, RealtorClient, type Coordinate as RealtorCoordinate, type DetailGroup as RealtorDetailGroup, type Estimate as RealtorEstimate, type Flags as RealtorFlags, type RealtorMarket, type MarketInfo$2 as RealtorMarketInfo, type MarketsResponse$4 as RealtorMarketsResponse, type Office as RealtorOffice, type OpenHouse$1 as RealtorOpenHouse, type Phone as RealtorPhone, type Photo$2 as RealtorPhoto, type PriceEvent as RealtorPriceEvent, PropertiesClient$1 as RealtorPropertiesClient, type Property$1 as RealtorProperty, type PropertyDetail as RealtorPropertyDetail, type RealtorPropertyOptions, ReferenceClient$4 as RealtorReferenceClient, type School$2 as RealtorSchool, SearchClient$3 as RealtorSearchClient, type RealtorSearchOptions, type SearchResponse$4 as RealtorSearchResponse, type RealtorSort, type RealtorStatus, type Suggestion$1 as RealtorSuggestion, type TaxRecord as RealtorTaxRecord, type RedditAward, RedditClient, type RedditComment, type RedditGalleryImage, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient$g as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient$2 as RedditUsersClient, type RedditWikiPage, type Address$3 as RedfinAddress, type Agent$3 as RedfinAgent, type RedfinAgentParams, type AgentResponse$1 as RedfinAgentResponse, type AgentReview$1 as RedfinAgentReview, type AmenityGroup as RedfinAmenityGroup, type AutocompleteResponse$5 as RedfinAutocompleteResponse, type AutocompleteResult$1 as RedfinAutocompleteResult, RedfinClient, type DataSource as RedfinDataSource, type RedfinHomeType, type LatLong$1 as RedfinLatLong, type Listing$2 as RedfinListing, type MapBounds$1 as RedfinMapBounds, type MarketInfo$6 as RedfinMarketInfo, type MarketsResponse$9 as RedfinMarketsResponse, type Pagination$4 as RedfinPagination, type Photo$3 as RedfinPhoto, type PriceHistoryEvent$1 as RedfinPriceHistoryEvent, type Property$2 as RedfinProperty, type RedfinPropertyParams, type PropertyResponse$1 as RedfinPropertyResponse, type RegionSelection$1 as RedfinRegionSelection, type Sash as RedfinSash, type School$3 as RedfinSchool, type SearchMedian as RedfinSearchMedian, type RedfinSearchParams, type SearchResponse$8 as RedfinSearchResponse, type RedfinSort, type TaxHistoryEvent$1 as RedfinTaxHistoryEvent, RequestsClient, type ResultViewOptions, ResultsClient, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type ScreenshotOptions, type ScreenshotResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShopeeCategoriesParams, type ShopeeCategoryItemsParams, type CategoryNode as ShopeeCategoryNode, type CategoryTree as ShopeeCategoryTree, ShopeeClient, type ShopeeMarket, type MarketsResponse$7 as ShopeeMarketsResponse, type ShopeeProduct, type ProductAttribute as ShopeeProductAttribute, type ProductImage as ShopeeProductImage, type ProductModel as ShopeeProductModel, type ShopeeProductParams, ProductsClient$2 as ShopeeProductsClient, type RatingBreakdown as ShopeeRatingBreakdown, ReferenceClient$d as ShopeeReferenceClient, type ShopeeReview, type ReviewReply as ShopeeReviewReply, type ReviewSummary as ShopeeReviewSummary, ReviewsClient$1 as ShopeeReviewsClient, type ShopeeReviewsParams, type ReviewsResult as ShopeeReviewsResult, SearchClient$d as ShopeeSearchClient, type ShopeeSearchParams, type SearchResult$2 as ShopeeSearchResult, type ShoppingClickParams, type ShoppingOffersParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubmitMethod, type SubmitOptions, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TikTokAd, type AdAdvertiser as TikTokAdAdvertiser, type TikTokAdDetailParams, type AdDetailResponse as TikTokAdDetailResponse, type AdLibraryPage as TikTokAdLibraryPage, type AdLibrarySearchResponse as TikTokAdLibrarySearchResponse, type TikTokAdSearchParams, type AdTargeting as TikTokAdTargeting, type AdTargetingBreakdown as TikTokAdTargetingBreakdown, type AdTargetingLocation as TikTokAdTargetingLocation, type AdTargetingRegion as TikTokAdTargetingRegion, type TikTokAdVideo, AdsClient$1 as TikTokAdsClient, type TikTokAdvertiserSearchParams, type AdvertiserSearchResponse as TikTokAdvertiserSearchResponse, type AdvertiserSuggestion as TikTokAdvertiserSuggestion, 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$c as TikTokReferenceClient, type RegionInfo as TikTokRegionInfo, type RegionsResponse$2 as TikTokRegionsResponse, type TikTokRelatedParams, SearchClient$c 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, TimeoutError, 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$a as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient$f as VintedReferenceClient, SearchClient$i as VintedSearchClient, type VintedSearchParams, type SearchResponse$a as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$3 as VintedUsersClient, type WaitOptions, WaitTimeoutError, type WallapopAttribute, type WallapopAutocompleteResponse, type WallapopCategoriesResponse, type WallapopCategory, WallapopClient, type WallapopFilterOption, type WallapopFilterOptionsResponse, type WallapopFiltersParams, type WallapopFiltersResponse, type WallapopImage, type WallapopItemDetail, type WallapopItemParams, type WallapopLocation, type WallapopMarket, type WallapopMarketParams, type WallapopMarketsResponse, type WallapopOrderBy, type WallapopReview, type WallapopReviewItem, type WallapopReviewer, type WallapopReviewsResponse, type WallapopSearchFilter, type WallapopSearchItem, type WallapopSearchParams, type WallapopSearchResponse, type WallapopSuggestion, type WallapopTaxonomyNode, type WallapopTimeFilter, type WallapopUserItem, type WallapopUserItemsResponse, type WallapopUserPageParams, type WallapopUserParams, type WallapopUserProfile, type WallapopUserValidations, type WalmartAutocompleteResponse, type WalmartBadge, type WalmartBreadcrumb, type WalmartCategoryParams, WalmartClient, type WalmartConditionOffer, type WalmartDealsParams, type WalmartEmbeddedSeller, type WalmartFulfillmentOption, type WalmartFulfillmentSummary, type WalmartImage, type WalmartLocationContext, type WalmartMarket, type WalmartMarketsResponse, type WalmartNameValue, type WalmartNutritionFacts, type WalmartPrice, type WalmartPriceInfo, type WalmartPriceRange, type WalmartProduct, ProductsClient$1 as WalmartProductsClient, type WalmartPromotion, type WalmartRatingDistribution, type WalmartRaw, ReferenceClient$a as WalmartReferenceClient, type WalmartReturnPolicy, type WalmartReview, type WalmartReviewSort, type WalmartReviewsParams, type WalmartReviewsResponse, SearchClient$a as WalmartSearchClient, type WalmartSearchItem, type WalmartSearchParams, type WalmartSearchResponse, type WalmartSeller, type WalmartSellerProductsParams, type WalmartSellerResponse, SellersClient$1 as WalmartSellersClient, type WalmartSortBy, type WalmartSpecificationGroup, type WalmartStore, type WalmartStoreHours, type WalmartStoreResponse, type WalmartStoreService, StoresClient$1 as WalmartStoresClient, type WalmartSuggestion, type WalmartVariant, type WalmartVideo, type WalmartWarranty, WebClient, type WebhookDeliveries, type WebhookDeliveriesOptions, type WebhookDelivery, type WebhookSecret, type WikiPageResponse, type YahooAd, type YahooAutocompleteParams, type YahooAutocompleteResponse, YahooClient, type YahooImageResult, type YahooImagesParams, type YahooImagesResponse, type YahooMarket, type YahooMarketsResponse, MediaClient as YahooMediaClient, type YahooNewsArticle, NewsClient as YahooNewsClient, type YahooNewsParams, type YahooNewsResponse, type YahooOrganicResult, ReferenceClient$7 as YahooReferenceClient, type YahooSafeSearch, SearchClient$6 as YahooSearchClient, type YahooSearchParams, type YahooSearchResponse, type YahooVideoResult, type YahooVideosParams, type YahooVideosResponse, YandexClient, type YandexImage, type YandexImageResult, ImagesClient as YandexImagesClient, type YandexImagesParams, type YandexImagesResponse, type YandexMarket, type YandexMarketsResponse, type YandexOrganicResult, type YandexOtherSize, type YandexPagination, type YandexRaw, ReferenceClient$6 as YandexReferenceClient, type YandexReverseImageResponse, type YandexReverseParams, type YandexReverseSite, SearchClient$5 as YandexSearchClient, type YandexSearchParams, type YandexSearchResponse, type YandexSimilarImage, type YandexSitelink, type YandexTag, type AudioTrack as YoutubeAudioTrack, type YoutubeAutocompleteParams, type AutocompleteResponse$2 as YoutubeAutocompleteResponse, type YoutubeBatchParams, type BatchResponse as YoutubeBatchResponse, type CaptionTrack as YoutubeCaptionTrack, type YoutubeCaptionsParams, type CaptionsResponse as YoutubeCaptionsResponse, type YoutubeCategoriesParams, type CategoriesResponse$1 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$3 as YoutubeMarketInfo, type MarketsResponse$5 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$5 as YoutubeReferenceClient, type ReferenceRow as YoutubeReferenceRow, type YoutubeRegionParams, type RegionRestriction as YoutubeRegionRestriction, type RegionsResponse$1 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$4 as YoutubeSearchClient, type YoutubeSearchParams, type SearchResponse$5 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, type Address$1 as ZillowAddress, type Agent$1 as ZillowAgent, type AgentAttribution as ZillowAgentAttribution, AgentClient as ZillowAgentClient, type AgentLicense as ZillowAgentLicense, type ZillowAgentOptions, type AgentResponse as ZillowAgentResponse, type AgentReview as ZillowAgentReview, type AutocompleteResponse as ZillowAutocompleteResponse, type AutocompleteResult as ZillowAutocompleteResult, type Building as ZillowBuilding, type BuildingFloorPlan as ZillowBuildingFloorPlan, type BuildingResponse as ZillowBuildingResponse, type BuildingUnit as ZillowBuildingUnit, ZillowClient, type HomeFacts as ZillowHomeFacts, type LatLong as ZillowLatLong, type Listing$1 as ZillowListing, type ListingSubType as ZillowListingSubType, type MapBounds as ZillowMapBounds, type MarketInfo$1 as ZillowMarketInfo, type MarketsResponse$2 as ZillowMarketsResponse, type MortgageRate as ZillowMortgageRate, type MortgageRates as ZillowMortgageRates, type NearbyRegion as ZillowNearbyRegion, type OpenHouse as ZillowOpenHouse, type Pagination$1 as ZillowPagination, type PastSale as ZillowPastSale, type Photo$1 as ZillowPhoto, type PriceHistoryEvent as ZillowPriceHistoryEvent, PropertiesClient as ZillowPropertiesClient, type Property as ZillowProperty, type PropertyResponse as ZillowPropertyResponse, ReferenceClient$2 as ZillowReferenceClient, type RegionSelection as ZillowRegionSelection, type School$1 as ZillowSchool, SearchClient$1 as ZillowSearchClient, type ZillowSearchOptions, type SearchResponse$2 as ZillowSearchResponse, type ZillowSort, type ZillowStatus, type TaxHistoryEvent as ZillowTaxHistoryEvent, type UnitSummary as ZillowUnitSummary, type ZestimateHistoryPoint as ZillowZestimateHistoryPoint };
|
|
21079
|
+
export { AgentClient$1 as AgentClient, type AgentTrial, type AiListItem, type AiModeLocation, type AiModeResponse, type AiModeSearchParams, type AiReference, type AiTableRow, type AiTextBlock, type AmazonAutocompleteParams, type AutocompleteResponse$4 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$3 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$1 as AmazonListingsClient, type AmazonListingsParams, type MarketInfo$5 as AmazonMarketInfo, type MarketsResponse$8 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$3 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$3 as AmazonProductsClient, type RatingBreakdown$1 as AmazonRatingBreakdown, ReferenceClient$e as AmazonReferenceClient, type RelatedProduct as AmazonRelatedProduct, type Review$1 as AmazonReview, type ReviewProfile as AmazonReviewProfile, type AmazonReviewsParams, type ReviewsResponse$1 as AmazonReviewsResponse, SearchClient$e as AmazonSearchClient, type AmazonSearchParams, type SearchResponse$7 as AmazonSearchResponse, type SearchResult$3 as AmazonSearchResult, type Seller$2 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$3 as AmazonSellersClient, ApartmentsClient, type FloorPlan as ApartmentsFloorPlan, type Property$3 as ApartmentsProperty, type ApartmentsPropertyParams, type School$4 as ApartmentsSchool, type ApartmentsSearchParams, type SearchResponse$9 as ApartmentsSearchResponse, type SearchResult$4 as ApartmentsSearchResult, type Unit as ApartmentsUnit, type AsyncAccepted, type AsyncNextAction, type AsyncRequest, type AutocompleteParams, type BaiduAutocompleteResponse, BaiduClient, type BaiduImageResult, type BaiduImagesParams, type BaiduImagesResponse, type BaiduLanguage, type BaiduNewsParams, type BaiduNewsResponse, type BaiduNewsResult, type BaiduNewsSort, type BaiduOrganicResult, type BaiduRelatedSearch, type BaiduSearchParams, type BaiduSearchResponse, type BaiduSuggestion, type BatchItem, type BatchItemResult, type BatchOptions, type BatchSubmission, type BingAd, type BingAutocompleteParams, type BingAutocompleteResponse, BingClient, type BingDeepLink, type BingFreshness, type BingImageResult, type BingImagesParams, type BingImagesResponse, type BingMarket, type BingMarketsResponse, MediaClient$1 as BingMediaClient, type BingNewsArticle, NewsClient$1 as BingNewsClient, type BingNewsParams, type BingNewsResponse, type BingOrganicResult, ReferenceClient$8 as BingReferenceClient, type BingSafeSearch, SearchClient$8 as BingSearchClient, type BingSearchParams, type BingSearchResponse, type BingVideoResult, type BingVideosParams, type BingVideosResponse, type CallbackState, type CallbackStatus, AskClient$1 as ChatGPTAskClient, type ChatGPTAskParams, type ChatGPTAskResponse, BrandClient$1 as ChatGPTBrandClient, type ChatGPTBrandVisibilityParams, type ChatGPTBrandVisibilityResponse, type ChatGPTCitation, ChatGPTClient, type ChatGPTCompetitorMention, type ChatGPTModel, type ChatGPTModelsParams, type ChatGPTModelsResponse, ReferenceClient as ChatGPTReferenceClient, type ChatGPTSearchResult, type ChatGPTWebSearchMode, type DepopCard, DepopClient, type DepopMarket, type DepopMarketsResponse, type DepopProductDetail, type DepopProductParams, type SearchMeta as DepopSearchMeta, type DepopSearchParams, type DepopSearchResponse, type DepopShopProfile, type DepopUserParams, type DepopUserProductsParams, type DepopUserProductsResponse, type DetectOptions, type DetectResult, type DomainPostsResponse, type DuckDuckGoAbstract, type DuckDuckGoAutocompleteParams, type DuckDuckGoAutocompleteResponse, DuckDuckGoClient, type DuckDuckGoImageResult, type DuckDuckGoImagesParams, type DuckDuckGoImagesResponse, type DuckDuckGoInstantResponse, MediaClient$2 as DuckDuckGoMediaClient, type DuckDuckGoNewsParams, type DuckDuckGoNewsResponse, type DuckDuckGoNewsResult, type DuckDuckGoRaw, ReferenceClient$9 as DuckDuckGoReferenceClient, type DuckDuckGoRegion, type DuckDuckGoRegionsResponse, type DuckDuckGoRelatedTopic, SearchClient$9 as DuckDuckGoSearchClient, type DuckDuckGoSearchParams, type DuckDuckGoSearchResponse, type DuckDuckGoSearchResult, type DuckDuckGoVideoResult, type DuckDuckGoVideosParams, type DuckDuckGoVideosResponse, type EbayAutocompleteParams, type AutocompleteResponse$3 as EbayAutocompleteResponse, type AutocompleteSuggestion as EbayAutocompleteSuggestion, type EbayBuyingFormat, CategoriesClient as EbayCategoriesClient, type CategoriesResponse$2 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 EbayLanguage, type EbayLocation, type MarketInfo$4 as EbayMarketInfo, type MarketsResponse$6 as EbayMarketsResponse, type Pagination$2 as EbayPagination, type EbayPrice, type RatingHistogram as EbayRatingHistogram, ReferenceClient$b as EbayReferenceClient, type ReturnsPolicy as EbayReturnsPolicy, type Review as EbayReview, type EbayReviewsParams, type ReviewsResponse as EbayReviewsResponse, type EbaySearchByImageParams, SearchClient$b as EbaySearchClient, type EbaySearchParams, type SearchResponse$6 as EbaySearchResponse, type SearchResult$1 as EbaySearchResult, type Seller$1 as EbaySeller, type EbaySellerFeedbackParams, type SellerFeedbackResponse as EbaySellerFeedbackResponse, type EbaySellerItemsParams, type SellerItemsResponse as EbaySellerItemsResponse, type EbaySellerParams, type SellerProfileResponse as EbaySellerProfileResponse, SellersClient$2 as EbaySellersClient, type ShippingOption as EbayShippingOption, type EbaySortBy, type ExtractDataOptions, type ExtractResult, type ExtractRule, type FeedbackOptions, type FeedbackReceipt, type FinanceQuoteParams, type FlightsSearchParams, type FlightsSortBy, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AskClient as GeminiAskClient, type GeminiAskParams, type GeminiAskResponse, BrandClient as GeminiBrandClient, type GeminiBrandVisibilityParams, type GeminiBrandVisibilityResponse, type GeminiCitation, GeminiClient, type GeminiCompetitorMention, type GeminiSearchResult, type GeminiWebSearchMode, type GoogleAdsAdvertiserParams, type GoogleAdsAdvertiserResponse, type GoogleAdsAdvertiserRow, type GoogleAdsAdvertisersParams, type GoogleAdsAdvertisersResponse, AdsClient$2 as GoogleAdsClient, type GoogleAdsCreative, type GoogleAdsCreativeParams, type GoogleAdsCreativeResponse, type GoogleAdsFiltersApplied, type GoogleAdsFormat, type GoogleAdsSearchParams, type GoogleAdsSearchResponse, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient$1 as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient$2 as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient$4 as GoogleProductsClient, type GoogleResolveAllOptions, type GoogleResolveItem, type GoogleResolveParams, type GoogleResolveResponse, type GoogleResolvedItem, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$h as GoogleSearchClient, type GoogleSearchParams, ShoppingClient$1 as GoogleShoppingClient, ShortsClient$1 as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient$2 as GoogleVideosClient, type GumtreeAttribute, type GumtreeAutocompleteResponse, type GumtreeBreadcrumb, type GumtreeCategoryFacet, type GumtreeCategoryRef, GumtreeClient, type GumtreeFilterOption, type GumtreeFiltersResponse, type GumtreeListingDetail, type GumtreeListingSummary, type GumtreeLocationAutocompleteResponse, type GumtreeLocationSuggestion, type GumtreeMarket, type GumtreeMarketInfo, type GumtreeMarketParams, type GumtreeMarketsResponse, type GumtreeSearchFilter, type GumtreeSearchFiltersParams, type GumtreeSearchParams, type GumtreeSearchResponse, type GumtreeSeller, type GumtreeSellerListingsParams, type GumtreeSellerListingsResponse, type GumtreeSellerRating, type GumtreeSellerType, type GumtreeSellerVerification, type GumtreeSort, type GumtreeSortOption, type GumtreeSuggestion, type GumtreeTreeNode, type GumtreeTreeParams, type GumtreeTreeResponse, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type Agency as ImmobiliareAgency, type AgencyAgent as ImmobiliareAgencyAgent, type ImmobiliareAgencyListingsParams, type AgencyListingsResponse as ImmobiliareAgencyListingsResponse, type ImmobiliareAgencyParams, type AgencyProfile as ImmobiliareAgencyProfile, type Agent as ImmobiliareAgent, type ImmobiliareAutocompleteParams, type ImmobiliareCategory, ImmobiliareClient, type ImmobiliareContract, type Feature as ImmobiliareFeature, type Listing as ImmobiliareListing, type ImmobiliareListingParams, type Location as ImmobiliareLocation, type Market as ImmobiliareMarket, type ImmobiliareMarketCode, type MarketsResponse$1 as ImmobiliareMarketsResponse, type Photo as ImmobiliarePhoto, type Price as ImmobiliarePrice, type ImmobiliarePriceStatsParams, type PriceStatsPoint as ImmobiliarePriceStatsPoint, type PriceStatsResponse as ImmobiliarePriceStatsResponse, type PropertyUnit as ImmobiliarePropertyUnit, type ReferenceResponse as ImmobiliareReferenceResponse, type RelatedSearch as ImmobiliareRelatedSearch, type ImmobiliareSearchParams, type SearchResponse$1 as ImmobiliareSearchResponse, type ImmobiliareSort, type SuggestResponse as ImmobiliareSuggestResponse, type Suggestion as ImmobiliareSuggestion, type Audio as InstagramAudio, AudioClient as InstagramAudioClient, type BioLink as InstagramBioLink, InstagramClient, type Comment$1 as InstagramComment, type Hashtag as InstagramHashtag, HashtagsClient$1 as InstagramHashtagsClient, type Highlight as InstagramHighlight, type Location$2 as InstagramLocation, LocationsClient as InstagramLocationsClient, type Media as InstagramMedia, MediaClient$3 as InstagramMediaClient, type Oembed as InstagramOembed, type Paginated as InstagramPaginated, type Resource as InstagramResource, SearchClient$f as InstagramSearchClient, type SearchTopResponse as InstagramSearchTopResponse, type User as InstagramUser, type UserAbout as InstagramUserAbout, type UserShort as InstagramUserShort, UsersClient$1 as InstagramUsersClient, type JobsSearchParams, type Ad as LeboncoinAd, type AdResponse as LeboncoinAdResponse, type LeboncoinAdType, AdsClient as LeboncoinAdsClient, type Attribute as LeboncoinAttribute, type CategoriesResponse as LeboncoinCategoriesResponse, type Category as LeboncoinCategory, LeboncoinClient, type Department as LeboncoinDepartment, type LeboncoinDepartmentsParams, type DepartmentsResponse as LeboncoinDepartmentsResponse, type FeedbackScores as LeboncoinFeedbackScores, type Images as LeboncoinImages, type Location$1 as LeboncoinLocation, type LocationSearchResponse as LeboncoinLocationSearchResponse, type LocationSuggestion as LeboncoinLocationSuggestion, type MarketsResponse$3 as LeboncoinMarketsResponse, type Owner as LeboncoinOwner, type LeboncoinOwnerType, ReferenceClient$3 as LeboncoinReferenceClient, type Region as LeboncoinRegion, type RegionsResponse as LeboncoinRegionsResponse, SearchClient$2 as LeboncoinSearchClient, type LeboncoinSearchParams, type SearchResponse$3 as LeboncoinSearchResponse, type Seller as LeboncoinSeller, type LeboncoinSellerListingsParams, type SellerListingsResponse as LeboncoinSellerListingsResponse, type SellerResponse as LeboncoinSellerResponse, SellersClient as LeboncoinSellersClient, type LeboncoinSimilarParams, type SimilarResponse as LeboncoinSimilarResponse, type LeboncoinSortBy, type StoreRatingReview as LeboncoinStoreRatingReview, type LensSearchParams, type Address as LinkedInAddress, LinkedInClient, type Company as LinkedInCompany, type LinkedInCompanyJobsParams, type LinkedInCountryParams, type CourseInstructor as LinkedInCourseInstructor, type LinkedInGeoSuggestResponse, type GeoSuggestion as LinkedInGeoSuggestion, type LinkedInHealthResponse, type JobCard as LinkedInJobCard, type JobDetail as LinkedInJobDetail, type JobsSearchMeta as LinkedInJobsSearchMeta, type LinkedInJobsSearchParams, type LinkedInJobsSearchResponse, type LearningCourse as LinkedInLearningCourse, type Post as LinkedInPost, type PostComment as LinkedInPostComment, type Profile as LinkedInProfile, type ProfileEducation as LinkedInProfileEducation, type ProfileExperience as LinkedInProfileExperience, type School as LinkedInSchool, type Broker as LoopNetBroker, type LoopNetBrokerParams, type BrokerProfile as LoopNetBrokerProfile, type BrokerResponse as LoopNetBrokerResponse, BrokersClient as LoopNetBrokersClient, LoopNetClient, type ListingCard as LoopNetListingCard, type ListingDetail as LoopNetListingDetail, type LoopNetListingParams, type ListingResponse as LoopNetListingResponse, type LoopNetListingType, ListingsClient as LoopNetListingsClient, type LoopNetMarket, type MarketInfo as LoopNetMarketInfo, type MarketsResponse as LoopNetMarketsResponse, type Pagination as LoopNetPagination, type LoopNetPriceType, type PropertyTypeInfo as LoopNetPropertyTypeInfo, type PropertyTypesResponse as LoopNetPropertyTypesResponse, ReferenceClient$1 as LoopNetReferenceClient, SearchClient as LoopNetSearchClient, type LoopNetSearchParams, type SearchResponse as LoopNetSearchResponse, type Space as LoopNetSpace, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NaverBlogParams, type NaverCatalogSort, NaverClient, ContentClient as NaverContentClient, type NaverContentParams, type NaverDealsGender, type NaverInsightTimeUnit, type NaverLiveAttachmentType, type NaverLiveBroadcastProductCategoriesParams, type NaverLiveBroadcastProductsParams, type NaverLiveChannelProductsParams, type NaverLiveChannelShortclipsParams, type NaverLiveReplayProductsParams, type NaverLiveShortclipProductsParams, type NaverLiveShortclipSort, type NaverLocalParams, type NaverNewsParams, type NaverNewsSort, type NaverPeriodType, type NaverPlaceMediaSource, type NaverPlacePhotosParams, type NaverPlaceReviewsParams, PlacesClient as NaverPlacesClient, type NaverProductDetailParams, type NaverProductQnasParams, type NaverProductReviewSort, type NaverProductReviewSummaryParams, type NaverProductReviewsParams, ProductsClient as NaverProductsClient, type NaverResponse, ReviewsClient as NaverReviewsClient, SearchClient$7 as NaverSearchClient, type NaverSearchParams, type NaverShoppingBestsellersParams, type NaverShoppingBrandCategoriesParams, type NaverShoppingBrandRankParams, type NaverShoppingCategoryTreeParams, ShoppingClient as NaverShoppingClient, type NaverShoppingInsightParams, type NaverShoppingKeywordPeriodsParams, type NaverShoppingKeywordsParams, ShoppingLiveClient as NaverShoppingLiveClient, type NaverShoppingSearchCatalogParams, type NaverShoppingSearchFilteredParams, type NaverShoppingSearchProductsParams, type NaverShoppingSearchTab, type NaverShoppingVertical, type NaverStoreBestsellersParams, type NaverStoreHost, type NaverStoreParams, type NaverStoreProductsParams, StoresClient as NaverStoresClient, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type ProxyTier, type Quote, type QuoteCredits, type QuoteFieldError, type QuoteLatency, type QuoteOptions, type QuoteUsd, type Address$2 as RealtorAddress, type Agent$2 as RealtorAgent, type RealtorAutocompleteOptions, type AutocompleteResponse$1 as RealtorAutocompleteResponse, RealtorClient, type Coordinate as RealtorCoordinate, type DetailGroup as RealtorDetailGroup, type Estimate as RealtorEstimate, type Flags as RealtorFlags, type RealtorMarket, type MarketInfo$2 as RealtorMarketInfo, type MarketsResponse$4 as RealtorMarketsResponse, type Office as RealtorOffice, type OpenHouse$1 as RealtorOpenHouse, type Phone as RealtorPhone, type Photo$2 as RealtorPhoto, type PriceEvent as RealtorPriceEvent, PropertiesClient$1 as RealtorPropertiesClient, type Property$1 as RealtorProperty, type PropertyDetail as RealtorPropertyDetail, type RealtorPropertyOptions, ReferenceClient$4 as RealtorReferenceClient, type School$2 as RealtorSchool, SearchClient$3 as RealtorSearchClient, type RealtorSearchOptions, type SearchResponse$4 as RealtorSearchResponse, type RealtorSort, type RealtorStatus, type Suggestion$1 as RealtorSuggestion, type TaxRecord as RealtorTaxRecord, type RedditAward, RedditClient, type RedditComment, type RedditGalleryImage, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient$g as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient$2 as RedditUsersClient, type RedditWikiPage, type Address$3 as RedfinAddress, type Agent$3 as RedfinAgent, type RedfinAgentParams, type AgentResponse$1 as RedfinAgentResponse, type AgentReview$1 as RedfinAgentReview, type AmenityGroup as RedfinAmenityGroup, type AutocompleteResponse$5 as RedfinAutocompleteResponse, type AutocompleteResult$1 as RedfinAutocompleteResult, RedfinClient, type DataSource as RedfinDataSource, type RedfinHomeType, type LatLong$1 as RedfinLatLong, type Listing$2 as RedfinListing, type MapBounds$1 as RedfinMapBounds, type MarketInfo$6 as RedfinMarketInfo, type MarketsResponse$9 as RedfinMarketsResponse, type Pagination$4 as RedfinPagination, type Photo$3 as RedfinPhoto, type PriceHistoryEvent$1 as RedfinPriceHistoryEvent, type Property$2 as RedfinProperty, type RedfinPropertyParams, type PropertyResponse$1 as RedfinPropertyResponse, type RegionSelection$1 as RedfinRegionSelection, type Sash as RedfinSash, type School$3 as RedfinSchool, type SearchMedian as RedfinSearchMedian, type RedfinSearchParams, type SearchResponse$8 as RedfinSearchResponse, type RedfinSort, type TaxHistoryEvent$1 as RedfinTaxHistoryEvent, RequestsClient, type ResultViewOptions, ResultsClient, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type ScreenshotOptions, type ScreenshotResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShopeeCategoriesParams, type ShopeeCategoryItemsParams, type CategoryNode as ShopeeCategoryNode, type CategoryTree as ShopeeCategoryTree, ShopeeClient, type ShopeeMarket, type MarketsResponse$7 as ShopeeMarketsResponse, type ShopeeProduct, type ProductAttribute as ShopeeProductAttribute, type ProductImage as ShopeeProductImage, type ProductModel as ShopeeProductModel, type ShopeeProductParams, ProductsClient$2 as ShopeeProductsClient, type RatingBreakdown as ShopeeRatingBreakdown, ReferenceClient$d as ShopeeReferenceClient, type ShopeeReview, type ReviewReply as ShopeeReviewReply, type ReviewSummary as ShopeeReviewSummary, ReviewsClient$1 as ShopeeReviewsClient, type ShopeeReviewsParams, type ReviewsResult as ShopeeReviewsResult, SearchClient$d as ShopeeSearchClient, type ShopeeSearchParams, type SearchResult$2 as ShopeeSearchResult, type ShoppingClickParams, type ShoppingOffersParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubmitMethod, type SubmitOptions, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TikTokAd, type AdAdvertiser as TikTokAdAdvertiser, type TikTokAdDetailParams, type AdDetailResponse as TikTokAdDetailResponse, type AdLibraryPage as TikTokAdLibraryPage, type AdLibrarySearchResponse as TikTokAdLibrarySearchResponse, type TikTokAdSearchParams, type AdTargeting as TikTokAdTargeting, type AdTargetingBreakdown as TikTokAdTargetingBreakdown, type AdTargetingLocation as TikTokAdTargetingLocation, type AdTargetingRegion as TikTokAdTargetingRegion, type TikTokAdVideo, AdsClient$1 as TikTokAdsClient, type TikTokAdvertiserSearchParams, type AdvertiserSearchResponse as TikTokAdvertiserSearchResponse, type AdvertiserSuggestion as TikTokAdvertiserSuggestion, 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$c as TikTokReferenceClient, type RegionInfo as TikTokRegionInfo, type RegionsResponse$2 as TikTokRegionsResponse, type TikTokRelatedParams, SearchClient$c 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, TimeoutError, 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$a as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient$f as VintedReferenceClient, SearchClient$i as VintedSearchClient, type VintedSearchParams, type SearchResponse$a as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$3 as VintedUsersClient, type WaitOptions, WaitTimeoutError, type WallapopAttribute, type WallapopAutocompleteResponse, type WallapopCategoriesResponse, type WallapopCategory, WallapopClient, type WallapopFilterOption, type WallapopFilterOptionsResponse, type WallapopFiltersParams, type WallapopFiltersResponse, type WallapopImage, type WallapopItemDetail, type WallapopItemParams, type WallapopLocation, type WallapopMarket, type WallapopMarketParams, type WallapopMarketsResponse, type WallapopOrderBy, type WallapopReview, type WallapopReviewItem, type WallapopReviewer, type WallapopReviewsResponse, type WallapopSearchFilter, type WallapopSearchItem, type WallapopSearchParams, type WallapopSearchResponse, type WallapopSuggestion, type WallapopTaxonomyNode, type WallapopTimeFilter, type WallapopUserItem, type WallapopUserItemsResponse, type WallapopUserPageParams, type WallapopUserParams, type WallapopUserProfile, type WallapopUserValidations, type WalmartAutocompleteResponse, type WalmartBadge, type WalmartBreadcrumb, type WalmartCategoryParams, WalmartClient, type WalmartConditionOffer, type WalmartDealsParams, type WalmartEmbeddedSeller, type WalmartFulfillmentOption, type WalmartFulfillmentSummary, type WalmartImage, type WalmartLocationContext, type WalmartMarket, type WalmartMarketsResponse, type WalmartNameValue, type WalmartNutritionFacts, type WalmartPrice, type WalmartPriceInfo, type WalmartPriceRange, type WalmartProduct, ProductsClient$1 as WalmartProductsClient, type WalmartPromotion, type WalmartRatingDistribution, type WalmartRaw, ReferenceClient$a as WalmartReferenceClient, type WalmartReturnPolicy, type WalmartReview, type WalmartReviewSort, type WalmartReviewsParams, type WalmartReviewsResponse, SearchClient$a as WalmartSearchClient, type WalmartSearchItem, type WalmartSearchParams, type WalmartSearchResponse, type WalmartSeller, type WalmartSellerProductsParams, type WalmartSellerResponse, SellersClient$1 as WalmartSellersClient, type WalmartSortBy, type WalmartSpecificationGroup, type WalmartStore, type WalmartStoreHours, type WalmartStoreResponse, type WalmartStoreService, StoresClient$1 as WalmartStoresClient, type WalmartSuggestion, type WalmartVariant, type WalmartVideo, type WalmartWarranty, WebClient, type WebhookDeliveries, type WebhookDeliveriesOptions, type WebhookDelivery, type WebhookSecret, type WikiPageResponse, type YahooAd, type YahooAutocompleteParams, type YahooAutocompleteResponse, YahooClient, type YahooImageResult, type YahooImagesParams, type YahooImagesResponse, type YahooMarket, type YahooMarketsResponse, MediaClient as YahooMediaClient, type YahooNewsArticle, NewsClient as YahooNewsClient, type YahooNewsParams, type YahooNewsResponse, type YahooOrganicResult, ReferenceClient$7 as YahooReferenceClient, type YahooSafeSearch, SearchClient$6 as YahooSearchClient, type YahooSearchParams, type YahooSearchResponse, type YahooVideoResult, type YahooVideosParams, type YahooVideosResponse, YandexClient, type YandexImage, type YandexImageResult, ImagesClient as YandexImagesClient, type YandexImagesParams, type YandexImagesResponse, type YandexMarket, type YandexMarketsResponse, type YandexOrganicResult, type YandexOtherSize, type YandexPagination, type YandexRaw, ReferenceClient$6 as YandexReferenceClient, type YandexReverseImageResponse, type YandexReverseParams, type YandexReverseSite, SearchClient$5 as YandexSearchClient, type YandexSearchParams, type YandexSearchResponse, type YandexSimilarImage, type YandexSitelink, type YandexTag, type AudioTrack as YoutubeAudioTrack, type YoutubeAutocompleteParams, type AutocompleteResponse$2 as YoutubeAutocompleteResponse, type YoutubeBatchParams, type BatchResponse as YoutubeBatchResponse, type CaptionTrack as YoutubeCaptionTrack, type YoutubeCaptionsParams, type CaptionsResponse as YoutubeCaptionsResponse, type YoutubeCategoriesParams, type CategoriesResponse$1 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$3 as YoutubeMarketInfo, type MarketsResponse$5 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$5 as YoutubeReferenceClient, type ReferenceRow as YoutubeReferenceRow, type YoutubeRegionParams, type RegionRestriction as YoutubeRegionRestriction, type RegionsResponse$1 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$4 as YoutubeSearchClient, type YoutubeSearchParams, type SearchResponse$5 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, type Address$1 as ZillowAddress, type Agent$1 as ZillowAgent, type AgentAttribution as ZillowAgentAttribution, AgentClient as ZillowAgentClient, type AgentLicense as ZillowAgentLicense, type ZillowAgentOptions, type AgentResponse as ZillowAgentResponse, type AgentReview as ZillowAgentReview, type AutocompleteResponse as ZillowAutocompleteResponse, type AutocompleteResult as ZillowAutocompleteResult, type Building as ZillowBuilding, type BuildingFloorPlan as ZillowBuildingFloorPlan, type BuildingResponse as ZillowBuildingResponse, type BuildingUnit as ZillowBuildingUnit, ZillowClient, type HomeFacts as ZillowHomeFacts, type LatLong as ZillowLatLong, type Listing$1 as ZillowListing, type ListingSubType as ZillowListingSubType, type MapBounds as ZillowMapBounds, type MarketInfo$1 as ZillowMarketInfo, type MarketsResponse$2 as ZillowMarketsResponse, type MortgageRate as ZillowMortgageRate, type MortgageRates as ZillowMortgageRates, type NearbyRegion as ZillowNearbyRegion, type OpenHouse as ZillowOpenHouse, type Pagination$1 as ZillowPagination, type PastSale as ZillowPastSale, type Photo$1 as ZillowPhoto, type PriceHistoryEvent as ZillowPriceHistoryEvent, PropertiesClient as ZillowPropertiesClient, type Property as ZillowProperty, type PropertyResponse as ZillowPropertyResponse, ReferenceClient$2 as ZillowReferenceClient, type RegionSelection as ZillowRegionSelection, type School$1 as ZillowSchool, SearchClient$1 as ZillowSearchClient, type ZillowSearchOptions, type SearchResponse$2 as ZillowSearchResponse, type ZillowSort, type ZillowStatus, type TaxHistoryEvent as ZillowTaxHistoryEvent, type UnitSummary as ZillowUnitSummary, type ZestimateHistoryPoint as ZillowZestimateHistoryPoint };
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import WebSocket from 'ws';
|
|
|
3
3
|
import { createHmac, timingSafeEqual } from 'crypto';
|
|
4
4
|
|
|
5
5
|
// src/internal/version.ts
|
|
6
|
-
var SDK_VERSION = "0.
|
|
6
|
+
var SDK_VERSION = "0.82.0";
|
|
7
7
|
|
|
8
8
|
// src/internal/exceptions.ts
|
|
9
9
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -3660,6 +3660,9 @@ var ScholarClient = class {
|
|
|
3660
3660
|
|
|
3661
3661
|
// src/google/search.ts
|
|
3662
3662
|
var FULL_SEARCH_ONLY = ["mode", "ai_overview", "expand_related_questions"];
|
|
3663
|
+
var RESOLVE_MAX_RESULTS = 25;
|
|
3664
|
+
var DEFAULT_RESOLVE_MAX_WAIT_MS = 24e4;
|
|
3665
|
+
var MIN_RESOLVE_WAIT_MS = 1e3;
|
|
3663
3666
|
var SearchClient2 = class {
|
|
3664
3667
|
constructor(client) {
|
|
3665
3668
|
this.client = client;
|
|
@@ -3676,7 +3679,128 @@ var SearchClient2 = class {
|
|
|
3676
3679
|
params: light
|
|
3677
3680
|
});
|
|
3678
3681
|
}
|
|
3682
|
+
/**
|
|
3683
|
+
* Resolve Google redirect links to the results' own URLs. One
|
|
3684
|
+
* `POST /v1/google/resolve` call, 0 credits.
|
|
3685
|
+
*
|
|
3686
|
+
* Google can return a result's `link` as a redirect
|
|
3687
|
+
* (`https://www.google.com/goto?url=...`) and limits how fast the links of
|
|
3688
|
+
* one result page can be followed. Such a result has a `link_token`. Send
|
|
3689
|
+
* 1 to 25 results that have one; every other field of an item is returned
|
|
3690
|
+
* unchanged on its row, so `organic_results` items can be sent as they
|
|
3691
|
+
* are.
|
|
3692
|
+
*
|
|
3693
|
+
* `results` in the response has one row per item, in the order sent. Each
|
|
3694
|
+
* row is one of:
|
|
3695
|
+
* - resolved: `link` is the result's own URL. The row has no `link_token`,
|
|
3696
|
+
* `retry_after_seconds` or `error`.
|
|
3697
|
+
* - not ready: the row has `link_token` and `retry_after_seconds`. Wait
|
|
3698
|
+
* that many seconds, then send the row's `link_token` again. It can
|
|
3699
|
+
* differ from the one sent, so always keep the latest. `link` is as
|
|
3700
|
+
* sent.
|
|
3701
|
+
* - failed: the row has `link_token` as sent and `error`. Do not send it
|
|
3702
|
+
* again.
|
|
3703
|
+
*
|
|
3704
|
+
* The top-level `retry_after_seconds` is the smallest wait among the rows
|
|
3705
|
+
* that are not ready, or `null` when no row is waiting. A token sent
|
|
3706
|
+
* before its wait is over is not an error: its row comes back not ready
|
|
3707
|
+
* with the wait that is left.
|
|
3708
|
+
*
|
|
3709
|
+
* Polling as `retry_after_seconds` says, all ten links of a result page
|
|
3710
|
+
* are usually known 45 to 70 seconds after the search. Once the result
|
|
3711
|
+
* page is about 160 seconds old, every remaining link resolves in one
|
|
3712
|
+
* call. {@link resolveAll} runs this loop for you.
|
|
3713
|
+
*
|
|
3714
|
+
* @example
|
|
3715
|
+
* ```typescript
|
|
3716
|
+
* const serp = await client.google.search.search({ q: "python 3.13" });
|
|
3717
|
+
* const pending = (serp.organic_results as any[]).filter((r) => r.link_token);
|
|
3718
|
+
* const { results, retry_after_seconds } = await client.google.search.resolve({
|
|
3719
|
+
* results: pending,
|
|
3720
|
+
* });
|
|
3721
|
+
* ```
|
|
3722
|
+
*
|
|
3723
|
+
* @param params - `results`: 1 to 25 items, each with a `link_token`.
|
|
3724
|
+
* @returns The rows in the order sent, and the smallest wait.
|
|
3725
|
+
* @throws ValidationError - 422: no results, more than 25, or an item without a `link_token`.
|
|
3726
|
+
* @throws ServerError - 503 with `Retry-After`: links cannot be resolved right now; try again later.
|
|
3727
|
+
*/
|
|
3728
|
+
async resolve(params) {
|
|
3729
|
+
return this.client.request("/v1/google/resolve", {
|
|
3730
|
+
method: "POST",
|
|
3731
|
+
body: { results: params.results }
|
|
3732
|
+
});
|
|
3733
|
+
}
|
|
3734
|
+
/**
|
|
3735
|
+
* Resolve every Google redirect link in a list of results, polling
|
|
3736
|
+
* {@link resolve} until all are known or `maxWaitMs` has passed. Free.
|
|
3737
|
+
*
|
|
3738
|
+
* Pass a search response's `organic_results`. Rows with a `link_token` are
|
|
3739
|
+
* sent, at most 25 per request. Between rounds it waits the
|
|
3740
|
+
* `retry_after_seconds` the API returned (at least one second, never past
|
|
3741
|
+
* the deadline). A row without a `link_token` is returned as it is and
|
|
3742
|
+
* never sent. A row that failed (`error`) is not sent again.
|
|
3743
|
+
*
|
|
3744
|
+
* It does not throw for rows that are still not ready at the deadline:
|
|
3745
|
+
* they are returned with their latest `link_token` and
|
|
3746
|
+
* `retry_after_seconds`, and can be passed to `resolveAll` or
|
|
3747
|
+
* {@link resolve} again. An API error (for example a 503) is thrown as
|
|
3748
|
+
* usual.
|
|
3749
|
+
*
|
|
3750
|
+
* The input array and its objects are not changed.
|
|
3751
|
+
*
|
|
3752
|
+
* @example
|
|
3753
|
+
* ```typescript
|
|
3754
|
+
* const serp = await client.google.search.search({ q: "python 3.13" });
|
|
3755
|
+
* const results = await client.google.search.resolveAll(
|
|
3756
|
+
* serp.organic_results as Record<string, unknown>[]
|
|
3757
|
+
* );
|
|
3758
|
+
* for (const r of results) {
|
|
3759
|
+
* if (r.error) console.log("failed:", r.title, r.error);
|
|
3760
|
+
* else if (r.link_token) console.log("not ready yet:", r.title);
|
|
3761
|
+
* else console.log(r.title, r.link);
|
|
3762
|
+
* }
|
|
3763
|
+
* ```
|
|
3764
|
+
*
|
|
3765
|
+
* @param results - Result objects, normally a search response's `organic_results`.
|
|
3766
|
+
* @param options - `maxWaitMs`: longest time to keep polling (default 240000, four minutes).
|
|
3767
|
+
* @returns A new array with one row per input row, in the same order.
|
|
3768
|
+
*/
|
|
3769
|
+
async resolveAll(results, options = {}) {
|
|
3770
|
+
const deadline = Date.now() + (options.maxWaitMs ?? DEFAULT_RESOLVE_MAX_WAIT_MS);
|
|
3771
|
+
const rows = results.map((row) => ({ ...row }));
|
|
3772
|
+
for (; ; ) {
|
|
3773
|
+
const waiting = rows.flatMap((row, index) => isWaiting(row) ? [index] : []);
|
|
3774
|
+
if (waiting.length === 0) return rows;
|
|
3775
|
+
let waitSeconds = null;
|
|
3776
|
+
for (let start = 0; start < waiting.length; start += RESOLVE_MAX_RESULTS) {
|
|
3777
|
+
const chunk = waiting.slice(start, start + RESOLVE_MAX_RESULTS);
|
|
3778
|
+
const response = await this.resolve({
|
|
3779
|
+
results: chunk.map((index) => rows[index])
|
|
3780
|
+
});
|
|
3781
|
+
chunk.forEach((index, n) => {
|
|
3782
|
+
const row = response.results[n];
|
|
3783
|
+
if (row) rows[index] = row;
|
|
3784
|
+
});
|
|
3785
|
+
const retryAfter = response.retry_after_seconds;
|
|
3786
|
+
if (typeof retryAfter === "number" && (waitSeconds === null || retryAfter < waitSeconds)) {
|
|
3787
|
+
waitSeconds = retryAfter;
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
if (!rows.some(isWaiting)) return rows;
|
|
3791
|
+
const remainingMs = deadline - Date.now();
|
|
3792
|
+
if (remainingMs <= 0) return rows;
|
|
3793
|
+
const waitMs = Math.max((waitSeconds ?? 0) * 1e3, MIN_RESOLVE_WAIT_MS);
|
|
3794
|
+
await sleep2(Math.min(waitMs, remainingMs));
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3679
3797
|
};
|
|
3798
|
+
function isWaiting(row) {
|
|
3799
|
+
return typeof row.link_token === "string" && row.link_token !== "" && (row.error === void 0 || row.error === null);
|
|
3800
|
+
}
|
|
3801
|
+
function sleep2(ms) {
|
|
3802
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
3803
|
+
}
|
|
3680
3804
|
|
|
3681
3805
|
// src/google/shopping.ts
|
|
3682
3806
|
var ShoppingClient = class {
|
|
@@ -5331,7 +5455,7 @@ var RequestsClient = class {
|
|
|
5331
5455
|
const remainingMs = deadline - Date.now();
|
|
5332
5456
|
if (remainingMs <= 0) throw new WaitTimeoutError(requestId, timeoutMs);
|
|
5333
5457
|
const suggestedMs = (state.retryAfterSeconds ?? DEFAULT_POLL_S) * 1e3;
|
|
5334
|
-
await
|
|
5458
|
+
await sleep3(Math.min(Math.max(suggestedMs, MIN_POLL_MS), remainingMs));
|
|
5335
5459
|
}
|
|
5336
5460
|
}
|
|
5337
5461
|
/**
|
|
@@ -5418,7 +5542,7 @@ function retryAfterSeconds(headers, fromBody) {
|
|
|
5418
5542
|
}
|
|
5419
5543
|
return typeof fromBody === "number" && Number.isFinite(fromBody) && fromBody >= 0 ? fromBody : null;
|
|
5420
5544
|
}
|
|
5421
|
-
function
|
|
5545
|
+
function sleep3(ms) {
|
|
5422
5546
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
5423
5547
|
}
|
|
5424
5548
|
|