@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,88 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/google-scholar-author.d.ts
|
|
4
|
+
declare const SerpapiGoogleScholarAuthorInput: z.ZodObject<{
|
|
5
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
6
|
+
num: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
8
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
view_op: z.ZodOptional<z.ZodString>;
|
|
10
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
author_id: z.ZodString;
|
|
12
|
+
citation_id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const SerpapiGoogleScholarAuthorOutput: z.ZodObject<{
|
|
15
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
interests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
link: z.ZodNullable<z.ZodString>;
|
|
21
|
+
title: z.ZodNullable<z.ZodString>;
|
|
22
|
+
serpapi_link: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>>>;
|
|
24
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
affiliations: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
27
|
+
articles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
cited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
33
|
+
citation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>>>>;
|
|
36
|
+
cited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
graph: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
year: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
citations: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
40
|
+
}, z.core.$strip>>>>;
|
|
41
|
+
table: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
42
|
+
h_index: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
all: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
citations: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
|
+
all: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
|
+
i10_index: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
|
+
all: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
}, z.core.$strip>>>>;
|
|
52
|
+
}, z.core.$strip>>>;
|
|
53
|
+
co_authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
affiliations: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
}, z.core.$strip>>>>;
|
|
61
|
+
public_access: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
62
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
json_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
71
|
+
serpapi_pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
72
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
}, z.core.$strip>>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
declare const serpapiGoogleScholarAuthor: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
77
|
+
author_id: string;
|
|
78
|
+
hl?: string | undefined;
|
|
79
|
+
num?: number | undefined;
|
|
80
|
+
sort?: string | undefined;
|
|
81
|
+
start?: number | undefined;
|
|
82
|
+
view_op?: string | undefined;
|
|
83
|
+
no_cache?: boolean | undefined;
|
|
84
|
+
citation_id?: string | undefined;
|
|
85
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
86
|
+
//#endregion
|
|
87
|
+
export { serpapiGoogleScholarAuthor };
|
|
88
|
+
//# sourceMappingURL=google-scholar-author.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-author.d.mts","names":[],"sources":["../../src/actions/google-scholar-author.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAmE/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/google-scholar-author.ts
|
|
4
|
+
const SerpapiGoogleScholarAuthorInput = z.object({
|
|
5
|
+
hl: z.string().describe("Two-letter language code for the interface language (e.g., 'en' for English, 'es' for Spanish).").optional(),
|
|
6
|
+
num: z.number().int().describe("Number of results per page. Maximum 100, defaults to 20.").optional(),
|
|
7
|
+
sort: z.string().describe("Sort articles by 'title' or 'pubdate'. Default is by citation count.").optional(),
|
|
8
|
+
start: z.number().int().describe("Result offset for pagination. Defaults to 0.").optional(),
|
|
9
|
+
view_op: z.string().describe("View specific sections. Use 'view_citation' to view a specific citation or 'list_colleagues' to list colleagues.").optional(),
|
|
10
|
+
no_cache: z.boolean().describe("Force fresh results, ignoring cached data. Set to true to bypass cache.").optional(),
|
|
11
|
+
author_id: z.string().describe("Unique identifier of the author from Google Scholar. Required to fetch the author's profile."),
|
|
12
|
+
citation_id: z.string().describe("Required when view_op='view_citation'. Unique identifier for the specific citation to view.").optional()
|
|
13
|
+
});
|
|
14
|
+
const SerpapiGoogleScholarAuthor_ResearchInterestSchema = z.object({
|
|
15
|
+
link: z.string().describe("Google Scholar search URL for the interest").nullable(),
|
|
16
|
+
title: z.string().describe("Research interest category name").nullable(),
|
|
17
|
+
serpapi_link: z.string().describe("SerpApi endpoint URL for the interest").nullable()
|
|
18
|
+
});
|
|
19
|
+
const SerpapiGoogleScholarAuthor_AuthorInfoSchema = z.object({
|
|
20
|
+
name: z.string().describe("Researcher's full name").nullable().optional(),
|
|
21
|
+
email: z.string().describe("Contact email address").nullable().optional(),
|
|
22
|
+
interests: z.array(SerpapiGoogleScholarAuthor_ResearchInterestSchema).describe("Research interests with links").nullable().optional(),
|
|
23
|
+
thumbnail: z.string().describe("Profile image URL").nullable().optional(),
|
|
24
|
+
affiliations: z.string().describe("Institutional affiliations").nullable().optional()
|
|
25
|
+
});
|
|
26
|
+
const SerpapiGoogleScholarAuthor_ArticleSchema = z.object({
|
|
27
|
+
link: z.string().describe("Google Scholar citation link").nullable().optional(),
|
|
28
|
+
year: z.string().describe("Publication year").nullable().optional(),
|
|
29
|
+
title: z.string().describe("Publication title").nullable().optional(),
|
|
30
|
+
authors: z.string().describe("Co-author names").nullable().optional(),
|
|
31
|
+
cited_by: z.object({}).describe("Citation count and reference links").nullable().optional(),
|
|
32
|
+
citation_id: z.string().describe("Unique identifier for citing").nullable().optional(),
|
|
33
|
+
publication: z.string().describe("Journal/venue information").nullable().optional()
|
|
34
|
+
});
|
|
35
|
+
const SerpapiGoogleScholarAuthor_CitationGraphEntrySchema = z.object({
|
|
36
|
+
year: z.number().int().describe("Year of publication").nullable(),
|
|
37
|
+
citations: z.union([z.number().int(), z.string()])
|
|
38
|
+
});
|
|
39
|
+
const SerpapiGoogleScholarAuthor_CitationMetricValueSchema = z.object({ all: z.number().int().describe("All-time metric value").nullable() }).passthrough();
|
|
40
|
+
const SerpapiGoogleScholarAuthor_CitationTableRowSchema = z.object({
|
|
41
|
+
h_index: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional(),
|
|
42
|
+
citations: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional(),
|
|
43
|
+
i10_index: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional()
|
|
44
|
+
});
|
|
45
|
+
const SerpapiGoogleScholarAuthor_CitedByMetricsSchema = z.object({
|
|
46
|
+
graph: z.array(SerpapiGoogleScholarAuthor_CitationGraphEntrySchema).describe("Annual citation trends by year").nullable().optional(),
|
|
47
|
+
table: z.array(SerpapiGoogleScholarAuthor_CitationTableRowSchema).describe("H-index, i10-index, total citations (all-time and since specific year)").nullable().optional()
|
|
48
|
+
});
|
|
49
|
+
const SerpapiGoogleScholarAuthor_CoAuthorSchema = z.object({
|
|
50
|
+
link: z.string().describe("Link to co-author's profile").nullable().optional(),
|
|
51
|
+
name: z.string().describe("Co-author's name").nullable().optional(),
|
|
52
|
+
email: z.string().describe("Co-author's email").nullable().optional(),
|
|
53
|
+
author_id: z.string().describe("Co-author's unique identifier").nullable().optional(),
|
|
54
|
+
thumbnail: z.string().describe("Co-author's profile image").nullable().optional(),
|
|
55
|
+
affiliations: z.string().describe("Co-author's affiliations").nullable().optional()
|
|
56
|
+
});
|
|
57
|
+
const SerpapiGoogleScholarAuthor_SearchMetadataSchema = z.object({
|
|
58
|
+
id: z.string().describe("Internal SerpApi search identifier").nullable().optional(),
|
|
59
|
+
status: z.string().describe("Processing status (Processing/Success/Error)").nullable().optional(),
|
|
60
|
+
created_at: z.string().describe("Query timestamp").nullable().optional(),
|
|
61
|
+
processed_at: z.string().describe("Processing completion time").nullable().optional(),
|
|
62
|
+
json_endpoint: z.string().describe("URL to retrieve JSON results").nullable().optional(),
|
|
63
|
+
total_time_taken: z.number().describe("Processing duration in seconds").nullable().optional()
|
|
64
|
+
});
|
|
65
|
+
const SerpapiGoogleScholarAuthor_PaginationSchema = z.object({
|
|
66
|
+
next: z.string().describe("URL for next results page").nullable().optional(),
|
|
67
|
+
next_page_token: z.string().describe("Token for next page").nullable().optional()
|
|
68
|
+
});
|
|
69
|
+
const serpapiGoogleScholarAuthor = action("SERPAPI_GOOGLE_SCHOLAR_AUTHOR", {
|
|
70
|
+
slug: "serpapi-google-scholar-author",
|
|
71
|
+
name: "Google Scholar Author Profile",
|
|
72
|
+
description: "Scrapes full Google Scholar Author page including articles, citations, metrics, and co-authors. Use when you need detailed information about a specific researcher's publications and academic profile.",
|
|
73
|
+
input: SerpapiGoogleScholarAuthorInput,
|
|
74
|
+
output: z.object({
|
|
75
|
+
error: z.string().describe("Error message if request failed").nullable().optional(),
|
|
76
|
+
author: SerpapiGoogleScholarAuthor_AuthorInfoSchema.nullable().optional(),
|
|
77
|
+
articles: z.array(SerpapiGoogleScholarAuthor_ArticleSchema).describe("List of author's publications").nullable().optional(),
|
|
78
|
+
cited_by: SerpapiGoogleScholarAuthor_CitedByMetricsSchema.nullable().optional(),
|
|
79
|
+
co_authors: z.array(SerpapiGoogleScholarAuthor_CoAuthorSchema).describe("List of collaborators with their profiles").nullable().optional(),
|
|
80
|
+
public_access: z.object({}).describe("Open access availability metrics").nullable().optional(),
|
|
81
|
+
search_metadata: SerpapiGoogleScholarAuthor_SearchMetadataSchema.nullable().optional(),
|
|
82
|
+
search_parameters: z.object({}).describe("Parameters used for the search").nullable().optional(),
|
|
83
|
+
serpapi_pagination: SerpapiGoogleScholarAuthor_PaginationSchema.nullable().optional()
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
//#endregion
|
|
87
|
+
export { serpapiGoogleScholarAuthor };
|
|
88
|
+
|
|
89
|
+
//# sourceMappingURL=google-scholar-author.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-author.mjs","names":[],"sources":["../../src/actions/google-scholar-author.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGoogleScholarAuthorInput = z.object({\n hl: z.string().describe(\"Two-letter language code for the interface language (e.g., 'en' for English, 'es' for Spanish).\").optional(),\n num: z.number().int().describe(\"Number of results per page. Maximum 100, defaults to 20.\").optional(),\n sort: z.string().describe(\"Sort articles by 'title' or 'pubdate'. Default is by citation count.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Defaults to 0.\").optional(),\n view_op: z.string().describe(\"View specific sections. Use 'view_citation' to view a specific citation or 'list_colleagues' to list colleagues.\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results, ignoring cached data. Set to true to bypass cache.\").optional(),\n author_id: z.string().describe(\"Unique identifier of the author from Google Scholar. Required to fetch the author's profile.\"),\n citation_id: z.string().describe(\"Required when view_op='view_citation'. Unique identifier for the specific citation to view.\").optional(),\n});\nconst SerpapiGoogleScholarAuthor_ResearchInterestSchema = z.object({\n link: z.string().describe(\"Google Scholar search URL for the interest\").nullable(),\n title: z.string().describe(\"Research interest category name\").nullable(),\n serpapi_link: z.string().describe(\"SerpApi endpoint URL for the interest\").nullable(),\n});\nconst SerpapiGoogleScholarAuthor_AuthorInfoSchema = z.object({\n name: z.string().describe(\"Researcher's full name\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n interests: z.array(SerpapiGoogleScholarAuthor_ResearchInterestSchema).describe(\"Research interests with links\").nullable().optional(),\n thumbnail: z.string().describe(\"Profile image URL\").nullable().optional(),\n affiliations: z.string().describe(\"Institutional affiliations\").nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_ArticleSchema = z.object({\n link: z.string().describe(\"Google Scholar citation link\").nullable().optional(),\n year: z.string().describe(\"Publication year\").nullable().optional(),\n title: z.string().describe(\"Publication title\").nullable().optional(),\n authors: z.string().describe(\"Co-author names\").nullable().optional(),\n cited_by: z.object({}).describe(\"Citation count and reference links\").nullable().optional(),\n citation_id: z.string().describe(\"Unique identifier for citing\").nullable().optional(),\n publication: z.string().describe(\"Journal/venue information\").nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_CitationGraphEntrySchema = z.object({\n year: z.number().int().describe(\"Year of publication\").nullable(),\n citations: z.union([z.number().int(), z.string()]),\n});\nconst SerpapiGoogleScholarAuthor_CitationMetricValueSchema = z.object({\n all: z.number().int().describe(\"All-time metric value\").nullable(),\n}).passthrough();\nconst SerpapiGoogleScholarAuthor_CitationTableRowSchema = z.object({\n h_index: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional(),\n citations: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional(),\n i10_index: SerpapiGoogleScholarAuthor_CitationMetricValueSchema.nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_CitedByMetricsSchema = z.object({\n graph: z.array(SerpapiGoogleScholarAuthor_CitationGraphEntrySchema).describe(\"Annual citation trends by year\").nullable().optional(),\n table: z.array(SerpapiGoogleScholarAuthor_CitationTableRowSchema).describe(\"H-index, i10-index, total citations (all-time and since specific year)\").nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_CoAuthorSchema = z.object({\n link: z.string().describe(\"Link to co-author's profile\").nullable().optional(),\n name: z.string().describe(\"Co-author's name\").nullable().optional(),\n email: z.string().describe(\"Co-author's email\").nullable().optional(),\n author_id: z.string().describe(\"Co-author's unique identifier\").nullable().optional(),\n thumbnail: z.string().describe(\"Co-author's profile image\").nullable().optional(),\n affiliations: z.string().describe(\"Co-author's affiliations\").nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Internal SerpApi search identifier\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing/Success/Error)\").nullable().optional(),\n created_at: z.string().describe(\"Query timestamp\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion time\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve JSON results\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds\").nullable().optional(),\n});\nconst SerpapiGoogleScholarAuthor_PaginationSchema = z.object({\n next: z.string().describe(\"URL for next results page\").nullable().optional(),\n next_page_token: z.string().describe(\"Token for next page\").nullable().optional(),\n});\nexport const SerpapiGoogleScholarAuthorOutput = z.object({\n error: z.string().describe(\"Error message if request failed\").nullable().optional(),\n author: SerpapiGoogleScholarAuthor_AuthorInfoSchema.nullable().optional(),\n articles: z.array(SerpapiGoogleScholarAuthor_ArticleSchema).describe(\"List of author's publications\").nullable().optional(),\n cited_by: SerpapiGoogleScholarAuthor_CitedByMetricsSchema.nullable().optional(),\n co_authors: z.array(SerpapiGoogleScholarAuthor_CoAuthorSchema).describe(\"List of collaborators with their profiles\").nullable().optional(),\n public_access: z.object({}).describe(\"Open access availability metrics\").nullable().optional(),\n search_metadata: SerpapiGoogleScholarAuthor_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.object({}).describe(\"Parameters used for the search\").nullable().optional(),\n serpapi_pagination: SerpapiGoogleScholarAuthor_PaginationSchema.nullable().optional(),\n});\n\nexport const serpapiGoogleScholarAuthor = action(\"SERPAPI_GOOGLE_SCHOLAR_AUTHOR\", {\n slug: \"serpapi-google-scholar-author\",\n name: \"Google Scholar Author Profile\",\n description: \"Scrapes full Google Scholar Author page including articles, citations, metrics, and co-authors. Use when you need detailed information about a specific researcher's publications and academic profile.\",\n input: SerpapiGoogleScholarAuthorInput,\n output: SerpapiGoogleScholarAuthorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACpI,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,UAAU,EAAE,QAAQ,CAAC,C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ClF,CAAC;AAaD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,UAAU,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,iBAAiB,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/google-scholar-cite.ts
|
|
4
|
+
const SerpapiGoogleScholarCiteInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("The ID of an individual Google Scholar organic search result. This is required to fetch citation information for a specific paper."),
|
|
6
|
+
hl: zod.z.string().describe("Two-letter language code for localization (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).").optional(),
|
|
7
|
+
no_cache: zod.z.boolean().describe("Force fresh results, ignoring cached data. Set to true to bypass cache (cache expires after 1 hour).").optional()
|
|
8
|
+
});
|
|
9
|
+
const SerpapiGoogleScholarCite_LinkSchema = zod.z.object({
|
|
10
|
+
link: zod.z.string().describe("Download URL for the citation in this format").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const SerpapiGoogleScholarCite_CitationSchema = zod.z.object({
|
|
14
|
+
title: zod.z.string().describe("The name of the citation format (e.g., MLA, APA, Chicago)").nullable().optional(),
|
|
15
|
+
snippet: zod.z.string().describe("The formatted citation text in the specified style").nullable().optional()
|
|
16
|
+
});
|
|
17
|
+
const SerpapiGoogleScholarCite_SearchMetadataSchema = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("Internal SerpApi search identifier").nullable().optional(),
|
|
19
|
+
status: zod.z.string().describe("Processing status (Processing/Success/Error)").nullable().optional(),
|
|
20
|
+
created_at: zod.z.string().describe("Query timestamp").nullable().optional(),
|
|
21
|
+
processed_at: zod.z.string().describe("Processing completion time").nullable().optional(),
|
|
22
|
+
json_endpoint: zod.z.string().describe("URL to retrieve JSON results").nullable().optional(),
|
|
23
|
+
raw_html_file: zod.z.string().describe("URL to download raw HTML response").nullable().optional(),
|
|
24
|
+
total_time_taken: zod.z.number().describe("Processing duration in seconds").nullable().optional(),
|
|
25
|
+
google_scholar_cite_url: zod.z.string().describe("Direct URL to Google Scholar citation page").nullable().optional()
|
|
26
|
+
});
|
|
27
|
+
const SerpapiGoogleScholarCiteOutput = zod.z.object({
|
|
28
|
+
error: zod.z.string().describe("Error message if request failed").nullable().optional(),
|
|
29
|
+
links: zod.z.array(SerpapiGoogleScholarCite_LinkSchema).describe("Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)").nullable().optional(),
|
|
30
|
+
citations: zod.z.array(SerpapiGoogleScholarCite_CitationSchema).describe("List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text").nullable().optional(),
|
|
31
|
+
search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),
|
|
32
|
+
search_parameters: zod.z.object({}).describe("Parameters used for the search").nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
const serpapiGoogleScholarCite = require_action.action("SERPAPI_GOOGLE_SCHOLAR_CITE", {
|
|
35
|
+
slug: "serpapi-google-scholar-cite",
|
|
36
|
+
name: "Google Scholar Cite",
|
|
37
|
+
description: "Scrapes full Google Scholar Citations with multiple citation formats. Retrieves MLA, APA, Chicago, Harvard, and Vancouver style citations along with download links for BibTeX, EndNote, RefMan, and RefWorks. Use when you need formatted citations for a specific research paper identified by its Google Scholar ID.",
|
|
38
|
+
input: SerpapiGoogleScholarCiteInput,
|
|
39
|
+
output: SerpapiGoogleScholarCiteOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.serpapiGoogleScholarCite = serpapiGoogleScholarCite;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=google-scholar-cite.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-cite.cjs","names":["z","action"],"sources":["../../src/actions/google-scholar-cite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGoogleScholarCiteInput = z.object({\n q: z.string().describe(\"The ID of an individual Google Scholar organic search result. This is required to fetch citation information for a specific paper.\"),\n hl: z.string().describe(\"Two-letter language code for localization (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results, ignoring cached data. Set to true to bypass cache (cache expires after 1 hour).\").optional(),\n});\nconst SerpapiGoogleScholarCite_LinkSchema = z.object({\n link: z.string().describe(\"Download URL for the citation in this format\").nullable().optional(),\n name: z.string().describe(\"The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)\").nullable().optional(),\n});\nconst SerpapiGoogleScholarCite_CitationSchema = z.object({\n title: z.string().describe(\"The name of the citation format (e.g., MLA, APA, Chicago)\").nullable().optional(),\n snippet: z.string().describe(\"The formatted citation text in the specified style\").nullable().optional(),\n});\nconst SerpapiGoogleScholarCite_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Internal SerpApi search identifier\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing/Success/Error)\").nullable().optional(),\n created_at: z.string().describe(\"Query timestamp\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion time\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve JSON results\").nullable().optional(),\n raw_html_file: z.string().describe(\"URL to download raw HTML response\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds\").nullable().optional(),\n google_scholar_cite_url: z.string().describe(\"Direct URL to Google Scholar citation page\").nullable().optional(),\n});\nexport const SerpapiGoogleScholarCiteOutput = z.object({\n error: z.string().describe(\"Error message if request failed\").nullable().optional(),\n links: z.array(SerpapiGoogleScholarCite_LinkSchema).describe(\"Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)\").nullable().optional(),\n citations: z.array(SerpapiGoogleScholarCite_CitationSchema).describe(\"List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text\").nullable().optional(),\n search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.object({}).describe(\"Parameters used for the search\").nullable().optional(),\n});\n\nexport const serpapiGoogleScholarCite = action(\"SERPAPI_GOOGLE_SCHOLAR_CITE\", {\n slug: \"serpapi-google-scholar-cite\",\n name: \"Google Scholar Cite\",\n description: \"Scrapes full Google Scholar Citations with multiple citation formats. Retrieves MLA, APA, Chicago, Harvard, and Vancouver style citations along with download links for BibTeX, EndNote, RefMan, and RefWorks. Use when you need formatted citations for a specific research paper identified by its Google Scholar ID.\",\n input: SerpapiGoogleScholarCiteInput,\n output: SerpapiGoogleScholarCiteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CA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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,iBAAiB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACnF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/google-scholar-cite.d.ts
|
|
4
|
+
declare const SerpapiGoogleScholarCiteInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
|
|
10
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
json_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
google_scholar_cite_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const serpapiGoogleScholarCite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
q: string;
|
|
33
|
+
hl?: string | undefined;
|
|
34
|
+
no_cache?: boolean | undefined;
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { serpapiGoogleScholarCite };
|
|
38
|
+
//# sourceMappingURL=google-scholar-cite.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-cite.d.cts","names":[],"sources":["../../src/actions/google-scholar-cite.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAuB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/google-scholar-cite.d.ts
|
|
4
|
+
declare const SerpapiGoogleScholarCiteInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
|
|
10
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
json_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
google_scholar_cite_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const serpapiGoogleScholarCite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
q: string;
|
|
33
|
+
hl?: string | undefined;
|
|
34
|
+
no_cache?: boolean | undefined;
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { serpapiGoogleScholarCite };
|
|
38
|
+
//# sourceMappingURL=google-scholar-cite.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-cite.d.mts","names":[],"sources":["../../src/actions/google-scholar-cite.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAuB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/google-scholar-cite.ts
|
|
4
|
+
const SerpapiGoogleScholarCiteInput = z.object({
|
|
5
|
+
q: z.string().describe("The ID of an individual Google Scholar organic search result. This is required to fetch citation information for a specific paper."),
|
|
6
|
+
hl: z.string().describe("Two-letter language code for localization (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).").optional(),
|
|
7
|
+
no_cache: z.boolean().describe("Force fresh results, ignoring cached data. Set to true to bypass cache (cache expires after 1 hour).").optional()
|
|
8
|
+
});
|
|
9
|
+
const SerpapiGoogleScholarCite_LinkSchema = z.object({
|
|
10
|
+
link: z.string().describe("Download URL for the citation in this format").nullable().optional(),
|
|
11
|
+
name: z.string().describe("The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const SerpapiGoogleScholarCite_CitationSchema = z.object({
|
|
14
|
+
title: z.string().describe("The name of the citation format (e.g., MLA, APA, Chicago)").nullable().optional(),
|
|
15
|
+
snippet: z.string().describe("The formatted citation text in the specified style").nullable().optional()
|
|
16
|
+
});
|
|
17
|
+
const SerpapiGoogleScholarCite_SearchMetadataSchema = z.object({
|
|
18
|
+
id: z.string().describe("Internal SerpApi search identifier").nullable().optional(),
|
|
19
|
+
status: z.string().describe("Processing status (Processing/Success/Error)").nullable().optional(),
|
|
20
|
+
created_at: z.string().describe("Query timestamp").nullable().optional(),
|
|
21
|
+
processed_at: z.string().describe("Processing completion time").nullable().optional(),
|
|
22
|
+
json_endpoint: z.string().describe("URL to retrieve JSON results").nullable().optional(),
|
|
23
|
+
raw_html_file: z.string().describe("URL to download raw HTML response").nullable().optional(),
|
|
24
|
+
total_time_taken: z.number().describe("Processing duration in seconds").nullable().optional(),
|
|
25
|
+
google_scholar_cite_url: z.string().describe("Direct URL to Google Scholar citation page").nullable().optional()
|
|
26
|
+
});
|
|
27
|
+
const serpapiGoogleScholarCite = action("SERPAPI_GOOGLE_SCHOLAR_CITE", {
|
|
28
|
+
slug: "serpapi-google-scholar-cite",
|
|
29
|
+
name: "Google Scholar Cite",
|
|
30
|
+
description: "Scrapes full Google Scholar Citations with multiple citation formats. Retrieves MLA, APA, Chicago, Harvard, and Vancouver style citations along with download links for BibTeX, EndNote, RefMan, and RefWorks. Use when you need formatted citations for a specific research paper identified by its Google Scholar ID.",
|
|
31
|
+
input: SerpapiGoogleScholarCiteInput,
|
|
32
|
+
output: z.object({
|
|
33
|
+
error: z.string().describe("Error message if request failed").nullable().optional(),
|
|
34
|
+
links: z.array(SerpapiGoogleScholarCite_LinkSchema).describe("Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)").nullable().optional(),
|
|
35
|
+
citations: z.array(SerpapiGoogleScholarCite_CitationSchema).describe("List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text").nullable().optional(),
|
|
36
|
+
search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),
|
|
37
|
+
search_parameters: z.object({}).describe("Parameters used for the search").nullable().optional()
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { serpapiGoogleScholarCite };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=google-scholar-cite.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-scholar-cite.mjs","names":[],"sources":["../../src/actions/google-scholar-cite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGoogleScholarCiteInput = z.object({\n q: z.string().describe(\"The ID of an individual Google Scholar organic search result. This is required to fetch citation information for a specific paper.\"),\n hl: z.string().describe(\"Two-letter language code for localization (e.g., 'en' for English, 'es' for Spanish, 'fr' for French).\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results, ignoring cached data. Set to true to bypass cache (cache expires after 1 hour).\").optional(),\n});\nconst SerpapiGoogleScholarCite_LinkSchema = z.object({\n link: z.string().describe(\"Download URL for the citation in this format\").nullable().optional(),\n name: z.string().describe(\"The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)\").nullable().optional(),\n});\nconst SerpapiGoogleScholarCite_CitationSchema = z.object({\n title: z.string().describe(\"The name of the citation format (e.g., MLA, APA, Chicago)\").nullable().optional(),\n snippet: z.string().describe(\"The formatted citation text in the specified style\").nullable().optional(),\n});\nconst SerpapiGoogleScholarCite_SearchMetadataSchema = z.object({\n id: z.string().describe(\"Internal SerpApi search identifier\").nullable().optional(),\n status: z.string().describe(\"Processing status (Processing/Success/Error)\").nullable().optional(),\n created_at: z.string().describe(\"Query timestamp\").nullable().optional(),\n processed_at: z.string().describe(\"Processing completion time\").nullable().optional(),\n json_endpoint: z.string().describe(\"URL to retrieve JSON results\").nullable().optional(),\n raw_html_file: z.string().describe(\"URL to download raw HTML response\").nullable().optional(),\n total_time_taken: z.number().describe(\"Processing duration in seconds\").nullable().optional(),\n google_scholar_cite_url: z.string().describe(\"Direct URL to Google Scholar citation page\").nullable().optional(),\n});\nexport const SerpapiGoogleScholarCiteOutput = z.object({\n error: z.string().describe(\"Error message if request failed\").nullable().optional(),\n links: z.array(SerpapiGoogleScholarCite_LinkSchema).describe(\"Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)\").nullable().optional(),\n citations: z.array(SerpapiGoogleScholarCite_CitationSchema).describe(\"List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text\").nullable().optional(),\n search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.object({}).describe(\"Parameters used for the search\").nullable().optional(),\n});\n\nexport const serpapiGoogleScholarCite = action(\"SERPAPI_GOOGLE_SCHOLAR_CITE\", {\n slug: \"serpapi-google-scholar-cite\",\n name: \"Google Scholar Cite\",\n description: \"Scrapes full Google Scholar Citations with multiple citation formats. Retrieves MLA, APA, Chicago, Harvard, and Vancouver style citations along with download links for BibTeX, EndNote, RefMan, and RefWorks. Use when you need formatted citations for a specific research paper identified by its Google Scholar ID.\",\n input: SerpapiGoogleScholarCiteInput,\n output: SerpapiGoogleScholarCiteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAA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AAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;AASD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,iBAAiB,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACnF,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/google-videos-light.ts
|
|
4
|
+
const SerpapiGoogleVideosLightInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("Search query for Google Videos. Supports advanced operators like inurl:, site:, intitle:."),
|
|
6
|
+
gl: zod.z.string().describe("Two-letter country code to define the country for the search.").optional(),
|
|
7
|
+
hl: zod.z.string().describe("Two-letter language code to define the language for the search interface.").optional(),
|
|
8
|
+
lr: zod.z.string().describe("Language restrictions using lang_{code} format, delimited by pipe |.").optional(),
|
|
9
|
+
tbs: zod.z.string().describe("Advanced search parameters for filtering by video duration, upload date, quality, or source.").optional(),
|
|
10
|
+
nfpr: zod.z.number().int().describe("Exclude auto-corrected results. Set to 1 to exclude, 0 to include. Defaults to 0.").optional(),
|
|
11
|
+
safe: zod.z.string().describe("Adult content filter. Set to 'active' to filter adult content or 'off' to disable.").optional(),
|
|
12
|
+
uule: zod.z.string().describe("Google-encoded location parameter. Cannot be used with location parameter.").optional(),
|
|
13
|
+
start: zod.z.number().int().describe("Result offset for pagination. Use 0 for page 1, 10 for page 2, etc.").optional(),
|
|
14
|
+
device: zod.z.string().describe("Device type for the search. Options: desktop (default), tablet, mobile.").optional(),
|
|
15
|
+
engine: zod.z.string().default("google_videos_light").describe("Set parameter to google_videos_light to use the Google Videos Light API engine.").optional(),
|
|
16
|
+
filter: zod.z.number().int().describe("Control Similar Results filter. Set to 1 to enable (default), 0 to disable.").optional(),
|
|
17
|
+
output: zod.z.string().describe("Output format. Set to json (default) for structured JSON or html for raw HTML.").optional(),
|
|
18
|
+
location: zod.z.string().describe("Geographic location for the search origin. Recommended to specify at city level. Cannot be used with uule parameter.").optional(),
|
|
19
|
+
no_cache: zod.z.boolean().describe("Force fresh results even if cached version exists. Defaults to false.").optional(),
|
|
20
|
+
async_req: zod.z.boolean().describe("Enable asynchronous submission mode. Defaults to false (maintains connection).").optional(),
|
|
21
|
+
zero_trace: zod.z.boolean().describe("Enterprise only. Enable ZeroTrace mode. Defaults to false.").optional(),
|
|
22
|
+
google_domain: zod.z.string().describe("Google domain to use for the search. Defaults to google.com.").optional(),
|
|
23
|
+
json_restrictor: zod.z.string().describe("Restrict specific output fields in the JSON response for smaller payload size.").optional()
|
|
24
|
+
});
|
|
25
|
+
const SerpapiGoogleVideosLight_FilterOptionItemSchema = zod.z.object({
|
|
26
|
+
text: zod.z.string().describe("Filter option text.").nullable().optional(),
|
|
27
|
+
serpapi_link: zod.z.string().describe("SerpApi link to apply this filter.").nullable().optional()
|
|
28
|
+
});
|
|
29
|
+
const SerpapiGoogleVideosLight_FilterOptionSchema = zod.z.object({ options: zod.z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe("List of filter options within this filter group.").nullable().optional() });
|
|
30
|
+
const SerpapiGoogleVideosLight_PaginationSchema = zod.z.object({
|
|
31
|
+
next: zod.z.string().describe("SerpApi link to next page of results.").nullable().optional(),
|
|
32
|
+
current: zod.z.number().int().describe("Current page number.").nullable().optional(),
|
|
33
|
+
previous: zod.z.string().describe("SerpApi link to previous page of results.").nullable().optional()
|
|
34
|
+
});
|
|
35
|
+
const SerpapiGoogleVideosLight_VideoResultSchema = zod.z.object({
|
|
36
|
+
date: zod.z.string().describe("Upload date or relative time (e.g., '2 days ago').").nullable().optional(),
|
|
37
|
+
link: zod.z.string().describe("URL to the video.").nullable().optional(),
|
|
38
|
+
title: zod.z.string().describe("Title of the video.").nullable().optional(),
|
|
39
|
+
channel: zod.z.boolean().describe("Indicates if the result is a channel rather than an individual video.").nullable().optional(),
|
|
40
|
+
snippet: zod.z.string().describe("Brief description or excerpt from the video.").nullable().optional(),
|
|
41
|
+
duration: zod.z.string().describe("Video duration (e.g., '49:09', '5:32').").nullable().optional(),
|
|
42
|
+
position: zod.z.number().int().describe("Position of the video result on the search page.").nullable().optional(),
|
|
43
|
+
thumbnail: zod.z.string().describe("URL to the video thumbnail image.").nullable().optional(),
|
|
44
|
+
displayed_link: zod.z.string().describe("Formatted URL for display purposes.").nullable().optional()
|
|
45
|
+
});
|
|
46
|
+
const SerpapiGoogleVideosLight_RelatedSearchSchema = zod.z.object({
|
|
47
|
+
text: zod.z.string().describe("Related search query text.").nullable().optional(),
|
|
48
|
+
serpapi_link: zod.z.string().describe("SerpApi link to execute the related search.").nullable().optional()
|
|
49
|
+
});
|
|
50
|
+
const SerpapiGoogleVideosLightOutput = zod.z.object({
|
|
51
|
+
error: zod.z.string().describe("Error message if the search failed.").nullable().optional(),
|
|
52
|
+
filters: zod.z.array(SerpapiGoogleVideosLight_FilterOptionSchema).describe("Available filter options for refining the search.").nullable().optional(),
|
|
53
|
+
pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),
|
|
54
|
+
video_results: zod.z.array(SerpapiGoogleVideosLight_VideoResultSchema).describe("List of video results with titles, links, thumbnails, snippets, durations, and upload dates.").nullable().optional(),
|
|
55
|
+
search_metadata: zod.z.object({}).describe("Metadata about the search including ID, status, JSON endpoint, processing time, and timestamps.").nullable().optional(),
|
|
56
|
+
related_searches: zod.z.array(SerpapiGoogleVideosLight_RelatedSearchSchema).describe("Related search queries with SerpApi links.").nullable().optional(),
|
|
57
|
+
search_parameters: zod.z.object({}).describe("Parameters used for the search request.").nullable().optional(),
|
|
58
|
+
search_information: zod.z.object({}).describe("Information about the search including query displayed and video results state.").nullable().optional(),
|
|
59
|
+
serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional()
|
|
60
|
+
});
|
|
61
|
+
const serpapiGoogleVideosLight = require_action.action("SERPAPI_GOOGLE_VIDEOS_LIGHT", {
|
|
62
|
+
slug: "serpapi-google-videos-light",
|
|
63
|
+
name: "Google Videos Light Search",
|
|
64
|
+
description: "Tool to scrape Google Videos results using SerpApi's ultra-fast Google Videos Light API. Use when you need video titles, links, thumbnails, snippets, upload dates, and durations from Google Videos search. This lighter version excludes rich results for faster response times.",
|
|
65
|
+
input: SerpapiGoogleVideosLightInput,
|
|
66
|
+
output: SerpapiGoogleVideosLightOutput
|
|
67
|
+
});
|
|
68
|
+
//#endregion
|
|
69
|
+
exports.serpapiGoogleVideosLight = serpapiGoogleVideosLight;
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=google-videos-light.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-videos-light.cjs","names":["z","action"],"sources":["../../src/actions/google-videos-light.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiGoogleVideosLightInput = z.object({\n q: z.string().describe(\"Search query for Google Videos. Supports advanced 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 lr: z.string().describe(\"Language restrictions using lang_{code} format, delimited by pipe |.\").optional(),\n tbs: z.string().describe(\"Advanced search parameters for filtering by video duration, upload date, quality, or source.\").optional(),\n nfpr: z.number().int().describe(\"Exclude auto-corrected results. Set to 1 to exclude, 0 to include. Defaults to 0.\").optional(),\n safe: z.string().describe(\"Adult content filter. Set to 'active' to filter adult content or 'off' to disable.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location parameter.\").optional(),\n start: z.number().int().describe(\"Result offset for pagination. Use 0 for page 1, 10 for page 2, etc.\").optional(),\n device: z.string().describe(\"Device type for the search. Options: desktop (default), tablet, mobile.\").optional(),\n engine: z.string().default(\"google_videos_light\").describe(\"Set parameter to google_videos_light to use the Google Videos Light API engine.\").optional(),\n filter: z.number().int().describe(\"Control Similar Results filter. Set to 1 to enable (default), 0 to disable.\").optional(),\n output: z.string().describe(\"Output format. Set to json (default) for structured JSON or html for raw HTML.\").optional(),\n location: z.string().describe(\"Geographic location for the search origin. Recommended to specify at city level. Cannot be used with uule parameter.\").optional(),\n no_cache: z.boolean().describe(\"Force fresh results even if cached version exists. Defaults to false.\").optional(),\n async_req: z.boolean().describe(\"Enable asynchronous submission mode. Defaults to false (maintains connection).\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Enable ZeroTrace mode. Defaults to false.\").optional(),\n google_domain: z.string().describe(\"Google domain to use for the search. Defaults to google.com.\").optional(),\n json_restrictor: z.string().describe(\"Restrict specific output fields in the JSON response for smaller payload size.\").optional(),\n});\nconst SerpapiGoogleVideosLight_FilterOptionItemSchema = z.object({\n text: z.string().describe(\"Filter option text.\").nullable().optional(),\n serpapi_link: z.string().describe(\"SerpApi link to apply this filter.\").nullable().optional(),\n});\nconst SerpapiGoogleVideosLight_FilterOptionSchema = z.object({\n options: z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe(\"List of filter options within this filter group.\").nullable().optional(),\n});\nconst SerpapiGoogleVideosLight_PaginationSchema = z.object({\n next: z.string().describe(\"SerpApi link to next page of results.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n previous: z.string().describe(\"SerpApi link to previous page of results.\").nullable().optional(),\n});\nconst SerpapiGoogleVideosLight_VideoResultSchema = z.object({\n date: z.string().describe(\"Upload date or relative time (e.g., '2 days ago').\").nullable().optional(),\n link: z.string().describe(\"URL to the video.\").nullable().optional(),\n title: z.string().describe(\"Title of the video.\").nullable().optional(),\n channel: z.boolean().describe(\"Indicates if the result is a channel rather than an individual video.\").nullable().optional(),\n snippet: z.string().describe(\"Brief description or excerpt from the video.\").nullable().optional(),\n duration: z.string().describe(\"Video duration (e.g., '49:09', '5:32').\").nullable().optional(),\n position: z.number().int().describe(\"Position of the video result on the search page.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL to the video thumbnail image.\").nullable().optional(),\n displayed_link: z.string().describe(\"Formatted URL for display purposes.\").nullable().optional(),\n});\nconst SerpapiGoogleVideosLight_RelatedSearchSchema = z.object({\n text: z.string().describe(\"Related search query text.\").nullable().optional(),\n serpapi_link: z.string().describe(\"SerpApi link to execute the related search.\").nullable().optional(),\n});\nexport const SerpapiGoogleVideosLightOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n filters: z.array(SerpapiGoogleVideosLight_FilterOptionSchema).describe(\"Available filter options for refining the search.\").nullable().optional(),\n pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),\n video_results: z.array(SerpapiGoogleVideosLight_VideoResultSchema).describe(\"List of video results with titles, links, thumbnails, snippets, durations, and upload dates.\").nullable().optional(),\n search_metadata: z.object({}).describe(\"Metadata about the search including ID, status, JSON endpoint, processing time, and timestamps.\").nullable().optional(),\n related_searches: z.array(SerpapiGoogleVideosLight_RelatedSearchSchema).describe(\"Related search queries with SerpApi links.\").nullable().optional(),\n search_parameters: z.object({}).describe(\"Parameters used for the search request.\").nullable().optional(),\n search_information: z.object({}).describe(\"Information about the search including query displayed and video results state.\").nullable().optional(),\n serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),\n});\n\nexport const serpapiGoogleVideosLight = action(\"SERPAPI_GOOGLE_VIDEOS_LIGHT\", {\n slug: \"serpapi-google-videos-light\",\n name: \"Google Videos Light Search\",\n description: \"Tool to scrape Google Videos results using SerpApi's ultra-fast Google Videos Light API. Use when you need video titles, links, thumbnails, snippets, upload dates, and durations from Google Videos search. This lighter version excludes rich results for faster response times.\",\n input: SerpapiGoogleVideosLightInput,\n output: SerpapiGoogleVideosLightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAClH,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,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAA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
|
|
3
|
+
//#region src/actions/google-videos-light.d.ts
|
|
4
|
+
declare const SerpapiGoogleVideosLightInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
gl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lr: z.ZodOptional<z.ZodString>;
|
|
9
|
+
tbs: z.ZodOptional<z.ZodString>;
|
|
10
|
+
nfpr: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
safe: z.ZodOptional<z.ZodString>;
|
|
12
|
+
uule: z.ZodOptional<z.ZodString>;
|
|
13
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
device: z.ZodOptional<z.ZodString>;
|
|
15
|
+
engine: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
16
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
output: z.ZodOptional<z.ZodString>;
|
|
18
|
+
location: z.ZodOptional<z.ZodString>;
|
|
19
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
async_req: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
zero_trace: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
google_domain: z.ZodOptional<z.ZodString>;
|
|
23
|
+
json_restrictor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const SerpapiGoogleVideosLightOutput: z.ZodObject<{
|
|
26
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
filters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>>>>;
|
|
32
|
+
}, z.core.$strip>>>>;
|
|
33
|
+
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
video_results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
channel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
displayed_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$strip>>>>;
|
|
49
|
+
search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
50
|
+
related_searches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
51
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
}, z.core.$strip>>>>;
|
|
54
|
+
search_parameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
55
|
+
search_information: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
56
|
+
serpapi_pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const serpapiGoogleVideosLight: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
|
+
q: string;
|
|
64
|
+
gl?: string | undefined;
|
|
65
|
+
hl?: string | undefined;
|
|
66
|
+
lr?: string | undefined;
|
|
67
|
+
tbs?: string | undefined;
|
|
68
|
+
nfpr?: number | undefined;
|
|
69
|
+
safe?: string | undefined;
|
|
70
|
+
uule?: string | undefined;
|
|
71
|
+
start?: number | undefined;
|
|
72
|
+
device?: string | undefined;
|
|
73
|
+
engine?: string | undefined;
|
|
74
|
+
filter?: number | undefined;
|
|
75
|
+
output?: string | undefined;
|
|
76
|
+
location?: string | undefined;
|
|
77
|
+
no_cache?: boolean | undefined;
|
|
78
|
+
async_req?: boolean | undefined;
|
|
79
|
+
zero_trace?: boolean | undefined;
|
|
80
|
+
google_domain?: string | undefined;
|
|
81
|
+
json_restrictor?: string | undefined;
|
|
82
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
83
|
+
//#endregion
|
|
84
|
+
export { serpapiGoogleVideosLight };
|
|
85
|
+
//# sourceMappingURL=google-videos-light.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-videos-light.d.cts","names":[],"sources":["../../src/actions/google-videos-light.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
|