scavio 0.26.4 → 0.28.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 +7 -0
- package/dist/index.cjs +88 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -7
- package/dist/index.d.ts +127 -7
- package/dist/index.js +86 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -2323,7 +2323,7 @@ interface TargetSearchOptions {
|
|
|
2323
2323
|
count?: number;
|
|
2324
2324
|
/** Result sort order (default "relevance"). */
|
|
2325
2325
|
sort?: "relevance" | "featured" | "price_low" | "price_high" | "rating_high" | "best_seller" | "newest";
|
|
2326
|
-
/** Numeric Target store id used for pricing
|
|
2326
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2327
2327
|
store_id?: string;
|
|
2328
2328
|
[key: string]: unknown;
|
|
2329
2329
|
}
|
|
@@ -2336,7 +2336,7 @@ interface TargetCategoryOptions {
|
|
|
2336
2336
|
count?: number;
|
|
2337
2337
|
/** Result sort order (default "relevance"). */
|
|
2338
2338
|
sort?: "relevance" | "featured" | "price_low" | "price_high" | "rating_high" | "best_seller" | "newest";
|
|
2339
|
-
/** Numeric Target store id used for pricing
|
|
2339
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2340
2340
|
store_id?: string;
|
|
2341
2341
|
[key: string]: unknown;
|
|
2342
2342
|
}
|
|
@@ -2346,7 +2346,7 @@ interface TargetProductOptions {
|
|
|
2346
2346
|
* child itself present in `variants`.
|
|
2347
2347
|
*/
|
|
2348
2348
|
tcin: string;
|
|
2349
|
-
/** Numeric Target store id used for pricing
|
|
2349
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2350
2350
|
store_id?: string;
|
|
2351
2351
|
[key: string]: unknown;
|
|
2352
2352
|
}
|
|
@@ -2358,7 +2358,18 @@ interface TargetReviewsOptions {
|
|
|
2358
2358
|
* and offers no paging, so this cannot reach a 9th review.
|
|
2359
2359
|
*/
|
|
2360
2360
|
limit?: number;
|
|
2361
|
-
/** Numeric Target store id used for pricing
|
|
2361
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2362
|
+
store_id?: string;
|
|
2363
|
+
[key: string]: unknown;
|
|
2364
|
+
}
|
|
2365
|
+
interface TargetAvailabilityOptions {
|
|
2366
|
+
/** Target TCIN. */
|
|
2367
|
+
tcin: string;
|
|
2368
|
+
/** 5-digit US ZIP code to search around. */
|
|
2369
|
+
zip: string;
|
|
2370
|
+
/** Search radius in miles, 1-100 (default 25). */
|
|
2371
|
+
radius?: number;
|
|
2372
|
+
/** Return only this Target store id; it must be within radius of zip. */
|
|
2362
2373
|
store_id?: string;
|
|
2363
2374
|
[key: string]: unknown;
|
|
2364
2375
|
}
|
|
@@ -2388,8 +2399,8 @@ declare class TargetNamespace {
|
|
|
2388
2399
|
* Target product details by TCIN: price, rating, images, specifications,
|
|
2389
2400
|
* variants, return policy and fulfillment.
|
|
2390
2401
|
*
|
|
2391
|
-
* `store_id` is a real request param here - the price
|
|
2392
|
-
*
|
|
2402
|
+
* `store_id` is a real request param here - the price you get back is the
|
|
2403
|
+
* store you asked for. For in-store stock use availability().
|
|
2393
2404
|
*
|
|
2394
2405
|
* Costs 1 credit. Typically ~4s. Single response, no pagination.
|
|
2395
2406
|
*/
|
|
@@ -2405,6 +2416,14 @@ declare class TargetNamespace {
|
|
|
2405
2416
|
* Costs 1 credit. Typically ~40s.
|
|
2406
2417
|
*/
|
|
2407
2418
|
reviews(options: TargetReviewsOptions): Promise<Record<string, unknown>>;
|
|
2419
|
+
/**
|
|
2420
|
+
* In-store stock for one product at every Target store near a ZIP: units,
|
|
2421
|
+
* in-store, pickup, curbside and ship-to-store status, distance, address and
|
|
2422
|
+
* hours. Up to 20 stores; `store_id` narrows to one.
|
|
2423
|
+
*
|
|
2424
|
+
* Costs 1 credit. Typically ~3s.
|
|
2425
|
+
*/
|
|
2426
|
+
availability(options: TargetAvailabilityOptions): Promise<Record<string, unknown>>;
|
|
2408
2427
|
}
|
|
2409
2428
|
|
|
2410
2429
|
interface HomeDepotSearchOptions {
|
|
@@ -4849,6 +4868,105 @@ declare class CostcoNamespace {
|
|
|
4849
4868
|
autocomplete(options: CostcoAutocompleteOptions): Promise<Record<string, unknown>>;
|
|
4850
4869
|
}
|
|
4851
4870
|
|
|
4871
|
+
interface HebSearchOptions {
|
|
4872
|
+
/** Search keywords (1-200 characters). */
|
|
4873
|
+
query: string;
|
|
4874
|
+
/** Results page, 1-based (1-100). */
|
|
4875
|
+
page?: number;
|
|
4876
|
+
/** Results per page (1-60; server default 30). */
|
|
4877
|
+
page_size?: number;
|
|
4878
|
+
[key: string]: unknown;
|
|
4879
|
+
}
|
|
4880
|
+
interface HebProductOptions {
|
|
4881
|
+
/**
|
|
4882
|
+
* Full or relative product URL from heb.com (e.g.
|
|
4883
|
+
* "/product-detail/central-market-organics-whole-milk-1-gal/931316").
|
|
4884
|
+
* Preferred over slug + product_id.
|
|
4885
|
+
*/
|
|
4886
|
+
product_url?: string;
|
|
4887
|
+
/** HEB product id (numeric id at the end of a product URL). Requires slug. */
|
|
4888
|
+
product_id?: string;
|
|
4889
|
+
/** Product slug (readable part of the URL). Required with product_id. */
|
|
4890
|
+
slug?: string;
|
|
4891
|
+
[key: string]: unknown;
|
|
4892
|
+
}
|
|
4893
|
+
interface HebStoresOptions {
|
|
4894
|
+
/** 5-digit US ZIP code (e.g. "78701"). */
|
|
4895
|
+
zip?: string;
|
|
4896
|
+
/** City name (e.g. "Austin"). Pass zip or city. */
|
|
4897
|
+
city?: string;
|
|
4898
|
+
[key: string]: unknown;
|
|
4899
|
+
}
|
|
4900
|
+
declare class HebNamespace {
|
|
4901
|
+
private client;
|
|
4902
|
+
constructor(client: Scavio);
|
|
4903
|
+
/**
|
|
4904
|
+
* Search HEB grocery products by keyword: price (cents), sale status, unit
|
|
4905
|
+
* price, size, UPC, stock, EBT/SNAP eligibility, aisle location and product
|
|
4906
|
+
* URL.
|
|
4907
|
+
*
|
|
4908
|
+
* Costs 2 credits.
|
|
4909
|
+
*/
|
|
4910
|
+
search(options: HebSearchOptions): Promise<Record<string, unknown>>;
|
|
4911
|
+
/**
|
|
4912
|
+
* Full HEB product detail: nutrition facts, ingredients, description, images,
|
|
4913
|
+
* similar products, coupons, EBT/SNAP eligibility and breadcrumbs. Pass
|
|
4914
|
+
* product_url (from search()) or slug + product_id.
|
|
4915
|
+
*
|
|
4916
|
+
* Costs 2 credits.
|
|
4917
|
+
*/
|
|
4918
|
+
product(options: HebProductOptions): Promise<Record<string, unknown>>;
|
|
4919
|
+
/**
|
|
4920
|
+
* HEB stores near a US ZIP code or city: store number, address, phone, hours,
|
|
4921
|
+
* pharmacy availability, fulfillment channels, distance and store URL.
|
|
4922
|
+
*
|
|
4923
|
+
* Costs 2 credits.
|
|
4924
|
+
*/
|
|
4925
|
+
stores(options: HebStoresOptions): Promise<Record<string, unknown>>;
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
interface KrogerSearchOptions {
|
|
4929
|
+
/** Search keywords (1-200 characters). */
|
|
4930
|
+
query: string;
|
|
4931
|
+
/** Results page, 1-based (1-100). */
|
|
4932
|
+
page?: number;
|
|
4933
|
+
[key: string]: unknown;
|
|
4934
|
+
}
|
|
4935
|
+
interface KrogerProductOptions {
|
|
4936
|
+
/**
|
|
4937
|
+
* Full or relative product URL from kroger.com (e.g.
|
|
4938
|
+
* "/p/kroger-2-reduced-fat-milk-gallon/0001111041700"). Preferred.
|
|
4939
|
+
*/
|
|
4940
|
+
product_url?: string;
|
|
4941
|
+
/** Kroger product UPC (from search() or product URLs: /p/{slug}/{upc}). */
|
|
4942
|
+
upc?: string;
|
|
4943
|
+
/** Product slug for readable URL. Optional with upc. */
|
|
4944
|
+
slug?: string;
|
|
4945
|
+
[key: string]: unknown;
|
|
4946
|
+
}
|
|
4947
|
+
declare class KrogerNamespace {
|
|
4948
|
+
private client;
|
|
4949
|
+
constructor(client: Scavio);
|
|
4950
|
+
/**
|
|
4951
|
+
* Search Kroger grocery products by keyword: price (cents), promo price,
|
|
4952
|
+
* n-for deals, unit price, size, UPC, stock, SNAP eligibility, dietary info,
|
|
4953
|
+
* rating and category. Kroger operates Kroger, Ralphs, Fred Meyer, Harris
|
|
4954
|
+
* Teeter, King Soopers, Fry's and other banners.
|
|
4955
|
+
*
|
|
4956
|
+
* Costs 2 credits.
|
|
4957
|
+
*/
|
|
4958
|
+
search(options: KrogerSearchOptions): Promise<Record<string, unknown>>;
|
|
4959
|
+
/**
|
|
4960
|
+
* Full Kroger product detail by URL or UPC: nutrition facts (allergens,
|
|
4961
|
+
* ingredients, nutrients with daily values), description, images, rating
|
|
4962
|
+
* distribution, store aisle location, stock level, dietary flags (organic,
|
|
4963
|
+
* non-GMO, gluten-free), SNAP eligibility, dimensions and country of origin.
|
|
4964
|
+
*
|
|
4965
|
+
* Costs 2 credits.
|
|
4966
|
+
*/
|
|
4967
|
+
product(options: KrogerProductOptions): Promise<Record<string, unknown>>;
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4852
4970
|
type TrustpilotReviewsDateRange = "last30days" | "last3months" | "last6months" | "last12months";
|
|
4853
4971
|
type TrustpilotReviewsSort = "recency" | "relevance";
|
|
4854
4972
|
type TrustpilotCategorySort = "most_relevant" | "reviews_count" | "latest_review";
|
|
@@ -5966,6 +6084,8 @@ declare class Scavio extends ScavioCore {
|
|
|
5966
6084
|
readonly googleAds: GoogleAdsNamespace;
|
|
5967
6085
|
readonly metaAds: MetaAdsNamespace;
|
|
5968
6086
|
readonly costco: CostcoNamespace;
|
|
6087
|
+
readonly heb: HebNamespace;
|
|
6088
|
+
readonly kroger: KrogerNamespace;
|
|
5969
6089
|
readonly trustpilot: TrustpilotNamespace;
|
|
5970
6090
|
readonly chatgpt: ChatgptNamespace;
|
|
5971
6091
|
readonly gemini: GeminiNamespace;
|
|
@@ -6072,4 +6192,4 @@ declare class ScavioJobTimeoutError extends ScavioError {
|
|
|
6072
6192
|
constructor(jobType: "crawl" | "batch", jobId: string, statusUrl: string, lastStatus: string);
|
|
6073
6193
|
}
|
|
6074
6194
|
|
|
6075
|
-
export { AI_PROMPT_TIMEOUT, type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, ChatgptNamespace, type ChatgptPromptOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type Extract, type ExtractBatchOptions, type ExtractCrawlOptions, type ExtractFormat, type ExtractJobCreatedResponse, type ExtractJobRequestOptions, type ExtractJobResult, type ExtractJobState, type ExtractJobStatusQuery, type ExtractJobStatusResponse, type ExtractJobSummary, type ExtractJobSummaryResponse, type ExtractJobWaitResponse, type ExtractMapLink, type ExtractMapOptions, type ExtractMapResponse, type ExtractMode, ExtractNamespace, type ExtractOptions, type ExtractSitemapMode, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, GeminiNamespace, type GeminiPromptOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleCustomSearchItem, type GoogleCustomSearchOptions, type GoogleCustomSearchQuery, type GoogleCustomSearchResponse, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramHighlightStoriesOptions, type InstagramKeywordOptions, type InstagramMusicPostsOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostLikersOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, type InstagramUserRefOptions, InsufficientCreditsError, InvalidAPIKeyError, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditCommentSearchSort, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchCommentsOptions, type RedditSearchOptions, type RedditSearchSubredditsOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioJobTimeoutError, ScavioTimeoutError, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokMusicChartOptions, type TikTokMusicOptions, type TikTokMusicVideosOptions, TikTokNamespace, type TikTokPlaylistVideosOptions, type TikTokProfileOptions, type TikTokSearchMusicOptions, type TikTokSearchSuggestionsOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokTrendingVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPlaylistsOptions, type TikTokUserPostsOptions, type TikTokUserSimilarOptions, type TikTokUsernameOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TikTokVideoTranscriptOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, type XCommunityOptions, type XCommunityTweetsOptions, XNamespace, type XSearchCommunitiesOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeCommunityPostCommentsOptions, type YouTubeCommunityPostOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions, verifyWebhook };
|
|
6195
|
+
export { AI_PROMPT_TIMEOUT, type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, ChatgptNamespace, type ChatgptPromptOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type Extract, type ExtractBatchOptions, type ExtractCrawlOptions, type ExtractFormat, type ExtractJobCreatedResponse, type ExtractJobRequestOptions, type ExtractJobResult, type ExtractJobState, type ExtractJobStatusQuery, type ExtractJobStatusResponse, type ExtractJobSummary, type ExtractJobSummaryResponse, type ExtractJobWaitResponse, type ExtractMapLink, type ExtractMapOptions, type ExtractMapResponse, type ExtractMode, ExtractNamespace, type ExtractOptions, type ExtractSitemapMode, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, GeminiNamespace, type GeminiPromptOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleCustomSearchItem, type GoogleCustomSearchOptions, type GoogleCustomSearchQuery, type GoogleCustomSearchResponse, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HebNamespace, type HebProductOptions, type HebSearchOptions, type HebStoresOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramHighlightStoriesOptions, type InstagramKeywordOptions, type InstagramMusicPostsOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostLikersOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, type InstagramUserRefOptions, InsufficientCreditsError, InvalidAPIKeyError, KrogerNamespace, type KrogerProductOptions, type KrogerSearchOptions, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditCommentSearchSort, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchCommentsOptions, type RedditSearchOptions, type RedditSearchSubredditsOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioJobTimeoutError, ScavioTimeoutError, type TargetAvailabilityOptions, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokMusicChartOptions, type TikTokMusicOptions, type TikTokMusicVideosOptions, TikTokNamespace, type TikTokPlaylistVideosOptions, type TikTokProfileOptions, type TikTokSearchMusicOptions, type TikTokSearchSuggestionsOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokTrendingVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPlaylistsOptions, type TikTokUserPostsOptions, type TikTokUserSimilarOptions, type TikTokUsernameOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TikTokVideoTranscriptOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, type XCommunityOptions, type XCommunityTweetsOptions, XNamespace, type XSearchCommunitiesOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeCommunityPostCommentsOptions, type YouTubeCommunityPostOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions, verifyWebhook };
|
package/dist/index.d.ts
CHANGED
|
@@ -2323,7 +2323,7 @@ interface TargetSearchOptions {
|
|
|
2323
2323
|
count?: number;
|
|
2324
2324
|
/** Result sort order (default "relevance"). */
|
|
2325
2325
|
sort?: "relevance" | "featured" | "price_low" | "price_high" | "rating_high" | "best_seller" | "newest";
|
|
2326
|
-
/** Numeric Target store id used for pricing
|
|
2326
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2327
2327
|
store_id?: string;
|
|
2328
2328
|
[key: string]: unknown;
|
|
2329
2329
|
}
|
|
@@ -2336,7 +2336,7 @@ interface TargetCategoryOptions {
|
|
|
2336
2336
|
count?: number;
|
|
2337
2337
|
/** Result sort order (default "relevance"). */
|
|
2338
2338
|
sort?: "relevance" | "featured" | "price_low" | "price_high" | "rating_high" | "best_seller" | "newest";
|
|
2339
|
-
/** Numeric Target store id used for pricing
|
|
2339
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2340
2340
|
store_id?: string;
|
|
2341
2341
|
[key: string]: unknown;
|
|
2342
2342
|
}
|
|
@@ -2346,7 +2346,7 @@ interface TargetProductOptions {
|
|
|
2346
2346
|
* child itself present in `variants`.
|
|
2347
2347
|
*/
|
|
2348
2348
|
tcin: string;
|
|
2349
|
-
/** Numeric Target store id used for pricing
|
|
2349
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2350
2350
|
store_id?: string;
|
|
2351
2351
|
[key: string]: unknown;
|
|
2352
2352
|
}
|
|
@@ -2358,7 +2358,18 @@ interface TargetReviewsOptions {
|
|
|
2358
2358
|
* and offers no paging, so this cannot reach a 9th review.
|
|
2359
2359
|
*/
|
|
2360
2360
|
limit?: number;
|
|
2361
|
-
/** Numeric Target store id used for pricing
|
|
2361
|
+
/** Numeric Target store id used for pricing (default "3991"). */
|
|
2362
|
+
store_id?: string;
|
|
2363
|
+
[key: string]: unknown;
|
|
2364
|
+
}
|
|
2365
|
+
interface TargetAvailabilityOptions {
|
|
2366
|
+
/** Target TCIN. */
|
|
2367
|
+
tcin: string;
|
|
2368
|
+
/** 5-digit US ZIP code to search around. */
|
|
2369
|
+
zip: string;
|
|
2370
|
+
/** Search radius in miles, 1-100 (default 25). */
|
|
2371
|
+
radius?: number;
|
|
2372
|
+
/** Return only this Target store id; it must be within radius of zip. */
|
|
2362
2373
|
store_id?: string;
|
|
2363
2374
|
[key: string]: unknown;
|
|
2364
2375
|
}
|
|
@@ -2388,8 +2399,8 @@ declare class TargetNamespace {
|
|
|
2388
2399
|
* Target product details by TCIN: price, rating, images, specifications,
|
|
2389
2400
|
* variants, return policy and fulfillment.
|
|
2390
2401
|
*
|
|
2391
|
-
* `store_id` is a real request param here - the price
|
|
2392
|
-
*
|
|
2402
|
+
* `store_id` is a real request param here - the price you get back is the
|
|
2403
|
+
* store you asked for. For in-store stock use availability().
|
|
2393
2404
|
*
|
|
2394
2405
|
* Costs 1 credit. Typically ~4s. Single response, no pagination.
|
|
2395
2406
|
*/
|
|
@@ -2405,6 +2416,14 @@ declare class TargetNamespace {
|
|
|
2405
2416
|
* Costs 1 credit. Typically ~40s.
|
|
2406
2417
|
*/
|
|
2407
2418
|
reviews(options: TargetReviewsOptions): Promise<Record<string, unknown>>;
|
|
2419
|
+
/**
|
|
2420
|
+
* In-store stock for one product at every Target store near a ZIP: units,
|
|
2421
|
+
* in-store, pickup, curbside and ship-to-store status, distance, address and
|
|
2422
|
+
* hours. Up to 20 stores; `store_id` narrows to one.
|
|
2423
|
+
*
|
|
2424
|
+
* Costs 1 credit. Typically ~3s.
|
|
2425
|
+
*/
|
|
2426
|
+
availability(options: TargetAvailabilityOptions): Promise<Record<string, unknown>>;
|
|
2408
2427
|
}
|
|
2409
2428
|
|
|
2410
2429
|
interface HomeDepotSearchOptions {
|
|
@@ -4849,6 +4868,105 @@ declare class CostcoNamespace {
|
|
|
4849
4868
|
autocomplete(options: CostcoAutocompleteOptions): Promise<Record<string, unknown>>;
|
|
4850
4869
|
}
|
|
4851
4870
|
|
|
4871
|
+
interface HebSearchOptions {
|
|
4872
|
+
/** Search keywords (1-200 characters). */
|
|
4873
|
+
query: string;
|
|
4874
|
+
/** Results page, 1-based (1-100). */
|
|
4875
|
+
page?: number;
|
|
4876
|
+
/** Results per page (1-60; server default 30). */
|
|
4877
|
+
page_size?: number;
|
|
4878
|
+
[key: string]: unknown;
|
|
4879
|
+
}
|
|
4880
|
+
interface HebProductOptions {
|
|
4881
|
+
/**
|
|
4882
|
+
* Full or relative product URL from heb.com (e.g.
|
|
4883
|
+
* "/product-detail/central-market-organics-whole-milk-1-gal/931316").
|
|
4884
|
+
* Preferred over slug + product_id.
|
|
4885
|
+
*/
|
|
4886
|
+
product_url?: string;
|
|
4887
|
+
/** HEB product id (numeric id at the end of a product URL). Requires slug. */
|
|
4888
|
+
product_id?: string;
|
|
4889
|
+
/** Product slug (readable part of the URL). Required with product_id. */
|
|
4890
|
+
slug?: string;
|
|
4891
|
+
[key: string]: unknown;
|
|
4892
|
+
}
|
|
4893
|
+
interface HebStoresOptions {
|
|
4894
|
+
/** 5-digit US ZIP code (e.g. "78701"). */
|
|
4895
|
+
zip?: string;
|
|
4896
|
+
/** City name (e.g. "Austin"). Pass zip or city. */
|
|
4897
|
+
city?: string;
|
|
4898
|
+
[key: string]: unknown;
|
|
4899
|
+
}
|
|
4900
|
+
declare class HebNamespace {
|
|
4901
|
+
private client;
|
|
4902
|
+
constructor(client: Scavio);
|
|
4903
|
+
/**
|
|
4904
|
+
* Search HEB grocery products by keyword: price (cents), sale status, unit
|
|
4905
|
+
* price, size, UPC, stock, EBT/SNAP eligibility, aisle location and product
|
|
4906
|
+
* URL.
|
|
4907
|
+
*
|
|
4908
|
+
* Costs 2 credits.
|
|
4909
|
+
*/
|
|
4910
|
+
search(options: HebSearchOptions): Promise<Record<string, unknown>>;
|
|
4911
|
+
/**
|
|
4912
|
+
* Full HEB product detail: nutrition facts, ingredients, description, images,
|
|
4913
|
+
* similar products, coupons, EBT/SNAP eligibility and breadcrumbs. Pass
|
|
4914
|
+
* product_url (from search()) or slug + product_id.
|
|
4915
|
+
*
|
|
4916
|
+
* Costs 2 credits.
|
|
4917
|
+
*/
|
|
4918
|
+
product(options: HebProductOptions): Promise<Record<string, unknown>>;
|
|
4919
|
+
/**
|
|
4920
|
+
* HEB stores near a US ZIP code or city: store number, address, phone, hours,
|
|
4921
|
+
* pharmacy availability, fulfillment channels, distance and store URL.
|
|
4922
|
+
*
|
|
4923
|
+
* Costs 2 credits.
|
|
4924
|
+
*/
|
|
4925
|
+
stores(options: HebStoresOptions): Promise<Record<string, unknown>>;
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
interface KrogerSearchOptions {
|
|
4929
|
+
/** Search keywords (1-200 characters). */
|
|
4930
|
+
query: string;
|
|
4931
|
+
/** Results page, 1-based (1-100). */
|
|
4932
|
+
page?: number;
|
|
4933
|
+
[key: string]: unknown;
|
|
4934
|
+
}
|
|
4935
|
+
interface KrogerProductOptions {
|
|
4936
|
+
/**
|
|
4937
|
+
* Full or relative product URL from kroger.com (e.g.
|
|
4938
|
+
* "/p/kroger-2-reduced-fat-milk-gallon/0001111041700"). Preferred.
|
|
4939
|
+
*/
|
|
4940
|
+
product_url?: string;
|
|
4941
|
+
/** Kroger product UPC (from search() or product URLs: /p/{slug}/{upc}). */
|
|
4942
|
+
upc?: string;
|
|
4943
|
+
/** Product slug for readable URL. Optional with upc. */
|
|
4944
|
+
slug?: string;
|
|
4945
|
+
[key: string]: unknown;
|
|
4946
|
+
}
|
|
4947
|
+
declare class KrogerNamespace {
|
|
4948
|
+
private client;
|
|
4949
|
+
constructor(client: Scavio);
|
|
4950
|
+
/**
|
|
4951
|
+
* Search Kroger grocery products by keyword: price (cents), promo price,
|
|
4952
|
+
* n-for deals, unit price, size, UPC, stock, SNAP eligibility, dietary info,
|
|
4953
|
+
* rating and category. Kroger operates Kroger, Ralphs, Fred Meyer, Harris
|
|
4954
|
+
* Teeter, King Soopers, Fry's and other banners.
|
|
4955
|
+
*
|
|
4956
|
+
* Costs 2 credits.
|
|
4957
|
+
*/
|
|
4958
|
+
search(options: KrogerSearchOptions): Promise<Record<string, unknown>>;
|
|
4959
|
+
/**
|
|
4960
|
+
* Full Kroger product detail by URL or UPC: nutrition facts (allergens,
|
|
4961
|
+
* ingredients, nutrients with daily values), description, images, rating
|
|
4962
|
+
* distribution, store aisle location, stock level, dietary flags (organic,
|
|
4963
|
+
* non-GMO, gluten-free), SNAP eligibility, dimensions and country of origin.
|
|
4964
|
+
*
|
|
4965
|
+
* Costs 2 credits.
|
|
4966
|
+
*/
|
|
4967
|
+
product(options: KrogerProductOptions): Promise<Record<string, unknown>>;
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4852
4970
|
type TrustpilotReviewsDateRange = "last30days" | "last3months" | "last6months" | "last12months";
|
|
4853
4971
|
type TrustpilotReviewsSort = "recency" | "relevance";
|
|
4854
4972
|
type TrustpilotCategorySort = "most_relevant" | "reviews_count" | "latest_review";
|
|
@@ -5966,6 +6084,8 @@ declare class Scavio extends ScavioCore {
|
|
|
5966
6084
|
readonly googleAds: GoogleAdsNamespace;
|
|
5967
6085
|
readonly metaAds: MetaAdsNamespace;
|
|
5968
6086
|
readonly costco: CostcoNamespace;
|
|
6087
|
+
readonly heb: HebNamespace;
|
|
6088
|
+
readonly kroger: KrogerNamespace;
|
|
5969
6089
|
readonly trustpilot: TrustpilotNamespace;
|
|
5970
6090
|
readonly chatgpt: ChatgptNamespace;
|
|
5971
6091
|
readonly gemini: GeminiNamespace;
|
|
@@ -6072,4 +6192,4 @@ declare class ScavioJobTimeoutError extends ScavioError {
|
|
|
6072
6192
|
constructor(jobType: "crawl" | "batch", jobId: string, statusUrl: string, lastStatus: string);
|
|
6073
6193
|
}
|
|
6074
6194
|
|
|
6075
|
-
export { AI_PROMPT_TIMEOUT, type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, ChatgptNamespace, type ChatgptPromptOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type Extract, type ExtractBatchOptions, type ExtractCrawlOptions, type ExtractFormat, type ExtractJobCreatedResponse, type ExtractJobRequestOptions, type ExtractJobResult, type ExtractJobState, type ExtractJobStatusQuery, type ExtractJobStatusResponse, type ExtractJobSummary, type ExtractJobSummaryResponse, type ExtractJobWaitResponse, type ExtractMapLink, type ExtractMapOptions, type ExtractMapResponse, type ExtractMode, ExtractNamespace, type ExtractOptions, type ExtractSitemapMode, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, GeminiNamespace, type GeminiPromptOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleCustomSearchItem, type GoogleCustomSearchOptions, type GoogleCustomSearchQuery, type GoogleCustomSearchResponse, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramHighlightStoriesOptions, type InstagramKeywordOptions, type InstagramMusicPostsOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostLikersOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, type InstagramUserRefOptions, InsufficientCreditsError, InvalidAPIKeyError, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditCommentSearchSort, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchCommentsOptions, type RedditSearchOptions, type RedditSearchSubredditsOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioJobTimeoutError, ScavioTimeoutError, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokMusicChartOptions, type TikTokMusicOptions, type TikTokMusicVideosOptions, TikTokNamespace, type TikTokPlaylistVideosOptions, type TikTokProfileOptions, type TikTokSearchMusicOptions, type TikTokSearchSuggestionsOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokTrendingVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPlaylistsOptions, type TikTokUserPostsOptions, type TikTokUserSimilarOptions, type TikTokUsernameOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TikTokVideoTranscriptOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, type XCommunityOptions, type XCommunityTweetsOptions, XNamespace, type XSearchCommunitiesOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeCommunityPostCommentsOptions, type YouTubeCommunityPostOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions, verifyWebhook };
|
|
6195
|
+
export { AI_PROMPT_TIMEOUT, type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, ChatgptNamespace, type ChatgptPromptOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type Extract, type ExtractBatchOptions, type ExtractCrawlOptions, type ExtractFormat, type ExtractJobCreatedResponse, type ExtractJobRequestOptions, type ExtractJobResult, type ExtractJobState, type ExtractJobStatusQuery, type ExtractJobStatusResponse, type ExtractJobSummary, type ExtractJobSummaryResponse, type ExtractJobWaitResponse, type ExtractMapLink, type ExtractMapOptions, type ExtractMapResponse, type ExtractMode, ExtractNamespace, type ExtractOptions, type ExtractSitemapMode, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, GeminiNamespace, type GeminiPromptOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleCustomSearchItem, type GoogleCustomSearchOptions, type GoogleCustomSearchQuery, type GoogleCustomSearchResponse, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HebNamespace, type HebProductOptions, type HebSearchOptions, type HebStoresOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramHighlightStoriesOptions, type InstagramKeywordOptions, type InstagramMusicPostsOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostLikersOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, type InstagramUserRefOptions, InsufficientCreditsError, InvalidAPIKeyError, KrogerNamespace, type KrogerProductOptions, type KrogerSearchOptions, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditCommentSearchSort, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchCommentsOptions, type RedditSearchOptions, type RedditSearchSubredditsOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioJobTimeoutError, ScavioTimeoutError, type TargetAvailabilityOptions, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokMusicChartOptions, type TikTokMusicOptions, type TikTokMusicVideosOptions, TikTokNamespace, type TikTokPlaylistVideosOptions, type TikTokProfileOptions, type TikTokSearchMusicOptions, type TikTokSearchSuggestionsOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokTrendingVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPlaylistsOptions, type TikTokUserPostsOptions, type TikTokUserSimilarOptions, type TikTokUsernameOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TikTokVideoTranscriptOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, type XCommunityOptions, type XCommunityTweetsOptions, XNamespace, type XSearchCommunitiesOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeCommunityPostCommentsOptions, type YouTubeCommunityPostOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions, verifyWebhook };
|
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function parseRetryAfter(header) {
|
|
|
145
145
|
var BASE_URL = "https://api.scavio.dev";
|
|
146
146
|
var DEFAULT_TIMEOUT = 3e4;
|
|
147
147
|
var DEFAULT_MAX_RETRIES = 2;
|
|
148
|
-
var SDK_VERSION = true ? "0.
|
|
148
|
+
var SDK_VERSION = true ? "0.28.0" : "0.0.0";
|
|
149
149
|
var USER_AGENT = `scavio-js/${SDK_VERSION}`;
|
|
150
150
|
function isServerRuntime() {
|
|
151
151
|
const g = globalThis;
|
|
@@ -1439,8 +1439,8 @@ var TargetNamespace = class {
|
|
|
1439
1439
|
* Target product details by TCIN: price, rating, images, specifications,
|
|
1440
1440
|
* variants, return policy and fulfillment.
|
|
1441
1441
|
*
|
|
1442
|
-
* `store_id` is a real request param here - the price
|
|
1443
|
-
*
|
|
1442
|
+
* `store_id` is a real request param here - the price you get back is the
|
|
1443
|
+
* store you asked for. For in-store stock use availability().
|
|
1444
1444
|
*
|
|
1445
1445
|
* Costs 1 credit. Typically ~4s. Single response, no pagination.
|
|
1446
1446
|
*/
|
|
@@ -1460,6 +1460,16 @@ var TargetNamespace = class {
|
|
|
1460
1460
|
async reviews(options) {
|
|
1461
1461
|
return this.client._post("/api/v1/target/reviews", options);
|
|
1462
1462
|
}
|
|
1463
|
+
/**
|
|
1464
|
+
* In-store stock for one product at every Target store near a ZIP: units,
|
|
1465
|
+
* in-store, pickup, curbside and ship-to-store status, distance, address and
|
|
1466
|
+
* hours. Up to 20 stores; `store_id` narrows to one.
|
|
1467
|
+
*
|
|
1468
|
+
* Costs 1 credit. Typically ~3s.
|
|
1469
|
+
*/
|
|
1470
|
+
async availability(options) {
|
|
1471
|
+
return this.client._post("/api/v1/target/availability", options);
|
|
1472
|
+
}
|
|
1463
1473
|
};
|
|
1464
1474
|
|
|
1465
1475
|
// src/namespaces/home-depot.ts
|
|
@@ -2656,6 +2666,73 @@ var CostcoNamespace = class {
|
|
|
2656
2666
|
}
|
|
2657
2667
|
};
|
|
2658
2668
|
|
|
2669
|
+
// src/namespaces/heb.ts
|
|
2670
|
+
var HebNamespace = class {
|
|
2671
|
+
constructor(client) {
|
|
2672
|
+
this.client = client;
|
|
2673
|
+
}
|
|
2674
|
+
client;
|
|
2675
|
+
/**
|
|
2676
|
+
* Search HEB grocery products by keyword: price (cents), sale status, unit
|
|
2677
|
+
* price, size, UPC, stock, EBT/SNAP eligibility, aisle location and product
|
|
2678
|
+
* URL.
|
|
2679
|
+
*
|
|
2680
|
+
* Costs 2 credits.
|
|
2681
|
+
*/
|
|
2682
|
+
async search(options) {
|
|
2683
|
+
return this.client._post("/api/v1/heb/search", options);
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* Full HEB product detail: nutrition facts, ingredients, description, images,
|
|
2687
|
+
* similar products, coupons, EBT/SNAP eligibility and breadcrumbs. Pass
|
|
2688
|
+
* product_url (from search()) or slug + product_id.
|
|
2689
|
+
*
|
|
2690
|
+
* Costs 2 credits.
|
|
2691
|
+
*/
|
|
2692
|
+
async product(options) {
|
|
2693
|
+
return this.client._post("/api/v1/heb/product", options);
|
|
2694
|
+
}
|
|
2695
|
+
/**
|
|
2696
|
+
* HEB stores near a US ZIP code or city: store number, address, phone, hours,
|
|
2697
|
+
* pharmacy availability, fulfillment channels, distance and store URL.
|
|
2698
|
+
*
|
|
2699
|
+
* Costs 2 credits.
|
|
2700
|
+
*/
|
|
2701
|
+
async stores(options) {
|
|
2702
|
+
return this.client._post("/api/v1/heb/stores", options);
|
|
2703
|
+
}
|
|
2704
|
+
};
|
|
2705
|
+
|
|
2706
|
+
// src/namespaces/kroger.ts
|
|
2707
|
+
var KrogerNamespace = class {
|
|
2708
|
+
constructor(client) {
|
|
2709
|
+
this.client = client;
|
|
2710
|
+
}
|
|
2711
|
+
client;
|
|
2712
|
+
/**
|
|
2713
|
+
* Search Kroger grocery products by keyword: price (cents), promo price,
|
|
2714
|
+
* n-for deals, unit price, size, UPC, stock, SNAP eligibility, dietary info,
|
|
2715
|
+
* rating and category. Kroger operates Kroger, Ralphs, Fred Meyer, Harris
|
|
2716
|
+
* Teeter, King Soopers, Fry's and other banners.
|
|
2717
|
+
*
|
|
2718
|
+
* Costs 2 credits.
|
|
2719
|
+
*/
|
|
2720
|
+
async search(options) {
|
|
2721
|
+
return this.client._post("/api/v1/kroger/search", options);
|
|
2722
|
+
}
|
|
2723
|
+
/**
|
|
2724
|
+
* Full Kroger product detail by URL or UPC: nutrition facts (allergens,
|
|
2725
|
+
* ingredients, nutrients with daily values), description, images, rating
|
|
2726
|
+
* distribution, store aisle location, stock level, dietary flags (organic,
|
|
2727
|
+
* non-GMO, gluten-free), SNAP eligibility, dimensions and country of origin.
|
|
2728
|
+
*
|
|
2729
|
+
* Costs 2 credits.
|
|
2730
|
+
*/
|
|
2731
|
+
async product(options) {
|
|
2732
|
+
return this.client._post("/api/v1/kroger/product", options);
|
|
2733
|
+
}
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2659
2736
|
// src/namespaces/trustpilot.ts
|
|
2660
2737
|
var TrustpilotNamespace = class {
|
|
2661
2738
|
constructor(client) {
|
|
@@ -3167,6 +3244,8 @@ var Scavio = class extends ScavioCore {
|
|
|
3167
3244
|
googleAds;
|
|
3168
3245
|
metaAds;
|
|
3169
3246
|
costco;
|
|
3247
|
+
heb;
|
|
3248
|
+
kroger;
|
|
3170
3249
|
trustpilot;
|
|
3171
3250
|
chatgpt;
|
|
3172
3251
|
gemini;
|
|
@@ -3226,6 +3305,8 @@ var Scavio = class extends ScavioCore {
|
|
|
3226
3305
|
this.googleAds = new GoogleAdsNamespace(this);
|
|
3227
3306
|
this.metaAds = new MetaAdsNamespace(this);
|
|
3228
3307
|
this.costco = new CostcoNamespace(this);
|
|
3308
|
+
this.heb = new HebNamespace(this);
|
|
3309
|
+
this.kroger = new KrogerNamespace(this);
|
|
3229
3310
|
this.trustpilot = new TrustpilotNamespace(this);
|
|
3230
3311
|
this.chatgpt = new ChatgptNamespace(this);
|
|
3231
3312
|
this.gemini = new GeminiNamespace(this);
|
|
@@ -3353,11 +3434,13 @@ export {
|
|
|
3353
3434
|
GoogleAdsNamespace,
|
|
3354
3435
|
GoogleNamespace,
|
|
3355
3436
|
GooglePlayNamespace,
|
|
3437
|
+
HebNamespace,
|
|
3356
3438
|
HomeDepotNamespace,
|
|
3357
3439
|
IndeedNamespace,
|
|
3358
3440
|
InstagramNamespace,
|
|
3359
3441
|
InsufficientCreditsError,
|
|
3360
3442
|
InvalidAPIKeyError,
|
|
3443
|
+
KrogerNamespace,
|
|
3361
3444
|
KuaishouNamespace,
|
|
3362
3445
|
LinkedInNamespace,
|
|
3363
3446
|
MAX_REQUESTS_PER_SECOND,
|