@keystrokehq/serpapi 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/baidu-search.cjs +1 -0
- package/dist/actions/baidu-search.cjs.map +1 -1
- package/dist/actions/baidu-search.d.cts +3 -28
- package/dist/actions/baidu-search.d.cts.map +1 -1
- package/dist/actions/baidu-search.d.mts +3 -28
- package/dist/actions/baidu-search.d.mts.map +1 -1
- package/dist/actions/baidu-search.mjs +1 -0
- package/dist/actions/baidu-search.mjs.map +1 -1
- package/dist/actions/bing-maps.cjs +1 -0
- package/dist/actions/bing-maps.cjs.map +1 -1
- package/dist/actions/bing-maps.d.cts +3 -21
- package/dist/actions/bing-maps.d.cts.map +1 -1
- package/dist/actions/bing-maps.d.mts +3 -21
- package/dist/actions/bing-maps.d.mts.map +1 -1
- package/dist/actions/bing-maps.mjs +1 -0
- package/dist/actions/bing-maps.mjs.map +1 -1
- package/dist/actions/bing-search.cjs +1 -0
- package/dist/actions/bing-search.cjs.map +1 -1
- package/dist/actions/bing-search.d.cts +3 -22
- package/dist/actions/bing-search.d.cts.map +1 -1
- package/dist/actions/bing-search.d.mts +3 -22
- package/dist/actions/bing-search.d.mts.map +1 -1
- package/dist/actions/bing-search.mjs +1 -0
- package/dist/actions/bing-search.mjs.map +1 -1
- package/dist/actions/duck-duck-go-light-search.cjs +1 -0
- package/dist/actions/duck-duck-go-light-search.cjs.map +1 -1
- package/dist/actions/duck-duck-go-light-search.d.cts +3 -22
- package/dist/actions/duck-duck-go-light-search.d.cts.map +1 -1
- package/dist/actions/duck-duck-go-light-search.d.mts +3 -22
- package/dist/actions/duck-duck-go-light-search.d.mts.map +1 -1
- package/dist/actions/duck-duck-go-light-search.mjs +1 -0
- package/dist/actions/duck-duck-go-light-search.mjs.map +1 -1
- package/dist/actions/duck-duck-go-maps.cjs +1 -0
- package/dist/actions/duck-duck-go-maps.cjs.map +1 -1
- package/dist/actions/duck-duck-go-maps.d.cts +3 -19
- package/dist/actions/duck-duck-go-maps.d.cts.map +1 -1
- package/dist/actions/duck-duck-go-maps.d.mts +3 -19
- package/dist/actions/duck-duck-go-maps.d.mts.map +1 -1
- package/dist/actions/duck-duck-go-maps.mjs +1 -0
- package/dist/actions/duck-duck-go-maps.mjs.map +1 -1
- package/dist/actions/duck-duck-go-search.cjs +1 -0
- package/dist/actions/duck-duck-go-search.cjs.map +1 -1
- package/dist/actions/duck-duck-go-search.d.cts +3 -15
- package/dist/actions/duck-duck-go-search.d.cts.map +1 -1
- package/dist/actions/duck-duck-go-search.d.mts +3 -15
- package/dist/actions/duck-duck-go-search.d.mts.map +1 -1
- package/dist/actions/duck-duck-go-search.mjs +1 -0
- package/dist/actions/duck-duck-go-search.mjs.map +1 -1
- package/dist/actions/ebay-search.cjs +1 -0
- package/dist/actions/ebay-search.cjs.map +1 -1
- package/dist/actions/ebay-search.d.cts +3 -24
- package/dist/actions/ebay-search.d.cts.map +1 -1
- package/dist/actions/ebay-search.d.mts +3 -24
- package/dist/actions/ebay-search.d.mts.map +1 -1
- package/dist/actions/ebay-search.mjs +1 -0
- package/dist/actions/ebay-search.mjs.map +1 -1
- package/dist/actions/event-search.cjs +1 -0
- package/dist/actions/event-search.cjs.map +1 -1
- package/dist/actions/event-search.d.cts +3 -16
- package/dist/actions/event-search.d.cts.map +1 -1
- package/dist/actions/event-search.d.mts +3 -16
- package/dist/actions/event-search.d.mts.map +1 -1
- package/dist/actions/event-search.mjs +1 -0
- package/dist/actions/event-search.mjs.map +1 -1
- package/dist/actions/finance-search.cjs +1 -0
- package/dist/actions/finance-search.cjs.map +1 -1
- package/dist/actions/finance-search.d.cts +3 -15
- package/dist/actions/finance-search.d.cts.map +1 -1
- package/dist/actions/finance-search.d.mts +3 -15
- package/dist/actions/finance-search.d.mts.map +1 -1
- package/dist/actions/finance-search.mjs +1 -0
- package/dist/actions/finance-search.mjs.map +1 -1
- package/dist/actions/get-available-location-options-for-google-searches.cjs +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.cjs.map +1 -1
- package/dist/actions/get-available-location-options-for-google-searches.d.cts +3 -16
- package/dist/actions/get-available-location-options-for-google-searches.d.cts.map +1 -1
- package/dist/actions/get-available-location-options-for-google-searches.d.mts +3 -16
- package/dist/actions/get-available-location-options-for-google-searches.d.mts.map +1 -1
- package/dist/actions/get-available-location-options-for-google-searches.mjs +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.mjs.map +1 -1
- package/dist/actions/get-facebook-profile.cjs +1 -0
- package/dist/actions/get-facebook-profile.cjs.map +1 -1
- package/dist/actions/get-facebook-profile.d.cts +3 -16
- package/dist/actions/get-facebook-profile.d.cts.map +1 -1
- package/dist/actions/get-facebook-profile.d.mts +3 -16
- package/dist/actions/get-facebook-profile.d.mts.map +1 -1
- package/dist/actions/get-facebook-profile.mjs +1 -0
- package/dist/actions/get-facebook-profile.mjs.map +1 -1
- package/dist/actions/get-google-about-this-result.cjs +1 -0
- package/dist/actions/get-google-about-this-result.cjs.map +1 -1
- package/dist/actions/get-google-about-this-result.d.cts +3 -20
- package/dist/actions/get-google-about-this-result.d.cts.map +1 -1
- package/dist/actions/get-google-about-this-result.d.mts +3 -20
- package/dist/actions/get-google-about-this-result.d.mts.map +1 -1
- package/dist/actions/get-google-about-this-result.mjs +1 -0
- package/dist/actions/get-google-about-this-result.mjs.map +1 -1
- package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs.map +1 -1
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.cts +3 -20
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.cts.map +1 -1
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.mts +3 -20
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.mts.map +1 -1
- package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs.map +1 -1
- package/dist/actions/get-google-images-related-content.cjs +1 -0
- package/dist/actions/get-google-images-related-content.cjs.map +1 -1
- package/dist/actions/get-google-images-related-content.d.cts +3 -21
- package/dist/actions/get-google-images-related-content.d.cts.map +1 -1
- package/dist/actions/get-google-images-related-content.d.mts +3 -21
- package/dist/actions/get-google-images-related-content.d.mts.map +1 -1
- package/dist/actions/get-google-images-related-content.mjs +1 -0
- package/dist/actions/get-google-images-related-content.mjs.map +1 -1
- package/dist/actions/get-google-patent-details.cjs +1 -0
- package/dist/actions/get-google-patent-details.cjs.map +1 -1
- package/dist/actions/get-google-patent-details.d.cts +3 -18
- package/dist/actions/get-google-patent-details.d.cts.map +1 -1
- package/dist/actions/get-google-patent-details.d.mts +3 -18
- package/dist/actions/get-google-patent-details.d.mts.map +1 -1
- package/dist/actions/get-google-patent-details.mjs +1 -0
- package/dist/actions/get-google-patent-details.mjs.map +1 -1
- package/dist/actions/get-search-archive.cjs +1 -0
- package/dist/actions/get-search-archive.cjs.map +1 -1
- package/dist/actions/get-search-archive.d.cts +3 -15
- package/dist/actions/get-search-archive.d.cts.map +1 -1
- package/dist/actions/get-search-archive.d.mts +3 -15
- package/dist/actions/get-search-archive.d.mts.map +1 -1
- package/dist/actions/get-search-archive.mjs +1 -0
- package/dist/actions/get-search-archive.mjs.map +1 -1
- package/dist/actions/google-domains-list.cjs +1 -0
- package/dist/actions/google-domains-list.cjs.map +1 -1
- package/dist/actions/google-domains-list.d.cts +3 -13
- package/dist/actions/google-domains-list.d.cts.map +1 -1
- package/dist/actions/google-domains-list.d.mts +3 -13
- package/dist/actions/google-domains-list.d.mts.map +1 -1
- package/dist/actions/google-domains-list.mjs +1 -0
- package/dist/actions/google-domains-list.mjs.map +1 -1
- package/dist/actions/google-forums-search.cjs +1 -0
- package/dist/actions/google-forums-search.cjs.map +1 -1
- package/dist/actions/google-forums-search.d.cts +3 -29
- package/dist/actions/google-forums-search.d.cts.map +1 -1
- package/dist/actions/google-forums-search.d.mts +3 -29
- package/dist/actions/google-forums-search.d.mts.map +1 -1
- package/dist/actions/google-forums-search.mjs +1 -0
- package/dist/actions/google-forums-search.mjs.map +1 -1
- package/dist/actions/google-jobs-search.cjs +1 -0
- package/dist/actions/google-jobs-search.cjs.map +1 -1
- package/dist/actions/google-jobs-search.d.cts +3 -30
- package/dist/actions/google-jobs-search.d.cts.map +1 -1
- package/dist/actions/google-jobs-search.d.mts +3 -30
- package/dist/actions/google-jobs-search.d.mts.map +1 -1
- package/dist/actions/google-jobs-search.mjs +1 -0
- package/dist/actions/google-jobs-search.mjs.map +1 -1
- package/dist/actions/google-lens-search.cjs +1 -0
- package/dist/actions/google-lens-search.cjs.map +1 -1
- package/dist/actions/google-lens-search.d.cts +3 -19
- package/dist/actions/google-lens-search.d.cts.map +1 -1
- package/dist/actions/google-lens-search.d.mts +3 -19
- package/dist/actions/google-lens-search.d.mts.map +1 -1
- package/dist/actions/google-lens-search.mjs +1 -0
- package/dist/actions/google-lens-search.mjs.map +1 -1
- package/dist/actions/google-light-search.cjs +1 -0
- package/dist/actions/google-light-search.cjs.map +1 -1
- package/dist/actions/google-light-search.d.cts +3 -32
- package/dist/actions/google-light-search.d.cts.map +1 -1
- package/dist/actions/google-light-search.d.mts +3 -32
- package/dist/actions/google-light-search.d.mts.map +1 -1
- package/dist/actions/google-light-search.mjs +1 -0
- package/dist/actions/google-light-search.mjs.map +1 -1
- package/dist/actions/google-maps-posts.cjs +1 -0
- package/dist/actions/google-maps-posts.cjs.map +1 -1
- package/dist/actions/google-maps-posts.d.cts +3 -17
- package/dist/actions/google-maps-posts.d.cts.map +1 -1
- package/dist/actions/google-maps-posts.d.mts +3 -17
- package/dist/actions/google-maps-posts.d.mts.map +1 -1
- package/dist/actions/google-maps-posts.mjs +1 -0
- package/dist/actions/google-maps-posts.mjs.map +1 -1
- package/dist/actions/google-maps-search.cjs +1 -0
- package/dist/actions/google-maps-search.cjs.map +1 -1
- package/dist/actions/google-maps-search.d.cts +3 -17
- package/dist/actions/google-maps-search.d.cts.map +1 -1
- package/dist/actions/google-maps-search.d.mts +3 -17
- package/dist/actions/google-maps-search.d.mts.map +1 -1
- package/dist/actions/google-maps-search.mjs +1 -0
- package/dist/actions/google-maps-search.mjs.map +1 -1
- package/dist/actions/google-play-product.cjs +1 -0
- package/dist/actions/google-play-product.cjs.map +1 -1
- package/dist/actions/google-play-product.d.cts +3 -29
- package/dist/actions/google-play-product.d.cts.map +1 -1
- package/dist/actions/google-play-product.d.mts +3 -29
- package/dist/actions/google-play-product.d.mts.map +1 -1
- package/dist/actions/google-play-product.mjs +1 -0
- package/dist/actions/google-play-product.mjs.map +1 -1
- package/dist/actions/google-scholar-author.cjs +1 -0
- package/dist/actions/google-scholar-author.cjs.map +1 -1
- package/dist/actions/google-scholar-author.d.cts +3 -22
- package/dist/actions/google-scholar-author.d.cts.map +1 -1
- package/dist/actions/google-scholar-author.d.mts +3 -22
- package/dist/actions/google-scholar-author.d.mts.map +1 -1
- package/dist/actions/google-scholar-author.mjs +1 -0
- package/dist/actions/google-scholar-author.mjs.map +1 -1
- package/dist/actions/google-scholar-cite.cjs +1 -0
- package/dist/actions/google-scholar-cite.cjs.map +1 -1
- package/dist/actions/google-scholar-cite.d.cts +3 -17
- package/dist/actions/google-scholar-cite.d.cts.map +1 -1
- package/dist/actions/google-scholar-cite.d.mts +3 -17
- package/dist/actions/google-scholar-cite.d.mts.map +1 -1
- package/dist/actions/google-scholar-cite.mjs +1 -0
- package/dist/actions/google-scholar-cite.mjs.map +1 -1
- package/dist/actions/google-videos-light.cjs +1 -0
- package/dist/actions/google-videos-light.cjs.map +1 -1
- package/dist/actions/google-videos-light.d.cts +3 -33
- package/dist/actions/google-videos-light.d.cts.map +1 -1
- package/dist/actions/google-videos-light.d.mts +3 -33
- package/dist/actions/google-videos-light.d.mts.map +1 -1
- package/dist/actions/google-videos-light.mjs +1 -0
- package/dist/actions/google-videos-light.mjs.map +1 -1
- package/dist/actions/hotel-search.cjs +1 -0
- package/dist/actions/hotel-search.cjs.map +1 -1
- package/dist/actions/hotel-search.d.cts +3 -41
- package/dist/actions/hotel-search.d.cts.map +1 -1
- package/dist/actions/hotel-search.d.mts +3 -41
- package/dist/actions/hotel-search.d.mts.map +1 -1
- package/dist/actions/hotel-search.mjs +1 -0
- package/dist/actions/hotel-search.mjs.map +1 -1
- package/dist/actions/image-search.cjs +1 -0
- package/dist/actions/image-search.cjs.map +1 -1
- package/dist/actions/image-search.d.cts +3 -16
- package/dist/actions/image-search.d.cts.map +1 -1
- package/dist/actions/image-search.d.mts +3 -16
- package/dist/actions/image-search.d.mts.map +1 -1
- package/dist/actions/image-search.mjs +1 -0
- package/dist/actions/image-search.mjs.map +1 -1
- package/dist/actions/naver-search.cjs +1 -0
- package/dist/actions/naver-search.cjs.map +1 -1
- package/dist/actions/naver-search.d.cts +3 -25
- package/dist/actions/naver-search.d.cts.map +1 -1
- package/dist/actions/naver-search.d.mts +3 -25
- package/dist/actions/naver-search.d.mts.map +1 -1
- package/dist/actions/naver-search.mjs +1 -0
- package/dist/actions/naver-search.mjs.map +1 -1
- package/dist/actions/news-search.cjs +1 -0
- package/dist/actions/news-search.cjs.map +1 -1
- package/dist/actions/news-search.d.cts +3 -17
- package/dist/actions/news-search.d.cts.map +1 -1
- package/dist/actions/news-search.d.mts +3 -17
- package/dist/actions/news-search.d.mts.map +1 -1
- package/dist/actions/news-search.mjs +1 -0
- package/dist/actions/news-search.mjs.map +1 -1
- package/dist/actions/open-table-reviews.cjs +1 -0
- package/dist/actions/open-table-reviews.cjs.map +1 -1
- package/dist/actions/open-table-reviews.d.cts +3 -22
- package/dist/actions/open-table-reviews.d.cts.map +1 -1
- package/dist/actions/open-table-reviews.d.mts +3 -22
- package/dist/actions/open-table-reviews.d.mts.map +1 -1
- package/dist/actions/open-table-reviews.mjs +1 -0
- package/dist/actions/open-table-reviews.mjs.map +1 -1
- package/dist/actions/play-search.cjs +1 -0
- package/dist/actions/play-search.cjs.map +1 -1
- package/dist/actions/play-search.d.cts +3 -28
- package/dist/actions/play-search.d.cts.map +1 -1
- package/dist/actions/play-search.d.mts +3 -28
- package/dist/actions/play-search.d.mts.map +1 -1
- package/dist/actions/play-search.mjs +1 -0
- package/dist/actions/play-search.mjs.map +1 -1
- package/dist/actions/scholar-search.cjs +1 -0
- package/dist/actions/scholar-search.cjs.map +1 -1
- package/dist/actions/scholar-search.d.cts +3 -17
- package/dist/actions/scholar-search.d.cts.map +1 -1
- package/dist/actions/scholar-search.d.mts +3 -17
- package/dist/actions/scholar-search.d.mts.map +1 -1
- package/dist/actions/scholar-search.mjs +1 -0
- package/dist/actions/scholar-search.mjs.map +1 -1
- package/dist/actions/search-apple-app-store.cjs +1 -0
- package/dist/actions/search-apple-app-store.cjs.map +1 -1
- package/dist/actions/search-apple-app-store.d.cts +3 -23
- package/dist/actions/search-apple-app-store.d.cts.map +1 -1
- package/dist/actions/search-apple-app-store.d.mts +3 -23
- package/dist/actions/search-apple-app-store.d.mts.map +1 -1
- package/dist/actions/search-apple-app-store.mjs +1 -0
- package/dist/actions/search-apple-app-store.mjs.map +1 -1
- package/dist/actions/search-google-images-light.cjs +1 -0
- package/dist/actions/search-google-images-light.cjs.map +1 -1
- package/dist/actions/search-google-images-light.d.cts +3 -29
- package/dist/actions/search-google-images-light.d.cts.map +1 -1
- package/dist/actions/search-google-images-light.d.mts +3 -29
- package/dist/actions/search-google-images-light.d.mts.map +1 -1
- package/dist/actions/search-google-images-light.mjs +1 -0
- package/dist/actions/search-google-images-light.mjs.map +1 -1
- package/dist/actions/search-google-local-services.cjs +1 -0
- package/dist/actions/search-google-local-services.cjs.map +1 -1
- package/dist/actions/search-google-local-services.d.cts +3 -26
- package/dist/actions/search-google-local-services.d.cts.map +1 -1
- package/dist/actions/search-google-local-services.d.mts +3 -26
- package/dist/actions/search-google-local-services.d.mts.map +1 -1
- package/dist/actions/search-google-local-services.mjs +1 -0
- package/dist/actions/search-google-local-services.mjs.map +1 -1
- package/dist/actions/search-yelp.cjs +1 -0
- package/dist/actions/search-yelp.cjs.map +1 -1
- package/dist/actions/search-yelp.d.cts +3 -21
- package/dist/actions/search-yelp.d.cts.map +1 -1
- package/dist/actions/search-yelp.d.mts +3 -21
- package/dist/actions/search-yelp.d.mts.map +1 -1
- package/dist/actions/search-yelp.mjs +1 -0
- package/dist/actions/search-yelp.mjs.map +1 -1
- package/dist/actions/search.cjs +1 -0
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +3 -15
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +3 -15
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs +1 -0
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/shopping-search.cjs +1 -0
- package/dist/actions/shopping-search.cjs.map +1 -1
- package/dist/actions/shopping-search.d.cts +3 -17
- package/dist/actions/shopping-search.d.cts.map +1 -1
- package/dist/actions/shopping-search.d.mts +3 -17
- package/dist/actions/shopping-search.d.mts.map +1 -1
- package/dist/actions/shopping-search.mjs +1 -0
- package/dist/actions/shopping-search.mjs.map +1 -1
- package/dist/actions/trends-search.cjs +1 -0
- package/dist/actions/trends-search.cjs.map +1 -1
- package/dist/actions/trends-search.d.cts +3 -16
- package/dist/actions/trends-search.d.cts.map +1 -1
- package/dist/actions/trends-search.d.mts +3 -16
- package/dist/actions/trends-search.d.mts.map +1 -1
- package/dist/actions/trends-search.mjs +1 -0
- package/dist/actions/trends-search.mjs.map +1 -1
- package/dist/actions/walmart-product-reviews.cjs +1 -0
- package/dist/actions/walmart-product-reviews.cjs.map +1 -1
- package/dist/actions/walmart-product-reviews.d.cts +3 -21
- package/dist/actions/walmart-product-reviews.d.cts.map +1 -1
- package/dist/actions/walmart-product-reviews.d.mts +3 -21
- package/dist/actions/walmart-product-reviews.d.mts.map +1 -1
- package/dist/actions/walmart-product-reviews.mjs +1 -0
- package/dist/actions/walmart-product-reviews.mjs.map +1 -1
- package/dist/actions/walmart-search.cjs +1 -0
- package/dist/actions/walmart-search.cjs.map +1 -1
- package/dist/actions/walmart-search.d.cts +3 -23
- package/dist/actions/walmart-search.d.cts.map +1 -1
- package/dist/actions/walmart-search.d.mts +3 -23
- package/dist/actions/walmart-search.d.mts.map +1 -1
- package/dist/actions/walmart-search.mjs +1 -0
- package/dist/actions/walmart-search.mjs.map +1 -1
- package/dist/actions/yahoo-search.cjs +1 -0
- package/dist/actions/yahoo-search.cjs.map +1 -1
- package/dist/actions/yahoo-search.d.cts +3 -28
- package/dist/actions/yahoo-search.d.cts.map +1 -1
- package/dist/actions/yahoo-search.d.mts +3 -28
- package/dist/actions/yahoo-search.d.mts.map +1 -1
- package/dist/actions/yahoo-search.mjs +1 -0
- package/dist/actions/yahoo-search.mjs.map +1 -1
- package/dist/actions/yahoo-videos.cjs +1 -0
- package/dist/actions/yahoo-videos.cjs.map +1 -1
- package/dist/actions/yahoo-videos.d.cts +3 -26
- package/dist/actions/yahoo-videos.d.cts.map +1 -1
- package/dist/actions/yahoo-videos.d.mts +3 -26
- package/dist/actions/yahoo-videos.d.mts.map +1 -1
- package/dist/actions/yahoo-videos.mjs +1 -0
- package/dist/actions/yahoo-videos.mjs.map +1 -1
- package/dist/actions/yandex-images-search.cjs +1 -0
- package/dist/actions/yandex-images-search.cjs.map +1 -1
- package/dist/actions/yandex-images-search.d.cts +3 -33
- package/dist/actions/yandex-images-search.d.cts.map +1 -1
- package/dist/actions/yandex-images-search.d.mts +3 -33
- package/dist/actions/yandex-images-search.d.mts.map +1 -1
- package/dist/actions/yandex-images-search.mjs +1 -0
- package/dist/actions/yandex-images-search.mjs.map +1 -1
- package/dist/actions/yandex-search.cjs +1 -0
- package/dist/actions/yandex-search.cjs.map +1 -1
- package/dist/actions/yandex-search.d.cts +3 -20
- package/dist/actions/yandex-search.d.cts.map +1 -1
- package/dist/actions/yandex-search.d.mts +3 -20
- package/dist/actions/yandex-search.d.mts.map +1 -1
- package/dist/actions/yandex-search.mjs +1 -0
- package/dist/actions/yandex-search.mjs.map +1 -1
- package/dist/actions/you-tube-search.cjs +1 -0
- package/dist/actions/you-tube-search.cjs.map +1 -1
- package/dist/actions/you-tube-search.d.cts +3 -22
- package/dist/actions/you-tube-search.d.cts.map +1 -1
- package/dist/actions/you-tube-search.d.mts +3 -22
- package/dist/actions/you-tube-search.d.mts.map +1 -1
- package/dist/actions/you-tube-search.mjs +1 -0
- package/dist/actions/you-tube-search.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-images-light.cjs","names":["z","action"],"sources":["../../src/actions/search-google-images-light.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchGoogleImagesLightInput = z.object({\n q: z.string().describe(\"Search query for Google Images. Supports Google search operators like inurl:, site:, intitle:.\"),\n gl: z.string().describe(\"Two-letter country code to define the country for the search.\").optional(),\n hl: z.string().describe(\"Two-letter language code to define the language for the search interface.\").optional(),\n imgar: z.string().describe(\"Aspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).\").optional(),\n imgsz: z.string().describe(\"Image size filter. Options: l (large), m (medium), i (icon), etc.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Must be between 0 and 999.\").optional(),\n device: z.string().describe(\"Device type for the search. Options: desktop (default), tablet, mobile.\").optional(),\n engine: z.string().default(\"google_images_light\").describe(\"Set parameter to google_images_light to use the Google Images Light API engine.\").optional(),\n end_date: z.string().describe(\"End date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n location: z.string().describe(\"Geographic location for the search origin. Specify at city level for best results.\").optional(),\n start_date: z.string().describe(\"Start date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n image_color: z.string().describe(\"Color filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.\").optional(),\n period_unit: z.string().describe(\"Time period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.\").optional(),\n period_value: z.number().int().describe(\"Time period value to use with period_unit. Specifies how many units back to search.\").optional(),\n google_domain: z.string().describe(\"Google domain to use for the search. Defaults to google.com.\").optional(),\n});\nconst SerpapiSearchGoogleImagesLight_ImageResultSchema = z.object({\n link: z.string().describe(\"Clickable URL to source webpage.\").nullable().optional(),\n title: z.string().describe(\"Brief image description or caption.\").nullable().optional(),\n source: z.string().describe(\"Displayed website URL of image origin.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product availability status (for products only).\").nullable().optional(),\n original: z.string().describe(\"Full-resolution image URL or x-raw-image reference.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the image result on the search page.\").nullable().optional(),\n raw_link: z.string().describe(\"URL associated with Google search page.\").nullable().optional(),\n thumbnail: z.string().describe(\"Google-hosted thumbnail image URL.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether source page contains product listing.\").nullable().optional(),\n source_logo: z.string().describe(\"Website favicon or logo URL.\").nullable().optional(),\n original_width: z.number().int().describe(\"Native image width in pixels.\").nullable().optional(),\n original_height: z.number().int().describe(\"Native image height in pixels.\").nullable().optional(),\n serpapi_thumbnail: z.string().describe(\"SerpApi-hosted thumbnail URL for more reliable access.\").nullable().optional(),\n related_content_id: z.string().describe(\"Identifier for fetching related images.\").nullable().optional(),\n license_details_url: z.string().describe(\"License information URL when applicable.\").nullable().optional(),\n serpapi_related_content_link: z.string().describe(\"SerpApi endpoint for related content.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique search identifier within SerpApi.\").nullable().optional(),\n error: z.string().describe(\"Error message (present only on failure).\").nullable().optional(),\n status: z.string().describe(\"Search execution status: Processing, Success, or Error.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when search was initiated.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when search completed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve results in JSON format.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Link to raw HTML response.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds.\").nullable().optional(),\n google_images_light_url: z.string().describe(\"Direct URL to Google Images Light results page.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchParametersSchema = z.object({\n q: z.string().describe(\"Search query submitted.\").nullable().optional(),\n gl: z.string().describe(\"Country/region code.\").nullable().optional(),\n hl: z.string().describe(\"Language code.\").nullable().optional(),\n device: z.string().describe(\"Device type (desktop, mobile, tablet).\").nullable().optional(),\n engine: z.string().describe(\"API engine identifier (google_images_light).\").nullable().optional(),\n google_domain: z.string().describe(\"Google domain used.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchInformationSchema = z.object({\n image_results_state: z.string().describe(\"Status of result accuracy (e.g., 'Results for exact spelling').\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema = z.object({\n next: z.string().describe(\"SerpApi link for paginating to the next page of results.\").nullable().optional(),\n current: z.number().int().describe(\"Current page index.\").nullable().optional(),\n previous: z.string().describe(\"SerpApi link to previous page (when available).\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleImagesLightOutput = z.object({\n images_results: z.array(SerpapiSearchGoogleImagesLight_ImageResultSchema).describe(\"Collection of image results with thumbnails, titles, sources, and metadata.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleImagesLight_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerpapiSearchGoogleImagesLight_SearchParametersSchema.nullable().optional(),\n search_information: SerpapiSearchGoogleImagesLight_SearchInformationSchema.nullable().optional(),\n serpapi_pagination: SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema.nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleImagesLight = action(\"SERPAPI_SEARCH_GOOGLE_IMAGES_LIGHT\", {\n slug: \"serpapi-search-google-images-light\",\n name: \"Google Images Light Search\",\n description: \"Tool to scrape Google Images results using SerpApi's Google Images Light API. Use when you need fast image search with thumbnails, titles, sources, and original image URLs from Google Images. This lightweight version provides faster response times compared to the full Google Images API.\",\n input: SerpapiSearchGoogleImagesLightInput,\n output: SerpapiSearchGoogleImagesLightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACvH,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC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DA,IAAAA,EAAE,OAAO,EACtE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,gBAAgBA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,iBAAiB,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAC/F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-google-images-light.cjs","names":["z","action"],"sources":["../../src/actions/search-google-images-light.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchGoogleImagesLightInput = z.object({\n q: z.string().describe(\"Search query for Google Images. Supports Google search operators like inurl:, site:, intitle:.\"),\n gl: z.string().describe(\"Two-letter country code to define the country for the search.\").optional(),\n hl: z.string().describe(\"Two-letter language code to define the language for the search interface.\").optional(),\n imgar: z.string().describe(\"Aspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).\").optional(),\n imgsz: z.string().describe(\"Image size filter. Options: l (large), m (medium), i (icon), etc.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Must be between 0 and 999.\").optional(),\n device: z.string().describe(\"Device type for the search. Options: desktop (default), tablet, mobile.\").optional(),\n engine: z.string().default(\"google_images_light\").describe(\"Set parameter to google_images_light to use the Google Images Light API engine.\").optional(),\n end_date: z.string().describe(\"End date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n location: z.string().describe(\"Geographic location for the search origin. Specify at city level for best results.\").optional(),\n start_date: z.string().describe(\"Start date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n image_color: z.string().describe(\"Color filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.\").optional(),\n period_unit: z.string().describe(\"Time period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.\").optional(),\n period_value: z.number().int().describe(\"Time period value to use with period_unit. Specifies how many units back to search.\").optional(),\n google_domain: z.string().describe(\"Google domain to use for the search. Defaults to google.com.\").optional(),\n});\nconst SerpapiSearchGoogleImagesLight_ImageResultSchema = z.object({\n link: z.string().describe(\"Clickable URL to source webpage.\").nullable().optional(),\n title: z.string().describe(\"Brief image description or caption.\").nullable().optional(),\n source: z.string().describe(\"Displayed website URL of image origin.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product availability status (for products only).\").nullable().optional(),\n original: z.string().describe(\"Full-resolution image URL or x-raw-image reference.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the image result on the search page.\").nullable().optional(),\n raw_link: z.string().describe(\"URL associated with Google search page.\").nullable().optional(),\n thumbnail: z.string().describe(\"Google-hosted thumbnail image URL.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether source page contains product listing.\").nullable().optional(),\n source_logo: z.string().describe(\"Website favicon or logo URL.\").nullable().optional(),\n original_width: z.number().int().describe(\"Native image width in pixels.\").nullable().optional(),\n original_height: z.number().int().describe(\"Native image height in pixels.\").nullable().optional(),\n serpapi_thumbnail: z.string().describe(\"SerpApi-hosted thumbnail URL for more reliable access.\").nullable().optional(),\n related_content_id: z.string().describe(\"Identifier for fetching related images.\").nullable().optional(),\n license_details_url: z.string().describe(\"License information URL when applicable.\").nullable().optional(),\n serpapi_related_content_link: z.string().describe(\"SerpApi endpoint for related content.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique search identifier within SerpApi.\").nullable().optional(),\n error: z.string().describe(\"Error message (present only on failure).\").nullable().optional(),\n status: z.string().describe(\"Search execution status: Processing, Success, or Error.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when search was initiated.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when search completed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve results in JSON format.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Link to raw HTML response.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds.\").nullable().optional(),\n google_images_light_url: z.string().describe(\"Direct URL to Google Images Light results page.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchParametersSchema = z.object({\n q: z.string().describe(\"Search query submitted.\").nullable().optional(),\n gl: z.string().describe(\"Country/region code.\").nullable().optional(),\n hl: z.string().describe(\"Language code.\").nullable().optional(),\n device: z.string().describe(\"Device type (desktop, mobile, tablet).\").nullable().optional(),\n engine: z.string().describe(\"API engine identifier (google_images_light).\").nullable().optional(),\n google_domain: z.string().describe(\"Google domain used.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchInformationSchema = z.object({\n image_results_state: z.string().describe(\"Status of result accuracy (e.g., 'Results for exact spelling').\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema = z.object({\n next: z.string().describe(\"SerpApi link for paginating to the next page of results.\").nullable().optional(),\n current: z.number().int().describe(\"Current page index.\").nullable().optional(),\n previous: z.string().describe(\"SerpApi link to previous page (when available).\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleImagesLightOutput = z.object({\n images_results: z.array(SerpapiSearchGoogleImagesLight_ImageResultSchema).describe(\"Collection of image results with thumbnails, titles, sources, and metadata.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleImagesLight_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerpapiSearchGoogleImagesLight_SearchParametersSchema.nullable().optional(),\n search_information: SerpapiSearchGoogleImagesLight_SearchInformationSchema.nullable().optional(),\n serpapi_pagination: SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema.nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleImagesLight: AppAction<\n typeof SerpapiSearchGoogleImagesLightInput,\n typeof SerpapiSearchGoogleImagesLightOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_GOOGLE_IMAGES_LIGHT\", {\n slug: \"serpapi-search-google-images-light\",\n name: \"Google Images Light Search\",\n description: \"Tool to scrape Google Images results using SerpApi's Google Images Light API. Use when you need fast image search with thumbnails, titles, sources, and original image URLs from Google Images. This lightweight version provides faster response times compared to the full Google Images API.\",\n input: SerpapiSearchGoogleImagesLightInput,\n output: SerpapiSearchGoogleImagesLightOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACvH,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,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S,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,iBAAiB,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAC/F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serpapi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-google-images-light.d.ts
|
|
@@ -65,35 +67,7 @@ declare const SerpapiSearchGoogleImagesLightOutput: z.ZodObject<{
|
|
|
65
67
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
68
|
}, z.core.$loose>>>;
|
|
67
69
|
}, z.core.$loose>;
|
|
68
|
-
declare const serpapiSearchGoogleImagesLight:
|
|
69
|
-
q: string;
|
|
70
|
-
gl?: string | undefined;
|
|
71
|
-
hl?: string | undefined;
|
|
72
|
-
imgar?: string | undefined;
|
|
73
|
-
imgsz?: string | undefined;
|
|
74
|
-
start?: number | undefined;
|
|
75
|
-
device?: string | undefined;
|
|
76
|
-
engine?: string | undefined;
|
|
77
|
-
end_date?: string | undefined;
|
|
78
|
-
location?: string | undefined;
|
|
79
|
-
start_date?: string | undefined;
|
|
80
|
-
image_color?: string | undefined;
|
|
81
|
-
period_unit?: string | undefined;
|
|
82
|
-
period_value?: number | undefined;
|
|
83
|
-
google_domain?: string | undefined;
|
|
84
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
85
|
-
connectionId: z.ZodString;
|
|
86
|
-
entityId: z.ZodString;
|
|
87
|
-
instanceId: z.ZodString;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
-
generic_api_key: z.ZodString;
|
|
90
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
91
|
-
connectionId: z.ZodString;
|
|
92
|
-
entityId: z.ZodString;
|
|
93
|
-
instanceId: z.ZodString;
|
|
94
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
generic_api_key: z.ZodString;
|
|
96
|
-
}, z.core.$strip>>]>;
|
|
70
|
+
declare const serpapiSearchGoogleImagesLight: AppAction<typeof SerpapiSearchGoogleImagesLightInput, typeof SerpapiSearchGoogleImagesLightOutput, typeof serpapi.credential>;
|
|
97
71
|
//#endregion
|
|
98
72
|
export { serpapiSearchGoogleImagesLight };
|
|
99
73
|
//# sourceMappingURL=search-google-images-light.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-images-light.d.cts","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-images-light.d.cts","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA8DnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serpapi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-google-images-light.d.ts
|
|
@@ -65,35 +67,7 @@ declare const SerpapiSearchGoogleImagesLightOutput: z.ZodObject<{
|
|
|
65
67
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
68
|
}, z.core.$loose>>>;
|
|
67
69
|
}, z.core.$loose>;
|
|
68
|
-
declare const serpapiSearchGoogleImagesLight:
|
|
69
|
-
q: string;
|
|
70
|
-
gl?: string | undefined;
|
|
71
|
-
hl?: string | undefined;
|
|
72
|
-
imgar?: string | undefined;
|
|
73
|
-
imgsz?: string | undefined;
|
|
74
|
-
start?: number | undefined;
|
|
75
|
-
device?: string | undefined;
|
|
76
|
-
engine?: string | undefined;
|
|
77
|
-
end_date?: string | undefined;
|
|
78
|
-
location?: string | undefined;
|
|
79
|
-
start_date?: string | undefined;
|
|
80
|
-
image_color?: string | undefined;
|
|
81
|
-
period_unit?: string | undefined;
|
|
82
|
-
period_value?: number | undefined;
|
|
83
|
-
google_domain?: string | undefined;
|
|
84
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
85
|
-
connectionId: z.ZodString;
|
|
86
|
-
entityId: z.ZodString;
|
|
87
|
-
instanceId: z.ZodString;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
-
generic_api_key: z.ZodString;
|
|
90
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
91
|
-
connectionId: z.ZodString;
|
|
92
|
-
entityId: z.ZodString;
|
|
93
|
-
instanceId: z.ZodString;
|
|
94
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
generic_api_key: z.ZodString;
|
|
96
|
-
}, z.core.$strip>>]>;
|
|
70
|
+
declare const serpapiSearchGoogleImagesLight: AppAction<typeof SerpapiSearchGoogleImagesLightInput, typeof SerpapiSearchGoogleImagesLightOutput, typeof serpapi.credential>;
|
|
97
71
|
//#endregion
|
|
98
72
|
export { serpapiSearchGoogleImagesLight };
|
|
99
73
|
//# sourceMappingURL=search-google-images-light.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-images-light.d.mts","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-images-light.d.mts","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA8DnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-images-light.mjs","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchGoogleImagesLightInput = z.object({\n q: z.string().describe(\"Search query for Google Images. Supports Google search operators like inurl:, site:, intitle:.\"),\n gl: z.string().describe(\"Two-letter country code to define the country for the search.\").optional(),\n hl: z.string().describe(\"Two-letter language code to define the language for the search interface.\").optional(),\n imgar: z.string().describe(\"Aspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).\").optional(),\n imgsz: z.string().describe(\"Image size filter. Options: l (large), m (medium), i (icon), etc.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Must be between 0 and 999.\").optional(),\n device: z.string().describe(\"Device type for the search. Options: desktop (default), tablet, mobile.\").optional(),\n engine: z.string().default(\"google_images_light\").describe(\"Set parameter to google_images_light to use the Google Images Light API engine.\").optional(),\n end_date: z.string().describe(\"End date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n location: z.string().describe(\"Geographic location for the search origin. Specify at city level for best results.\").optional(),\n start_date: z.string().describe(\"Start date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n image_color: z.string().describe(\"Color filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.\").optional(),\n period_unit: z.string().describe(\"Time period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.\").optional(),\n period_value: z.number().int().describe(\"Time period value to use with period_unit. Specifies how many units back to search.\").optional(),\n google_domain: z.string().describe(\"Google domain to use for the search. Defaults to google.com.\").optional(),\n});\nconst SerpapiSearchGoogleImagesLight_ImageResultSchema = z.object({\n link: z.string().describe(\"Clickable URL to source webpage.\").nullable().optional(),\n title: z.string().describe(\"Brief image description or caption.\").nullable().optional(),\n source: z.string().describe(\"Displayed website URL of image origin.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product availability status (for products only).\").nullable().optional(),\n original: z.string().describe(\"Full-resolution image URL or x-raw-image reference.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the image result on the search page.\").nullable().optional(),\n raw_link: z.string().describe(\"URL associated with Google search page.\").nullable().optional(),\n thumbnail: z.string().describe(\"Google-hosted thumbnail image URL.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether source page contains product listing.\").nullable().optional(),\n source_logo: z.string().describe(\"Website favicon or logo URL.\").nullable().optional(),\n original_width: z.number().int().describe(\"Native image width in pixels.\").nullable().optional(),\n original_height: z.number().int().describe(\"Native image height in pixels.\").nullable().optional(),\n serpapi_thumbnail: z.string().describe(\"SerpApi-hosted thumbnail URL for more reliable access.\").nullable().optional(),\n related_content_id: z.string().describe(\"Identifier for fetching related images.\").nullable().optional(),\n license_details_url: z.string().describe(\"License information URL when applicable.\").nullable().optional(),\n serpapi_related_content_link: z.string().describe(\"SerpApi endpoint for related content.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique search identifier within SerpApi.\").nullable().optional(),\n error: z.string().describe(\"Error message (present only on failure).\").nullable().optional(),\n status: z.string().describe(\"Search execution status: Processing, Success, or Error.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when search was initiated.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when search completed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve results in JSON format.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Link to raw HTML response.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds.\").nullable().optional(),\n google_images_light_url: z.string().describe(\"Direct URL to Google Images Light results page.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchParametersSchema = z.object({\n q: z.string().describe(\"Search query submitted.\").nullable().optional(),\n gl: z.string().describe(\"Country/region code.\").nullable().optional(),\n hl: z.string().describe(\"Language code.\").nullable().optional(),\n device: z.string().describe(\"Device type (desktop, mobile, tablet).\").nullable().optional(),\n engine: z.string().describe(\"API engine identifier (google_images_light).\").nullable().optional(),\n google_domain: z.string().describe(\"Google domain used.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchInformationSchema = z.object({\n image_results_state: z.string().describe(\"Status of result accuracy (e.g., 'Results for exact spelling').\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema = z.object({\n next: z.string().describe(\"SerpApi link for paginating to the next page of results.\").nullable().optional(),\n current: z.number().int().describe(\"Current page index.\").nullable().optional(),\n previous: z.string().describe(\"SerpApi link to previous page (when available).\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleImagesLightOutput = z.object({\n images_results: z.array(SerpapiSearchGoogleImagesLight_ImageResultSchema).describe(\"Collection of image results with thumbnails, titles, sources, and metadata.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleImagesLight_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerpapiSearchGoogleImagesLight_SearchParametersSchema.nullable().optional(),\n search_information: SerpapiSearchGoogleImagesLight_SearchInformationSchema.nullable().optional(),\n serpapi_pagination: SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema.nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleImagesLight = action(\"SERPAPI_SEARCH_GOOGLE_IMAGES_LIGHT\", {\n slug: \"serpapi-search-google-images-light\",\n name: \"Google Images Light Search\",\n description: \"Tool to scrape Google Images results using SerpApi's Google Images Light API. Use when you need fast image search with thumbnails, titles, sources, and original image URLs from Google Images. This lightweight version provides faster response times compared to the full Google Images API.\",\n input: SerpapiSearchGoogleImagesLightInput,\n output: SerpapiSearchGoogleImagesLightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACvH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAA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,YAAY;AASf,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO;EAC3D,gBAAgB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,iBAAiB,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACzF,mBAAmB,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAC7F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-google-images-light.mjs","names":[],"sources":["../../src/actions/search-google-images-light.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchGoogleImagesLightInput = z.object({\n q: z.string().describe(\"Search query for Google Images. Supports Google search operators like inurl:, site:, intitle:.\"),\n gl: z.string().describe(\"Two-letter country code to define the country for the search.\").optional(),\n hl: z.string().describe(\"Two-letter language code to define the language for the search interface.\").optional(),\n imgar: z.string().describe(\"Aspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).\").optional(),\n imgsz: z.string().describe(\"Image size filter. Options: l (large), m (medium), i (icon), etc.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Must be between 0 and 999.\").optional(),\n device: z.string().describe(\"Device type for the search. Options: desktop (default), tablet, mobile.\").optional(),\n engine: z.string().default(\"google_images_light\").describe(\"Set parameter to google_images_light to use the Google Images Light API engine.\").optional(),\n end_date: z.string().describe(\"End date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n location: z.string().describe(\"Geographic location for the search origin. Specify at city level for best results.\").optional(),\n start_date: z.string().describe(\"Start date for filtering images by upload date. Format: YYYYMMDD.\").optional(),\n image_color: z.string().describe(\"Color filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.\").optional(),\n period_unit: z.string().describe(\"Time period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.\").optional(),\n period_value: z.number().int().describe(\"Time period value to use with period_unit. Specifies how many units back to search.\").optional(),\n google_domain: z.string().describe(\"Google domain to use for the search. Defaults to google.com.\").optional(),\n});\nconst SerpapiSearchGoogleImagesLight_ImageResultSchema = z.object({\n link: z.string().describe(\"Clickable URL to source webpage.\").nullable().optional(),\n title: z.string().describe(\"Brief image description or caption.\").nullable().optional(),\n source: z.string().describe(\"Displayed website URL of image origin.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product availability status (for products only).\").nullable().optional(),\n original: z.string().describe(\"Full-resolution image URL or x-raw-image reference.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the image result on the search page.\").nullable().optional(),\n raw_link: z.string().describe(\"URL associated with Google search page.\").nullable().optional(),\n thumbnail: z.string().describe(\"Google-hosted thumbnail image URL.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether source page contains product listing.\").nullable().optional(),\n source_logo: z.string().describe(\"Website favicon or logo URL.\").nullable().optional(),\n original_width: z.number().int().describe(\"Native image width in pixels.\").nullable().optional(),\n original_height: z.number().int().describe(\"Native image height in pixels.\").nullable().optional(),\n serpapi_thumbnail: z.string().describe(\"SerpApi-hosted thumbnail URL for more reliable access.\").nullable().optional(),\n related_content_id: z.string().describe(\"Identifier for fetching related images.\").nullable().optional(),\n license_details_url: z.string().describe(\"License information URL when applicable.\").nullable().optional(),\n serpapi_related_content_link: z.string().describe(\"SerpApi endpoint for related content.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique search identifier within SerpApi.\").nullable().optional(),\n error: z.string().describe(\"Error message (present only on failure).\").nullable().optional(),\n status: z.string().describe(\"Search execution status: Processing, Success, or Error.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when search was initiated.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when search completed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve results in JSON format.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Link to raw HTML response.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds.\").nullable().optional(),\n google_images_light_url: z.string().describe(\"Direct URL to Google Images Light results page.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchParametersSchema = z.object({\n q: z.string().describe(\"Search query submitted.\").nullable().optional(),\n gl: z.string().describe(\"Country/region code.\").nullable().optional(),\n hl: z.string().describe(\"Language code.\").nullable().optional(),\n device: z.string().describe(\"Device type (desktop, mobile, tablet).\").nullable().optional(),\n engine: z.string().describe(\"API engine identifier (google_images_light).\").nullable().optional(),\n google_domain: z.string().describe(\"Google domain used.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SearchInformationSchema = z.object({\n image_results_state: z.string().describe(\"Status of result accuracy (e.g., 'Results for exact spelling').\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema = z.object({\n next: z.string().describe(\"SerpApi link for paginating to the next page of results.\").nullable().optional(),\n current: z.number().int().describe(\"Current page index.\").nullable().optional(),\n previous: z.string().describe(\"SerpApi link to previous page (when available).\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleImagesLightOutput = z.object({\n images_results: z.array(SerpapiSearchGoogleImagesLight_ImageResultSchema).describe(\"Collection of image results with thumbnails, titles, sources, and metadata.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleImagesLight_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerpapiSearchGoogleImagesLight_SearchParametersSchema.nullable().optional(),\n search_information: SerpapiSearchGoogleImagesLight_SearchInformationSchema.nullable().optional(),\n serpapi_pagination: SerpapiSearchGoogleImagesLight_SerpApiPaginationSchema.nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleImagesLight: AppAction<\n typeof SerpapiSearchGoogleImagesLightInput,\n typeof SerpapiSearchGoogleImagesLightOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_GOOGLE_IMAGES_LIGHT\", {\n slug: \"serpapi-search-google-images-light\",\n name: \"Google Images Light Search\",\n description: \"Tool to scrape Google Images results using SerpApi's Google Images Light API. Use when you need fast image search with thumbnails, titles, sources, and original image URLs from Google Images. This lightweight version provides faster response times compared to the full Google Images API.\",\n input: SerpapiSearchGoogleImagesLightInput,\n output: SerpapiSearchGoogleImagesLightOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CACvH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,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E,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBkD,EAAE,OAAO;EAC3D,gBAAgB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,iBAAiB,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACzF,mBAAmB,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAC7F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-local-services.cjs","names":["z","action"],"sources":["../../src/actions/search-google-local-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchGoogleLocalServicesInput = z.object({\n q: z.string().describe(\"Parameter defines the service you want to search for (e.g., 'electrician', 'plumber', 'hvac repair').\"),\n hl: z.string().describe(\"Parameter defines the language to use for the search. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n bid: z.string().describe(\"Unique business identifier. Used together with cid and pid parameters to identify a specific business.\").optional(),\n cid: z.string().describe(\"Unique business place ID from API response. Used to get details for a specific business.\").optional(),\n pid: z.string().describe(\"Unique place identifier. Used together with cid and bid parameters to identify a specific business.\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi. Set to true to submit the search asynchronously.\").optional(),\n output: z.string().describe(\"Parameter defines the final output format. Can be set to 'json' (default) to get structured JSON results, or 'html' to get raw HTML.\").optional(),\n data_cid: z.string().describe(\"Google customer identifier for location. This is a unique identifier that specifies the geographic area for the search.\"),\n job_type: z.string().describe(\"Parameter defines the service subcategory or specific job type within the main service category (e.g., 'restore_power' for electrician searches).\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Local Services results even if a cached version is already present. Set to true to get fresh results.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode to skip storing search metadata. Set to true to enable.\").optional(),\n json_restrictor: z.string().describe(\"Parameter restricts the output fields to reduce response size. Specify field paths to include in the response.\").optional(),\n});\nconst SerpapiSearchGoogleLocalServices_LocalAdSchema = z.object({\n bid: z.string().describe(\"Business identifier.\").nullable().optional(),\n cid: z.string().describe(\"Business customer identifier.\").nullable().optional(),\n pid: z.string().describe(\"Place identifier.\").nullable().optional(),\n link: z.string().describe(\"Link to the business details.\").nullable().optional(),\n type: z.string().describe(\"Type of service provider.\").nullable().optional(),\n badge: z.string().describe(\"Badge status (e.g., 'GOOGLE GUARANTEED').\").nullable().optional(),\n hours: z.record(z.string(), z.unknown()).describe(\"Operating hours by day. Contains 'currently' (str) and 'week' (list of day dictionaries).\").nullable().optional(),\n phone: z.string().describe(\"Business phone number.\").nullable().optional(),\n title: z.string().describe(\"Business name or title.\").nullable().optional(),\n rating: z.number().describe(\"Average rating of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail image URL.\").nullable().optional(),\n serpapi_link: z.string().describe(\"Direct SerpAPI search URL.\").nullable().optional(),\n service_area: z.string().describe(\"Geographic service area.\").nullable().optional(),\n bookings_nearby: z.number().int().describe(\"Number of nearby bookings.\").nullable().optional(),\n years_in_business: z.number().int().describe(\"Number of years in business.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleLocalServices_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Search identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing, Success, or Error).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of search creation.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to JSON results.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Execution duration in seconds.\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleLocalServicesOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n local_ads: z.array(SerpapiSearchGoogleLocalServices_LocalAdSchema).describe(\"List of local service providers found in the search. Each entry contains details like title, link, rating, reviews, phone, badge (e.g., 'GOOGLE GUARANTEED'), service area, years in business, and more.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleLocalServices_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search including engine, query, data_cid, and other request parameters.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleLocalServices = action(\"SERPAPI_SEARCH_GOOGLE_LOCAL_SERVICES\", {\n slug: \"serpapi-search-google-local-services\",\n name: \"Search Google Local Services\",\n description: \"Search Google Local Services for service providers like electricians, plumbers, HVAC technicians, and more. Use when you need to find local service professionals with Google's guaranteed badge and verified business information.\",\n input: SerpapiSearchGoogleLocalServicesInput,\n output: SerpapiSearchGoogleLocalServicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-local-services.cjs","names":["z","action"],"sources":["../../src/actions/search-google-local-services.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchGoogleLocalServicesInput = z.object({\n q: z.string().describe(\"Parameter defines the service you want to search for (e.g., 'electrician', 'plumber', 'hvac repair').\"),\n hl: z.string().describe(\"Parameter defines the language to use for the search. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n bid: z.string().describe(\"Unique business identifier. Used together with cid and pid parameters to identify a specific business.\").optional(),\n cid: z.string().describe(\"Unique business place ID from API response. Used to get details for a specific business.\").optional(),\n pid: z.string().describe(\"Unique place identifier. Used together with cid and bid parameters to identify a specific business.\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi. Set to true to submit the search asynchronously.\").optional(),\n output: z.string().describe(\"Parameter defines the final output format. Can be set to 'json' (default) to get structured JSON results, or 'html' to get raw HTML.\").optional(),\n data_cid: z.string().describe(\"Google customer identifier for location. This is a unique identifier that specifies the geographic area for the search.\"),\n job_type: z.string().describe(\"Parameter defines the service subcategory or specific job type within the main service category (e.g., 'restore_power' for electrician searches).\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Local Services results even if a cached version is already present. Set to true to get fresh results.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode to skip storing search metadata. Set to true to enable.\").optional(),\n json_restrictor: z.string().describe(\"Parameter restricts the output fields to reduce response size. Specify field paths to include in the response.\").optional(),\n});\nconst SerpapiSearchGoogleLocalServices_LocalAdSchema = z.object({\n bid: z.string().describe(\"Business identifier.\").nullable().optional(),\n cid: z.string().describe(\"Business customer identifier.\").nullable().optional(),\n pid: z.string().describe(\"Place identifier.\").nullable().optional(),\n link: z.string().describe(\"Link to the business details.\").nullable().optional(),\n type: z.string().describe(\"Type of service provider.\").nullable().optional(),\n badge: z.string().describe(\"Badge status (e.g., 'GOOGLE GUARANTEED').\").nullable().optional(),\n hours: z.record(z.string(), z.unknown()).describe(\"Operating hours by day. Contains 'currently' (str) and 'week' (list of day dictionaries).\").nullable().optional(),\n phone: z.string().describe(\"Business phone number.\").nullable().optional(),\n title: z.string().describe(\"Business name or title.\").nullable().optional(),\n rating: z.number().describe(\"Average rating of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail image URL.\").nullable().optional(),\n serpapi_link: z.string().describe(\"Direct SerpAPI search URL.\").nullable().optional(),\n service_area: z.string().describe(\"Geographic service area.\").nullable().optional(),\n bookings_nearby: z.number().int().describe(\"Number of nearby bookings.\").nullable().optional(),\n years_in_business: z.number().int().describe(\"Number of years in business.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleLocalServices_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Search identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing, Success, or Error).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of search creation.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to JSON results.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Execution duration in seconds.\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleLocalServicesOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n local_ads: z.array(SerpapiSearchGoogleLocalServices_LocalAdSchema).describe(\"List of local service providers found in the search. Each entry contains details like title, link, rating, reviews, phone, badge (e.g., 'GOOGLE GUARANTEED'), service area, years in business, and more.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleLocalServices_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search including engine, query, data_cid, and other request parameters.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleLocalServices: AppAction<\n typeof SerpapiSearchGoogleLocalServicesInput,\n typeof SerpapiSearchGoogleLocalServicesOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_GOOGLE_LOCAL_SERVICES\", {\n slug: \"serpapi-search-google-local-services\",\n name: \"Search Google Local Services\",\n description: \"Search Google Local Services for service providers like electricians, plumbers, HVAC technicians, and more. Use when you need to find local service professionals with Google's guaranteed badge and verified business information.\",\n input: SerpapiSearchGoogleLocalServicesInput,\n output: SerpapiSearchGoogleLocalServicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC9H,IAAIA,IAAAA,EAAE,OAAO,CAAC,CA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|
+
import { serpapi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-google-local-services.d.ts
|
|
@@ -44,32 +46,7 @@ declare const SerpapiSearchGoogleLocalServicesOutput: z.ZodObject<{
|
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const serpapiSearchGoogleLocalServices:
|
|
48
|
-
q: string;
|
|
49
|
-
data_cid: string;
|
|
50
|
-
hl?: string | undefined;
|
|
51
|
-
bid?: string | undefined;
|
|
52
|
-
cid?: string | undefined;
|
|
53
|
-
pid?: string | undefined;
|
|
54
|
-
async?: boolean | undefined;
|
|
55
|
-
output?: string | undefined;
|
|
56
|
-
job_type?: string | undefined;
|
|
57
|
-
no_cache?: boolean | undefined;
|
|
58
|
-
zero_trace?: boolean | undefined;
|
|
59
|
-
json_restrictor?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
generic_api_key: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const serpapiSearchGoogleLocalServices: AppAction<typeof SerpapiSearchGoogleLocalServicesInput, typeof SerpapiSearchGoogleLocalServicesOutput, typeof serpapi.credential>;
|
|
73
50
|
//#endregion
|
|
74
51
|
export { serpapiSearchGoogleLocalServices };
|
|
75
52
|
//# sourceMappingURL=search-google-local-services.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-local-services.d.cts","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-local-services.d.cts","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAuCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serpapi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-google-local-services.d.ts
|
|
@@ -44,32 +46,7 @@ declare const SerpapiSearchGoogleLocalServicesOutput: z.ZodObject<{
|
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const serpapiSearchGoogleLocalServices:
|
|
48
|
-
q: string;
|
|
49
|
-
data_cid: string;
|
|
50
|
-
hl?: string | undefined;
|
|
51
|
-
bid?: string | undefined;
|
|
52
|
-
cid?: string | undefined;
|
|
53
|
-
pid?: string | undefined;
|
|
54
|
-
async?: boolean | undefined;
|
|
55
|
-
output?: string | undefined;
|
|
56
|
-
job_type?: string | undefined;
|
|
57
|
-
no_cache?: boolean | undefined;
|
|
58
|
-
zero_trace?: boolean | undefined;
|
|
59
|
-
json_restrictor?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
generic_api_key: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const serpapiSearchGoogleLocalServices: AppAction<typeof SerpapiSearchGoogleLocalServicesInput, typeof SerpapiSearchGoogleLocalServicesOutput, typeof serpapi.credential>;
|
|
73
50
|
//#endregion
|
|
74
51
|
export { serpapiSearchGoogleLocalServices };
|
|
75
52
|
//# sourceMappingURL=search-google-local-services.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-local-services.d.mts","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-local-services.d.mts","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAuCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-google-local-services.mjs","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchGoogleLocalServicesInput = z.object({\n q: z.string().describe(\"Parameter defines the service you want to search for (e.g., 'electrician', 'plumber', 'hvac repair').\"),\n hl: z.string().describe(\"Parameter defines the language to use for the search. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n bid: z.string().describe(\"Unique business identifier. Used together with cid and pid parameters to identify a specific business.\").optional(),\n cid: z.string().describe(\"Unique business place ID from API response. Used to get details for a specific business.\").optional(),\n pid: z.string().describe(\"Unique place identifier. Used together with cid and bid parameters to identify a specific business.\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi. Set to true to submit the search asynchronously.\").optional(),\n output: z.string().describe(\"Parameter defines the final output format. Can be set to 'json' (default) to get structured JSON results, or 'html' to get raw HTML.\").optional(),\n data_cid: z.string().describe(\"Google customer identifier for location. This is a unique identifier that specifies the geographic area for the search.\"),\n job_type: z.string().describe(\"Parameter defines the service subcategory or specific job type within the main service category (e.g., 'restore_power' for electrician searches).\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Local Services results even if a cached version is already present. Set to true to get fresh results.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode to skip storing search metadata. Set to true to enable.\").optional(),\n json_restrictor: z.string().describe(\"Parameter restricts the output fields to reduce response size. Specify field paths to include in the response.\").optional(),\n});\nconst SerpapiSearchGoogleLocalServices_LocalAdSchema = z.object({\n bid: z.string().describe(\"Business identifier.\").nullable().optional(),\n cid: z.string().describe(\"Business customer identifier.\").nullable().optional(),\n pid: z.string().describe(\"Place identifier.\").nullable().optional(),\n link: z.string().describe(\"Link to the business details.\").nullable().optional(),\n type: z.string().describe(\"Type of service provider.\").nullable().optional(),\n badge: z.string().describe(\"Badge status (e.g., 'GOOGLE GUARANTEED').\").nullable().optional(),\n hours: z.record(z.string(), z.unknown()).describe(\"Operating hours by day. Contains 'currently' (str) and 'week' (list of day dictionaries).\").nullable().optional(),\n phone: z.string().describe(\"Business phone number.\").nullable().optional(),\n title: z.string().describe(\"Business name or title.\").nullable().optional(),\n rating: z.number().describe(\"Average rating of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail image URL.\").nullable().optional(),\n serpapi_link: z.string().describe(\"Direct SerpAPI search URL.\").nullable().optional(),\n service_area: z.string().describe(\"Geographic service area.\").nullable().optional(),\n bookings_nearby: z.number().int().describe(\"Number of nearby bookings.\").nullable().optional(),\n years_in_business: z.number().int().describe(\"Number of years in business.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleLocalServices_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Search identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing, Success, or Error).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of search creation.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to JSON results.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Execution duration in seconds.\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleLocalServicesOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n local_ads: z.array(SerpapiSearchGoogleLocalServices_LocalAdSchema).describe(\"List of local service providers found in the search. Each entry contains details like title, link, rating, reviews, phone, badge (e.g., 'GOOGLE GUARANTEED'), service area, years in business, and more.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleLocalServices_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search including engine, query, data_cid, and other request parameters.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleLocalServices = action(\"SERPAPI_SEARCH_GOOGLE_LOCAL_SERVICES\", {\n slug: \"serpapi-search-google-local-services\",\n name: \"Search Google Local Services\",\n description: \"Search Google Local Services for service providers like electricians, plumbers, HVAC technicians, and more. Use when you need to find local service professionals with Google's guaranteed badge and verified business information.\",\n input: SerpapiSearchGoogleLocalServicesInput,\n output: SerpapiSearchGoogleLocalServicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-google-local-services.mjs","names":[],"sources":["../../src/actions/search-google-local-services.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchGoogleLocalServicesInput = z.object({\n q: z.string().describe(\"Parameter defines the service you want to search for (e.g., 'electrician', 'plumber', 'hvac repair').\"),\n hl: z.string().describe(\"Parameter defines the language to use for the search. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n bid: z.string().describe(\"Unique business identifier. Used together with cid and pid parameters to identify a specific business.\").optional(),\n cid: z.string().describe(\"Unique business place ID from API response. Used to get details for a specific business.\").optional(),\n pid: z.string().describe(\"Unique place identifier. Used together with cid and bid parameters to identify a specific business.\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi. Set to true to submit the search asynchronously.\").optional(),\n output: z.string().describe(\"Parameter defines the final output format. Can be set to 'json' (default) to get structured JSON results, or 'html' to get raw HTML.\").optional(),\n data_cid: z.string().describe(\"Google customer identifier for location. This is a unique identifier that specifies the geographic area for the search.\"),\n job_type: z.string().describe(\"Parameter defines the service subcategory or specific job type within the main service category (e.g., 'restore_power' for electrician searches).\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Local Services results even if a cached version is already present. Set to true to get fresh results.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode to skip storing search metadata. Set to true to enable.\").optional(),\n json_restrictor: z.string().describe(\"Parameter restricts the output fields to reduce response size. Specify field paths to include in the response.\").optional(),\n});\nconst SerpapiSearchGoogleLocalServices_LocalAdSchema = z.object({\n bid: z.string().describe(\"Business identifier.\").nullable().optional(),\n cid: z.string().describe(\"Business customer identifier.\").nullable().optional(),\n pid: z.string().describe(\"Place identifier.\").nullable().optional(),\n link: z.string().describe(\"Link to the business details.\").nullable().optional(),\n type: z.string().describe(\"Type of service provider.\").nullable().optional(),\n badge: z.string().describe(\"Badge status (e.g., 'GOOGLE GUARANTEED').\").nullable().optional(),\n hours: z.record(z.string(), z.unknown()).describe(\"Operating hours by day. Contains 'currently' (str) and 'week' (list of day dictionaries).\").nullable().optional(),\n phone: z.string().describe(\"Business phone number.\").nullable().optional(),\n title: z.string().describe(\"Business name or title.\").nullable().optional(),\n rating: z.number().describe(\"Average rating of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail image URL.\").nullable().optional(),\n serpapi_link: z.string().describe(\"Direct SerpAPI search URL.\").nullable().optional(),\n service_area: z.string().describe(\"Geographic service area.\").nullable().optional(),\n bookings_nearby: z.number().int().describe(\"Number of nearby bookings.\").nullable().optional(),\n years_in_business: z.number().int().describe(\"Number of years in business.\").nullable().optional(),\n}).passthrough();\nconst SerpapiSearchGoogleLocalServices_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Search identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing, Success, or Error).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of search creation.\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to JSON results.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Execution duration in seconds.\").nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchGoogleLocalServicesOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n local_ads: z.array(SerpapiSearchGoogleLocalServices_LocalAdSchema).describe(\"List of local service providers found in the search. Each entry contains details like title, link, rating, reviews, phone, badge (e.g., 'GOOGLE GUARANTEED'), service area, years in business, and more.\").nullable().optional(),\n search_metadata: SerpapiSearchGoogleLocalServices_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search including engine, query, data_cid, and other request parameters.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchGoogleLocalServices: AppAction<\n typeof SerpapiSearchGoogleLocalServicesInput,\n typeof SerpapiSearchGoogleLocalServicesOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_GOOGLE_LOCAL_SERVICES\", {\n slug: \"serpapi-search-google-local-services\",\n name: \"Search Google Local Services\",\n description: \"Search Google Local Services for service providers like electricians, plumbers, HVAC technicians, and more. Use when you need to find local service professionals with Google's guaranteed badge and verified business information.\",\n input: SerpapiSearchGoogleLocalServicesInput,\n output: SerpapiSearchGoogleLocalServicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC9H,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CACvL,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC5I,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9H,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC5L,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAClM,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,S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AC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-yelp.cjs","names":["z","action"],"sources":["../../src/actions/search-yelp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchYelpInput = z.object({\n attrs: z.string().describe(\"Attribute filters to refine search (e.g., 'HotAndNew' for new businesses, 'Deals' for businesses with offers). Can be comma-separated for multiple filters.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.\").optional(),\n sortby: z.enum([\"recommended\", \"rating\", \"review_count\"]).describe(\"Sort order for results. 'recommended' shows Yelp's recommended matches, 'rating' shows highest-rated first, 'review_count' shows most-reviewed first.\").optional(),\n find_loc: z.string().describe(\"Location to search in (e.g., 'San Francisco, CA', 'New York, NY', '10001'). Can be a city, state, address, or ZIP code.\"),\n no_cache: z.boolean().describe(\"Set to true to force fresh results from Yelp, bypassing SerpApi's cache. Useful when you need real-time data.\").optional(),\n find_desc: z.string().describe(\"Search query describing what to find (e.g., 'pizza', 'coffee shop', 'italian restaurant'). This is the business type or service you're looking for.\"),\n yelp_domain: z.string().describe(\"Yelp domain to search on (e.g., 'yelp.com' for US, 'yelp.ca' for Canada, 'yelp.co.uk' for UK). Defaults to yelp.com if not specified.\").optional(),\n});\nconst SerpapiSearchYelp_YelpBusinessSchema = z.object({\n link: z.string().describe(\"URL to the Yelp page for this business.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the business.\").nullable().optional(),\n price: z.string().describe(\"Price range indicator (e.g., '$', '$$', '$$$', '$$$$').\").nullable().optional(),\n title: z.string().describe(\"Name of the business.\").nullable().optional(),\n rating: z.number().describe(\"Average rating (typically 1.0 to 5.0).\").nullable().optional(),\n address: z.string().describe(\"Full street address of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n snippet: z.string().describe(\"Brief description or highlight from reviews.\").nullable().optional(),\n position: z.number().int().describe(\"Position of this result in the search results (1-indexed).\").nullable().optional(),\n place_ids: z.array(z.string()).describe(\"Yelp place IDs associated with this business.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL to the business thumbnail image.\").nullable().optional(),\n categories: z.union([z.array(z.string()), z.array(z.record(z.string(), z.unknown()))]).nullable().optional(),\n neighborhoods: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchYelpOutput = z.object({\n organic_results: z.array(SerpapiSearchYelp_YelpBusinessSchema).describe(\"List of businesses matching the search criteria, with ratings, reviews, contact info, and other details.\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search request, including request ID, status, and processing time.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Echo of the search parameters used in this request.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchYelp = action(\"SERPAPI_SEARCH_YELP\", {\n slug: \"serpapi-search-yelp\",\n name: \"Search Yelp businesses\",\n description: \"Tool to search Yelp for businesses and places using SerpApi. Returns business listings with ratings, reviews, hours, contact information, and location details. Use when you need to find local businesses, restaurants, services, or read customer reviews.\",\n input: SerpapiSearchYelpInput,\n output: SerpapiSearchYelpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-yelp.cjs","names":["z","action"],"sources":["../../src/actions/search-yelp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchYelpInput = z.object({\n attrs: z.string().describe(\"Attribute filters to refine search (e.g., 'HotAndNew' for new businesses, 'Deals' for businesses with offers). Can be comma-separated for multiple filters.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.\").optional(),\n sortby: z.enum([\"recommended\", \"rating\", \"review_count\"]).describe(\"Sort order for results. 'recommended' shows Yelp's recommended matches, 'rating' shows highest-rated first, 'review_count' shows most-reviewed first.\").optional(),\n find_loc: z.string().describe(\"Location to search in (e.g., 'San Francisco, CA', 'New York, NY', '10001'). Can be a city, state, address, or ZIP code.\"),\n no_cache: z.boolean().describe(\"Set to true to force fresh results from Yelp, bypassing SerpApi's cache. Useful when you need real-time data.\").optional(),\n find_desc: z.string().describe(\"Search query describing what to find (e.g., 'pizza', 'coffee shop', 'italian restaurant'). This is the business type or service you're looking for.\"),\n yelp_domain: z.string().describe(\"Yelp domain to search on (e.g., 'yelp.com' for US, 'yelp.ca' for Canada, 'yelp.co.uk' for UK). Defaults to yelp.com if not specified.\").optional(),\n});\nconst SerpapiSearchYelp_YelpBusinessSchema = z.object({\n link: z.string().describe(\"URL to the Yelp page for this business.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the business.\").nullable().optional(),\n price: z.string().describe(\"Price range indicator (e.g., '$', '$$', '$$$', '$$$$').\").nullable().optional(),\n title: z.string().describe(\"Name of the business.\").nullable().optional(),\n rating: z.number().describe(\"Average rating (typically 1.0 to 5.0).\").nullable().optional(),\n address: z.string().describe(\"Full street address of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n snippet: z.string().describe(\"Brief description or highlight from reviews.\").nullable().optional(),\n position: z.number().int().describe(\"Position of this result in the search results (1-indexed).\").nullable().optional(),\n place_ids: z.array(z.string()).describe(\"Yelp place IDs associated with this business.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL to the business thumbnail image.\").nullable().optional(),\n categories: z.union([z.array(z.string()), z.array(z.record(z.string(), z.unknown()))]).nullable().optional(),\n neighborhoods: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchYelpOutput = z.object({\n organic_results: z.array(SerpapiSearchYelp_YelpBusinessSchema).describe(\"List of businesses matching the search criteria, with ratings, reviews, contact info, and other details.\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search request, including request ID, status, and processing time.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Echo of the search parameters used in this request.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchYelp: AppAction<\n typeof SerpapiSearchYelpInput,\n typeof SerpapiSearchYelpOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_YELP\", {\n slug: \"serpapi-search-yelp\",\n name: \"Search Yelp businesses\",\n description: \"Tool to search Yelp for businesses and places using SerpApi. Returns business listings with ratings, reviews, hours, contact information, and location details. Use when you need to find local businesses, restaurants, services, or read customer reviews.\",\n input: SerpapiSearchYelpInput,\n output: SerpapiSearchYelpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACnM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC3K,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAc,CAAC,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CACrO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACvJ,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CACpL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AACrL,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,O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,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,iBAAiBA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxM,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serpapi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-yelp.d.ts
|
|
@@ -33,27 +35,7 @@ declare const SerpapiSearchYelpOutput: z.ZodObject<{
|
|
|
33
35
|
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
34
36
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const serpapiSearchYelp:
|
|
37
|
-
find_loc: string;
|
|
38
|
-
find_desc: string;
|
|
39
|
-
attrs?: string | undefined;
|
|
40
|
-
start?: number | undefined;
|
|
41
|
-
sortby?: "rating" | "recommended" | "review_count" | undefined;
|
|
42
|
-
no_cache?: boolean | undefined;
|
|
43
|
-
yelp_domain?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const serpapiSearchYelp: AppAction<typeof SerpapiSearchYelpInput, typeof SerpapiSearchYelpOutput, typeof serpapi.credential>;
|
|
57
39
|
//#endregion
|
|
58
40
|
export { serpapiSearchYelp };
|
|
59
41
|
//# sourceMappingURL=search-yelp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-yelp.d.cts","names":[],"sources":["../../src/actions/search-yelp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-yelp.d.cts","names":[],"sources":["../../src/actions/search-yelp.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAwBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serpapi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-yelp.d.ts
|
|
@@ -33,27 +35,7 @@ declare const SerpapiSearchYelpOutput: z.ZodObject<{
|
|
|
33
35
|
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
34
36
|
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const serpapiSearchYelp:
|
|
37
|
-
find_loc: string;
|
|
38
|
-
find_desc: string;
|
|
39
|
-
attrs?: string | undefined;
|
|
40
|
-
start?: number | undefined;
|
|
41
|
-
sortby?: "rating" | "recommended" | "review_count" | undefined;
|
|
42
|
-
no_cache?: boolean | undefined;
|
|
43
|
-
yelp_domain?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serpapi", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const serpapiSearchYelp: AppAction<typeof SerpapiSearchYelpInput, typeof SerpapiSearchYelpOutput, typeof serpapi.credential>;
|
|
57
39
|
//#endregion
|
|
58
40
|
export { serpapiSearchYelp };
|
|
59
41
|
//# sourceMappingURL=search-yelp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-yelp.d.mts","names":[],"sources":["../../src/actions/search-yelp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-yelp.d.mts","names":[],"sources":["../../src/actions/search-yelp.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAwBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-yelp.mjs","names":[],"sources":["../../src/actions/search-yelp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiSearchYelpInput = z.object({\n attrs: z.string().describe(\"Attribute filters to refine search (e.g., 'HotAndNew' for new businesses, 'Deals' for businesses with offers). Can be comma-separated for multiple filters.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.\").optional(),\n sortby: z.enum([\"recommended\", \"rating\", \"review_count\"]).describe(\"Sort order for results. 'recommended' shows Yelp's recommended matches, 'rating' shows highest-rated first, 'review_count' shows most-reviewed first.\").optional(),\n find_loc: z.string().describe(\"Location to search in (e.g., 'San Francisco, CA', 'New York, NY', '10001'). Can be a city, state, address, or ZIP code.\"),\n no_cache: z.boolean().describe(\"Set to true to force fresh results from Yelp, bypassing SerpApi's cache. Useful when you need real-time data.\").optional(),\n find_desc: z.string().describe(\"Search query describing what to find (e.g., 'pizza', 'coffee shop', 'italian restaurant'). This is the business type or service you're looking for.\"),\n yelp_domain: z.string().describe(\"Yelp domain to search on (e.g., 'yelp.com' for US, 'yelp.ca' for Canada, 'yelp.co.uk' for UK). Defaults to yelp.com if not specified.\").optional(),\n});\nconst SerpapiSearchYelp_YelpBusinessSchema = z.object({\n link: z.string().describe(\"URL to the Yelp page for this business.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the business.\").nullable().optional(),\n price: z.string().describe(\"Price range indicator (e.g., '$', '$$', '$$$', '$$$$').\").nullable().optional(),\n title: z.string().describe(\"Name of the business.\").nullable().optional(),\n rating: z.number().describe(\"Average rating (typically 1.0 to 5.0).\").nullable().optional(),\n address: z.string().describe(\"Full street address of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n snippet: z.string().describe(\"Brief description or highlight from reviews.\").nullable().optional(),\n position: z.number().int().describe(\"Position of this result in the search results (1-indexed).\").nullable().optional(),\n place_ids: z.array(z.string()).describe(\"Yelp place IDs associated with this business.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL to the business thumbnail image.\").nullable().optional(),\n categories: z.union([z.array(z.string()), z.array(z.record(z.string(), z.unknown()))]).nullable().optional(),\n neighborhoods: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchYelpOutput = z.object({\n organic_results: z.array(SerpapiSearchYelp_YelpBusinessSchema).describe(\"List of businesses matching the search criteria, with ratings, reviews, contact info, and other details.\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search request, including request ID, status, and processing time.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Echo of the search parameters used in this request.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchYelp = action(\"SERPAPI_SEARCH_YELP\", {\n slug: \"serpapi-search-yelp\",\n name: \"Search Yelp businesses\",\n description: \"Tool to search Yelp for businesses and places using SerpApi. Returns business listings with ratings, reviews, hours, contact information, and location details. Use when you need to find local businesses, restaurants, services, or read customer reviews.\",\n input: SerpapiSearchYelpInput,\n output: SerpapiSearchYelpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-yelp.mjs","names":[],"sources":["../../src/actions/search-yelp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serpapi } from \"../app\";\n\nexport const SerpapiSearchYelpInput = z.object({\n attrs: z.string().describe(\"Attribute filters to refine search (e.g., 'HotAndNew' for new businesses, 'Deals' for businesses with offers). Can be comma-separated for multiple filters.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.\").optional(),\n sortby: z.enum([\"recommended\", \"rating\", \"review_count\"]).describe(\"Sort order for results. 'recommended' shows Yelp's recommended matches, 'rating' shows highest-rated first, 'review_count' shows most-reviewed first.\").optional(),\n find_loc: z.string().describe(\"Location to search in (e.g., 'San Francisco, CA', 'New York, NY', '10001'). Can be a city, state, address, or ZIP code.\"),\n no_cache: z.boolean().describe(\"Set to true to force fresh results from Yelp, bypassing SerpApi's cache. Useful when you need real-time data.\").optional(),\n find_desc: z.string().describe(\"Search query describing what to find (e.g., 'pizza', 'coffee shop', 'italian restaurant'). This is the business type or service you're looking for.\"),\n yelp_domain: z.string().describe(\"Yelp domain to search on (e.g., 'yelp.com' for US, 'yelp.ca' for Canada, 'yelp.co.uk' for UK). Defaults to yelp.com if not specified.\").optional(),\n});\nconst SerpapiSearchYelp_YelpBusinessSchema = z.object({\n link: z.string().describe(\"URL to the Yelp page for this business.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the business.\").nullable().optional(),\n price: z.string().describe(\"Price range indicator (e.g., '$', '$$', '$$$', '$$$$').\").nullable().optional(),\n title: z.string().describe(\"Name of the business.\").nullable().optional(),\n rating: z.number().describe(\"Average rating (typically 1.0 to 5.0).\").nullable().optional(),\n address: z.string().describe(\"Full street address of the business.\").nullable().optional(),\n reviews: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n snippet: z.string().describe(\"Brief description or highlight from reviews.\").nullable().optional(),\n position: z.number().int().describe(\"Position of this result in the search results (1-indexed).\").nullable().optional(),\n place_ids: z.array(z.string()).describe(\"Yelp place IDs associated with this business.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL to the business thumbnail image.\").nullable().optional(),\n categories: z.union([z.array(z.string()), z.array(z.record(z.string(), z.unknown()))]).nullable().optional(),\n neighborhoods: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nexport const SerpapiSearchYelpOutput = z.object({\n organic_results: z.array(SerpapiSearchYelp_YelpBusinessSchema).describe(\"List of businesses matching the search criteria, with ratings, reviews, contact info, and other details.\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search request, including request ID, status, and processing time.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Echo of the search parameters used in this request.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiSearchYelp: AppAction<\n typeof SerpapiSearchYelpInput,\n typeof SerpapiSearchYelpOutput,\n typeof serpapi.credential\n> = action(\"SERPAPI_SEARCH_YELP\", {\n slug: \"serpapi-search-yelp\",\n name: \"Search Yelp businesses\",\n description: \"Tool to search Yelp for businesses and places using SerpApi. Returns business listings with ratings, reviews, hours, contact information, and location details. Use when you need to find local businesses, restaurants, services, or read customer reviews.\",\n input: SerpapiSearchYelpInput,\n output: SerpapiSearchYelpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACnM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC3K,QAAQ,EAAE,KAAK;EAAC;EAAe;EAAU;CAAc,CAAC,CAAC,CAA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