@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,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-webhook-logs.ts
4
+ const ScrapegraphAiGetWebhookLogsInput = z.object({ crawler_id: z.string().describe("The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.") }).describe("Request model for retrieving webhook delivery logs for a crawler job.");
5
+ const ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({
6
+ url: z.string().describe("The webhook URL that was called.").nullable().optional(),
7
+ status: z.string().describe("Status of the webhook delivery (e.g., 'success', 'failed', 'pending').").nullable().optional(),
8
+ payload: z.record(z.string(), z.unknown()).describe("The payload that was sent to the webhook endpoint.").nullable().optional(),
9
+ timestamp: z.string().describe("ISO 8601 timestamp of when the webhook was sent.").nullable().optional(),
10
+ crawler_id: z.string().describe("The crawler job ID associated with this webhook.").nullable().optional(),
11
+ webhook_id: z.string().describe("Unique identifier for this webhook delivery attempt.").nullable().optional(),
12
+ error_message: z.string().describe("Error message if the webhook delivery failed.").nullable().optional(),
13
+ response_code: z.number().int().describe("HTTP status code returned by the webhook endpoint.").nullable().optional(),
14
+ attempt_number: z.number().int().describe("The attempt number for this delivery (for retries).").nullable().optional()
15
+ }).describe("Represents a single webhook delivery log entry.");
16
+ const scrapegraphAiGetWebhookLogs = action("SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS", {
17
+ slug: "scrapegraph_ai-get-webhook-logs",
18
+ name: "Get Webhook Logs",
19
+ description: "Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.",
20
+ input: ScrapegraphAiGetWebhookLogsInput,
21
+ output: z.object({
22
+ logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe("List of webhook delivery log entries for the specified crawler job.").nullable().optional(),
23
+ total_count: z.number().int().describe("Total number of webhook delivery attempts.").nullable().optional()
24
+ }).describe("Response model for retrieving webhook delivery logs.")
25
+ });
26
+ //#endregion
27
+ export { scrapegraphAiGetWebhookLogs };
28
+
29
+ //# sourceMappingURL=get-webhook-logs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhook-logs.mjs","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput: z.ZodTypeAny = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput: z.ZodTypeAny = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsInput,\n output: ScrapegraphAiGetWebhookLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAM7D,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_convert_webpage_to_markdown_v2 = require("./convert-webpage-to-markdown-v2.cjs");
3
+ const require_generate_schema = require("./generate-schema.cjs");
4
+ const require_get_agentic_scraper_history = require("./get-agentic-scraper-history.cjs");
5
+ const require_get_crawler_history = require("./get-crawler-history.cjs");
6
+ const require_get_credits = require("./get-credits.cjs");
7
+ const require_get_endpoint_suggestions = require("./get-endpoint-suggestions.cjs");
8
+ const require_get_live_session_url = require("./get-live-session-url.cjs");
9
+ const require_get_markdownify_history = require("./get-markdownify-history.cjs");
10
+ const require_get_scrape_history = require("./get-scrape-history.cjs");
11
+ const require_get_searchscraper_history = require("./get-searchscraper-history.cjs");
12
+ const require_get_sitemap_history = require("./get-sitemap-history.cjs");
13
+ const require_get_smartscraper_history = require("./get-smartscraper-history.cjs");
14
+ const require_get_usage_timeline = require("./get-usage-timeline.cjs");
15
+ const require_get_webhook_logs = require("./get-webhook-logs.cjs");
16
+ const require_list_scheduled_jobs = require("./list-scheduled-jobs.cjs");
17
+ const require_markdownify_status = require("./markdownify-status.cjs");
18
+ const require_save_endpoint = require("./save-endpoint.cjs");
19
+ const require_search_scraper = require("./search-scraper.cjs");
20
+ const require_search_scraper_status = require("./search-scraper-status.cjs");
21
+ const require_smart_crawler_status = require("./smart-crawler-status.cjs");
22
+ const require_smart_scraper_start = require("./smart-scraper-start.cjs");
23
+ const require_smart_scraper_status = require("./smart-scraper-status.cjs");
24
+ const require_start_smart_crawler = require("./start-smart-crawler.cjs");
25
+ const require_submit_feedback = require("./submit-feedback.cjs");
26
+ const require_submit_product_feedback = require("./submit-product-feedback.cjs");
27
+ const require_toonify = require("./toonify.cjs");
28
+ const require_validate_api_key = require("./validate-api-key.cjs");
29
+ exports.scrapegraphAiConvertWebpageToMarkdownV2 = require_convert_webpage_to_markdown_v2.scrapegraphAiConvertWebpageToMarkdownV2;
30
+ exports.scrapegraphAiGenerateSchema = require_generate_schema.scrapegraphAiGenerateSchema;
31
+ exports.scrapegraphAiGetAgenticScraperHistory = require_get_agentic_scraper_history.scrapegraphAiGetAgenticScraperHistory;
32
+ exports.scrapegraphAiGetCrawlerHistory = require_get_crawler_history.scrapegraphAiGetCrawlerHistory;
33
+ exports.scrapegraphAiGetCredits = require_get_credits.scrapegraphAiGetCredits;
34
+ exports.scrapegraphAiGetEndpointSuggestions = require_get_endpoint_suggestions.scrapegraphAiGetEndpointSuggestions;
35
+ exports.scrapegraphAiGetLiveSessionUrl = require_get_live_session_url.scrapegraphAiGetLiveSessionUrl;
36
+ exports.scrapegraphAiGetMarkdownifyHistory = require_get_markdownify_history.scrapegraphAiGetMarkdownifyHistory;
37
+ exports.scrapegraphAiGetScrapeHistory = require_get_scrape_history.scrapegraphAiGetScrapeHistory;
38
+ exports.scrapegraphAiGetSearchscraperHistory = require_get_searchscraper_history.scrapegraphAiGetSearchscraperHistory;
39
+ exports.scrapegraphAiGetSitemapHistory = require_get_sitemap_history.scrapegraphAiGetSitemapHistory;
40
+ exports.scrapegraphAiGetSmartscraperHistory = require_get_smartscraper_history.scrapegraphAiGetSmartscraperHistory;
41
+ exports.scrapegraphAiGetUsageTimeline = require_get_usage_timeline.scrapegraphAiGetUsageTimeline;
42
+ exports.scrapegraphAiGetWebhookLogs = require_get_webhook_logs.scrapegraphAiGetWebhookLogs;
43
+ exports.scrapegraphAiListScheduledJobs = require_list_scheduled_jobs.scrapegraphAiListScheduledJobs;
44
+ exports.scrapegraphAiMarkdownifyStatus = require_markdownify_status.scrapegraphAiMarkdownifyStatus;
45
+ exports.scrapegraphAiSaveEndpoint = require_save_endpoint.scrapegraphAiSaveEndpoint;
46
+ exports.scrapegraphAiSearchScraper = require_search_scraper.scrapegraphAiSearchScraper;
47
+ exports.scrapegraphAiSearchScraperStatus = require_search_scraper_status.scrapegraphAiSearchScraperStatus;
48
+ exports.scrapegraphAiSmartCrawlerStatus = require_smart_crawler_status.scrapegraphAiSmartCrawlerStatus;
49
+ exports.scrapegraphAiSmartScraperStart = require_smart_scraper_start.scrapegraphAiSmartScraperStart;
50
+ exports.scrapegraphAiSmartScraperStatus = require_smart_scraper_status.scrapegraphAiSmartScraperStatus;
51
+ exports.scrapegraphAiStartSmartCrawler = require_start_smart_crawler.scrapegraphAiStartSmartCrawler;
52
+ exports.scrapegraphAiSubmitFeedback = require_submit_feedback.scrapegraphAiSubmitFeedback;
53
+ exports.scrapegraphAiSubmitProductFeedback = require_submit_product_feedback.scrapegraphAiSubmitProductFeedback;
54
+ exports.scrapegraphAiToonify = require_toonify.scrapegraphAiToonify;
55
+ exports.scrapegraphAiValidateApiKey = require_validate_api_key.scrapegraphAiValidateApiKey;
@@ -0,0 +1,28 @@
1
+ import { scrapegraphAiConvertWebpageToMarkdownV2 } from "./convert-webpage-to-markdown-v2.cjs";
2
+ import { scrapegraphAiGenerateSchema } from "./generate-schema.cjs";
3
+ import { scrapegraphAiGetAgenticScraperHistory } from "./get-agentic-scraper-history.cjs";
4
+ import { scrapegraphAiGetCrawlerHistory } from "./get-crawler-history.cjs";
5
+ import { scrapegraphAiGetCredits } from "./get-credits.cjs";
6
+ import { scrapegraphAiGetEndpointSuggestions } from "./get-endpoint-suggestions.cjs";
7
+ import { scrapegraphAiGetLiveSessionUrl } from "./get-live-session-url.cjs";
8
+ import { scrapegraphAiGetMarkdownifyHistory } from "./get-markdownify-history.cjs";
9
+ import { scrapegraphAiGetScrapeHistory } from "./get-scrape-history.cjs";
10
+ import { scrapegraphAiGetSearchscraperHistory } from "./get-searchscraper-history.cjs";
11
+ import { scrapegraphAiGetSitemapHistory } from "./get-sitemap-history.cjs";
12
+ import { scrapegraphAiGetSmartscraperHistory } from "./get-smartscraper-history.cjs";
13
+ import { scrapegraphAiGetUsageTimeline } from "./get-usage-timeline.cjs";
14
+ import { scrapegraphAiGetWebhookLogs } from "./get-webhook-logs.cjs";
15
+ import { scrapegraphAiListScheduledJobs } from "./list-scheduled-jobs.cjs";
16
+ import { scrapegraphAiMarkdownifyStatus } from "./markdownify-status.cjs";
17
+ import { scrapegraphAiSaveEndpoint } from "./save-endpoint.cjs";
18
+ import { scrapegraphAiSearchScraper } from "./search-scraper.cjs";
19
+ import { scrapegraphAiSearchScraperStatus } from "./search-scraper-status.cjs";
20
+ import { scrapegraphAiSmartCrawlerStatus } from "./smart-crawler-status.cjs";
21
+ import { scrapegraphAiSmartScraperStart } from "./smart-scraper-start.cjs";
22
+ import { scrapegraphAiSmartScraperStatus } from "./smart-scraper-status.cjs";
23
+ import { scrapegraphAiStartSmartCrawler } from "./start-smart-crawler.cjs";
24
+ import { scrapegraphAiSubmitFeedback } from "./submit-feedback.cjs";
25
+ import { scrapegraphAiSubmitProductFeedback } from "./submit-product-feedback.cjs";
26
+ import { scrapegraphAiToonify } from "./toonify.cjs";
27
+ import { scrapegraphAiValidateApiKey } from "./validate-api-key.cjs";
28
+ export { scrapegraphAiConvertWebpageToMarkdownV2, scrapegraphAiGenerateSchema, scrapegraphAiGetAgenticScraperHistory, scrapegraphAiGetCrawlerHistory, scrapegraphAiGetCredits, scrapegraphAiGetEndpointSuggestions, scrapegraphAiGetLiveSessionUrl, scrapegraphAiGetMarkdownifyHistory, scrapegraphAiGetScrapeHistory, scrapegraphAiGetSearchscraperHistory, scrapegraphAiGetSitemapHistory, scrapegraphAiGetSmartscraperHistory, scrapegraphAiGetUsageTimeline, scrapegraphAiGetWebhookLogs, scrapegraphAiListScheduledJobs, scrapegraphAiMarkdownifyStatus, scrapegraphAiSaveEndpoint, scrapegraphAiSearchScraper, scrapegraphAiSearchScraperStatus, scrapegraphAiSmartCrawlerStatus, scrapegraphAiSmartScraperStart, scrapegraphAiSmartScraperStatus, scrapegraphAiStartSmartCrawler, scrapegraphAiSubmitFeedback, scrapegraphAiSubmitProductFeedback, scrapegraphAiToonify, scrapegraphAiValidateApiKey };
@@ -0,0 +1,28 @@
1
+ import { scrapegraphAiConvertWebpageToMarkdownV2 } from "./convert-webpage-to-markdown-v2.mjs";
2
+ import { scrapegraphAiGenerateSchema } from "./generate-schema.mjs";
3
+ import { scrapegraphAiGetAgenticScraperHistory } from "./get-agentic-scraper-history.mjs";
4
+ import { scrapegraphAiGetCrawlerHistory } from "./get-crawler-history.mjs";
5
+ import { scrapegraphAiGetCredits } from "./get-credits.mjs";
6
+ import { scrapegraphAiGetEndpointSuggestions } from "./get-endpoint-suggestions.mjs";
7
+ import { scrapegraphAiGetLiveSessionUrl } from "./get-live-session-url.mjs";
8
+ import { scrapegraphAiGetMarkdownifyHistory } from "./get-markdownify-history.mjs";
9
+ import { scrapegraphAiGetScrapeHistory } from "./get-scrape-history.mjs";
10
+ import { scrapegraphAiGetSearchscraperHistory } from "./get-searchscraper-history.mjs";
11
+ import { scrapegraphAiGetSitemapHistory } from "./get-sitemap-history.mjs";
12
+ import { scrapegraphAiGetSmartscraperHistory } from "./get-smartscraper-history.mjs";
13
+ import { scrapegraphAiGetUsageTimeline } from "./get-usage-timeline.mjs";
14
+ import { scrapegraphAiGetWebhookLogs } from "./get-webhook-logs.mjs";
15
+ import { scrapegraphAiListScheduledJobs } from "./list-scheduled-jobs.mjs";
16
+ import { scrapegraphAiMarkdownifyStatus } from "./markdownify-status.mjs";
17
+ import { scrapegraphAiSaveEndpoint } from "./save-endpoint.mjs";
18
+ import { scrapegraphAiSearchScraper } from "./search-scraper.mjs";
19
+ import { scrapegraphAiSearchScraperStatus } from "./search-scraper-status.mjs";
20
+ import { scrapegraphAiSmartCrawlerStatus } from "./smart-crawler-status.mjs";
21
+ import { scrapegraphAiSmartScraperStart } from "./smart-scraper-start.mjs";
22
+ import { scrapegraphAiSmartScraperStatus } from "./smart-scraper-status.mjs";
23
+ import { scrapegraphAiStartSmartCrawler } from "./start-smart-crawler.mjs";
24
+ import { scrapegraphAiSubmitFeedback } from "./submit-feedback.mjs";
25
+ import { scrapegraphAiSubmitProductFeedback } from "./submit-product-feedback.mjs";
26
+ import { scrapegraphAiToonify } from "./toonify.mjs";
27
+ import { scrapegraphAiValidateApiKey } from "./validate-api-key.mjs";
28
+ export { scrapegraphAiConvertWebpageToMarkdownV2, scrapegraphAiGenerateSchema, scrapegraphAiGetAgenticScraperHistory, scrapegraphAiGetCrawlerHistory, scrapegraphAiGetCredits, scrapegraphAiGetEndpointSuggestions, scrapegraphAiGetLiveSessionUrl, scrapegraphAiGetMarkdownifyHistory, scrapegraphAiGetScrapeHistory, scrapegraphAiGetSearchscraperHistory, scrapegraphAiGetSitemapHistory, scrapegraphAiGetSmartscraperHistory, scrapegraphAiGetUsageTimeline, scrapegraphAiGetWebhookLogs, scrapegraphAiListScheduledJobs, scrapegraphAiMarkdownifyStatus, scrapegraphAiSaveEndpoint, scrapegraphAiSearchScraper, scrapegraphAiSearchScraperStatus, scrapegraphAiSmartCrawlerStatus, scrapegraphAiSmartScraperStart, scrapegraphAiSmartScraperStatus, scrapegraphAiStartSmartCrawler, scrapegraphAiSubmitFeedback, scrapegraphAiSubmitProductFeedback, scrapegraphAiToonify, scrapegraphAiValidateApiKey };
@@ -0,0 +1,28 @@
1
+ import { scrapegraphAiConvertWebpageToMarkdownV2 } from "./convert-webpage-to-markdown-v2.mjs";
2
+ import { scrapegraphAiGenerateSchema } from "./generate-schema.mjs";
3
+ import { scrapegraphAiGetAgenticScraperHistory } from "./get-agentic-scraper-history.mjs";
4
+ import { scrapegraphAiGetCrawlerHistory } from "./get-crawler-history.mjs";
5
+ import { scrapegraphAiGetCredits } from "./get-credits.mjs";
6
+ import { scrapegraphAiGetEndpointSuggestions } from "./get-endpoint-suggestions.mjs";
7
+ import { scrapegraphAiGetLiveSessionUrl } from "./get-live-session-url.mjs";
8
+ import { scrapegraphAiGetMarkdownifyHistory } from "./get-markdownify-history.mjs";
9
+ import { scrapegraphAiGetScrapeHistory } from "./get-scrape-history.mjs";
10
+ import { scrapegraphAiGetSearchscraperHistory } from "./get-searchscraper-history.mjs";
11
+ import { scrapegraphAiGetSitemapHistory } from "./get-sitemap-history.mjs";
12
+ import { scrapegraphAiGetSmartscraperHistory } from "./get-smartscraper-history.mjs";
13
+ import { scrapegraphAiGetUsageTimeline } from "./get-usage-timeline.mjs";
14
+ import { scrapegraphAiGetWebhookLogs } from "./get-webhook-logs.mjs";
15
+ import { scrapegraphAiListScheduledJobs } from "./list-scheduled-jobs.mjs";
16
+ import { scrapegraphAiMarkdownifyStatus } from "./markdownify-status.mjs";
17
+ import { scrapegraphAiSaveEndpoint } from "./save-endpoint.mjs";
18
+ import { scrapegraphAiSearchScraper } from "./search-scraper.mjs";
19
+ import { scrapegraphAiSearchScraperStatus } from "./search-scraper-status.mjs";
20
+ import { scrapegraphAiSmartCrawlerStatus } from "./smart-crawler-status.mjs";
21
+ import { scrapegraphAiSmartScraperStart } from "./smart-scraper-start.mjs";
22
+ import { scrapegraphAiSmartScraperStatus } from "./smart-scraper-status.mjs";
23
+ import { scrapegraphAiStartSmartCrawler } from "./start-smart-crawler.mjs";
24
+ import { scrapegraphAiSubmitFeedback } from "./submit-feedback.mjs";
25
+ import { scrapegraphAiSubmitProductFeedback } from "./submit-product-feedback.mjs";
26
+ import { scrapegraphAiToonify } from "./toonify.mjs";
27
+ import { scrapegraphAiValidateApiKey } from "./validate-api-key.mjs";
28
+ export { scrapegraphAiConvertWebpageToMarkdownV2, scrapegraphAiGenerateSchema, scrapegraphAiGetAgenticScraperHistory, scrapegraphAiGetCrawlerHistory, scrapegraphAiGetCredits, scrapegraphAiGetEndpointSuggestions, scrapegraphAiGetLiveSessionUrl, scrapegraphAiGetMarkdownifyHistory, scrapegraphAiGetScrapeHistory, scrapegraphAiGetSearchscraperHistory, scrapegraphAiGetSitemapHistory, scrapegraphAiGetSmartscraperHistory, scrapegraphAiGetUsageTimeline, scrapegraphAiGetWebhookLogs, scrapegraphAiListScheduledJobs, scrapegraphAiMarkdownifyStatus, scrapegraphAiSaveEndpoint, scrapegraphAiSearchScraper, scrapegraphAiSearchScraperStatus, scrapegraphAiSmartCrawlerStatus, scrapegraphAiSmartScraperStart, scrapegraphAiSmartScraperStatus, scrapegraphAiStartSmartCrawler, scrapegraphAiSubmitFeedback, scrapegraphAiSubmitProductFeedback, scrapegraphAiToonify, scrapegraphAiValidateApiKey };
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-scheduled-jobs.ts
4
+ const ScrapegraphAiListScheduledJobsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Must be 1 or greater.").optional(),
6
+ is_active: zod.z.string().describe("Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.").optional(),
7
+ page_size: zod.z.number().int().default(20).describe("Number of jobs to return per page. Must be between 1 and 100.").optional(),
8
+ service_type: zod.z.string().describe("Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.").optional()
9
+ }).describe("Request model for listing scheduled scraping jobs.");
10
+ const ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = zod.z.object({
11
+ id: zod.z.string().describe("Unique identifier (UUID) of the scheduled job"),
12
+ user_id: zod.z.string().describe("User ID who owns this scheduled job"),
13
+ job_name: zod.z.string().describe("Name of the scheduled job"),
14
+ is_active: zod.z.boolean().describe("Whether the job is currently active and will run on schedule"),
15
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the job was created"),
16
+ job_config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration object for the job, containing parameters like website_url, user_prompt, etc."),
17
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the job was last updated"),
18
+ last_run_at: zod.z.unknown().describe("Timestamp of the last execution, or null if never run").nullable().optional(),
19
+ next_run_at: zod.z.unknown().describe("Timestamp of the next scheduled execution, or null if not scheduled").nullable().optional(),
20
+ service_type: zod.z.string().describe("Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')"),
21
+ cron_expression: zod.z.string().describe("Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)")
22
+ }).describe("Schema for a single scheduled job.");
23
+ const ScrapegraphAiListScheduledJobsOutput = zod.z.object({
24
+ jobs: zod.z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe("List of scheduled jobs on the current page"),
25
+ page: zod.z.number().int().describe("Current page number"),
26
+ total: zod.z.number().int().describe("Total number of scheduled jobs matching the filters"),
27
+ page_size: zod.z.number().int().describe("Number of jobs per page")
28
+ }).describe("Response model for listing scheduled scraping jobs with pagination.");
29
+ const scrapegraphAiListScheduledJobs = require_action.action("SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS", {
30
+ slug: "scrapegraph_ai-list-scheduled-jobs",
31
+ name: "List Scheduled Jobs",
32
+ description: "Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.",
33
+ input: ScrapegraphAiListScheduledJobsInput,
34
+ output: ScrapegraphAiListScheduledJobsOutput
35
+ });
36
+ //#endregion
37
+ exports.scrapegraphAiListScheduledJobs = scrapegraphAiListScheduledJobs;
38
+
39
+ //# sourceMappingURL=list-scheduled-jobs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scheduled-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\"),\n user_id: z.string().describe(\"User ID who owns this scheduled job\"),\n job_name: z.string().describe(\"Name of the scheduled job\"),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\"),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\"),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\"),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\"),\n}).describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput: z.ZodTypeAny = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\"),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\"),\n page_size: z.number().int().describe(\"Number of jobs per page\"),\n}).describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACnK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AACxH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,4CAA4C;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;AAChE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,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/list-scheduled-jobs.d.ts
4
+ declare const ScrapegraphAiListScheduledJobsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiListScheduledJobs };
9
+ //# sourceMappingURL=list-scheduled-jobs.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scheduled-jobs.d.cts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKa;AAAA,cAcpD,oCAAA,EAAsC,CAAA,CAAE,UAK6B;AAAA,cAErE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-scheduled-jobs.d.ts
4
+ declare const ScrapegraphAiListScheduledJobsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiListScheduledJobs };
9
+ //# sourceMappingURL=list-scheduled-jobs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scheduled-jobs.d.mts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKa;AAAA,cAcpD,oCAAA,EAAsC,CAAA,CAAE,UAK6B;AAAA,cAErE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-scheduled-jobs.ts
4
+ const ScrapegraphAiListScheduledJobsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Must be 1 or greater.").optional(),
6
+ is_active: z.string().describe("Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.").optional(),
7
+ page_size: z.number().int().default(20).describe("Number of jobs to return per page. Must be between 1 and 100.").optional(),
8
+ service_type: z.string().describe("Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.").optional()
9
+ }).describe("Request model for listing scheduled scraping jobs.");
10
+ const ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({
11
+ id: z.string().describe("Unique identifier (UUID) of the scheduled job"),
12
+ user_id: z.string().describe("User ID who owns this scheduled job"),
13
+ job_name: z.string().describe("Name of the scheduled job"),
14
+ is_active: z.boolean().describe("Whether the job is currently active and will run on schedule"),
15
+ created_at: z.string().describe("ISO 8601 timestamp when the job was created"),
16
+ job_config: z.record(z.string(), z.unknown()).describe("Configuration object for the job, containing parameters like website_url, user_prompt, etc."),
17
+ updated_at: z.string().describe("ISO 8601 timestamp when the job was last updated"),
18
+ last_run_at: z.unknown().describe("Timestamp of the last execution, or null if never run").nullable().optional(),
19
+ next_run_at: z.unknown().describe("Timestamp of the next scheduled execution, or null if not scheduled").nullable().optional(),
20
+ service_type: z.string().describe("Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')"),
21
+ cron_expression: z.string().describe("Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)")
22
+ }).describe("Schema for a single scheduled job.");
23
+ const scrapegraphAiListScheduledJobs = action("SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS", {
24
+ slug: "scrapegraph_ai-list-scheduled-jobs",
25
+ name: "List Scheduled Jobs",
26
+ description: "Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.",
27
+ input: ScrapegraphAiListScheduledJobsInput,
28
+ output: z.object({
29
+ jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe("List of scheduled jobs on the current page"),
30
+ page: z.number().int().describe("Current page number"),
31
+ total: z.number().int().describe("Total number of scheduled jobs matching the filters"),
32
+ page_size: z.number().int().describe("Number of jobs per page")
33
+ }).describe("Response model for listing scheduled scraping jobs with pagination.")
34
+ });
35
+ //#endregion
36
+ export { scrapegraphAiListScheduledJobs };
37
+
38
+ //# sourceMappingURL=list-scheduled-jobs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scheduled-jobs.mjs","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\"),\n user_id: z.string().describe(\"User ID who owns this scheduled job\"),\n job_name: z.string().describe(\"Name of the scheduled job\"),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\"),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\"),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\"),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\"),\n}).describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput: z.ZodTypeAny = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\"),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\"),\n page_size: z.number().int().describe(\"Number of jobs per page\"),\n}).describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACnK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AACxH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAQhD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZgE,EAAE,OAAO;EACzE,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,4CAA4C;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/markdownify-status.ts
4
+ const ScrapegraphAiMarkdownifyStatusInput = zod.z.object({ request_id: zod.z.string().describe("The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action") }).describe("Request model for checking the status of a Markdownify job.");
5
+ const ScrapegraphAiMarkdownifyStatusOutput = zod.z.object({
6
+ error: zod.z.string().describe("Error message if status is 'failed'; null otherwise").nullable().optional(),
7
+ result: zod.z.string().describe("Markdown content if status is 'completed'; null otherwise").nullable().optional(),
8
+ status: zod.z.enum([
9
+ "queued",
10
+ "processing",
11
+ "completed",
12
+ "failed"
13
+ ]).describe("Current status of the Markdownify job"),
14
+ request_id: zod.z.string().describe("The unique identifier of the Markdownify request"),
15
+ website_url: zod.z.string().describe("URL of the website being processed")
16
+ }).describe("Response model for Markdownify status checks.");
17
+ const scrapegraphAiMarkdownifyStatus = require_action.action("SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS", {
18
+ slug: "scrapegraph_ai-markdownify-status",
19
+ name: "Markdownify Status",
20
+ description: "Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.",
21
+ input: ScrapegraphAiMarkdownifyStatusInput,
22
+ output: ScrapegraphAiMarkdownifyStatusOutput
23
+ });
24
+ //#endregion
25
+ exports.scrapegraphAiMarkdownifyStatus = scrapegraphAiMarkdownifyStatus;
26
+
27
+ //# sourceMappingURL=markdownify-status.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownify-status.cjs","names":["z","action"],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput: z.ZodTypeAny = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\"),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\"),\n website_url: z.string().describe(\"URL of the website being processed\"),\n}).describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACvE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,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/markdownify-status.d.ts
4
+ declare const ScrapegraphAiMarkdownifyStatusInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiMarkdownifyStatusOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiMarkdownifyStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiMarkdownifyStatus };
9
+ //# sourceMappingURL=markdownify-status.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownify-status.d.cts","names":[],"sources":["../../src/actions/markdownify-status.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEsB;AAAA,cAC7D,oCAAA,EAAsC,CAAA,CAAE,UAMO;AAAA,cAE/C,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/markdownify-status.d.ts
4
+ declare const ScrapegraphAiMarkdownifyStatusInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiMarkdownifyStatusOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiMarkdownifyStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiMarkdownifyStatus };
9
+ //# sourceMappingURL=markdownify-status.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownify-status.d.mts","names":[],"sources":["../../src/actions/markdownify-status.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEsB;AAAA,cAC7D,oCAAA,EAAsC,CAAA,CAAE,UAMO;AAAA,cAE/C,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scrapegraphAiMarkdownifyStatus = action("SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS", {
4
+ slug: "scrapegraph_ai-markdownify-status",
5
+ name: "Markdownify Status",
6
+ description: "Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.",
7
+ input: z.object({ request_id: z.string().describe("The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action") }).describe("Request model for checking the status of a Markdownify job."),
8
+ output: z.object({
9
+ error: z.string().describe("Error message if status is 'failed'; null otherwise").nullable().optional(),
10
+ result: z.string().describe("Markdown content if status is 'completed'; null otherwise").nullable().optional(),
11
+ status: z.enum([
12
+ "queued",
13
+ "processing",
14
+ "completed",
15
+ "failed"
16
+ ]).describe("Current status of the Markdownify job"),
17
+ request_id: z.string().describe("The unique identifier of the Markdownify request"),
18
+ website_url: z.string().describe("URL of the website being processed")
19
+ }).describe("Response model for Markdownify status checks.")
20
+ });
21
+ //#endregion
22
+ export { scrapegraphAiMarkdownifyStatus };
23
+
24
+ //# sourceMappingURL=markdownify-status.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownify-status.mjs","names":[],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput: z.ZodTypeAny = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\"),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\"),\n website_url: z.string().describe(\"URL of the website being processed\"),\n}).describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+D,EAAE,OAAO,EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAc;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACvE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-endpoint.ts
4
+ const ScrapegraphAiSaveEndpointInput = zod.z.object({ suggestions: zod.z.array(zod.z.object({
5
+ method: zod.z.string().default("POST").describe("HTTP method for the endpoint (GET, POST, PUT, etc.).").optional(),
6
+ endpoint: zod.z.string().describe("The endpoint path (e.g., /test-endpoint). Must be a valid URL path."),
7
+ parameters: zod.z.array(zod.z.object({
8
+ name: zod.z.string().describe("Parameter name (alphanumeric, underscores, dots, and hyphens only)."),
9
+ type: zod.z.string().describe("Parameter data type (e.g., string, integer, boolean)."),
10
+ is_url: zod.z.boolean().default(false).describe("Whether this parameter is a URL that should be scraped.").optional(),
11
+ location: zod.z.string().describe("Where the parameter is passed (query, path, body, header)."),
12
+ required: zod.z.boolean().describe("Whether this parameter is mandatory for the endpoint."),
13
+ description: zod.z.string().describe("Detailed description of what this parameter does.")
14
+ }).describe("Schema for defining a parameter in a custom endpoint.")).describe("List of parameters that the endpoint accepts. Use empty list if no parameters."),
15
+ target_url: zod.z.string().describe("The base URL or URL pattern that this endpoint will scrape."),
16
+ description: zod.z.string().describe("Description of what this endpoint does and when to use it."),
17
+ pydantic_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'."),
18
+ extraction_prompt: zod.z.string().describe("Natural language instructions for what data to extract from the target URL."),
19
+ interaction_steps: zod.z.array(zod.z.string()).describe("Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).").optional()
20
+ }).describe("Schema for a custom scraping endpoint configuration.")).describe("List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.") }).describe("Request schema for saving one or more custom scraping endpoint configurations.");
21
+ const ScrapegraphAiSaveEndpointOutput = zod.z.object({
22
+ message: zod.z.string().default("Endpoint configurations saved successfully").describe("Confirmation message from the API.").nullable().optional(),
23
+ success: zod.z.boolean().default(true).describe("Whether the endpoint configurations were saved successfully.").nullable().optional(),
24
+ saved_count: zod.z.number().int().describe("Number of endpoint configurations that were saved.")
25
+ }).describe("Response schema after successfully saving endpoint configurations.");
26
+ const scrapegraphAiSaveEndpoint = require_action.action("SCRAPEGRAPH_AI_SAVE_ENDPOINT", {
27
+ slug: "scrapegraph_ai-save-endpoint",
28
+ name: "Save Endpoint Configuration",
29
+ description: "Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.",
30
+ input: ScrapegraphAiSaveEndpointInput,
31
+ output: ScrapegraphAiSaveEndpointOutput
32
+ });
33
+ //#endregion
34
+ exports.scrapegraphAiSaveEndpoint = scrapegraphAiSaveEndpoint;
35
+
36
+ //# sourceMappingURL=save-endpoint.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSaveEndpointInput: z.ZodTypeAny = z.object({\n suggestions: z.array(z.object({\n method: z.string().default(\"POST\").describe(\"HTTP method for the endpoint (GET, POST, PUT, etc.).\").optional(),\n endpoint: z.string().describe(\"The endpoint path (e.g., /test-endpoint). Must be a valid URL path.\"),\n parameters: z.array(z.object({\n name: z.string().describe(\"Parameter name (alphanumeric, underscores, dots, and hyphens only).\"),\n type: z.string().describe(\"Parameter data type (e.g., string, integer, boolean).\"),\n is_url: z.boolean().default(false).describe(\"Whether this parameter is a URL that should be scraped.\").optional(),\n location: z.string().describe(\"Where the parameter is passed (query, path, body, header).\"),\n required: z.boolean().describe(\"Whether this parameter is mandatory for the endpoint.\"),\n description: z.string().describe(\"Detailed description of what this parameter does.\"),\n}).describe(\"Schema for defining a parameter in a custom endpoint.\")).describe(\"List of parameters that the endpoint accepts. Use empty list if no parameters.\"),\n target_url: z.string().describe(\"The base URL or URL pattern that this endpoint will scrape.\"),\n description: z.string().describe(\"Description of what this endpoint does and when to use it.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'.\"),\n extraction_prompt: z.string().describe(\"Natural language instructions for what data to extract from the target URL.\"),\n interaction_steps: z.array(z.string()).describe(\"Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).\").optional(),\n}).describe(\"Schema for a custom scraping endpoint configuration.\")).describe(\"List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.\"),\n}).describe(\"Request schema for saving one or more custom scraping endpoint configurations.\");\nexport const ScrapegraphAiSaveEndpointOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Endpoint configurations saved successfully\").describe(\"Confirmation message from the API.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the endpoint configurations were saved successfully.\").nullable().optional(),\n saved_count: z.number().int().describe(\"Number of endpoint configurations that were saved.\"),\n}).describe(\"Response schema after successfully saving endpoint configurations.\");\n\nexport const scrapegraphAiSaveEndpoint = action(\"SCRAPEGRAPH_AI_SAVE_ENDPOINT\", {\n slug: \"scrapegraph_ai-save-endpoint\",\n name: \"Save Endpoint Configuration\",\n description: \"Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.\",\n input: ScrapegraphAiSaveEndpointInput,\n output: ScrapegraphAiSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACjF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;EACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC7J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG;CAChK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACpH,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,CAAC,SAAS,0IAA0I,EACxN,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/save-endpoint.d.ts
4
+ declare const ScrapegraphAiSaveEndpointInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiSaveEndpointOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiSaveEndpoint };
9
+ //# sourceMappingURL=save-endpoint.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAkB8C;AAAA,cAChF,+BAAA,EAAiC,CAAA,CAAE,UAIiC;AAAA,cAEpE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-endpoint.d.ts
4
+ declare const ScrapegraphAiSaveEndpointInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiSaveEndpointOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiSaveEndpoint };
9
+ //# sourceMappingURL=save-endpoint.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAkB8C;AAAA,cAChF,+BAAA,EAAiC,CAAA,CAAE,UAIiC;AAAA,cAEpE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scrapegraphAiSaveEndpoint = action("SCRAPEGRAPH_AI_SAVE_ENDPOINT", {
4
+ slug: "scrapegraph_ai-save-endpoint",
5
+ name: "Save Endpoint Configuration",
6
+ description: "Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.",
7
+ input: z.object({ suggestions: z.array(z.object({
8
+ method: z.string().default("POST").describe("HTTP method for the endpoint (GET, POST, PUT, etc.).").optional(),
9
+ endpoint: z.string().describe("The endpoint path (e.g., /test-endpoint). Must be a valid URL path."),
10
+ parameters: z.array(z.object({
11
+ name: z.string().describe("Parameter name (alphanumeric, underscores, dots, and hyphens only)."),
12
+ type: z.string().describe("Parameter data type (e.g., string, integer, boolean)."),
13
+ is_url: z.boolean().default(false).describe("Whether this parameter is a URL that should be scraped.").optional(),
14
+ location: z.string().describe("Where the parameter is passed (query, path, body, header)."),
15
+ required: z.boolean().describe("Whether this parameter is mandatory for the endpoint."),
16
+ description: z.string().describe("Detailed description of what this parameter does.")
17
+ }).describe("Schema for defining a parameter in a custom endpoint.")).describe("List of parameters that the endpoint accepts. Use empty list if no parameters."),
18
+ target_url: z.string().describe("The base URL or URL pattern that this endpoint will scrape."),
19
+ description: z.string().describe("Description of what this endpoint does and when to use it."),
20
+ pydantic_schema: z.record(z.string(), z.unknown()).describe("JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'."),
21
+ extraction_prompt: z.string().describe("Natural language instructions for what data to extract from the target URL."),
22
+ interaction_steps: z.array(z.string()).describe("Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).").optional()
23
+ }).describe("Schema for a custom scraping endpoint configuration.")).describe("List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.") }).describe("Request schema for saving one or more custom scraping endpoint configurations."),
24
+ output: z.object({
25
+ message: z.string().default("Endpoint configurations saved successfully").describe("Confirmation message from the API.").nullable().optional(),
26
+ success: z.boolean().default(true).describe("Whether the endpoint configurations were saved successfully.").nullable().optional(),
27
+ saved_count: z.number().int().describe("Number of endpoint configurations that were saved.")
28
+ }).describe("Response schema after successfully saving endpoint configurations.")
29
+ });
30
+ //#endregion
31
+ export { scrapegraphAiSaveEndpoint };
32
+
33
+ //# sourceMappingURL=save-endpoint.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.mjs","names":[],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSaveEndpointInput: z.ZodTypeAny = z.object({\n suggestions: z.array(z.object({\n method: z.string().default(\"POST\").describe(\"HTTP method for the endpoint (GET, POST, PUT, etc.).\").optional(),\n endpoint: z.string().describe(\"The endpoint path (e.g., /test-endpoint). Must be a valid URL path.\"),\n parameters: z.array(z.object({\n name: z.string().describe(\"Parameter name (alphanumeric, underscores, dots, and hyphens only).\"),\n type: z.string().describe(\"Parameter data type (e.g., string, integer, boolean).\"),\n is_url: z.boolean().default(false).describe(\"Whether this parameter is a URL that should be scraped.\").optional(),\n location: z.string().describe(\"Where the parameter is passed (query, path, body, header).\"),\n required: z.boolean().describe(\"Whether this parameter is mandatory for the endpoint.\"),\n description: z.string().describe(\"Detailed description of what this parameter does.\"),\n}).describe(\"Schema for defining a parameter in a custom endpoint.\")).describe(\"List of parameters that the endpoint accepts. Use empty list if no parameters.\"),\n target_url: z.string().describe(\"The base URL or URL pattern that this endpoint will scrape.\"),\n description: z.string().describe(\"Description of what this endpoint does and when to use it.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'.\"),\n extraction_prompt: z.string().describe(\"Natural language instructions for what data to extract from the target URL.\"),\n interaction_steps: z.array(z.string()).describe(\"Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).\").optional(),\n}).describe(\"Schema for a custom scraping endpoint configuration.\")).describe(\"List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.\"),\n}).describe(\"Request schema for saving one or more custom scraping endpoint configurations.\");\nexport const ScrapegraphAiSaveEndpointOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Endpoint configurations saved successfully\").describe(\"Confirmation message from the API.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the endpoint configurations were saved successfully.\").nullable().optional(),\n saved_count: z.number().int().describe(\"Number of endpoint configurations that were saved.\"),\n}).describe(\"Response schema after successfully saving endpoint configurations.\");\n\nexport const scrapegraphAiSaveEndpoint = action(\"SCRAPEGRAPH_AI_SAVE_ENDPOINT\", {\n slug: \"scrapegraph_ai-save-endpoint\",\n name: \"Save Endpoint Configuration\",\n description: \"Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.\",\n input: ScrapegraphAiSaveEndpointInput,\n output: ScrapegraphAiSaveEndpointOutput,\n});\n"],"mappings":";;AA6BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B0D,EAAE,OAAO,EACnE,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACnG,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;GAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;GACjF,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;GAC1F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;GACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACtF,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAC7J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG;EAChK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACpH,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,CAAC,SAAS,0IAA0I,EACxN,CAAC,CAAC,CAAC,SAAS,gFAWH;CACP,QAX2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC7F,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-scraper-status.ts
4
+ const ScrapegraphAiSearchScraperStatusInput = zod.z.object({ request_id: zod.z.string().describe("The unique identifier (UUID) of the SearchScraper request obtained from the SearchScraper action response.") }).describe("Request model for checking the status of a SearchScraper job.");
5
+ const ScrapegraphAiSearchScraperStatusOutput = zod.z.object({
6
+ error: zod.z.string().describe("Error message if the job failed. Empty or null if successful.").nullable().optional(),
7
+ result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Search results structured data (available when status is 'completed'). Contains the extracted information from the search.").nullable().optional(),
8
+ status: zod.z.string().describe("Current status of the search request. Possible values: 'queued', 'processing', 'completed', or 'failed'."),
9
+ request_id: zod.z.string().describe("The unique identifier (UUID) of the search request."),
10
+ num_results: zod.z.number().int().describe("Number of search results requested.").nullable().optional(),
11
+ user_prompt: zod.z.string().describe("The original search query that was submitted.").nullable().optional(),
12
+ reference_urls: zod.z.array(zod.z.string()).describe("List of URLs used as references for generating the search results.").nullable().optional(),
13
+ markdown_content: zod.z.string().describe("Markdown-formatted content of the search results.").nullable().optional()
14
+ }).describe("Response model for SearchScraper status check.");
15
+ const scrapegraphAiSearchScraperStatus = require_action.action("SCRAPEGRAPH_AI_SEARCH_SCRAPER_STATUS", {
16
+ slug: "scrapegraph_ai-search-scraper-status",
17
+ name: "Check SearchScraper Status",
18
+ description: "Check the status and results of an asynchronous SearchScraper job.",
19
+ input: ScrapegraphAiSearchScraperStatusInput,
20
+ output: ScrapegraphAiSearchScraperStatusOutput
21
+ });
22
+ //#endregion
23
+ exports.scrapegraphAiSearchScraperStatus = scrapegraphAiSearchScraperStatus;
24
+
25
+ //# sourceMappingURL=search-scraper-status.cjs.map