@keystrokehq/scrapegraph_ai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/convert-webpage-to-markdown-v2.cjs +39 -0
  7. package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -0
  8. package/dist/actions/convert-webpage-to-markdown-v2.d.cts +9 -0
  9. package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -0
  10. package/dist/actions/convert-webpage-to-markdown-v2.d.mts +9 -0
  11. package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -0
  12. package/dist/actions/convert-webpage-to-markdown-v2.mjs +36 -0
  13. package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -0
  14. package/dist/actions/generate-schema.cjs +26 -0
  15. package/dist/actions/generate-schema.cjs.map +1 -0
  16. package/dist/actions/generate-schema.d.cts +9 -0
  17. package/dist/actions/generate-schema.d.cts.map +1 -0
  18. package/dist/actions/generate-schema.d.mts +9 -0
  19. package/dist/actions/generate-schema.d.mts.map +1 -0
  20. package/dist/actions/generate-schema.mjs +23 -0
  21. package/dist/actions/generate-schema.mjs.map +1 -0
  22. package/dist/actions/get-agentic-scraper-history.cjs +38 -0
  23. package/dist/actions/get-agentic-scraper-history.cjs.map +1 -0
  24. package/dist/actions/get-agentic-scraper-history.d.cts +9 -0
  25. package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -0
  26. package/dist/actions/get-agentic-scraper-history.d.mts +9 -0
  27. package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -0
  28. package/dist/actions/get-agentic-scraper-history.mjs +37 -0
  29. package/dist/actions/get-agentic-scraper-history.mjs.map +1 -0
  30. package/dist/actions/get-crawler-history.cjs +48 -0
  31. package/dist/actions/get-crawler-history.cjs.map +1 -0
  32. package/dist/actions/get-crawler-history.d.cts +9 -0
  33. package/dist/actions/get-crawler-history.d.cts.map +1 -0
  34. package/dist/actions/get-crawler-history.d.mts +9 -0
  35. package/dist/actions/get-crawler-history.d.mts.map +1 -0
  36. package/dist/actions/get-crawler-history.mjs +47 -0
  37. package/dist/actions/get-crawler-history.mjs.map +1 -0
  38. package/dist/actions/get-credits.cjs +20 -0
  39. package/dist/actions/get-credits.cjs.map +1 -0
  40. package/dist/actions/get-credits.d.cts +9 -0
  41. package/dist/actions/get-credits.d.cts.map +1 -0
  42. package/dist/actions/get-credits.d.mts +9 -0
  43. package/dist/actions/get-credits.d.mts.map +1 -0
  44. package/dist/actions/get-credits.mjs +17 -0
  45. package/dist/actions/get-credits.mjs.map +1 -0
  46. package/dist/actions/get-endpoint-suggestions.cjs +32 -0
  47. package/dist/actions/get-endpoint-suggestions.cjs.map +1 -0
  48. package/dist/actions/get-endpoint-suggestions.d.cts +9 -0
  49. package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -0
  50. package/dist/actions/get-endpoint-suggestions.d.mts +9 -0
  51. package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -0
  52. package/dist/actions/get-endpoint-suggestions.mjs +31 -0
  53. package/dist/actions/get-endpoint-suggestions.mjs.map +1 -0
  54. package/dist/actions/get-live-session-url.cjs +22 -0
  55. package/dist/actions/get-live-session-url.cjs.map +1 -0
  56. package/dist/actions/get-live-session-url.d.cts +9 -0
  57. package/dist/actions/get-live-session-url.d.cts.map +1 -0
  58. package/dist/actions/get-live-session-url.d.mts +9 -0
  59. package/dist/actions/get-live-session-url.d.mts.map +1 -0
  60. package/dist/actions/get-live-session-url.mjs +19 -0
  61. package/dist/actions/get-live-session-url.mjs.map +1 -0
  62. package/dist/actions/get-markdownify-history.cjs +35 -0
  63. package/dist/actions/get-markdownify-history.cjs.map +1 -0
  64. package/dist/actions/get-markdownify-history.d.cts +9 -0
  65. package/dist/actions/get-markdownify-history.d.cts.map +1 -0
  66. package/dist/actions/get-markdownify-history.d.mts +9 -0
  67. package/dist/actions/get-markdownify-history.d.mts.map +1 -0
  68. package/dist/actions/get-markdownify-history.mjs +34 -0
  69. package/dist/actions/get-markdownify-history.mjs.map +1 -0
  70. package/dist/actions/get-scrape-history.cjs +36 -0
  71. package/dist/actions/get-scrape-history.cjs.map +1 -0
  72. package/dist/actions/get-scrape-history.d.cts +9 -0
  73. package/dist/actions/get-scrape-history.d.cts.map +1 -0
  74. package/dist/actions/get-scrape-history.d.mts +9 -0
  75. package/dist/actions/get-scrape-history.d.mts.map +1 -0
  76. package/dist/actions/get-scrape-history.mjs +35 -0
  77. package/dist/actions/get-scrape-history.mjs.map +1 -0
  78. package/dist/actions/get-searchscraper-history.cjs +37 -0
  79. package/dist/actions/get-searchscraper-history.cjs.map +1 -0
  80. package/dist/actions/get-searchscraper-history.d.cts +9 -0
  81. package/dist/actions/get-searchscraper-history.d.cts.map +1 -0
  82. package/dist/actions/get-searchscraper-history.d.mts +9 -0
  83. package/dist/actions/get-searchscraper-history.d.mts.map +1 -0
  84. package/dist/actions/get-searchscraper-history.mjs +36 -0
  85. package/dist/actions/get-searchscraper-history.mjs.map +1 -0
  86. package/dist/actions/get-sitemap-history.cjs +33 -0
  87. package/dist/actions/get-sitemap-history.cjs.map +1 -0
  88. package/dist/actions/get-sitemap-history.d.cts +9 -0
  89. package/dist/actions/get-sitemap-history.d.cts.map +1 -0
  90. package/dist/actions/get-sitemap-history.d.mts +9 -0
  91. package/dist/actions/get-sitemap-history.d.mts.map +1 -0
  92. package/dist/actions/get-sitemap-history.mjs +32 -0
  93. package/dist/actions/get-sitemap-history.mjs.map +1 -0
  94. package/dist/actions/get-smartscraper-history.cjs +37 -0
  95. package/dist/actions/get-smartscraper-history.cjs.map +1 -0
  96. package/dist/actions/get-smartscraper-history.d.cts +9 -0
  97. package/dist/actions/get-smartscraper-history.d.cts.map +1 -0
  98. package/dist/actions/get-smartscraper-history.d.mts +9 -0
  99. package/dist/actions/get-smartscraper-history.d.mts.map +1 -0
  100. package/dist/actions/get-smartscraper-history.mjs +36 -0
  101. package/dist/actions/get-smartscraper-history.mjs.map +1 -0
  102. package/dist/actions/get-usage-timeline.cjs +25 -0
  103. package/dist/actions/get-usage-timeline.cjs.map +1 -0
  104. package/dist/actions/get-usage-timeline.d.cts +9 -0
  105. package/dist/actions/get-usage-timeline.d.cts.map +1 -0
  106. package/dist/actions/get-usage-timeline.d.mts +9 -0
  107. package/dist/actions/get-usage-timeline.d.mts.map +1 -0
  108. package/dist/actions/get-usage-timeline.mjs +24 -0
  109. package/dist/actions/get-usage-timeline.mjs.map +1 -0
  110. package/dist/actions/get-webhook-logs.cjs +30 -0
  111. package/dist/actions/get-webhook-logs.cjs.map +1 -0
  112. package/dist/actions/get-webhook-logs.d.cts +9 -0
  113. package/dist/actions/get-webhook-logs.d.cts.map +1 -0
  114. package/dist/actions/get-webhook-logs.d.mts +9 -0
  115. package/dist/actions/get-webhook-logs.d.mts.map +1 -0
  116. package/dist/actions/get-webhook-logs.mjs +29 -0
  117. package/dist/actions/get-webhook-logs.mjs.map +1 -0
  118. package/dist/actions/index.cjs +55 -0
  119. package/dist/actions/index.d.cts +28 -0
  120. package/dist/actions/index.d.mts +28 -0
  121. package/dist/actions/index.mjs +28 -0
  122. package/dist/actions/list-scheduled-jobs.cjs +39 -0
  123. package/dist/actions/list-scheduled-jobs.cjs.map +1 -0
  124. package/dist/actions/list-scheduled-jobs.d.cts +9 -0
  125. package/dist/actions/list-scheduled-jobs.d.cts.map +1 -0
  126. package/dist/actions/list-scheduled-jobs.d.mts +9 -0
  127. package/dist/actions/list-scheduled-jobs.d.mts.map +1 -0
  128. package/dist/actions/list-scheduled-jobs.mjs +38 -0
  129. package/dist/actions/list-scheduled-jobs.mjs.map +1 -0
  130. package/dist/actions/markdownify-status.cjs +27 -0
  131. package/dist/actions/markdownify-status.cjs.map +1 -0
  132. package/dist/actions/markdownify-status.d.cts +9 -0
  133. package/dist/actions/markdownify-status.d.cts.map +1 -0
  134. package/dist/actions/markdownify-status.d.mts +9 -0
  135. package/dist/actions/markdownify-status.d.mts.map +1 -0
  136. package/dist/actions/markdownify-status.mjs +24 -0
  137. package/dist/actions/markdownify-status.mjs.map +1 -0
  138. package/dist/actions/save-endpoint.cjs +36 -0
  139. package/dist/actions/save-endpoint.cjs.map +1 -0
  140. package/dist/actions/save-endpoint.d.cts +9 -0
  141. package/dist/actions/save-endpoint.d.cts.map +1 -0
  142. package/dist/actions/save-endpoint.d.mts +9 -0
  143. package/dist/actions/save-endpoint.d.mts.map +1 -0
  144. package/dist/actions/save-endpoint.mjs +33 -0
  145. package/dist/actions/save-endpoint.mjs.map +1 -0
  146. package/dist/actions/search-scraper-status.cjs +25 -0
  147. package/dist/actions/search-scraper-status.cjs.map +1 -0
  148. package/dist/actions/search-scraper-status.d.cts +9 -0
  149. package/dist/actions/search-scraper-status.d.cts.map +1 -0
  150. package/dist/actions/search-scraper-status.d.mts +9 -0
  151. package/dist/actions/search-scraper-status.d.mts.map +1 -0
  152. package/dist/actions/search-scraper-status.mjs +22 -0
  153. package/dist/actions/search-scraper-status.mjs.map +1 -0
  154. package/dist/actions/search-scraper.cjs +31 -0
  155. package/dist/actions/search-scraper.cjs.map +1 -0
  156. package/dist/actions/search-scraper.d.cts +9 -0
  157. package/dist/actions/search-scraper.d.cts.map +1 -0
  158. package/dist/actions/search-scraper.d.mts +9 -0
  159. package/dist/actions/search-scraper.d.mts.map +1 -0
  160. package/dist/actions/search-scraper.mjs +28 -0
  161. package/dist/actions/search-scraper.mjs.map +1 -0
  162. package/dist/actions/smart-crawler-status.cjs +33 -0
  163. package/dist/actions/smart-crawler-status.cjs.map +1 -0
  164. package/dist/actions/smart-crawler-status.d.cts +9 -0
  165. package/dist/actions/smart-crawler-status.d.cts.map +1 -0
  166. package/dist/actions/smart-crawler-status.d.mts +9 -0
  167. package/dist/actions/smart-crawler-status.d.mts.map +1 -0
  168. package/dist/actions/smart-crawler-status.mjs +32 -0
  169. package/dist/actions/smart-crawler-status.mjs.map +1 -0
  170. package/dist/actions/smart-scraper-start.cjs +45 -0
  171. package/dist/actions/smart-scraper-start.cjs.map +1 -0
  172. package/dist/actions/smart-scraper-start.d.cts +9 -0
  173. package/dist/actions/smart-scraper-start.d.cts.map +1 -0
  174. package/dist/actions/smart-scraper-start.d.mts +9 -0
  175. package/dist/actions/smart-scraper-start.d.mts.map +1 -0
  176. package/dist/actions/smart-scraper-start.mjs +42 -0
  177. package/dist/actions/smart-scraper-start.mjs.map +1 -0
  178. package/dist/actions/smart-scraper-status.cjs +23 -0
  179. package/dist/actions/smart-scraper-status.cjs.map +1 -0
  180. package/dist/actions/smart-scraper-status.d.cts +9 -0
  181. package/dist/actions/smart-scraper-status.d.cts.map +1 -0
  182. package/dist/actions/smart-scraper-status.d.mts +9 -0
  183. package/dist/actions/smart-scraper-status.d.mts.map +1 -0
  184. package/dist/actions/smart-scraper-status.mjs +20 -0
  185. package/dist/actions/smart-scraper-status.mjs.map +1 -0
  186. package/dist/actions/start-smart-crawler.cjs +37 -0
  187. package/dist/actions/start-smart-crawler.cjs.map +1 -0
  188. package/dist/actions/start-smart-crawler.d.cts +9 -0
  189. package/dist/actions/start-smart-crawler.d.cts.map +1 -0
  190. package/dist/actions/start-smart-crawler.d.mts +9 -0
  191. package/dist/actions/start-smart-crawler.d.mts.map +1 -0
  192. package/dist/actions/start-smart-crawler.mjs +34 -0
  193. package/dist/actions/start-smart-crawler.mjs.map +1 -0
  194. package/dist/actions/submit-feedback.cjs +25 -0
  195. package/dist/actions/submit-feedback.cjs.map +1 -0
  196. package/dist/actions/submit-feedback.d.cts +9 -0
  197. package/dist/actions/submit-feedback.d.cts.map +1 -0
  198. package/dist/actions/submit-feedback.d.mts +9 -0
  199. package/dist/actions/submit-feedback.d.mts.map +1 -0
  200. package/dist/actions/submit-feedback.mjs +22 -0
  201. package/dist/actions/submit-feedback.mjs.map +1 -0
  202. package/dist/actions/submit-product-feedback.cjs +34 -0
  203. package/dist/actions/submit-product-feedback.cjs.map +1 -0
  204. package/dist/actions/submit-product-feedback.d.cts +9 -0
  205. package/dist/actions/submit-product-feedback.d.cts.map +1 -0
  206. package/dist/actions/submit-product-feedback.d.mts +9 -0
  207. package/dist/actions/submit-product-feedback.d.mts.map +1 -0
  208. package/dist/actions/submit-product-feedback.mjs +31 -0
  209. package/dist/actions/submit-product-feedback.mjs.map +1 -0
  210. package/dist/actions/toonify.cjs +16 -0
  211. package/dist/actions/toonify.cjs.map +1 -0
  212. package/dist/actions/toonify.d.cts +9 -0
  213. package/dist/actions/toonify.d.cts.map +1 -0
  214. package/dist/actions/toonify.d.mts +9 -0
  215. package/dist/actions/toonify.d.mts.map +1 -0
  216. package/dist/actions/toonify.mjs +13 -0
  217. package/dist/actions/toonify.mjs.map +1 -0
  218. package/dist/actions/validate-api-key.cjs +19 -0
  219. package/dist/actions/validate-api-key.cjs.map +1 -0
  220. package/dist/actions/validate-api-key.d.cts +9 -0
  221. package/dist/actions/validate-api-key.d.cts.map +1 -0
  222. package/dist/actions/validate-api-key.d.mts +9 -0
  223. package/dist/actions/validate-api-key.d.mts.map +1 -0
  224. package/dist/actions/validate-api-key.mjs +16 -0
  225. package/dist/actions/validate-api-key.mjs.map +1 -0
  226. package/dist/app.cjs +9 -0
  227. package/dist/app.cjs.map +1 -0
  228. package/dist/app.d.cts +5 -0
  229. package/dist/app.d.cts.map +1 -0
  230. package/dist/app.d.mts +5 -0
  231. package/dist/app.d.mts.map +1 -0
  232. package/dist/app.mjs +10 -0
  233. package/dist/app.mjs.map +1 -0
  234. package/dist/catalog.cjs +15 -0
  235. package/dist/catalog.cjs.map +1 -0
  236. package/dist/catalog.d.cts +14 -0
  237. package/dist/catalog.d.cts.map +1 -0
  238. package/dist/catalog.d.mts +14 -0
  239. package/dist/catalog.d.mts.map +1 -0
  240. package/dist/catalog.mjs +15 -0
  241. package/dist/catalog.mjs.map +1 -0
  242. package/dist/execute.cjs +18 -0
  243. package/dist/execute.cjs.map +1 -0
  244. package/dist/execute.mjs +18 -0
  245. package/dist/execute.mjs.map +1 -0
  246. package/dist/index.cjs +60 -0
  247. package/dist/index.d.cts +30 -0
  248. package/dist/index.d.mts +30 -0
  249. package/dist/index.mjs +31 -0
  250. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-history.mjs","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetCrawlerHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be a positive integer.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of crawler history records to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving crawler job history.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema: z.ZodTypeAny = z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Status values for crawler jobs.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL that was crawled.\"),\n error: z.string().describe(\"Error message if the crawl failed.\").nullable().optional(),\n prompt: z.string().describe(\"Extraction prompt if used in the crawl.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Crawl results and extracted data.\").nullable().optional(),\n status: ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema.nullable(),\n task_id: z.string().describe(\"Associated task identifier if available.\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who created the request.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Maximum number of pages configured for this crawl.\"),\n request_id: z.string().describe(\"Unique identifier for the crawler request.\"),\n result_url: z.string().describe(\"URL where results can be accessed.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost of the crawl operation.\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the crawl completed in ISO 8601 date-time format.\").nullable().optional(),\n crawled_urls: z.array(z.string()).describe(\"List of URLs crawled during the job.\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this crawl.\").nullable().optional(),\n requested_at: z.string().describe(\"Timestamp when the crawl request was created in ISO 8601 date-time format.\"),\n request_params: z.record(z.string(), z.unknown()).describe(\"Original request parameters for the crawl.\").nullable().optional(),\n pages_processed: z.number().int().describe(\"Number of pages successfully processed.\").nullable().optional(),\n}).describe(\"Represents a single crawler request record from DynamoDB.\");\nexport const ScrapegraphAiGetCrawlerHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema).describe(\"List of crawler request records for the requested page.\"),\n}).describe(\"Response model for crawler history retrieval.\");\n\nexport const scrapegraphAiGetCrawlerHistory = action(\"SCRAPEGRAPH_AI_GET_CRAWLER_HISTORY\", {\n slug: \"scrapegraph_ai-get-crawler-history\",\n name: \"Get Crawler History\",\n description: \"Retrieve the history of crawler jobs for your account. Returns paginated list of past crawler requests with their status, results, and metadata.\",\n input: ScrapegraphAiGetCrawlerHistoryInput,\n output: ScrapegraphAiGetCrawlerHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAiE,EAAE,KAAK;CAAC;CAAU;CAAc;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACzK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,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC9G,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAMvE,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgE,EAAE,OAAO;EACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,yDAAyD;CAC7I,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-credits.ts
4
+ const ScrapegraphAiGetCreditsInput = zod.z.object({}).describe("Request schema for retrieving your account credit information.");
5
+ const ScrapegraphAiGetCreditsOutput = zod.z.object({
6
+ has_credits: zod.z.boolean().default(true).describe("Whether the account has credits available for API operations.").nullable().optional(),
7
+ remaining_credits: zod.z.number().int().describe("Number of credits available for use in your account."),
8
+ total_credits_used: zod.z.number().int().describe("Total number of credits consumed so far across all API calls.")
9
+ }).describe("Response schema for retrieving credit balances from your ScrapeGraphAI account.");
10
+ const scrapegraphAiGetCredits = require_action.action("SCRAPEGRAPH_AI_GET_CREDITS", {
11
+ slug: "scrapegraph_ai-get-credits",
12
+ name: "Get Credits",
13
+ description: "Retrieve remaining and used credits for your ScrapeGraphAI account. Useful for checking credit availability before bulk scraping operations to avoid mid-run failures.",
14
+ input: ScrapegraphAiGetCreditsInput,
15
+ output: ScrapegraphAiGetCreditsOutput
16
+ });
17
+ //#endregion
18
+ exports.scrapegraphAiGetCredits = scrapegraphAiGetCredits;
19
+
20
+ //# sourceMappingURL=get-credits.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetCreditsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving your account credit information.\");\nexport const ScrapegraphAiGetCreditsOutput: z.ZodTypeAny = z.object({\n has_credits: z.boolean().default(true).describe(\"Whether the account has credits available for API operations.\").nullable().optional(),\n remaining_credits: z.number().int().describe(\"Number of credits available for use in your account.\"),\n total_credits_used: z.number().int().describe(\"Total number of credits consumed so far across all API calls.\"),\n}).describe(\"Response schema for retrieving credit balances from your ScrapeGraphAI account.\");\n\nexport const scrapegraphAiGetCredits = action(\"SCRAPEGRAPH_AI_GET_CREDITS\", {\n slug: \"scrapegraph_ai-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieve remaining and used credits for your ScrapeGraphAI account. Useful for checking credit availability before bulk scraping operations to avoid mid-run failures.\",\n input: ScrapegraphAiGetCreditsInput,\n output: ScrapegraphAiGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAChJ,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACnG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AAC/G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAE7F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-credits.d.ts
4
+ declare const ScrapegraphAiGetCreditsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetCreditsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetCredits };
9
+ //# sourceMappingURL=get-credits.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAoG;AAAA,cACpI,6BAAA,EAA+B,CAAA,CAAE,UAIgD;AAAA,cAEjF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-credits.d.ts
4
+ declare const ScrapegraphAiGetCreditsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetCreditsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetCredits };
9
+ //# sourceMappingURL=get-credits.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAoG;AAAA,cACpI,6BAAA,EAA+B,CAAA,CAAE,UAIgD;AAAA,cAEjF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scrapegraphAiGetCredits = action("SCRAPEGRAPH_AI_GET_CREDITS", {
4
+ slug: "scrapegraph_ai-get-credits",
5
+ name: "Get Credits",
6
+ description: "Retrieve remaining and used credits for your ScrapeGraphAI account. Useful for checking credit availability before bulk scraping operations to avoid mid-run failures.",
7
+ input: z.object({}).describe("Request schema for retrieving your account credit information."),
8
+ output: z.object({
9
+ has_credits: z.boolean().default(true).describe("Whether the account has credits available for API operations.").nullable().optional(),
10
+ remaining_credits: z.number().int().describe("Number of credits available for use in your account."),
11
+ total_credits_used: z.number().int().describe("Total number of credits consumed so far across all API calls.")
12
+ }).describe("Response schema for retrieving credit balances from your ScrapeGraphAI account.")
13
+ });
14
+ //#endregion
15
+ export { scrapegraphAiGetCredits };
16
+
17
+ //# sourceMappingURL=get-credits.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-credits.mjs","names":[],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetCreditsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving your account credit information.\");\nexport const ScrapegraphAiGetCreditsOutput: z.ZodTypeAny = z.object({\n has_credits: z.boolean().default(true).describe(\"Whether the account has credits available for API operations.\").nullable().optional(),\n remaining_credits: z.number().int().describe(\"Number of credits available for use in your account.\"),\n total_credits_used: z.number().int().describe(\"Total number of credits consumed so far across all API calls.\"),\n}).describe(\"Response schema for retrieving credit balances from your ScrapeGraphAI account.\");\n\nexport const scrapegraphAiGetCredits = action(\"SCRAPEGRAPH_AI_GET_CREDITS\", {\n slug: \"scrapegraph_ai-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieve remaining and used credits for your ScrapeGraphAI account. Useful for checking credit availability before bulk scraping operations to avoid mid-run failures.\",\n input: ScrapegraphAiGetCreditsInput,\n output: ScrapegraphAiGetCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAWvE;CACP,QAXyD,EAAE,OAAO;EAClE,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC/G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-endpoint-suggestions.ts
4
+ const ScrapegraphAiGetEndpointSuggestionsInput = zod.z.object({
5
+ prompt: zod.z.string().describe("Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles')."),
6
+ website_url: zod.z.string().describe("The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.")
7
+ }).describe("Request schema for getting AI-powered endpoint suggestions.");
8
+ const ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema = zod.z.object({
9
+ method: zod.z.string().describe("HTTP method recommended for this endpoint (e.g., GET, POST).").nullable().optional(),
10
+ endpoint: zod.z.string().describe("Suggested endpoint name or path for this scraping scenario."),
11
+ parameters: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of parameters required for this endpoint (name, type, description, etc.)."),
12
+ target_url: zod.z.string().describe("The specific URL or URL pattern to scrape for this endpoint."),
13
+ description: zod.z.string().describe("Human-readable description of what this endpoint extracts."),
14
+ pydantic_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pydantic-compatible JSON schema defining the structure of extracted data."),
15
+ extraction_prompt: zod.z.string().describe("Recommended prompt for extracting data from this endpoint."),
16
+ interaction_steps: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.array(zod.z.unknown())]).nullable().optional()
17
+ }).describe("Schema for a single endpoint suggestion with scraping configuration.");
18
+ const ScrapegraphAiGetEndpointSuggestionsOutput = zod.z.object({
19
+ suggestions: zod.z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe("List of suggested endpoints with full configuration for scraping."),
20
+ html_with_markdowns: zod.z.unknown().describe("HTML content converted to Markdown format for analysis.").nullable().optional()
21
+ }).describe("Response schema containing AI-generated endpoint suggestions.");
22
+ const scrapegraphAiGetEndpointSuggestions = require_action.action("SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS", {
23
+ slug: "scrapegraph_ai-get-endpoint-suggestions",
24
+ name: "Get Endpoint Suggestions",
25
+ description: "Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.",
26
+ input: ScrapegraphAiGetEndpointSuggestionsInput,
27
+ output: ScrapegraphAiGetEndpointSuggestionsOutput
28
+ });
29
+ //#endregion
30
+ exports.scrapegraphAiGetEndpointSuggestions = scrapegraphAiGetEndpointSuggestions;
31
+
32
+ //# sourceMappingURL=get-endpoint-suggestions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-endpoint-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetEndpointSuggestionsInput: z.ZodTypeAny = z.object({\n prompt: z.string().describe(\"Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles').\"),\n website_url: z.string().describe(\"The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.\"),\n}).describe(\"Request schema for getting AI-powered endpoint suggestions.\");\nconst ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema: z.ZodTypeAny = z.object({\n method: z.string().describe(\"HTTP method recommended for this endpoint (e.g., GET, POST).\").nullable().optional(),\n endpoint: z.string().describe(\"Suggested endpoint name or path for this scraping scenario.\"),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"List of parameters required for this endpoint (name, type, description, etc.).\"),\n target_url: z.string().describe(\"The specific URL or URL pattern to scrape for this endpoint.\"),\n description: z.string().describe(\"Human-readable description of what this endpoint extracts.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"Pydantic-compatible JSON schema defining the structure of extracted data.\"),\n extraction_prompt: z.string().describe(\"Recommended prompt for extracting data from this endpoint.\"),\n interaction_steps: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).describe(\"Schema for a single endpoint suggestion with scraping configuration.\");\nexport const ScrapegraphAiGetEndpointSuggestionsOutput: z.ZodTypeAny = z.object({\n suggestions: z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe(\"List of suggested endpoints with full configuration for scraping.\"),\n html_with_markdowns: z.unknown().describe(\"HTML content converted to Markdown format for analysis.\").nullable().optional(),\n}).describe(\"Response schema containing AI-generated endpoint suggestions.\");\n\nexport const scrapegraphAiGetEndpointSuggestions = action(\"SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS\", {\n slug: \"scrapegraph_ai-get-endpoint-suggestions\",\n name: \"Get Endpoint Suggestions\",\n description: \"Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.\",\n input: ScrapegraphAiGetEndpointSuggestionsInput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AC,CAAC,SAAS,mEAAmE;CAC/J,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-endpoint-suggestions.d.ts
4
+ declare const ScrapegraphAiGetEndpointSuggestionsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetEndpointSuggestionsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetEndpointSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetEndpointSuggestions };
9
+ //# sourceMappingURL=get-endpoint-suggestions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-endpoint-suggestions.d.cts","names":[],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAGiB;AAAA,cAW7D,yCAAA,EAA2C,CAAA,CAAE,UAGkB;AAAA,cAE/D,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-endpoint-suggestions.d.ts
4
+ declare const ScrapegraphAiGetEndpointSuggestionsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetEndpointSuggestionsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetEndpointSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetEndpointSuggestions };
9
+ //# sourceMappingURL=get-endpoint-suggestions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-endpoint-suggestions.d.mts","names":[],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAGiB;AAAA,cAW7D,yCAAA,EAA2C,CAAA,CAAE,UAGkB;AAAA,cAE/D,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-endpoint-suggestions.ts
4
+ const ScrapegraphAiGetEndpointSuggestionsInput = z.object({
5
+ prompt: z.string().describe("Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles')."),
6
+ website_url: z.string().describe("The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.")
7
+ }).describe("Request schema for getting AI-powered endpoint suggestions.");
8
+ const ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema = z.object({
9
+ method: z.string().describe("HTTP method recommended for this endpoint (e.g., GET, POST).").nullable().optional(),
10
+ endpoint: z.string().describe("Suggested endpoint name or path for this scraping scenario."),
11
+ parameters: z.array(z.record(z.string(), z.unknown())).describe("List of parameters required for this endpoint (name, type, description, etc.)."),
12
+ target_url: z.string().describe("The specific URL or URL pattern to scrape for this endpoint."),
13
+ description: z.string().describe("Human-readable description of what this endpoint extracts."),
14
+ pydantic_schema: z.record(z.string(), z.unknown()).describe("Pydantic-compatible JSON schema defining the structure of extracted data."),
15
+ extraction_prompt: z.string().describe("Recommended prompt for extracting data from this endpoint."),
16
+ interaction_steps: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional()
17
+ }).describe("Schema for a single endpoint suggestion with scraping configuration.");
18
+ const scrapegraphAiGetEndpointSuggestions = action("SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS", {
19
+ slug: "scrapegraph_ai-get-endpoint-suggestions",
20
+ name: "Get Endpoint Suggestions",
21
+ description: "Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.",
22
+ input: ScrapegraphAiGetEndpointSuggestionsInput,
23
+ output: z.object({
24
+ suggestions: z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe("List of suggested endpoints with full configuration for scraping."),
25
+ html_with_markdowns: z.unknown().describe("HTML content converted to Markdown format for analysis.").nullable().optional()
26
+ }).describe("Response schema containing AI-generated endpoint suggestions.")
27
+ });
28
+ //#endregion
29
+ export { scrapegraphAiGetEndpointSuggestions };
30
+
31
+ //# sourceMappingURL=get-endpoint-suggestions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-endpoint-suggestions.mjs","names":[],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetEndpointSuggestionsInput: z.ZodTypeAny = z.object({\n prompt: z.string().describe(\"Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles').\"),\n website_url: z.string().describe(\"The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.\"),\n}).describe(\"Request schema for getting AI-powered endpoint suggestions.\");\nconst ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema: z.ZodTypeAny = z.object({\n method: z.string().describe(\"HTTP method recommended for this endpoint (e.g., GET, POST).\").nullable().optional(),\n endpoint: z.string().describe(\"Suggested endpoint name or path for this scraping scenario.\"),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"List of parameters required for this endpoint (name, type, description, etc.).\"),\n target_url: z.string().describe(\"The specific URL or URL pattern to scrape for this endpoint.\"),\n description: z.string().describe(\"Human-readable description of what this endpoint extracts.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"Pydantic-compatible JSON schema defining the structure of extracted data.\"),\n extraction_prompt: z.string().describe(\"Recommended prompt for extracting data from this endpoint.\"),\n interaction_steps: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).describe(\"Schema for a single endpoint suggestion with scraping configuration.\");\nexport const ScrapegraphAiGetEndpointSuggestionsOutput: z.ZodTypeAny = z.object({\n suggestions: z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe(\"List of suggested endpoints with full configuration for scraping.\"),\n html_with_markdowns: z.unknown().describe(\"HTML content converted to Markdown format for analysis.\").nullable().optional(),\n}).describe(\"Response schema containing AI-generated endpoint suggestions.\");\n\nexport const scrapegraphAiGetEndpointSuggestions = action(\"SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS\", {\n slug: \"scrapegraph_ai-get-endpoint-suggestions\",\n name: \"Get Endpoint Suggestions\",\n description: \"Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.\",\n input: ScrapegraphAiGetEndpointSuggestionsInput,\n output: ScrapegraphAiGetEndpointSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyD,EAAE,OAAO;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;AAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+DAA6E,EAAE,OAAO;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC3F,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACvI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAMlF,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqE,EAAE,OAAO;EAC9E,aAAa,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,mEAAmE;EAC/J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-live-session-url.ts
4
+ const ScrapegraphAiGetLiveSessionUrlInput = zod.z.object({
5
+ url: zod.z.string().describe("The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL."),
6
+ timeout: zod.z.number().int().default(300).describe("Timeout for the live session in seconds. Default is 300 seconds (5 minutes).").optional()
7
+ }).describe("Request schema for getting a live browser session URL.");
8
+ const ScrapegraphAiGetLiveSessionUrlOutput = zod.z.object({
9
+ session_id: zod.z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session."),
10
+ session_url: zod.z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.")
11
+ }).describe("Response schema containing the live session URL and session identifier.");
12
+ const scrapegraphAiGetLiveSessionUrl = require_action.action("SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL", {
13
+ slug: "scrapegraph_ai-get-live-session-url",
14
+ name: "Get Live Session URL",
15
+ description: "Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.",
16
+ input: ScrapegraphAiGetLiveSessionUrlInput,
17
+ output: ScrapegraphAiGetLiveSessionUrlOutput
18
+ });
19
+ //#endregion
20
+ exports.scrapegraphAiGetLiveSessionUrl = scrapegraphAiGetLiveSessionUrl;
21
+
22
+ //# sourceMappingURL=get-live-session-url.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-live-session-url.cjs","names":["z","action"],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodTypeAny = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\"),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\"),\n}).describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC5H,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-live-session-url.d.ts
4
+ declare const ScrapegraphAiGetLiveSessionUrlInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetLiveSessionUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetLiveSessionUrl };
9
+ //# sourceMappingURL=get-live-session-url.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-live-session-url.d.cts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGiB;AAAA,cACxD,oCAAA,EAAsC,CAAA,CAAE,UAGiC;AAAA,cAEzE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-live-session-url.d.ts
4
+ declare const ScrapegraphAiGetLiveSessionUrlInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetLiveSessionUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetLiveSessionUrl };
9
+ //# sourceMappingURL=get-live-session-url.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-live-session-url.d.mts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGiB;AAAA,cACxD,oCAAA,EAAsC,CAAA,CAAE,UAGiC;AAAA,cAEzE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scrapegraphAiGetLiveSessionUrl = action("SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL", {
4
+ slug: "scrapegraph_ai-get-live-session-url",
5
+ name: "Get Live Session URL",
6
+ description: "Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.",
7
+ input: z.object({
8
+ url: z.string().describe("The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL."),
9
+ timeout: z.number().int().default(300).describe("Timeout for the live session in seconds. Default is 300 seconds (5 minutes).").optional()
10
+ }).describe("Request schema for getting a live browser session URL."),
11
+ output: z.object({
12
+ session_id: z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session."),
13
+ session_url: z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.")
14
+ }).describe("Response schema containing the live session URL and session identifier.")
15
+ });
16
+ //#endregion
17
+ export { scrapegraphAiGetLiveSessionUrl };
18
+
19
+ //# sourceMappingURL=get-live-session-url.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-live-session-url.mjs","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodTypeAny = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\"),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\"),\n}).describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+D,EAAE,OAAO;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVgE,EAAE,OAAO;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAC5H,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-markdownify-history.ts
4
+ const ScrapegraphAiGetMarkdownifyHistoryInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("Number of records to return per page. Defaults to 10.").optional()
7
+ }).describe("Request schema for retrieving the history of markdownify jobs.");
8
+ const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = zod.z.object({
9
+ error: zod.z.string().describe("Error information if the request failed").nullable().optional(),
10
+ status: zod.z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)"),
11
+ user_id: zod.z.string().describe("User identifier who initiated the request").nullable().optional(),
12
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the request").nullable().optional(),
13
+ usage_id: zod.z.string().describe("Usage tracking identifier").nullable().optional(),
14
+ request_id: zod.z.string().describe("Unique identifier for the markdownify request").nullable().optional(),
15
+ webpage_id: zod.z.string().describe("Identifier for the processed webpage").nullable().optional(),
16
+ finished_at: zod.z.string().describe("Timestamp when the request was completed").nullable().optional(),
17
+ website_url: zod.z.string().describe("URL of the website that was markdownified"),
18
+ requested_at: zod.z.string().describe("Timestamp when the request was initiated").nullable().optional(),
19
+ request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
20
+ }).describe("Schema representing a single markdownify request from the database.");
21
+ const ScrapegraphAiGetMarkdownifyHistoryOutput = zod.z.object({
22
+ next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
23
+ requests: zod.z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
24
+ }).describe("Response schema for markdownify history retrieval.");
25
+ const scrapegraphAiGetMarkdownifyHistory = require_action.action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
26
+ slug: "scrapegraph_ai-get-markdownify-history",
27
+ name: "Get Markdownify History",
28
+ description: "Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.",
29
+ input: ScrapegraphAiGetMarkdownifyHistoryInput,
30
+ output: ScrapegraphAiGetMarkdownifyHistoryOutput
31
+ });
32
+ //#endregion
33
+ exports.scrapegraphAiGetMarkdownifyHistory = scrapegraphAiGetMarkdownifyHistory;
34
+
35
+ //# sourceMappingURL=get-markdownify-history.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markdownify-history.cjs","names":["z","action"],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\"),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\"),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,SAAS,mDAAmD;AAC/I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-markdownify-history.d.ts
4
+ declare const ScrapegraphAiGetMarkdownifyHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetMarkdownifyHistory };
9
+ //# sourceMappingURL=get-markdownify-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markdownify-history.d.cts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAGqB;AAAA,cAchE,wCAAA,EAA0C,CAAA,CAAE,UAGQ;AAAA,cAEpD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-markdownify-history.d.ts
4
+ declare const ScrapegraphAiGetMarkdownifyHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetMarkdownifyHistory };
9
+ //# sourceMappingURL=get-markdownify-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markdownify-history.d.mts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAGqB;AAAA,cAchE,wCAAA,EAA0C,CAAA,CAAE,UAGQ;AAAA,cAEpD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-markdownify-history.ts
4
+ const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ page_size: z.number().int().default(10).describe("Number of records to return per page. Defaults to 10.").optional()
7
+ }).describe("Request schema for retrieving the history of markdownify jobs.");
8
+ const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({
9
+ error: z.string().describe("Error information if the request failed").nullable().optional(),
10
+ status: z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)"),
11
+ user_id: z.string().describe("User identifier who initiated the request").nullable().optional(),
12
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the request").nullable().optional(),
13
+ usage_id: z.string().describe("Usage tracking identifier").nullable().optional(),
14
+ request_id: z.string().describe("Unique identifier for the markdownify request").nullable().optional(),
15
+ webpage_id: z.string().describe("Identifier for the processed webpage").nullable().optional(),
16
+ finished_at: z.string().describe("Timestamp when the request was completed").nullable().optional(),
17
+ website_url: z.string().describe("URL of the website that was markdownified"),
18
+ requested_at: z.string().describe("Timestamp when the request was initiated").nullable().optional(),
19
+ request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
20
+ }).describe("Schema representing a single markdownify request from the database.");
21
+ const scrapegraphAiGetMarkdownifyHistory = action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
22
+ slug: "scrapegraph_ai-get-markdownify-history",
23
+ name: "Get Markdownify History",
24
+ description: "Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.",
25
+ input: ScrapegraphAiGetMarkdownifyHistoryInput,
26
+ output: z.object({
27
+ next_key: z.record(z.string(), z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
28
+ requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
29
+ }).describe("Response schema for markdownify history retrieval.")
30
+ });
31
+ //#endregion
32
+ export { scrapegraphAiGetMarkdownifyHistory };
33
+
34
+ //# sourceMappingURL=get-markdownify-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markdownify-history.mjs","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\"),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\"),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAA8E,EAAE,OAAO;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,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phAiGetScrapeHistoryInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Starts at 1.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("Number of scrape requests to return per page. Maximum depends on API limits.").optional()
7
+ }).describe("Request schema for retrieving the history of scrape jobs.");
8
+ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = zod.z.object({
9
+ cost: zod.z.number().int().describe("Number of credits consumed by this scrape request").nullable().optional(),
10
+ error: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error details if the scrape request failed").nullable().optional(),
11
+ result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Extracted data from the scrape. Only present for completed requests.").nullable().optional(),
12
+ status: zod.z.string().describe("Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
13
+ user_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User identifier information for the request").nullable().optional(),
14
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata about the scrape request").nullable().optional(),
15
+ request_id: zod.z.string().describe("The unique identifier (UUID) of the scrape request"),
16
+ finished_at: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Timestamp information when the scrape request was completed or failed").nullable().optional(),
17
+ website_url: zod.z.string().describe("URL of the website that was scraped"),
18
+ requested_at: zod.z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
19
+ request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
20
+ render_heavy_js: zod.z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
21
+ }).describe("Schema for an individual scrape request from the history.");
22
+ const ScrapegraphAiGetScrapeHistoryOutput = zod.z.object({
23
+ next_key: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
24
+ requests: zod.z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
25
+ }).describe("Response schema containing the history of scrape requests.");
26
+ const scrapegraphAiGetScrapeHistory = require_action.action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
27
+ slug: "scrapegraph_ai-get-scrape-history",
28
+ name: "Get Scrape History",
29
+ description: "Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.",
30
+ input: ScrapegraphAiGetScrapeHistoryInput,
31
+ output: ScrapegraphAiGetScrapeHistoryOutput
32
+ });
33
+ //#endregion
34
+ exports.scrapegraphAiGetScrapeHistory = scrapegraphAiGetScrapeHistory;
35
+
36
+ //# sourceMappingURL=get-scrape-history.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-scrape-history.cjs","names":["z","action"],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema: z.ZodTypeAny = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\"),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\"),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAA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,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kEAAkE;AACpJ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-scrape-history.d.ts
4
+ declare const ScrapegraphAiGetScrapeHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetScrapeHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetScrapeHistory };
9
+ //# sourceMappingURL=get-scrape-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-scrape-history.d.cts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGqB;AAAA,cAe3D,mCAAA,EAAqC,CAAA,CAAE,UAGqB;AAAA,cAE5D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-scrape-history.d.ts
4
+ declare const ScrapegraphAiGetScrapeHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetScrapeHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetScrapeHistory };
9
+ //# sourceMappingURL=get-scrape-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-scrape-history.d.mts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGqB;AAAA,cAe3D,mCAAA,EAAqC,CAAA,CAAE,UAGqB;AAAA,cAE5D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-scrape-history.ts
4
+ const ScrapegraphAiGetScrapeHistoryInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Starts at 1.").optional(),
6
+ page_size: z.number().int().default(10).describe("Number of scrape requests to return per page. Maximum depends on API limits.").optional()
7
+ }).describe("Request schema for retrieving the history of scrape jobs.");
8
+ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({
9
+ cost: z.number().int().describe("Number of credits consumed by this scrape request").nullable().optional(),
10
+ error: z.record(z.string(), z.unknown()).describe("Error details if the scrape request failed").nullable().optional(),
11
+ result: z.record(z.string(), z.unknown()).describe("Extracted data from the scrape. Only present for completed requests.").nullable().optional(),
12
+ status: z.string().describe("Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
13
+ user_id: z.record(z.string(), z.unknown()).describe("User identifier information for the request").nullable().optional(),
14
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata about the scrape request").nullable().optional(),
15
+ request_id: z.string().describe("The unique identifier (UUID) of the scrape request"),
16
+ finished_at: z.record(z.string(), z.unknown()).describe("Timestamp information when the scrape request was completed or failed").nullable().optional(),
17
+ website_url: z.string().describe("URL of the website that was scraped"),
18
+ requested_at: z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
19
+ request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
20
+ render_heavy_js: z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
21
+ }).describe("Schema for an individual scrape request from the history.");
22
+ const scrapegraphAiGetScrapeHistory = action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
23
+ slug: "scrapegraph_ai-get-scrape-history",
24
+ name: "Get Scrape History",
25
+ description: "Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.",
26
+ input: ScrapegraphAiGetScrapeHistoryInput,
27
+ output: z.object({
28
+ next_key: z.record(z.string(), z.unknown()).nullable(),
29
+ requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
30
+ }).describe("Response schema containing the history of scrape requests.")
31
+ });
32
+ //#endregion
33
+ export { scrapegraphAiGetScrapeHistory };
34
+
35
+ //# sourceMappingURL=get-scrape-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-scrape-history.mjs","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema: z.ZodTypeAny = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\"),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\"),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC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