@keystrokehq/serpapi 0.0.16 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/baidu-search.cjs +41 -0
- package/dist/actions/baidu-search.cjs.map +1 -0
- package/dist/actions/baidu-search.d.cts +49 -0
- package/dist/actions/baidu-search.d.cts.map +1 -0
- package/dist/actions/baidu-search.d.mts +49 -0
- package/dist/actions/baidu-search.d.mts.map +1 -0
- package/dist/actions/baidu-search.mjs +38 -0
- package/dist/actions/baidu-search.mjs.map +1 -0
- package/dist/actions/bing-maps.cjs +135 -0
- package/dist/actions/bing-maps.cjs.map +1 -0
- package/dist/actions/bing-maps.d.cts +128 -0
- package/dist/actions/bing-maps.d.cts.map +1 -0
- package/dist/actions/bing-maps.d.mts +128 -0
- package/dist/actions/bing-maps.d.mts.map +1 -0
- package/dist/actions/bing-maps.mjs +134 -0
- package/dist/actions/bing-maps.mjs.map +1 -0
- package/dist/actions/bing-search.cjs +32 -0
- package/dist/actions/bing-search.cjs.map +1 -0
- package/dist/actions/bing-search.d.cts +34 -0
- package/dist/actions/bing-search.d.cts.map +1 -0
- package/dist/actions/bing-search.d.mts +34 -0
- package/dist/actions/bing-search.d.mts.map +1 -0
- package/dist/actions/bing-search.mjs +29 -0
- package/dist/actions/bing-search.mjs.map +1 -0
- package/dist/actions/duck-duck-go-light-search.cjs +72 -0
- package/dist/actions/duck-duck-go-light-search.cjs.map +1 -0
- package/dist/actions/duck-duck-go-light-search.d.cts +70 -0
- package/dist/actions/duck-duck-go-light-search.d.cts.map +1 -0
- package/dist/actions/duck-duck-go-light-search.d.mts +70 -0
- package/dist/actions/duck-duck-go-light-search.d.mts.map +1 -0
- package/dist/actions/duck-duck-go-light-search.mjs +71 -0
- package/dist/actions/duck-duck-go-light-search.mjs.map +1 -0
- package/dist/actions/duck-duck-go-maps.cjs +93 -0
- package/dist/actions/duck-duck-go-maps.cjs.map +1 -0
- package/dist/actions/duck-duck-go-maps.d.cts +84 -0
- package/dist/actions/duck-duck-go-maps.d.cts.map +1 -0
- package/dist/actions/duck-duck-go-maps.d.mts +84 -0
- package/dist/actions/duck-duck-go-maps.d.mts.map +1 -0
- package/dist/actions/duck-duck-go-maps.mjs +92 -0
- package/dist/actions/duck-duck-go-maps.mjs.map +1 -0
- package/dist/actions/duck-duck-go-search.cjs +116 -0
- package/dist/actions/duck-duck-go-search.cjs.map +1 -0
- package/dist/actions/duck-duck-go-search.d.cts +107 -0
- package/dist/actions/duck-duck-go-search.d.cts.map +1 -0
- package/dist/actions/duck-duck-go-search.d.mts +107 -0
- package/dist/actions/duck-duck-go-search.d.mts.map +1 -0
- package/dist/actions/duck-duck-go-search.mjs +115 -0
- package/dist/actions/duck-duck-go-search.mjs.map +1 -0
- package/dist/actions/ebay-search.cjs +108 -0
- package/dist/actions/ebay-search.cjs.map +1 -0
- package/dist/actions/ebay-search.d.cts +105 -0
- package/dist/actions/ebay-search.d.cts.map +1 -0
- package/dist/actions/ebay-search.d.mts +105 -0
- package/dist/actions/ebay-search.d.mts.map +1 -0
- package/dist/actions/ebay-search.mjs +107 -0
- package/dist/actions/ebay-search.mjs.map +1 -0
- package/dist/actions/event-search.cjs +83 -0
- package/dist/actions/event-search.cjs.map +1 -0
- package/dist/actions/event-search.d.cts +71 -0
- package/dist/actions/event-search.d.cts.map +1 -0
- package/dist/actions/event-search.d.mts +71 -0
- package/dist/actions/event-search.d.mts.map +1 -0
- package/dist/actions/event-search.mjs +82 -0
- package/dist/actions/event-search.mjs.map +1 -0
- package/dist/actions/finance-search.cjs +193 -0
- package/dist/actions/finance-search.cjs.map +1 -0
- package/dist/actions/finance-search.d.cts +254 -0
- package/dist/actions/finance-search.d.cts.map +1 -0
- package/dist/actions/finance-search.d.mts +254 -0
- package/dist/actions/finance-search.d.mts.map +1 -0
- package/dist/actions/finance-search.mjs +192 -0
- package/dist/actions/finance-search.mjs.map +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.cjs +31 -0
- package/dist/actions/get-available-location-options-for-google-searches.cjs.map +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.d.cts +28 -0
- package/dist/actions/get-available-location-options-for-google-searches.d.cts.map +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.d.mts +28 -0
- package/dist/actions/get-available-location-options-for-google-searches.d.mts.map +1 -0
- package/dist/actions/get-available-location-options-for-google-searches.mjs +30 -0
- package/dist/actions/get-available-location-options-for-google-searches.mjs.map +1 -0
- package/dist/actions/get-facebook-profile.cjs +108 -0
- package/dist/actions/get-facebook-profile.cjs.map +1 -0
- package/dist/actions/get-facebook-profile.d.cts +94 -0
- package/dist/actions/get-facebook-profile.d.cts.map +1 -0
- package/dist/actions/get-facebook-profile.d.mts +94 -0
- package/dist/actions/get-facebook-profile.d.mts.map +1 -0
- package/dist/actions/get-facebook-profile.mjs +107 -0
- package/dist/actions/get-facebook-profile.mjs.map +1 -0
- package/dist/actions/get-google-about-this-result.cjs +115 -0
- package/dist/actions/get-google-about-this-result.cjs.map +1 -0
- package/dist/actions/get-google-about-this-result.d.cts +102 -0
- package/dist/actions/get-google-about-this-result.d.cts.map +1 -0
- package/dist/actions/get-google-about-this-result.d.mts +102 -0
- package/dist/actions/get-google-about-this-result.d.mts.map +1 -0
- package/dist/actions/get-google-about-this-result.mjs +114 -0
- package/dist/actions/get-google-about-this-result.mjs.map +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs +51 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs.map +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.cts +48 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.cts.map +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.mts +48 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.d.mts.map +1 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs +50 -0
- package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs.map +1 -0
- package/dist/actions/get-google-images-related-content.cjs +64 -0
- package/dist/actions/get-google-images-related-content.cjs.map +1 -0
- package/dist/actions/get-google-images-related-content.d.cts +61 -0
- package/dist/actions/get-google-images-related-content.d.cts.map +1 -0
- package/dist/actions/get-google-images-related-content.d.mts +61 -0
- package/dist/actions/get-google-images-related-content.d.mts.map +1 -0
- package/dist/actions/get-google-images-related-content.mjs +63 -0
- package/dist/actions/get-google-images-related-content.mjs.map +1 -0
- package/dist/actions/get-google-patent-details.cjs +107 -0
- package/dist/actions/get-google-patent-details.cjs.map +1 -0
- package/dist/actions/get-google-patent-details.d.cts +100 -0
- package/dist/actions/get-google-patent-details.d.cts.map +1 -0
- package/dist/actions/get-google-patent-details.d.mts +100 -0
- package/dist/actions/get-google-patent-details.d.mts.map +1 -0
- package/dist/actions/get-google-patent-details.mjs +106 -0
- package/dist/actions/get-google-patent-details.mjs.map +1 -0
- package/dist/actions/get-search-archive.cjs +85 -0
- package/dist/actions/get-search-archive.cjs.map +1 -0
- package/dist/actions/get-search-archive.d.cts +73 -0
- package/dist/actions/get-search-archive.d.cts.map +1 -0
- package/dist/actions/get-search-archive.d.mts +73 -0
- package/dist/actions/get-search-archive.d.mts.map +1 -0
- package/dist/actions/get-search-archive.mjs +84 -0
- package/dist/actions/get-search-archive.mjs.map +1 -0
- package/dist/actions/google-domains-list.cjs +24 -0
- package/dist/actions/google-domains-list.cjs.map +1 -0
- package/dist/actions/google-domains-list.d.cts +18 -0
- package/dist/actions/google-domains-list.d.cts.map +1 -0
- package/dist/actions/google-domains-list.d.mts +18 -0
- package/dist/actions/google-domains-list.d.mts.map +1 -0
- package/dist/actions/google-domains-list.mjs +23 -0
- package/dist/actions/google-domains-list.mjs.map +1 -0
- package/dist/actions/google-forums-search.cjs +132 -0
- package/dist/actions/google-forums-search.cjs.map +1 -0
- package/dist/actions/google-forums-search.d.cts +129 -0
- package/dist/actions/google-forums-search.d.cts.map +1 -0
- package/dist/actions/google-forums-search.d.mts +129 -0
- package/dist/actions/google-forums-search.d.mts.map +1 -0
- package/dist/actions/google-forums-search.mjs +131 -0
- package/dist/actions/google-forums-search.mjs.map +1 -0
- package/dist/actions/google-jobs-search.cjs +107 -0
- package/dist/actions/google-jobs-search.cjs.map +1 -0
- package/dist/actions/google-jobs-search.d.cts +110 -0
- package/dist/actions/google-jobs-search.d.cts.map +1 -0
- package/dist/actions/google-jobs-search.d.mts +110 -0
- package/dist/actions/google-jobs-search.d.mts.map +1 -0
- package/dist/actions/google-jobs-search.mjs +106 -0
- package/dist/actions/google-jobs-search.mjs.map +1 -0
- package/dist/actions/google-lens-search.cjs +75 -0
- package/dist/actions/google-lens-search.cjs.map +1 -0
- package/dist/actions/google-lens-search.d.cts +69 -0
- package/dist/actions/google-lens-search.d.cts.map +1 -0
- package/dist/actions/google-lens-search.d.mts +69 -0
- package/dist/actions/google-lens-search.d.mts.map +1 -0
- package/dist/actions/google-lens-search.mjs +74 -0
- package/dist/actions/google-lens-search.mjs.map +1 -0
- package/dist/actions/google-light-search.cjs +92 -0
- package/dist/actions/google-light-search.cjs.map +1 -0
- package/dist/actions/google-light-search.d.cts +97 -0
- package/dist/actions/google-light-search.d.cts.map +1 -0
- package/dist/actions/google-light-search.d.mts +97 -0
- package/dist/actions/google-light-search.d.mts.map +1 -0
- package/dist/actions/google-light-search.mjs +91 -0
- package/dist/actions/google-light-search.mjs.map +1 -0
- package/dist/actions/google-maps-posts.cjs +62 -0
- package/dist/actions/google-maps-posts.cjs.map +1 -0
- package/dist/actions/google-maps-posts.d.cts +55 -0
- package/dist/actions/google-maps-posts.d.cts.map +1 -0
- package/dist/actions/google-maps-posts.d.mts +55 -0
- package/dist/actions/google-maps-posts.d.mts.map +1 -0
- package/dist/actions/google-maps-posts.mjs +61 -0
- package/dist/actions/google-maps-posts.mjs.map +1 -0
- package/dist/actions/google-maps-search.cjs +135 -0
- package/dist/actions/google-maps-search.cjs.map +1 -0
- package/dist/actions/google-maps-search.d.cts +128 -0
- package/dist/actions/google-maps-search.d.cts.map +1 -0
- package/dist/actions/google-maps-search.d.mts +128 -0
- package/dist/actions/google-maps-search.d.mts.map +1 -0
- package/dist/actions/google-maps-search.mjs +134 -0
- package/dist/actions/google-maps-search.mjs.map +1 -0
- package/dist/actions/google-play-product.cjs +184 -0
- package/dist/actions/google-play-product.cjs.map +1 -0
- package/dist/actions/google-play-product.d.cts +169 -0
- package/dist/actions/google-play-product.d.cts.map +1 -0
- package/dist/actions/google-play-product.d.mts +169 -0
- package/dist/actions/google-play-product.d.mts.map +1 -0
- package/dist/actions/google-play-product.mjs +183 -0
- package/dist/actions/google-play-product.mjs.map +1 -0
- package/dist/actions/google-scholar-author.cjs +90 -0
- package/dist/actions/google-scholar-author.cjs.map +1 -0
- package/dist/actions/google-scholar-author.d.cts +88 -0
- package/dist/actions/google-scholar-author.d.cts.map +1 -0
- package/dist/actions/google-scholar-author.d.mts +88 -0
- package/dist/actions/google-scholar-author.d.mts.map +1 -0
- package/dist/actions/google-scholar-author.mjs +89 -0
- package/dist/actions/google-scholar-author.mjs.map +1 -0
- package/dist/actions/google-scholar-cite.cjs +44 -0
- package/dist/actions/google-scholar-cite.cjs.map +1 -0
- package/dist/actions/google-scholar-cite.d.cts +38 -0
- package/dist/actions/google-scholar-cite.d.cts.map +1 -0
- package/dist/actions/google-scholar-cite.d.mts +38 -0
- package/dist/actions/google-scholar-cite.d.mts.map +1 -0
- package/dist/actions/google-scholar-cite.mjs +43 -0
- package/dist/actions/google-scholar-cite.mjs.map +1 -0
- package/dist/actions/google-videos-light.cjs +71 -0
- package/dist/actions/google-videos-light.cjs.map +1 -0
- package/dist/actions/google-videos-light.d.cts +85 -0
- package/dist/actions/google-videos-light.d.cts.map +1 -0
- package/dist/actions/google-videos-light.d.mts +85 -0
- package/dist/actions/google-videos-light.d.mts.map +1 -0
- package/dist/actions/google-videos-light.mjs +70 -0
- package/dist/actions/google-videos-light.mjs.map +1 -0
- package/dist/actions/hotel-search.cjs +50 -0
- package/dist/actions/hotel-search.cjs.map +1 -0
- package/dist/actions/hotel-search.d.cts +71 -0
- package/dist/actions/hotel-search.d.cts.map +1 -0
- package/dist/actions/hotel-search.d.mts +71 -0
- package/dist/actions/hotel-search.d.mts.map +1 -0
- package/dist/actions/hotel-search.mjs +47 -0
- package/dist/actions/hotel-search.mjs.map +1 -0
- package/dist/actions/image-search.cjs +19 -0
- package/dist/actions/image-search.cjs.map +1 -0
- package/dist/actions/image-search.d.cts +17 -0
- package/dist/actions/image-search.d.cts.map +1 -0
- package/dist/actions/image-search.d.mts +17 -0
- package/dist/actions/image-search.d.mts.map +1 -0
- package/dist/actions/image-search.mjs +16 -0
- package/dist/actions/image-search.mjs.map +1 -0
- package/dist/actions/index.cjs +97 -0
- package/dist/actions/index.d.cts +49 -0
- package/dist/actions/index.d.mts +49 -0
- package/dist/actions/index.mjs +49 -0
- package/dist/actions/naver-search.cjs +174 -0
- package/dist/actions/naver-search.cjs.map +1 -0
- package/dist/actions/naver-search.d.cts +164 -0
- package/dist/actions/naver-search.d.cts.map +1 -0
- package/dist/actions/naver-search.d.mts +164 -0
- package/dist/actions/naver-search.d.mts.map +1 -0
- package/dist/actions/naver-search.mjs +173 -0
- package/dist/actions/naver-search.mjs.map +1 -0
- package/dist/actions/news-search.cjs +20 -0
- package/dist/actions/news-search.cjs.map +1 -0
- package/dist/actions/news-search.d.cts +19 -0
- package/dist/actions/news-search.d.cts.map +1 -0
- package/dist/actions/news-search.d.mts +19 -0
- package/dist/actions/news-search.d.mts.map +1 -0
- package/dist/actions/news-search.mjs +17 -0
- package/dist/actions/news-search.mjs.map +1 -0
- package/dist/actions/open-table-reviews.cjs +118 -0
- package/dist/actions/open-table-reviews.cjs.map +1 -0
- package/dist/actions/open-table-reviews.d.cts +109 -0
- package/dist/actions/open-table-reviews.d.cts.map +1 -0
- package/dist/actions/open-table-reviews.d.mts +109 -0
- package/dist/actions/open-table-reviews.d.mts.map +1 -0
- package/dist/actions/open-table-reviews.mjs +117 -0
- package/dist/actions/open-table-reviews.mjs.map +1 -0
- package/dist/actions/play-search.cjs +37 -0
- package/dist/actions/play-search.cjs.map +1 -0
- package/dist/actions/play-search.d.cts +45 -0
- package/dist/actions/play-search.d.cts.map +1 -0
- package/dist/actions/play-search.d.mts +45 -0
- package/dist/actions/play-search.d.mts.map +1 -0
- package/dist/actions/play-search.mjs +34 -0
- package/dist/actions/play-search.mjs.map +1 -0
- package/dist/actions/scholar-search.cjs +20 -0
- package/dist/actions/scholar-search.cjs.map +1 -0
- package/dist/actions/scholar-search.d.cts +19 -0
- package/dist/actions/scholar-search.d.cts.map +1 -0
- package/dist/actions/scholar-search.d.mts +19 -0
- package/dist/actions/scholar-search.d.mts.map +1 -0
- package/dist/actions/scholar-search.mjs +17 -0
- package/dist/actions/scholar-search.mjs.map +1 -0
- package/dist/actions/search-apple-app-store.cjs +72 -0
- package/dist/actions/search-apple-app-store.cjs.map +1 -0
- package/dist/actions/search-apple-app-store.d.cts +69 -0
- package/dist/actions/search-apple-app-store.d.cts.map +1 -0
- package/dist/actions/search-apple-app-store.d.mts +69 -0
- package/dist/actions/search-apple-app-store.d.mts.map +1 -0
- package/dist/actions/search-apple-app-store.mjs +71 -0
- package/dist/actions/search-apple-app-store.mjs.map +1 -0
- package/dist/actions/search-google-images-light.cjs +81 -0
- package/dist/actions/search-google-images-light.cjs.map +1 -0
- package/dist/actions/search-google-images-light.d.cts +87 -0
- package/dist/actions/search-google-images-light.d.cts.map +1 -0
- package/dist/actions/search-google-images-light.d.mts +87 -0
- package/dist/actions/search-google-images-light.d.mts.map +1 -0
- package/dist/actions/search-google-images-light.mjs +80 -0
- package/dist/actions/search-google-images-light.mjs.map +1 -0
- package/dist/actions/search-google-local-services.cjs +59 -0
- package/dist/actions/search-google-local-services.cjs.map +1 -0
- package/dist/actions/search-google-local-services.d.cts +63 -0
- package/dist/actions/search-google-local-services.d.cts.map +1 -0
- package/dist/actions/search-google-local-services.d.mts +63 -0
- package/dist/actions/search-google-local-services.d.mts.map +1 -0
- package/dist/actions/search-google-local-services.mjs +58 -0
- package/dist/actions/search-google-local-services.mjs.map +1 -0
- package/dist/actions/search-yelp.cjs +47 -0
- package/dist/actions/search-yelp.cjs.map +1 -0
- package/dist/actions/search-yelp.d.cts +47 -0
- package/dist/actions/search-yelp.d.cts.map +1 -0
- package/dist/actions/search-yelp.d.mts +47 -0
- package/dist/actions/search-yelp.d.mts.map +1 -0
- package/dist/actions/search-yelp.mjs +46 -0
- package/dist/actions/search-yelp.mjs.map +1 -0
- package/dist/actions/search.cjs +22 -0
- package/dist/actions/search.cjs.map +1 -0
- package/dist/actions/search.d.cts +21 -0
- package/dist/actions/search.d.cts.map +1 -0
- package/dist/actions/search.d.mts +21 -0
- package/dist/actions/search.d.mts.map +1 -0
- package/dist/actions/search.mjs +21 -0
- package/dist/actions/search.mjs.map +1 -0
- package/dist/actions/shopping-search.cjs +20 -0
- package/dist/actions/shopping-search.cjs.map +1 -0
- package/dist/actions/shopping-search.d.cts +19 -0
- package/dist/actions/shopping-search.d.cts.map +1 -0
- package/dist/actions/shopping-search.d.mts +19 -0
- package/dist/actions/shopping-search.d.mts.map +1 -0
- package/dist/actions/shopping-search.mjs +17 -0
- package/dist/actions/shopping-search.mjs.map +1 -0
- package/dist/actions/trends-search.cjs +114 -0
- package/dist/actions/trends-search.cjs.map +1 -0
- package/dist/actions/trends-search.d.cts +112 -0
- package/dist/actions/trends-search.d.cts.map +1 -0
- package/dist/actions/trends-search.d.mts +112 -0
- package/dist/actions/trends-search.d.mts.map +1 -0
- package/dist/actions/trends-search.mjs +113 -0
- package/dist/actions/trends-search.mjs.map +1 -0
- package/dist/actions/walmart-product-reviews.cjs +105 -0
- package/dist/actions/walmart-product-reviews.cjs.map +1 -0
- package/dist/actions/walmart-product-reviews.d.cts +115 -0
- package/dist/actions/walmart-product-reviews.d.cts.map +1 -0
- package/dist/actions/walmart-product-reviews.d.mts +115 -0
- package/dist/actions/walmart-product-reviews.d.mts.map +1 -0
- package/dist/actions/walmart-product-reviews.mjs +104 -0
- package/dist/actions/walmart-product-reviews.mjs.map +1 -0
- package/dist/actions/walmart-search.cjs +32 -0
- package/dist/actions/walmart-search.cjs.map +1 -0
- package/dist/actions/walmart-search.d.cts +35 -0
- package/dist/actions/walmart-search.d.cts.map +1 -0
- package/dist/actions/walmart-search.d.mts +35 -0
- package/dist/actions/walmart-search.d.mts.map +1 -0
- package/dist/actions/walmart-search.mjs +29 -0
- package/dist/actions/walmart-search.mjs.map +1 -0
- package/dist/actions/yahoo-search.cjs +42 -0
- package/dist/actions/yahoo-search.cjs.map +1 -0
- package/dist/actions/yahoo-search.d.cts +50 -0
- package/dist/actions/yahoo-search.d.cts.map +1 -0
- package/dist/actions/yahoo-search.d.mts +50 -0
- package/dist/actions/yahoo-search.d.mts.map +1 -0
- package/dist/actions/yahoo-search.mjs +39 -0
- package/dist/actions/yahoo-search.mjs.map +1 -0
- package/dist/actions/yahoo-videos.cjs +94 -0
- package/dist/actions/yahoo-videos.cjs.map +1 -0
- package/dist/actions/yahoo-videos.d.cts +93 -0
- package/dist/actions/yahoo-videos.d.cts.map +1 -0
- package/dist/actions/yahoo-videos.d.mts +93 -0
- package/dist/actions/yahoo-videos.d.mts.map +1 -0
- package/dist/actions/yahoo-videos.mjs +93 -0
- package/dist/actions/yahoo-videos.mjs.map +1 -0
- package/dist/actions/yandex-images-search.cjs +97 -0
- package/dist/actions/yandex-images-search.cjs.map +1 -0
- package/dist/actions/yandex-images-search.d.cts +103 -0
- package/dist/actions/yandex-images-search.d.cts.map +1 -0
- package/dist/actions/yandex-images-search.d.mts +103 -0
- package/dist/actions/yandex-images-search.d.mts.map +1 -0
- package/dist/actions/yandex-images-search.mjs +96 -0
- package/dist/actions/yandex-images-search.mjs.map +1 -0
- package/dist/actions/yandex-search.cjs +30 -0
- package/dist/actions/yandex-search.cjs.map +1 -0
- package/dist/actions/yandex-search.d.cts +30 -0
- package/dist/actions/yandex-search.d.cts.map +1 -0
- package/dist/actions/yandex-search.d.mts +30 -0
- package/dist/actions/yandex-search.d.mts.map +1 -0
- package/dist/actions/yandex-search.mjs +27 -0
- package/dist/actions/yandex-search.mjs.map +1 -0
- package/dist/actions/you-tube-search.cjs +38 -0
- package/dist/actions/you-tube-search.cjs.map +1 -0
- package/dist/actions/you-tube-search.d.cts +40 -0
- package/dist/actions/you-tube-search.d.cts.map +1 -0
- package/dist/actions/you-tube-search.d.mts +40 -0
- package/dist/actions/you-tube-search.d.mts.map +1 -0
- package/dist/actions/you-tube-search.mjs +35 -0
- package/dist/actions/you-tube-search.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +21 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +22 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +22 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +21 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +102 -0
- package/dist/index.d.cts +51 -0
- package/dist/index.d.mts +51 -3
- package/dist/index.mjs +52 -4
- package/package.json +31 -55
- package/LICENSE +0 -21
- package/dist/credential-sets/index.d.mts +0 -2
- package/dist/credential-sets/index.mjs +0 -3
- package/dist/operations/index.d.mts +0 -2
- package/dist/operations/index.mjs +0 -3
- package/dist/schemas/index.d.mts +0 -1
- package/dist/schemas/index.mjs +0 -1
- package/dist/serpapi.credential-set-5iG6pd3Y.d.mts +0 -14
- package/dist/serpapi.credential-set-CuEBudaA.mjs +0 -15
- package/dist/youtube-video-transcript.operation-BoQHn90s.mjs +0 -2763
- package/dist/youtube-video-transcript.operation-IqJOT2iH.d.mts +0 -1988
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-google-hotels-autocomplete-suggestions.d.ts
|
|
4
|
+
declare const SerpapiGetGoogleHotelsAutocompleteSuggestionsInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
gl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
10
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const SerpapiGetGoogleHotelsAutocompleteSuggestionsOutput: z.ZodObject<{
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
suggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
kgmid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
data_cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
property_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
highlighted_words: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
autocomplete_suggestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
serpapi_google_hotels_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>>>>;
|
|
28
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
prettify_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
q: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
engine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const serpapiGetGoogleHotelsAutocompleteSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
q: string;
|
|
40
|
+
gl?: string | undefined;
|
|
41
|
+
hl?: string | undefined;
|
|
42
|
+
async?: boolean | undefined;
|
|
43
|
+
currency?: string | undefined;
|
|
44
|
+
no_cache?: boolean | undefined;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { serpapiGetGoogleHotelsAutocompleteSuggestions };
|
|
48
|
+
//# sourceMappingURL=get-google-hotels-autocomplete-suggestions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-hotels-autocomplete-suggestions.d.cts","names":[],"sources":["../../src/actions/get-google-hotels-autocomplete-suggestions.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;cA+BlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAOnD,6CAAA,gCAA6C,wBAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-google-hotels-autocomplete-suggestions.d.ts
|
|
4
|
+
declare const SerpapiGetGoogleHotelsAutocompleteSuggestionsInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
gl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
10
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const SerpapiGetGoogleHotelsAutocompleteSuggestionsOutput: z.ZodObject<{
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
suggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
kgmid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
data_cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
property_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
highlighted_words: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
autocomplete_suggestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
serpapi_google_hotels_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>>>>;
|
|
28
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
prettify_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
q: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
engine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const serpapiGetGoogleHotelsAutocompleteSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
q: string;
|
|
40
|
+
gl?: string | undefined;
|
|
41
|
+
hl?: string | undefined;
|
|
42
|
+
async?: boolean | undefined;
|
|
43
|
+
currency?: string | undefined;
|
|
44
|
+
no_cache?: boolean | undefined;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { serpapiGetGoogleHotelsAutocompleteSuggestions };
|
|
48
|
+
//# sourceMappingURL=get-google-hotels-autocomplete-suggestions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-hotels-autocomplete-suggestions.d.mts","names":[],"sources":["../../src/actions/get-google-hotels-autocomplete-suggestions.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;cA+BlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAOnD,6CAAA,gCAA6C,wBAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-google-hotels-autocomplete-suggestions.ts
|
|
4
|
+
const SerpapiGetGoogleHotelsAutocompleteSuggestionsInput = z.object({
|
|
5
|
+
q: z.string().describe("Search query for destination autocomplete (e.g., 'New York', 'Paris hotels', 'Bali resorts'). The API returns matching hotel destinations, properties, and location suggestions."),
|
|
6
|
+
gl: z.string().describe("Country code to use for the autocomplete search. It's a two-letter country code (e.g., 'us' for United States, 'uk' for United Kingdom, 'fr' for France). Default is 'us'.").optional(),
|
|
7
|
+
hl: z.string().describe("Language code for the autocomplete results. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French). Default is 'en'.").optional(),
|
|
8
|
+
async: z.boolean().describe("Submit search asynchronously and retrieve results later via Searches Archive API. Set to true for async mode.").optional(),
|
|
9
|
+
currency: z.string().describe("Currency code for pricing information (e.g., 'USD', 'EUR', 'GBP'). Default is 'USD'.").optional(),
|
|
10
|
+
no_cache: z.boolean().describe("Forces SerpAPI to fetch fresh results even if a cached version exists. Set to true to bypass cache.").optional()
|
|
11
|
+
});
|
|
12
|
+
const SerpapiGetGoogleHotelsAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({
|
|
13
|
+
type: z.string().describe("Type of suggestion (e.g., 'accommodation', 'location', 'query').").nullable().optional(),
|
|
14
|
+
kgmid: z.string().describe("Knowledge Graph identifier for the entity.").nullable().optional(),
|
|
15
|
+
value: z.string().describe("Display text for the suggestion.").nullable().optional(),
|
|
16
|
+
data_cid: z.string().describe("Location data identifier.").nullable().optional(),
|
|
17
|
+
location: z.string().describe("Physical address for location-based suggestions.").nullable().optional(),
|
|
18
|
+
position: z.number().int().describe("Ranking position of this suggestion.").nullable().optional(),
|
|
19
|
+
thumbnail: z.string().describe("Image URL for visual representation of the suggestion.").nullable().optional(),
|
|
20
|
+
serpapi_link: z.string().describe("SerpAPI URL to corresponding search result page.").nullable().optional(),
|
|
21
|
+
property_token: z.string().describe("Token for retrieving detailed property information via Google Hotels API.").nullable().optional(),
|
|
22
|
+
highlighted_words: z.array(z.string()).describe("Terms emphasized in the autocomplete suggestion.").nullable().optional(),
|
|
23
|
+
autocomplete_suggestion: z.string().describe("Full autocomplete suggestion phrase.").nullable().optional(),
|
|
24
|
+
serpapi_google_hotels_link: z.string().describe("SerpAPI URL to related hotel search results.").nullable().optional()
|
|
25
|
+
});
|
|
26
|
+
const SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchMetadataSchema = z.object({
|
|
27
|
+
id: z.string().describe("Unique search ID within SerpAPI.").nullable().optional(),
|
|
28
|
+
status: z.string().describe("Status of the search request (e.g., 'Success', 'Processing', 'Error').").nullable().optional(),
|
|
29
|
+
prettify_html_file: z.string().describe("URL to prettified HTML version of the results.").nullable().optional()
|
|
30
|
+
});
|
|
31
|
+
const SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchParametersSchema = z.object({
|
|
32
|
+
q: z.string().describe("Search query used.").nullable().optional(),
|
|
33
|
+
engine: z.string().describe("Search engine used (google_hotels_autocomplete).").nullable().optional()
|
|
34
|
+
});
|
|
35
|
+
const serpapiGetGoogleHotelsAutocompleteSuggestions = action("SERPAPI_GET_GOOGLE_HOTELS_AUTOCOMPLETE_SUGGESTIONS", {
|
|
36
|
+
slug: "serpapi-get-google-hotels-autocomplete-suggestions",
|
|
37
|
+
name: "Get Google Hotels Autocomplete",
|
|
38
|
+
description: "Tool to get autocomplete suggestions for Google Hotels destination searches. Use when users need to search for hotel destinations, properties, or locations before performing a full hotel search.",
|
|
39
|
+
input: SerpapiGetGoogleHotelsAutocompleteSuggestionsInput,
|
|
40
|
+
output: z.object({
|
|
41
|
+
error: z.string().describe("Error message if the autocomplete request failed.").nullable().optional(),
|
|
42
|
+
suggestions: z.array(SerpapiGetGoogleHotelsAutocompleteSuggestions_AutocompleteSuggestionSchema).describe("List of autocomplete suggestions matching the query, including hotel destinations, properties, and location suggestions.").nullable().optional(),
|
|
43
|
+
search_metadata: SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchMetadataSchema.nullable().optional(),
|
|
44
|
+
search_parameters: SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchParametersSchema.nullable().optional()
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { serpapiGetGoogleHotelsAutocompleteSuggestions };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=get-google-hotels-autocomplete-suggestions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-hotels-autocomplete-suggestions.mjs","names":[],"sources":["../../src/actions/get-google-hotels-autocomplete-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGetGoogleHotelsAutocompleteSuggestionsInput = z.object({\n q: z.string().describe(\"Search query for destination autocomplete (e.g., 'New York', 'Paris hotels', 'Bali resorts'). The API returns matching hotel destinations, properties, and location suggestions.\"),\n gl: z.string().describe(\"Country code to use for the autocomplete search. It's a two-letter country code (e.g., 'us' for United States, 'uk' for United Kingdom, 'fr' for France). Default is 'us'.\").optional(),\n hl: z.string().describe(\"Language code for the autocomplete results. It's a two-letter language code (e.g., 'en' for English, 'es' for Spanish, 'fr' for French). Default is 'en'.\").optional(),\n async: z.boolean().describe(\"Submit search asynchronously and retrieve results later via Searches Archive API. Set to true for async mode.\").optional(),\n currency: z.string().describe(\"Currency code for pricing information (e.g., 'USD', 'EUR', 'GBP'). Default is 'USD'.\").optional(),\n no_cache: z.boolean().describe(\"Forces SerpAPI to fetch fresh results even if a cached version exists. Set to true to bypass cache.\").optional(),\n});\nconst SerpapiGetGoogleHotelsAutocompleteSuggestions_AutocompleteSuggestionSchema = z.object({\n type: z.string().describe(\"Type of suggestion (e.g., 'accommodation', 'location', 'query').\").nullable().optional(),\n kgmid: z.string().describe(\"Knowledge Graph identifier for the entity.\").nullable().optional(),\n value: z.string().describe(\"Display text for the suggestion.\").nullable().optional(),\n data_cid: z.string().describe(\"Location data identifier.\").nullable().optional(),\n location: z.string().describe(\"Physical address for location-based suggestions.\").nullable().optional(),\n position: z.number().int().describe(\"Ranking position of this suggestion.\").nullable().optional(),\n thumbnail: z.string().describe(\"Image URL for visual representation of the suggestion.\").nullable().optional(),\n serpapi_link: z.string().describe(\"SerpAPI URL to corresponding search result page.\").nullable().optional(),\n property_token: z.string().describe(\"Token for retrieving detailed property information via Google Hotels API.\").nullable().optional(),\n highlighted_words: z.array(z.string()).describe(\"Terms emphasized in the autocomplete suggestion.\").nullable().optional(),\n autocomplete_suggestion: z.string().describe(\"Full autocomplete suggestion phrase.\").nullable().optional(),\n serpapi_google_hotels_link: z.string().describe(\"SerpAPI URL to related hotel search results.\").nullable().optional(),\n});\nconst SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique search ID within SerpAPI.\").nullable().optional(),\n status: z.string().describe(\"Status of the search request (e.g., 'Success', 'Processing', 'Error').\").nullable().optional(),\n prettify_html_file: z.string().describe(\"URL to prettified HTML version of the results.\").nullable().optional(),\n});\nconst SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchParametersSchema = z.object({\n q: z.string().describe(\"Search query used.\").nullable().optional(),\n engine: z.string().describe(\"Search engine used (google_hotels_autocomplete).\").nullable().optional(),\n});\nexport const SerpapiGetGoogleHotelsAutocompleteSuggestionsOutput = z.object({\n error: z.string().describe(\"Error message if the autocomplete request failed.\").nullable().optional(),\n suggestions: z.array(SerpapiGetGoogleHotelsAutocompleteSuggestions_AutocompleteSuggestionSchema).describe(\"List of autocomplete suggestions matching the query, including hotel destinations, properties, and location suggestions.\").nullable().optional(),\n search_metadata: SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchMetadataSchema.nullable().optional(),\n search_parameters: SerpapiGetGoogleHotelsAutocompleteSuggestions_SearchParametersSchema.nullable().optional(),\n});\n\nexport const serpapiGetGoogleHotelsAutocompleteSuggestions = action(\"SERPAPI_GET_GOOGLE_HOTELS_AUTOCOMPLETE_SUGGESTIONS\", {\n slug: \"serpapi-get-google-hotels-autocomplete-suggestions\",\n name: \"Get Google Hotels Autocomplete\",\n description: \"Tool to get autocomplete suggestions for Google Hotels destination searches. Use when users need to search for hotel destinations, properties, or locations before performing a full hotel search.\",\n input: SerpapiGetGoogleHotelsAutocompleteSuggestionsInput,\n output: SerpapiGetGoogleHotelsAutocompleteSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqD,EAAE,OAAO;CACzE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;CACzM,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC/M,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC9L,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAM,6EAA6E,EAAE,OAAO;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAA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kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAQD,MAAa,gDAAgD,OAAO,sDAAsD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiE,EAAE,OAAO;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,MAAM,0EAA0E,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1P,iBAAiB,mEAAmE,SAAS,CAAC,CAAC,SAAS;EACxG,mBAAmB,qEAAqE,SAAS,CAAC,CAAC,SAAS;CAC9G,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-google-images-related-content.ts
|
|
4
|
+
const SerpapiGetGoogleImagesRelatedContentInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("Search query that matches the original Google Images search. Recommended to provide for better results.").optional(),
|
|
6
|
+
gl: zod.z.string().describe("Country code for the search results. Uses two-letter country codes.").optional(),
|
|
7
|
+
hl: zod.z.string().describe("Language code for the search results. Uses two-letter language codes.").optional(),
|
|
8
|
+
async: zod.z.boolean().describe("Submit the search asynchronously and retrieve results later via Search Archive API. Set to true for async mode, false for synchronous (default).").optional(),
|
|
9
|
+
output: zod.z.string().describe("Response format: 'json' (default) for structured JSON results, or 'html' for raw HTML content.").optional(),
|
|
10
|
+
no_cache: zod.z.boolean().describe("Force fresh results by bypassing the SerpApi cache. Set to true to always fetch new results.").optional(),
|
|
11
|
+
related_content_id: zod.z.string().describe("Unique ID for retrieving the Related Content of an image. This ID is obtained from the Google Images API response (from the 'related_content_id' field of an image result).")
|
|
12
|
+
});
|
|
13
|
+
const SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema = zod.z.object({
|
|
14
|
+
link: zod.z.string().describe("Link to the page containing the image.").nullable().optional(),
|
|
15
|
+
price: zod.z.string().describe("Product price (if applicable).").nullable().optional(),
|
|
16
|
+
title: zod.z.string().describe("Title of the related image.").nullable().optional(),
|
|
17
|
+
source: zod.z.string().describe("Source website of the image.").nullable().optional(),
|
|
18
|
+
in_stock: zod.z.boolean().describe("Product stock status (if applicable).").nullable().optional(),
|
|
19
|
+
original: zod.z.string().describe("URL of the original full-size image.").nullable().optional(),
|
|
20
|
+
position: zod.z.number().int().describe("Position of the related image in the results.").nullable().optional(),
|
|
21
|
+
thumbnail: zod.z.string().describe("URL of the image thumbnail.").nullable().optional(),
|
|
22
|
+
is_product: zod.z.boolean().describe("Whether this image is a product image.").nullable().optional(),
|
|
23
|
+
source_logo: zod.z.string().describe("Logo URL of the source website.").nullable().optional()
|
|
24
|
+
});
|
|
25
|
+
const SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema = zod.z.object({
|
|
26
|
+
id: zod.z.string().describe("Unique ID for this SerpApi search.").nullable().optional(),
|
|
27
|
+
status: zod.z.string().describe("Status of the search request.").nullable().optional(),
|
|
28
|
+
created_at: zod.z.string().describe("Timestamp when the search was created.").nullable().optional(),
|
|
29
|
+
processed_at: zod.z.string().describe("Timestamp when the search was processed.").nullable().optional(),
|
|
30
|
+
json_endpoint: zod.z.string().describe("JSON endpoint URL for this search.").nullable().optional(),
|
|
31
|
+
raw_html_file: zod.z.string().describe("Path to raw HTML file if output='html' was used.").nullable().optional(),
|
|
32
|
+
total_time_taken: zod.z.number().describe("Total time taken to process the search in seconds.").nullable().optional(),
|
|
33
|
+
google_images_related_content_url: zod.z.string().describe("Google URL for the related content.").nullable().optional()
|
|
34
|
+
});
|
|
35
|
+
const SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema = zod.z.object({
|
|
36
|
+
link: zod.z.string().describe("URL to perform this related search on Google.").nullable().optional(),
|
|
37
|
+
query: zod.z.string().describe("Related search query text.").nullable().optional(),
|
|
38
|
+
serpapi_link: zod.z.string().describe("SerpApi link to perform this related search.").nullable().optional()
|
|
39
|
+
});
|
|
40
|
+
const SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema = zod.z.object({
|
|
41
|
+
q: zod.z.string().describe("The search query used in the request.").nullable().optional(),
|
|
42
|
+
gl: zod.z.string().describe("Country code used in the request.").nullable().optional(),
|
|
43
|
+
hl: zod.z.string().describe("Language code used in the request.").nullable().optional(),
|
|
44
|
+
engine: zod.z.string().describe("Search engine used (google_images_related_content).").nullable().optional(),
|
|
45
|
+
related_content_id: zod.z.string().describe("The related content ID used in the request.").nullable().optional()
|
|
46
|
+
});
|
|
47
|
+
const SerpapiGetGoogleImagesRelatedContentOutput = zod.z.object({
|
|
48
|
+
related_images: zod.z.array(SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema).describe("List of related images found for the specified image.").nullable().optional(),
|
|
49
|
+
search_metadata: SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema.nullable().optional(),
|
|
50
|
+
raw_html_content: zod.z.string().describe("Raw HTML content from Google. Only populated when output='html' is requested.").nullable().optional(),
|
|
51
|
+
related_searches: zod.z.array(SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema).describe("List of related search queries.").nullable().optional(),
|
|
52
|
+
search_parameters: SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema.nullable().optional()
|
|
53
|
+
});
|
|
54
|
+
const serpapiGetGoogleImagesRelatedContent = require_action.action("SERPAPI_GET_GOOGLE_IMAGES_RELATED_CONTENT", {
|
|
55
|
+
slug: "serpapi-get-google-images-related-content",
|
|
56
|
+
name: "Get Google Images Related Content",
|
|
57
|
+
description: "Get related content for a specific Google Images result. Requires a related_content_id obtained from a Google Images search. Use when you need to find similar images or related visual content for a particular image.",
|
|
58
|
+
input: SerpapiGetGoogleImagesRelatedContentInput,
|
|
59
|
+
output: SerpapiGetGoogleImagesRelatedContentOutput
|
|
60
|
+
});
|
|
61
|
+
//#endregion
|
|
62
|
+
exports.serpapiGetGoogleImagesRelatedContent = serpapiGetGoogleImagesRelatedContent;
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=get-google-images-related-content.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-images-related-content.cjs","names":["z","action"],"sources":["../../src/actions/get-google-images-related-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGetGoogleImagesRelatedContentInput = z.object({\n q: z.string().describe(\"Search query that matches the original Google Images search. Recommended to provide for better results.\").optional(),\n gl: z.string().describe(\"Country code for the search results. Uses two-letter country codes.\").optional(),\n hl: z.string().describe(\"Language code for the search results. Uses two-letter language codes.\").optional(),\n async: z.boolean().describe(\"Submit the search asynchronously and retrieve results later via Search Archive API. Set to true for async mode, false for synchronous (default).\").optional(),\n output: z.string().describe(\"Response format: 'json' (default) for structured JSON results, or 'html' for raw HTML content.\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results by bypassing the SerpApi cache. Set to true to always fetch new results.\").optional(),\n related_content_id: z.string().describe(\"Unique ID for retrieving the Related Content of an image. This ID is obtained from the Google Images API response (from the 'related_content_id' field of an image result).\"),\n});\nconst SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema = z.object({\n link: z.string().describe(\"Link to the page containing the image.\").nullable().optional(),\n price: z.string().describe(\"Product price (if applicable).\").nullable().optional(),\n title: z.string().describe(\"Title of the related image.\").nullable().optional(),\n source: z.string().describe(\"Source website of the image.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product stock status (if applicable).\").nullable().optional(),\n original: z.string().describe(\"URL of the original full-size image.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the related image in the results.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the image thumbnail.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether this image is a product image.\").nullable().optional(),\n source_logo: z.string().describe(\"Logo URL of the source website.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique ID for this SerpApi search.\").nullable().optional(),\n status: z.string().describe(\"Status of the search request.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the search was created.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the search was processed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"JSON endpoint URL for this search.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Path to raw HTML file if output='html' was used.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Total time taken to process the search in seconds.\").nullable().optional(),\n google_images_related_content_url: z.string().describe(\"Google URL for the related content.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema = z.object({\n link: z.string().describe(\"URL to perform this related search on Google.\").nullable().optional(),\n query: z.string().describe(\"Related search query text.\").nullable().optional(),\n serpapi_link: z.string().describe(\"SerpApi link to perform this related search.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema = z.object({\n q: z.string().describe(\"The search query used in the request.\").nullable().optional(),\n gl: z.string().describe(\"Country code used in the request.\").nullable().optional(),\n hl: z.string().describe(\"Language code used in the request.\").nullable().optional(),\n engine: z.string().describe(\"Search engine used (google_images_related_content).\").nullable().optional(),\n related_content_id: z.string().describe(\"The related content ID used in the request.\").nullable().optional(),\n});\nexport const SerpapiGetGoogleImagesRelatedContentOutput = z.object({\n related_images: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema).describe(\"List of related images found for the specified image.\").nullable().optional(),\n search_metadata: SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema.nullable().optional(),\n raw_html_content: z.string().describe(\"Raw HTML content from Google. Only populated when output='html' is requested.\").nullable().optional(),\n related_searches: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema).describe(\"List of related search queries.\").nullable().optional(),\n search_parameters: SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema.nullable().optional(),\n});\n\nexport const serpapiGetGoogleImagesRelatedContent = action(\"SERPAPI_GET_GOOGLE_IMAGES_RELATED_CONTENT\", {\n slug: \"serpapi-get-google-images-related-content\",\n name: \"Get Google Images Related Content\",\n description: \"Get related content for a specific Google Images result. Requires a related_content_id obtained from a Google Images search. Use when you need to find similar images or related visual content for a particular image.\",\n input: SerpapiGetGoogleImagesRelatedContentInput,\n output: SerpapiGetGoogleImagesRelatedContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC3I,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACxG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CACzL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACxI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;AACvN,CAAC;AACD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS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CACvK,iBAAiB,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,mBAAmB,4DAA4D,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-google-images-related-content.d.ts
|
|
4
|
+
declare const SerpapiGetGoogleImagesRelatedContentInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodOptional<z.ZodString>;
|
|
6
|
+
gl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
output: z.ZodOptional<z.ZodString>;
|
|
10
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
related_content_id: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const SerpapiGetGoogleImagesRelatedContentOutput: z.ZodObject<{
|
|
14
|
+
related_images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
in_stock: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
is_product: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
source_logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>>>;
|
|
26
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
json_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
google_images_related_content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
raw_html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
related_searches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$strip>>>>;
|
|
42
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
q: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
gl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
hl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
engine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
related_content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$strip>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const serpapiGetGoogleImagesRelatedContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
related_content_id: string;
|
|
52
|
+
q?: string | undefined;
|
|
53
|
+
gl?: string | undefined;
|
|
54
|
+
hl?: string | undefined;
|
|
55
|
+
async?: boolean | undefined;
|
|
56
|
+
output?: string | undefined;
|
|
57
|
+
no_cache?: boolean | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { serpapiGetGoogleImagesRelatedContent };
|
|
61
|
+
//# sourceMappingURL=get-google-images-related-content.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-images-related-content.d.cts","names":[],"sources":["../../src/actions/get-google-images-related-content.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;cA2CzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-google-images-related-content.d.ts
|
|
4
|
+
declare const SerpapiGetGoogleImagesRelatedContentInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodOptional<z.ZodString>;
|
|
6
|
+
gl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
output: z.ZodOptional<z.ZodString>;
|
|
10
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
related_content_id: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const SerpapiGetGoogleImagesRelatedContentOutput: z.ZodObject<{
|
|
14
|
+
related_images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
in_stock: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
is_product: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
source_logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>>>;
|
|
26
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
json_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
google_images_related_content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
raw_html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
related_searches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$strip>>>>;
|
|
42
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
q: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
gl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
hl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
engine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
related_content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$strip>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const serpapiGetGoogleImagesRelatedContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
related_content_id: string;
|
|
52
|
+
q?: string | undefined;
|
|
53
|
+
gl?: string | undefined;
|
|
54
|
+
hl?: string | undefined;
|
|
55
|
+
async?: boolean | undefined;
|
|
56
|
+
output?: string | undefined;
|
|
57
|
+
no_cache?: boolean | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { serpapiGetGoogleImagesRelatedContent };
|
|
61
|
+
//# sourceMappingURL=get-google-images-related-content.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-images-related-content.d.mts","names":[],"sources":["../../src/actions/get-google-images-related-content.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;cA2CzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-google-images-related-content.ts
|
|
4
|
+
const SerpapiGetGoogleImagesRelatedContentInput = z.object({
|
|
5
|
+
q: z.string().describe("Search query that matches the original Google Images search. Recommended to provide for better results.").optional(),
|
|
6
|
+
gl: z.string().describe("Country code for the search results. Uses two-letter country codes.").optional(),
|
|
7
|
+
hl: z.string().describe("Language code for the search results. Uses two-letter language codes.").optional(),
|
|
8
|
+
async: z.boolean().describe("Submit the search asynchronously and retrieve results later via Search Archive API. Set to true for async mode, false for synchronous (default).").optional(),
|
|
9
|
+
output: z.string().describe("Response format: 'json' (default) for structured JSON results, or 'html' for raw HTML content.").optional(),
|
|
10
|
+
no_cache: z.boolean().describe("Force fresh results by bypassing the SerpApi cache. Set to true to always fetch new results.").optional(),
|
|
11
|
+
related_content_id: z.string().describe("Unique ID for retrieving the Related Content of an image. This ID is obtained from the Google Images API response (from the 'related_content_id' field of an image result).")
|
|
12
|
+
});
|
|
13
|
+
const SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema = z.object({
|
|
14
|
+
link: z.string().describe("Link to the page containing the image.").nullable().optional(),
|
|
15
|
+
price: z.string().describe("Product price (if applicable).").nullable().optional(),
|
|
16
|
+
title: z.string().describe("Title of the related image.").nullable().optional(),
|
|
17
|
+
source: z.string().describe("Source website of the image.").nullable().optional(),
|
|
18
|
+
in_stock: z.boolean().describe("Product stock status (if applicable).").nullable().optional(),
|
|
19
|
+
original: z.string().describe("URL of the original full-size image.").nullable().optional(),
|
|
20
|
+
position: z.number().int().describe("Position of the related image in the results.").nullable().optional(),
|
|
21
|
+
thumbnail: z.string().describe("URL of the image thumbnail.").nullable().optional(),
|
|
22
|
+
is_product: z.boolean().describe("Whether this image is a product image.").nullable().optional(),
|
|
23
|
+
source_logo: z.string().describe("Logo URL of the source website.").nullable().optional()
|
|
24
|
+
});
|
|
25
|
+
const SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema = z.object({
|
|
26
|
+
id: z.string().describe("Unique ID for this SerpApi search.").nullable().optional(),
|
|
27
|
+
status: z.string().describe("Status of the search request.").nullable().optional(),
|
|
28
|
+
created_at: z.string().describe("Timestamp when the search was created.").nullable().optional(),
|
|
29
|
+
processed_at: z.string().describe("Timestamp when the search was processed.").nullable().optional(),
|
|
30
|
+
json_endpoint: z.string().describe("JSON endpoint URL for this search.").nullable().optional(),
|
|
31
|
+
raw_html_file: z.string().describe("Path to raw HTML file if output='html' was used.").nullable().optional(),
|
|
32
|
+
total_time_taken: z.number().describe("Total time taken to process the search in seconds.").nullable().optional(),
|
|
33
|
+
google_images_related_content_url: z.string().describe("Google URL for the related content.").nullable().optional()
|
|
34
|
+
});
|
|
35
|
+
const SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema = z.object({
|
|
36
|
+
link: z.string().describe("URL to perform this related search on Google.").nullable().optional(),
|
|
37
|
+
query: z.string().describe("Related search query text.").nullable().optional(),
|
|
38
|
+
serpapi_link: z.string().describe("SerpApi link to perform this related search.").nullable().optional()
|
|
39
|
+
});
|
|
40
|
+
const SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema = z.object({
|
|
41
|
+
q: z.string().describe("The search query used in the request.").nullable().optional(),
|
|
42
|
+
gl: z.string().describe("Country code used in the request.").nullable().optional(),
|
|
43
|
+
hl: z.string().describe("Language code used in the request.").nullable().optional(),
|
|
44
|
+
engine: z.string().describe("Search engine used (google_images_related_content).").nullable().optional(),
|
|
45
|
+
related_content_id: z.string().describe("The related content ID used in the request.").nullable().optional()
|
|
46
|
+
});
|
|
47
|
+
const serpapiGetGoogleImagesRelatedContent = action("SERPAPI_GET_GOOGLE_IMAGES_RELATED_CONTENT", {
|
|
48
|
+
slug: "serpapi-get-google-images-related-content",
|
|
49
|
+
name: "Get Google Images Related Content",
|
|
50
|
+
description: "Get related content for a specific Google Images result. Requires a related_content_id obtained from a Google Images search. Use when you need to find similar images or related visual content for a particular image.",
|
|
51
|
+
input: SerpapiGetGoogleImagesRelatedContentInput,
|
|
52
|
+
output: z.object({
|
|
53
|
+
related_images: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema).describe("List of related images found for the specified image.").nullable().optional(),
|
|
54
|
+
search_metadata: SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema.nullable().optional(),
|
|
55
|
+
raw_html_content: z.string().describe("Raw HTML content from Google. Only populated when output='html' is requested.").nullable().optional(),
|
|
56
|
+
related_searches: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema).describe("List of related search queries.").nullable().optional(),
|
|
57
|
+
search_parameters: SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema.nullable().optional()
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
//#endregion
|
|
61
|
+
export { serpapiGetGoogleImagesRelatedContent };
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=get-google-images-related-content.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-google-images-related-content.mjs","names":[],"sources":["../../src/actions/get-google-images-related-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGetGoogleImagesRelatedContentInput = z.object({\n q: z.string().describe(\"Search query that matches the original Google Images search. Recommended to provide for better results.\").optional(),\n gl: z.string().describe(\"Country code for the search results. Uses two-letter country codes.\").optional(),\n hl: z.string().describe(\"Language code for the search results. Uses two-letter language codes.\").optional(),\n async: z.boolean().describe(\"Submit the search asynchronously and retrieve results later via Search Archive API. Set to true for async mode, false for synchronous (default).\").optional(),\n output: z.string().describe(\"Response format: 'json' (default) for structured JSON results, or 'html' for raw HTML content.\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results by bypassing the SerpApi cache. Set to true to always fetch new results.\").optional(),\n related_content_id: z.string().describe(\"Unique ID for retrieving the Related Content of an image. This ID is obtained from the Google Images API response (from the 'related_content_id' field of an image result).\"),\n});\nconst SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema = z.object({\n link: z.string().describe(\"Link to the page containing the image.\").nullable().optional(),\n price: z.string().describe(\"Product price (if applicable).\").nullable().optional(),\n title: z.string().describe(\"Title of the related image.\").nullable().optional(),\n source: z.string().describe(\"Source website of the image.\").nullable().optional(),\n in_stock: z.boolean().describe(\"Product stock status (if applicable).\").nullable().optional(),\n original: z.string().describe(\"URL of the original full-size image.\").nullable().optional(),\n position: z.number().int().describe(\"Position of the related image in the results.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the image thumbnail.\").nullable().optional(),\n is_product: z.boolean().describe(\"Whether this image is a product image.\").nullable().optional(),\n source_logo: z.string().describe(\"Logo URL of the source website.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Unique ID for this SerpApi search.\").nullable().optional(),\n status: z.string().describe(\"Status of the search request.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the search was created.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the search was processed.\").nullable().optional(),\n json_endpoint: z.string().describe(\"JSON endpoint URL for this search.\").nullable().optional(),\n raw_html_file: z.string().describe(\"Path to raw HTML file if output='html' was used.\").nullable().optional(),\n total_time_taken: z.number().describe(\"Total time taken to process the search in seconds.\").nullable().optional(),\n google_images_related_content_url: z.string().describe(\"Google URL for the related content.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema = z.object({\n link: z.string().describe(\"URL to perform this related search on Google.\").nullable().optional(),\n query: z.string().describe(\"Related search query text.\").nullable().optional(),\n serpapi_link: z.string().describe(\"SerpApi link to perform this related search.\").nullable().optional(),\n});\nconst SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema = z.object({\n q: z.string().describe(\"The search query used in the request.\").nullable().optional(),\n gl: z.string().describe(\"Country code used in the request.\").nullable().optional(),\n hl: z.string().describe(\"Language code used in the request.\").nullable().optional(),\n engine: z.string().describe(\"Search engine used (google_images_related_content).\").nullable().optional(),\n related_content_id: z.string().describe(\"The related content ID used in the request.\").nullable().optional(),\n});\nexport const SerpapiGetGoogleImagesRelatedContentOutput = z.object({\n related_images: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedImageSchema).describe(\"List of related images found for the specified image.\").nullable().optional(),\n search_metadata: SerpapiGetGoogleImagesRelatedContent_SearchMetadataSchema.nullable().optional(),\n raw_html_content: z.string().describe(\"Raw HTML content from Google. Only populated when output='html' is requested.\").nullable().optional(),\n related_searches: z.array(SerpapiGetGoogleImagesRelatedContent_RelatedSearchSchema).describe(\"List of related search queries.\").nullable().optional(),\n search_parameters: SerpapiGetGoogleImagesRelatedContent_SearchParametersSchema.nullable().optional(),\n});\n\nexport const serpapiGetGoogleImagesRelatedContent = action(\"SERPAPI_GET_GOOGLE_IMAGES_RELATED_CONTENT\", {\n slug: \"serpapi-get-google-images-related-content\",\n name: \"Get Google Images Related Content\",\n description: \"Get related content for a specific Google Images result. Requires a related_content_id obtained from a Google Images search. Use when you need to find similar images or related visual content for a particular image.\",\n input: SerpapiGetGoogleImagesRelatedContentInput,\n output: SerpapiGetGoogleImagesRelatedContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC3I,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACxG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS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C,SAAS;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AASD,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO;EACjE,gBAAgB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,iBAAiB,0DAA0D,SAAS,CAAC,CAAC,SAAS;EAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,kBAAkB,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,mBAAmB,4DAA4D,SAAS,CAAC,CAAC,SAAS;CACrG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-google-patent-details.ts
|
|
4
|
+
const SerpapiGetGooglePatentDetailsInput = zod.z.object({
|
|
5
|
+
async: zod.z.boolean().default(false).describe("Submit search asynchronously and retrieve results later via Search Archive API. Defaults to false.").optional(),
|
|
6
|
+
output: zod.z.string().default("json").describe("Output format. Only 'json' is supported.").optional(),
|
|
7
|
+
no_cache: zod.z.boolean().default(false).describe("Force SerpApi to fetch fresh results even if cached version exists. Cache expires after 1 hour. Defaults to false.").optional(),
|
|
8
|
+
patent_id: zod.z.string().describe("The ID of the patent or scholar document to retrieve. Use format 'patent/<publication_number>/<country_code>' for patents (country code optional, e.g., 'patent/US11734097B1/en' or 'patent/US11734097B1') or 'scholar/<scholar_id>' for scholar documents.")
|
|
9
|
+
});
|
|
10
|
+
const SerpapiGetGooglePatentDetails_AuthorSchema = zod.z.object({ name: zod.z.string().describe("Author name").nullable().optional() });
|
|
11
|
+
const SerpapiGetGooglePatentDetails_CitedBySchema = zod.z.object({
|
|
12
|
+
link: zod.z.string().describe("Link to citing patents").nullable().optional(),
|
|
13
|
+
count: zod.z.number().int().describe("Number of citations").nullable().optional()
|
|
14
|
+
});
|
|
15
|
+
const SerpapiGetGooglePatentDetails_ConceptSchema = zod.z.object({
|
|
16
|
+
name: zod.z.string().describe("Concept name").nullable().optional(),
|
|
17
|
+
similarity: zod.z.number().describe("Similarity score").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const SerpapiGetGooglePatentDetails_ConceptMatchSchema = zod.z.object({
|
|
20
|
+
id: zod.z.string().describe("Concept ID").nullable().optional(),
|
|
21
|
+
name: zod.z.string().describe("Concept name").nullable().optional(),
|
|
22
|
+
count: zod.z.number().int().describe("Number of occurrences").nullable().optional(),
|
|
23
|
+
sections: zod.z.array(zod.z.string()).describe("Sections where concept appears").nullable().optional(),
|
|
24
|
+
similarity: zod.z.number().describe("Similarity score").nullable().optional()
|
|
25
|
+
});
|
|
26
|
+
const SerpapiGetGooglePatentDetails_ConceptsWrapperSchema = zod.z.object({ match: zod.z.array(SerpapiGetGooglePatentDetails_ConceptMatchSchema).describe("Matched concepts").nullable().optional() });
|
|
27
|
+
const SerpapiGetGooglePatentDetails_InventorSchema = zod.z.object({
|
|
28
|
+
link: zod.z.string().describe("Inventor link").nullable().optional(),
|
|
29
|
+
name: zod.z.string().describe("Inventor name").nullable().optional()
|
|
30
|
+
});
|
|
31
|
+
const SerpapiGetGooglePatentDetails_LegalEventSchema = zod.z.object({
|
|
32
|
+
code: zod.z.string().describe("Event code").nullable().optional(),
|
|
33
|
+
date: zod.z.string().describe("Event date").nullable().optional(),
|
|
34
|
+
title: zod.z.string().describe("Event title").nullable().optional(),
|
|
35
|
+
description: zod.z.string().describe("Event description").nullable().optional()
|
|
36
|
+
});
|
|
37
|
+
const SerpapiGetGooglePatentDetails_ExternalLinkSchema = zod.z.object({
|
|
38
|
+
url: zod.z.string().describe("Link URL").nullable().optional(),
|
|
39
|
+
name: zod.z.string().describe("Link name").nullable().optional()
|
|
40
|
+
});
|
|
41
|
+
const SerpapiGetGooglePatentDetails_ClassificationSchema = zod.z.object({
|
|
42
|
+
code: zod.z.string().describe("Classification code (IPC/CPC)").nullable().optional(),
|
|
43
|
+
description: zod.z.string().describe("Classification description").nullable().optional()
|
|
44
|
+
});
|
|
45
|
+
const SerpapiGetGooglePatentDetails_SearchMetadataSchema = zod.z.object({
|
|
46
|
+
id: zod.z.string().describe("Search ID").nullable().optional(),
|
|
47
|
+
status: zod.z.string().describe("Processing status").nullable().optional(),
|
|
48
|
+
created_at: zod.z.string().describe("Creation timestamp").nullable().optional(),
|
|
49
|
+
processed_at: zod.z.string().describe("Processing timestamp").nullable().optional(),
|
|
50
|
+
json_endpoint: zod.z.string().describe("JSON endpoint URL").nullable().optional(),
|
|
51
|
+
raw_html_file: zod.z.string().describe("Raw HTML file URL").nullable().optional(),
|
|
52
|
+
total_time_taken: zod.z.number().describe("Total time taken in seconds").nullable().optional(),
|
|
53
|
+
google_patents_url: zod.z.string().describe("Original Google Patents URL").nullable().optional()
|
|
54
|
+
});
|
|
55
|
+
const SerpapiGetGooglePatentDetails_PatentCitationSchema = zod.z.object({
|
|
56
|
+
link: zod.z.string().describe("Citation link").nullable().optional(),
|
|
57
|
+
title: zod.z.string().describe("Citation title").nullable().optional(),
|
|
58
|
+
publication_number: zod.z.string().describe("Publication number").nullable().optional()
|
|
59
|
+
});
|
|
60
|
+
const SerpapiGetGooglePatentDetails_PatentCitationsSchema = zod.z.object({
|
|
61
|
+
original: zod.z.array(SerpapiGetGooglePatentDetails_PatentCitationSchema).describe("Original citations").nullable().optional(),
|
|
62
|
+
family_to_family: zod.z.array(SerpapiGetGooglePatentDetails_PatentCitationSchema).describe("Family-to-family citations").nullable().optional()
|
|
63
|
+
});
|
|
64
|
+
const SerpapiGetGooglePatentDetails_SearchParametersSchema = zod.z.object({
|
|
65
|
+
engine: zod.z.string().describe("Search engine used").nullable().optional(),
|
|
66
|
+
patent_id: zod.z.string().describe("Patent ID queried").nullable().optional()
|
|
67
|
+
});
|
|
68
|
+
const SerpapiGetGooglePatentDetailsOutput = zod.z.object({
|
|
69
|
+
pdf: zod.z.string().describe("Link to patent PDF").nullable().optional(),
|
|
70
|
+
type: zod.z.string().describe("Document type: 'patent' or 'scholar'").nullable().optional(),
|
|
71
|
+
title: zod.z.string().describe("Patent or document title").nullable().optional(),
|
|
72
|
+
claims: zod.z.array(zod.z.string()).describe("List of patent claims").nullable().optional(),
|
|
73
|
+
images: zod.z.array(zod.z.string()).describe("Patent diagram image URLs").nullable().optional(),
|
|
74
|
+
authors: zod.z.array(zod.z.union([zod.z.string(), SerpapiGetGooglePatentDetails_AuthorSchema])).describe("Author names (for scholar documents)").nullable().optional(),
|
|
75
|
+
country: zod.z.string().describe("Patent country of origin").nullable().optional(),
|
|
76
|
+
snippet: zod.z.string().describe("Document excerpt (for scholar documents)").nullable().optional(),
|
|
77
|
+
abstract: zod.z.string().describe("Patent abstract").nullable().optional(),
|
|
78
|
+
cited_by: SerpapiGetGooglePatentDetails_CitedBySchema.nullable().optional(),
|
|
79
|
+
concepts: zod.z.union([zod.z.array(SerpapiGetGooglePatentDetails_ConceptSchema), SerpapiGetGooglePatentDetails_ConceptsWrapperSchema]).nullable().optional(),
|
|
80
|
+
assignees: zod.z.array(zod.z.string()).describe("Patent assignees").nullable().optional(),
|
|
81
|
+
inventors: zod.z.array(SerpapiGetGooglePatentDetails_InventorSchema).describe("Patent inventors with links").nullable().optional(),
|
|
82
|
+
filing_date: zod.z.string().describe("Patent filing date").nullable().optional(),
|
|
83
|
+
cited_by_url: zod.z.string().describe("Citation tracking link (for scholar documents)").nullable().optional(),
|
|
84
|
+
legal_events: zod.z.array(SerpapiGetGooglePatentDetails_LegalEventSchema).describe("Patent office legal events with dates and codes").nullable().optional(),
|
|
85
|
+
full_view_url: zod.z.string().describe("Full text link (for scholar documents)").nullable().optional(),
|
|
86
|
+
priority_date: zod.z.string().describe("Patent priority date").nullable().optional(),
|
|
87
|
+
external_links: zod.z.array(SerpapiGetGooglePatentDetails_ExternalLinkSchema).describe("USPTO and other relevant external links").nullable().optional(),
|
|
88
|
+
classifications: zod.z.array(SerpapiGetGooglePatentDetails_ClassificationSchema).describe("Patent classifications (IPC/CPC codes)").nullable().optional(),
|
|
89
|
+
search_metadata: SerpapiGetGooglePatentDetails_SearchMetadataSchema.nullable().optional(),
|
|
90
|
+
patent_citations: SerpapiGetGooglePatentDetails_PatentCitationsSchema.nullable().optional(),
|
|
91
|
+
publication_date: zod.z.string().describe("Patent publication date").nullable().optional(),
|
|
92
|
+
publication_year: zod.z.string().describe("Publication year (for scholar documents)").nullable().optional(),
|
|
93
|
+
publication_venue: zod.z.string().describe("Journal or venue name (for scholar documents)").nullable().optional(),
|
|
94
|
+
search_parameters: SerpapiGetGooglePatentDetails_SearchParametersSchema.nullable().optional(),
|
|
95
|
+
publication_number: zod.z.string().describe("Patent publication number").nullable().optional()
|
|
96
|
+
});
|
|
97
|
+
const serpapiGetGooglePatentDetails = require_action.action("SERPAPI_GET_GOOGLE_PATENT_DETAILS", {
|
|
98
|
+
slug: "serpapi-get-google-patent-details",
|
|
99
|
+
name: "Get Google Patent Details",
|
|
100
|
+
description: "Tool to retrieve detailed information about a specific patent or scholar document from Google Patents via SerpApi. Use when you need patent details, claims, citations, inventors, assignees, legal events, or scholar publication information.",
|
|
101
|
+
input: SerpapiGetGooglePatentDetailsInput,
|
|
102
|
+
output: SerpapiGetGooglePatentDetailsOutput
|
|
103
|
+
});
|
|
104
|
+
//#endregion
|
|
105
|
+
exports.serpapiGetGooglePatentDetails = serpapiGetGooglePatentDetails;
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=get-google-patent-details.cjs.map
|