@keystrokehq/pdf_co 0.1.2 → 0.1.4
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.
- package/dist/actions/convert-excel-to-html.cjs +1 -1
- package/dist/actions/convert-excel-to-html.cjs.map +1 -1
- package/dist/actions/convert-excel-to-html.d.cts +1 -1
- package/dist/actions/convert-excel-to-html.d.mts +1 -1
- package/dist/actions/convert-excel-to-html.mjs +1 -1
- package/dist/actions/convert-excel-to-html.mjs.map +1 -1
- package/dist/actions/convert-excel-to-json.cjs +1 -1
- package/dist/actions/convert-excel-to-json.cjs.map +1 -1
- package/dist/actions/convert-excel-to-json.d.cts +1 -1
- package/dist/actions/convert-excel-to-json.d.mts +1 -1
- package/dist/actions/convert-excel-to-json.mjs +1 -1
- package/dist/actions/convert-excel-to-json.mjs.map +1 -1
- package/dist/actions/document-parser.cjs +1 -1
- package/dist/actions/document-parser.cjs.map +1 -1
- package/dist/actions/document-parser.d.cts +1 -1
- package/dist/actions/document-parser.d.mts +1 -1
- package/dist/actions/document-parser.mjs +1 -1
- package/dist/actions/document-parser.mjs.map +1 -1
- package/dist/actions/file-upload.cjs +1 -1
- package/dist/actions/file-upload.cjs.map +1 -1
- package/dist/actions/file-upload.d.cts +1 -1
- package/dist/actions/file-upload.d.mts +1 -1
- package/dist/actions/file-upload.mjs +1 -1
- package/dist/actions/file-upload.mjs.map +1 -1
- package/dist/actions/job-check.cjs +1 -1
- package/dist/actions/job-check.cjs.map +1 -1
- package/dist/actions/job-check.d.cts +1 -1
- package/dist/actions/job-check.d.mts +1 -1
- package/dist/actions/job-check.mjs +1 -1
- package/dist/actions/job-check.mjs.map +1 -1
- package/dist/actions/pdf-add.cjs +1 -1
- package/dist/actions/pdf-add.cjs.map +1 -1
- package/dist/actions/pdf-add.d.cts +1 -1
- package/dist/actions/pdf-add.d.mts +1 -1
- package/dist/actions/pdf-add.mjs +1 -1
- package/dist/actions/pdf-add.mjs.map +1 -1
- package/dist/actions/pdf-change-text-searchable.cjs +1 -1
- package/dist/actions/pdf-change-text-searchable.cjs.map +1 -1
- package/dist/actions/pdf-change-text-searchable.d.cts +1 -1
- package/dist/actions/pdf-change-text-searchable.d.mts +1 -1
- package/dist/actions/pdf-change-text-searchable.mjs +1 -1
- package/dist/actions/pdf-change-text-searchable.mjs.map +1 -1
- package/dist/actions/pdf-delete-pages.cjs +1 -1
- package/dist/actions/pdf-delete-pages.cjs.map +1 -1
- package/dist/actions/pdf-delete-pages.d.cts +1 -1
- package/dist/actions/pdf-delete-pages.d.mts +1 -1
- package/dist/actions/pdf-delete-pages.mjs +1 -1
- package/dist/actions/pdf-delete-pages.mjs.map +1 -1
- package/dist/actions/pdf-extract-attachments.cjs +1 -1
- package/dist/actions/pdf-extract-attachments.cjs.map +1 -1
- package/dist/actions/pdf-extract-attachments.d.cts +1 -1
- package/dist/actions/pdf-extract-attachments.d.mts +1 -1
- package/dist/actions/pdf-extract-attachments.mjs +1 -1
- package/dist/actions/pdf-extract-attachments.mjs.map +1 -1
- package/dist/actions/pdf-find.cjs +2 -2
- package/dist/actions/pdf-find.cjs.map +1 -1
- package/dist/actions/pdf-find.d.cts +2 -2
- package/dist/actions/pdf-find.d.mts +2 -2
- package/dist/actions/pdf-find.mjs +2 -2
- package/dist/actions/pdf-find.mjs.map +1 -1
- package/dist/actions/pdf-from-html.cjs +1 -1
- package/dist/actions/pdf-from-html.cjs.map +1 -1
- package/dist/actions/pdf-from-html.d.cts +1 -1
- package/dist/actions/pdf-from-html.d.mts +1 -1
- package/dist/actions/pdf-from-html.mjs +1 -1
- package/dist/actions/pdf-from-html.mjs.map +1 -1
- package/dist/actions/pdf-info-reader.cjs +1 -1
- package/dist/actions/pdf-info-reader.cjs.map +1 -1
- package/dist/actions/pdf-info-reader.d.cts +1 -1
- package/dist/actions/pdf-info-reader.d.mts +1 -1
- package/dist/actions/pdf-info-reader.mjs +1 -1
- package/dist/actions/pdf-info-reader.mjs.map +1 -1
- package/dist/actions/pdf-merge.cjs +1 -1
- package/dist/actions/pdf-merge.cjs.map +1 -1
- package/dist/actions/pdf-merge.d.cts +1 -1
- package/dist/actions/pdf-merge.d.mts +1 -1
- package/dist/actions/pdf-merge.mjs +1 -1
- package/dist/actions/pdf-merge.mjs.map +1 -1
- package/dist/actions/pdf-rotate.cjs +1 -1
- package/dist/actions/pdf-rotate.cjs.map +1 -1
- package/dist/actions/pdf-rotate.d.cts +1 -1
- package/dist/actions/pdf-rotate.d.mts +1 -1
- package/dist/actions/pdf-rotate.mjs +1 -1
- package/dist/actions/pdf-rotate.mjs.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.cjs +1 -1
- package/dist/actions/pdf-search-and-delete-text.cjs.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.d.cts +1 -1
- package/dist/actions/pdf-search-and-delete-text.d.mts +1 -1
- package/dist/actions/pdf-search-and-delete-text.mjs +1 -1
- package/dist/actions/pdf-search-and-delete-text.mjs.map +1 -1
- package/dist/actions/pdf-split.cjs +1 -1
- package/dist/actions/pdf-split.cjs.map +1 -1
- package/dist/actions/pdf-split.d.cts +1 -1
- package/dist/actions/pdf-split.d.mts +1 -1
- package/dist/actions/pdf-split.mjs +1 -1
- package/dist/actions/pdf-split.mjs.map +1 -1
- package/dist/actions/pdf-to-csv.cjs +1 -1
- package/dist/actions/pdf-to-csv.cjs.map +1 -1
- package/dist/actions/pdf-to-csv.d.cts +1 -1
- package/dist/actions/pdf-to-csv.d.mts +1 -1
- package/dist/actions/pdf-to-csv.mjs +1 -1
- package/dist/actions/pdf-to-csv.mjs.map +1 -1
- package/dist/actions/pdf-to-image.cjs +1 -1
- package/dist/actions/pdf-to-image.cjs.map +1 -1
- package/dist/actions/pdf-to-image.d.cts +1 -1
- package/dist/actions/pdf-to-image.d.mts +1 -1
- package/dist/actions/pdf-to-image.mjs +1 -1
- package/dist/actions/pdf-to-image.mjs.map +1 -1
- package/dist/actions/pdf-to-json.cjs +1 -1
- package/dist/actions/pdf-to-json.cjs.map +1 -1
- package/dist/actions/pdf-to-json.d.cts +1 -1
- package/dist/actions/pdf-to-json.d.mts +1 -1
- package/dist/actions/pdf-to-json.mjs +1 -1
- package/dist/actions/pdf-to-json.mjs.map +1 -1
- package/dist/actions/pdf-to-xls.cjs +1 -1
- package/dist/actions/pdf-to-xls.cjs.map +1 -1
- package/dist/actions/pdf-to-xls.d.cts +1 -1
- package/dist/actions/pdf-to-xls.d.mts +1 -1
- package/dist/actions/pdf-to-xls.mjs +1 -1
- package/dist/actions/pdf-to-xls.mjs.map +1 -1
- package/dist/actions/pdf-to-xlsx.cjs +1 -1
- package/dist/actions/pdf-to-xlsx.cjs.map +1 -1
- package/dist/actions/pdf-to-xlsx.d.cts +1 -1
- package/dist/actions/pdf-to-xlsx.d.mts +1 -1
- package/dist/actions/pdf-to-xlsx.mjs +1 -1
- package/dist/actions/pdf-to-xlsx.mjs.map +1 -1
- package/dist/actions/pdf-to-xml.cjs +1 -1
- package/dist/actions/pdf-to-xml.cjs.map +1 -1
- package/dist/actions/pdf-to-xml.d.cts +1 -1
- package/dist/actions/pdf-to-xml.d.mts +1 -1
- package/dist/actions/pdf-to-xml.mjs +1 -1
- package/dist/actions/pdf-to-xml.mjs.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.cjs +1 -1
- package/dist/actions/pdfco-post-barcode-generate.cjs.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.d.cts +1 -1
- package/dist/actions/pdfco-post-barcode-generate.d.mts +1 -1
- package/dist/actions/pdfco-post-barcode-generate.mjs +1 -1
- package/dist/actions/pdfco-post-barcode-generate.mjs.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.cjs +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.cjs.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.d.cts +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.d.mts +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.mjs +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ const PdfCoConvertExcelToHtmlOutput = zod.z.object({
|
|
|
15
15
|
credits: zod.z.number().int().describe("Number of credits used for this request.").nullable().optional(),
|
|
16
16
|
message: zod.z.string().describe("Error or status message from the API.").nullable().optional(),
|
|
17
17
|
remainingCredits: zod.z.number().int().describe("Number of remaining credits in the account.").nullable().optional()
|
|
18
|
-
}).describe("Response schema after converting Excel to HTML.");
|
|
18
|
+
}).passthrough().describe("Response schema after converting Excel to HTML.");
|
|
19
19
|
const pdfCoConvertExcelToHtml = require_action.action("PDF_CO_CONVERT_EXCEL_TO_HTML", {
|
|
20
20
|
slug: "pdf_co-convert-excel-to-html",
|
|
21
21
|
name: "Convert Excel to HTML",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-html.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToHtmlInput = z.object({\n url: z.string().describe(\"URL to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Name for the resulting HTML file (e.g., 'report.html').\").optional(),\n async: z.boolean().default(false).describe(\"Set to true to run the conversion asynchronously.\").optional(),\n profiles: z.string().describe(\"Conversion profiles as a JSON string.\").optional(),\n}).describe(\"Request schema for converting an Excel file to HTML.\");\nexport const PdfCoConvertExcelToHtmlOutput = z.object({\n url: z.string().describe(\"URL of the generated HTML file.\").nullable().optional(),\n name: z.string().describe(\"Name of the output file.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred, otherwise False.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n credits: z.number().int().describe(\"Number of credits used for this request.\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits in the account.\").nullable().optional(),\n}).describe(\"Response schema after converting Excel to HTML.\");\n\nexport const pdfCoConvertExcelToHtml = action(\"PDF_CO_CONVERT_EXCEL_TO_HTML\", {\n slug: \"pdf_co-convert-excel-to-html\",\n name: \"Convert Excel to HTML\",\n description: \"Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.\",\n input: PdfCoConvertExcelToHtmlInput,\n output: PdfCoConvertExcelToHtmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToHtmlInput = z.object({\n url: z.string().describe(\"URL to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Name for the resulting HTML file (e.g., 'report.html').\").optional(),\n async: z.boolean().default(false).describe(\"Set to true to run the conversion asynchronously.\").optional(),\n profiles: z.string().describe(\"Conversion profiles as a JSON string.\").optional(),\n}).describe(\"Request schema for converting an Excel file to HTML.\");\nexport const PdfCoConvertExcelToHtmlOutput = z.object({\n url: z.string().describe(\"URL of the generated HTML file.\").nullable().optional(),\n name: z.string().describe(\"Name of the output file.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred, otherwise False.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n credits: z.number().int().describe(\"Number of credits used for this request.\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after converting Excel to HTML.\");\n\nexport const pdfCoConvertExcelToHtml = action(\"PDF_CO_CONVERT_EXCEL_TO_HTML\", {\n slug: \"pdf_co-convert-excel-to-html\",\n name: \"Convert Excel to HTML\",\n description: \"Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.\",\n input: PdfCoConvertExcelToHtmlInput,\n output: PdfCoConvertExcelToHtmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const PdfCoConvertExcelToHtmlOutput: z.ZodObject<{
|
|
|
15
15
|
credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const pdfCoConvertExcelToHtml: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
name?: string | undefined;
|
|
@@ -15,7 +15,7 @@ declare const PdfCoConvertExcelToHtmlOutput: z.ZodObject<{
|
|
|
15
15
|
credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const pdfCoConvertExcelToHtml: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
name?: string | undefined;
|
|
@@ -18,7 +18,7 @@ const pdfCoConvertExcelToHtml = action("PDF_CO_CONVERT_EXCEL_TO_HTML", {
|
|
|
18
18
|
credits: z.number().int().describe("Number of credits used for this request.").nullable().optional(),
|
|
19
19
|
message: z.string().describe("Error or status message from the API.").nullable().optional(),
|
|
20
20
|
remainingCredits: z.number().int().describe("Number of remaining credits in the account.").nullable().optional()
|
|
21
|
-
}).describe("Response schema after converting Excel to HTML.")
|
|
21
|
+
}).passthrough().describe("Response schema after converting Excel to HTML.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { pdfCoConvertExcelToHtml };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-html.mjs","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToHtmlInput = z.object({\n url: z.string().describe(\"URL to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Name for the resulting HTML file (e.g., 'report.html').\").optional(),\n async: z.boolean().default(false).describe(\"Set to true to run the conversion asynchronously.\").optional(),\n profiles: z.string().describe(\"Conversion profiles as a JSON string.\").optional(),\n}).describe(\"Request schema for converting an Excel file to HTML.\");\nexport const PdfCoConvertExcelToHtmlOutput = z.object({\n url: z.string().describe(\"URL of the generated HTML file.\").nullable().optional(),\n name: z.string().describe(\"Name of the output file.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred, otherwise False.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n credits: z.number().int().describe(\"Number of credits used for this request.\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits in the account.\").nullable().optional(),\n}).describe(\"Response schema after converting Excel to HTML.\");\n\nexport const pdfCoConvertExcelToHtml = action(\"PDF_CO_CONVERT_EXCEL_TO_HTML\", {\n slug: \"pdf_co-convert-excel-to-html\",\n name: \"Convert Excel to HTML\",\n description: \"Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.\",\n input: PdfCoConvertExcelToHtmlInput,\n output: PdfCoConvertExcelToHtmlOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,sDAeH;CACP,QAf2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.mjs","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToHtmlInput = z.object({\n url: z.string().describe(\"URL to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Name for the resulting HTML file (e.g., 'report.html').\").optional(),\n async: z.boolean().default(false).describe(\"Set to true to run the conversion asynchronously.\").optional(),\n profiles: z.string().describe(\"Conversion profiles as a JSON string.\").optional(),\n}).describe(\"Request schema for converting an Excel file to HTML.\");\nexport const PdfCoConvertExcelToHtmlOutput = z.object({\n url: z.string().describe(\"URL of the generated HTML file.\").nullable().optional(),\n name: z.string().describe(\"Name of the output file.\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred, otherwise False.\").nullable(),\n status: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n credits: z.number().int().describe(\"Number of credits used for this request.\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API.\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after converting Excel to HTML.\");\n\nexport const pdfCoConvertExcelToHtml = action(\"PDF_CO_CONVERT_EXCEL_TO_HTML\", {\n slug: \"pdf_co-convert-excel-to-html\",\n name: \"Convert Excel to HTML\",\n description: \"Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.\",\n input: PdfCoConvertExcelToHtmlInput,\n output: PdfCoConvertExcelToHtmlOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,sDAeH;CACP,QAf2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const PdfCoConvertExcelToJsonOutput = zod.z.object({
|
|
|
13
13
|
error: zod.z.boolean().describe("False indicates success.").nullable(),
|
|
14
14
|
status: zod.z.number().int().describe("Status code returned by the API.").nullable(),
|
|
15
15
|
message: zod.z.string().describe("Error or confirmation message.").nullable()
|
|
16
|
-
}).describe("Response schema for Excel/CSV to JSON conversion.");
|
|
16
|
+
}).passthrough().describe("Response schema for Excel/CSV to JSON conversion.");
|
|
17
17
|
const pdfCoConvertExcelToJson = require_action.action("PDF_CO_CONVERT_EXCEL_TO_JSON", {
|
|
18
18
|
slug: "pdf_co-convert-excel-to-json",
|
|
19
19
|
name: "Convert Excel to JSON",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-json.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToJsonInput = z.object({\n url: z.string().describe(\"Public URL of the source Excel/CSV file.\"),\n name: z.string().describe(\"Desired name for the generated JSON file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process, e.g., '1,3-5'.\").optional(),\n password: z.string().describe(\"Password for password-protected files.\").optional(),\n profiles: z.string().describe(\"Custom processing profiles in JSON format.\").optional(),\n}).describe(\"Request parameters for converting an online Excel (XLS, XLSX) or CSV file to JSON.\\nProvide a publicly accessible URL to the source file.\");\nexport const PdfCoConvertExcelToJsonOutput = z.object({\n url: z.string().describe(\"URL of the generated JSON file.\").nullable(),\n error: z.boolean().describe(\"False indicates success.\").nullable(),\n status: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or confirmation message.\").nullable(),\n}).describe(\"Response schema for Excel/CSV to JSON conversion.\");\n\nexport const pdfCoConvertExcelToJson = action(\"PDF_CO_CONVERT_EXCEL_TO_JSON\", {\n slug: \"pdf_co-convert-excel-to-json\",\n name: \"Convert Excel to JSON\",\n description: \"Tool to convert an online Excel or CSV file to JSON format. Use when you have a public file URL and need structured data extraction.\",\n input: PdfCoConvertExcelToJsonInput,\n output: PdfCoConvertExcelToJsonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2IAA2I;AACvJ,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToJsonInput = z.object({\n url: z.string().describe(\"Public URL of the source Excel/CSV file.\"),\n name: z.string().describe(\"Desired name for the generated JSON file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process, e.g., '1,3-5'.\").optional(),\n password: z.string().describe(\"Password for password-protected files.\").optional(),\n profiles: z.string().describe(\"Custom processing profiles in JSON format.\").optional(),\n}).describe(\"Request parameters for converting an online Excel (XLS, XLSX) or CSV file to JSON.\\nProvide a publicly accessible URL to the source file.\");\nexport const PdfCoConvertExcelToJsonOutput = z.object({\n url: z.string().describe(\"URL of the generated JSON file.\").nullable(),\n error: z.boolean().describe(\"False indicates success.\").nullable(),\n status: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or confirmation message.\").nullable(),\n}).passthrough().describe(\"Response schema for Excel/CSV to JSON conversion.\");\n\nexport const pdfCoConvertExcelToJson = action(\"PDF_CO_CONVERT_EXCEL_TO_JSON\", {\n slug: \"pdf_co-convert-excel-to-json\",\n name: \"Convert Excel to JSON\",\n description: \"Tool to convert an online Excel or CSV file to JSON format. Use when you have a public file URL and need structured data extraction.\",\n input: PdfCoConvertExcelToJsonInput,\n output: PdfCoConvertExcelToJsonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2IAA2I;AACvJ,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const PdfCoConvertExcelToJsonOutput: z.ZodObject<{
|
|
|
13
13
|
error: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
status: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const pdfCoConvertExcelToJson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
url: string;
|
|
19
19
|
name?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const PdfCoConvertExcelToJsonOutput: z.ZodObject<{
|
|
|
13
13
|
error: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
status: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const pdfCoConvertExcelToJson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
url: string;
|
|
19
19
|
name?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const pdfCoConvertExcelToJson = action("PDF_CO_CONVERT_EXCEL_TO_JSON", {
|
|
|
16
16
|
error: z.boolean().describe("False indicates success.").nullable(),
|
|
17
17
|
status: z.number().int().describe("Status code returned by the API.").nullable(),
|
|
18
18
|
message: z.string().describe("Error or confirmation message.").nullable()
|
|
19
|
-
}).describe("Response schema for Excel/CSV to JSON conversion.")
|
|
19
|
+
}).passthrough().describe("Response schema for Excel/CSV to JSON conversion.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { pdfCoConvertExcelToJson };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-json.mjs","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToJsonInput = z.object({\n url: z.string().describe(\"Public URL of the source Excel/CSV file.\"),\n name: z.string().describe(\"Desired name for the generated JSON file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process, e.g., '1,3-5'.\").optional(),\n password: z.string().describe(\"Password for password-protected files.\").optional(),\n profiles: z.string().describe(\"Custom processing profiles in JSON format.\").optional(),\n}).describe(\"Request parameters for converting an online Excel (XLS, XLSX) or CSV file to JSON.\\nProvide a publicly accessible URL to the source file.\");\nexport const PdfCoConvertExcelToJsonOutput = z.object({\n url: z.string().describe(\"URL of the generated JSON file.\").nullable(),\n error: z.boolean().describe(\"False indicates success.\").nullable(),\n status: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or confirmation message.\").nullable(),\n}).describe(\"Response schema for Excel/CSV to JSON conversion.\");\n\nexport const pdfCoConvertExcelToJson = action(\"PDF_CO_CONVERT_EXCEL_TO_JSON\", {\n slug: \"pdf_co-convert-excel-to-json\",\n name: \"Convert Excel to JSON\",\n description: \"Tool to convert an online Excel or CSV file to JSON format. Use when you have a public file URL and need structured data extraction.\",\n input: PdfCoConvertExcelToJsonInput,\n output: PdfCoConvertExcelToJsonOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,2IAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.mjs","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToJsonInput = z.object({\n url: z.string().describe(\"Public URL of the source Excel/CSV file.\"),\n name: z.string().describe(\"Desired name for the generated JSON file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process, e.g., '1,3-5'.\").optional(),\n password: z.string().describe(\"Password for password-protected files.\").optional(),\n profiles: z.string().describe(\"Custom processing profiles in JSON format.\").optional(),\n}).describe(\"Request parameters for converting an online Excel (XLS, XLSX) or CSV file to JSON.\\nProvide a publicly accessible URL to the source file.\");\nexport const PdfCoConvertExcelToJsonOutput = z.object({\n url: z.string().describe(\"URL of the generated JSON file.\").nullable(),\n error: z.boolean().describe(\"False indicates success.\").nullable(),\n status: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n message: z.string().describe(\"Error or confirmation message.\").nullable(),\n}).passthrough().describe(\"Response schema for Excel/CSV to JSON conversion.\");\n\nexport const pdfCoConvertExcelToJson = action(\"PDF_CO_CONVERT_EXCEL_TO_JSON\", {\n slug: \"pdf_co-convert-excel-to-json\",\n name: \"Convert Excel to JSON\",\n description: \"Tool to convert an online Excel or CSV file to JSON format. Use when you have a public file URL and need structured data extraction.\",\n input: PdfCoConvertExcelToJsonInput,\n output: PdfCoConvertExcelToJsonOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,2IAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const PdfCoDocumentParserOutput = zod.z.object({
|
|
|
24
24
|
duration: zod.z.number().int().describe("Processing time in milliseconds").nullable().optional(),
|
|
25
25
|
pageCount: zod.z.number().int().describe("Number of pages processed in the document").nullable().optional(),
|
|
26
26
|
remainingCredits: zod.z.number().int().describe("Remaining API credits for the account").nullable().optional()
|
|
27
|
-
}).describe("Response model for DOCUMENT_PARSER action.");
|
|
27
|
+
}).passthrough().describe("Response model for DOCUMENT_PARSER action.");
|
|
28
28
|
const pdfCoDocumentParser = require_action.action("PDF_CO_DOCUMENT_PARSER", {
|
|
29
29
|
slug: "pdf_co-document-parser",
|
|
30
30
|
name: "Document Parser",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-parser.cjs","names":["z","action"],"sources":["../../src/actions/document-parser.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoDocumentParserInput = z.object({\n url: z.string().describe(\"Public URL of the PDF to parse. Required if not uploading a file. Must be a publicly accessible HTTP/HTTPS URL or a file previously uploaded to PDF.co storage.\").optional(),\n file: z.string().describe(\"Raw PDF file bytes to upload directly. Required if not providing a URL.\").optional(),\n name: z.string().describe(\"Custom name for the output/result file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process (e.g., '0,2-4'). If not specified, all pages are processed.\").optional(),\n inline: z.boolean().default(true).describe(\"Return parsed results inline in the response body instead of generating a file URL.\").optional(),\n password: z.string().describe(\"Password for protected PDF files.\").optional(),\n template: z.string().describe(\"Inline YAML/JSON parsing template to extract structured data. The template defines fields to extract using regex patterns, rectangles, or static values. Example format: {\\\"templateVersion\\\": 3, \\\"templatePriority\\\": 1, \\\"sourceId\\\": \\\"invoice\\\", \\\"fields\\\": {\\\"total\\\": {\\\"type\\\": \\\"regex\\\", \\\"expression\\\": \\\"TOTAL{{Spaces}}({{Number}})\\\"}}}\"),\n async_req: z.boolean().default(false).describe(\"Run parsing asynchronously and return a result URL instead of inline data.\").optional(),\n outputFormat: z.string().default(\"JSON\").describe(\"Output format for parsed data: JSON, CSV, or XML. Default is JSON.\").optional(),\n}).describe(\"Request parameters for DOCUMENT_PARSER action.\");\nexport const PdfCoDocumentParserOutput = z.object({\n url: z.string().describe(\"URL to output file (if async or outputFormat generates a file)\").nullable().optional(),\n body: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the generated output file\").nullable().optional(),\n error: z.boolean().describe(\"Indicates if the operation encountered an error\").nullable(),\n jobId: z.string().describe(\"Job ID for tracking async processing (when async=true)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n credits: z.number().int().describe(\"API credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages processed in the document\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits for the account\").nullable().optional(),\n}).describe(\"Response model for DOCUMENT_PARSER action.\");\n\nexport const pdfCoDocumentParser = action(\"PDF_CO_DOCUMENT_PARSER\", {\n slug: \"pdf_co-document-parser\",\n name: \"Document Parser\",\n description: \"Tool to parse documents based on predefined templates to extract structured data. Use when you need to extract structured fields from a PDF by supplying a custom template.\",\n input: PdfCoDocumentParserInput,\n output: PdfCoDocumentParserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACrM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wVAAwV;CACtX,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACtI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,gDAAg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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"document-parser.cjs","names":["z","action"],"sources":["../../src/actions/document-parser.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoDocumentParserInput = z.object({\n url: z.string().describe(\"Public URL of the PDF to parse. Required if not uploading a file. Must be a publicly accessible HTTP/HTTPS URL or a file previously uploaded to PDF.co storage.\").optional(),\n file: z.string().describe(\"Raw PDF file bytes to upload directly. Required if not providing a URL.\").optional(),\n name: z.string().describe(\"Custom name for the output/result file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process (e.g., '0,2-4'). If not specified, all pages are processed.\").optional(),\n inline: z.boolean().default(true).describe(\"Return parsed results inline in the response body instead of generating a file URL.\").optional(),\n password: z.string().describe(\"Password for protected PDF files.\").optional(),\n template: z.string().describe(\"Inline YAML/JSON parsing template to extract structured data. The template defines fields to extract using regex patterns, rectangles, or static values. Example format: {\\\"templateVersion\\\": 3, \\\"templatePriority\\\": 1, \\\"sourceId\\\": \\\"invoice\\\", \\\"fields\\\": {\\\"total\\\": {\\\"type\\\": \\\"regex\\\", \\\"expression\\\": \\\"TOTAL{{Spaces}}({{Number}})\\\"}}}\"),\n async_req: z.boolean().default(false).describe(\"Run parsing asynchronously and return a result URL instead of inline data.\").optional(),\n outputFormat: z.string().default(\"JSON\").describe(\"Output format for parsed data: JSON, CSV, or XML. Default is JSON.\").optional(),\n}).describe(\"Request parameters for DOCUMENT_PARSER action.\");\nexport const PdfCoDocumentParserOutput = z.object({\n url: z.string().describe(\"URL to output file (if async or outputFormat generates a file)\").nullable().optional(),\n body: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the generated output file\").nullable().optional(),\n error: z.boolean().describe(\"Indicates if the operation encountered an error\").nullable(),\n jobId: z.string().describe(\"Job ID for tracking async processing (when async=true)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n credits: z.number().int().describe(\"API credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages processed in the document\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for DOCUMENT_PARSER action.\");\n\nexport const pdfCoDocumentParser = action(\"PDF_CO_DOCUMENT_PARSER\", {\n slug: \"pdf_co-document-parser\",\n name: \"Document Parser\",\n description: \"Tool to parse documents based on predefined templates to extract structured data. Use when you need to extract structured fields from a PDF by supplying a custom template.\",\n input: PdfCoDocumentParserInput,\n output: PdfCoDocumentParserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACrM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wVAAwV;CACtX,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAA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CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ declare const PdfCoDocumentParserOutput: z.ZodObject<{
|
|
|
24
24
|
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const pdfCoDocumentParser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
template: string;
|
|
30
30
|
url?: string | undefined;
|
|
@@ -24,7 +24,7 @@ declare const PdfCoDocumentParserOutput: z.ZodObject<{
|
|
|
24
24
|
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const pdfCoDocumentParser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
template: string;
|
|
30
30
|
url?: string | undefined;
|
|
@@ -27,7 +27,7 @@ const pdfCoDocumentParser = action("PDF_CO_DOCUMENT_PARSER", {
|
|
|
27
27
|
duration: z.number().int().describe("Processing time in milliseconds").nullable().optional(),
|
|
28
28
|
pageCount: z.number().int().describe("Number of pages processed in the document").nullable().optional(),
|
|
29
29
|
remainingCredits: z.number().int().describe("Remaining API credits for the account").nullable().optional()
|
|
30
|
-
}).describe("Response model for DOCUMENT_PARSER action.")
|
|
30
|
+
}).passthrough().describe("Response model for DOCUMENT_PARSER action.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { pdfCoDocumentParser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-parser.mjs","names":[],"sources":["../../src/actions/document-parser.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoDocumentParserInput = z.object({\n url: z.string().describe(\"Public URL of the PDF to parse. Required if not uploading a file. Must be a publicly accessible HTTP/HTTPS URL or a file previously uploaded to PDF.co storage.\").optional(),\n file: z.string().describe(\"Raw PDF file bytes to upload directly. Required if not providing a URL.\").optional(),\n name: z.string().describe(\"Custom name for the output/result file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process (e.g., '0,2-4'). If not specified, all pages are processed.\").optional(),\n inline: z.boolean().default(true).describe(\"Return parsed results inline in the response body instead of generating a file URL.\").optional(),\n password: z.string().describe(\"Password for protected PDF files.\").optional(),\n template: z.string().describe(\"Inline YAML/JSON parsing template to extract structured data. The template defines fields to extract using regex patterns, rectangles, or static values. Example format: {\\\"templateVersion\\\": 3, \\\"templatePriority\\\": 1, \\\"sourceId\\\": \\\"invoice\\\", \\\"fields\\\": {\\\"total\\\": {\\\"type\\\": \\\"regex\\\", \\\"expression\\\": \\\"TOTAL{{Spaces}}({{Number}})\\\"}}}\"),\n async_req: z.boolean().default(false).describe(\"Run parsing asynchronously and return a result URL instead of inline data.\").optional(),\n outputFormat: z.string().default(\"JSON\").describe(\"Output format for parsed data: JSON, CSV, or XML. Default is JSON.\").optional(),\n}).describe(\"Request parameters for DOCUMENT_PARSER action.\");\nexport const PdfCoDocumentParserOutput = z.object({\n url: z.string().describe(\"URL to output file (if async or outputFormat generates a file)\").nullable().optional(),\n body: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the generated output file\").nullable().optional(),\n error: z.boolean().describe(\"Indicates if the operation encountered an error\").nullable(),\n jobId: z.string().describe(\"Job ID for tracking async processing (when async=true)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n credits: z.number().int().describe(\"API credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages processed in the document\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits for the account\").nullable().optional(),\n}).describe(\"Response model for DOCUMENT_PARSER action.\");\n\nexport const pdfCoDocumentParser = action(\"PDF_CO_DOCUMENT_PARSER\", {\n slug: \"pdf_co-document-parser\",\n name: \"Document Parser\",\n description: \"Tool to parse documents based on predefined templates to extract structured data. Use when you need to extract structured fields from a PDF by supplying a custom template.\",\n input: PdfCoDocumentParserInput,\n output: PdfCoDocumentParserOutput,\n});\n"],"mappings":";;AA6BA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;EACrM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mC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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"document-parser.mjs","names":[],"sources":["../../src/actions/document-parser.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoDocumentParserInput = z.object({\n url: z.string().describe(\"Public URL of the PDF to parse. Required if not uploading a file. Must be a publicly accessible HTTP/HTTPS URL or a file previously uploaded to PDF.co storage.\").optional(),\n file: z.string().describe(\"Raw PDF file bytes to upload directly. Required if not providing a URL.\").optional(),\n name: z.string().describe(\"Custom name for the output/result file.\").optional(),\n pages: z.string().describe(\"Comma-separated page indices or ranges to process (e.g., '0,2-4'). If not specified, all pages are processed.\").optional(),\n inline: z.boolean().default(true).describe(\"Return parsed results inline in the response body instead of generating a file URL.\").optional(),\n password: z.string().describe(\"Password for protected PDF files.\").optional(),\n template: z.string().describe(\"Inline YAML/JSON parsing template to extract structured data. The template defines fields to extract using regex patterns, rectangles, or static values. Example format: {\\\"templateVersion\\\": 3, \\\"templatePriority\\\": 1, \\\"sourceId\\\": \\\"invoice\\\", \\\"fields\\\": {\\\"total\\\": {\\\"type\\\": \\\"regex\\\", \\\"expression\\\": \\\"TOTAL{{Spaces}}({{Number}})\\\"}}}\"),\n async_req: z.boolean().default(false).describe(\"Run parsing asynchronously and return a result URL instead of inline data.\").optional(),\n outputFormat: z.string().default(\"JSON\").describe(\"Output format for parsed data: JSON, CSV, or XML. Default is JSON.\").optional(),\n}).describe(\"Request parameters for DOCUMENT_PARSER action.\");\nexport const PdfCoDocumentParserOutput = z.object({\n url: z.string().describe(\"URL to output file (if async or outputFormat generates a file)\").nullable().optional(),\n body: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the generated output file\").nullable().optional(),\n error: z.boolean().describe(\"Indicates if the operation encountered an error\").nullable(),\n jobId: z.string().describe(\"Job ID for tracking async processing (when async=true)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n credits: z.number().int().describe(\"API credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages processed in the document\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining API credits for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for DOCUMENT_PARSER action.\");\n\nexport const pdfCoDocumentParser = action(\"PDF_CO_DOCUMENT_PARSER\", {\n slug: \"pdf_co-document-parser\",\n name: \"Document Parser\",\n description: \"Tool to parse documents based on predefined templates to extract structured data. Use when you need to extract structured fields from a PDF by supplying a custom template.\",\n input: PdfCoDocumentParserInput,\n output: PdfCoDocumentParserOutput,\n});\n"],"mappings":";;AA6BA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;EACrM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAA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CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const PdfCoFileUploadOutput = zod.z.object({
|
|
|
17
17
|
error: zod.z.boolean().describe("Indicates if an error occurred.").nullable(),
|
|
18
18
|
status: zod.z.number().int().describe("Status code of the operation.").nullable(),
|
|
19
19
|
message: zod.z.string().describe("Error message if any.").nullable().optional()
|
|
20
|
-
}).describe("Response model for file upload action.");
|
|
20
|
+
}).passthrough().describe("Response model for file upload action.");
|
|
21
21
|
const pdfCoFileUpload = require_action.action("PDF_CO_FILE_UPLOAD", {
|
|
22
22
|
slug: "pdf_co-file-upload",
|
|
23
23
|
name: "Upload File",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.cjs","names":["z","action"],"sources":["../../src/actions/file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoFileUploadInput = z.object({\n url: z.string().describe(\"URL of the file to upload to PDF.co. The file will be downloaded from this URL and uploaded. Either 'url' or 'file' must be provided, but not both.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to PDF.co. Either 'file' or 'url' must be provided, but not both.\").optional(),\n name: z.string().describe(\"Optional custom filename to assign on PDF.co (defaults to the file's original name).\").optional(),\n run_async: z.boolean().describe(\"Whether to execute the upload asynchronously (defaults to false).\").optional(),\n}).describe(\"Request model for uploading a file to PDF.co.\");\nexport const PdfCoFileUploadOutput = z.object({\n url: z.string().describe(\"URL to the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file on PDF.co.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"Status code of the operation.\").nullable(),\n message: z.string().describe(\"Error message if any.\").nullable().optional(),\n}).describe(\"Response model for file upload action.\");\n\nexport const pdfCoFileUpload = action(\"PDF_CO_FILE_UPLOAD\", {\n slug: \"pdf_co-file-upload\",\n name: \"Upload File\",\n description: \"Tool to upload a local file or remote URL to PDF.co, returning a hosted URL for downstream processing. Use when a PDF.co tool (e.g., PDF_CO_PDF_FROM_HTML) requires a remote URL but you have a local file.\",\n input: PdfCoFileUploadInput,\n output: PdfCoFileUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACzL,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"file-upload.cjs","names":["z","action"],"sources":["../../src/actions/file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoFileUploadInput = z.object({\n url: z.string().describe(\"URL of the file to upload to PDF.co. The file will be downloaded from this URL and uploaded. Either 'url' or 'file' must be provided, but not both.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to PDF.co. Either 'file' or 'url' must be provided, but not both.\").optional(),\n name: z.string().describe(\"Optional custom filename to assign on PDF.co (defaults to the file's original name).\").optional(),\n run_async: z.boolean().describe(\"Whether to execute the upload asynchronously (defaults to false).\").optional(),\n}).describe(\"Request model for uploading a file to PDF.co.\");\nexport const PdfCoFileUploadOutput = z.object({\n url: z.string().describe(\"URL to the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file on PDF.co.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"Status code of the operation.\").nullable(),\n message: z.string().describe(\"Error message if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload action.\");\n\nexport const pdfCoFileUpload = action(\"PDF_CO_FILE_UPLOAD\", {\n slug: \"pdf_co-file-upload\",\n name: \"Upload File\",\n description: \"Tool to upload a local file or remote URL to PDF.co, returning a hosted URL for downstream processing. Use when a PDF.co tool (e.g., PDF_CO_PDF_FROM_HTML) requires a remote URL but you have a local file.\",\n input: PdfCoFileUploadInput,\n output: PdfCoFileUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACzL,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const PdfCoFileUploadOutput: z.ZodObject<{
|
|
|
17
17
|
error: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
status: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const pdfCoFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url?: string | undefined;
|
|
23
23
|
file?: {
|
|
@@ -17,7 +17,7 @@ declare const PdfCoFileUploadOutput: z.ZodObject<{
|
|
|
17
17
|
error: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
status: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const pdfCoFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url?: string | undefined;
|
|
23
23
|
file?: {
|
|
@@ -20,7 +20,7 @@ const pdfCoFileUpload = action("PDF_CO_FILE_UPLOAD", {
|
|
|
20
20
|
error: z.boolean().describe("Indicates if an error occurred.").nullable(),
|
|
21
21
|
status: z.number().int().describe("Status code of the operation.").nullable(),
|
|
22
22
|
message: z.string().describe("Error message if any.").nullable().optional()
|
|
23
|
-
}).describe("Response model for file upload action.")
|
|
23
|
+
}).passthrough().describe("Response model for file upload action.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { pdfCoFileUpload };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.mjs","names":[],"sources":["../../src/actions/file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoFileUploadInput = z.object({\n url: z.string().describe(\"URL of the file to upload to PDF.co. The file will be downloaded from this URL and uploaded. Either 'url' or 'file' must be provided, but not both.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to PDF.co. Either 'file' or 'url' must be provided, but not both.\").optional(),\n name: z.string().describe(\"Optional custom filename to assign on PDF.co (defaults to the file's original name).\").optional(),\n run_async: z.boolean().describe(\"Whether to execute the upload asynchronously (defaults to false).\").optional(),\n}).describe(\"Request model for uploading a file to PDF.co.\");\nexport const PdfCoFileUploadOutput = z.object({\n url: z.string().describe(\"URL to the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file on PDF.co.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"Status code of the operation.\").nullable(),\n message: z.string().describe(\"Error message if any.\").nullable().optional(),\n}).describe(\"Response model for file upload action.\");\n\nexport const pdfCoFileUpload = action(\"PDF_CO_FILE_UPLOAD\", {\n slug: \"pdf_co-file-upload\",\n name: \"Upload File\",\n description: \"Tool to upload a local file or remote URL to PDF.co, returning a hosted URL for downstream processing. Use when a PDF.co tool (e.g., PDF_CO_PDF_FROM_HTML) requires a remote URL but you have a local file.\",\n input: PdfCoFileUploadInput,\n output: PdfCoFileUploadOutput,\n});\n"],"mappings":";;AAsBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACzL,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAbmC,EAAE,OAAO;EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"file-upload.mjs","names":[],"sources":["../../src/actions/file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoFileUploadInput = z.object({\n url: z.string().describe(\"URL of the file to upload to PDF.co. The file will be downloaded from this URL and uploaded. Either 'url' or 'file' must be provided, but not both.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to PDF.co. Either 'file' or 'url' must be provided, but not both.\").optional(),\n name: z.string().describe(\"Optional custom filename to assign on PDF.co (defaults to the file's original name).\").optional(),\n run_async: z.boolean().describe(\"Whether to execute the upload asynchronously (defaults to false).\").optional(),\n}).describe(\"Request model for uploading a file to PDF.co.\");\nexport const PdfCoFileUploadOutput = z.object({\n url: z.string().describe(\"URL to the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file on PDF.co.\").nullable(),\n error: z.boolean().describe(\"Indicates if an error occurred.\").nullable(),\n status: z.number().int().describe(\"Status code of the operation.\").nullable(),\n message: z.string().describe(\"Error message if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload action.\");\n\nexport const pdfCoFileUpload = action(\"PDF_CO_FILE_UPLOAD\", {\n slug: \"pdf_co-file-upload\",\n name: \"Upload File\",\n description: \"Tool to upload a local file or remote URL to PDF.co, returning a hosted URL for downstream processing. Use when a PDF.co tool (e.g., PDF_CO_PDF_FROM_HTML) requires a remote URL but you have a local file.\",\n input: PdfCoFileUploadInput,\n output: PdfCoFileUploadOutput,\n});\n"],"mappings":";;AAsBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACzL,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAbmC,EAAE,OAAO;EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const PdfCoJobCheckOutput = zod.z.object({
|
|
|
24
24
|
jobDuration: zod.z.number().int().describe("Processing time in milliseconds").nullable().optional(),
|
|
25
25
|
remainingCredits: zod.z.number().int().describe("Account balance remaining").nullable().optional(),
|
|
26
26
|
outputLinkValidTill: zod.z.string().describe("Expiration timestamp for the output link").nullable().optional()
|
|
27
|
-
}).describe("Response schema for job status check.");
|
|
27
|
+
}).passthrough().describe("Response schema for job status check.");
|
|
28
28
|
const pdfCoJobCheck = require_action.action("PDF_CO_JOB_CHECK", {
|
|
29
29
|
slug: "pdf_co-job-check",
|
|
30
30
|
name: "Check Job Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-check.cjs","names":["z","action"],"sources":["../../src/actions/job-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoJobCheckInput = z.object({\n force: z.boolean().describe(\"Set true to forcibly check long-running jobs. When true, returns 'unknown' for invalid job IDs instead of 'working'.\").optional(),\n job_id: z.string().describe(\"The unique identifier of the asynchronous job to check status for\"),\n}).describe(\"Request parameters for checking the status of an asynchronous job.\");\nexport const PdfCoJobCheckOutput = z.object({\n url: z.string().describe(\"URL to the final output file when status is 'success'\").nullable().optional(),\n name: z.string().describe(\"The name of the output file\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"The job identifier\").nullable().optional(),\n status: z.enum([\"working\", \"failed\", \"success\", \"aborted\", \"unknown\"]).describe(\"Current job status: working, success, failed, aborted, or unknown\").nullable(),\n credits: z.number().int().describe(\"Credits consumed by this job\").nullable().optional(),\n message: z.string().describe(\"Operation details or error information\").nullable().optional(),\n duration: z.number().int().describe(\"Request time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Document page count\").nullable().optional(),\n jobDuration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Account balance remaining\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Expiration timestamp for the output link\").nullable().optional(),\n}).describe(\"Response schema for job status check.\");\n\nexport const pdfCoJobCheck = action(\"PDF_CO_JOB_CHECK\", {\n slug: \"pdf_co-job-check\",\n name: \"Check Job Status\",\n description: \"Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.\",\n input: PdfCoJobCheckInput,\n output: PdfCoJobCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC7J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACjG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoJobCheckInput = z.object({\n force: z.boolean().describe(\"Set true to forcibly check long-running jobs. When true, returns 'unknown' for invalid job IDs instead of 'working'.\").optional(),\n job_id: z.string().describe(\"The unique identifier of the asynchronous job to check status for\"),\n}).describe(\"Request parameters for checking the status of an asynchronous job.\");\nexport const PdfCoJobCheckOutput = z.object({\n url: z.string().describe(\"URL to the final output file when status is 'success'\").nullable().optional(),\n name: z.string().describe(\"The name of the output file\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"The job identifier\").nullable().optional(),\n status: z.enum([\"working\", \"failed\", \"success\", \"aborted\", \"unknown\"]).describe(\"Current job status: working, success, failed, aborted, or unknown\").nullable(),\n credits: z.number().int().describe(\"Credits consumed by this job\").nullable().optional(),\n message: z.string().describe(\"Operation details or error information\").nullable().optional(),\n duration: z.number().int().describe(\"Request time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Document page count\").nullable().optional(),\n jobDuration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Account balance remaining\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Expiration timestamp for the output link\").nullable().optional(),\n}).passthrough().describe(\"Response schema for job status check.\");\n\nexport const pdfCoJobCheck = action(\"PDF_CO_JOB_CHECK\", {\n slug: \"pdf_co-job-check\",\n name: \"Check Job Status\",\n description: \"Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.\",\n input: PdfCoJobCheckInput,\n output: PdfCoJobCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC7J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACjG,CAAC,CAAC,CA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F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,gBAAgBC,eAAAA,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ declare const PdfCoJobCheckOutput: z.ZodObject<{
|
|
|
24
24
|
jobDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
outputLinkValidTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const pdfCoJobCheck: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
job_id: string;
|
|
30
30
|
force?: boolean | undefined;
|
|
@@ -24,7 +24,7 @@ declare const PdfCoJobCheckOutput: z.ZodObject<{
|
|
|
24
24
|
jobDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
outputLinkValidTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const pdfCoJobCheck: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
job_id: string;
|
|
30
30
|
force?: boolean | undefined;
|
|
@@ -27,7 +27,7 @@ const pdfCoJobCheck = action("PDF_CO_JOB_CHECK", {
|
|
|
27
27
|
jobDuration: z.number().int().describe("Processing time in milliseconds").nullable().optional(),
|
|
28
28
|
remainingCredits: z.number().int().describe("Account balance remaining").nullable().optional(),
|
|
29
29
|
outputLinkValidTill: z.string().describe("Expiration timestamp for the output link").nullable().optional()
|
|
30
|
-
}).describe("Response schema for job status check.")
|
|
30
|
+
}).passthrough().describe("Response schema for job status check.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { pdfCoJobCheck };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-check.mjs","names":[],"sources":["../../src/actions/job-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoJobCheckInput = z.object({\n force: z.boolean().describe(\"Set true to forcibly check long-running jobs. When true, returns 'unknown' for invalid job IDs instead of 'working'.\").optional(),\n job_id: z.string().describe(\"The unique identifier of the asynchronous job to check status for\"),\n}).describe(\"Request parameters for checking the status of an asynchronous job.\");\nexport const PdfCoJobCheckOutput = z.object({\n url: z.string().describe(\"URL to the final output file when status is 'success'\").nullable().optional(),\n name: z.string().describe(\"The name of the output file\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"The job identifier\").nullable().optional(),\n status: z.enum([\"working\", \"failed\", \"success\", \"aborted\", \"unknown\"]).describe(\"Current job status: working, success, failed, aborted, or unknown\").nullable(),\n credits: z.number().int().describe(\"Credits consumed by this job\").nullable().optional(),\n message: z.string().describe(\"Operation details or error information\").nullable().optional(),\n duration: z.number().int().describe(\"Request time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Document page count\").nullable().optional(),\n jobDuration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Account balance remaining\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Expiration timestamp for the output link\").nullable().optional(),\n}).describe(\"Response schema for job status check.\");\n\nexport const pdfCoJobCheck = action(\"PDF_CO_JOB_CHECK\", {\n slug: \"pdf_co-job-check\",\n name: \"Check Job Status\",\n description: \"Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.\",\n input: PdfCoJobCheckInput,\n output: Pd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SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"job-check.mjs","names":[],"sources":["../../src/actions/job-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoJobCheckInput = z.object({\n force: z.boolean().describe(\"Set true to forcibly check long-running jobs. When true, returns 'unknown' for invalid job IDs instead of 'working'.\").optional(),\n job_id: z.string().describe(\"The unique identifier of the asynchronous job to check status for\"),\n}).describe(\"Request parameters for checking the status of an asynchronous job.\");\nexport const PdfCoJobCheckOutput = z.object({\n url: z.string().describe(\"URL to the final output file when status is 'success'\").nullable().optional(),\n name: z.string().describe(\"The name of the output file\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"The job identifier\").nullable().optional(),\n status: z.enum([\"working\", \"failed\", \"success\", \"aborted\", \"unknown\"]).describe(\"Current job status: working, success, failed, aborted, or unknown\").nullable(),\n credits: z.number().int().describe(\"Credits consumed by this job\").nullable().optional(),\n message: z.string().describe(\"Operation details or error information\").nullable().optional(),\n duration: z.number().int().describe(\"Request time in milliseconds\").nullable().optional(),\n pageCount: z.number().int().describe(\"Document page count\").nullable().optional(),\n jobDuration: z.number().int().describe(\"Processing time in milliseconds\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Account balance remaining\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Expiration timestamp for the output link\").nullable().optional(),\n}).passthrough().describe(\"Response schema for job status check.\");\n\nexport const pdfCoJobCheck = action(\"PDF_CO_JOB_CHECK\", {\n slug: \"pdf_co-job-check\",\n name: \"Check Job Status\",\n description: \"Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.\",\n input: PdfCoJobCheckInput,\n output: PdfCoJobCheckOutput,\n});\n"],"mappings":";;AAuBA,MAAa,gBAAgB,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBgC,EAAE,OAAO;EACzC,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC7J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,CAAC,CAAC,CAAC,SAAS,oEAoBH;CACP,QApBiC,EAAE,OAAO;EAC1C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAU;GAAW;GAAW;EAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
package/dist/actions/pdf-add.cjs
CHANGED
|
@@ -19,7 +19,7 @@ const PdfCoPdfAddOutput = zod.z.object({
|
|
|
19
19
|
message: zod.z.string().describe("Status or error message").nullable().optional(),
|
|
20
20
|
pageCount: zod.z.number().int().describe("Number of pages in the result PDF").nullable().optional(),
|
|
21
21
|
remainingCredits: zod.z.number().int().describe("Remaining credits in account").nullable().optional()
|
|
22
|
-
}).describe("Response model for PDFAdd action");
|
|
22
|
+
}).passthrough().describe("Response model for PDFAdd action");
|
|
23
23
|
const pdfCoPdfAdd = require_action.action("PDF_CO_PDF_ADD", {
|
|
24
24
|
slug: "pdf_co-pdf-add",
|
|
25
25
|
name: "Add Content to PDF",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-add.cjs","names":["z","action"],"sources":["../../src/actions/pdf-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfAddInput = z.object({\n url: z.string().describe(\"Link to the source PDF file\"),\n name: z.string().describe(\"Desired name for the result PDF file\").optional(),\n pages: z.string().describe(\"Comma-separated page indices (e.g., '0,2-4') to process; defaults to all pages\").optional(),\n objects: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects to add (text, image, barcode, link, document, etc.). See API docs for structure.\"),\n password: z.string().describe(\"Password for protected PDF, if needed\").optional(),\n run_async: z.boolean().describe(\"Run the process asynchronously; if true, returns a jobId for status checking\").optional(),\n}).describe(\"Request model for PDFAdd action.\");\nexport const PdfCoPdfAddOutput = z.object({\n url: z.string().describe(\"URL of the result PDF file\").nullable().optional(),\n name: z.string().describe(\"Name of the result PDF file\").nullable().optional(),\n error: z.boolean().default(false).describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"Job ID for async execution when async=true\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable().optional(),\n credits: z.number().int().describe(\"Credits used for the operation\").nullable().optional(),\n message: z.string().describe(\"Status or error message\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the result PDF\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining credits in account\").nullable().optional(),\n}).describe(\"Response model for PDFAdd action\");\n\nexport const pdfCoPdfAdd = action(\"PDF_CO_PDF_ADD\", {\n slug: \"pdf_co-pdf-add\",\n name: \"Add Content to PDF\",\n description: \"Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.\",\n input: PdfCoPdfAddInput,\n output: PdfCoPdfAddOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,W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esContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfAddInput = z.object({\n url: z.string().describe(\"Link to the source PDF file\"),\n name: z.string().describe(\"Desired name for the result PDF file\").optional(),\n pages: z.string().describe(\"Comma-separated page indices (e.g., '0,2-4') to process; defaults to all pages\").optional(),\n objects: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects to add (text, image, barcode, link, document, etc.). See API docs for structure.\"),\n password: z.string().describe(\"Password for protected PDF, if needed\").optional(),\n run_async: z.boolean().describe(\"Run the process asynchronously; if true, returns a jobId for status checking\").optional(),\n}).describe(\"Request model for PDFAdd action.\");\nexport const PdfCoPdfAddOutput = z.object({\n url: z.string().describe(\"URL of the result PDF file\").nullable().optional(),\n name: z.string().describe(\"Name of the result PDF file\").nullable().optional(),\n error: z.boolean().default(false).describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"Job ID for async execution when async=true\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable().optional(),\n credits: z.number().int().describe(\"Credits used for the operation\").nullable().optional(),\n message: z.string().describe(\"Status or error message\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the result PDF\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining credits in account\").nullable().optional(),\n}).passthrough().describe(\"Response model for PDFAdd action\");\n\nexport const pdfCoPdfAdd = action(\"PDF_CO_PDF_ADD\", {\n slug: \"pdf_co-pdf-add\",\n name: \"Add Content to PDF\",\n description: \"Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.\",\n input: PdfCoPdfAddInput,\n output: PdfCoPdfAddOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IA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,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,cAAcC,eAAAA,OAAO,kBAAkB;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const PdfCoPdfAddOutput: z.ZodObject<{
|
|
|
19
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pdfCoPdfAdd: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
url: string;
|
|
25
25
|
objects: Record<string, unknown>[];
|
|
@@ -19,7 +19,7 @@ declare const PdfCoPdfAddOutput: z.ZodObject<{
|
|
|
19
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const pdfCoPdfAdd: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
url: string;
|
|
25
25
|
objects: Record<string, unknown>[];
|
package/dist/actions/pdf-add.mjs
CHANGED
|
@@ -22,7 +22,7 @@ const pdfCoPdfAdd = action("PDF_CO_PDF_ADD", {
|
|
|
22
22
|
message: z.string().describe("Status or error message").nullable().optional(),
|
|
23
23
|
pageCount: z.number().int().describe("Number of pages in the result PDF").nullable().optional(),
|
|
24
24
|
remainingCredits: z.number().int().describe("Remaining credits in account").nullable().optional()
|
|
25
|
-
}).describe("Response model for PDFAdd action")
|
|
25
|
+
}).passthrough().describe("Response model for PDFAdd action")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { pdfCoPdfAdd };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-add.mjs","names":[],"sources":["../../src/actions/pdf-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfAddInput = z.object({\n url: z.string().describe(\"Link to the source PDF file\"),\n name: z.string().describe(\"Desired name for the result PDF file\").optional(),\n pages: z.string().describe(\"Comma-separated page indices (e.g., '0,2-4') to process; defaults to all pages\").optional(),\n objects: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects to add (text, image, barcode, link, document, etc.). See API docs for structure.\"),\n password: z.string().describe(\"Password for protected PDF, if needed\").optional(),\n run_async: z.boolean().describe(\"Run the process asynchronously; if true, returns a jobId for status checking\").optional(),\n}).describe(\"Request model for PDFAdd action.\");\nexport const PdfCoPdfAddOutput = z.object({\n url: z.string().describe(\"URL of the result PDF file\").nullable().optional(),\n name: z.string().describe(\"Name of the result PDF file\").nullable().optional(),\n error: z.boolean().default(false).describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"Job ID for async execution when async=true\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable().optional(),\n credits: z.number().int().describe(\"Credits used for the operation\").nullable().optional(),\n message: z.string().describe(\"Status or error message\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the result PDF\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining credits in account\").nullable().optional(),\n}).describe(\"Response model for PDFAdd action\");\n\nexport const pdfCoPdfAdd = action(\"PDF_CO_PDF_ADD\", {\n slug: \"pdf_co-pdf-add\",\n name: \"Add Content to PDF\",\n description: \"Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.\",\n input: PdfCoPdfAddInput,\n output: PdfCoPdfAddOutput,\n});\n"],"mappings":";;AAwBA,MAAa,cAAc,OAAO,kBAAkB;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB8B,EAAE,OAAO;EACvC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,kCAiBH;CACP,QAjB+B,EAAE,OAAO;EACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"pdf-add.mjs","names":[],"sources":["../../src/actions/pdf-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoPdfAddInput = z.object({\n url: z.string().describe(\"Link to the source PDF file\"),\n name: z.string().describe(\"Desired name for the result PDF file\").optional(),\n pages: z.string().describe(\"Comma-separated page indices (e.g., '0,2-4') to process; defaults to all pages\").optional(),\n objects: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects to add (text, image, barcode, link, document, etc.). See API docs for structure.\"),\n password: z.string().describe(\"Password for protected PDF, if needed\").optional(),\n run_async: z.boolean().describe(\"Run the process asynchronously; if true, returns a jobId for status checking\").optional(),\n}).describe(\"Request model for PDFAdd action.\");\nexport const PdfCoPdfAddOutput = z.object({\n url: z.string().describe(\"URL of the result PDF file\").nullable().optional(),\n name: z.string().describe(\"Name of the result PDF file\").nullable().optional(),\n error: z.boolean().default(false).describe(\"True if an error occurred\").nullable().optional(),\n jobId: z.string().describe(\"Job ID for async execution when async=true\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code returned by the API\").nullable().optional(),\n credits: z.number().int().describe(\"Credits used for the operation\").nullable().optional(),\n message: z.string().describe(\"Status or error message\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the result PDF\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Remaining credits in account\").nullable().optional(),\n}).passthrough().describe(\"Response model for PDFAdd action\");\n\nexport const pdfCoPdfAdd = action(\"PDF_CO_PDF_ADD\", {\n slug: \"pdf_co-pdf-add\",\n name: \"Add Content to PDF\",\n description: \"Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.\",\n input: PdfCoPdfAddInput,\n output: PdfCoPdfAddOutput,\n});\n"],"mappings":";;AAwBA,MAAa,cAAc,OAAO,kBAAkB;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB8B,EAAE,OAAO;EACvC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,kCAiBH;CACP,QAjB+B,EAAE,OAAO;EACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const PdfCoPdfChangeTextSearchableOutput = zod.z.object({
|
|
|
16
16
|
status: zod.z.number().int().describe("HTTP status code returned by the API.").nullable(),
|
|
17
17
|
message: zod.z.string().describe("Error or informational message from the API.").nullable().optional(),
|
|
18
18
|
remaining: zod.z.number().int().describe("Remaining API credits on the account.").nullable().optional()
|
|
19
|
-
}).describe("Response model for searchable text PDF creation.");
|
|
19
|
+
}).passthrough().describe("Response model for searchable text PDF creation.");
|
|
20
20
|
const pdfCoPdfChangeTextSearchable = require_action.action("PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE", {
|
|
21
21
|
slug: "pdf_co-pdf-change-text-searchable",
|
|
22
22
|
name: "Change PDF Text Searchable",
|
|
@@ -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}).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,SAAS,kDAAkD;
|
|
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,SAA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.ZodNullable<z.ZodString>>;
|
|
18
18
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const pdfCoPdfChangeTextSearchable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
url: string;
|
|
22
22
|
rect?: string | undefined;
|
|
@@ -16,7 +16,7 @@ declare const PdfCoPdfChangeTextSearchableOutput: z.ZodObject<{
|
|
|
16
16
|
status: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const pdfCoPdfChangeTextSearchable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
url: string;
|
|
22
22
|
rect?: string | undefined;
|
|
@@ -19,7 +19,7 @@ const pdfCoPdfChangeTextSearchable = action("PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE",
|
|
|
19
19
|
status: z.number().int().describe("HTTP status code returned by the API.").nullable(),
|
|
20
20
|
message: z.string().describe("Error or informational message from the API.").nullable().optional(),
|
|
21
21
|
remaining: z.number().int().describe("Remaining API credits on the account.").nullable().optional()
|
|
22
|
-
}).describe("Response model for searchable text PDF creation.")
|
|
22
|
+
}).passthrough().describe("Response model for searchable text PDF creation.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { pdfCoPdfChangeTextSearchable };
|
|
@@ -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}).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,SAAS,
|
|
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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