@keystrokehq/pdf_co 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/account-balance-info.cjs +23 -0
  7. package/dist/actions/account-balance-info.cjs.map +1 -0
  8. package/dist/actions/account-balance-info.d.cts +9 -0
  9. package/dist/actions/account-balance-info.d.cts.map +1 -0
  10. package/dist/actions/account-balance-info.d.mts +9 -0
  11. package/dist/actions/account-balance-info.d.mts.map +1 -0
  12. package/dist/actions/account-balance-info.mjs +20 -0
  13. package/dist/actions/account-balance-info.mjs.map +1 -0
  14. package/dist/actions/convert-excel-to-csv.cjs +34 -0
  15. package/dist/actions/convert-excel-to-csv.cjs.map +1 -0
  16. package/dist/actions/convert-excel-to-csv.d.cts +9 -0
  17. package/dist/actions/convert-excel-to-csv.d.cts.map +1 -0
  18. package/dist/actions/convert-excel-to-csv.d.mts +9 -0
  19. package/dist/actions/convert-excel-to-csv.d.mts.map +1 -0
  20. package/dist/actions/convert-excel-to-csv.mjs +31 -0
  21. package/dist/actions/convert-excel-to-csv.mjs.map +1 -0
  22. package/dist/actions/convert-excel-to-html.cjs +29 -0
  23. package/dist/actions/convert-excel-to-html.cjs.map +1 -0
  24. package/dist/actions/convert-excel-to-html.d.cts +9 -0
  25. package/dist/actions/convert-excel-to-html.d.cts.map +1 -0
  26. package/dist/actions/convert-excel-to-html.d.mts +9 -0
  27. package/dist/actions/convert-excel-to-html.d.mts.map +1 -0
  28. package/dist/actions/convert-excel-to-html.mjs +26 -0
  29. package/dist/actions/convert-excel-to-html.mjs.map +1 -0
  30. package/dist/actions/convert-excel-to-json.cjs +27 -0
  31. package/dist/actions/convert-excel-to-json.cjs.map +1 -0
  32. package/dist/actions/convert-excel-to-json.d.cts +9 -0
  33. package/dist/actions/convert-excel-to-json.d.cts.map +1 -0
  34. package/dist/actions/convert-excel-to-json.d.mts +9 -0
  35. package/dist/actions/convert-excel-to-json.d.mts.map +1 -0
  36. package/dist/actions/convert-excel-to-json.mjs +24 -0
  37. package/dist/actions/convert-excel-to-json.mjs.map +1 -0
  38. package/dist/actions/convert-excel-to-text.cjs +32 -0
  39. package/dist/actions/convert-excel-to-text.cjs.map +1 -0
  40. package/dist/actions/convert-excel-to-text.d.cts +9 -0
  41. package/dist/actions/convert-excel-to-text.d.cts.map +1 -0
  42. package/dist/actions/convert-excel-to-text.d.mts +9 -0
  43. package/dist/actions/convert-excel-to-text.d.mts.map +1 -0
  44. package/dist/actions/convert-excel-to-text.mjs +29 -0
  45. package/dist/actions/convert-excel-to-text.mjs.map +1 -0
  46. package/dist/actions/convert-excel-to-xml.cjs +52 -0
  47. package/dist/actions/convert-excel-to-xml.cjs.map +1 -0
  48. package/dist/actions/convert-excel-to-xml.d.cts +9 -0
  49. package/dist/actions/convert-excel-to-xml.d.cts.map +1 -0
  50. package/dist/actions/convert-excel-to-xml.d.mts +9 -0
  51. package/dist/actions/convert-excel-to-xml.d.mts.map +1 -0
  52. package/dist/actions/convert-excel-to-xml.mjs +49 -0
  53. package/dist/actions/convert-excel-to-xml.mjs.map +1 -0
  54. package/dist/actions/document-parser.cjs +38 -0
  55. package/dist/actions/document-parser.cjs.map +1 -0
  56. package/dist/actions/document-parser.d.cts +9 -0
  57. package/dist/actions/document-parser.d.cts.map +1 -0
  58. package/dist/actions/document-parser.d.mts +9 -0
  59. package/dist/actions/document-parser.d.mts.map +1 -0
  60. package/dist/actions/document-parser.mjs +35 -0
  61. package/dist/actions/document-parser.mjs.map +1 -0
  62. package/dist/actions/file-upload.cjs +31 -0
  63. package/dist/actions/file-upload.cjs.map +1 -0
  64. package/dist/actions/file-upload.d.cts +9 -0
  65. package/dist/actions/file-upload.d.cts.map +1 -0
  66. package/dist/actions/file-upload.d.mts +9 -0
  67. package/dist/actions/file-upload.d.mts.map +1 -0
  68. package/dist/actions/file-upload.mjs +28 -0
  69. package/dist/actions/file-upload.mjs.map +1 -0
  70. package/dist/actions/index.cjs +69 -0
  71. package/dist/actions/index.d.cts +35 -0
  72. package/dist/actions/index.d.mts +35 -0
  73. package/dist/actions/index.mjs +35 -0
  74. package/dist/actions/job-check.cjs +38 -0
  75. package/dist/actions/job-check.cjs.map +1 -0
  76. package/dist/actions/job-check.d.cts +9 -0
  77. package/dist/actions/job-check.d.cts.map +1 -0
  78. package/dist/actions/job-check.d.mts +9 -0
  79. package/dist/actions/job-check.d.mts.map +1 -0
  80. package/dist/actions/job-check.mjs +35 -0
  81. package/dist/actions/job-check.mjs.map +1 -0
  82. package/dist/actions/pdf-add.cjs +33 -0
  83. package/dist/actions/pdf-add.cjs.map +1 -0
  84. package/dist/actions/pdf-add.d.cts +9 -0
  85. package/dist/actions/pdf-add.d.cts.map +1 -0
  86. package/dist/actions/pdf-add.d.mts +9 -0
  87. package/dist/actions/pdf-add.d.mts.map +1 -0
  88. package/dist/actions/pdf-add.mjs +30 -0
  89. package/dist/actions/pdf-add.mjs.map +1 -0
  90. package/dist/actions/pdf-change-text-searchable.cjs +30 -0
  91. package/dist/actions/pdf-change-text-searchable.cjs.map +1 -0
  92. package/dist/actions/pdf-change-text-searchable.d.cts +9 -0
  93. package/dist/actions/pdf-change-text-searchable.d.cts.map +1 -0
  94. package/dist/actions/pdf-change-text-searchable.d.mts +9 -0
  95. package/dist/actions/pdf-change-text-searchable.d.mts.map +1 -0
  96. package/dist/actions/pdf-change-text-searchable.mjs +27 -0
  97. package/dist/actions/pdf-change-text-searchable.mjs.map +1 -0
  98. package/dist/actions/pdf-delete-pages.cjs +29 -0
  99. package/dist/actions/pdf-delete-pages.cjs.map +1 -0
  100. package/dist/actions/pdf-delete-pages.d.cts +9 -0
  101. package/dist/actions/pdf-delete-pages.d.cts.map +1 -0
  102. package/dist/actions/pdf-delete-pages.d.mts +9 -0
  103. package/dist/actions/pdf-delete-pages.d.mts.map +1 -0
  104. package/dist/actions/pdf-delete-pages.mjs +26 -0
  105. package/dist/actions/pdf-delete-pages.mjs.map +1 -0
  106. package/dist/actions/pdf-extract-attachments.cjs +36 -0
  107. package/dist/actions/pdf-extract-attachments.cjs.map +1 -0
  108. package/dist/actions/pdf-extract-attachments.d.cts +9 -0
  109. package/dist/actions/pdf-extract-attachments.d.cts.map +1 -0
  110. package/dist/actions/pdf-extract-attachments.d.mts +9 -0
  111. package/dist/actions/pdf-extract-attachments.d.mts.map +1 -0
  112. package/dist/actions/pdf-extract-attachments.mjs +33 -0
  113. package/dist/actions/pdf-extract-attachments.mjs.map +1 -0
  114. package/dist/actions/pdf-find.cjs +38 -0
  115. package/dist/actions/pdf-find.cjs.map +1 -0
  116. package/dist/actions/pdf-find.d.cts +9 -0
  117. package/dist/actions/pdf-find.d.cts.map +1 -0
  118. package/dist/actions/pdf-find.d.mts +9 -0
  119. package/dist/actions/pdf-find.d.mts.map +1 -0
  120. package/dist/actions/pdf-find.mjs +37 -0
  121. package/dist/actions/pdf-find.mjs.map +1 -0
  122. package/dist/actions/pdf-forms-info-reader.cjs +49 -0
  123. package/dist/actions/pdf-forms-info-reader.cjs.map +1 -0
  124. package/dist/actions/pdf-forms-info-reader.d.cts +9 -0
  125. package/dist/actions/pdf-forms-info-reader.d.cts.map +1 -0
  126. package/dist/actions/pdf-forms-info-reader.d.mts +9 -0
  127. package/dist/actions/pdf-forms-info-reader.d.mts.map +1 -0
  128. package/dist/actions/pdf-forms-info-reader.mjs +48 -0
  129. package/dist/actions/pdf-forms-info-reader.mjs.map +1 -0
  130. package/dist/actions/pdf-from-document-txt.cjs +32 -0
  131. package/dist/actions/pdf-from-document-txt.cjs.map +1 -0
  132. package/dist/actions/pdf-from-document-txt.d.cts +9 -0
  133. package/dist/actions/pdf-from-document-txt.d.cts.map +1 -0
  134. package/dist/actions/pdf-from-document-txt.d.mts +9 -0
  135. package/dist/actions/pdf-from-document-txt.d.mts.map +1 -0
  136. package/dist/actions/pdf-from-document-txt.mjs +29 -0
  137. package/dist/actions/pdf-from-document-txt.mjs.map +1 -0
  138. package/dist/actions/pdf-from-email.cjs +31 -0
  139. package/dist/actions/pdf-from-email.cjs.map +1 -0
  140. package/dist/actions/pdf-from-email.d.cts +9 -0
  141. package/dist/actions/pdf-from-email.d.cts.map +1 -0
  142. package/dist/actions/pdf-from-email.d.mts +9 -0
  143. package/dist/actions/pdf-from-email.d.mts.map +1 -0
  144. package/dist/actions/pdf-from-email.mjs +28 -0
  145. package/dist/actions/pdf-from-email.mjs.map +1 -0
  146. package/dist/actions/pdf-from-html.cjs +40 -0
  147. package/dist/actions/pdf-from-html.cjs.map +1 -0
  148. package/dist/actions/pdf-from-html.d.cts +9 -0
  149. package/dist/actions/pdf-from-html.d.cts.map +1 -0
  150. package/dist/actions/pdf-from-html.d.mts +9 -0
  151. package/dist/actions/pdf-from-html.d.mts.map +1 -0
  152. package/dist/actions/pdf-from-html.mjs +37 -0
  153. package/dist/actions/pdf-from-html.mjs.map +1 -0
  154. package/dist/actions/pdf-info-reader.cjs +21 -0
  155. package/dist/actions/pdf-info-reader.cjs.map +1 -0
  156. package/dist/actions/pdf-info-reader.d.cts +9 -0
  157. package/dist/actions/pdf-info-reader.d.cts.map +1 -0
  158. package/dist/actions/pdf-info-reader.d.mts +9 -0
  159. package/dist/actions/pdf-info-reader.d.mts.map +1 -0
  160. package/dist/actions/pdf-info-reader.mjs +18 -0
  161. package/dist/actions/pdf-info-reader.mjs.map +1 -0
  162. package/dist/actions/pdf-merge.cjs +27 -0
  163. package/dist/actions/pdf-merge.cjs.map +1 -0
  164. package/dist/actions/pdf-merge.d.cts +9 -0
  165. package/dist/actions/pdf-merge.d.cts.map +1 -0
  166. package/dist/actions/pdf-merge.d.mts +9 -0
  167. package/dist/actions/pdf-merge.d.mts.map +1 -0
  168. package/dist/actions/pdf-merge.mjs +24 -0
  169. package/dist/actions/pdf-merge.mjs.map +1 -0
  170. package/dist/actions/pdf-rotate.cjs +33 -0
  171. package/dist/actions/pdf-rotate.cjs.map +1 -0
  172. package/dist/actions/pdf-rotate.d.cts +9 -0
  173. package/dist/actions/pdf-rotate.d.cts.map +1 -0
  174. package/dist/actions/pdf-rotate.d.mts +9 -0
  175. package/dist/actions/pdf-rotate.d.mts.map +1 -0
  176. package/dist/actions/pdf-rotate.mjs +30 -0
  177. package/dist/actions/pdf-rotate.mjs.map +1 -0
  178. package/dist/actions/pdf-search-and-delete-text.cjs +34 -0
  179. package/dist/actions/pdf-search-and-delete-text.cjs.map +1 -0
  180. package/dist/actions/pdf-search-and-delete-text.d.cts +9 -0
  181. package/dist/actions/pdf-search-and-delete-text.d.cts.map +1 -0
  182. package/dist/actions/pdf-search-and-delete-text.d.mts +9 -0
  183. package/dist/actions/pdf-search-and-delete-text.d.mts.map +1 -0
  184. package/dist/actions/pdf-search-and-delete-text.mjs +31 -0
  185. package/dist/actions/pdf-search-and-delete-text.mjs.map +1 -0
  186. package/dist/actions/pdf-search-and-replace-text.cjs +35 -0
  187. package/dist/actions/pdf-search-and-replace-text.cjs.map +1 -0
  188. package/dist/actions/pdf-search-and-replace-text.d.cts +9 -0
  189. package/dist/actions/pdf-search-and-replace-text.d.cts.map +1 -0
  190. package/dist/actions/pdf-search-and-replace-text.d.mts +9 -0
  191. package/dist/actions/pdf-search-and-replace-text.d.mts.map +1 -0
  192. package/dist/actions/pdf-search-and-replace-text.mjs +32 -0
  193. package/dist/actions/pdf-search-and-replace-text.mjs.map +1 -0
  194. package/dist/actions/pdf-split.cjs +44 -0
  195. package/dist/actions/pdf-split.cjs.map +1 -0
  196. package/dist/actions/pdf-split.d.cts +9 -0
  197. package/dist/actions/pdf-split.d.cts.map +1 -0
  198. package/dist/actions/pdf-split.d.mts +9 -0
  199. package/dist/actions/pdf-split.d.mts.map +1 -0
  200. package/dist/actions/pdf-split.mjs +41 -0
  201. package/dist/actions/pdf-split.mjs.map +1 -0
  202. package/dist/actions/pdf-to-csv.cjs +33 -0
  203. package/dist/actions/pdf-to-csv.cjs.map +1 -0
  204. package/dist/actions/pdf-to-csv.d.cts +9 -0
  205. package/dist/actions/pdf-to-csv.d.cts.map +1 -0
  206. package/dist/actions/pdf-to-csv.d.mts +9 -0
  207. package/dist/actions/pdf-to-csv.d.mts.map +1 -0
  208. package/dist/actions/pdf-to-csv.mjs +30 -0
  209. package/dist/actions/pdf-to-csv.mjs.map +1 -0
  210. package/dist/actions/pdf-to-html.cjs +36 -0
  211. package/dist/actions/pdf-to-html.cjs.map +1 -0
  212. package/dist/actions/pdf-to-html.d.cts +9 -0
  213. package/dist/actions/pdf-to-html.d.cts.map +1 -0
  214. package/dist/actions/pdf-to-html.d.mts +9 -0
  215. package/dist/actions/pdf-to-html.d.mts.map +1 -0
  216. package/dist/actions/pdf-to-html.mjs +33 -0
  217. package/dist/actions/pdf-to-html.mjs.map +1 -0
  218. package/dist/actions/pdf-to-image.cjs +34 -0
  219. package/dist/actions/pdf-to-image.cjs.map +1 -0
  220. package/dist/actions/pdf-to-image.d.cts +9 -0
  221. package/dist/actions/pdf-to-image.d.cts.map +1 -0
  222. package/dist/actions/pdf-to-image.d.mts +9 -0
  223. package/dist/actions/pdf-to-image.d.mts.map +1 -0
  224. package/dist/actions/pdf-to-image.mjs +31 -0
  225. package/dist/actions/pdf-to-image.mjs.map +1 -0
  226. package/dist/actions/pdf-to-json.cjs +63 -0
  227. package/dist/actions/pdf-to-json.cjs.map +1 -0
  228. package/dist/actions/pdf-to-json.d.cts +9 -0
  229. package/dist/actions/pdf-to-json.d.cts.map +1 -0
  230. package/dist/actions/pdf-to-json.d.mts +9 -0
  231. package/dist/actions/pdf-to-json.d.mts.map +1 -0
  232. package/dist/actions/pdf-to-json.mjs +62 -0
  233. package/dist/actions/pdf-to-json.mjs.map +1 -0
  234. package/dist/actions/pdf-to-text.cjs +41 -0
  235. package/dist/actions/pdf-to-text.cjs.map +1 -0
  236. package/dist/actions/pdf-to-text.d.cts +9 -0
  237. package/dist/actions/pdf-to-text.d.cts.map +1 -0
  238. package/dist/actions/pdf-to-text.d.mts +9 -0
  239. package/dist/actions/pdf-to-text.d.mts.map +1 -0
  240. package/dist/actions/pdf-to-text.mjs +38 -0
  241. package/dist/actions/pdf-to-text.mjs.map +1 -0
  242. package/dist/actions/pdf-to-xls.cjs +30 -0
  243. package/dist/actions/pdf-to-xls.cjs.map +1 -0
  244. package/dist/actions/pdf-to-xls.d.cts +9 -0
  245. package/dist/actions/pdf-to-xls.d.cts.map +1 -0
  246. package/dist/actions/pdf-to-xls.d.mts +9 -0
  247. package/dist/actions/pdf-to-xls.d.mts.map +1 -0
  248. package/dist/actions/pdf-to-xls.mjs +27 -0
  249. package/dist/actions/pdf-to-xls.mjs.map +1 -0
  250. package/dist/actions/pdf-to-xlsx.cjs +37 -0
  251. package/dist/actions/pdf-to-xlsx.cjs.map +1 -0
  252. package/dist/actions/pdf-to-xlsx.d.cts +9 -0
  253. package/dist/actions/pdf-to-xlsx.d.cts.map +1 -0
  254. package/dist/actions/pdf-to-xlsx.d.mts +9 -0
  255. package/dist/actions/pdf-to-xlsx.d.mts.map +1 -0
  256. package/dist/actions/pdf-to-xlsx.mjs +34 -0
  257. package/dist/actions/pdf-to-xlsx.mjs.map +1 -0
  258. package/dist/actions/pdf-to-xml.cjs +29 -0
  259. package/dist/actions/pdf-to-xml.cjs.map +1 -0
  260. package/dist/actions/pdf-to-xml.d.cts +9 -0
  261. package/dist/actions/pdf-to-xml.d.cts.map +1 -0
  262. package/dist/actions/pdf-to-xml.d.mts +9 -0
  263. package/dist/actions/pdf-to-xml.d.mts.map +1 -0
  264. package/dist/actions/pdf-to-xml.mjs +26 -0
  265. package/dist/actions/pdf-to-xml.mjs.map +1 -0
  266. package/dist/actions/pdfco-post-barcode-generate.cjs +92 -0
  267. package/dist/actions/pdfco-post-barcode-generate.cjs.map +1 -0
  268. package/dist/actions/pdfco-post-barcode-generate.d.cts +9 -0
  269. package/dist/actions/pdfco-post-barcode-generate.d.cts.map +1 -0
  270. package/dist/actions/pdfco-post-barcode-generate.d.mts +9 -0
  271. package/dist/actions/pdfco-post-barcode-generate.d.mts.map +1 -0
  272. package/dist/actions/pdfco-post-barcode-generate.mjs +89 -0
  273. package/dist/actions/pdfco-post-barcode-generate.mjs.map +1 -0
  274. package/dist/actions/pdfco-post-file-upload-base64.cjs +30 -0
  275. package/dist/actions/pdfco-post-file-upload-base64.cjs.map +1 -0
  276. package/dist/actions/pdfco-post-file-upload-base64.d.cts +9 -0
  277. package/dist/actions/pdfco-post-file-upload-base64.d.cts.map +1 -0
  278. package/dist/actions/pdfco-post-file-upload-base64.d.mts +9 -0
  279. package/dist/actions/pdfco-post-file-upload-base64.d.mts.map +1 -0
  280. package/dist/actions/pdfco-post-file-upload-base64.mjs +27 -0
  281. package/dist/actions/pdfco-post-file-upload-base64.mjs.map +1 -0
  282. package/dist/app.cjs +9 -0
  283. package/dist/app.cjs.map +1 -0
  284. package/dist/app.d.cts +5 -0
  285. package/dist/app.d.cts.map +1 -0
  286. package/dist/app.d.mts +5 -0
  287. package/dist/app.d.mts.map +1 -0
  288. package/dist/app.mjs +10 -0
  289. package/dist/app.mjs.map +1 -0
  290. package/dist/catalog.cjs +15 -0
  291. package/dist/catalog.cjs.map +1 -0
  292. package/dist/catalog.d.cts +14 -0
  293. package/dist/catalog.d.cts.map +1 -0
  294. package/dist/catalog.d.mts +14 -0
  295. package/dist/catalog.d.mts.map +1 -0
  296. package/dist/catalog.mjs +15 -0
  297. package/dist/catalog.mjs.map +1 -0
  298. package/dist/execute.cjs +18 -0
  299. package/dist/execute.cjs.map +1 -0
  300. package/dist/execute.mjs +18 -0
  301. package/dist/execute.mjs.map +1 -0
  302. package/dist/index.cjs +74 -0
  303. package/dist/index.d.cts +37 -0
  304. package/dist/index.d.mts +37 -0
  305. package/dist/index.mjs +38 -0
  306. package/package.json +49 -0
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/pdf-to-xml.ts
4
+ const PdfCoPdfToXmlInput = zod.z.object({
5
+ url: zod.z.string().describe("Link to the PDF file to be converted."),
6
+ pages: zod.z.string().describe("Comma-separated page indices or ranges to convert (e.g., '1,3-5').").optional(),
7
+ password: zod.z.string().describe("Password for protected PDF files, if required.").optional(),
8
+ profiles: zod.z.string().describe("Advanced conversion settings in JSON format.").optional(),
9
+ run_async: zod.z.boolean().describe("Run job asynchronously; returns jobId for status checking.").optional()
10
+ }).describe("Request model for converting PDF documents to XML.");
11
+ const PdfCoPdfToXmlOutput = zod.z.object({
12
+ url: zod.z.string().describe("URL to the resulting XML file or inline XML data.").nullable().optional(),
13
+ error: zod.z.boolean().describe("True if an error occurred during conversion."),
14
+ status: zod.z.number().int().describe("Status code returned by the API."),
15
+ message: zod.z.string().describe("Error or informational message from the API.").nullable().optional(),
16
+ remainingCredits: zod.z.number().int().describe("Number of remaining credits after the call.").nullable().optional(),
17
+ estimatedExecutionTime: zod.z.string().describe("Estimated time for async request processing.").nullable().optional()
18
+ }).describe("Response model for PDF to XML conversion.");
19
+ const pdfCoPdfToXml = require_action.action("PDF_CO_PDF_TO_XML", {
20
+ slug: "pdf_co-pdf-to-xml",
21
+ name: "Convert PDF to XML",
22
+ description: "Tool to convert PDF or scanned images to XML format. Use when you need to extract structured data from PDF into XML.",
23
+ input: PdfCoPdfToXmlInput,
24
+ output: PdfCoPdfToXmlOutput
25
+ });
26
+ //#endregion
27
+ exports.pdfCoPdfToXml = pdfCoPdfToXml;
28
+
29
+ //# sourceMappingURL=pdf-to-xml.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-to-xml.cjs","names":["z","action"],"sources":["../../src/actions/pdf-to-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfToXmlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Link to the PDF file to be converted.\"),\n pages: z.string().describe(\"Comma-separated page indices or ranges to convert (e.g., '1,3-5').\").optional(),\n password: z.string().describe(\"Password for protected PDF files, if required.\").optional(),\n profiles: z.string().describe(\"Advanced conversion settings in JSON format.\").optional(),\n run_async: z.boolean().describe(\"Run job asynchronously; returns jobId for status checking.\").optional(),\n}).describe(\"Request model for converting PDF documents to XML.\");\nexport const PdfCoPdfToXmlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to the resulting XML file or inline XML data.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion.\"),\n status: z.number().int().describe(\"Status code returned by the API.\"),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call.\").nullable().optional(),\n estimatedExecutionTime: z.string().describe(\"Estimated time for async request processing.\").nullable().optional(),\n}).describe(\"Response model for PDF to XML conversion.\");\n\nexport const pdfCoPdfToXml = action(\"PDF_CO_PDF_TO_XML\", {\n slug: \"pdf_co-pdf-to-xml\",\n name: \"Convert PDF to XML\",\n description: \"Tool to convert PDF or scanned images to XML format. Use when you need to extract structured data from PDF into XML.\",\n input: PdfCoPdfToXmlInput,\n output: PdfCoPdfToXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,gBAAgBC,eAAAA,OAAO,qBAAqB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdf-to-xml.d.ts
4
+ declare const PdfCoPdfToXmlInput: z.ZodTypeAny;
5
+ declare const PdfCoPdfToXmlOutput: z.ZodTypeAny;
6
+ declare const pdfCoPdfToXml: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfToXml };
9
+ //# sourceMappingURL=pdf-to-xml.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-to-xml.d.cts","names":[],"sources":["../../src/actions/pdf-to-xml.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAM8B;AAAA,cACpD,mBAAA,EAAqB,CAAA,CAAE,UAOoB;AAAA,cAE3C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdf-to-xml.d.ts
4
+ declare const PdfCoPdfToXmlInput: z.ZodTypeAny;
5
+ declare const PdfCoPdfToXmlOutput: z.ZodTypeAny;
6
+ declare const pdfCoPdfToXml: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfToXml };
9
+ //# sourceMappingURL=pdf-to-xml.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-to-xml.d.mts","names":[],"sources":["../../src/actions/pdf-to-xml.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAM8B;AAAA,cACpD,mBAAA,EAAqB,CAAA,CAAE,UAOoB;AAAA,cAE3C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pdfCoPdfToXml = action("PDF_CO_PDF_TO_XML", {
4
+ slug: "pdf_co-pdf-to-xml",
5
+ name: "Convert PDF to XML",
6
+ description: "Tool to convert PDF or scanned images to XML format. Use when you need to extract structured data from PDF into XML.",
7
+ input: z.object({
8
+ url: z.string().describe("Link to the PDF file to be converted."),
9
+ pages: z.string().describe("Comma-separated page indices or ranges to convert (e.g., '1,3-5').").optional(),
10
+ password: z.string().describe("Password for protected PDF files, if required.").optional(),
11
+ profiles: z.string().describe("Advanced conversion settings in JSON format.").optional(),
12
+ run_async: z.boolean().describe("Run job asynchronously; returns jobId for status checking.").optional()
13
+ }).describe("Request model for converting PDF documents to XML."),
14
+ output: z.object({
15
+ url: z.string().describe("URL to the resulting XML file or inline XML data.").nullable().optional(),
16
+ error: z.boolean().describe("True if an error occurred during conversion."),
17
+ status: z.number().int().describe("Status code returned by the API."),
18
+ message: z.string().describe("Error or informational message from the API.").nullable().optional(),
19
+ remainingCredits: z.number().int().describe("Number of remaining credits after the call.").nullable().optional(),
20
+ estimatedExecutionTime: z.string().describe("Estimated time for async request processing.").nullable().optional()
21
+ }).describe("Response model for PDF to XML conversion.")
22
+ });
23
+ //#endregion
24
+ export { pdfCoPdfToXml };
25
+
26
+ //# sourceMappingURL=pdf-to-xml.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-to-xml.mjs","names":[],"sources":["../../src/actions/pdf-to-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfToXmlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Link to the PDF file to be converted.\"),\n pages: z.string().describe(\"Comma-separated page indices or ranges to convert (e.g., '1,3-5').\").optional(),\n password: z.string().describe(\"Password for protected PDF files, if required.\").optional(),\n profiles: z.string().describe(\"Advanced conversion settings in JSON format.\").optional(),\n run_async: z.boolean().describe(\"Run job asynchronously; returns jobId for status checking.\").optional(),\n}).describe(\"Request model for converting PDF documents to XML.\");\nexport const PdfCoPdfToXmlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to the resulting XML file or inline XML data.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion.\"),\n status: z.number().int().describe(\"Status code returned by the API.\"),\n message: z.string().describe(\"Error or informational message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call.\").nullable().optional(),\n estimatedExecutionTime: z.string().describe(\"Estimated time for async request processing.\").nullable().optional(),\n}).describe(\"Response model for PDF to XML conversion.\");\n\nexport const pdfCoPdfToXml = action(\"PDF_CO_PDF_TO_XML\", {\n slug: \"pdf_co-pdf-to-xml\",\n name: \"Convert PDF to XML\",\n description: \"Tool to convert PDF or scanned images to XML format. Use when you need to extract structured data from PDF into XML.\",\n input: PdfCoPdfToXmlInput,\n output: PdfCoPdfToXmlOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gBAAgB,OAAO,qBAAqB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,oDAcH;CACP,QAd+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,92 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/pdfco-post-barcode-generate.ts
4
+ const PdfCoPdfcoPostBarcodeGenerateInput = zod.z.object({
5
+ name: zod.z.string().describe("Output filename for the generated barcode image.").optional(),
6
+ type: zod.z.enum([
7
+ "AustralianPostCode",
8
+ "Aztec",
9
+ "Codabar",
10
+ "CodablockF",
11
+ "Code128",
12
+ "Code16K",
13
+ "Code39",
14
+ "Code39Extended",
15
+ "Code39Mod43",
16
+ "Code39Mod43Extended",
17
+ "Code93",
18
+ "DataMatrix",
19
+ "DPMDataMatrix",
20
+ "EAN13",
21
+ "EAN2",
22
+ "EAN5",
23
+ "EAN8",
24
+ "GS1DataBarExpanded",
25
+ "GS1DataBarExpandedStacked",
26
+ "GS1DataBarLimited",
27
+ "GS1DataBarOmnidirectional",
28
+ "GS1DataBarStacked",
29
+ "GTIN12",
30
+ "GTIN13",
31
+ "GTIN14",
32
+ "GTIN8",
33
+ "IntelligentMail",
34
+ "Interleaved2of5",
35
+ "ITF14",
36
+ "MaxiCode",
37
+ "MICR",
38
+ "MicroPDF",
39
+ "MSI",
40
+ "PatchCode",
41
+ "PDF417",
42
+ "Pharmacode",
43
+ "PostNet",
44
+ "PZN",
45
+ "QRCode",
46
+ "RoyalMail",
47
+ "RoyalMailKIX",
48
+ "Trioptic",
49
+ "UPCA",
50
+ "UPCE",
51
+ "UPU"
52
+ ]).default("QRCode").describe("Barcode format to generate. Defaults to QRCode.").optional(),
53
+ async: zod.z.boolean().describe("Enable background processing; returns jobId for status checks. Defaults to false.").optional(),
54
+ value: zod.z.string().describe("The string value to be encoded into the barcode."),
55
+ inline: zod.z.boolean().describe("Return results within response (true) or return URL (false). Defaults to false.").optional(),
56
+ encrypt: zod.z.boolean().describe("Enable encryption for the output file.").optional(),
57
+ callback: zod.z.string().describe("Webhook URL to receive results when async operation completes.").optional(),
58
+ expiration: zod.z.number().int().describe("Output link expiration time in minutes. Defaults to 60.").optional(),
59
+ "profiles.Angle": zod.z.union([
60
+ zod.z.literal(0),
61
+ zod.z.literal(90),
62
+ zod.z.literal(180),
63
+ zod.z.literal(270)
64
+ ]).describe("Rotation angle in degrees. Defaults to 0.").optional(),
65
+ decorationImage: zod.z.string().describe("Image URL for logo insertion within QR codes.").optional(),
66
+ outputDataFormat: zod.z.string().describe("Set to 'base64' for base64-encoded output.").optional(),
67
+ "profiles.CaptionFont": zod.z.string().describe("Caption text font and size. Defaults to 'Arial, 12'.").optional(),
68
+ "profiles.NarrowBarWidth": zod.z.number().int().describe("Narrow bar width in pixels. Defaults to 3.").optional()
69
+ }).describe("Request model for generating a barcode image.");
70
+ const PdfCoPdfcoPostBarcodeGenerateOutput = zod.z.object({
71
+ url: zod.z.string().describe("Direct S3 URL to the generated barcode image file.").nullable().optional(),
72
+ name: zod.z.string().describe("Output filename of the generated barcode.").nullable().optional(),
73
+ error: zod.z.boolean().describe("Success indicator (false = success, true = error)."),
74
+ jobId: zod.z.string().describe("Job identifier for checking status (async mode only).").nullable().optional(),
75
+ status: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
76
+ credits: zod.z.number().int().describe("Number of credits consumed for this operation.").nullable().optional(),
77
+ message: zod.z.string().describe("Error message if an error occurred.").nullable().optional(),
78
+ duration: zod.z.number().int().describe("Processing time in milliseconds.").nullable().optional(),
79
+ remainingCredits: zod.z.number().int().describe("Remaining account credit balance.").nullable().optional(),
80
+ outputLinkValidTill: zod.z.string().describe("Timestamp indicating when the URL expires.").nullable().optional()
81
+ }).describe("Response model for barcode generation.");
82
+ const pdfCoPdfcoPostBarcodeGenerate = require_action.action("PDF_CO_PDFCO_POST_BARCODE_GENERATE", {
83
+ slug: "pdf_co-pdfco-post-barcode-generate",
84
+ name: "Generate Barcode",
85
+ description: "Tool to generate high quality barcode images in 45+ formats including QR Code, Code 128, Code 39, and more. Use when you need to create barcodes with customization options like rotation, decoration images for QR codes, or async processing.",
86
+ input: PdfCoPdfcoPostBarcodeGenerateInput,
87
+ output: PdfCoPdfcoPostBarcodeGenerateOutput
88
+ });
89
+ //#endregion
90
+ exports.pdfCoPdfcoPostBarcodeGenerate = pdfCoPdfcoPostBarcodeGenerate;
91
+
92
+ //# sourceMappingURL=pdfco-post-barcode-generate.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-barcode-generate.cjs","names":["z","action"],"sources":["../../src/actions/pdfco-post-barcode-generate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfcoPostBarcodeGenerateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Output filename for the generated barcode image.\").optional(),\n type: z.enum([\"AustralianPostCode\", \"Aztec\", \"Codabar\", \"CodablockF\", \"Code128\", \"Code16K\", \"Code39\", \"Code39Extended\", \"Code39Mod43\", \"Code39Mod43Extended\", \"Code93\", \"DataMatrix\", \"DPMDataMatrix\", \"EAN13\", \"EAN2\", \"EAN5\", \"EAN8\", \"GS1DataBarExpanded\", \"GS1DataBarExpandedStacked\", \"GS1DataBarLimited\", \"GS1DataBarOmnidirectional\", \"GS1DataBarStacked\", \"GTIN12\", \"GTIN13\", \"GTIN14\", \"GTIN8\", \"IntelligentMail\", \"Interleaved2of5\", \"ITF14\", \"MaxiCode\", \"MICR\", \"MicroPDF\", \"MSI\", \"PatchCode\", \"PDF417\", \"Pharmacode\", \"PostNet\", \"PZN\", \"QRCode\", \"RoyalMail\", \"RoyalMailKIX\", \"Trioptic\", \"UPCA\", \"UPCE\", \"UPU\"]).default(\"QRCode\").describe(\"Barcode format to generate. Defaults to QRCode.\").optional(),\n async: z.boolean().describe(\"Enable background processing; returns jobId for status checks. Defaults to false.\").optional(),\n value: z.string().describe(\"The string value to be encoded into the barcode.\"),\n inline: z.boolean().describe(\"Return results within response (true) or return URL (false). Defaults to false.\").optional(),\n encrypt: z.boolean().describe(\"Enable encryption for the output file.\").optional(),\n callback: z.string().describe(\"Webhook URL to receive results when async operation completes.\").optional(),\n expiration: z.number().int().describe(\"Output link expiration time in minutes. Defaults to 60.\").optional(),\n \"profiles.Angle\": z.union([z.literal(0), z.literal(90), z.literal(180), z.literal(270)]).describe(\"Rotation angle in degrees. Defaults to 0.\").optional(),\n decorationImage: z.string().describe(\"Image URL for logo insertion within QR codes.\").optional(),\n outputDataFormat: z.string().describe(\"Set to 'base64' for base64-encoded output.\").optional(),\n \"profiles.CaptionFont\": z.string().describe(\"Caption text font and size. Defaults to 'Arial, 12'.\").optional(),\n \"profiles.NarrowBarWidth\": z.number().int().describe(\"Narrow bar width in pixels. Defaults to 3.\").optional(),\n}).describe(\"Request model for generating a barcode image.\");\nexport const PdfCoPdfcoPostBarcodeGenerateOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Direct S3 URL to the generated barcode image file.\").nullable().optional(),\n name: z.string().describe(\"Output filename of the generated barcode.\").nullable().optional(),\n error: z.boolean().describe(\"Success indicator (false = success, true = error).\"),\n jobId: z.string().describe(\"Job identifier for checking status (async mode only).\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Number of credits consumed for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error message if an error occurred.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credit balance.\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the URL expires.\").nullable().optional(),\n}).describe(\"Response model for barcode generation.\");\n\nexport const pdfCoPdfcoPostBarcodeGenerate = action(\"PDF_CO_PDFCO_POST_BARCODE_GENERATE\", {\n slug: \"pdf_co-pdfco-post-barcode-generate\",\n name: \"Generate Barcode\",\n description: \"Tool to generate high quality barcode images in 45+ formats including QR Code, Code 128, Code 39, and more. Use when you need to create barcodes with customization options like rotation, decoration images for QR codes, or async processing.\",\n input: PdfCoPdfcoPostBarcodeGenerateInput,\n output: PdfCoPdfcoPostBarcodeGenerateOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdfco-post-barcode-generate.d.ts
4
+ declare const PdfCoPdfcoPostBarcodeGenerateInput: z.ZodTypeAny;
5
+ declare const PdfCoPdfcoPostBarcodeGenerateOutput: z.ZodTypeAny;
6
+ declare const pdfCoPdfcoPostBarcodeGenerate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfcoPostBarcodeGenerate };
9
+ //# sourceMappingURL=pdfco-post-barcode-generate.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-barcode-generate.d.cts","names":[],"sources":["../../src/actions/pdfco-post-barcode-generate.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAcS;AAAA,cAC/C,mCAAA,EAAqC,CAAA,CAAE,UAWC;AAAA,cAExC,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdfco-post-barcode-generate.d.ts
4
+ declare const PdfCoPdfcoPostBarcodeGenerateInput: z.ZodTypeAny;
5
+ declare const PdfCoPdfcoPostBarcodeGenerateOutput: z.ZodTypeAny;
6
+ declare const pdfCoPdfcoPostBarcodeGenerate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfcoPostBarcodeGenerate };
9
+ //# sourceMappingURL=pdfco-post-barcode-generate.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-barcode-generate.d.mts","names":[],"sources":["../../src/actions/pdfco-post-barcode-generate.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAcS;AAAA,cAC/C,mCAAA,EAAqC,CAAA,CAAE,UAWC;AAAA,cAExC,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,89 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pdfCoPdfcoPostBarcodeGenerate = action("PDF_CO_PDFCO_POST_BARCODE_GENERATE", {
4
+ slug: "pdf_co-pdfco-post-barcode-generate",
5
+ name: "Generate Barcode",
6
+ description: "Tool to generate high quality barcode images in 45+ formats including QR Code, Code 128, Code 39, and more. Use when you need to create barcodes with customization options like rotation, decoration images for QR codes, or async processing.",
7
+ input: z.object({
8
+ name: z.string().describe("Output filename for the generated barcode image.").optional(),
9
+ type: z.enum([
10
+ "AustralianPostCode",
11
+ "Aztec",
12
+ "Codabar",
13
+ "CodablockF",
14
+ "Code128",
15
+ "Code16K",
16
+ "Code39",
17
+ "Code39Extended",
18
+ "Code39Mod43",
19
+ "Code39Mod43Extended",
20
+ "Code93",
21
+ "DataMatrix",
22
+ "DPMDataMatrix",
23
+ "EAN13",
24
+ "EAN2",
25
+ "EAN5",
26
+ "EAN8",
27
+ "GS1DataBarExpanded",
28
+ "GS1DataBarExpandedStacked",
29
+ "GS1DataBarLimited",
30
+ "GS1DataBarOmnidirectional",
31
+ "GS1DataBarStacked",
32
+ "GTIN12",
33
+ "GTIN13",
34
+ "GTIN14",
35
+ "GTIN8",
36
+ "IntelligentMail",
37
+ "Interleaved2of5",
38
+ "ITF14",
39
+ "MaxiCode",
40
+ "MICR",
41
+ "MicroPDF",
42
+ "MSI",
43
+ "PatchCode",
44
+ "PDF417",
45
+ "Pharmacode",
46
+ "PostNet",
47
+ "PZN",
48
+ "QRCode",
49
+ "RoyalMail",
50
+ "RoyalMailKIX",
51
+ "Trioptic",
52
+ "UPCA",
53
+ "UPCE",
54
+ "UPU"
55
+ ]).default("QRCode").describe("Barcode format to generate. Defaults to QRCode.").optional(),
56
+ async: z.boolean().describe("Enable background processing; returns jobId for status checks. Defaults to false.").optional(),
57
+ value: z.string().describe("The string value to be encoded into the barcode."),
58
+ inline: z.boolean().describe("Return results within response (true) or return URL (false). Defaults to false.").optional(),
59
+ encrypt: z.boolean().describe("Enable encryption for the output file.").optional(),
60
+ callback: z.string().describe("Webhook URL to receive results when async operation completes.").optional(),
61
+ expiration: z.number().int().describe("Output link expiration time in minutes. Defaults to 60.").optional(),
62
+ "profiles.Angle": z.union([
63
+ z.literal(0),
64
+ z.literal(90),
65
+ z.literal(180),
66
+ z.literal(270)
67
+ ]).describe("Rotation angle in degrees. Defaults to 0.").optional(),
68
+ decorationImage: z.string().describe("Image URL for logo insertion within QR codes.").optional(),
69
+ outputDataFormat: z.string().describe("Set to 'base64' for base64-encoded output.").optional(),
70
+ "profiles.CaptionFont": z.string().describe("Caption text font and size. Defaults to 'Arial, 12'.").optional(),
71
+ "profiles.NarrowBarWidth": z.number().int().describe("Narrow bar width in pixels. Defaults to 3.").optional()
72
+ }).describe("Request model for generating a barcode image."),
73
+ output: z.object({
74
+ url: z.string().describe("Direct S3 URL to the generated barcode image file.").nullable().optional(),
75
+ name: z.string().describe("Output filename of the generated barcode.").nullable().optional(),
76
+ error: z.boolean().describe("Success indicator (false = success, true = error)."),
77
+ jobId: z.string().describe("Job identifier for checking status (async mode only).").nullable().optional(),
78
+ status: z.union([z.number().int(), z.string()]).nullable().optional(),
79
+ credits: z.number().int().describe("Number of credits consumed for this operation.").nullable().optional(),
80
+ message: z.string().describe("Error message if an error occurred.").nullable().optional(),
81
+ duration: z.number().int().describe("Processing time in milliseconds.").nullable().optional(),
82
+ remainingCredits: z.number().int().describe("Remaining account credit balance.").nullable().optional(),
83
+ outputLinkValidTill: z.string().describe("Timestamp indicating when the URL expires.").nullable().optional()
84
+ }).describe("Response model for barcode generation.")
85
+ });
86
+ //#endregion
87
+ export { pdfCoPdfcoPostBarcodeGenerate };
88
+
89
+ //# sourceMappingURL=pdfco-post-barcode-generate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-barcode-generate.mjs","names":[],"sources":["../../src/actions/pdfco-post-barcode-generate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfcoPostBarcodeGenerateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Output filename for the generated barcode image.\").optional(),\n type: z.enum([\"AustralianPostCode\", \"Aztec\", \"Codabar\", \"CodablockF\", \"Code128\", \"Code16K\", \"Code39\", \"Code39Extended\", \"Code39Mod43\", \"Code39Mod43Extended\", \"Code93\", \"DataMatrix\", \"DPMDataMatrix\", \"EAN13\", \"EAN2\", \"EAN5\", \"EAN8\", \"GS1DataBarExpanded\", \"GS1DataBarExpandedStacked\", \"GS1DataBarLimited\", \"GS1DataBarOmnidirectional\", \"GS1DataBarStacked\", \"GTIN12\", \"GTIN13\", \"GTIN14\", \"GTIN8\", \"IntelligentMail\", \"Interleaved2of5\", \"ITF14\", \"MaxiCode\", \"MICR\", \"MicroPDF\", \"MSI\", \"PatchCode\", \"PDF417\", \"Pharmacode\", \"PostNet\", \"PZN\", \"QRCode\", \"RoyalMail\", \"RoyalMailKIX\", \"Trioptic\", \"UPCA\", \"UPCE\", \"UPU\"]).default(\"QRCode\").describe(\"Barcode format to generate. Defaults to QRCode.\").optional(),\n async: z.boolean().describe(\"Enable background processing; returns jobId for status checks. Defaults to false.\").optional(),\n value: z.string().describe(\"The string value to be encoded into the barcode.\"),\n inline: z.boolean().describe(\"Return results within response (true) or return URL (false). Defaults to false.\").optional(),\n encrypt: z.boolean().describe(\"Enable encryption for the output file.\").optional(),\n callback: z.string().describe(\"Webhook URL to receive results when async operation completes.\").optional(),\n expiration: z.number().int().describe(\"Output link expiration time in minutes. Defaults to 60.\").optional(),\n \"profiles.Angle\": z.union([z.literal(0), z.literal(90), z.literal(180), z.literal(270)]).describe(\"Rotation angle in degrees. Defaults to 0.\").optional(),\n decorationImage: z.string().describe(\"Image URL for logo insertion within QR codes.\").optional(),\n outputDataFormat: z.string().describe(\"Set to 'base64' for base64-encoded output.\").optional(),\n \"profiles.CaptionFont\": z.string().describe(\"Caption text font and size. Defaults to 'Arial, 12'.\").optional(),\n \"profiles.NarrowBarWidth\": z.number().int().describe(\"Narrow bar width in pixels. Defaults to 3.\").optional(),\n}).describe(\"Request model for generating a barcode image.\");\nexport const PdfCoPdfcoPostBarcodeGenerateOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Direct S3 URL to the generated barcode image file.\").nullable().optional(),\n name: z.string().describe(\"Output filename of the generated barcode.\").nullable().optional(),\n error: z.boolean().describe(\"Success indicator (false = success, true = error).\"),\n jobId: z.string().describe(\"Job identifier for checking status (async mode only).\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Number of credits consumed for this operation.\").nullable().optional(),\n message: z.string().describe(\"Error message if an error occurred.\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining account credit balance.\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the URL expires.\").nullable().optional(),\n}).describe(\"Response model for barcode generation.\");\n\nexport const pdfCoPdfcoPostBarcodeGenerate = action(\"PDF_CO_PDFCO_POST_BARCODE_GENERATE\", {\n slug: \"pdf_co-pdfco-post-barcode-generate\",\n name: \"Generate Barcode\",\n description: \"Tool to generate high quality barcode images in 45+ formats including QR Code, Code 128, Code 39, and more. Use when you need to create barcodes with customization options like rotation, decoration images for QR codes, or async processing.\",\n input: PdfCoPdfcoPostBarcodeGenerateInput,\n output: PdfCoPdfcoPostBarcodeGenerateOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/pdfco-post-file-upload-base64.ts
4
+ const PdfCoPdfcoPostFileUploadBase64Input = zod.z.object({
5
+ file: zod.z.string().describe("Base64-encoded file bytes with data URI prefix. Must include format like 'data:image/gif;base64,R0lGODlh...' or 'data:text/plain;base64,SGVsbG8gV29ybGQh...'"),
6
+ name: zod.z.string().describe("Custom file name for the output. If not provided, a default name will be used.").optional(),
7
+ expiration: zod.z.number().int().describe("Link expiration time in minutes. Default is 60 minutes. Maximum varies by subscription plan. The temporary file is automatically deleted after expiration.").optional()
8
+ }).describe("Request model for uploading a file using base64-encoded data.");
9
+ const PdfCoPdfcoPostFileUploadBase64Output = zod.z.object({
10
+ url: zod.z.string().describe("Direct URL to the file stored in S3. This is the temporary URL to access the uploaded file."),
11
+ name: zod.z.string().describe("Output file name.").nullable().optional(),
12
+ error: zod.z.boolean().describe("Success indicator (false = success, true = error)."),
13
+ status: zod.z.union([zod.z.number().int(), zod.z.string()]),
14
+ credits: zod.z.number().int().describe("Credits consumed by this operation.").nullable().optional(),
15
+ message: zod.z.string().describe("Error message if an error occurred.").nullable().optional(),
16
+ duration: zod.z.number().int().describe("Operation time in milliseconds.").nullable().optional(),
17
+ remainingCredits: zod.z.number().int().describe("Credits remaining in account after this operation.").nullable().optional(),
18
+ outputLinkValidTill: zod.z.string().describe("Timestamp indicating when the link expires.").nullable().optional()
19
+ }).describe("Response model for base64 file upload.");
20
+ const pdfCoPdfcoPostFileUploadBase64 = require_action.action("PDF_CO_PDFCO_POST_FILE_UPLOAD_BASE64", {
21
+ slug: "pdf_co-pdfco-post-file-upload-base64",
22
+ name: "Upload File from Base64",
23
+ description: "Tool to create a temporary file using base64-encoded source data. Use when you need to upload file content as base64 to PDF.co for downstream processing. Temporary files are automatically deleted after 1 hour (or custom expiration time).",
24
+ input: PdfCoPdfcoPostFileUploadBase64Input,
25
+ output: PdfCoPdfcoPostFileUploadBase64Output
26
+ });
27
+ //#endregion
28
+ exports.pdfCoPdfcoPostFileUploadBase64 = pdfCoPdfcoPostFileUploadBase64;
29
+
30
+ //# sourceMappingURL=pdfco-post-file-upload-base64.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-file-upload-base64.cjs","names":["z","action"],"sources":["../../src/actions/pdfco-post-file-upload-base64.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfcoPostFileUploadBase64Input: z.ZodTypeAny = z.object({\n file: z.string().describe(\"Base64-encoded file bytes with data URI prefix. Must include format like 'data:image/gif;base64,R0lGODlh...' or 'data:text/plain;base64,SGVsbG8gV29ybGQh...'\"),\n name: z.string().describe(\"Custom file name for the output. If not provided, a default name will be used.\").optional(),\n expiration: z.number().int().describe(\"Link expiration time in minutes. Default is 60 minutes. Maximum varies by subscription plan. The temporary file is automatically deleted after expiration.\").optional(),\n}).describe(\"Request model for uploading a file using base64-encoded data.\");\nexport const PdfCoPdfcoPostFileUploadBase64Output: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Direct URL to the file stored in S3. This is the temporary URL to access the uploaded file.\"),\n name: z.string().describe(\"Output file name.\").nullable().optional(),\n error: z.boolean().describe(\"Success indicator (false = success, true = error).\"),\n status: z.union([z.number().int(), z.string()]),\n credits: z.number().int().describe(\"Credits consumed by this operation.\").nullable().optional(),\n message: z.string().describe(\"Error message if an error occurred.\").nullable().optional(),\n duration: z.number().int().describe(\"Operation time in milliseconds.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Credits remaining in account after this operation.\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the link expires.\").nullable().optional(),\n}).describe(\"Response model for base64 file upload.\");\n\nexport const pdfCoPdfcoPostFileUploadBase64 = action(\"PDF_CO_PDFCO_POST_FILE_UPLOAD_BASE64\", {\n slug: \"pdf_co-pdfco-post-file-upload-base64\",\n name: \"Upload File from Base64\",\n description: \"Tool to create a temporary file using base64-encoded source data. Use when you need to upload file content as base64 to PDF.co for downstream processing. Temporary files are automatically deleted after 1 hour (or custom expiration time).\",\n input: PdfCoPdfcoPostFileUploadBase64Input,\n output: PdfCoPdfcoPostFileUploadBase64Output,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACxL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;CAChF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,iCAAiCC,eAAAA,OAAO,wCAAwC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdfco-post-file-upload-base64.d.ts
4
+ declare const PdfCoPdfcoPostFileUploadBase64Input: z.ZodTypeAny;
5
+ declare const PdfCoPdfcoPostFileUploadBase64Output: z.ZodTypeAny;
6
+ declare const pdfCoPdfcoPostFileUploadBase64: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfcoPostFileUploadBase64 };
9
+ //# sourceMappingURL=pdfco-post-file-upload-base64.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-file-upload-base64.d.cts","names":[],"sources":["../../src/actions/pdfco-post-file-upload-base64.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIwB;AAAA,cAC/D,oCAAA,EAAsC,CAAA,CAAE,UAUA;AAAA,cAExC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/pdfco-post-file-upload-base64.d.ts
4
+ declare const PdfCoPdfcoPostFileUploadBase64Input: z.ZodTypeAny;
5
+ declare const PdfCoPdfcoPostFileUploadBase64Output: z.ZodTypeAny;
6
+ declare const pdfCoPdfcoPostFileUploadBase64: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdfCoPdfcoPostFileUploadBase64 };
9
+ //# sourceMappingURL=pdfco-post-file-upload-base64.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-file-upload-base64.d.mts","names":[],"sources":["../../src/actions/pdfco-post-file-upload-base64.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIwB;AAAA,cAC/D,oCAAA,EAAsC,CAAA,CAAE,UAUA;AAAA,cAExC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pdfCoPdfcoPostFileUploadBase64 = action("PDF_CO_PDFCO_POST_FILE_UPLOAD_BASE64", {
4
+ slug: "pdf_co-pdfco-post-file-upload-base64",
5
+ name: "Upload File from Base64",
6
+ description: "Tool to create a temporary file using base64-encoded source data. Use when you need to upload file content as base64 to PDF.co for downstream processing. Temporary files are automatically deleted after 1 hour (or custom expiration time).",
7
+ input: z.object({
8
+ file: z.string().describe("Base64-encoded file bytes with data URI prefix. Must include format like 'data:image/gif;base64,R0lGODlh...' or 'data:text/plain;base64,SGVsbG8gV29ybGQh...'"),
9
+ name: z.string().describe("Custom file name for the output. If not provided, a default name will be used.").optional(),
10
+ expiration: z.number().int().describe("Link expiration time in minutes. Default is 60 minutes. Maximum varies by subscription plan. The temporary file is automatically deleted after expiration.").optional()
11
+ }).describe("Request model for uploading a file using base64-encoded data."),
12
+ output: z.object({
13
+ url: z.string().describe("Direct URL to the file stored in S3. This is the temporary URL to access the uploaded file."),
14
+ name: z.string().describe("Output file name.").nullable().optional(),
15
+ error: z.boolean().describe("Success indicator (false = success, true = error)."),
16
+ status: z.union([z.number().int(), z.string()]),
17
+ credits: z.number().int().describe("Credits consumed by this operation.").nullable().optional(),
18
+ message: z.string().describe("Error message if an error occurred.").nullable().optional(),
19
+ duration: z.number().int().describe("Operation time in milliseconds.").nullable().optional(),
20
+ remainingCredits: z.number().int().describe("Credits remaining in account after this operation.").nullable().optional(),
21
+ outputLinkValidTill: z.string().describe("Timestamp indicating when the link expires.").nullable().optional()
22
+ }).describe("Response model for base64 file upload.")
23
+ });
24
+ //#endregion
25
+ export { pdfCoPdfcoPostFileUploadBase64 };
26
+
27
+ //# sourceMappingURL=pdfco-post-file-upload-base64.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfco-post-file-upload-base64.mjs","names":[],"sources":["../../src/actions/pdfco-post-file-upload-base64.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfcoPostFileUploadBase64Input: z.ZodTypeAny = z.object({\n file: z.string().describe(\"Base64-encoded file bytes with data URI prefix. Must include format like 'data:image/gif;base64,R0lGODlh...' or 'data:text/plain;base64,SGVsbG8gV29ybGQh...'\"),\n name: z.string().describe(\"Custom file name for the output. If not provided, a default name will be used.\").optional(),\n expiration: z.number().int().describe(\"Link expiration time in minutes. Default is 60 minutes. Maximum varies by subscription plan. The temporary file is automatically deleted after expiration.\").optional(),\n}).describe(\"Request model for uploading a file using base64-encoded data.\");\nexport const PdfCoPdfcoPostFileUploadBase64Output: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Direct URL to the file stored in S3. This is the temporary URL to access the uploaded file.\"),\n name: z.string().describe(\"Output file name.\").nullable().optional(),\n error: z.boolean().describe(\"Success indicator (false = success, true = error).\"),\n status: z.union([z.number().int(), z.string()]),\n credits: z.number().int().describe(\"Credits consumed by this operation.\").nullable().optional(),\n message: z.string().describe(\"Error message if an error occurred.\").nullable().optional(),\n duration: z.number().int().describe(\"Operation time in milliseconds.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Credits remaining in account after this operation.\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the link expires.\").nullable().optional(),\n}).describe(\"Response model for base64 file upload.\");\n\nexport const pdfCoPdfcoPostFileUploadBase64 = action(\"PDF_CO_PDFCO_POST_FILE_UPLOAD_BASE64\", {\n slug: \"pdf_co-pdfco-post-file-upload-base64\",\n name: \"Upload File from Base64\",\n description: \"Tool to create a temporary file using base64-encoded source data. Use when you need to upload file content as base64 to PDF.co for downstream processing. Temporary files are automatically deleted after 1 hour (or custom expiration time).\",\n input: PdfCoPdfcoPostFileUploadBase64Input,\n output: PdfCoPdfcoPostFileUploadBase64Output,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,wCAAwC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;EACxL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBgE,EAAE,OAAO;EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;EAChF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const pdfCo = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "pdf_co",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.pdfCo = pdfCo;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pdfCo = defineApp({\n slug: \"pdf_co\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pdfCo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pdfCo };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pdfCo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pdfCo };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const pdfCo = defineApp({
4
+ slug: "pdf_co",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { pdfCo };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pdfCo = defineApp({\n slug: \"pdf_co\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pdfCoCatalog = {
4
+ "slug": "pdf_co",
5
+ "name": "PDF.co",
6
+ "description": "PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/pdf_co",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.pdfCoCatalog = pdfCoCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pdfCoCatalog = {\n \"slug\": \"pdf_co\",\n \"name\": \"PDF.co\",\n \"description\": \"PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pdf_co\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pdfCoCatalog: {
4
+ readonly slug: "pdf_co";
5
+ readonly name: "PDF.co";
6
+ readonly description: "PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/pdf_co";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pdfCoCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pdfCoCatalog: {
4
+ readonly slug: "pdf_co";
5
+ readonly name: "PDF.co";
6
+ readonly description: "PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/pdf_co";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pdfCoCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pdfCoCatalog = {
4
+ "slug": "pdf_co",
5
+ "name": "PDF.co",
6
+ "description": "PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/pdf_co",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { pdfCoCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pdfCoCatalog = {\n \"slug\": \"pdf_co\",\n \"name\": \"PDF.co\",\n \"description\": \"PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pdf_co\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}