@keystrokehq/serpapi 0.1.2 → 0.1.3

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.
Files changed (289) hide show
  1. package/dist/actions/baidu-search.cjs +1 -1
  2. package/dist/actions/baidu-search.cjs.map +1 -1
  3. package/dist/actions/baidu-search.d.cts +1 -1
  4. package/dist/actions/baidu-search.d.mts +1 -1
  5. package/dist/actions/baidu-search.mjs +1 -1
  6. package/dist/actions/baidu-search.mjs.map +1 -1
  7. package/dist/actions/bing-maps.cjs +15 -15
  8. package/dist/actions/bing-maps.cjs.map +1 -1
  9. package/dist/actions/bing-maps.d.cts +16 -16
  10. package/dist/actions/bing-maps.d.mts +16 -16
  11. package/dist/actions/bing-maps.mjs +15 -15
  12. package/dist/actions/bing-maps.mjs.map +1 -1
  13. package/dist/actions/bing-search.cjs +1 -1
  14. package/dist/actions/bing-search.cjs.map +1 -1
  15. package/dist/actions/bing-search.d.cts +1 -1
  16. package/dist/actions/bing-search.d.mts +1 -1
  17. package/dist/actions/bing-search.mjs +1 -1
  18. package/dist/actions/bing-search.mjs.map +1 -1
  19. package/dist/actions/duck-duck-go-light-search.cjs +7 -7
  20. package/dist/actions/duck-duck-go-light-search.cjs.map +1 -1
  21. package/dist/actions/duck-duck-go-light-search.d.cts +7 -7
  22. package/dist/actions/duck-duck-go-light-search.d.mts +7 -7
  23. package/dist/actions/duck-duck-go-light-search.mjs +7 -7
  24. package/dist/actions/duck-duck-go-light-search.mjs.map +1 -1
  25. package/dist/actions/duck-duck-go-maps.cjs +9 -9
  26. package/dist/actions/duck-duck-go-maps.cjs.map +1 -1
  27. package/dist/actions/duck-duck-go-maps.d.cts +9 -9
  28. package/dist/actions/duck-duck-go-maps.d.mts +9 -9
  29. package/dist/actions/duck-duck-go-maps.mjs +9 -9
  30. package/dist/actions/duck-duck-go-maps.mjs.map +1 -1
  31. package/dist/actions/duck-duck-go-search.cjs +15 -15
  32. package/dist/actions/duck-duck-go-search.cjs.map +1 -1
  33. package/dist/actions/duck-duck-go-search.d.cts +16 -16
  34. package/dist/actions/duck-duck-go-search.d.mts +16 -16
  35. package/dist/actions/duck-duck-go-search.mjs +15 -15
  36. package/dist/actions/duck-duck-go-search.mjs.map +1 -1
  37. package/dist/actions/ebay-search.cjs +12 -12
  38. package/dist/actions/ebay-search.cjs.map +1 -1
  39. package/dist/actions/ebay-search.d.cts +13 -13
  40. package/dist/actions/ebay-search.d.mts +13 -13
  41. package/dist/actions/ebay-search.mjs +12 -12
  42. package/dist/actions/ebay-search.mjs.map +1 -1
  43. package/dist/actions/event-search.cjs +10 -10
  44. package/dist/actions/event-search.cjs.map +1 -1
  45. package/dist/actions/event-search.d.cts +10 -10
  46. package/dist/actions/event-search.d.mts +10 -10
  47. package/dist/actions/event-search.mjs +10 -10
  48. package/dist/actions/event-search.mjs.map +1 -1
  49. package/dist/actions/finance-search.cjs +28 -28
  50. package/dist/actions/finance-search.cjs.map +1 -1
  51. package/dist/actions/finance-search.d.cts +44 -44
  52. package/dist/actions/finance-search.d.mts +44 -44
  53. package/dist/actions/finance-search.mjs +28 -28
  54. package/dist/actions/finance-search.mjs.map +1 -1
  55. package/dist/actions/get-available-location-options-for-google-searches.cjs +2 -2
  56. package/dist/actions/get-available-location-options-for-google-searches.cjs.map +1 -1
  57. package/dist/actions/get-available-location-options-for-google-searches.d.cts +2 -2
  58. package/dist/actions/get-available-location-options-for-google-searches.d.mts +2 -2
  59. package/dist/actions/get-available-location-options-for-google-searches.mjs +2 -2
  60. package/dist/actions/get-available-location-options-for-google-searches.mjs.map +1 -1
  61. package/dist/actions/get-facebook-profile.cjs +11 -11
  62. package/dist/actions/get-facebook-profile.cjs.map +1 -1
  63. package/dist/actions/get-facebook-profile.d.cts +11 -11
  64. package/dist/actions/get-facebook-profile.d.mts +11 -11
  65. package/dist/actions/get-facebook-profile.mjs +11 -11
  66. package/dist/actions/get-facebook-profile.mjs.map +1 -1
  67. package/dist/actions/get-google-about-this-result.cjs +14 -14
  68. package/dist/actions/get-google-about-this-result.cjs.map +1 -1
  69. package/dist/actions/get-google-about-this-result.d.cts +14 -14
  70. package/dist/actions/get-google-about-this-result.d.mts +14 -14
  71. package/dist/actions/get-google-about-this-result.mjs +14 -14
  72. package/dist/actions/get-google-about-this-result.mjs.map +1 -1
  73. package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs +4 -4
  74. package/dist/actions/get-google-hotels-autocomplete-suggestions.cjs.map +1 -1
  75. package/dist/actions/get-google-hotels-autocomplete-suggestions.d.cts +4 -4
  76. package/dist/actions/get-google-hotels-autocomplete-suggestions.d.mts +4 -4
  77. package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs +4 -4
  78. package/dist/actions/get-google-hotels-autocomplete-suggestions.mjs.map +1 -1
  79. package/dist/actions/get-google-images-related-content.cjs +5 -5
  80. package/dist/actions/get-google-images-related-content.cjs.map +1 -1
  81. package/dist/actions/get-google-images-related-content.d.cts +5 -5
  82. package/dist/actions/get-google-images-related-content.d.mts +5 -5
  83. package/dist/actions/get-google-images-related-content.mjs +5 -5
  84. package/dist/actions/get-google-images-related-content.mjs.map +1 -1
  85. package/dist/actions/get-google-patent-details.cjs +14 -14
  86. package/dist/actions/get-google-patent-details.cjs.map +1 -1
  87. package/dist/actions/get-google-patent-details.d.cts +15 -15
  88. package/dist/actions/get-google-patent-details.d.mts +15 -15
  89. package/dist/actions/get-google-patent-details.mjs +14 -14
  90. package/dist/actions/get-google-patent-details.mjs.map +1 -1
  91. package/dist/actions/get-search-archive.cjs +10 -10
  92. package/dist/actions/get-search-archive.cjs.map +1 -1
  93. package/dist/actions/get-search-archive.d.cts +10 -10
  94. package/dist/actions/get-search-archive.d.mts +10 -10
  95. package/dist/actions/get-search-archive.mjs +10 -10
  96. package/dist/actions/get-search-archive.mjs.map +1 -1
  97. package/dist/actions/google-domains-list.cjs +2 -2
  98. package/dist/actions/google-domains-list.cjs.map +1 -1
  99. package/dist/actions/google-domains-list.d.cts +2 -2
  100. package/dist/actions/google-domains-list.d.mts +2 -2
  101. package/dist/actions/google-domains-list.mjs +2 -2
  102. package/dist/actions/google-domains-list.mjs.map +1 -1
  103. package/dist/actions/google-forums-search.cjs +13 -13
  104. package/dist/actions/google-forums-search.cjs.map +1 -1
  105. package/dist/actions/google-forums-search.d.cts +13 -13
  106. package/dist/actions/google-forums-search.d.mts +13 -13
  107. package/dist/actions/google-forums-search.mjs +13 -13
  108. package/dist/actions/google-forums-search.mjs.map +1 -1
  109. package/dist/actions/google-jobs-search.cjs +10 -10
  110. package/dist/actions/google-jobs-search.cjs.map +1 -1
  111. package/dist/actions/google-jobs-search.d.cts +10 -10
  112. package/dist/actions/google-jobs-search.d.mts +10 -10
  113. package/dist/actions/google-jobs-search.mjs +10 -10
  114. package/dist/actions/google-jobs-search.mjs.map +1 -1
  115. package/dist/actions/google-lens-search.cjs +6 -6
  116. package/dist/actions/google-lens-search.cjs.map +1 -1
  117. package/dist/actions/google-lens-search.d.cts +6 -6
  118. package/dist/actions/google-lens-search.d.mts +6 -6
  119. package/dist/actions/google-lens-search.mjs +6 -6
  120. package/dist/actions/google-lens-search.mjs.map +1 -1
  121. package/dist/actions/google-light-search.cjs +9 -9
  122. package/dist/actions/google-light-search.cjs.map +1 -1
  123. package/dist/actions/google-light-search.d.cts +9 -9
  124. package/dist/actions/google-light-search.d.mts +9 -9
  125. package/dist/actions/google-light-search.mjs +9 -9
  126. package/dist/actions/google-light-search.mjs.map +1 -1
  127. package/dist/actions/google-maps-posts.cjs +5 -5
  128. package/dist/actions/google-maps-posts.cjs.map +1 -1
  129. package/dist/actions/google-maps-posts.d.cts +5 -5
  130. package/dist/actions/google-maps-posts.d.mts +5 -5
  131. package/dist/actions/google-maps-posts.mjs +5 -5
  132. package/dist/actions/google-maps-posts.mjs.map +1 -1
  133. package/dist/actions/google-maps-search.cjs +14 -14
  134. package/dist/actions/google-maps-search.cjs.map +1 -1
  135. package/dist/actions/google-maps-search.d.cts +15 -15
  136. package/dist/actions/google-maps-search.d.mts +15 -15
  137. package/dist/actions/google-maps-search.mjs +14 -14
  138. package/dist/actions/google-maps-search.mjs.map +1 -1
  139. package/dist/actions/google-play-product.cjs +20 -20
  140. package/dist/actions/google-play-product.cjs.map +1 -1
  141. package/dist/actions/google-play-product.d.cts +21 -21
  142. package/dist/actions/google-play-product.d.mts +21 -21
  143. package/dist/actions/google-play-product.mjs +20 -20
  144. package/dist/actions/google-play-product.mjs.map +1 -1
  145. package/dist/actions/google-scholar-author.cjs +13 -13
  146. package/dist/actions/google-scholar-author.cjs.map +1 -1
  147. package/dist/actions/google-scholar-author.d.cts +13 -13
  148. package/dist/actions/google-scholar-author.d.mts +13 -13
  149. package/dist/actions/google-scholar-author.mjs +13 -13
  150. package/dist/actions/google-scholar-author.mjs.map +1 -1
  151. package/dist/actions/google-scholar-cite.cjs +5 -5
  152. package/dist/actions/google-scholar-cite.cjs.map +1 -1
  153. package/dist/actions/google-scholar-cite.d.cts +5 -5
  154. package/dist/actions/google-scholar-cite.d.mts +5 -5
  155. package/dist/actions/google-scholar-cite.mjs +5 -5
  156. package/dist/actions/google-scholar-cite.mjs.map +1 -1
  157. package/dist/actions/google-videos-light.cjs +9 -9
  158. package/dist/actions/google-videos-light.cjs.map +1 -1
  159. package/dist/actions/google-videos-light.d.cts +10 -10
  160. package/dist/actions/google-videos-light.d.mts +10 -10
  161. package/dist/actions/google-videos-light.mjs +9 -9
  162. package/dist/actions/google-videos-light.mjs.map +1 -1
  163. package/dist/actions/hotel-search.cjs +1 -1
  164. package/dist/actions/hotel-search.cjs.map +1 -1
  165. package/dist/actions/hotel-search.d.cts +1 -1
  166. package/dist/actions/hotel-search.d.mts +1 -1
  167. package/dist/actions/hotel-search.mjs +1 -1
  168. package/dist/actions/hotel-search.mjs.map +1 -1
  169. package/dist/actions/image-search.cjs +1 -1
  170. package/dist/actions/image-search.cjs.map +1 -1
  171. package/dist/actions/image-search.d.cts +1 -1
  172. package/dist/actions/image-search.d.mts +1 -1
  173. package/dist/actions/image-search.mjs +1 -1
  174. package/dist/actions/image-search.mjs.map +1 -1
  175. package/dist/actions/naver-search.cjs +16 -16
  176. package/dist/actions/naver-search.cjs.map +1 -1
  177. package/dist/actions/naver-search.d.cts +16 -16
  178. package/dist/actions/naver-search.d.mts +16 -16
  179. package/dist/actions/naver-search.mjs +16 -16
  180. package/dist/actions/naver-search.mjs.map +1 -1
  181. package/dist/actions/news-search.cjs +1 -1
  182. package/dist/actions/news-search.cjs.map +1 -1
  183. package/dist/actions/news-search.d.cts +1 -1
  184. package/dist/actions/news-search.d.mts +1 -1
  185. package/dist/actions/news-search.mjs +1 -1
  186. package/dist/actions/news-search.mjs.map +1 -1
  187. package/dist/actions/open-table-reviews.cjs +15 -15
  188. package/dist/actions/open-table-reviews.cjs.map +1 -1
  189. package/dist/actions/open-table-reviews.d.cts +15 -15
  190. package/dist/actions/open-table-reviews.d.mts +15 -15
  191. package/dist/actions/open-table-reviews.mjs +15 -15
  192. package/dist/actions/open-table-reviews.mjs.map +1 -1
  193. package/dist/actions/play-search.cjs +1 -1
  194. package/dist/actions/play-search.cjs.map +1 -1
  195. package/dist/actions/play-search.d.cts +1 -1
  196. package/dist/actions/play-search.d.mts +1 -1
  197. package/dist/actions/play-search.mjs +1 -1
  198. package/dist/actions/play-search.mjs.map +1 -1
  199. package/dist/actions/scholar-search.cjs +1 -1
  200. package/dist/actions/scholar-search.cjs.map +1 -1
  201. package/dist/actions/scholar-search.d.cts +1 -1
  202. package/dist/actions/scholar-search.d.mts +1 -1
  203. package/dist/actions/scholar-search.mjs +1 -1
  204. package/dist/actions/scholar-search.mjs.map +1 -1
  205. package/dist/actions/search-apple-app-store.cjs +7 -7
  206. package/dist/actions/search-apple-app-store.cjs.map +1 -1
  207. package/dist/actions/search-apple-app-store.d.cts +7 -7
  208. package/dist/actions/search-apple-app-store.d.mts +7 -7
  209. package/dist/actions/search-apple-app-store.mjs +7 -7
  210. package/dist/actions/search-apple-app-store.mjs.map +1 -1
  211. package/dist/actions/search-google-images-light.cjs +6 -6
  212. package/dist/actions/search-google-images-light.cjs.map +1 -1
  213. package/dist/actions/search-google-images-light.d.cts +6 -6
  214. package/dist/actions/search-google-images-light.d.mts +6 -6
  215. package/dist/actions/search-google-images-light.mjs +6 -6
  216. package/dist/actions/search-google-images-light.mjs.map +1 -1
  217. package/dist/actions/search-google-local-services.cjs +5 -5
  218. package/dist/actions/search-google-local-services.cjs.map +1 -1
  219. package/dist/actions/search-google-local-services.d.cts +5 -5
  220. package/dist/actions/search-google-local-services.d.mts +5 -5
  221. package/dist/actions/search-google-local-services.mjs +5 -5
  222. package/dist/actions/search-google-local-services.mjs.map +1 -1
  223. package/dist/actions/search-yelp.cjs +2 -2
  224. package/dist/actions/search-yelp.cjs.map +1 -1
  225. package/dist/actions/search-yelp.d.cts +2 -2
  226. package/dist/actions/search-yelp.d.mts +2 -2
  227. package/dist/actions/search-yelp.mjs +2 -2
  228. package/dist/actions/search-yelp.mjs.map +1 -1
  229. package/dist/actions/search.cjs +3 -3
  230. package/dist/actions/search.cjs.map +1 -1
  231. package/dist/actions/search.d.cts +3 -3
  232. package/dist/actions/search.d.mts +3 -3
  233. package/dist/actions/search.mjs +3 -3
  234. package/dist/actions/search.mjs.map +1 -1
  235. package/dist/actions/shopping-search.cjs +1 -1
  236. package/dist/actions/shopping-search.cjs.map +1 -1
  237. package/dist/actions/shopping-search.d.cts +1 -1
  238. package/dist/actions/shopping-search.d.mts +1 -1
  239. package/dist/actions/shopping-search.mjs +1 -1
  240. package/dist/actions/shopping-search.mjs.map +1 -1
  241. package/dist/actions/trends-search.cjs +15 -15
  242. package/dist/actions/trends-search.cjs.map +1 -1
  243. package/dist/actions/trends-search.d.cts +18 -18
  244. package/dist/actions/trends-search.d.mts +18 -18
  245. package/dist/actions/trends-search.mjs +15 -15
  246. package/dist/actions/trends-search.mjs.map +1 -1
  247. package/dist/actions/walmart-product-reviews.cjs +11 -11
  248. package/dist/actions/walmart-product-reviews.cjs.map +1 -1
  249. package/dist/actions/walmart-product-reviews.d.cts +14 -14
  250. package/dist/actions/walmart-product-reviews.d.mts +14 -14
  251. package/dist/actions/walmart-product-reviews.mjs +11 -11
  252. package/dist/actions/walmart-product-reviews.mjs.map +1 -1
  253. package/dist/actions/walmart-search.cjs +1 -1
  254. package/dist/actions/walmart-search.cjs.map +1 -1
  255. package/dist/actions/walmart-search.d.cts +1 -1
  256. package/dist/actions/walmart-search.d.mts +1 -1
  257. package/dist/actions/walmart-search.mjs +1 -1
  258. package/dist/actions/walmart-search.mjs.map +1 -1
  259. package/dist/actions/yahoo-search.cjs +1 -1
  260. package/dist/actions/yahoo-search.cjs.map +1 -1
  261. package/dist/actions/yahoo-search.d.cts +1 -1
  262. package/dist/actions/yahoo-search.d.mts +1 -1
  263. package/dist/actions/yahoo-search.mjs +1 -1
  264. package/dist/actions/yahoo-search.mjs.map +1 -1
  265. package/dist/actions/yahoo-videos.cjs +8 -8
  266. package/dist/actions/yahoo-videos.cjs.map +1 -1
  267. package/dist/actions/yahoo-videos.d.cts +8 -8
  268. package/dist/actions/yahoo-videos.d.mts +8 -8
  269. package/dist/actions/yahoo-videos.mjs +8 -8
  270. package/dist/actions/yahoo-videos.mjs.map +1 -1
  271. package/dist/actions/yandex-images-search.cjs +8 -8
  272. package/dist/actions/yandex-images-search.cjs.map +1 -1
  273. package/dist/actions/yandex-images-search.d.cts +8 -8
  274. package/dist/actions/yandex-images-search.d.mts +8 -8
  275. package/dist/actions/yandex-images-search.mjs +8 -8
  276. package/dist/actions/yandex-images-search.mjs.map +1 -1
  277. package/dist/actions/yandex-search.cjs +1 -1
  278. package/dist/actions/yandex-search.cjs.map +1 -1
  279. package/dist/actions/yandex-search.d.cts +1 -1
  280. package/dist/actions/yandex-search.d.mts +1 -1
  281. package/dist/actions/yandex-search.mjs +1 -1
  282. package/dist/actions/yandex-search.mjs.map +1 -1
  283. package/dist/actions/you-tube-search.cjs +1 -1
  284. package/dist/actions/you-tube-search.cjs.map +1 -1
  285. package/dist/actions/you-tube-search.d.cts +1 -1
  286. package/dist/actions/you-tube-search.d.mts +1 -1
  287. package/dist/actions/you-tube-search.mjs +1 -1
  288. package/dist/actions/you-tube-search.mjs.map +1 -1
  289. package/package.json +1 -1
@@ -1 +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,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["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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).describe(\"Open access availability metrics\").nullable().optional(),\n search_metadata: SerpapiGoogleScholarAuthor_SearchMetadataSchema.nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search\").nullable().optional(),\n serpapi_pagination: SerpapiGoogleScholarAuthor_PaginationSchema.nullable().optional(),\n}).passthrough();\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,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,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -9,11 +9,11 @@ const SerpapiGoogleScholarCiteInput = zod.z.object({
9
9
  const SerpapiGoogleScholarCite_LinkSchema = zod.z.object({
10
10
  link: zod.z.string().describe("Download URL for the citation in this format").nullable().optional(),
11
11
  name: zod.z.string().describe("The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)").nullable().optional()
12
- });
12
+ }).passthrough();
13
13
  const SerpapiGoogleScholarCite_CitationSchema = zod.z.object({
14
14
  title: zod.z.string().describe("The name of the citation format (e.g., MLA, APA, Chicago)").nullable().optional(),
15
15
  snippet: zod.z.string().describe("The formatted citation text in the specified style").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const SerpapiGoogleScholarCite_SearchMetadataSchema = zod.z.object({
18
18
  id: zod.z.string().describe("Internal SerpApi search identifier").nullable().optional(),
19
19
  status: zod.z.string().describe("Processing status (Processing/Success/Error)").nullable().optional(),
@@ -23,14 +23,14 @@ const SerpapiGoogleScholarCite_SearchMetadataSchema = zod.z.object({
23
23
  raw_html_file: zod.z.string().describe("URL to download raw HTML response").nullable().optional(),
24
24
  total_time_taken: zod.z.number().describe("Processing duration in seconds").nullable().optional(),
25
25
  google_scholar_cite_url: zod.z.string().describe("Direct URL to Google Scholar citation page").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const SerpapiGoogleScholarCiteOutput = zod.z.object({
28
28
  error: zod.z.string().describe("Error message if request failed").nullable().optional(),
29
29
  links: zod.z.array(SerpapiGoogleScholarCite_LinkSchema).describe("Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)").nullable().optional(),
30
30
  citations: zod.z.array(SerpapiGoogleScholarCite_CitationSchema).describe("List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text").nullable().optional(),
31
31
  search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),
32
- search_parameters: zod.z.object({}).describe("Parameters used for the search").nullable().optional()
33
- });
32
+ search_parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the search").nullable().optional()
33
+ }).passthrough();
34
34
  const serpapiGoogleScholarCite = require_action.action("SERPAPI_GOOGLE_SCHOLAR_CITE", {
35
35
  slug: "serpapi-google-scholar-cite",
36
36
  name: "Google Scholar Cite",
@@ -1 +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;CAC3J,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAClJ,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SA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A,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"}
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}).passthrough();\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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).describe(\"Parameters used for the search\").nullable().optional(),\n}).passthrough();\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;CAC3J,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,QA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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,CAAC,CAAC,YAAY;AACf,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,11 +11,11 @@ declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
11
11
  links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
12
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
16
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>;
18
+ }, z.core.$loose>>>>;
19
19
  search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,9 +25,9 @@ declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
25
25
  raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
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>;
28
+ }, z.core.$loose>>>;
29
+ search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
+ }, z.core.$loose>;
31
31
  declare const serpapiGoogleScholarCite: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  q: string;
33
33
  hl?: string | undefined;
@@ -11,11 +11,11 @@ declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
11
11
  links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
12
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
16
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>;
18
+ }, z.core.$loose>>>>;
19
19
  search_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,9 +25,9 @@ declare const SerpapiGoogleScholarCiteOutput: z.ZodObject<{
25
25
  raw_html_file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  total_time_taken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
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>;
28
+ }, z.core.$loose>>>;
29
+ search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
+ }, z.core.$loose>;
31
31
  declare const serpapiGoogleScholarCite: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  q: string;
33
33
  hl?: string | undefined;
@@ -9,11 +9,11 @@ const SerpapiGoogleScholarCiteInput = z.object({
9
9
  const SerpapiGoogleScholarCite_LinkSchema = z.object({
10
10
  link: z.string().describe("Download URL for the citation in this format").nullable().optional(),
11
11
  name: z.string().describe("The name of the download format (e.g., BibTeX, EndNote, RefMan, RefWorks)").nullable().optional()
12
- });
12
+ }).passthrough();
13
13
  const SerpapiGoogleScholarCite_CitationSchema = z.object({
14
14
  title: z.string().describe("The name of the citation format (e.g., MLA, APA, Chicago)").nullable().optional(),
15
15
  snippet: z.string().describe("The formatted citation text in the specified style").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const SerpapiGoogleScholarCite_SearchMetadataSchema = z.object({
18
18
  id: z.string().describe("Internal SerpApi search identifier").nullable().optional(),
19
19
  status: z.string().describe("Processing status (Processing/Success/Error)").nullable().optional(),
@@ -23,7 +23,7 @@ const SerpapiGoogleScholarCite_SearchMetadataSchema = z.object({
23
23
  raw_html_file: z.string().describe("URL to download raw HTML response").nullable().optional(),
24
24
  total_time_taken: z.number().describe("Processing duration in seconds").nullable().optional(),
25
25
  google_scholar_cite_url: z.string().describe("Direct URL to Google Scholar citation page").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const serpapiGoogleScholarCite = action("SERPAPI_GOOGLE_SCHOLAR_CITE", {
28
28
  slug: "serpapi-google-scholar-cite",
29
29
  name: "Google Scholar Cite",
@@ -34,8 +34,8 @@ const serpapiGoogleScholarCite = action("SERPAPI_GOOGLE_SCHOLAR_CITE", {
34
34
  links: z.array(SerpapiGoogleScholarCite_LinkSchema).describe("Download links for BibTeX, EndNote, RefMan, and RefWorks formats (expire shortly after search)").nullable().optional(),
35
35
  citations: z.array(SerpapiGoogleScholarCite_CitationSchema).describe("List of citation formats (MLA, APA, Chicago, Harvard, Vancouver) with formatted text").nullable().optional(),
36
36
  search_metadata: SerpapiGoogleScholarCite_SearchMetadataSchema.nullable().optional(),
37
- search_parameters: z.object({}).describe("Parameters used for the search").nullable().optional()
38
- })
37
+ search_parameters: z.record(z.string(), z.unknown()).describe("Parameters used for the search").nullable().optional()
38
+ }).passthrough()
39
39
  });
40
40
  //#endregion
41
41
  export { serpapiGoogleScholarCite };
@@ -1 +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,OAAO;CACpD,GAAG,EAAE,OAAO,CAAC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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"}
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}).passthrough();\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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).describe(\"Parameters used for the search\").nullable().optional(),\n}).passthrough();\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":";;;AAI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AC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AASf,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -25,13 +25,13 @@ const SerpapiGoogleVideosLightInput = zod.z.object({
25
25
  const SerpapiGoogleVideosLight_FilterOptionItemSchema = zod.z.object({
26
26
  text: zod.z.string().describe("Filter option text.").nullable().optional(),
27
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() });
28
+ }).passthrough();
29
+ const SerpapiGoogleVideosLight_FilterOptionSchema = zod.z.object({ options: zod.z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe("List of filter options within this filter group.").nullable().optional() }).passthrough();
30
30
  const SerpapiGoogleVideosLight_PaginationSchema = zod.z.object({
31
31
  next: zod.z.string().describe("SerpApi link to next page of results.").nullable().optional(),
32
32
  current: zod.z.number().int().describe("Current page number.").nullable().optional(),
33
33
  previous: zod.z.string().describe("SerpApi link to previous page of results.").nullable().optional()
34
- });
34
+ }).passthrough();
35
35
  const SerpapiGoogleVideosLight_VideoResultSchema = zod.z.object({
36
36
  date: zod.z.string().describe("Upload date or relative time (e.g., '2 days ago').").nullable().optional(),
37
37
  link: zod.z.string().describe("URL to the video.").nullable().optional(),
@@ -42,22 +42,22 @@ const SerpapiGoogleVideosLight_VideoResultSchema = zod.z.object({
42
42
  position: zod.z.number().int().describe("Position of the video result on the search page.").nullable().optional(),
43
43
  thumbnail: zod.z.string().describe("URL to the video thumbnail image.").nullable().optional(),
44
44
  displayed_link: zod.z.string().describe("Formatted URL for display purposes.").nullable().optional()
45
- });
45
+ }).passthrough();
46
46
  const SerpapiGoogleVideosLight_RelatedSearchSchema = zod.z.object({
47
47
  text: zod.z.string().describe("Related search query text.").nullable().optional(),
48
48
  serpapi_link: zod.z.string().describe("SerpApi link to execute the related search.").nullable().optional()
49
- });
49
+ }).passthrough();
50
50
  const SerpapiGoogleVideosLightOutput = zod.z.object({
51
51
  error: zod.z.string().describe("Error message if the search failed.").nullable().optional(),
52
52
  filters: zod.z.array(SerpapiGoogleVideosLight_FilterOptionSchema).describe("Available filter options for refining the search.").nullable().optional(),
53
53
  pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),
54
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(),
55
+ search_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about the search including ID, status, JSON endpoint, processing time, and timestamps.").nullable().optional(),
56
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(),
57
+ search_parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the search request.").nullable().optional(),
58
+ search_information: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the search including query displayed and video results state.").nullable().optional(),
59
59
  serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional()
60
- });
60
+ }).passthrough();
61
61
  const serpapiGoogleVideosLight = require_action.action("SERPAPI_GOOGLE_VIDEOS_LIGHT", {
62
62
  slug: "serpapi-google-videos-light",
63
63
  name: "Google Videos Light Search",
@@ -1 +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,IAA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AmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,kBAAkBA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,oBAAoB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough();\nconst SerpapiGoogleVideosLight_FilterOptionSchema = z.object({\n options: z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe(\"List of filter options within this filter group.\").nullable().optional(),\n}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).describe(\"Parameters used for the search request.\").nullable().optional(),\n search_information: z.record(z.string(), z.unknown()).describe(\"Information about the search including query displayed and video results state.\").nullable().optional(),\n serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),\n}).passthrough();\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,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,Q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Y;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,13 +28,13 @@ declare const SerpapiGoogleVideosLightOutput: z.ZodObject<{
28
28
  options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>>;
32
- }, z.core.$strip>>>>;
31
+ }, z.core.$loose>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  video_results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
39
  date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -45,20 +45,20 @@ declare const SerpapiGoogleVideosLightOutput: z.ZodObject<{
45
45
  position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
46
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
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>>>;
48
+ }, z.core.$loose>>>>;
49
+ search_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
50
  related_searches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
51
51
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
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>>>;
53
+ }, z.core.$loose>>>>;
54
+ search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ search_information: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
56
  serpapi_pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
57
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
59
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>>;
61
+ }, z.core.$loose>;
62
62
  declare const serpapiGoogleVideosLight: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  q: string;
64
64
  gl?: string | undefined;
@@ -28,13 +28,13 @@ declare const SerpapiGoogleVideosLightOutput: z.ZodObject<{
28
28
  options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  serpapi_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>>;
32
- }, z.core.$strip>>>>;
31
+ }, z.core.$loose>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  video_results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
39
  date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -45,20 +45,20 @@ declare const SerpapiGoogleVideosLightOutput: z.ZodObject<{
45
45
  position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
46
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
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>>>;
48
+ }, z.core.$loose>>>>;
49
+ search_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
50
  related_searches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
51
51
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
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>>>;
53
+ }, z.core.$loose>>>>;
54
+ search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ search_information: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
56
  serpapi_pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
57
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  current: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
59
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>>;
61
+ }, z.core.$loose>;
62
62
  declare const serpapiGoogleVideosLight: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  q: string;
64
64
  gl?: string | undefined;
@@ -25,13 +25,13 @@ const SerpapiGoogleVideosLightInput = z.object({
25
25
  const SerpapiGoogleVideosLight_FilterOptionItemSchema = z.object({
26
26
  text: z.string().describe("Filter option text.").nullable().optional(),
27
27
  serpapi_link: z.string().describe("SerpApi link to apply this filter.").nullable().optional()
28
- });
29
- const SerpapiGoogleVideosLight_FilterOptionSchema = z.object({ options: z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe("List of filter options within this filter group.").nullable().optional() });
28
+ }).passthrough();
29
+ const SerpapiGoogleVideosLight_FilterOptionSchema = z.object({ options: z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe("List of filter options within this filter group.").nullable().optional() }).passthrough();
30
30
  const SerpapiGoogleVideosLight_PaginationSchema = z.object({
31
31
  next: z.string().describe("SerpApi link to next page of results.").nullable().optional(),
32
32
  current: z.number().int().describe("Current page number.").nullable().optional(),
33
33
  previous: z.string().describe("SerpApi link to previous page of results.").nullable().optional()
34
- });
34
+ }).passthrough();
35
35
  const SerpapiGoogleVideosLight_VideoResultSchema = z.object({
36
36
  date: z.string().describe("Upload date or relative time (e.g., '2 days ago').").nullable().optional(),
37
37
  link: z.string().describe("URL to the video.").nullable().optional(),
@@ -42,11 +42,11 @@ const SerpapiGoogleVideosLight_VideoResultSchema = z.object({
42
42
  position: z.number().int().describe("Position of the video result on the search page.").nullable().optional(),
43
43
  thumbnail: z.string().describe("URL to the video thumbnail image.").nullable().optional(),
44
44
  displayed_link: z.string().describe("Formatted URL for display purposes.").nullable().optional()
45
- });
45
+ }).passthrough();
46
46
  const SerpapiGoogleVideosLight_RelatedSearchSchema = z.object({
47
47
  text: z.string().describe("Related search query text.").nullable().optional(),
48
48
  serpapi_link: z.string().describe("SerpApi link to execute the related search.").nullable().optional()
49
- });
49
+ }).passthrough();
50
50
  const serpapiGoogleVideosLight = action("SERPAPI_GOOGLE_VIDEOS_LIGHT", {
51
51
  slug: "serpapi-google-videos-light",
52
52
  name: "Google Videos Light Search",
@@ -57,12 +57,12 @@ const serpapiGoogleVideosLight = action("SERPAPI_GOOGLE_VIDEOS_LIGHT", {
57
57
  filters: z.array(SerpapiGoogleVideosLight_FilterOptionSchema).describe("Available filter options for refining the search.").nullable().optional(),
58
58
  pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),
59
59
  video_results: z.array(SerpapiGoogleVideosLight_VideoResultSchema).describe("List of video results with titles, links, thumbnails, snippets, durations, and upload dates.").nullable().optional(),
60
- search_metadata: z.object({}).describe("Metadata about the search including ID, status, JSON endpoint, processing time, and timestamps.").nullable().optional(),
60
+ search_metadata: z.record(z.string(), z.unknown()).describe("Metadata about the search including ID, status, JSON endpoint, processing time, and timestamps.").nullable().optional(),
61
61
  related_searches: z.array(SerpapiGoogleVideosLight_RelatedSearchSchema).describe("Related search queries with SerpApi links.").nullable().optional(),
62
- search_parameters: z.object({}).describe("Parameters used for the search request.").nullable().optional(),
63
- search_information: z.object({}).describe("Information about the search including query displayed and video results state.").nullable().optional(),
62
+ search_parameters: z.record(z.string(), z.unknown()).describe("Parameters used for the search request.").nullable().optional(),
63
+ search_information: z.record(z.string(), z.unknown()).describe("Information about the search including query displayed and video results state.").nullable().optional(),
64
64
  serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional()
65
- })
65
+ }).passthrough()
66
66
  });
67
67
  //#endregion
68
68
  export { serpapiGoogleVideosLight };
@@ -1 +1 @@
1
- {"version":3,"file":"google-videos-light.mjs","names":[],"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,gCAAgC,EAAE,OAAO;CACpD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAClH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC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AM,2CAA2C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,kBAAkB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,oBAAoB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"google-videos-light.mjs","names":[],"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}).passthrough();\nconst SerpapiGoogleVideosLight_FilterOptionSchema = z.object({\n options: z.array(SerpapiGoogleVideosLight_FilterOptionItemSchema).describe(\"List of filter options within this filter group.\").nullable().optional(),\n}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).describe(\"Parameters used for the search request.\").nullable().optional(),\n search_information: z.record(z.string(), z.unknown()).describe(\"Information about the search including query displayed and video results state.\").nullable().optional(),\n serpapi_pagination: SerpapiGoogleVideosLight_PaginationSchema.nullable().optional(),\n}).passthrough();\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,gCAAgC,EAAE,OAAO;CACpD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAClH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,kBAAkB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,oBAAoB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,oBAAoB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -36,7 +36,7 @@ const SerpapiHotelSearchOutput = zod.z.object({
36
36
  search_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about the search performed.").nullable().optional(),
37
37
  property_details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed property information when property_token is provided.").nullable().optional(),
38
38
  search_parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the search.").nullable().optional()
39
- });
39
+ }).passthrough();
40
40
  const serpapiHotelSearch = require_action.action("SERPAPI_HOTEL_SEARCH", {
41
41
  slug: "serpapi-hotel-search",
42
42
  name: "Hotel Search",
@@ -1 +1 @@
1
- {"version":3,"file":"hotel-search.cjs","names":["z","action"],"sources":["../../src/actions/hotel-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiHotelSearchInput = z.object({\n q: z.string().describe(\"Parameter defines the search query. You can use anything that you would use in a regular Google Hotels search.\"),\n gl: z.string().describe(\"Parameter defines the country to use for the Google Hotels search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)\").optional(),\n hl: z.string().describe(\"Parameter defines the language to use for the Google Hotels search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French).\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi.\").optional(),\n adults: z.number().int().describe(\"Parameter defines the number of adults. Default to 2.\").optional(),\n output: z.string().describe(\"Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.\").optional(),\n rating: z.number().int().describe(\"Parameter is used for filtering the results to certain rating.\").optional(),\n sort_by: z.string().describe(\"Parameter is used for sorting the results. Default is sort by Relevance.\").optional(),\n bedrooms: z.number().int().describe(\"Parameter defines the minimum number of bedrooms. Default to 0.\").optional(),\n children: z.number().int().describe(\"Parameter defines the number of children. Default to 0.\").optional(),\n currency: z.string().describe(\"Parameter defines the currency of the returned prices. Default to USD.\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Hotels results even if a cached version is already present.\").optional(),\n amenities: z.string().describe(\"Parameter defines to include only results that offer specified amenities.\").optional(),\n bathrooms: z.number().int().describe(\"Parameter defines the minimum number of bathrooms. Default to 0.\").optional(),\n max_price: z.number().int().describe(\"Parameter defines the upper bound of price range.\").optional(),\n min_price: z.number().int().describe(\"Parameter defines the lower bound of price range.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode.\").optional(),\n check_in_date: z.string().describe(\"Parameter defines the check-in date. The format is YYYY-MM-DD.\"),\n children_ages: z.string().describe(\"Parameter defines the ages of children. The age range is from 1 to 17, with children who haven't reached 1 year old being considered as 1.\").optional(),\n eco_certified: z.boolean().describe(\"Parameter defines to show results that are eco certified.\").optional(),\n check_out_date: z.string().describe(\"Parameter defines the check-out date. The format is YYYY-MM-DD.\"),\n property_token: z.string().describe(\"Parameter is used to get property details which consists of name, address, phone, prices, nearby places, and etc.\").optional(),\n property_types: z.string().describe(\"Parameter defines to include only certain type of property in the results.\").optional(),\n special_offers: z.boolean().describe(\"Parameter defines to show results that have special offers.\").optional(),\n next_page_token: z.string().describe(\"Parameter defines the next page token. It is used for retrieving the next page results.\").optional(),\n vacation_rentals: z.boolean().describe(\"Parameter defines to search for Vacation Rentals results. Default search is for Hotels.\").optional(),\n free_cancellation: z.boolean().describe(\"Parameter defines to show results that offer free cancellation.\").optional(),\n});\nexport const SerpapiHotelSearchOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of hotel properties found (for search results).\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search performed.\").nullable().optional(),\n property_details: z.record(z.string(), z.unknown()).describe(\"Detailed property information when property_token is provided.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search.\").nullable().optional(),\n});\n\nexport const serpapiHotelSearch = action(\"SERPAPI_HOTEL_SEARCH\", {\n slug: \"serpapi-hotel-search\",\n name: \"Hotel Search\",\n description: \"Retrieve Google Hotel Search Results. Supports parameters like q (query), location, etc. Returns hotel SERP data in JSON format.\",\n input: SerpapiHotelSearchInput,\n output: SerpapiHotelSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CACvI,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACjN,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACnM,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,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A,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"hotel-search.cjs","names":["z","action"],"sources":["../../src/actions/hotel-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SerpapiHotelSearchInput = z.object({\n q: z.string().describe(\"Parameter defines the search query. You can use anything that you would use in a regular Google Hotels search.\"),\n gl: z.string().describe(\"Parameter defines the country to use for the Google Hotels search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)\").optional(),\n hl: z.string().describe(\"Parameter defines the language to use for the Google Hotels search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French).\").optional(),\n async: z.boolean().describe(\"Parameter defines the way you want to submit your search to SerpApi.\").optional(),\n adults: z.number().int().describe(\"Parameter defines the number of adults. Default to 2.\").optional(),\n output: z.string().describe(\"Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.\").optional(),\n rating: z.number().int().describe(\"Parameter is used for filtering the results to certain rating.\").optional(),\n sort_by: z.string().describe(\"Parameter is used for sorting the results. Default is sort by Relevance.\").optional(),\n bedrooms: z.number().int().describe(\"Parameter defines the minimum number of bedrooms. Default to 0.\").optional(),\n children: z.number().int().describe(\"Parameter defines the number of children. Default to 0.\").optional(),\n currency: z.string().describe(\"Parameter defines the currency of the returned prices. Default to USD.\").optional(),\n no_cache: z.boolean().describe(\"Parameter will force SerpApi to fetch the Google Hotels results even if a cached version is already present.\").optional(),\n amenities: z.string().describe(\"Parameter defines to include only results that offer specified amenities.\").optional(),\n bathrooms: z.number().int().describe(\"Parameter defines the minimum number of bathrooms. Default to 0.\").optional(),\n max_price: z.number().int().describe(\"Parameter defines the upper bound of price range.\").optional(),\n min_price: z.number().int().describe(\"Parameter defines the lower bound of price range.\").optional(),\n zero_trace: z.boolean().describe(\"Enterprise only. Parameter enables ZeroTrace mode.\").optional(),\n check_in_date: z.string().describe(\"Parameter defines the check-in date. The format is YYYY-MM-DD.\"),\n children_ages: z.string().describe(\"Parameter defines the ages of children. The age range is from 1 to 17, with children who haven't reached 1 year old being considered as 1.\").optional(),\n eco_certified: z.boolean().describe(\"Parameter defines to show results that are eco certified.\").optional(),\n check_out_date: z.string().describe(\"Parameter defines the check-out date. The format is YYYY-MM-DD.\"),\n property_token: z.string().describe(\"Parameter is used to get property details which consists of name, address, phone, prices, nearby places, and etc.\").optional(),\n property_types: z.string().describe(\"Parameter defines to include only certain type of property in the results.\").optional(),\n special_offers: z.boolean().describe(\"Parameter defines to show results that have special offers.\").optional(),\n next_page_token: z.string().describe(\"Parameter defines the next page token. It is used for retrieving the next page results.\").optional(),\n vacation_rentals: z.boolean().describe(\"Parameter defines to search for Vacation Rentals results. Default search is for Hotels.\").optional(),\n free_cancellation: z.boolean().describe(\"Parameter defines to show results that offer free cancellation.\").optional(),\n});\nexport const SerpapiHotelSearchOutput = z.object({\n error: z.string().describe(\"Error message if the search failed.\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of hotel properties found (for search results).\").nullable().optional(),\n search_metadata: z.record(z.string(), z.unknown()).describe(\"Metadata about the search performed.\").nullable().optional(),\n property_details: z.record(z.string(), z.unknown()).describe(\"Detailed property information when property_token is provided.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for the search.\").nullable().optional(),\n}).passthrough();\n\nexport const serpapiHotelSearch = action(\"SERPAPI_HOTEL_SEARCH\", {\n slug: \"serpapi-hotel-search\",\n name: \"Hotel Search\",\n description: \"Retrieve Google Hotel Search Results. Supports parameters like q (query), location, etc. Returns hotel SERP data in JSON format.\",\n input: SerpapiHotelSearchInput,\n output: SerpapiHotelSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CACvI,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACjN,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACnM,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2E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O,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -36,7 +36,7 @@ declare const SerpapiHotelSearchOutput: z.ZodObject<{
36
36
  search_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
37
37
  property_details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  search_parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const serpapiHotelSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  q: string;
42
42
  check_in_date: string;