@keystrokehq/pdf_co 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/account-balance-info.cjs +1 -0
- package/dist/actions/account-balance-info.cjs.map +1 -1
- package/dist/actions/account-balance-info.d.cts +3 -13
- package/dist/actions/account-balance-info.d.cts.map +1 -1
- package/dist/actions/account-balance-info.d.mts +3 -13
- package/dist/actions/account-balance-info.d.mts.map +1 -1
- package/dist/actions/account-balance-info.mjs +1 -0
- package/dist/actions/account-balance-info.mjs.map +1 -1
- package/dist/actions/convert-excel-to-csv.cjs +1 -0
- package/dist/actions/convert-excel-to-csv.cjs.map +1 -1
- package/dist/actions/convert-excel-to-csv.d.cts +3 -20
- package/dist/actions/convert-excel-to-csv.d.cts.map +1 -1
- package/dist/actions/convert-excel-to-csv.d.mts +3 -20
- package/dist/actions/convert-excel-to-csv.d.mts.map +1 -1
- package/dist/actions/convert-excel-to-csv.mjs +1 -0
- package/dist/actions/convert-excel-to-csv.mjs.map +1 -1
- package/dist/actions/convert-excel-to-html.cjs +1 -0
- package/dist/actions/convert-excel-to-html.cjs.map +1 -1
- package/dist/actions/convert-excel-to-html.d.cts +3 -18
- package/dist/actions/convert-excel-to-html.d.cts.map +1 -1
- package/dist/actions/convert-excel-to-html.d.mts +3 -18
- package/dist/actions/convert-excel-to-html.d.mts.map +1 -1
- package/dist/actions/convert-excel-to-html.mjs +1 -0
- package/dist/actions/convert-excel-to-html.mjs.map +1 -1
- package/dist/actions/convert-excel-to-json.cjs +1 -0
- package/dist/actions/convert-excel-to-json.cjs.map +1 -1
- package/dist/actions/convert-excel-to-json.d.cts +3 -19
- package/dist/actions/convert-excel-to-json.d.cts.map +1 -1
- package/dist/actions/convert-excel-to-json.d.mts +3 -19
- package/dist/actions/convert-excel-to-json.d.mts.map +1 -1
- package/dist/actions/convert-excel-to-json.mjs +1 -0
- package/dist/actions/convert-excel-to-json.mjs.map +1 -1
- package/dist/actions/convert-excel-to-text.cjs +1 -0
- package/dist/actions/convert-excel-to-text.cjs.map +1 -1
- package/dist/actions/convert-excel-to-text.d.cts +3 -21
- package/dist/actions/convert-excel-to-text.d.cts.map +1 -1
- package/dist/actions/convert-excel-to-text.d.mts +3 -21
- package/dist/actions/convert-excel-to-text.d.mts.map +1 -1
- package/dist/actions/convert-excel-to-text.mjs +1 -0
- package/dist/actions/convert-excel-to-text.mjs.map +1 -1
- package/dist/actions/convert-excel-to-xml.cjs +1 -0
- package/dist/actions/convert-excel-to-xml.cjs.map +1 -1
- package/dist/actions/convert-excel-to-xml.d.cts +3 -30
- package/dist/actions/convert-excel-to-xml.d.cts.map +1 -1
- package/dist/actions/convert-excel-to-xml.d.mts +3 -30
- package/dist/actions/convert-excel-to-xml.d.mts.map +1 -1
- package/dist/actions/convert-excel-to-xml.mjs +1 -0
- package/dist/actions/convert-excel-to-xml.mjs.map +1 -1
- package/dist/actions/document-parser.cjs +1 -0
- package/dist/actions/document-parser.cjs.map +1 -1
- package/dist/actions/document-parser.d.cts +3 -23
- package/dist/actions/document-parser.d.cts.map +1 -1
- package/dist/actions/document-parser.d.mts +3 -23
- package/dist/actions/document-parser.d.mts.map +1 -1
- package/dist/actions/document-parser.mjs +1 -0
- package/dist/actions/document-parser.mjs.map +1 -1
- package/dist/actions/file-upload.cjs +1 -0
- package/dist/actions/file-upload.cjs.map +1 -1
- package/dist/actions/file-upload.d.cts +3 -22
- package/dist/actions/file-upload.d.cts.map +1 -1
- package/dist/actions/file-upload.d.mts +3 -22
- package/dist/actions/file-upload.d.mts.map +1 -1
- package/dist/actions/file-upload.mjs +1 -0
- package/dist/actions/file-upload.mjs.map +1 -1
- package/dist/actions/job-check.cjs +1 -0
- package/dist/actions/job-check.cjs.map +1 -1
- package/dist/actions/job-check.d.cts +3 -16
- package/dist/actions/job-check.d.cts.map +1 -1
- package/dist/actions/job-check.d.mts +3 -16
- package/dist/actions/job-check.d.mts.map +1 -1
- package/dist/actions/job-check.mjs +1 -0
- package/dist/actions/job-check.mjs.map +1 -1
- package/dist/actions/pdf-add.cjs +1 -0
- package/dist/actions/pdf-add.cjs.map +1 -1
- package/dist/actions/pdf-add.d.cts +3 -20
- package/dist/actions/pdf-add.d.cts.map +1 -1
- package/dist/actions/pdf-add.d.mts +3 -20
- package/dist/actions/pdf-add.d.mts.map +1 -1
- package/dist/actions/pdf-add.mjs +1 -0
- package/dist/actions/pdf-add.mjs.map +1 -1
- package/dist/actions/pdf-change-text-searchable.cjs +1 -0
- package/dist/actions/pdf-change-text-searchable.cjs.map +1 -1
- package/dist/actions/pdf-change-text-searchable.d.cts +3 -21
- package/dist/actions/pdf-change-text-searchable.d.cts.map +1 -1
- package/dist/actions/pdf-change-text-searchable.d.mts +3 -21
- package/dist/actions/pdf-change-text-searchable.d.mts.map +1 -1
- package/dist/actions/pdf-change-text-searchable.mjs +1 -0
- package/dist/actions/pdf-change-text-searchable.mjs.map +1 -1
- package/dist/actions/pdf-delete-pages.cjs +1 -0
- package/dist/actions/pdf-delete-pages.cjs.map +1 -1
- package/dist/actions/pdf-delete-pages.d.cts +3 -20
- package/dist/actions/pdf-delete-pages.d.cts.map +1 -1
- package/dist/actions/pdf-delete-pages.d.mts +3 -20
- package/dist/actions/pdf-delete-pages.d.mts.map +1 -1
- package/dist/actions/pdf-delete-pages.mjs +1 -0
- package/dist/actions/pdf-delete-pages.mjs.map +1 -1
- package/dist/actions/pdf-extract-attachments.cjs +1 -0
- package/dist/actions/pdf-extract-attachments.cjs.map +1 -1
- package/dist/actions/pdf-extract-attachments.d.cts +3 -22
- package/dist/actions/pdf-extract-attachments.d.cts.map +1 -1
- package/dist/actions/pdf-extract-attachments.d.mts +3 -22
- package/dist/actions/pdf-extract-attachments.d.mts.map +1 -1
- package/dist/actions/pdf-extract-attachments.mjs +1 -0
- package/dist/actions/pdf-extract-attachments.mjs.map +1 -1
- package/dist/actions/pdf-find.cjs +1 -0
- package/dist/actions/pdf-find.cjs.map +1 -1
- package/dist/actions/pdf-find.d.cts +3 -21
- package/dist/actions/pdf-find.d.cts.map +1 -1
- package/dist/actions/pdf-find.d.mts +3 -21
- package/dist/actions/pdf-find.d.mts.map +1 -1
- package/dist/actions/pdf-find.mjs +1 -0
- package/dist/actions/pdf-find.mjs.map +1 -1
- package/dist/actions/pdf-forms-info-reader.cjs +1 -0
- package/dist/actions/pdf-forms-info-reader.cjs.map +1 -1
- package/dist/actions/pdf-forms-info-reader.d.cts +3 -17
- package/dist/actions/pdf-forms-info-reader.d.cts.map +1 -1
- package/dist/actions/pdf-forms-info-reader.d.mts +3 -17
- package/dist/actions/pdf-forms-info-reader.d.mts.map +1 -1
- package/dist/actions/pdf-forms-info-reader.mjs +1 -0
- package/dist/actions/pdf-forms-info-reader.mjs.map +1 -1
- package/dist/actions/pdf-from-document-txt.cjs +1 -0
- package/dist/actions/pdf-from-document-txt.cjs.map +1 -1
- package/dist/actions/pdf-from-document-txt.d.cts +3 -18
- package/dist/actions/pdf-from-document-txt.d.cts.map +1 -1
- package/dist/actions/pdf-from-document-txt.d.mts +3 -18
- package/dist/actions/pdf-from-document-txt.d.mts.map +1 -1
- package/dist/actions/pdf-from-document-txt.mjs +1 -0
- package/dist/actions/pdf-from-document-txt.mjs.map +1 -1
- package/dist/actions/pdf-from-email.cjs +1 -0
- package/dist/actions/pdf-from-email.cjs.map +1 -1
- package/dist/actions/pdf-from-email.d.cts +3 -18
- package/dist/actions/pdf-from-email.d.cts.map +1 -1
- package/dist/actions/pdf-from-email.d.mts +3 -18
- package/dist/actions/pdf-from-email.d.mts.map +1 -1
- package/dist/actions/pdf-from-email.mjs +1 -0
- package/dist/actions/pdf-from-email.mjs.map +1 -1
- package/dist/actions/pdf-from-html.cjs +1 -0
- package/dist/actions/pdf-from-html.cjs.map +1 -1
- package/dist/actions/pdf-from-html.d.cts +3 -28
- package/dist/actions/pdf-from-html.d.cts.map +1 -1
- package/dist/actions/pdf-from-html.d.mts +3 -28
- package/dist/actions/pdf-from-html.d.mts.map +1 -1
- package/dist/actions/pdf-from-html.mjs +1 -0
- package/dist/actions/pdf-from-html.mjs.map +1 -1
- package/dist/actions/pdf-info-reader.cjs +1 -0
- package/dist/actions/pdf-info-reader.cjs.map +1 -1
- package/dist/actions/pdf-info-reader.d.cts +3 -15
- package/dist/actions/pdf-info-reader.d.cts.map +1 -1
- package/dist/actions/pdf-info-reader.d.mts +3 -15
- package/dist/actions/pdf-info-reader.d.mts.map +1 -1
- package/dist/actions/pdf-info-reader.mjs +1 -0
- package/dist/actions/pdf-info-reader.mjs.map +1 -1
- package/dist/actions/pdf-merge.cjs +1 -0
- package/dist/actions/pdf-merge.cjs.map +1 -1
- package/dist/actions/pdf-merge.d.cts +3 -18
- package/dist/actions/pdf-merge.d.cts.map +1 -1
- package/dist/actions/pdf-merge.d.mts +3 -18
- package/dist/actions/pdf-merge.d.mts.map +1 -1
- package/dist/actions/pdf-merge.mjs +1 -0
- package/dist/actions/pdf-merge.mjs.map +1 -1
- package/dist/actions/pdf-rotate.cjs +1 -0
- package/dist/actions/pdf-rotate.cjs.map +1 -1
- package/dist/actions/pdf-rotate.d.cts +3 -20
- package/dist/actions/pdf-rotate.d.cts.map +1 -1
- package/dist/actions/pdf-rotate.d.mts +3 -20
- package/dist/actions/pdf-rotate.d.mts.map +1 -1
- package/dist/actions/pdf-rotate.mjs +1 -0
- package/dist/actions/pdf-rotate.mjs.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.cjs +1 -0
- package/dist/actions/pdf-search-and-delete-text.cjs.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.d.cts +3 -22
- package/dist/actions/pdf-search-and-delete-text.d.cts.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.d.mts +3 -22
- package/dist/actions/pdf-search-and-delete-text.d.mts.map +1 -1
- package/dist/actions/pdf-search-and-delete-text.mjs +1 -0
- package/dist/actions/pdf-search-and-delete-text.mjs.map +1 -1
- package/dist/actions/pdf-search-and-replace-text.cjs +1 -0
- package/dist/actions/pdf-search-and-replace-text.cjs.map +1 -1
- package/dist/actions/pdf-search-and-replace-text.d.cts +3 -21
- package/dist/actions/pdf-search-and-replace-text.d.cts.map +1 -1
- package/dist/actions/pdf-search-and-replace-text.d.mts +3 -21
- package/dist/actions/pdf-search-and-replace-text.d.mts.map +1 -1
- package/dist/actions/pdf-search-and-replace-text.mjs +1 -0
- package/dist/actions/pdf-search-and-replace-text.mjs.map +1 -1
- package/dist/actions/pdf-split.cjs +1 -0
- package/dist/actions/pdf-split.cjs.map +1 -1
- package/dist/actions/pdf-split.d.cts +3 -34
- package/dist/actions/pdf-split.d.cts.map +1 -1
- package/dist/actions/pdf-split.d.mts +3 -34
- package/dist/actions/pdf-split.d.mts.map +1 -1
- package/dist/actions/pdf-split.mjs +1 -0
- package/dist/actions/pdf-split.mjs.map +1 -1
- package/dist/actions/pdf-to-csv.cjs +1 -0
- package/dist/actions/pdf-to-csv.cjs.map +1 -1
- package/dist/actions/pdf-to-csv.d.cts +3 -23
- package/dist/actions/pdf-to-csv.d.cts.map +1 -1
- package/dist/actions/pdf-to-csv.d.mts +3 -23
- package/dist/actions/pdf-to-csv.d.mts.map +1 -1
- package/dist/actions/pdf-to-csv.mjs +1 -0
- package/dist/actions/pdf-to-csv.mjs.map +1 -1
- package/dist/actions/pdf-to-html.cjs +1 -0
- package/dist/actions/pdf-to-html.cjs.map +1 -1
- package/dist/actions/pdf-to-html.d.cts +3 -23
- package/dist/actions/pdf-to-html.d.cts.map +1 -1
- package/dist/actions/pdf-to-html.d.mts +3 -23
- package/dist/actions/pdf-to-html.d.mts.map +1 -1
- package/dist/actions/pdf-to-html.mjs +1 -0
- package/dist/actions/pdf-to-html.mjs.map +1 -1
- package/dist/actions/pdf-to-image.cjs +1 -0
- package/dist/actions/pdf-to-image.cjs.map +1 -1
- package/dist/actions/pdf-to-image.d.cts +3 -21
- package/dist/actions/pdf-to-image.d.cts.map +1 -1
- package/dist/actions/pdf-to-image.d.mts +3 -21
- package/dist/actions/pdf-to-image.d.mts.map +1 -1
- package/dist/actions/pdf-to-image.mjs +1 -0
- package/dist/actions/pdf-to-image.mjs.map +1 -1
- package/dist/actions/pdf-to-json.cjs +1 -0
- package/dist/actions/pdf-to-json.cjs.map +1 -1
- package/dist/actions/pdf-to-json.d.cts +3 -23
- package/dist/actions/pdf-to-json.d.cts.map +1 -1
- package/dist/actions/pdf-to-json.d.mts +3 -23
- package/dist/actions/pdf-to-json.d.mts.map +1 -1
- package/dist/actions/pdf-to-json.mjs +1 -0
- package/dist/actions/pdf-to-json.mjs.map +1 -1
- package/dist/actions/pdf-to-text.cjs +1 -0
- package/dist/actions/pdf-to-text.cjs.map +1 -1
- package/dist/actions/pdf-to-text.d.cts +3 -28
- package/dist/actions/pdf-to-text.d.cts.map +1 -1
- package/dist/actions/pdf-to-text.d.mts +3 -28
- package/dist/actions/pdf-to-text.d.mts.map +1 -1
- package/dist/actions/pdf-to-text.mjs +1 -0
- package/dist/actions/pdf-to-text.mjs.map +1 -1
- package/dist/actions/pdf-to-xls.cjs +1 -0
- package/dist/actions/pdf-to-xls.cjs.map +1 -1
- package/dist/actions/pdf-to-xls.d.cts +3 -20
- package/dist/actions/pdf-to-xls.d.cts.map +1 -1
- package/dist/actions/pdf-to-xls.d.mts +3 -20
- package/dist/actions/pdf-to-xls.d.mts.map +1 -1
- package/dist/actions/pdf-to-xls.mjs +1 -0
- package/dist/actions/pdf-to-xls.mjs.map +1 -1
- package/dist/actions/pdf-to-xlsx.cjs +1 -0
- package/dist/actions/pdf-to-xlsx.cjs.map +1 -1
- package/dist/actions/pdf-to-xlsx.d.cts +3 -25
- package/dist/actions/pdf-to-xlsx.d.cts.map +1 -1
- package/dist/actions/pdf-to-xlsx.d.mts +3 -25
- package/dist/actions/pdf-to-xlsx.d.mts.map +1 -1
- package/dist/actions/pdf-to-xlsx.mjs +1 -0
- package/dist/actions/pdf-to-xlsx.mjs.map +1 -1
- package/dist/actions/pdf-to-xml.cjs +1 -0
- package/dist/actions/pdf-to-xml.cjs.map +1 -1
- package/dist/actions/pdf-to-xml.d.cts +3 -19
- package/dist/actions/pdf-to-xml.d.cts.map +1 -1
- package/dist/actions/pdf-to-xml.d.mts +3 -19
- package/dist/actions/pdf-to-xml.d.mts.map +1 -1
- package/dist/actions/pdf-to-xml.mjs +1 -0
- package/dist/actions/pdf-to-xml.mjs.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.cjs +1 -0
- package/dist/actions/pdfco-post-barcode-generate.cjs.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.d.cts +3 -27
- package/dist/actions/pdfco-post-barcode-generate.d.cts.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.d.mts +3 -27
- package/dist/actions/pdfco-post-barcode-generate.d.mts.map +1 -1
- package/dist/actions/pdfco-post-barcode-generate.mjs +1 -0
- package/dist/actions/pdfco-post-barcode-generate.mjs.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.cjs +1 -0
- package/dist/actions/pdfco-post-file-upload-base64.cjs.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.d.cts +3 -17
- package/dist/actions/pdfco-post-file-upload-base64.d.cts.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.d.mts +3 -17
- package/dist/actions/pdfco-post-file-upload-base64.d.mts.map +1 -1
- package/dist/actions/pdfco-post-file-upload-base64.mjs +1 -0
- package/dist/actions/pdfco-post-file-upload-base64.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["pdfCo","executePdfCoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pdfCo } from \"./app\";\nimport { executePdfCoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["pdfCo","executePdfCoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pdfCo } from \"./app\";\nimport { executePdfCoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pdfCo.credential> {\n return pdfCo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePdfCoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pdfCo } from \"./app\";\nimport { executePdfCoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pdfCo } from \"./app\";\nimport { executePdfCoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pdfCo.credential> {\n return pdfCo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePdfCoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-balance-info.cjs","names":["z","action"],"sources":["../../src/actions/account-balance-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoAccountBalanceInfoInput = z.object({}).describe(\"No request parameters required for this request.\");\nexport const PdfCoAccountBalanceInfoOutput = z.object({\n error: z.union([z.string(), z.boolean()]).nullable().optional(),\n status: z.string().describe(\"Status of the request, e.g., 'success'\").nullable(),\n balance: z.number().describe(\"The current credit balance (only present on success)\").nullable().optional(),\n message: z.string().describe(\"Message from the API\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if any\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"The number of remaining credits (only present on success)\").nullable().optional(),\n}).passthrough().describe(\"Response model for account balance info.\");\n\nexport const pdfCoAccountBalanceInfo = action(\"PDF_CO_ACCOUNT_BALANCE_INFO\", {\n slug: \"pdf_co-account-balance-info\",\n name: \"Get Account Balance Info\",\n description: \"Tool to get account balance info. Use after authenticating to check remaining credits.\",\n input: PdfCoAccountBalanceInfoInput,\n output: PdfCoAccountBalanceInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"account-balance-info.cjs","names":["z","action"],"sources":["../../src/actions/account-balance-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoAccountBalanceInfoInput = z.object({}).describe(\"No request parameters required for this request.\");\nexport const PdfCoAccountBalanceInfoOutput = z.object({\n error: z.union([z.string(), z.boolean()]).nullable().optional(),\n status: z.string().describe(\"Status of the request, e.g., 'success'\").nullable(),\n balance: z.number().describe(\"The current credit balance (only present on success)\").nullable().optional(),\n message: z.string().describe(\"Message from the API\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if any\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"The number of remaining credits (only present on success)\").nullable().optional(),\n}).passthrough().describe(\"Response model for account balance info.\");\n\nexport const pdfCoAccountBalanceInfo: AppAction<\n typeof PdfCoAccountBalanceInfoInput,\n typeof PdfCoAccountBalanceInfoOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_ACCOUNT_BALANCE_INFO\", {\n slug: \"pdf_co-account-balance-info\",\n name: \"Get Account Balance Info\",\n description: \"Tool to get account balance info. Use after authenticating to check remaining credits.\",\n input: PdfCoAccountBalanceInfoInput,\n output: PdfCoAccountBalanceInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACpH,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/account-balance-info.d.ts
|
|
@@ -10,19 +12,7 @@ declare const PdfCoAccountBalanceInfoOutput: z.ZodObject<{
|
|
|
10
12
|
errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pdfCoAccountBalanceInfo:
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pdfCoAccountBalanceInfo: AppAction<typeof PdfCoAccountBalanceInfoInput, typeof PdfCoAccountBalanceInfoOutput, typeof pdfCo.credential>;
|
|
26
16
|
//#endregion
|
|
27
17
|
export { pdfCoAccountBalanceInfo };
|
|
28
18
|
//# sourceMappingURL=account-balance-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-balance-info.d.cts","names":[],"sources":["../../src/actions/account-balance-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"account-balance-info.d.cts","names":[],"sources":["../../src/actions/account-balance-info.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/account-balance-info.d.ts
|
|
@@ -10,19 +12,7 @@ declare const PdfCoAccountBalanceInfoOutput: z.ZodObject<{
|
|
|
10
12
|
errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pdfCoAccountBalanceInfo:
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pdfCoAccountBalanceInfo: AppAction<typeof PdfCoAccountBalanceInfoInput, typeof PdfCoAccountBalanceInfoOutput, typeof pdfCo.credential>;
|
|
26
16
|
//#endregion
|
|
27
17
|
export { pdfCoAccountBalanceInfo };
|
|
28
18
|
//# sourceMappingURL=account-balance-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-balance-info.d.mts","names":[],"sources":["../../src/actions/account-balance-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"account-balance-info.d.mts","names":[],"sources":["../../src/actions/account-balance-info.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-balance-info.mjs","names":[],"sources":["../../src/actions/account-balance-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoAccountBalanceInfoInput = z.object({}).describe(\"No request parameters required for this request.\");\nexport const PdfCoAccountBalanceInfoOutput = z.object({\n error: z.union([z.string(), z.boolean()]).nullable().optional(),\n status: z.string().describe(\"Status of the request, e.g., 'success'\").nullable(),\n balance: z.number().describe(\"The current credit balance (only present on success)\").nullable().optional(),\n message: z.string().describe(\"Message from the API\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if any\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"The number of remaining credits (only present on success)\").nullable().optional(),\n}).passthrough().describe(\"Response model for account balance info.\");\n\nexport const pdfCoAccountBalanceInfo = action(\"PDF_CO_ACCOUNT_BALANCE_INFO\", {\n slug: \"pdf_co-account-balance-info\",\n name: \"Get Account Balance Info\",\n description: \"Tool to get account balance info. Use after authenticating to check remaining credits.\",\n input: PdfCoAccountBalanceInfoInput,\n output: PdfCoAccountBalanceInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"account-balance-info.mjs","names":[],"sources":["../../src/actions/account-balance-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoAccountBalanceInfoInput = z.object({}).describe(\"No request parameters required for this request.\");\nexport const PdfCoAccountBalanceInfoOutput = z.object({\n error: z.union([z.string(), z.boolean()]).nullable().optional(),\n status: z.string().describe(\"Status of the request, e.g., 'success'\").nullable(),\n balance: z.number().describe(\"The current credit balance (only present on success)\").nullable().optional(),\n message: z.string().describe(\"Message from the API\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if any\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"The number of remaining credits (only present on success)\").nullable().optional(),\n}).passthrough().describe(\"Response model for account balance info.\");\n\nexport const pdfCoAccountBalanceInfo: AppAction<\n typeof PdfCoAccountBalanceInfoInput,\n typeof PdfCoAccountBalanceInfoOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_ACCOUNT_BALANCE_INFO\", {\n slug: \"pdf_co-account-balance-info\",\n name: \"Get Account Balance Info\",\n description: \"Tool to get account balance info. Use after authenticating to check remaining credits.\",\n input: PdfCoAccountBalanceInfoInput,\n output: PdfCoAccountBalanceInfoOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAkBzD;CACP,QAlB2C,EAAE,OAAO;EACpD,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-csv.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToCsvInput = z.object({\n url: z.string().describe(\"Link to source XLS or XLSX file to be converted to CSV\"),\n name: z.string().describe(\"Desired name for the output CSV file\").optional(),\n pages: z.string().describe(\"Pages to convert (e.g., '0-2,4'), default is all pages\").optional(),\n inline: z.boolean().describe(\"If true, returns CSV data inline; otherwise returns URL to CSV\").optional(),\n password: z.string().describe(\"Password for a protected Excel file, if applicable\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format, see PDF.co docs for structure\").optional(),\n}).describe(\"Request model for ConvertExcelToCsv action\");\nexport const PdfCoConvertExcelToCsvOutput = z.object({\n url: z.string().describe(\"Link to the generated CSV file or inline data\").nullable().optional(),\n name: z.string().describe(\"Output file name\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Time taken for the operation in milliseconds\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the output link expires\").nullable().optional(),\n}).passthrough().describe(\"Response model for ConvertExcelToCsv action\");\n\nexport const pdfCoConvertExcelToCsv = action(\"PDF_CO_CONVERT_EXCEL_TO_CSV\", {\n slug: \"pdf_co-convert-excel-to-csv\",\n name: \"Convert Excel to CSV\",\n description: \"Tool to convert an Excel file (XLS/XLSX) to CSV. Use when you have a public Excel file URL and need CSV output. Inline option returns data inline; otherwise provides download URL.\",\n input: PdfCoConvertExcelToCsvInput,\n output: PdfCoConvertExcelToCsvOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-csv.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-csv.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoConvertExcelToCsvInput = z.object({\n url: z.string().describe(\"Link to source XLS or XLSX file to be converted to CSV\"),\n name: z.string().describe(\"Desired name for the output CSV file\").optional(),\n pages: z.string().describe(\"Pages to convert (e.g., '0-2,4'), default is all pages\").optional(),\n inline: z.boolean().describe(\"If true, returns CSV data inline; otherwise returns URL to CSV\").optional(),\n password: z.string().describe(\"Password for a protected Excel file, if applicable\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format, see PDF.co docs for structure\").optional(),\n}).describe(\"Request model for ConvertExcelToCsv action\");\nexport const PdfCoConvertExcelToCsvOutput = z.object({\n url: z.string().describe(\"Link to the generated CSV file or inline data\").nullable().optional(),\n name: z.string().describe(\"Output file name\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Time taken for the operation in milliseconds\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the output link expires\").nullable().optional(),\n}).passthrough().describe(\"Response model for ConvertExcelToCsv action\");\n\nexport const pdfCoConvertExcelToCsv: AppAction<\n typeof PdfCoConvertExcelToCsvInput,\n typeof PdfCoConvertExcelToCsvOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_CONVERT_EXCEL_TO_CSV\", {\n slug: \"pdf_co-convert-excel-to-csv\",\n name: \"Convert Excel to CSV\",\n description: \"Tool to convert an Excel file (XLS/XLSX) to CSV. Use when you have a public Excel file URL and need CSV output. Inline option returns data inline; otherwise provides download URL.\",\n input: PdfCoConvertExcelToCsvInput,\n output: PdfCoConvertExcelToCsvOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yBAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-csv.d.ts
|
|
@@ -21,26 +23,7 @@ declare const PdfCoConvertExcelToCsvOutput: z.ZodObject<{
|
|
|
21
23
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
outputLinkValidTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const pdfCoConvertExcelToCsv:
|
|
25
|
-
url: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
pages?: string | undefined;
|
|
28
|
-
inline?: boolean | undefined;
|
|
29
|
-
password?: string | undefined;
|
|
30
|
-
profiles?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const pdfCoConvertExcelToCsv: AppAction<typeof PdfCoConvertExcelToCsvInput, typeof PdfCoConvertExcelToCsvOutput, typeof pdfCo.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { pdfCoConvertExcelToCsv };
|
|
46
29
|
//# sourceMappingURL=convert-excel-to-csv.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-csv.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-csv.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-csv.d.ts
|
|
@@ -21,26 +23,7 @@ declare const PdfCoConvertExcelToCsvOutput: z.ZodObject<{
|
|
|
21
23
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
outputLinkValidTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const pdfCoConvertExcelToCsv:
|
|
25
|
-
url: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
pages?: string | undefined;
|
|
28
|
-
inline?: boolean | undefined;
|
|
29
|
-
password?: string | undefined;
|
|
30
|
-
profiles?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const pdfCoConvertExcelToCsv: AppAction<typeof PdfCoConvertExcelToCsvInput, typeof PdfCoConvertExcelToCsvOutput, typeof pdfCo.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { pdfCoConvertExcelToCsv };
|
|
46
29
|
//# sourceMappingURL=convert-excel-to-csv.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-csv.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-csv.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-csv.mjs","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToCsvInput = z.object({\n url: z.string().describe(\"Link to source XLS or XLSX file to be converted to CSV\"),\n name: z.string().describe(\"Desired name for the output CSV file\").optional(),\n pages: z.string().describe(\"Pages to convert (e.g., '0-2,4'), default is all pages\").optional(),\n inline: z.boolean().describe(\"If true, returns CSV data inline; otherwise returns URL to CSV\").optional(),\n password: z.string().describe(\"Password for a protected Excel file, if applicable\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format, see PDF.co docs for structure\").optional(),\n}).describe(\"Request model for ConvertExcelToCsv action\");\nexport const PdfCoConvertExcelToCsvOutput = z.object({\n url: z.string().describe(\"Link to the generated CSV file or inline data\").nullable().optional(),\n name: z.string().describe(\"Output file name\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Time taken for the operation in milliseconds\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the output link expires\").nullable().optional(),\n}).passthrough().describe(\"Response model for ConvertExcelToCsv action\");\n\nexport const pdfCoConvertExcelToCsv = action(\"PDF_CO_CONVERT_EXCEL_TO_CSV\", {\n slug: \"pdf_co-convert-excel-to-csv\",\n name: \"Convert Excel to CSV\",\n description: \"Tool to convert an Excel file (XLS/XLSX) to CSV. Use when you have a public Excel file URL and need CSV output. Inline option returns data inline; otherwise provides download URL.\",\n input: PdfCoConvertExcelToCsvInput,\n output: PdfCoConvertExcelToCsvOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-csv.mjs","names":[],"sources":["../../src/actions/convert-excel-to-csv.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoConvertExcelToCsvInput = z.object({\n url: z.string().describe(\"Link to source XLS or XLSX file to be converted to CSV\"),\n name: z.string().describe(\"Desired name for the output CSV file\").optional(),\n pages: z.string().describe(\"Pages to convert (e.g., '0-2,4'), default is all pages\").optional(),\n inline: z.boolean().describe(\"If true, returns CSV data inline; otherwise returns URL to CSV\").optional(),\n password: z.string().describe(\"Password for a protected Excel file, if applicable\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format, see PDF.co docs for structure\").optional(),\n}).describe(\"Request model for ConvertExcelToCsv action\");\nexport const PdfCoConvertExcelToCsvOutput = z.object({\n url: z.string().describe(\"Link to the generated CSV file or inline data\").nullable().optional(),\n name: z.string().describe(\"Output file name\").nullable().optional(),\n error: z.boolean().describe(\"True if an error occurred during conversion\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n credits: z.number().int().describe(\"Credits consumed by this operation\").nullable().optional(),\n message: z.string().describe(\"Error or status message\").nullable().optional(),\n duration: z.number().int().describe(\"Time taken for the operation in milliseconds\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred\").nullable().optional(),\n remainingCredits: z.number().int().describe(\"Number of remaining credits after the call\").nullable().optional(),\n outputLinkValidTill: z.string().describe(\"Timestamp indicating when the output link expires\").nullable().optional(),\n}).passthrough().describe(\"Response model for ConvertExcelToCsv action\");\n\nexport const pdfCoConvertExcelToCsv: AppAction<\n typeof PdfCoConvertExcelToCsvInput,\n typeof PdfCoConvertExcelToCsvOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_CONVERT_EXCEL_TO_CSV\", {\n slug: \"pdf_co-convert-excel-to-csv\",\n name: \"Convert Excel to CSV\",\n description: \"Tool to convert an Excel file (XLS/XLSX) to CSV. Use when you have a public Excel file URL and need CSV output. Inline option returns data inline; otherwise provides download URL.\",\n input: PdfCoConvertExcelToCsvInput,\n output: PdfCoConvertExcelToCsvOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,yBAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7ByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,4CAsBH;CACP,QAtB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const 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: AppAction<\n typeof PdfCoConvertExcelToHtmlInput,\n typeof PdfCoConvertExcelToHtmlOutput,\n typeof pdfCo.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-html.d.ts
|
|
@@ -16,24 +18,7 @@ declare const PdfCoConvertExcelToHtmlOutput: z.ZodObject<{
|
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pdfCoConvertExcelToHtml:
|
|
20
|
-
url: string;
|
|
21
|
-
name?: string | undefined;
|
|
22
|
-
async?: boolean | undefined;
|
|
23
|
-
profiles?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pdfCoConvertExcelToHtml: AppAction<typeof PdfCoConvertExcelToHtmlInput, typeof PdfCoConvertExcelToHtmlOutput, typeof pdfCo.credential>;
|
|
37
22
|
//#endregion
|
|
38
23
|
export { pdfCoConvertExcelToHtml };
|
|
39
24
|
//# sourceMappingURL=convert-excel-to-html.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-html.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-html.d.ts
|
|
@@ -16,24 +18,7 @@ declare const PdfCoConvertExcelToHtmlOutput: z.ZodObject<{
|
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
remainingCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pdfCoConvertExcelToHtml:
|
|
20
|
-
url: string;
|
|
21
|
-
name?: string | undefined;
|
|
22
|
-
async?: boolean | undefined;
|
|
23
|
-
profiles?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pdfCoConvertExcelToHtml: AppAction<typeof PdfCoConvertExcelToHtmlInput, typeof PdfCoConvertExcelToHtmlOutput, typeof pdfCo.credential>;
|
|
37
22
|
//#endregion
|
|
38
23
|
export { pdfCoConvertExcelToHtml };
|
|
39
24
|
//# sourceMappingURL=convert-excel-to-html.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-html.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-html.mjs","names":[],"sources":["../../src/actions/convert-excel-to-html.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const 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: AppAction<\n typeof PdfCoConvertExcelToHtmlInput,\n typeof PdfCoConvertExcelToHtmlOutput,\n typeof pdfCo.credential\n> = 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":";;;AAsBA,MAAa,0BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB0C,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,sDAmBH;CACP,QAnB2C,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,iDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const 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: AppAction<\n typeof PdfCoConvertExcelToJsonInput,\n typeof PdfCoConvertExcelToJsonOutput,\n typeof pdfCo.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-json.d.ts
|
|
@@ -14,25 +16,7 @@ declare const PdfCoConvertExcelToJsonOutput: z.ZodObject<{
|
|
|
14
16
|
status: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
message: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pdfCoConvertExcelToJson:
|
|
18
|
-
url: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
pages?: string | undefined;
|
|
21
|
-
password?: string | undefined;
|
|
22
|
-
profiles?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pdfCoConvertExcelToJson: AppAction<typeof PdfCoConvertExcelToJsonInput, typeof PdfCoConvertExcelToJsonOutput, typeof pdfCo.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { pdfCoConvertExcelToJson };
|
|
38
22
|
//# sourceMappingURL=convert-excel-to-json.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-json.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-json.d.ts
|
|
@@ -14,25 +16,7 @@ declare const PdfCoConvertExcelToJsonOutput: z.ZodObject<{
|
|
|
14
16
|
status: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
message: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pdfCoConvertExcelToJson:
|
|
18
|
-
url: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
pages?: string | undefined;
|
|
21
|
-
password?: string | undefined;
|
|
22
|
-
profiles?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pdfCoConvertExcelToJson: AppAction<typeof PdfCoConvertExcelToJsonInput, typeof PdfCoConvertExcelToJsonOutput, typeof pdfCo.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { pdfCoConvertExcelToJson };
|
|
38
22
|
//# sourceMappingURL=convert-excel-to-json.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-json.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.d.mts","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-json.mjs","names":[],"sources":["../../src/actions/convert-excel-to-json.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const 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: AppAction<\n typeof PdfCoConvertExcelToJsonInput,\n typeof PdfCoConvertExcelToJsonOutput,\n typeof pdfCo.credential\n> = 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":";;;AAoBA,MAAa,0BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,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,2IAgBH;CACP,QAhB2C,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,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-text.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-text.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfCoConvertExcelToTextInput = z.object({\n url: z.string().describe(\"Link to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Optional name for the output file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of sheet indices to convert, e.g., '0,2'.\").optional(),\n inline: z.boolean().default(false).describe(\"Set to true to return data inline in response instead of URL.\").optional(),\n encrypt: z.boolean().default(false).describe(\"Set to true to encrypt the resulting file.\").optional(),\n password: z.string().describe(\"Password for password-protected Excel files.\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format.\").optional(),\n});\nexport const PdfCoConvertExcelToTextOutput = z.object({\n url: z.string().describe(\"Link to the generated text file.\").nullable().optional(),\n body: z.string().describe(\"Inline content when inline=true parameter is used.\").nullable().optional(),\n name: z.string().describe(\"Name of the generated output file.\").nullable().optional(),\n error: z.boolean().describe(\"Error flag; true if an error occurred.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or result message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pdfCoConvertExcelToText = action(\"PDF_CO_CONVERT_EXCEL_TO_TEXT\", {\n slug: \"pdf_co-convert-excel-to-text\",\n name: \"Convert Excel to Text\",\n description: \"Tool to convert Excel files to plain text. Use after providing an Excel file URL to extract spreadsheet content.\",\n input: PdfCoConvertExcelToTextInput,\n output: PdfCoConvertExcelToTextOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-text.cjs","names":["z","action"],"sources":["../../src/actions/convert-excel-to-text.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfCo } from \"../app\";\n\nexport const PdfCoConvertExcelToTextInput = z.object({\n url: z.string().describe(\"Link to the source Excel file (xls, xlsx, or csv).\"),\n name: z.string().describe(\"Optional name for the output file.\").optional(),\n pages: z.string().describe(\"Comma-separated list of sheet indices to convert, e.g., '0,2'.\").optional(),\n inline: z.boolean().default(false).describe(\"Set to true to return data inline in response instead of URL.\").optional(),\n encrypt: z.boolean().default(false).describe(\"Set to true to encrypt the resulting file.\").optional(),\n password: z.string().describe(\"Password for password-protected Excel files.\").optional(),\n profiles: z.string().describe(\"Conversion profiles in JSON format.\").optional(),\n});\nexport const PdfCoConvertExcelToTextOutput = z.object({\n url: z.string().describe(\"Link to the generated text file.\").nullable().optional(),\n body: z.string().describe(\"Inline content when inline=true parameter is used.\").nullable().optional(),\n name: z.string().describe(\"Name of the generated output file.\").nullable().optional(),\n error: z.boolean().describe(\"Error flag; true if an error occurred.\").nullable(),\n status: z.union([z.number().int(), z.string()]).nullable().optional(),\n message: z.string().describe(\"Error or result message.\").nullable().optional(),\n errorCode: z.number().int().describe(\"Error code if an error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pdfCoConvertExcelToText: AppAction<\n typeof PdfCoConvertExcelToTextInput,\n typeof PdfCoConvertExcelToTextOutput,\n typeof pdfCo.credential\n> = action(\"PDF_CO_CONVERT_EXCEL_TO_TEXT\", {\n slug: \"pdf_co-convert-excel-to-text\",\n name: \"Convert Excel to Text\",\n description: \"Tool to convert Excel files to plain text. Use after providing an Excel file URL to extract spreadsheet content.\",\n input: PdfCoConvertExcelToTextInput,\n output: PdfCoConvertExcelToTextOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfCo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-excel-to-text.d.ts
|
|
@@ -19,27 +21,7 @@ declare const PdfCoConvertExcelToTextOutput: z.ZodObject<{
|
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const pdfCoConvertExcelToText:
|
|
23
|
-
url: string;
|
|
24
|
-
name?: string | undefined;
|
|
25
|
-
pages?: string | undefined;
|
|
26
|
-
inline?: boolean | undefined;
|
|
27
|
-
encrypt?: boolean | undefined;
|
|
28
|
-
password?: string | undefined;
|
|
29
|
-
profiles?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdf_co", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const pdfCoConvertExcelToText: AppAction<typeof PdfCoConvertExcelToTextInput, typeof PdfCoConvertExcelToTextOutput, typeof pdfCo.credential>;
|
|
43
25
|
//#endregion
|
|
44
26
|
export { pdfCoConvertExcelToText };
|
|
45
27
|
//# sourceMappingURL=convert-excel-to-text.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-excel-to-text.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-text.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-excel-to-text.d.cts","names":[],"sources":["../../src/actions/convert-excel-to-text.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|