scavio 0.27.0 → 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/dist/index.cjs +76 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -1
- package/dist/index.d.ts +102 -1
- package/dist/index.js +74 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -4868,6 +4868,105 @@ declare class CostcoNamespace {
|
|
|
4868
4868
|
autocomplete(options: CostcoAutocompleteOptions): Promise<Record<string, unknown>>;
|
|
4869
4869
|
}
|
|
4870
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
|
+
|
|
4871
4970
|
type TrustpilotReviewsDateRange = "last30days" | "last3months" | "last6months" | "last12months";
|
|
4872
4971
|
type TrustpilotReviewsSort = "recency" | "relevance";
|
|
4873
4972
|
type TrustpilotCategorySort = "most_relevant" | "reviews_count" | "latest_review";
|
|
@@ -5985,6 +6084,8 @@ declare class Scavio extends ScavioCore {
|
|
|
5985
6084
|
readonly googleAds: GoogleAdsNamespace;
|
|
5986
6085
|
readonly metaAds: MetaAdsNamespace;
|
|
5987
6086
|
readonly costco: CostcoNamespace;
|
|
6087
|
+
readonly heb: HebNamespace;
|
|
6088
|
+
readonly kroger: KrogerNamespace;
|
|
5988
6089
|
readonly trustpilot: TrustpilotNamespace;
|
|
5989
6090
|
readonly chatgpt: ChatgptNamespace;
|
|
5990
6091
|
readonly gemini: GeminiNamespace;
|
|
@@ -6091,4 +6192,4 @@ declare class ScavioJobTimeoutError extends ScavioError {
|
|
|
6091
6192
|
constructor(jobType: "crawl" | "batch", jobId: string, statusUrl: string, lastStatus: string);
|
|
6092
6193
|
}
|
|
6093
6194
|
|
|
6094
|
-
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 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 };
|
|
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
|
@@ -4868,6 +4868,105 @@ declare class CostcoNamespace {
|
|
|
4868
4868
|
autocomplete(options: CostcoAutocompleteOptions): Promise<Record<string, unknown>>;
|
|
4869
4869
|
}
|
|
4870
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
|
+
|
|
4871
4970
|
type TrustpilotReviewsDateRange = "last30days" | "last3months" | "last6months" | "last12months";
|
|
4872
4971
|
type TrustpilotReviewsSort = "recency" | "relevance";
|
|
4873
4972
|
type TrustpilotCategorySort = "most_relevant" | "reviews_count" | "latest_review";
|
|
@@ -5985,6 +6084,8 @@ declare class Scavio extends ScavioCore {
|
|
|
5985
6084
|
readonly googleAds: GoogleAdsNamespace;
|
|
5986
6085
|
readonly metaAds: MetaAdsNamespace;
|
|
5987
6086
|
readonly costco: CostcoNamespace;
|
|
6087
|
+
readonly heb: HebNamespace;
|
|
6088
|
+
readonly kroger: KrogerNamespace;
|
|
5988
6089
|
readonly trustpilot: TrustpilotNamespace;
|
|
5989
6090
|
readonly chatgpt: ChatgptNamespace;
|
|
5990
6091
|
readonly gemini: GeminiNamespace;
|
|
@@ -6091,4 +6192,4 @@ declare class ScavioJobTimeoutError extends ScavioError {
|
|
|
6091
6192
|
constructor(jobType: "crawl" | "batch", jobId: string, statusUrl: string, lastStatus: string);
|
|
6092
6193
|
}
|
|
6093
6194
|
|
|
6094
|
-
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 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 };
|
|
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;
|
|
@@ -2666,6 +2666,73 @@ var CostcoNamespace = class {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
};
|
|
2668
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
|
+
|
|
2669
2736
|
// src/namespaces/trustpilot.ts
|
|
2670
2737
|
var TrustpilotNamespace = class {
|
|
2671
2738
|
constructor(client) {
|
|
@@ -3177,6 +3244,8 @@ var Scavio = class extends ScavioCore {
|
|
|
3177
3244
|
googleAds;
|
|
3178
3245
|
metaAds;
|
|
3179
3246
|
costco;
|
|
3247
|
+
heb;
|
|
3248
|
+
kroger;
|
|
3180
3249
|
trustpilot;
|
|
3181
3250
|
chatgpt;
|
|
3182
3251
|
gemini;
|
|
@@ -3236,6 +3305,8 @@ var Scavio = class extends ScavioCore {
|
|
|
3236
3305
|
this.googleAds = new GoogleAdsNamespace(this);
|
|
3237
3306
|
this.metaAds = new MetaAdsNamespace(this);
|
|
3238
3307
|
this.costco = new CostcoNamespace(this);
|
|
3308
|
+
this.heb = new HebNamespace(this);
|
|
3309
|
+
this.kroger = new KrogerNamespace(this);
|
|
3239
3310
|
this.trustpilot = new TrustpilotNamespace(this);
|
|
3240
3311
|
this.chatgpt = new ChatgptNamespace(this);
|
|
3241
3312
|
this.gemini = new GeminiNamespace(this);
|
|
@@ -3363,11 +3434,13 @@ export {
|
|
|
3363
3434
|
GoogleAdsNamespace,
|
|
3364
3435
|
GoogleNamespace,
|
|
3365
3436
|
GooglePlayNamespace,
|
|
3437
|
+
HebNamespace,
|
|
3366
3438
|
HomeDepotNamespace,
|
|
3367
3439
|
IndeedNamespace,
|
|
3368
3440
|
InstagramNamespace,
|
|
3369
3441
|
InsufficientCreditsError,
|
|
3370
3442
|
InvalidAPIKeyError,
|
|
3443
|
+
KrogerNamespace,
|
|
3371
3444
|
KuaishouNamespace,
|
|
3372
3445
|
LinkedInNamespace,
|
|
3373
3446
|
MAX_REQUESTS_PER_SECOND,
|