@keystrokehq/pdfless 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-workspace.cjs +23 -0
  7. package/dist/actions/get-workspace.cjs.map +1 -0
  8. package/dist/actions/get-workspace.d.cts +9 -0
  9. package/dist/actions/get-workspace.d.cts.map +1 -0
  10. package/dist/actions/get-workspace.d.mts +9 -0
  11. package/dist/actions/get-workspace.d.mts.map +1 -0
  12. package/dist/actions/get-workspace.mjs +20 -0
  13. package/dist/actions/get-workspace.mjs.map +1 -0
  14. package/dist/actions/index.cjs +5 -0
  15. package/dist/actions/index.d.cts +3 -0
  16. package/dist/actions/index.d.mts +3 -0
  17. package/dist/actions/index.mjs +3 -0
  18. package/dist/actions/list-document-templates.cjs +34 -0
  19. package/dist/actions/list-document-templates.cjs.map +1 -0
  20. package/dist/actions/list-document-templates.d.cts +9 -0
  21. package/dist/actions/list-document-templates.d.cts.map +1 -0
  22. package/dist/actions/list-document-templates.d.mts +9 -0
  23. package/dist/actions/list-document-templates.d.mts.map +1 -0
  24. package/dist/actions/list-document-templates.mjs +33 -0
  25. package/dist/actions/list-document-templates.mjs.map +1 -0
  26. package/dist/app.cjs +9 -0
  27. package/dist/app.cjs.map +1 -0
  28. package/dist/app.d.cts +5 -0
  29. package/dist/app.d.cts.map +1 -0
  30. package/dist/app.d.mts +5 -0
  31. package/dist/app.d.mts.map +1 -0
  32. package/dist/app.mjs +10 -0
  33. package/dist/app.mjs.map +1 -0
  34. package/dist/catalog.cjs +15 -0
  35. package/dist/catalog.cjs.map +1 -0
  36. package/dist/catalog.d.cts +14 -0
  37. package/dist/catalog.d.cts.map +1 -0
  38. package/dist/catalog.d.mts +14 -0
  39. package/dist/catalog.d.mts.map +1 -0
  40. package/dist/catalog.mjs +15 -0
  41. package/dist/catalog.mjs.map +1 -0
  42. package/dist/execute.cjs +18 -0
  43. package/dist/execute.cjs.map +1 -0
  44. package/dist/execute.mjs +18 -0
  45. package/dist/execute.mjs.map +1 -0
  46. package/dist/index.cjs +10 -0
  47. package/dist/index.d.cts +5 -0
  48. package/dist/index.d.mts +5 -0
  49. package/dist/index.mjs +6 -0
  50. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/pdfless
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `pdfless`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 2
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { pdflessGetWorkspace } from "@keystrokehq/pdfless/actions";
12
+
13
+ export default defineAgent({
14
+ key: "pdfless-agent",
15
+ tools: [pdflessGetWorkspace],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.pdfless.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executePdflessTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["pdfless","executePdflessTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pdfless } from \"./app\";\nimport { executePdflessTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pdfless.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 executePdflessTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { pdfless } from "./app.mjs";
2
+ import { executePdflessTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return pdfless.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executePdflessTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pdfless } from \"./app\";\nimport { executePdflessTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pdfless.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 executePdflessTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-workspace.ts
4
+ const PdflessGetWorkspaceInput = zod.z.object({}).describe("Request model for getting workspace details.");
5
+ const PdflessGetWorkspaceOutput = zod.z.object({
6
+ name: zod.z.string().describe("Name of the workspace. Can be null if no name has been set.").nullable().optional(),
7
+ quota: zod.z.number().int().describe("Total quota available for the workspace. Represents the maximum number of API operations allowed.").nullable().optional(),
8
+ active: zod.z.boolean().describe("Active status of the workspace. Indicates if the workspace is currently active."),
9
+ created: zod.z.string().describe("Creation date of the workspace in ISO 8601 format (date-time)."),
10
+ modified: zod.z.string().describe("Last modification date of the workspace in ISO 8601 format (date-time). Null if never modified.").nullable().optional(),
11
+ remainingQuota: zod.z.number().int().describe("Remaining quota available for the workspace. Represents how many API operations are still available.").nullable().optional()
12
+ }).describe("Response model containing workspace details.");
13
+ const pdflessGetWorkspace = require_action.action("PDFLESS_GET_WORKSPACE", {
14
+ slug: "pdfless-get-workspace",
15
+ name: "Get Workspace",
16
+ description: "Get workspace details and information. Use this to check if a workspace exists or is available based on the API key. Retrieves metadata about the current workspace including its active status, creation date, and name.",
17
+ input: PdflessGetWorkspaceInput,
18
+ output: PdflessGetWorkspaceOutput
19
+ });
20
+ //#endregion
21
+ exports.pdflessGetWorkspace = pdflessGetWorkspace;
22
+
23
+ //# sourceMappingURL=get-workspace.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdflessGetWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting workspace details.\");\nexport const PdflessGetWorkspaceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the workspace. Can be null if no name has been set.\").nullable().optional(),\n quota: z.number().int().describe(\"Total quota available for the workspace. Represents the maximum number of API operations allowed.\").nullable().optional(),\n active: z.boolean().describe(\"Active status of the workspace. Indicates if the workspace is currently active.\"),\n created: z.string().describe(\"Creation date of the workspace in ISO 8601 format (date-time).\"),\n modified: z.string().describe(\"Last modification date of the workspace in ISO 8601 format (date-time). Null if never modified.\").nullable().optional(),\n remainingQuota: z.number().int().describe(\"Remaining quota available for the workspace. Represents how many API operations are still available.\").nullable().optional(),\n}).describe(\"Response model containing workspace details.\");\n\nexport const pdflessGetWorkspace = action(\"PDFLESS_GET_WORKSPACE\", {\n slug: \"pdfless-get-workspace\",\n name: \"Get Workspace\",\n description: \"Get workspace details and information. Use this to check if a workspace exists or is available based on the API key. Retrieves metadata about the current workspace including its active status, creation date, and name.\",\n input: PdflessGetWorkspaceInput,\n output: PdflessGetWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1H,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-workspace.d.ts
4
+ declare const PdflessGetWorkspaceInput: z.ZodTypeAny;
5
+ declare const PdflessGetWorkspaceOutput: z.ZodTypeAny;
6
+ declare const pdflessGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdflessGetWorkspace };
9
+ //# sourceMappingURL=get-workspace.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace.d.cts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAkF;AAAA,cAC9G,yBAAA,EAA2B,CAAA,CAAE,UAOiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-workspace.d.ts
4
+ declare const PdflessGetWorkspaceInput: z.ZodTypeAny;
5
+ declare const PdflessGetWorkspaceOutput: z.ZodTypeAny;
6
+ declare const pdflessGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdflessGetWorkspace };
9
+ //# sourceMappingURL=get-workspace.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace.d.mts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAkF;AAAA,cAC9G,yBAAA,EAA2B,CAAA,CAAE,UAOiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pdflessGetWorkspace = action("PDFLESS_GET_WORKSPACE", {
4
+ slug: "pdfless-get-workspace",
5
+ name: "Get Workspace",
6
+ description: "Get workspace details and information. Use this to check if a workspace exists or is available based on the API key. Retrieves metadata about the current workspace including its active status, creation date, and name.",
7
+ input: z.object({}).describe("Request model for getting workspace details."),
8
+ output: z.object({
9
+ name: z.string().describe("Name of the workspace. Can be null if no name has been set.").nullable().optional(),
10
+ quota: z.number().int().describe("Total quota available for the workspace. Represents the maximum number of API operations allowed.").nullable().optional(),
11
+ active: z.boolean().describe("Active status of the workspace. Indicates if the workspace is currently active."),
12
+ created: z.string().describe("Creation date of the workspace in ISO 8601 format (date-time)."),
13
+ modified: z.string().describe("Last modification date of the workspace in ISO 8601 format (date-time). Null if never modified.").nullable().optional(),
14
+ remainingQuota: z.number().int().describe("Remaining quota available for the workspace. Represents how many API operations are still available.").nullable().optional()
15
+ }).describe("Response model containing workspace details.")
16
+ });
17
+ //#endregion
18
+ export { pdflessGetWorkspace };
19
+
20
+ //# sourceMappingURL=get-workspace.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace.mjs","names":[],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdflessGetWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting workspace details.\");\nexport const PdflessGetWorkspaceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the workspace. Can be null if no name has been set.\").nullable().optional(),\n quota: z.number().int().describe(\"Total quota available for the workspace. Represents the maximum number of API operations allowed.\").nullable().optional(),\n active: z.boolean().describe(\"Active status of the workspace. Indicates if the workspace is currently active.\"),\n created: z.string().describe(\"Creation date of the workspace in ISO 8601 format (date-time).\"),\n modified: z.string().describe(\"Last modification date of the workspace in ISO 8601 format (date-time). Null if never modified.\").nullable().optional(),\n remainingQuota: z.number().int().describe(\"Remaining quota available for the workspace. Represents how many API operations are still available.\").nullable().optional(),\n}).describe(\"Response model containing workspace details.\");\n\nexport const pdflessGetWorkspace = action(\"PDFLESS_GET_WORKSPACE\", {\n slug: \"pdfless-get-workspace\",\n name: \"Get Workspace\",\n description: \"Get workspace details and information. Use this to check if a workspace exists or is available based on the API key. Retrieves metadata about the current workspace including its active status, creation date, and name.\",\n input: PdflessGetWorkspaceInput,\n output: PdflessGetWorkspaceOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAcnE;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;EAC9G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,5 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_workspace = require("./get-workspace.cjs");
3
+ const require_list_document_templates = require("./list-document-templates.cjs");
4
+ exports.pdflessGetWorkspace = require_get_workspace.pdflessGetWorkspace;
5
+ exports.pdflessListDocumentTemplates = require_list_document_templates.pdflessListDocumentTemplates;
@@ -0,0 +1,3 @@
1
+ import { pdflessGetWorkspace } from "./get-workspace.cjs";
2
+ import { pdflessListDocumentTemplates } from "./list-document-templates.cjs";
3
+ export { pdflessGetWorkspace, pdflessListDocumentTemplates };
@@ -0,0 +1,3 @@
1
+ import { pdflessGetWorkspace } from "./get-workspace.mjs";
2
+ import { pdflessListDocumentTemplates } from "./list-document-templates.mjs";
3
+ export { pdflessGetWorkspace, pdflessListDocumentTemplates };
@@ -0,0 +1,3 @@
1
+ import { pdflessGetWorkspace } from "./get-workspace.mjs";
2
+ import { pdflessListDocumentTemplates } from "./list-document-templates.mjs";
3
+ export { pdflessGetWorkspace, pdflessListDocumentTemplates };
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-document-templates.ts
4
+ const PdflessListDocumentTemplatesInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Default is 1.").optional(),
6
+ pageSize: zod.z.number().int().describe("Number of items per page. If not specified, the API will return all templates on the requested page.").optional()
7
+ }).describe("Request model for listing document templates with pagination.");
8
+ const PdflessListDocumentTemplates_DocumentTemplateSchema = zod.z.object({
9
+ id: zod.z.string().describe("Unique identifier of the document template."),
10
+ name: zod.z.string().describe("Name of the document template."),
11
+ created_at: zod.z.string().describe("Timestamp when the template was created."),
12
+ updated_at: zod.z.string().describe("Timestamp when the template was last updated.")
13
+ }).describe("A single document template entry.");
14
+ const PdflessListDocumentTemplates_PaginationSchema = zod.z.object({
15
+ page: zod.z.number().int().describe("Current page number."),
16
+ pageSize: zod.z.number().int().describe("Number of items per page."),
17
+ totalItems: zod.z.number().int().describe("Total number of document templates."),
18
+ totalPages: zod.z.number().int().describe("Total number of pages.")
19
+ }).describe("Pagination details for listing endpoints.");
20
+ const PdflessListDocumentTemplatesOutput = zod.z.object({
21
+ data: zod.z.array(PdflessListDocumentTemplates_DocumentTemplateSchema).describe("An array of document templates."),
22
+ pagination: PdflessListDocumentTemplates_PaginationSchema.nullable()
23
+ }).describe("Response model for listing document templates.");
24
+ const pdflessListDocumentTemplates = require_action.action("PDFLESS_LIST_DOCUMENT_TEMPLATES", {
25
+ slug: "pdfless-list-document-templates",
26
+ name: "List Document Templates",
27
+ description: "List all document templates in your PDFLess workspace with pagination support. Use this action to discover available templates before generating PDFs. Templates must be created in the PDFLess dashboard before they appear in this list. The response includes template IDs which are required for PDF generation operations.",
28
+ input: PdflessListDocumentTemplatesInput,
29
+ output: PdflessListDocumentTemplatesOutput
30
+ });
31
+ //#endregion
32
+ exports.pdflessListDocumentTemplates = pdflessListDocumentTemplates;
33
+
34
+ //# sourceMappingURL=list-document-templates.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-document-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdflessListDocumentTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Default is 1.\").optional(),\n pageSize: z.number().int().describe(\"Number of items per page. If not specified, the API will return all templates on the requested page.\").optional(),\n}).describe(\"Request model for listing document templates with pagination.\");\nconst PdflessListDocumentTemplates_DocumentTemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the document template.\"),\n name: z.string().describe(\"Name of the document template.\"),\n created_at: z.string().describe(\"Timestamp when the template was created.\"),\n updated_at: z.string().describe(\"Timestamp when the template was last updated.\"),\n}).describe(\"A single document template entry.\");\nconst PdflessListDocumentTemplates_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n pageSize: z.number().int().describe(\"Number of items per page.\"),\n totalItems: z.number().int().describe(\"Total number of document templates.\"),\n totalPages: z.number().int().describe(\"Total number of pages.\"),\n}).describe(\"Pagination details for listing endpoints.\");\nexport const PdflessListDocumentTemplatesOutput: z.ZodTypeAny = z.object({\n data: z.array(PdflessListDocumentTemplates_DocumentTemplateSchema).describe(\"An array of document templates.\"),\n pagination: PdflessListDocumentTemplates_PaginationSchema.nullable(),\n}).describe(\"Response model for listing document templates.\");\n\nexport const pdflessListDocumentTemplates = action(\"PDFLESS_LIST_DOCUMENT_TEMPLATES\", {\n slug: \"pdfless-list-document-templates\",\n name: \"List Document Templates\",\n description: \"List all document templates in your PDFLess workspace with pagination support. Use this action to discover available templates before generating PDFs. Templates must be created in the PDFLess dashboard before they appear in this list. The response includes template IDs which are required for PDF generation operations.\",\n input: PdflessListDocumentTemplatesInput,\n output: PdflessListDocumentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,iCAAiC;CAC7G,YAAY,8CAA8C,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-document-templates.d.ts
4
+ declare const PdflessListDocumentTemplatesInput: z.ZodTypeAny;
5
+ declare const PdflessListDocumentTemplatesOutput: z.ZodTypeAny;
6
+ declare const pdflessListDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdflessListDocumentTemplates };
9
+ //# sourceMappingURL=list-document-templates.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-document-templates.d.cts","names":[],"sources":["../../src/actions/list-document-templates.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAG0B;AAAA,cAa/D,kCAAA,EAAoC,CAAA,CAAE,UAGU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-document-templates.d.ts
4
+ declare const PdflessListDocumentTemplatesInput: z.ZodTypeAny;
5
+ declare const PdflessListDocumentTemplatesOutput: z.ZodTypeAny;
6
+ declare const pdflessListDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pdflessListDocumentTemplates };
9
+ //# sourceMappingURL=list-document-templates.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-document-templates.d.mts","names":[],"sources":["../../src/actions/list-document-templates.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAG0B;AAAA,cAa/D,kCAAA,EAAoC,CAAA,CAAE,UAGU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-document-templates.ts
4
+ const PdflessListDocumentTemplatesInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Default is 1.").optional(),
6
+ pageSize: z.number().int().describe("Number of items per page. If not specified, the API will return all templates on the requested page.").optional()
7
+ }).describe("Request model for listing document templates with pagination.");
8
+ const PdflessListDocumentTemplates_DocumentTemplateSchema = z.object({
9
+ id: z.string().describe("Unique identifier of the document template."),
10
+ name: z.string().describe("Name of the document template."),
11
+ created_at: z.string().describe("Timestamp when the template was created."),
12
+ updated_at: z.string().describe("Timestamp when the template was last updated.")
13
+ }).describe("A single document template entry.");
14
+ const PdflessListDocumentTemplates_PaginationSchema = z.object({
15
+ page: z.number().int().describe("Current page number."),
16
+ pageSize: z.number().int().describe("Number of items per page."),
17
+ totalItems: z.number().int().describe("Total number of document templates."),
18
+ totalPages: z.number().int().describe("Total number of pages.")
19
+ }).describe("Pagination details for listing endpoints.");
20
+ const pdflessListDocumentTemplates = action("PDFLESS_LIST_DOCUMENT_TEMPLATES", {
21
+ slug: "pdfless-list-document-templates",
22
+ name: "List Document Templates",
23
+ description: "List all document templates in your PDFLess workspace with pagination support. Use this action to discover available templates before generating PDFs. Templates must be created in the PDFLess dashboard before they appear in this list. The response includes template IDs which are required for PDF generation operations.",
24
+ input: PdflessListDocumentTemplatesInput,
25
+ output: z.object({
26
+ data: z.array(PdflessListDocumentTemplates_DocumentTemplateSchema).describe("An array of document templates."),
27
+ pagination: PdflessListDocumentTemplates_PaginationSchema.nullable()
28
+ }).describe("Response model for listing document templates.")
29
+ });
30
+ //#endregion
31
+ export { pdflessListDocumentTemplates };
32
+
33
+ //# sourceMappingURL=list-document-templates.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-document-templates.mjs","names":[],"sources":["../../src/actions/list-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdflessListDocumentTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Default is 1.\").optional(),\n pageSize: z.number().int().describe(\"Number of items per page. If not specified, the API will return all templates on the requested page.\").optional(),\n}).describe(\"Request model for listing document templates with pagination.\");\nconst PdflessListDocumentTemplates_DocumentTemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the document template.\"),\n name: z.string().describe(\"Name of the document template.\"),\n created_at: z.string().describe(\"Timestamp when the template was created.\"),\n updated_at: z.string().describe(\"Timestamp when the template was last updated.\"),\n}).describe(\"A single document template entry.\");\nconst PdflessListDocumentTemplates_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n pageSize: z.number().int().describe(\"Number of items per page.\"),\n totalItems: z.number().int().describe(\"Total number of document templates.\"),\n totalPages: z.number().int().describe(\"Total number of pages.\"),\n}).describe(\"Pagination details for listing endpoints.\");\nexport const PdflessListDocumentTemplatesOutput: z.ZodTypeAny = z.object({\n data: z.array(PdflessListDocumentTemplates_DocumentTemplateSchema).describe(\"An array of document templates.\"),\n pagination: PdflessListDocumentTemplates_PaginationSchema.nullable(),\n}).describe(\"Response model for listing document templates.\");\n\nexport const pdflessListDocumentTemplates = action(\"PDFLESS_LIST_DOCUMENT_TEMPLATES\", {\n slug: \"pdfless-list-document-templates\",\n name: \"List Document Templates\",\n description: \"List all document templates in your PDFLess workspace with pagination support. Use this action to discover available templates before generating PDFs. Templates must be created in the PDFLess dashboard before they appear in this list. The response includes template IDs which are required for PDF generation operations.\",\n input: PdflessListDocumentTemplatesInput,\n output: PdflessListDocumentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAMvD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,iCAAiC;EAC7G,YAAY,8CAA8C,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const pdfless = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "pdfless",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.pdfless = pdfless;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pdfless = defineApp({\n slug: \"pdfless\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pdfless: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pdfless };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pdfless: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pdfless };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const pdfless = defineApp({
4
+ slug: "pdfless",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { pdfless };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pdfless = defineApp({\n slug: \"pdfless\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pdflessCatalog = {
4
+ "slug": "pdfless",
5
+ "name": "Pdfless",
6
+ "description": "Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/pdfless",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.pdflessCatalog = pdflessCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pdflessCatalog = {\n \"slug\": \"pdfless\",\n \"name\": \"Pdfless\",\n \"description\": \"Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pdfless\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pdflessCatalog: {
4
+ readonly slug: "pdfless";
5
+ readonly name: "Pdfless";
6
+ readonly description: "Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/pdfless";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pdflessCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const pdflessCatalog: {
4
+ readonly slug: "pdfless";
5
+ readonly name: "Pdfless";
6
+ readonly description: "Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/pdfless";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { pdflessCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const pdflessCatalog = {
4
+ "slug": "pdfless",
5
+ "name": "Pdfless",
6
+ "description": "Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/pdfless",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { pdflessCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pdflessCatalog = {\n \"slug\": \"pdfless\",\n \"name\": \"Pdfless\",\n \"description\": \"Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pdfless\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "pdfless";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePdflessTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executePdflessTool = executePdflessTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pdfless\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePdflessTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "pdfless";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePdflessTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executePdflessTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pdfless\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePdflessTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_get_workspace = require("./actions/get-workspace.cjs");
5
+ const require_list_document_templates = require("./actions/list-document-templates.cjs");
6
+ require("./actions/index.cjs");
7
+ exports.pdfless = require_app.pdfless;
8
+ exports.pdflessCatalog = require_catalog.pdflessCatalog;
9
+ exports.pdflessGetWorkspace = require_get_workspace.pdflessGetWorkspace;
10
+ exports.pdflessListDocumentTemplates = require_list_document_templates.pdflessListDocumentTemplates;
@@ -0,0 +1,5 @@
1
+ import { pdflessGetWorkspace } from "./actions/get-workspace.cjs";
2
+ import { pdflessListDocumentTemplates } from "./actions/list-document-templates.cjs";
3
+ import { pdfless } from "./app.cjs";
4
+ import { pdflessCatalog } from "./catalog.cjs";
5
+ export { pdfless, pdflessCatalog, pdflessGetWorkspace, pdflessListDocumentTemplates };
@@ -0,0 +1,5 @@
1
+ import { pdflessGetWorkspace } from "./actions/get-workspace.mjs";
2
+ import { pdflessListDocumentTemplates } from "./actions/list-document-templates.mjs";
3
+ import { pdfless } from "./app.mjs";
4
+ import { pdflessCatalog } from "./catalog.mjs";
5
+ export { pdfless, pdflessCatalog, pdflessGetWorkspace, pdflessListDocumentTemplates };
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { pdfless } from "./app.mjs";
2
+ import { pdflessCatalog } from "./catalog.mjs";
3
+ import { pdflessGetWorkspace } from "./actions/get-workspace.mjs";
4
+ import { pdflessListDocumentTemplates } from "./actions/list-document-templates.mjs";
5
+ import "./actions/index.mjs";
6
+ export { pdfless, pdflessCatalog, pdflessGetWorkspace, pdflessListDocumentTemplates };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/pdfless",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/pdfless"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }