@keystrokehq/scrapegraph_ai 0.1.4 → 0.1.6

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 (229) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/convert-webpage-to-markdown-v2.cjs +1 -0
  4. package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -1
  5. package/dist/actions/convert-webpage-to-markdown-v2.d.cts +3 -13
  6. package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -1
  7. package/dist/actions/convert-webpage-to-markdown-v2.d.mts +3 -13
  8. package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -1
  9. package/dist/actions/convert-webpage-to-markdown-v2.mjs +1 -0
  10. package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -1
  11. package/dist/actions/generate-schema.cjs +1 -0
  12. package/dist/actions/generate-schema.cjs.map +1 -1
  13. package/dist/actions/generate-schema.d.cts +3 -4
  14. package/dist/actions/generate-schema.d.cts.map +1 -1
  15. package/dist/actions/generate-schema.d.mts +3 -4
  16. package/dist/actions/generate-schema.d.mts.map +1 -1
  17. package/dist/actions/generate-schema.mjs +1 -0
  18. package/dist/actions/generate-schema.mjs.map +1 -1
  19. package/dist/actions/get-agentic-scraper-history.cjs +1 -0
  20. package/dist/actions/get-agentic-scraper-history.cjs.map +1 -1
  21. package/dist/actions/get-agentic-scraper-history.d.cts +3 -4
  22. package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -1
  23. package/dist/actions/get-agentic-scraper-history.d.mts +3 -4
  24. package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -1
  25. package/dist/actions/get-agentic-scraper-history.mjs +1 -0
  26. package/dist/actions/get-agentic-scraper-history.mjs.map +1 -1
  27. package/dist/actions/get-crawler-history.cjs +1 -0
  28. package/dist/actions/get-crawler-history.cjs.map +1 -1
  29. package/dist/actions/get-crawler-history.d.cts +3 -4
  30. package/dist/actions/get-crawler-history.d.cts.map +1 -1
  31. package/dist/actions/get-crawler-history.d.mts +3 -4
  32. package/dist/actions/get-crawler-history.d.mts.map +1 -1
  33. package/dist/actions/get-crawler-history.mjs +1 -0
  34. package/dist/actions/get-crawler-history.mjs.map +1 -1
  35. package/dist/actions/get-credits.cjs +1 -0
  36. package/dist/actions/get-credits.cjs.map +1 -1
  37. package/dist/actions/get-credits.d.cts +3 -1
  38. package/dist/actions/get-credits.d.cts.map +1 -1
  39. package/dist/actions/get-credits.d.mts +3 -1
  40. package/dist/actions/get-credits.d.mts.map +1 -1
  41. package/dist/actions/get-credits.mjs +1 -0
  42. package/dist/actions/get-credits.mjs.map +1 -1
  43. package/dist/actions/get-endpoint-suggestions.cjs +1 -0
  44. package/dist/actions/get-endpoint-suggestions.cjs.map +1 -1
  45. package/dist/actions/get-endpoint-suggestions.d.cts +3 -4
  46. package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -1
  47. package/dist/actions/get-endpoint-suggestions.d.mts +3 -4
  48. package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -1
  49. package/dist/actions/get-endpoint-suggestions.mjs +1 -0
  50. package/dist/actions/get-endpoint-suggestions.mjs.map +1 -1
  51. package/dist/actions/get-live-session-url.cjs +1 -0
  52. package/dist/actions/get-live-session-url.cjs.map +1 -1
  53. package/dist/actions/get-live-session-url.d.cts +3 -4
  54. package/dist/actions/get-live-session-url.d.cts.map +1 -1
  55. package/dist/actions/get-live-session-url.d.mts +3 -4
  56. package/dist/actions/get-live-session-url.d.mts.map +1 -1
  57. package/dist/actions/get-live-session-url.mjs +1 -0
  58. package/dist/actions/get-live-session-url.mjs.map +1 -1
  59. package/dist/actions/get-markdownify-history.cjs +1 -0
  60. package/dist/actions/get-markdownify-history.cjs.map +1 -1
  61. package/dist/actions/get-markdownify-history.d.cts +3 -4
  62. package/dist/actions/get-markdownify-history.d.cts.map +1 -1
  63. package/dist/actions/get-markdownify-history.d.mts +3 -4
  64. package/dist/actions/get-markdownify-history.d.mts.map +1 -1
  65. package/dist/actions/get-markdownify-history.mjs +1 -0
  66. package/dist/actions/get-markdownify-history.mjs.map +1 -1
  67. package/dist/actions/get-scrape-history.cjs +1 -0
  68. package/dist/actions/get-scrape-history.cjs.map +1 -1
  69. package/dist/actions/get-scrape-history.d.cts +3 -4
  70. package/dist/actions/get-scrape-history.d.cts.map +1 -1
  71. package/dist/actions/get-scrape-history.d.mts +3 -4
  72. package/dist/actions/get-scrape-history.d.mts.map +1 -1
  73. package/dist/actions/get-scrape-history.mjs +1 -0
  74. package/dist/actions/get-scrape-history.mjs.map +1 -1
  75. package/dist/actions/get-searchscraper-history.cjs +1 -0
  76. package/dist/actions/get-searchscraper-history.cjs.map +1 -1
  77. package/dist/actions/get-searchscraper-history.d.cts +3 -4
  78. package/dist/actions/get-searchscraper-history.d.cts.map +1 -1
  79. package/dist/actions/get-searchscraper-history.d.mts +3 -4
  80. package/dist/actions/get-searchscraper-history.d.mts.map +1 -1
  81. package/dist/actions/get-searchscraper-history.mjs +1 -0
  82. package/dist/actions/get-searchscraper-history.mjs.map +1 -1
  83. package/dist/actions/get-sitemap-history.cjs +1 -0
  84. package/dist/actions/get-sitemap-history.cjs.map +1 -1
  85. package/dist/actions/get-sitemap-history.d.cts +3 -4
  86. package/dist/actions/get-sitemap-history.d.cts.map +1 -1
  87. package/dist/actions/get-sitemap-history.d.mts +3 -4
  88. package/dist/actions/get-sitemap-history.d.mts.map +1 -1
  89. package/dist/actions/get-sitemap-history.mjs +1 -0
  90. package/dist/actions/get-sitemap-history.mjs.map +1 -1
  91. package/dist/actions/get-smartscraper-history.cjs +1 -0
  92. package/dist/actions/get-smartscraper-history.cjs.map +1 -1
  93. package/dist/actions/get-smartscraper-history.d.cts +3 -4
  94. package/dist/actions/get-smartscraper-history.d.cts.map +1 -1
  95. package/dist/actions/get-smartscraper-history.d.mts +3 -4
  96. package/dist/actions/get-smartscraper-history.d.mts.map +1 -1
  97. package/dist/actions/get-smartscraper-history.mjs +1 -0
  98. package/dist/actions/get-smartscraper-history.mjs.map +1 -1
  99. package/dist/actions/get-usage-timeline.cjs +1 -0
  100. package/dist/actions/get-usage-timeline.cjs.map +1 -1
  101. package/dist/actions/get-usage-timeline.d.cts +3 -3
  102. package/dist/actions/get-usage-timeline.d.cts.map +1 -1
  103. package/dist/actions/get-usage-timeline.d.mts +3 -3
  104. package/dist/actions/get-usage-timeline.d.mts.map +1 -1
  105. package/dist/actions/get-usage-timeline.mjs +1 -0
  106. package/dist/actions/get-usage-timeline.mjs.map +1 -1
  107. package/dist/actions/get-webhook-logs.cjs +1 -0
  108. package/dist/actions/get-webhook-logs.cjs.map +1 -1
  109. package/dist/actions/get-webhook-logs.d.cts +3 -3
  110. package/dist/actions/get-webhook-logs.d.cts.map +1 -1
  111. package/dist/actions/get-webhook-logs.d.mts +3 -3
  112. package/dist/actions/get-webhook-logs.d.mts.map +1 -1
  113. package/dist/actions/get-webhook-logs.mjs +1 -0
  114. package/dist/actions/get-webhook-logs.mjs.map +1 -1
  115. package/dist/actions/list-scheduled-jobs.cjs +1 -0
  116. package/dist/actions/list-scheduled-jobs.cjs.map +1 -1
  117. package/dist/actions/list-scheduled-jobs.d.cts +3 -6
  118. package/dist/actions/list-scheduled-jobs.d.cts.map +1 -1
  119. package/dist/actions/list-scheduled-jobs.d.mts +3 -6
  120. package/dist/actions/list-scheduled-jobs.d.mts.map +1 -1
  121. package/dist/actions/list-scheduled-jobs.mjs +1 -0
  122. package/dist/actions/list-scheduled-jobs.mjs.map +1 -1
  123. package/dist/actions/markdownify-status.cjs +1 -0
  124. package/dist/actions/markdownify-status.cjs.map +1 -1
  125. package/dist/actions/markdownify-status.d.cts +3 -3
  126. package/dist/actions/markdownify-status.d.cts.map +1 -1
  127. package/dist/actions/markdownify-status.d.mts +3 -3
  128. package/dist/actions/markdownify-status.d.mts.map +1 -1
  129. package/dist/actions/markdownify-status.mjs +1 -0
  130. package/dist/actions/markdownify-status.mjs.map +1 -1
  131. package/dist/actions/save-endpoint.cjs +1 -0
  132. package/dist/actions/save-endpoint.cjs.map +1 -1
  133. package/dist/actions/save-endpoint.d.cts +3 -21
  134. package/dist/actions/save-endpoint.d.cts.map +1 -1
  135. package/dist/actions/save-endpoint.d.mts +3 -21
  136. package/dist/actions/save-endpoint.d.mts.map +1 -1
  137. package/dist/actions/save-endpoint.mjs +1 -0
  138. package/dist/actions/save-endpoint.mjs.map +1 -1
  139. package/dist/actions/search-scraper-status.cjs +1 -0
  140. package/dist/actions/search-scraper-status.cjs.map +1 -1
  141. package/dist/actions/search-scraper-status.d.cts +3 -3
  142. package/dist/actions/search-scraper-status.d.cts.map +1 -1
  143. package/dist/actions/search-scraper-status.d.mts +3 -3
  144. package/dist/actions/search-scraper-status.d.mts.map +1 -1
  145. package/dist/actions/search-scraper-status.mjs +1 -0
  146. package/dist/actions/search-scraper-status.mjs.map +1 -1
  147. package/dist/actions/search-scraper.cjs +1 -0
  148. package/dist/actions/search-scraper.cjs.map +1 -1
  149. package/dist/actions/search-scraper.d.cts +3 -7
  150. package/dist/actions/search-scraper.d.cts.map +1 -1
  151. package/dist/actions/search-scraper.d.mts +3 -7
  152. package/dist/actions/search-scraper.d.mts.map +1 -1
  153. package/dist/actions/search-scraper.mjs +1 -0
  154. package/dist/actions/search-scraper.mjs.map +1 -1
  155. package/dist/actions/smart-crawler-status.cjs +1 -0
  156. package/dist/actions/smart-crawler-status.cjs.map +1 -1
  157. package/dist/actions/smart-crawler-status.d.cts +3 -3
  158. package/dist/actions/smart-crawler-status.d.cts.map +1 -1
  159. package/dist/actions/smart-crawler-status.d.mts +3 -3
  160. package/dist/actions/smart-crawler-status.d.mts.map +1 -1
  161. package/dist/actions/smart-crawler-status.mjs +1 -0
  162. package/dist/actions/smart-crawler-status.mjs.map +1 -1
  163. package/dist/actions/smart-scraper-start.cjs +1 -0
  164. package/dist/actions/smart-scraper-start.cjs.map +1 -1
  165. package/dist/actions/smart-scraper-start.d.cts +3 -17
  166. package/dist/actions/smart-scraper-start.d.cts.map +1 -1
  167. package/dist/actions/smart-scraper-start.d.mts +3 -17
  168. package/dist/actions/smart-scraper-start.d.mts.map +1 -1
  169. package/dist/actions/smart-scraper-start.mjs +1 -0
  170. package/dist/actions/smart-scraper-start.mjs.map +1 -1
  171. package/dist/actions/smart-scraper-status.cjs +1 -0
  172. package/dist/actions/smart-scraper-status.cjs.map +1 -1
  173. package/dist/actions/smart-scraper-status.d.cts +3 -3
  174. package/dist/actions/smart-scraper-status.d.cts.map +1 -1
  175. package/dist/actions/smart-scraper-status.d.mts +3 -3
  176. package/dist/actions/smart-scraper-status.d.mts.map +1 -1
  177. package/dist/actions/smart-scraper-status.mjs +1 -0
  178. package/dist/actions/smart-scraper-status.mjs.map +1 -1
  179. package/dist/actions/start-smart-crawler.cjs +1 -0
  180. package/dist/actions/start-smart-crawler.cjs.map +1 -1
  181. package/dist/actions/start-smart-crawler.d.cts +3 -22
  182. package/dist/actions/start-smart-crawler.d.cts.map +1 -1
  183. package/dist/actions/start-smart-crawler.d.mts +3 -22
  184. package/dist/actions/start-smart-crawler.d.mts.map +1 -1
  185. package/dist/actions/start-smart-crawler.mjs +1 -0
  186. package/dist/actions/start-smart-crawler.mjs.map +1 -1
  187. package/dist/actions/submit-feedback.cjs +1 -0
  188. package/dist/actions/submit-feedback.cjs.map +1 -1
  189. package/dist/actions/submit-feedback.d.cts +3 -5
  190. package/dist/actions/submit-feedback.d.cts.map +1 -1
  191. package/dist/actions/submit-feedback.d.mts +3 -5
  192. package/dist/actions/submit-feedback.d.mts.map +1 -1
  193. package/dist/actions/submit-feedback.mjs +1 -0
  194. package/dist/actions/submit-feedback.mjs.map +1 -1
  195. package/dist/actions/submit-product-feedback.cjs +1 -0
  196. package/dist/actions/submit-product-feedback.cjs.map +1 -1
  197. package/dist/actions/submit-product-feedback.d.cts +3 -19
  198. package/dist/actions/submit-product-feedback.d.cts.map +1 -1
  199. package/dist/actions/submit-product-feedback.d.mts +3 -19
  200. package/dist/actions/submit-product-feedback.d.mts.map +1 -1
  201. package/dist/actions/submit-product-feedback.mjs +1 -0
  202. package/dist/actions/submit-product-feedback.mjs.map +1 -1
  203. package/dist/actions/toonify.cjs +1 -0
  204. package/dist/actions/toonify.cjs.map +1 -1
  205. package/dist/actions/toonify.d.cts +3 -3
  206. package/dist/actions/toonify.d.cts.map +1 -1
  207. package/dist/actions/toonify.d.mts +3 -3
  208. package/dist/actions/toonify.d.mts.map +1 -1
  209. package/dist/actions/toonify.mjs +1 -0
  210. package/dist/actions/toonify.mjs.map +1 -1
  211. package/dist/actions/validate-api-key.cjs +1 -0
  212. package/dist/actions/validate-api-key.cjs.map +1 -1
  213. package/dist/actions/validate-api-key.d.cts +3 -1
  214. package/dist/actions/validate-api-key.d.cts.map +1 -1
  215. package/dist/actions/validate-api-key.d.mts +3 -1
  216. package/dist/actions/validate-api-key.d.mts.map +1 -1
  217. package/dist/actions/validate-api-key.mjs +1 -0
  218. package/dist/actions/validate-api-key.mjs.map +1 -1
  219. package/dist/app.cjs +5 -2
  220. package/dist/app.cjs.map +1 -1
  221. package/dist/app.d.cts +7 -1
  222. package/dist/app.d.cts.map +1 -1
  223. package/dist/app.d.mts +7 -1
  224. package/dist/app.d.mts.map +1 -1
  225. package/dist/app.mjs +3 -2
  226. package/dist/app.mjs.map +1 -1
  227. package/dist/index.d.cts +1 -1
  228. package/dist/index.d.mts +1 -1
  229. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = 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 items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,UAAUA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = 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 items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory: AppAction<\n typeof ScrapegraphAiGetSitemapHistoryInput,\n typeof ScrapegraphAiGetSitemapHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,UAAUA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-sitemap-history.d.ts
@@ -19,10 +21,7 @@ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
19
21
  error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page?: number | undefined;
24
- page_size?: number | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const scrapegraphAiGetSitemapHistory: AppAction<typeof ScrapegraphAiGetSitemapHistoryInput, typeof ScrapegraphAiGetSitemapHistoryOutput, typeof scrapegraphAi.credential>;
26
25
  //#endregion
27
26
  export { scrapegraphAiGetSitemapHistory };
28
27
  //# sourceMappingURL=get-sitemap-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-sitemap-history.d.cts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-sitemap-history.d.cts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-sitemap-history.d.ts
@@ -19,10 +21,7 @@ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
19
21
  error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page?: number | undefined;
24
- page_size?: number | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const scrapegraphAiGetSitemapHistory: AppAction<typeof ScrapegraphAiGetSitemapHistoryInput, typeof ScrapegraphAiGetSitemapHistoryOutput, typeof scrapegraphAi.credential>;
26
25
  //#endregion
27
26
  export { scrapegraphAiGetSitemapHistory };
28
27
  //# sourceMappingURL=get-sitemap-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-sitemap-history.d.mts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-sitemap-history.d.mts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-sitemap-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = 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 items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,M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AO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = 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 items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory: AppAction<\n typeof ScrapegraphAiGetSitemapHistoryInput,\n typeof ScrapegraphAiGetSitemapHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,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,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAA0D,EAAE,OAAO;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAM9F,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-smartscraper-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-smartscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperH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AoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-smartscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory: AppAction<\n typeof ScrapegraphAiGetSmartscraperHistoryInput,\n typeof ScrapegraphAiGetSmartscraperHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-smartscraper-history.d.ts
@@ -23,10 +25,7 @@ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
23
25
  request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- page?: number | undefined;
28
- page_size?: number | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const scrapegraphAiGetSmartscraperHistory: AppAction<typeof ScrapegraphAiGetSmartscraperHistoryInput, typeof ScrapegraphAiGetSmartscraperHistoryOutput, typeof scrapegraphAi.credential>;
30
29
  //#endregion
31
30
  export { scrapegraphAiGetSmartscraperHistory };
32
31
  //# sourceMappingURL=get-smartscraper-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-smartscraper-history.d.cts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-smartscraper-history.d.cts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-smartscraper-history.d.ts
@@ -23,10 +25,7 @@ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
23
25
  request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- page?: number | undefined;
28
- page_size?: number | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const scrapegraphAiGetSmartscraperHistory: AppAction<typeof ScrapegraphAiGetSmartscraperHistoryInput, typeof ScrapegraphAiGetSmartscraperHistoryOutput, typeof scrapegraphAi.credential>;
30
29
  //#endregion
31
30
  export { scrapegraphAiGetSmartscraperHistory };
32
31
  //# sourceMappingURL=get-smartscraper-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-smartscraper-history.d.mts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-smartscraper-history.d.mts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-smartscraper-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-smartscraper-history.mjs","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAkE,EAAE,OAAO;CAC/E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;CAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-smartscraper-history.mjs","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory: AppAction<\n typeof ScrapegraphAiGetSmartscraperHistoryInput,\n typeof ScrapegraphAiGetSmartscraperHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHisto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,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduD,EAAE,OAAO;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;CAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-usage-timeline.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage-timeline.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-usage-timeline.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline: AppAction<\n typeof ScrapegraphAiGetUsageTimelineInput,\n typeof ScrapegraphAiGetUsageTimelineOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-usage-timeline.d.ts
@@ -15,9 +17,7 @@ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
15
17
  timestamp: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- days?: "7" | "14" | "30" | "all" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const scrapegraphAiGetUsageTimeline: AppAction<typeof ScrapegraphAiGetUsageTimelineInput, typeof ScrapegraphAiGetUsageTimelineOutput, typeof scrapegraphAi.credential>;
21
21
  //#endregion
22
22
  export { scrapegraphAiGetUsageTimeline };
23
23
  //# sourceMappingURL=get-usage-timeline.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage-timeline.d.cts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-usage-timeline.d.cts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-usage-timeline.d.ts
@@ -15,9 +17,7 @@ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
15
17
  timestamp: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- days?: "7" | "14" | "30" | "all" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const scrapegraphAiGetUsageTimeline: AppAction<typeof ScrapegraphAiGetUsageTimelineInput, typeof ScrapegraphAiGetUsageTimelineOutput, typeof scrapegraphAi.credential>;
21
21
  //#endregion
22
22
  export { scrapegraphAiGetUsageTimeline };
23
23
  //# sourceMappingURL=get-usage-timeline.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage-timeline.d.mts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-usage-timeline.d.mts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-usage-timeline.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage-timeline.mjs","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAK/F,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-usage-timeline.mjs","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline: AppAction<\n typeof ScrapegraphAiGetUsageTimelineInput,\n typeof ScrapegraphAiGetUsageTimelineOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAK/F,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-webhook-logs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = 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.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}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = 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}).passthrough().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,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-webhook-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = 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.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}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = 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}).passthrough().describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs: AppAction<\n typeof ScrapegraphAiGetWebhookLogsInput,\n typeof ScrapegraphAiGetWebhookLogsOutput,\n typeof scrapegraphAi.credential\n> = 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":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoDA,IAAA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AS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-webhook-logs.d.ts
@@ -18,9 +20,7 @@ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodObject<{
18
20
  }, z.core.$loose>>>>;
19
21
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
22
  }, z.core.$loose>;
21
- declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- crawler_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const scrapegraphAiGetWebhookLogs: AppAction<typeof ScrapegraphAiGetWebhookLogsInput, typeof ScrapegraphAiGetWebhookLogsOutput, typeof scrapegraphAi.credential>;
24
24
  //#endregion
25
25
  export { scrapegraphAiGetWebhookLogs };
26
26
  //# sourceMappingURL=get-webhook-logs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook-logs.d.cts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-webhook-logs.d.cts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-webhook-logs.d.ts
@@ -18,9 +20,7 @@ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodObject<{
18
20
  }, z.core.$loose>>>>;
19
21
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
22
  }, z.core.$loose>;
21
- declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- crawler_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const scrapegraphAiGetWebhookLogs: AppAction<typeof ScrapegraphAiGetWebhookLogsInput, typeof ScrapegraphAiGetWebhookLogsOutput, typeof scrapegraphAi.credential>;
24
24
  //#endregion
25
25
  export { scrapegraphAiGetWebhookLogs };
26
26
  //# sourceMappingURL=get-webhook-logs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook-logs.d.mts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-webhook-logs.d.mts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-webhook-logs.ts
@@ -1 +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.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.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}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = 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}).passthrough().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,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoD,EAAE,OAAO;CACjE,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAM3E,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-webhook-logs.mjs","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = 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.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}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = 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}).passthrough().describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs: AppAction<\n typeof ScrapegraphAiGetWebhookLogsInput,\n typeof ScrapegraphAiGetWebhookLogsOutput,\n typeof scrapegraphAi.credential\n> = 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":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoD,EAAE,OAAO;CACjE,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAM3E,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,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,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-scheduled-jobs.ts
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\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\").nullable(),\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')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = 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\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().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,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAOA,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} from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiListScheduledJobsInput = 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.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\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\").nullable(),\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')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = 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\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs: AppAction<\n typeof ScrapegraphAiListScheduledJobsInput,\n typeof ScrapegraphAiListScheduledJobsOutput,\n typeof scrapegraphAi.credential\n> = 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":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAA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CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-scheduled-jobs.d.ts
@@ -25,12 +27,7 @@ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodObject<{
25
27
  total: z.ZodNullable<z.ZodNumber>;
26
28
  page_size: z.ZodNullable<z.ZodNumber>;
27
29
  }, z.core.$loose>;
28
- declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- page?: number | undefined;
30
- is_active?: string | undefined;
31
- page_size?: number | undefined;
32
- service_type?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const scrapegraphAiListScheduledJobs: AppAction<typeof ScrapegraphAiListScheduledJobsInput, typeof ScrapegraphAiListScheduledJobsOutput, typeof scrapegraphAi.credential>;
34
31
  //#endregion
35
32
  export { scrapegraphAiListScheduledJobs };
36
33
  //# sourceMappingURL=list-scheduled-jobs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-scheduled-jobs.d.cts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAOpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-scheduled-jobs.d.cts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAOpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-scheduled-jobs.d.ts
@@ -25,12 +27,7 @@ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodObject<{
25
27
  total: z.ZodNullable<z.ZodNumber>;
26
28
  page_size: z.ZodNullable<z.ZodNumber>;
27
29
  }, z.core.$loose>;
28
- declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- page?: number | undefined;
30
- is_active?: string | undefined;
31
- page_size?: number | undefined;
32
- service_type?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const scrapegraphAiListScheduledJobs: AppAction<typeof ScrapegraphAiListScheduledJobsInput, typeof ScrapegraphAiListScheduledJobsOutput, typeof scrapegraphAi.credential>;
34
31
  //#endregion
35
32
  export { scrapegraphAiListScheduledJobs };
36
33
  //# sourceMappingURL=list-scheduled-jobs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-scheduled-jobs.d.mts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAOpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-scheduled-jobs.d.mts","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAOpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-scheduled-jobs.ts
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\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\").nullable(),\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')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = 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\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().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,sCAAsC,EAAE,OAAO;CAC1D,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,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS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SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-scheduled-jobs.mjs","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiListScheduledJobsInput = 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.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\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\").nullable(),\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')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = 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\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs: AppAction<\n typeof ScrapegraphAiListScheduledJobsInput,\n typeof ScrapegraphAiListScheduledJobsOutput,\n typeof scrapegraphAi.credential\n> = 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":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,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,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CA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AI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/markdownify-status.ts
@@ -1 +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.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.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\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).passthrough().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,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"markdownify-status.cjs","names":["z","action"],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput = 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.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\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).passthrough().describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus: AppAction<\n typeof ScrapegraphAiMarkdownifyStatusInput,\n typeof ScrapegraphAiMarkdownifyStatusOutput,\n typeof scrapegraphAi.credential\n> = 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":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scrapegraphAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/markdownify-status.d.ts
@@ -16,9 +18,7 @@ declare const ScrapegraphAiMarkdownifyStatusOutput: z.ZodObject<{
16
18
  request_id: z.ZodNullable<z.ZodString>;
17
19
  website_url: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const scrapegraphAiMarkdownifyStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- request_id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const scrapegraphAiMarkdownifyStatus: AppAction<typeof ScrapegraphAiMarkdownifyStatusInput, typeof ScrapegraphAiMarkdownifyStatusOutput, typeof scrapegraphAi.credential>;
22
22
  //#endregion
23
23
  export { scrapegraphAiMarkdownifyStatus };
24
24
  //# sourceMappingURL=markdownify-status.d.cts.map