@keystrokehq/pdf_co 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 (285) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/account-balance-info.cjs +1 -0
  4. package/dist/actions/account-balance-info.cjs.map +1 -1
  5. package/dist/actions/account-balance-info.d.cts +3 -1
  6. package/dist/actions/account-balance-info.d.cts.map +1 -1
  7. package/dist/actions/account-balance-info.d.mts +3 -1
  8. package/dist/actions/account-balance-info.d.mts.map +1 -1
  9. package/dist/actions/account-balance-info.mjs +1 -0
  10. package/dist/actions/account-balance-info.mjs.map +1 -1
  11. package/dist/actions/convert-excel-to-csv.cjs +1 -0
  12. package/dist/actions/convert-excel-to-csv.cjs.map +1 -1
  13. package/dist/actions/convert-excel-to-csv.d.cts +3 -8
  14. package/dist/actions/convert-excel-to-csv.d.cts.map +1 -1
  15. package/dist/actions/convert-excel-to-csv.d.mts +3 -8
  16. package/dist/actions/convert-excel-to-csv.d.mts.map +1 -1
  17. package/dist/actions/convert-excel-to-csv.mjs +1 -0
  18. package/dist/actions/convert-excel-to-csv.mjs.map +1 -1
  19. package/dist/actions/convert-excel-to-html.cjs +1 -0
  20. package/dist/actions/convert-excel-to-html.cjs.map +1 -1
  21. package/dist/actions/convert-excel-to-html.d.cts +3 -6
  22. package/dist/actions/convert-excel-to-html.d.cts.map +1 -1
  23. package/dist/actions/convert-excel-to-html.d.mts +3 -6
  24. package/dist/actions/convert-excel-to-html.d.mts.map +1 -1
  25. package/dist/actions/convert-excel-to-html.mjs +1 -0
  26. package/dist/actions/convert-excel-to-html.mjs.map +1 -1
  27. package/dist/actions/convert-excel-to-json.cjs +1 -0
  28. package/dist/actions/convert-excel-to-json.cjs.map +1 -1
  29. package/dist/actions/convert-excel-to-json.d.cts +3 -7
  30. package/dist/actions/convert-excel-to-json.d.cts.map +1 -1
  31. package/dist/actions/convert-excel-to-json.d.mts +3 -7
  32. package/dist/actions/convert-excel-to-json.d.mts.map +1 -1
  33. package/dist/actions/convert-excel-to-json.mjs +1 -0
  34. package/dist/actions/convert-excel-to-json.mjs.map +1 -1
  35. package/dist/actions/convert-excel-to-text.cjs +1 -0
  36. package/dist/actions/convert-excel-to-text.cjs.map +1 -1
  37. package/dist/actions/convert-excel-to-text.d.cts +3 -9
  38. package/dist/actions/convert-excel-to-text.d.cts.map +1 -1
  39. package/dist/actions/convert-excel-to-text.d.mts +3 -9
  40. package/dist/actions/convert-excel-to-text.d.mts.map +1 -1
  41. package/dist/actions/convert-excel-to-text.mjs +1 -0
  42. package/dist/actions/convert-excel-to-text.mjs.map +1 -1
  43. package/dist/actions/convert-excel-to-xml.cjs +1 -0
  44. package/dist/actions/convert-excel-to-xml.cjs.map +1 -1
  45. package/dist/actions/convert-excel-to-xml.d.cts +3 -18
  46. package/dist/actions/convert-excel-to-xml.d.cts.map +1 -1
  47. package/dist/actions/convert-excel-to-xml.d.mts +3 -18
  48. package/dist/actions/convert-excel-to-xml.d.mts.map +1 -1
  49. package/dist/actions/convert-excel-to-xml.mjs +1 -0
  50. package/dist/actions/convert-excel-to-xml.mjs.map +1 -1
  51. package/dist/actions/document-parser.cjs +1 -0
  52. package/dist/actions/document-parser.cjs.map +1 -1
  53. package/dist/actions/document-parser.d.cts +3 -11
  54. package/dist/actions/document-parser.d.cts.map +1 -1
  55. package/dist/actions/document-parser.d.mts +3 -11
  56. package/dist/actions/document-parser.d.mts.map +1 -1
  57. package/dist/actions/document-parser.mjs +1 -0
  58. package/dist/actions/document-parser.mjs.map +1 -1
  59. package/dist/actions/file-upload.cjs +1 -0
  60. package/dist/actions/file-upload.cjs.map +1 -1
  61. package/dist/actions/file-upload.d.cts +3 -10
  62. package/dist/actions/file-upload.d.cts.map +1 -1
  63. package/dist/actions/file-upload.d.mts +3 -10
  64. package/dist/actions/file-upload.d.mts.map +1 -1
  65. package/dist/actions/file-upload.mjs +1 -0
  66. package/dist/actions/file-upload.mjs.map +1 -1
  67. package/dist/actions/job-check.cjs +1 -0
  68. package/dist/actions/job-check.cjs.map +1 -1
  69. package/dist/actions/job-check.d.cts +3 -4
  70. package/dist/actions/job-check.d.cts.map +1 -1
  71. package/dist/actions/job-check.d.mts +3 -4
  72. package/dist/actions/job-check.d.mts.map +1 -1
  73. package/dist/actions/job-check.mjs +1 -0
  74. package/dist/actions/job-check.mjs.map +1 -1
  75. package/dist/actions/pdf-add.cjs +1 -0
  76. package/dist/actions/pdf-add.cjs.map +1 -1
  77. package/dist/actions/pdf-add.d.cts +3 -8
  78. package/dist/actions/pdf-add.d.cts.map +1 -1
  79. package/dist/actions/pdf-add.d.mts +3 -8
  80. package/dist/actions/pdf-add.d.mts.map +1 -1
  81. package/dist/actions/pdf-add.mjs +1 -0
  82. package/dist/actions/pdf-add.mjs.map +1 -1
  83. package/dist/actions/pdf-change-text-searchable.cjs +1 -0
  84. package/dist/actions/pdf-change-text-searchable.cjs.map +1 -1
  85. package/dist/actions/pdf-change-text-searchable.d.cts +3 -9
  86. package/dist/actions/pdf-change-text-searchable.d.cts.map +1 -1
  87. package/dist/actions/pdf-change-text-searchable.d.mts +3 -9
  88. package/dist/actions/pdf-change-text-searchable.d.mts.map +1 -1
  89. package/dist/actions/pdf-change-text-searchable.mjs +1 -0
  90. package/dist/actions/pdf-change-text-searchable.mjs.map +1 -1
  91. package/dist/actions/pdf-delete-pages.cjs +1 -0
  92. package/dist/actions/pdf-delete-pages.cjs.map +1 -1
  93. package/dist/actions/pdf-delete-pages.d.cts +3 -8
  94. package/dist/actions/pdf-delete-pages.d.cts.map +1 -1
  95. package/dist/actions/pdf-delete-pages.d.mts +3 -8
  96. package/dist/actions/pdf-delete-pages.d.mts.map +1 -1
  97. package/dist/actions/pdf-delete-pages.mjs +1 -0
  98. package/dist/actions/pdf-delete-pages.mjs.map +1 -1
  99. package/dist/actions/pdf-extract-attachments.cjs +1 -0
  100. package/dist/actions/pdf-extract-attachments.cjs.map +1 -1
  101. package/dist/actions/pdf-extract-attachments.d.cts +3 -10
  102. package/dist/actions/pdf-extract-attachments.d.cts.map +1 -1
  103. package/dist/actions/pdf-extract-attachments.d.mts +3 -10
  104. package/dist/actions/pdf-extract-attachments.d.mts.map +1 -1
  105. package/dist/actions/pdf-extract-attachments.mjs +1 -0
  106. package/dist/actions/pdf-extract-attachments.mjs.map +1 -1
  107. package/dist/actions/pdf-find.cjs +1 -0
  108. package/dist/actions/pdf-find.cjs.map +1 -1
  109. package/dist/actions/pdf-find.d.cts +3 -9
  110. package/dist/actions/pdf-find.d.cts.map +1 -1
  111. package/dist/actions/pdf-find.d.mts +3 -9
  112. package/dist/actions/pdf-find.d.mts.map +1 -1
  113. package/dist/actions/pdf-find.mjs +1 -0
  114. package/dist/actions/pdf-find.mjs.map +1 -1
  115. package/dist/actions/pdf-forms-info-reader.cjs +1 -0
  116. package/dist/actions/pdf-forms-info-reader.cjs.map +1 -1
  117. package/dist/actions/pdf-forms-info-reader.d.cts +3 -5
  118. package/dist/actions/pdf-forms-info-reader.d.cts.map +1 -1
  119. package/dist/actions/pdf-forms-info-reader.d.mts +3 -5
  120. package/dist/actions/pdf-forms-info-reader.d.mts.map +1 -1
  121. package/dist/actions/pdf-forms-info-reader.mjs +1 -0
  122. package/dist/actions/pdf-forms-info-reader.mjs.map +1 -1
  123. package/dist/actions/pdf-from-document-txt.cjs +1 -0
  124. package/dist/actions/pdf-from-document-txt.cjs.map +1 -1
  125. package/dist/actions/pdf-from-document-txt.d.cts +3 -6
  126. package/dist/actions/pdf-from-document-txt.d.cts.map +1 -1
  127. package/dist/actions/pdf-from-document-txt.d.mts +3 -6
  128. package/dist/actions/pdf-from-document-txt.d.mts.map +1 -1
  129. package/dist/actions/pdf-from-document-txt.mjs +1 -0
  130. package/dist/actions/pdf-from-document-txt.mjs.map +1 -1
  131. package/dist/actions/pdf-from-email.cjs +1 -0
  132. package/dist/actions/pdf-from-email.cjs.map +1 -1
  133. package/dist/actions/pdf-from-email.d.cts +3 -6
  134. package/dist/actions/pdf-from-email.d.cts.map +1 -1
  135. package/dist/actions/pdf-from-email.d.mts +3 -6
  136. package/dist/actions/pdf-from-email.d.mts.map +1 -1
  137. package/dist/actions/pdf-from-email.mjs +1 -0
  138. package/dist/actions/pdf-from-email.mjs.map +1 -1
  139. package/dist/actions/pdf-from-html.cjs +1 -0
  140. package/dist/actions/pdf-from-html.cjs.map +1 -1
  141. package/dist/actions/pdf-from-html.d.cts +3 -16
  142. package/dist/actions/pdf-from-html.d.cts.map +1 -1
  143. package/dist/actions/pdf-from-html.d.mts +3 -16
  144. package/dist/actions/pdf-from-html.d.mts.map +1 -1
  145. package/dist/actions/pdf-from-html.mjs +1 -0
  146. package/dist/actions/pdf-from-html.mjs.map +1 -1
  147. package/dist/actions/pdf-info-reader.cjs +1 -0
  148. package/dist/actions/pdf-info-reader.cjs.map +1 -1
  149. package/dist/actions/pdf-info-reader.d.cts +3 -3
  150. package/dist/actions/pdf-info-reader.d.cts.map +1 -1
  151. package/dist/actions/pdf-info-reader.d.mts +3 -3
  152. package/dist/actions/pdf-info-reader.d.mts.map +1 -1
  153. package/dist/actions/pdf-info-reader.mjs +1 -0
  154. package/dist/actions/pdf-info-reader.mjs.map +1 -1
  155. package/dist/actions/pdf-merge.cjs +1 -0
  156. package/dist/actions/pdf-merge.cjs.map +1 -1
  157. package/dist/actions/pdf-merge.d.cts +3 -6
  158. package/dist/actions/pdf-merge.d.cts.map +1 -1
  159. package/dist/actions/pdf-merge.d.mts +3 -6
  160. package/dist/actions/pdf-merge.d.mts.map +1 -1
  161. package/dist/actions/pdf-merge.mjs +1 -0
  162. package/dist/actions/pdf-merge.mjs.map +1 -1
  163. package/dist/actions/pdf-rotate.cjs +1 -0
  164. package/dist/actions/pdf-rotate.cjs.map +1 -1
  165. package/dist/actions/pdf-rotate.d.cts +3 -8
  166. package/dist/actions/pdf-rotate.d.cts.map +1 -1
  167. package/dist/actions/pdf-rotate.d.mts +3 -8
  168. package/dist/actions/pdf-rotate.d.mts.map +1 -1
  169. package/dist/actions/pdf-rotate.mjs +1 -0
  170. package/dist/actions/pdf-rotate.mjs.map +1 -1
  171. package/dist/actions/pdf-search-and-delete-text.cjs +1 -0
  172. package/dist/actions/pdf-search-and-delete-text.cjs.map +1 -1
  173. package/dist/actions/pdf-search-and-delete-text.d.cts +3 -10
  174. package/dist/actions/pdf-search-and-delete-text.d.cts.map +1 -1
  175. package/dist/actions/pdf-search-and-delete-text.d.mts +3 -10
  176. package/dist/actions/pdf-search-and-delete-text.d.mts.map +1 -1
  177. package/dist/actions/pdf-search-and-delete-text.mjs +1 -0
  178. package/dist/actions/pdf-search-and-delete-text.mjs.map +1 -1
  179. package/dist/actions/pdf-search-and-replace-text.cjs +1 -0
  180. package/dist/actions/pdf-search-and-replace-text.cjs.map +1 -1
  181. package/dist/actions/pdf-search-and-replace-text.d.cts +3 -9
  182. package/dist/actions/pdf-search-and-replace-text.d.cts.map +1 -1
  183. package/dist/actions/pdf-search-and-replace-text.d.mts +3 -9
  184. package/dist/actions/pdf-search-and-replace-text.d.mts.map +1 -1
  185. package/dist/actions/pdf-search-and-replace-text.mjs +1 -0
  186. package/dist/actions/pdf-search-and-replace-text.mjs.map +1 -1
  187. package/dist/actions/pdf-split.cjs +1 -0
  188. package/dist/actions/pdf-split.cjs.map +1 -1
  189. package/dist/actions/pdf-split.d.cts +3 -22
  190. package/dist/actions/pdf-split.d.cts.map +1 -1
  191. package/dist/actions/pdf-split.d.mts +3 -22
  192. package/dist/actions/pdf-split.d.mts.map +1 -1
  193. package/dist/actions/pdf-split.mjs +1 -0
  194. package/dist/actions/pdf-split.mjs.map +1 -1
  195. package/dist/actions/pdf-to-csv.cjs +1 -0
  196. package/dist/actions/pdf-to-csv.cjs.map +1 -1
  197. package/dist/actions/pdf-to-csv.d.cts +3 -11
  198. package/dist/actions/pdf-to-csv.d.cts.map +1 -1
  199. package/dist/actions/pdf-to-csv.d.mts +3 -11
  200. package/dist/actions/pdf-to-csv.d.mts.map +1 -1
  201. package/dist/actions/pdf-to-csv.mjs +1 -0
  202. package/dist/actions/pdf-to-csv.mjs.map +1 -1
  203. package/dist/actions/pdf-to-html.cjs +1 -0
  204. package/dist/actions/pdf-to-html.cjs.map +1 -1
  205. package/dist/actions/pdf-to-html.d.cts +3 -11
  206. package/dist/actions/pdf-to-html.d.cts.map +1 -1
  207. package/dist/actions/pdf-to-html.d.mts +3 -11
  208. package/dist/actions/pdf-to-html.d.mts.map +1 -1
  209. package/dist/actions/pdf-to-html.mjs +1 -0
  210. package/dist/actions/pdf-to-html.mjs.map +1 -1
  211. package/dist/actions/pdf-to-image.cjs +1 -0
  212. package/dist/actions/pdf-to-image.cjs.map +1 -1
  213. package/dist/actions/pdf-to-image.d.cts +3 -9
  214. package/dist/actions/pdf-to-image.d.cts.map +1 -1
  215. package/dist/actions/pdf-to-image.d.mts +3 -9
  216. package/dist/actions/pdf-to-image.d.mts.map +1 -1
  217. package/dist/actions/pdf-to-image.mjs +1 -0
  218. package/dist/actions/pdf-to-image.mjs.map +1 -1
  219. package/dist/actions/pdf-to-json.cjs +1 -0
  220. package/dist/actions/pdf-to-json.cjs.map +1 -1
  221. package/dist/actions/pdf-to-json.d.cts +3 -11
  222. package/dist/actions/pdf-to-json.d.cts.map +1 -1
  223. package/dist/actions/pdf-to-json.d.mts +3 -11
  224. package/dist/actions/pdf-to-json.d.mts.map +1 -1
  225. package/dist/actions/pdf-to-json.mjs +1 -0
  226. package/dist/actions/pdf-to-json.mjs.map +1 -1
  227. package/dist/actions/pdf-to-text.cjs +1 -0
  228. package/dist/actions/pdf-to-text.cjs.map +1 -1
  229. package/dist/actions/pdf-to-text.d.cts +3 -16
  230. package/dist/actions/pdf-to-text.d.cts.map +1 -1
  231. package/dist/actions/pdf-to-text.d.mts +3 -16
  232. package/dist/actions/pdf-to-text.d.mts.map +1 -1
  233. package/dist/actions/pdf-to-text.mjs +1 -0
  234. package/dist/actions/pdf-to-text.mjs.map +1 -1
  235. package/dist/actions/pdf-to-xls.cjs +1 -0
  236. package/dist/actions/pdf-to-xls.cjs.map +1 -1
  237. package/dist/actions/pdf-to-xls.d.cts +3 -8
  238. package/dist/actions/pdf-to-xls.d.cts.map +1 -1
  239. package/dist/actions/pdf-to-xls.d.mts +3 -8
  240. package/dist/actions/pdf-to-xls.d.mts.map +1 -1
  241. package/dist/actions/pdf-to-xls.mjs +1 -0
  242. package/dist/actions/pdf-to-xls.mjs.map +1 -1
  243. package/dist/actions/pdf-to-xlsx.cjs +1 -0
  244. package/dist/actions/pdf-to-xlsx.cjs.map +1 -1
  245. package/dist/actions/pdf-to-xlsx.d.cts +3 -13
  246. package/dist/actions/pdf-to-xlsx.d.cts.map +1 -1
  247. package/dist/actions/pdf-to-xlsx.d.mts +3 -13
  248. package/dist/actions/pdf-to-xlsx.d.mts.map +1 -1
  249. package/dist/actions/pdf-to-xlsx.mjs +1 -0
  250. package/dist/actions/pdf-to-xlsx.mjs.map +1 -1
  251. package/dist/actions/pdf-to-xml.cjs +1 -0
  252. package/dist/actions/pdf-to-xml.cjs.map +1 -1
  253. package/dist/actions/pdf-to-xml.d.cts +3 -7
  254. package/dist/actions/pdf-to-xml.d.cts.map +1 -1
  255. package/dist/actions/pdf-to-xml.d.mts +3 -7
  256. package/dist/actions/pdf-to-xml.d.mts.map +1 -1
  257. package/dist/actions/pdf-to-xml.mjs +1 -0
  258. package/dist/actions/pdf-to-xml.mjs.map +1 -1
  259. package/dist/actions/pdfco-post-barcode-generate.cjs +1 -0
  260. package/dist/actions/pdfco-post-barcode-generate.cjs.map +1 -1
  261. package/dist/actions/pdfco-post-barcode-generate.d.cts +3 -15
  262. package/dist/actions/pdfco-post-barcode-generate.d.cts.map +1 -1
  263. package/dist/actions/pdfco-post-barcode-generate.d.mts +3 -15
  264. package/dist/actions/pdfco-post-barcode-generate.d.mts.map +1 -1
  265. package/dist/actions/pdfco-post-barcode-generate.mjs +1 -0
  266. package/dist/actions/pdfco-post-barcode-generate.mjs.map +1 -1
  267. package/dist/actions/pdfco-post-file-upload-base64.cjs +1 -0
  268. package/dist/actions/pdfco-post-file-upload-base64.cjs.map +1 -1
  269. package/dist/actions/pdfco-post-file-upload-base64.d.cts +3 -5
  270. package/dist/actions/pdfco-post-file-upload-base64.d.cts.map +1 -1
  271. package/dist/actions/pdfco-post-file-upload-base64.d.mts +3 -5
  272. package/dist/actions/pdfco-post-file-upload-base64.d.mts.map +1 -1
  273. package/dist/actions/pdfco-post-file-upload-base64.mjs +1 -0
  274. package/dist/actions/pdfco-post-file-upload-base64.mjs.map +1 -1
  275. package/dist/app.cjs +5 -2
  276. package/dist/app.cjs.map +1 -1
  277. package/dist/app.d.cts +7 -1
  278. package/dist/app.d.cts.map +1 -1
  279. package/dist/app.d.mts +7 -1
  280. package/dist/app.d.mts.map +1 -1
  281. package/dist/app.mjs +3 -2
  282. package/dist/app.mjs.map +1 -1
  283. package/dist/index.d.cts +1 -1
  284. package/dist/index.d.mts +1 -1
  285. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-change-text-searchable.cjs","names":["z","action"],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfChangeTextSearchableInput = z.object({\n url: z.string().describe(\"Public URL of the source PDF file.\"),\n rect: z.string().describe(\"Comma-separated rectangle coordinates 'left,top,width,height' to limit OCR.\").optional(),\n pages: z.string().describe(\"Single 0-indexed page number to process (e.g., '0' for the first page). The /pdf/makesearchable endpoint does not accept page ranges or comma-separated lists and will return HTTP 450 'Invalid page range specified' for values like '0-2' or '0,1'. Omit this field to OCR every page.\").optional(),\n inline: z.boolean().default(false).describe(\"Whether to return the processed PDF data inline (base64) or as a URL. Set to true for inline response, false for URL.\").optional(),\n language: z.string().default(\"eng\").describe(\"Language code for OCR (default: eng).\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"JSON string with advanced OCR profiles and configurations.\").optional(),\n}).describe(\"Request model for making a PDF's text searchable using OCR.\");\nexport const PdfCoPdfChangeTextSearchableOutput = z.object({\n url: z.string().describe(\"URL of the processed PDF file with searchable text.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred during processing.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remaining: z.number().int().describe(\"Remaining API credits on the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for searchable text PDF creation.\");\n\nexport const pdfCoPdfChangeTextSearchable = action(\"PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE\", {\n slug: \"pdf_co-pdf-change-text-searchable\",\n name: \"Change PDF Text Searchable\",\n description: \"Tool to make PDF text searchable using OCR. Use when you need to add a searchable text layer to scanned or image-only PDF documents.\",\n input: PdfCoPdfChangeTextSearchableInput,\n output: PdfCoPdfChangeTextSearchableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAChU,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC9K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-change-text-searchable.cjs","names":["z","action"],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfChangeTextSearchableInput = z.object({\n url: z.string().describe(\"Public URL of the source PDF file.\"),\n rect: z.string().describe(\"Comma-separated rectangle coordinates 'left,top,width,height' to limit OCR.\").optional(),\n pages: z.string().describe(\"Single 0-indexed page number to process (e.g., '0' for the first page). The /pdf/makesearchable endpoint does not accept page ranges or comma-separated lists and will return HTTP 450 'Invalid page range specified' for values like '0-2' or '0,1'. Omit this field to OCR every page.\").optional(),\n inline: z.boolean().default(false).describe(\"Whether to return the processed PDF data inline (base64) or as a URL. Set to true for inline response, false for URL.\").optional(),\n language: z.string().default(\"eng\").describe(\"Language code for OCR (default: eng).\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"JSON string with advanced OCR profiles and configurations.\").optional(),\n}).describe(\"Request model for making a PDF's text searchable using OCR.\");\nexport const PdfCoPdfChangeTextSearchableOutput = z.object({\n url: z.string().describe(\"URL of the processed PDF file with searchable text.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred during processing.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remaining: z.number().int().describe(\"Remaining API credits on the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for searchable text PDF creation.\");\n\nexport const pdfCoPdfChangeTextSearchable: AppAction<\n typeof PdfCoPdfChangeTextSearchableInput,\n typeof PdfCoPdfChangeTextSearchableOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE\", {\n slug: \"pdf_co-pdf-change-text-searchable\",\n name: \"Change PDF Text Searchable\",\n description: \"Tool to make PDF text searchable using OCR. Use when you need to add a searchable text layer to scanned or image-only PDF documents.\",\n input: PdfCoPdfChangeTextSearchableInput,\n output: PdfCoPdfChangeTextSearchableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAChU,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC9K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,+BAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-change-text-searchable.d.ts
@@ -17,15 +19,7 @@ declare const PdfCoPdfChangeTextSearchableOutput: z.ZodObject<{
17
19
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pdfCoPdfChangeTextSearchable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- url: string;
22
- rect?: string | undefined;
23
- pages?: string | undefined;
24
- inline?: boolean | undefined;
25
- language?: string | undefined;
26
- password?: string | undefined;
27
- profiles?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pdfCoPdfChangeTextSearchable: AppAction<typeof PdfCoPdfChangeTextSearchableInput, typeof PdfCoPdfChangeTextSearchableOutput, typeof pdfCo.credential>;
29
23
  //#endregion
30
24
  export { pdfCoPdfChangeTextSearchable };
31
25
  //# sourceMappingURL=pdf-change-text-searchable.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-change-text-searchable.d.cts","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cASjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"pdf-change-text-searchable.d.cts","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cASjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-change-text-searchable.d.ts
@@ -17,15 +19,7 @@ declare const PdfCoPdfChangeTextSearchableOutput: z.ZodObject<{
17
19
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pdfCoPdfChangeTextSearchable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- url: string;
22
- rect?: string | undefined;
23
- pages?: string | undefined;
24
- inline?: boolean | undefined;
25
- language?: string | undefined;
26
- password?: string | undefined;
27
- profiles?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pdfCoPdfChangeTextSearchable: AppAction<typeof PdfCoPdfChangeTextSearchableInput, typeof PdfCoPdfChangeTextSearchableOutput, typeof pdfCo.credential>;
29
23
  //#endregion
30
24
  export { pdfCoPdfChangeTextSearchable };
31
25
  //# sourceMappingURL=pdf-change-text-searchable.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-change-text-searchable.d.mts","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cASjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"pdf-change-text-searchable.d.mts","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cASjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pdfCoPdfChangeTextSearchable = action("PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-change-text-searchable.mjs","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfChangeTextSearchableInput = z.object({\n url: z.string().describe(\"Public URL of the source PDF file.\"),\n rect: z.string().describe(\"Comma-separated rectangle coordinates 'left,top,width,height' to limit OCR.\").optional(),\n pages: z.string().describe(\"Single 0-indexed page number to process (e.g., '0' for the first page). The /pdf/makesearchable endpoint does not accept page ranges or comma-separated lists and will return HTTP 450 'Invalid page range specified' for values like '0-2' or '0,1'. Omit this field to OCR every page.\").optional(),\n inline: z.boolean().default(false).describe(\"Whether to return the processed PDF data inline (base64) or as a URL. Set to true for inline response, false for URL.\").optional(),\n language: z.string().default(\"eng\").describe(\"Language code for OCR (default: eng).\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"JSON string with advanced OCR profiles and configurations.\").optional(),\n}).describe(\"Request model for making a PDF's text searchable using OCR.\");\nexport const PdfCoPdfChangeTextSearchableOutput = z.object({\n url: z.string().describe(\"URL of the processed PDF file with searchable text.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred during processing.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remaining: z.number().int().describe(\"Remaining API credits on the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for searchable text PDF creation.\");\n\nexport const pdfCoPdfChangeTextSearchable = action(\"PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE\", {\n slug: \"pdf_co-pdf-change-text-searchable\",\n name: \"Change PDF Text Searchable\",\n description: \"Tool to make PDF text searchable using OCR. Use when you need to add a searchable text layer to scanned or image-only PDF documents.\",\n input: PdfCoPdfChangeTextSearchableInput,\n output: PdfCoPdfChangeTextSearchableOutput,\n});\n"],"mappings":";;AAqBA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;EAChU,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAC9K,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-change-text-searchable.mjs","names":[],"sources":["../../src/actions/pdf-change-text-searchable.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfChangeTextSearchableInput = z.object({\n url: z.string().describe(\"Public URL of the source PDF file.\"),\n rect: z.string().describe(\"Comma-separated rectangle coordinates 'left,top,width,height' to limit OCR.\").optional(),\n pages: z.string().describe(\"Single 0-indexed page number to process (e.g., '0' for the first page). The /pdf/makesearchable endpoint does not accept page ranges or comma-separated lists and will return HTTP 450 'Invalid page range specified' for values like '0-2' or '0,1'. Omit this field to OCR every page.\").optional(),\n inline: z.boolean().default(false).describe(\"Whether to return the processed PDF data inline (base64) or as a URL. Set to true for inline response, false for URL.\").optional(),\n language: z.string().default(\"eng\").describe(\"Language code for OCR (default: eng).\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"JSON string with advanced OCR profiles and configurations.\").optional(),\n}).describe(\"Request model for making a PDF's text searchable using OCR.\");\nexport const PdfCoPdfChangeTextSearchableOutput = z.object({\n url: z.string().describe(\"URL of the processed PDF file with searchable text.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred during processing.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remaining: z.number().int().describe(\"Remaining API credits on the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for searchable text PDF creation.\");\n\nexport const pdfCoPdfChangeTextSearchable: AppAction<\n typeof PdfCoPdfChangeTextSearchableInput,\n typeof PdfCoPdfChangeTextSearchableOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE\", {\n slug: \"pdf_co-pdf-change-text-searchable\",\n name: \"Change PDF Text Searchable\",\n description: \"Tool to make PDF text searchable using OCR. Use when you need to add a searchable text layer to scanned or image-only PDF documents.\",\n input: PdfCoPdfChangeTextSearchableInput,\n output: PdfCoPdfChangeTextSearchableOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,+BAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;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file":"pdf-delete-pages.cjs","names":["z","action"],"sources":["../../src/actions/pdf-delete-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfDeletePagesInput = z.object({\n url: z.string().describe(\"URL or base64-encoded content of the source PDF.\"),\n name: z.string().describe(\"Optional name for the resulting PDF file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of page indices or ranges to delete (1-based). E.g., '1,3-5' to delete pages 1, 3, 4, and 5.\"),\n password: z.string().describe(\"Password for protected PDF file.\").optional(),\n profiles: z.string().describe(\"Optional JSON string for advanced configuration.\").optional(),\n async_job: z.boolean().describe(\"Process request asynchronously. If true, returns a job ID instead of immediate URL.\").optional(),\n}).describe(\"Request model for deleting pages from a PDF via PDF.co API.\");\nexport const PdfCoPdfDeletePagesOutput = z.object({\n url: z.string().describe(\"URL of the PDF file with pages deleted.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n message: z.string().describe(\"Error or operation message.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the output PDF document.\").nullable(),\n}).passthrough().describe(\"Response model for deleting PDF pages.\");\n\nexport const pdfCoPdfDeletePages = action(\"PDF_CO_PDF_DELETE_PAGES\", {\n slug: \"pdf_co-pdf-delete-pages\",\n name: \"Delete PDF Pages\",\n description: \"Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.\",\n input: PdfCoPdfDeletePagesInput,\n output: PdfCoPdfDeletePagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-delete-pages.cjs","names":["z","action"],"sources":["../../src/actions/pdf-delete-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfDeletePagesInput = z.object({\n url: z.string().describe(\"URL or base64-encoded content of the source PDF.\"),\n name: z.string().describe(\"Optional name for the resulting PDF file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of page indices or ranges to delete (1-based). E.g., '1,3-5' to delete pages 1, 3, 4, and 5.\"),\n password: z.string().describe(\"Password for protected PDF file.\").optional(),\n profiles: z.string().describe(\"Optional JSON string for advanced configuration.\").optional(),\n async_job: z.boolean().describe(\"Process request asynchronously. If true, returns a job ID instead of immediate URL.\").optional(),\n}).describe(\"Request model for deleting pages from a PDF via PDF.co API.\");\nexport const PdfCoPdfDeletePagesOutput = z.object({\n url: z.string().describe(\"URL of the PDF file with pages deleted.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n message: z.string().describe(\"Error or operation message.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the output PDF document.\").nullable(),\n}).passthrough().describe(\"Response model for deleting PDF pages.\");\n\nexport const pdfCoPdfDeletePages: AppAction<\n typeof PdfCoPdfDeletePagesInput,\n typeof PdfCoPdfDeletePagesOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_DELETE_PAGES\", {\n slug: \"pdf_co-pdf-delete-pages\",\n name: \"Delete PDF Pages\",\n description: \"Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.\",\n input: PdfCoPdfDeletePagesInput,\n output: PdfCoPdfDeletePagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-delete-pages.d.ts
@@ -16,14 +18,7 @@ declare const PdfCoPdfDeletePagesOutput: z.ZodObject<{
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  pageCount: z.ZodNullable<z.ZodNumber>;
18
20
  }, z.core.$loose>;
19
- declare const pdfCoPdfDeletePages: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- url: string;
21
- pages: string;
22
- name?: string | undefined;
23
- password?: string | undefined;
24
- profiles?: string | undefined;
25
- async_job?: boolean | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const pdfCoPdfDeletePages: AppAction<typeof PdfCoPdfDeletePagesInput, typeof PdfCoPdfDeletePagesOutput, typeof pdfCo.credential>;
27
22
  //#endregion
28
23
  export { pdfCoPdfDeletePages };
29
24
  //# sourceMappingURL=pdf-delete-pages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-delete-pages.d.cts","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"pdf-delete-pages.d.cts","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-delete-pages.d.ts
@@ -16,14 +18,7 @@ declare const PdfCoPdfDeletePagesOutput: z.ZodObject<{
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  pageCount: z.ZodNullable<z.ZodNumber>;
18
20
  }, z.core.$loose>;
19
- declare const pdfCoPdfDeletePages: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- url: string;
21
- pages: string;
22
- name?: string | undefined;
23
- password?: string | undefined;
24
- profiles?: string | undefined;
25
- async_job?: boolean | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const pdfCoPdfDeletePages: AppAction<typeof PdfCoPdfDeletePagesInput, typeof PdfCoPdfDeletePagesOutput, typeof pdfCo.credential>;
27
22
  //#endregion
28
23
  export { pdfCoPdfDeletePages };
29
24
  //# sourceMappingURL=pdf-delete-pages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-delete-pages.d.mts","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"pdf-delete-pages.d.mts","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pdfCoPdfDeletePages = action("PDF_CO_PDF_DELETE_PAGES", {
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-delete-pages.mjs","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfDeletePagesInput = z.object({\n url: z.string().describe(\"URL or base64-encoded content of the source PDF.\"),\n name: z.string().describe(\"Optional name for the resulting PDF file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of page indices or ranges to delete (1-based). E.g., '1,3-5' to delete pages 1, 3, 4, and 5.\"),\n password: z.string().describe(\"Password for protected PDF file.\").optional(),\n profiles: z.string().describe(\"Optional JSON string for advanced configuration.\").optional(),\n async_job: z.boolean().describe(\"Process request asynchronously. If true, returns a job ID instead of immediate URL.\").optional(),\n}).describe(\"Request model for deleting pages from a PDF via PDF.co API.\");\nexport const PdfCoPdfDeletePagesOutput = z.object({\n url: z.string().describe(\"URL of the PDF file with pages deleted.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n message: z.string().describe(\"Error or operation message.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the output PDF document.\").nullable(),\n}).passthrough().describe(\"Response model for deleting PDF pages.\");\n\nexport const pdfCoPdfDeletePages = action(\"PDF_CO_PDF_DELETE_PAGES\", {\n slug: \"pdf_co-pdf-delete-pages\",\n name: \"Delete PDF Pages\",\n description: \"Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.\",\n input: PdfCoPdfDeletePagesInput,\n output: PdfCoPdfDeletePagesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-delete-pages.mjs","names":[],"sources":["../../src/actions/pdf-delete-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfDeletePagesInput = z.object({\n url: z.string().describe(\"URL or base64-encoded content of the source PDF.\"),\n name: z.string().describe(\"Optional name for the resulting PDF file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of page indices or ranges to delete (1-based). E.g., '1,3-5' to delete pages 1, 3, 4, and 5.\"),\n password: z.string().describe(\"Password for protected PDF file.\").optional(),\n profiles: z.string().describe(\"Optional JSON string for advanced configuration.\").optional(),\n async_job: z.boolean().describe(\"Process request asynchronously. If true, returns a job ID instead of immediate URL.\").optional(),\n}).describe(\"Request model for deleting pages from a PDF via PDF.co API.\");\nexport const PdfCoPdfDeletePagesOutput = z.object({\n url: z.string().describe(\"URL of the PDF file with pages deleted.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n message: z.string().describe(\"Error or operation message.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the output PDF document.\").nullable(),\n}).passthrough().describe(\"Response model for deleting PDF pages.\");\n\nexport const pdfCoPdfDeletePages: AppAction<\n typeof PdfCoPdfDeletePagesInput,\n typeof PdfCoPdfDeletePagesOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_DELETE_PAGES\", {\n slug: \"pdf_co-pdf-delete-pages\",\n name: \"Delete PDF Pages\",\n description: \"Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.\",\n input: PdfCoPdfDeletePagesInput,\n output: PdfCoPdfDeletePagesOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,sBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,6DAiBH;CACP,QAjBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;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/pdf-extract-attachments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-extract-attachments.cjs","names":["z","action"],"sources":["../../src/actions/pdf-extract-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfExtractAttachmentsInput = z.object({\n url: z.string().describe(\"URL of the input PDF file to process.\"),\n inline: z.boolean().describe(\"If true, returns attachment data inline; otherwise returns URLs.\").optional(),\n callback: z.string().describe(\"Webhook URL for receiving async results.\").optional(),\n password: z.string().describe(\"Password for protected PDF file (if applicable).\").optional(),\n async_job: z.boolean().describe(\"Run processing asynchronously. If true, returns a jobId for async processing.\").optional(),\n expiration: z.number().int().describe(\"Set the expiration time for the output link in minutes. Default is 60.\").optional(),\n httppassword: z.string().describe(\"HTTP authentication password for accessing the source URL.\").optional(),\n httpusername: z.string().describe(\"HTTP authentication username for accessing the source URL.\").optional(),\n}).describe(\"Request model for extracting attachments from a PDF.\");\nexport const PdfCoPdfExtractAttachmentsOutput = z.object({\n name: z.string().describe(\"Output filename.\").nullable().optional(),\n urls: z.array(z.string()).describe(\"List of URLs to the extracted attachment files.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred.\").nullable(),\n jobId: z.string().describe(\"Job ID for async processing (when async=true).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n credits: z.number().int().describe(\"Credits used for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing duration in milliseconds.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model for extracting attachments from a PDF.\");\n\nexport const pdfCoPdfExtractAttachments = action(\"PDF_CO_PDF_EXTRACT_ATTACHMENTS\", {\n slug: \"pdf_co-pdf-extract-attachments\",\n name: \"Extract PDF Attachments\",\n description: \"Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.\",\n input: PdfCoPdfExtractAttachmentsInput,\n output: PdfCoPdfExtractAttachmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-extract-attachments.cjs","names":["z","action"],"sources":["../../src/actions/pdf-extract-attachments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfExtractAttachmentsInput = z.object({\n url: z.string().describe(\"URL of the input PDF file to process.\"),\n inline: z.boolean().describe(\"If true, returns attachment data inline; otherwise returns URLs.\").optional(),\n callback: z.string().describe(\"Webhook URL for receiving async results.\").optional(),\n password: z.string().describe(\"Password for protected PDF file (if applicable).\").optional(),\n async_job: z.boolean().describe(\"Run processing asynchronously. If true, returns a jobId for async processing.\").optional(),\n expiration: z.number().int().describe(\"Set the expiration time for the output link in minutes. Default is 60.\").optional(),\n httppassword: z.string().describe(\"HTTP authentication password for accessing the source URL.\").optional(),\n httpusername: z.string().describe(\"HTTP authentication username for accessing the source URL.\").optional(),\n}).describe(\"Request model for extracting attachments from a PDF.\");\nexport const PdfCoPdfExtractAttachmentsOutput = z.object({\n name: z.string().describe(\"Output filename.\").nullable().optional(),\n urls: z.array(z.string()).describe(\"List of URLs to the extracted attachment files.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred.\").nullable(),\n jobId: z.string().describe(\"Job ID for async processing (when async=true).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n credits: z.number().int().describe(\"Credits used for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing duration in milliseconds.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model for extracting attachments from a PDF.\");\n\nexport const pdfCoPdfExtractAttachments: AppAction<\n typeof PdfCoPdfExtractAttachmentsInput,\n typeof PdfCoPdfExtractAttachmentsOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_EXTRACT_ATTACHMENTS\", {\n slug: \"pdf_co-pdf-extract-attachments\",\n name: \"Extract PDF Attachments\",\n description: \"Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.\",\n input: PdfCoPdfExtractAttachmentsInput,\n output: PdfCoPdfExtractAttachmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE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CAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-extract-attachments.d.ts
@@ -23,16 +25,7 @@ declare const PdfCoPdfExtractAttachmentsOutput: z.ZodObject<{
23
25
  pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
26
  remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  }, z.core.$loose>;
26
- declare const pdfCoPdfExtractAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- url: string;
28
- inline?: boolean | undefined;
29
- callback?: string | undefined;
30
- password?: string | undefined;
31
- async_job?: boolean | undefined;
32
- expiration?: number | undefined;
33
- httppassword?: string | undefined;
34
- httpusername?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pdfCoPdfExtractAttachments: AppAction<typeof PdfCoPdfExtractAttachmentsInput, typeof PdfCoPdfExtractAttachmentsOutput, typeof pdfCo.credential>;
36
29
  //#endregion
37
30
  export { pdfCoPdfExtractAttachments };
38
31
  //# sourceMappingURL=pdf-extract-attachments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-extract-attachments.d.cts","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"pdf-extract-attachments.d.cts","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-extract-attachments.d.ts
@@ -23,16 +25,7 @@ declare const PdfCoPdfExtractAttachmentsOutput: z.ZodObject<{
23
25
  pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
26
  remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  }, z.core.$loose>;
26
- declare const pdfCoPdfExtractAttachments: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- url: string;
28
- inline?: boolean | undefined;
29
- callback?: string | undefined;
30
- password?: string | undefined;
31
- async_job?: boolean | undefined;
32
- expiration?: number | undefined;
33
- httppassword?: string | undefined;
34
- httpusername?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pdfCoPdfExtractAttachments: AppAction<typeof PdfCoPdfExtractAttachmentsInput, typeof PdfCoPdfExtractAttachmentsOutput, typeof pdfCo.credential>;
36
29
  //#endregion
37
30
  export { pdfCoPdfExtractAttachments };
38
31
  //# sourceMappingURL=pdf-extract-attachments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-extract-attachments.d.mts","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"pdf-extract-attachments.d.mts","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pdfCoPdfExtractAttachments = action("PDF_CO_PDF_EXTRACT_ATTACHMENTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-extract-attachments.mjs","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfExtractAttachmentsInput = z.object({\n url: z.string().describe(\"URL of the input PDF file to process.\"),\n inline: z.boolean().describe(\"If true, returns attachment data inline; otherwise returns URLs.\").optional(),\n callback: z.string().describe(\"Webhook URL for receiving async results.\").optional(),\n password: z.string().describe(\"Password for protected PDF file (if applicable).\").optional(),\n async_job: z.boolean().describe(\"Run processing asynchronously. If true, returns a jobId for async processing.\").optional(),\n expiration: z.number().int().describe(\"Set the expiration time for the output link in minutes. Default is 60.\").optional(),\n httppassword: z.string().describe(\"HTTP authentication password for accessing the source URL.\").optional(),\n httpusername: z.string().describe(\"HTTP authentication username for accessing the source URL.\").optional(),\n}).describe(\"Request model for extracting attachments from a PDF.\");\nexport const PdfCoPdfExtractAttachmentsOutput = z.object({\n name: z.string().describe(\"Output filename.\").nullable().optional(),\n urls: z.array(z.string()).describe(\"List of URLs to the extracted attachment files.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred.\").nullable(),\n jobId: z.string().describe(\"Job ID for async processing (when async=true).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n credits: z.number().int().describe(\"Credits used for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing duration in milliseconds.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model for extracting attachments from a PDF.\");\n\nexport const pdfCoPdfExtractAttachments = action(\"PDF_CO_PDF_EXTRACT_ATTACHMENTS\", {\n slug: \"pdf_co-pdf-extract-attachments\",\n name: \"Extract PDF Attachments\",\n description: \"Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.\",\n input: PdfCoPdfExtractAttachmentsInput,\n output: PdfCoPdfExtractAttachmentsOutput,\n});\n"],"mappings":";;AA2BA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;E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;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-extract-attachments.mjs","names":[],"sources":["../../src/actions/pdf-extract-attachments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfExtractAttachmentsInput = z.object({\n url: z.string().describe(\"URL of the input PDF file to process.\"),\n inline: z.boolean().describe(\"If true, returns attachment data inline; otherwise returns URLs.\").optional(),\n callback: z.string().describe(\"Webhook URL for receiving async results.\").optional(),\n password: z.string().describe(\"Password for protected PDF file (if applicable).\").optional(),\n async_job: z.boolean().describe(\"Run processing asynchronously. If true, returns a jobId for async processing.\").optional(),\n expiration: z.number().int().describe(\"Set the expiration time for the output link in minutes. Default is 60.\").optional(),\n httppassword: z.string().describe(\"HTTP authentication password for accessing the source URL.\").optional(),\n httpusername: z.string().describe(\"HTTP authentication username for accessing the source URL.\").optional(),\n}).describe(\"Request model for extracting attachments from a PDF.\");\nexport const PdfCoPdfExtractAttachmentsOutput = z.object({\n name: z.string().describe(\"Output filename.\").nullable().optional(),\n urls: z.array(z.string()).describe(\"List of URLs to the extracted attachment files.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred.\").nullable(),\n jobId: z.string().describe(\"Job ID for async processing (when async=true).\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation.\").nullable(),\n credits: z.number().int().describe(\"Credits used for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing duration in milliseconds.\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model for extracting attachments from a PDF.\");\n\nexport const pdfCoPdfExtractAttachments: AppAction<\n typeof PdfCoPdfExtractAttachmentsInput,\n typeof PdfCoPdfExtractAttachmentsOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_EXTRACT_ATTACHMENTS\", {\n slug: \"pdf_co-pdf-extract-attachments\",\n name: \"Extract PDF Attachments\",\n description: \"Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.\",\n input: PdfCoPdfExtractAttachmentsInput,\n output: PdfCoPdfExtractAttachmentsOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,sDAsBH;CACP,QAtB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/pdf-find.ts
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-find.cjs","names":["z","action"],"sources":["../../src/actions/pdf-find.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfFindInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file to search.\"),\n pages: z.string().describe(\"Comma-separated page ranges to search, e.g., '1-3,5'.\").optional(),\n password: z.string().describe(\"Password for protected PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"Advanced JSON configuration for PDF processing.\").optional(),\n regexSearch: z.boolean().default(false).describe(\"Whether to treat searchString as a regular expression (default: false).\").optional(),\n searchString: z.string().describe(\"Keyword or regex pattern to find in the document.\"),\n caseSensitive: z.boolean().default(false).describe(\"Whether the search is case-sensitive (default: false).\").optional(),\n}).describe(\"Request model for searching text in a PDF document.\");\nconst PdfCoPdfFind_PdfFindMatchSchema = z.object({\n top: z.number().describe(\"Top coordinate of the match on the page.\").nullable(),\n left: z.number().describe(\"Left coordinate of the match on the page.\").nullable(),\n text: z.string().describe(\"The exact matched text.\").nullable(),\n width: z.number().describe(\"Width of the matched area.\").nullable(),\n height: z.number().describe(\"Height of the matched area.\").nullable(),\n pageIndex: z.number().int().describe(\"Zero-based index of the page where found.\").nullable(),\n pageNumber: z.number().int().describe(\"One-based number of the page where found.\").nullable(),\n}).passthrough();\nexport const PdfCoPdfFindOutput = z.object({\n error: z.string().describe(\"Error message, if any.\").nullable().optional(),\n found: z.number().int().describe(\"Total number of occurrences found.\").nullable(),\n status: z.string().describe(\"API call status, e.g., 'success'.\").nullable(),\n matches: z.array(PdfCoPdfFind_PdfFindMatchSchema).describe(\"List of match details.\"),\n}).passthrough();\n\nexport const pdfCoPdfFind = action(\"PDF_CO_PDF_FIND\", {\n slug: \"pdf_co-pdf-find\",\n name: \"Find Text in PDF\",\n description: \"Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.\",\n input: PdfCoPdfFindInput,\n output: PdfCoPdfFindOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC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,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,wBAAwB;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,eAAeC,eAAAA,OAAO,mBAAmB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-find.cjs","names":["z","action"],"sources":["../../src/actions/pdf-find.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfFindInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file to search.\"),\n pages: z.string().describe(\"Comma-separated page ranges to search, e.g., '1-3,5'.\").optional(),\n password: z.string().describe(\"Password for protected PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"Advanced JSON configuration for PDF processing.\").optional(),\n regexSearch: z.boolean().default(false).describe(\"Whether to treat searchString as a regular expression (default: false).\").optional(),\n searchString: z.string().describe(\"Keyword or regex pattern to find in the document.\"),\n caseSensitive: z.boolean().default(false).describe(\"Whether the search is case-sensitive (default: false).\").optional(),\n}).describe(\"Request model for searching text in a PDF document.\");\nconst PdfCoPdfFind_PdfFindMatchSchema = z.object({\n top: z.number().describe(\"Top coordinate of the match on the page.\").nullable(),\n left: z.number().describe(\"Left coordinate of the match on the page.\").nullable(),\n text: z.string().describe(\"The exact matched text.\").nullable(),\n width: z.number().describe(\"Width of the matched area.\").nullable(),\n height: z.number().describe(\"Height of the matched area.\").nullable(),\n pageIndex: z.number().int().describe(\"Zero-based index of the page where found.\").nullable(),\n pageNumber: z.number().int().describe(\"One-based number of the page where found.\").nullable(),\n}).passthrough();\nexport const PdfCoPdfFindOutput = z.object({\n error: z.string().describe(\"Error message, if any.\").nullable().optional(),\n found: z.number().int().describe(\"Total number of occurrences found.\").nullable(),\n status: z.string().describe(\"API call status, e.g., 'success'.\").nullable(),\n matches: z.array(PdfCoPdfFind_PdfFindMatchSchema).describe(\"List of match details.\"),\n}).passthrough();\n\nexport const pdfCoPdfFind: AppAction<\n typeof PdfCoPdfFindInput,\n typeof PdfCoPdfFindOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_FIND\", {\n slug: \"pdf_co-pdf-find\",\n name: \"Find Text in PDF\",\n description: \"Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.\",\n input: PdfCoPdfFindInput,\n output: PdfCoPdfFindOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACrF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,q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} from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-find.d.ts
@@ -24,15 +26,7 @@ declare const PdfCoPdfFindOutput: z.ZodObject<{
24
26
  pageNumber: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const pdfCoPdfFind: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- url: string;
29
- searchString: string;
30
- pages?: string | undefined;
31
- password?: string | undefined;
32
- profiles?: string | undefined;
33
- regexSearch?: boolean | undefined;
34
- caseSensitive?: boolean | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const pdfCoPdfFind: AppAction<typeof PdfCoPdfFindInput, typeof PdfCoPdfFindOutput, typeof pdfCo.credential>;
36
30
  //#endregion
37
31
  export { pdfCoPdfFind };
38
32
  //# sourceMappingURL=pdf-find.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-find.d.cts","names":[],"sources":["../../src/actions/pdf-find.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;cAkBjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"pdf-find.d.cts","names":[],"sources":["../../src/actions/pdf-find.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;cAkBjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-find.d.ts
@@ -24,15 +26,7 @@ declare const PdfCoPdfFindOutput: z.ZodObject<{
24
26
  pageNumber: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const pdfCoPdfFind: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- url: string;
29
- searchString: string;
30
- pages?: string | undefined;
31
- password?: string | undefined;
32
- profiles?: string | undefined;
33
- regexSearch?: boolean | undefined;
34
- caseSensitive?: boolean | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const pdfCoPdfFind: AppAction<typeof PdfCoPdfFindInput, typeof PdfCoPdfFindOutput, typeof pdfCo.credential>;
36
30
  //#endregion
37
31
  export { pdfCoPdfFind };
38
32
  //# sourceMappingURL=pdf-find.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-find.d.mts","names":[],"sources":["../../src/actions/pdf-find.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;cAkBjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"pdf-find.d.mts","names":[],"sources":["../../src/actions/pdf-find.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;cAkBjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,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/pdf-find.ts
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-find.mjs","names":[],"sources":["../../src/actions/pdf-find.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfFindInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file to search.\"),\n pages: z.string().describe(\"Comma-separated page ranges to search, e.g., '1-3,5'.\").optional(),\n password: z.string().describe(\"Password for protected PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"Advanced JSON configuration for PDF processing.\").optional(),\n regexSearch: z.boolean().default(false).describe(\"Whether to treat searchString as a regular expression (default: false).\").optional(),\n searchString: z.string().describe(\"Keyword or regex pattern to find in the document.\"),\n caseSensitive: z.boolean().default(false).describe(\"Whether the search is case-sensitive (default: false).\").optional(),\n}).describe(\"Request model for searching text in a PDF document.\");\nconst PdfCoPdfFind_PdfFindMatchSchema = z.object({\n top: z.number().describe(\"Top coordinate of the match on the page.\").nullable(),\n left: z.number().describe(\"Left coordinate of the match on the page.\").nullable(),\n text: z.string().describe(\"The exact matched text.\").nullable(),\n width: z.number().describe(\"Width of the matched area.\").nullable(),\n height: z.number().describe(\"Height of the matched area.\").nullable(),\n pageIndex: z.number().int().describe(\"Zero-based index of the page where found.\").nullable(),\n pageNumber: z.number().int().describe(\"One-based number of the page where found.\").nullable(),\n}).passthrough();\nexport const PdfCoPdfFindOutput = z.object({\n error: z.string().describe(\"Error message, if any.\").nullable().optional(),\n found: z.number().int().describe(\"Total number of occurrences found.\").nullable(),\n status: z.string().describe(\"API call status, e.g., 'success'.\").nullable(),\n matches: z.array(PdfCoPdfFind_PdfFindMatchSchema).describe(\"List of match details.\"),\n}).passthrough();\n\nexport const pdfCoPdfFind = action(\"PDF_CO_PDF_FIND\", {\n slug: \"pdf_co-pdf-find\",\n name: \"Find Text in PDF\",\n description: \"Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.\",\n input: PdfCoPdfFindInput,\n output: PdfCoPdfFindOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO;CACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC7E,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AAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,wBAAwB;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-find.mjs","names":[],"sources":["../../src/actions/pdf-find.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfFindInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file to search.\"),\n pages: z.string().describe(\"Comma-separated page ranges to search, e.g., '1-3,5'.\").optional(),\n password: z.string().describe(\"Password for protected PDF, if applicable.\").optional(),\n profiles: z.string().describe(\"Advanced JSON configuration for PDF processing.\").optional(),\n regexSearch: z.boolean().default(false).describe(\"Whether to treat searchString as a regular expression (default: false).\").optional(),\n searchString: z.string().describe(\"Keyword or regex pattern to find in the document.\"),\n caseSensitive: z.boolean().default(false).describe(\"Whether the search is case-sensitive (default: false).\").optional(),\n}).describe(\"Request model for searching text in a PDF document.\");\nconst PdfCoPdfFind_PdfFindMatchSchema = z.object({\n top: z.number().describe(\"Top coordinate of the match on the page.\").nullable(),\n left: z.number().describe(\"Left coordinate of the match on the page.\").nullable(),\n text: z.string().describe(\"The exact matched text.\").nullable(),\n width: z.number().describe(\"Width of the matched area.\").nullable(),\n height: z.number().describe(\"Height of the matched area.\").nullable(),\n pageIndex: z.number().int().describe(\"Zero-based index of the page where found.\").nullable(),\n pageNumber: z.number().int().describe(\"One-based number of the page where found.\").nullable(),\n}).passthrough();\nexport const PdfCoPdfFindOutput = z.object({\n error: z.string().describe(\"Error message, if any.\").nullable().optional(),\n found: z.number().int().describe(\"Total number of occurrences found.\").nullable(),\n status: z.string().describe(\"API call status, e.g., 'success'.\").nullable(),\n matches: z.array(PdfCoPdfFind_PdfFindMatchSchema).describe(\"List of match details.\"),\n}).passthrough();\n\nexport const pdfCoPdfFind: AppAction<\n typeof PdfCoPdfFindInput,\n typeof PdfCoPdfFindOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_FIND\", {\n slug: \"pdf_co-pdf-find\",\n name: \"Find Text in PDF\",\n description: \"Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.\",\n input: PdfCoPdfFindInput,\n output: PdfCoPdfFindOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oBAAoB,EAAE,OAAO;CACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACrF,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,eAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgC,EAAE,OAAO;EACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,wBAAwB;CACrF,CAAC,CAAC,CAAC,YAWO;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/pdf-forms-info-reader.ts
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-forms-info-reader.cjs","names":["z","action"],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfFormsInfoReaderInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file containing form fields.\"),\n async: z.boolean().describe(\"If true, runs the job asynchronously and returns a jobId for status checking.\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n}).describe(\"Request model for extracting form field information from a PDF.\");\nconst PdfCoPdfFormsInfoReader_FormFieldInfoSchema = z.object({\n Top: z.number().describe(\"Top position of the field.\").nullable().optional(),\n Left: z.number().describe(\"Left position of the field.\").nullable().optional(),\n Type: z.string().describe(\"Type of the form field, e.g., CheckBox, EditBox, RadioButton, ComboBox.\").nullable(),\n Value: z.string().describe(\"Current value of the form field, if any.\").nullable().optional(),\n Width: z.number().describe(\"Width of the field.\").nullable().optional(),\n Height: z.number().describe(\"Height of the field.\").nullable().optional(),\n FieldName: z.string().describe(\"Internal name of the form field.\").nullable(),\n PageIndex: z.number().int().describe(\"Page index where the field is located (0-based).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single form field in a PDF.\");\nconst PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema = z.object({\n Fields: z.array(PdfCoPdfFormsInfoReader_FormFieldInfoSchema).describe(\"List of form fields found in the document.\").nullable().optional(),\n}).passthrough().describe(\"Container for form fields list.\");\nconst PdfCoPdfFormsInfoReader_PdfInfoSchema = z.object({\n Title: z.string().describe(\"Title of the PDF document.\").nullable().optional(),\n Author: z.string().describe(\"Author of the PDF document.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of the PDF document.\").nullable().optional(),\n Producer: z.string().describe(\"Software used to produce the PDF.\").nullable().optional(),\n Encrypted: z.boolean().describe(\"Whether the PDF is encrypted.\").nullable().optional(),\n PageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n FieldsInfo: PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema.nullable().optional(),\n CreationDate: z.string().describe(\"Date the PDF was created.\").nullable().optional(),\n PasswordProtected: z.boolean().describe(\"Whether the PDF is password protected.\").nullable().optional(),\n}).passthrough().describe(\"PDF document information including metadata and form fields.\");\nexport const PdfCoPdfFormsInfoReaderOutput = z.object({\n info: PdfCoPdfFormsInfoReader_PdfInfoSchema.nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during processing.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing form field information extracted from a PDF.\");\n\nexport const pdfCoPdfFormsInfoReader = action(\"PDF_CO_PDF_FORMS_INFO_READER\", {\n slug: \"pdf_co-pdf-forms-info-reader\",\n name: \"PDF Forms Info Reader\",\n description: \"Tool to extract form field information from a PDF. Use when you need to retrieve names, types, and values of form fields. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.\",\n input: PdfCoPdfFormsInfoReaderInput,\n output: PdfCoPdfFormsInfoReaderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC1F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAA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DAAkD,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-forms-info-reader.cjs","names":["z","action"],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfFormsInfoReaderInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file containing form fields.\"),\n async: z.boolean().describe(\"If true, runs the job asynchronously and returns a jobId for status checking.\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n}).describe(\"Request model for extracting form field information from a PDF.\");\nconst PdfCoPdfFormsInfoReader_FormFieldInfoSchema = z.object({\n Top: z.number().describe(\"Top position of the field.\").nullable().optional(),\n Left: z.number().describe(\"Left position of the field.\").nullable().optional(),\n Type: z.string().describe(\"Type of the form field, e.g., CheckBox, EditBox, RadioButton, ComboBox.\").nullable(),\n Value: z.string().describe(\"Current value of the form field, if any.\").nullable().optional(),\n Width: z.number().describe(\"Width of the field.\").nullable().optional(),\n Height: z.number().describe(\"Height of the field.\").nullable().optional(),\n FieldName: z.string().describe(\"Internal name of the form field.\").nullable(),\n PageIndex: z.number().int().describe(\"Page index where the field is located (0-based).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single form field in a PDF.\");\nconst PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema = z.object({\n Fields: z.array(PdfCoPdfFormsInfoReader_FormFieldInfoSchema).describe(\"List of form fields found in the document.\").nullable().optional(),\n}).passthrough().describe(\"Container for form fields list.\");\nconst PdfCoPdfFormsInfoReader_PdfInfoSchema = z.object({\n Title: z.string().describe(\"Title of the PDF document.\").nullable().optional(),\n Author: z.string().describe(\"Author of the PDF document.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of the PDF document.\").nullable().optional(),\n Producer: z.string().describe(\"Software used to produce the PDF.\").nullable().optional(),\n Encrypted: z.boolean().describe(\"Whether the PDF is encrypted.\").nullable().optional(),\n PageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n FieldsInfo: PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema.nullable().optional(),\n CreationDate: z.string().describe(\"Date the PDF was created.\").nullable().optional(),\n PasswordProtected: z.boolean().describe(\"Whether the PDF is password protected.\").nullable().optional(),\n}).passthrough().describe(\"PDF document information including metadata and form fields.\");\nexport const PdfCoPdfFormsInfoReaderOutput = z.object({\n info: PdfCoPdfFormsInfoReader_PdfInfoSchema.nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during processing.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing form field information extracted from a PDF.\");\n\nexport const pdfCoPdfFormsInfoReader: AppAction<\n typeof PdfCoPdfFormsInfoReaderInput,\n typeof PdfCoPdfFormsInfoReaderOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_FORMS_INFO_READER\", {\n slug: \"pdf_co-pdf-forms-info-reader\",\n name: \"PDF Forms Info Reader\",\n description: \"Tool to extract form field information from a PDF. Use when you need to retrieve names, types, and values of form fields. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.\",\n input: PdfCoPdfFormsInfoReaderInput,\n output: PdfCoPdfFormsInfoReaderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC1F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SA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,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-forms-info-reader.d.ts
@@ -35,11 +37,7 @@ declare const PdfCoPdfFormsInfoReaderOutput: z.ZodObject<{
35
37
  errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
38
  remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
39
  }, z.core.$loose>;
38
- declare const pdfCoPdfFormsInfoReader: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- url: string;
40
- async?: boolean | undefined;
41
- password?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pdfCoPdfFormsInfoReader: AppAction<typeof PdfCoPdfFormsInfoReaderInput, typeof PdfCoPdfFormsInfoReaderOutput, typeof pdfCo.credential>;
43
41
  //#endregion
44
42
  export { pdfCoPdfFormsInfoReader };
45
43
  //# sourceMappingURL=pdf-forms-info-reader.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-forms-info-reader.d.cts","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA6B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"pdf-forms-info-reader.d.cts","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA6B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pdfCo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/pdf-forms-info-reader.d.ts
@@ -35,11 +37,7 @@ declare const PdfCoPdfFormsInfoReaderOutput: z.ZodObject<{
35
37
  errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
38
  remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
39
  }, z.core.$loose>;
38
- declare const pdfCoPdfFormsInfoReader: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- url: string;
40
- async?: boolean | undefined;
41
- password?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pdfCoPdfFormsInfoReader: AppAction<typeof PdfCoPdfFormsInfoReaderInput, typeof PdfCoPdfFormsInfoReaderOutput, typeof pdfCo.credential>;
43
41
  //#endregion
44
42
  export { pdfCoPdfFormsInfoReader };
45
43
  //# sourceMappingURL=pdf-forms-info-reader.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-forms-info-reader.d.mts","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA6B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"pdf-forms-info-reader.d.mts","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA6B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,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/pdf-forms-info-reader.ts
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-forms-info-reader.mjs","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfFormsInfoReaderInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file containing form fields.\"),\n async: z.boolean().describe(\"If true, runs the job asynchronously and returns a jobId for status checking.\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n}).describe(\"Request model for extracting form field information from a PDF.\");\nconst PdfCoPdfFormsInfoReader_FormFieldInfoSchema = z.object({\n Top: z.number().describe(\"Top position of the field.\").nullable().optional(),\n Left: z.number().describe(\"Left position of the field.\").nullable().optional(),\n Type: z.string().describe(\"Type of the form field, e.g., CheckBox, EditBox, RadioButton, ComboBox.\").nullable(),\n Value: z.string().describe(\"Current value of the form field, if any.\").nullable().optional(),\n Width: z.number().describe(\"Width of the field.\").nullable().optional(),\n Height: z.number().describe(\"Height of the field.\").nullable().optional(),\n FieldName: z.string().describe(\"Internal name of the form field.\").nullable(),\n PageIndex: z.number().int().describe(\"Page index where the field is located (0-based).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single form field in a PDF.\");\nconst PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema = z.object({\n Fields: z.array(PdfCoPdfFormsInfoReader_FormFieldInfoSchema).describe(\"List of form fields found in the document.\").nullable().optional(),\n}).passthrough().describe(\"Container for form fields list.\");\nconst PdfCoPdfFormsInfoReader_PdfInfoSchema = z.object({\n Title: z.string().describe(\"Title of the PDF document.\").nullable().optional(),\n Author: z.string().describe(\"Author of the PDF document.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of the PDF document.\").nullable().optional(),\n Producer: z.string().describe(\"Software used to produce the PDF.\").nullable().optional(),\n Encrypted: z.boolean().describe(\"Whether the PDF is encrypted.\").nullable().optional(),\n PageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n FieldsInfo: PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema.nullable().optional(),\n CreationDate: z.string().describe(\"Date the PDF was created.\").nullable().optional(),\n PasswordProtected: z.boolean().describe(\"Whether the PDF is password protected.\").nullable().optional(),\n}).passthrough().describe(\"PDF document information including metadata and form fields.\");\nexport const PdfCoPdfFormsInfoReaderOutput = z.object({\n info: PdfCoPdfFormsInfoReader_PdfInfoSchema.nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during processing.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing form field information extracted from a PDF.\");\n\nexport const pdfCoPdfFormsInfoReader = action(\"PDF_CO_PDF_FORMS_INFO_READER\", {\n slug: \"pdf_co-pdf-forms-info-reader\",\n name: \"PDF Forms Info Reader\",\n description: \"Tool to extract form field information from a PDF. Use when you need to retrieve names, types, and values of form fields. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.\",\n input: PdfCoPdfFormsInfoReaderInput,\n output: PdfCoPdfFormsInfoReaderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC1F,OAAO,EAAE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,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"pdf-forms-info-reader.mjs","names":[],"sources":["../../src/actions/pdf-forms-info-reader.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoPdfFormsInfoReaderInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the PDF file containing form fields.\"),\n async: z.boolean().describe(\"If true, runs the job asynchronously and returns a jobId for status checking.\").optional(),\n password: z.string().describe(\"Password for encrypted PDF, if applicable.\").optional(),\n}).describe(\"Request model for extracting form field information from a PDF.\");\nconst PdfCoPdfFormsInfoReader_FormFieldInfoSchema = z.object({\n Top: z.number().describe(\"Top position of the field.\").nullable().optional(),\n Left: z.number().describe(\"Left position of the field.\").nullable().optional(),\n Type: z.string().describe(\"Type of the form field, e.g., CheckBox, EditBox, RadioButton, ComboBox.\").nullable(),\n Value: z.string().describe(\"Current value of the form field, if any.\").nullable().optional(),\n Width: z.number().describe(\"Width of the field.\").nullable().optional(),\n Height: z.number().describe(\"Height of the field.\").nullable().optional(),\n FieldName: z.string().describe(\"Internal name of the form field.\").nullable(),\n PageIndex: z.number().int().describe(\"Page index where the field is located (0-based).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single form field in a PDF.\");\nconst PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema = z.object({\n Fields: z.array(PdfCoPdfFormsInfoReader_FormFieldInfoSchema).describe(\"List of form fields found in the document.\").nullable().optional(),\n}).passthrough().describe(\"Container for form fields list.\");\nconst PdfCoPdfFormsInfoReader_PdfInfoSchema = z.object({\n Title: z.string().describe(\"Title of the PDF document.\").nullable().optional(),\n Author: z.string().describe(\"Author of the PDF document.\").nullable().optional(),\n Subject: z.string().describe(\"Subject of the PDF document.\").nullable().optional(),\n Producer: z.string().describe(\"Software used to produce the PDF.\").nullable().optional(),\n Encrypted: z.boolean().describe(\"Whether the PDF is encrypted.\").nullable().optional(),\n PageCount: z.number().int().describe(\"Number of pages in the PDF.\").nullable().optional(),\n FieldsInfo: PdfCoPdfFormsInfoReader_FieldsInfoContainerSchema.nullable().optional(),\n CreationDate: z.string().describe(\"Date the PDF was created.\").nullable().optional(),\n PasswordProtected: z.boolean().describe(\"Whether the PDF is password protected.\").nullable().optional(),\n}).passthrough().describe(\"PDF document information including metadata and form fields.\");\nexport const PdfCoPdfFormsInfoReaderOutput = z.object({\n info: PdfCoPdfFormsInfoReader_PdfInfoSchema.nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during processing.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or status message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing form field information extracted from a PDF.\");\n\nexport const pdfCoPdfFormsInfoReader: AppAction<\n typeof PdfCoPdfFormsInfoReaderInput,\n typeof PdfCoPdfFormsInfoReaderOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_PDF_FORMS_INFO_READER\", {\n slug: \"pdf_co-pdf-forms-info-reader\",\n name: \"PDF Forms Info Reader\",\n description: \"Tool to extract form field information from a PDF. Use when you need to retrieve names, types, and values of form fields. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.\",\n input: PdfCoPdfFormsInfoReaderInput,\n output: PdfCoPdfFormsInfoReaderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,C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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;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/pdf-from-document-txt.ts