@keystrokehq/printautopilot 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 (58) 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/create-document.cjs +22 -0
  7. package/dist/actions/create-document.cjs.map +1 -0
  8. package/dist/actions/create-document.d.cts +9 -0
  9. package/dist/actions/create-document.d.cts.map +1 -0
  10. package/dist/actions/create-document.d.mts +9 -0
  11. package/dist/actions/create-document.d.mts.map +1 -0
  12. package/dist/actions/create-document.mjs +19 -0
  13. package/dist/actions/create-document.mjs.map +1 -0
  14. package/dist/actions/index.cjs +7 -0
  15. package/dist/actions/index.d.cts +4 -0
  16. package/dist/actions/index.d.mts +4 -0
  17. package/dist/actions/index.mjs +4 -0
  18. package/dist/actions/list-queues.cjs +23 -0
  19. package/dist/actions/list-queues.cjs.map +1 -0
  20. package/dist/actions/list-queues.d.cts +9 -0
  21. package/dist/actions/list-queues.d.cts.map +1 -0
  22. package/dist/actions/list-queues.d.mts +9 -0
  23. package/dist/actions/list-queues.d.mts.map +1 -0
  24. package/dist/actions/list-queues.mjs +22 -0
  25. package/dist/actions/list-queues.mjs.map +1 -0
  26. package/dist/actions/upload-file.cjs +20 -0
  27. package/dist/actions/upload-file.cjs.map +1 -0
  28. package/dist/actions/upload-file.d.cts +9 -0
  29. package/dist/actions/upload-file.d.cts.map +1 -0
  30. package/dist/actions/upload-file.d.mts +9 -0
  31. package/dist/actions/upload-file.d.mts.map +1 -0
  32. package/dist/actions/upload-file.mjs +17 -0
  33. package/dist/actions/upload-file.mjs.map +1 -0
  34. package/dist/app.cjs +9 -0
  35. package/dist/app.cjs.map +1 -0
  36. package/dist/app.d.cts +5 -0
  37. package/dist/app.d.cts.map +1 -0
  38. package/dist/app.d.mts +5 -0
  39. package/dist/app.d.mts.map +1 -0
  40. package/dist/app.mjs +10 -0
  41. package/dist/app.mjs.map +1 -0
  42. package/dist/catalog.cjs +15 -0
  43. package/dist/catalog.cjs.map +1 -0
  44. package/dist/catalog.d.cts +14 -0
  45. package/dist/catalog.d.cts.map +1 -0
  46. package/dist/catalog.d.mts +14 -0
  47. package/dist/catalog.d.mts.map +1 -0
  48. package/dist/catalog.mjs +15 -0
  49. package/dist/catalog.mjs.map +1 -0
  50. package/dist/execute.cjs +18 -0
  51. package/dist/execute.cjs.map +1 -0
  52. package/dist/execute.mjs +18 -0
  53. package/dist/execute.mjs.map +1 -0
  54. package/dist/index.cjs +12 -0
  55. package/dist/index.d.cts +6 -0
  56. package/dist/index.d.mts +6 -0
  57. package/dist/index.mjs +7 -0
  58. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/printautopilot
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `printautopilot`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 3
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { printautopilotCreateDocument } from "@keystrokehq/printautopilot/actions";
12
+
13
+ export default defineAgent({
14
+ key: "printautopilot-agent",
15
+ tools: [printautopilotCreateDocument],
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.printautopilot.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.executePrintautopilotTool(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":["printautopilot","executePrintautopilotTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { printautopilot } from \"./app\";\nimport { executePrintautopilotTool } 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 printautopilot.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 executePrintautopilotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,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,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { printautopilot } from "./app.mjs";
2
+ import { executePrintautopilotTool } 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 printautopilot.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 executePrintautopilotTool(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 { printautopilot } from \"./app\";\nimport { executePrintautopilotTool } 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 printautopilot.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 executePrintautopilotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-document.ts
4
+ const PrintautopilotCreateDocumentInput = zod.z.object({
5
+ base64: zod.z.string().describe("Base64 encoded PDF content. Warning: PrintAutopilot does not verify if the base64 is valid, so validation is performed here."),
6
+ fileName: zod.z.string().describe("The name of the PDF file (e.g., 'test-document.pdf')")
7
+ }).describe("Request model for CREATE_DOCUMENT action.");
8
+ const PrintautopilotCreateDocumentOutput = zod.z.object({
9
+ message: zod.z.string().describe("Response message from the API"),
10
+ success: zod.z.boolean().describe("Indicates whether the document was successfully added to the print queue")
11
+ }).describe("Response model for CREATE_DOCUMENT action.");
12
+ const printautopilotCreateDocument = require_action.action("PRINTAUTOPILOT_CREATE_DOCUMENT", {
13
+ slug: "printautopilot-create-document",
14
+ name: "Create Document",
15
+ description: "Tool to upload a base64 formatted PDF document to PrintAutopilot queue. Use when you need to add a PDF document to the print queue. Warning: Validates base64 encoding before submission.",
16
+ input: PrintautopilotCreateDocumentInput,
17
+ output: PrintautopilotCreateDocumentOutput
18
+ });
19
+ //#endregion
20
+ exports.printautopilotCreateDocument = printautopilotCreateDocument;
21
+
22
+ //# sourceMappingURL=create-document.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-document.cjs","names":["z","action"],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotCreateDocumentInput: z.ZodTypeAny = z.object({\n base64: z.string().describe(\"Base64 encoded PDF content. Warning: PrintAutopilot does not verify if the base64 is valid, so validation is performed here.\"),\n fileName: z.string().describe(\"The name of the PDF file (e.g., 'test-document.pdf')\"),\n}).describe(\"Request model for CREATE_DOCUMENT action.\");\nexport const PrintautopilotCreateDocumentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API\"),\n success: z.boolean().describe(\"Indicates whether the document was successfully added to the print queue\"),\n}).describe(\"Response model for CREATE_DOCUMENT action.\");\n\nexport const printautopilotCreateDocument = action(\"PRINTAUTOPILOT_CREATE_DOCUMENT\", {\n slug: \"printautopilot-create-document\",\n name: \"Create Document\",\n description: \"Tool to upload a base64 formatted PDF document to PrintAutopilot queue. Use when you need to add a PDF document to the print queue. Warning: Validates base64 encoding before submission.\",\n input: PrintautopilotCreateDocumentInput,\n output: PrintautopilotCreateDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC1J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACtF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,+BAA+BC,eAAAA,OAAO,kCAAkC;CACnF,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/create-document.d.ts
4
+ declare const PrintautopilotCreateDocumentInput: z.ZodTypeAny;
5
+ declare const PrintautopilotCreateDocumentOutput: z.ZodTypeAny;
6
+ declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotCreateDocument };
9
+ //# sourceMappingURL=create-document.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGM;AAAA,cAC3C,kCAAA,EAAoC,CAAA,CAAE,UAGM;AAAA,cAE5C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-document.d.ts
4
+ declare const PrintautopilotCreateDocumentInput: z.ZodTypeAny;
5
+ declare const PrintautopilotCreateDocumentOutput: z.ZodTypeAny;
6
+ declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotCreateDocument };
9
+ //# sourceMappingURL=create-document.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGM;AAAA,cAC3C,kCAAA,EAAoC,CAAA,CAAE,UAGM;AAAA,cAE5C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const printautopilotCreateDocument = action("PRINTAUTOPILOT_CREATE_DOCUMENT", {
4
+ slug: "printautopilot-create-document",
5
+ name: "Create Document",
6
+ description: "Tool to upload a base64 formatted PDF document to PrintAutopilot queue. Use when you need to add a PDF document to the print queue. Warning: Validates base64 encoding before submission.",
7
+ input: z.object({
8
+ base64: z.string().describe("Base64 encoded PDF content. Warning: PrintAutopilot does not verify if the base64 is valid, so validation is performed here."),
9
+ fileName: z.string().describe("The name of the PDF file (e.g., 'test-document.pdf')")
10
+ }).describe("Request model for CREATE_DOCUMENT action."),
11
+ output: z.object({
12
+ message: z.string().describe("Response message from the API"),
13
+ success: z.boolean().describe("Indicates whether the document was successfully added to the print queue")
14
+ }).describe("Response model for CREATE_DOCUMENT action.")
15
+ });
16
+ //#endregion
17
+ export { printautopilotCreateDocument };
18
+
19
+ //# sourceMappingURL=create-document.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotCreateDocumentInput: z.ZodTypeAny = z.object({\n base64: z.string().describe(\"Base64 encoded PDF content. Warning: PrintAutopilot does not verify if the base64 is valid, so validation is performed here.\"),\n fileName: z.string().describe(\"The name of the PDF file (e.g., 'test-document.pdf')\"),\n}).describe(\"Request model for CREATE_DOCUMENT action.\");\nexport const PrintautopilotCreateDocumentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API\"),\n success: z.boolean().describe(\"Indicates whether the document was successfully added to the print queue\"),\n}).describe(\"Response model for CREATE_DOCUMENT action.\");\n\nexport const printautopilotCreateDocument = action(\"PRINTAUTOPILOT_CREATE_DOCUMENT\", {\n slug: \"printautopilot-create-document\",\n name: \"Create Document\",\n description: \"Tool to upload a base64 formatted PDF document to PrintAutopilot queue. Use when you need to add a PDF document to the print queue. Warning: Validates base64 encoding before submission.\",\n input: PrintautopilotCreateDocumentInput,\n output: PrintautopilotCreateDocumentOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,kCAAkC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC1J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAV8D,EAAE,OAAO;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;CAC1G,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,7 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_document = require("./create-document.cjs");
3
+ const require_list_queues = require("./list-queues.cjs");
4
+ const require_upload_file = require("./upload-file.cjs");
5
+ exports.printautopilotCreateDocument = require_create_document.printautopilotCreateDocument;
6
+ exports.printautopilotListQueues = require_list_queues.printautopilotListQueues;
7
+ exports.printautopilotUploadFile = require_upload_file.printautopilotUploadFile;
@@ -0,0 +1,4 @@
1
+ import { printautopilotCreateDocument } from "./create-document.cjs";
2
+ import { printautopilotListQueues } from "./list-queues.cjs";
3
+ import { printautopilotUploadFile } from "./upload-file.cjs";
4
+ export { printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
@@ -0,0 +1,4 @@
1
+ import { printautopilotCreateDocument } from "./create-document.mjs";
2
+ import { printautopilotListQueues } from "./list-queues.mjs";
3
+ import { printautopilotUploadFile } from "./upload-file.mjs";
4
+ export { printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
@@ -0,0 +1,4 @@
1
+ import { printautopilotCreateDocument } from "./create-document.mjs";
2
+ import { printautopilotListQueues } from "./list-queues.mjs";
3
+ import { printautopilotUploadFile } from "./upload-file.mjs";
4
+ export { printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-queues.ts
4
+ const PrintautopilotListQueuesInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Optional page number for pagination if supported.").optional(),
6
+ nameFilter: zod.z.string().describe("Optional substring to filter queues by name. Server-side may ignore if unsupported.").optional()
7
+ }).describe("Request model for LIST_QUEUES action. No parameters required.");
8
+ const PrintautopilotListQueues_QueueSchema = zod.z.object({
9
+ name: zod.z.string().describe("Name of the queue"),
10
+ queueId: zod.z.string().describe("Unique identifier of the queue")
11
+ }).describe("Model representing a single print queue in PrintAutoPilot.");
12
+ const PrintautopilotListQueuesOutput = zod.z.object({ queues: zod.z.array(PrintautopilotListQueues_QueueSchema).describe("List of available queues") }).describe("Response model for LIST_QUEUES action.");
13
+ const printautopilotListQueues = require_action.action("PRINTAUTOPILOT_LIST_QUEUES", {
14
+ slug: "printautopilot-list-queues",
15
+ name: "List Queues",
16
+ description: "Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.",
17
+ input: PrintautopilotListQueuesInput,
18
+ output: PrintautopilotListQueuesOutput
19
+ });
20
+ //#endregion
21
+ exports.printautopilotListQueues = printautopilotListQueues;
22
+
23
+ //# sourceMappingURL=list-queues.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-queues.cjs","names":["z","action"],"sources":["../../src/actions/list-queues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotListQueuesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Optional page number for pagination if supported.\").optional(),\n nameFilter: z.string().describe(\"Optional substring to filter queues by name. Server-side may ignore if unsupported.\").optional(),\n}).describe(\"Request model for LIST_QUEUES action. No parameters required.\");\nconst PrintautopilotListQueues_QueueSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the queue\"),\n queueId: z.string().describe(\"Unique identifier of the queue\"),\n}).describe(\"Model representing a single print queue in PrintAutoPilot.\");\nexport const PrintautopilotListQueuesOutput: z.ZodTypeAny = z.object({\n queues: z.array(PrintautopilotListQueues_QueueSchema).describe(\"List of available queues\"),\n}).describe(\"Response model for LIST_QUEUES action.\");\n\nexport const printautopilotListQueues = action(\"PRINTAUTOPILOT_LIST_QUEUES\", {\n slug: \"printautopilot-list-queues\",\n name: \"List Queues\",\n description: \"Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.\",\n input: PrintautopilotListQueuesInput,\n output: PrintautopilotListQueuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,EAC3F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,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-queues.d.ts
4
+ declare const PrintautopilotListQueuesInput: z.ZodTypeAny;
5
+ declare const PrintautopilotListQueuesOutput: z.ZodTypeAny;
6
+ declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotListQueues };
9
+ //# sourceMappingURL=list-queues.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-queues.d.cts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG8B;AAAA,cAK/D,8BAAA,EAAgC,CAAA,CAAE,UAEM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-queues.d.ts
4
+ declare const PrintautopilotListQueuesInput: z.ZodTypeAny;
5
+ declare const PrintautopilotListQueuesOutput: z.ZodTypeAny;
6
+ declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotListQueues };
9
+ //# sourceMappingURL=list-queues.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-queues.d.mts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG8B;AAAA,cAK/D,8BAAA,EAAgC,CAAA,CAAE,UAEM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-queues.ts
4
+ const PrintautopilotListQueuesInput = z.object({
5
+ page: z.number().int().describe("Optional page number for pagination if supported.").optional(),
6
+ nameFilter: z.string().describe("Optional substring to filter queues by name. Server-side may ignore if unsupported.").optional()
7
+ }).describe("Request model for LIST_QUEUES action. No parameters required.");
8
+ const PrintautopilotListQueues_QueueSchema = z.object({
9
+ name: z.string().describe("Name of the queue"),
10
+ queueId: z.string().describe("Unique identifier of the queue")
11
+ }).describe("Model representing a single print queue in PrintAutoPilot.");
12
+ const printautopilotListQueues = action("PRINTAUTOPILOT_LIST_QUEUES", {
13
+ slug: "printautopilot-list-queues",
14
+ name: "List Queues",
15
+ description: "Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.",
16
+ input: PrintautopilotListQueuesInput,
17
+ output: z.object({ queues: z.array(PrintautopilotListQueues_QueueSchema).describe("List of available queues") }).describe("Response model for LIST_QUEUES action.")
18
+ });
19
+ //#endregion
20
+ export { printautopilotListQueues };
21
+
22
+ //# sourceMappingURL=list-queues.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-queues.mjs","names":[],"sources":["../../src/actions/list-queues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotListQueuesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Optional page number for pagination if supported.\").optional(),\n nameFilter: z.string().describe(\"Optional substring to filter queues by name. Server-side may ignore if unsupported.\").optional(),\n}).describe(\"Request model for LIST_QUEUES action. No parameters required.\");\nconst PrintautopilotListQueues_QueueSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the queue\"),\n queueId: z.string().describe(\"Unique identifier of the queue\"),\n}).describe(\"Model representing a single print queue in PrintAutoPilot.\");\nexport const PrintautopilotListQueuesOutput: z.ZodTypeAny = z.object({\n queues: z.array(PrintautopilotListQueues_QueueSchema).describe(\"List of available queues\"),\n}).describe(\"Response model for LIST_QUEUES action.\");\n\nexport const printautopilotListQueues = action(\"PRINTAUTOPILOT_LIST_QUEUES\", {\n slug: \"printautopilot-list-queues\",\n name: \"List Queues\",\n description: \"Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.\",\n input: PrintautopilotListQueuesInput,\n output: PrintautopilotListQueuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAKxE,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,EAC3F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/upload-file.ts
4
+ const PrintautopilotUploadFileInput = zod.z.object({ file: zod.z.object({
5
+ name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
6
+ s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
7
+ mimetype: zod.z.string().describe("The MIME type of the file")
8
+ }).describe("File to upload to temporary storage.") }).describe("Request model for UPLOAD_FILE action. Accepts a file to store in temporary R2 bucket.");
9
+ const PrintautopilotUploadFileOutput = zod.z.object({ s3key: zod.z.string().describe("Key in the R2 bucket where the file was stored") }).describe("Response model for UPLOAD_FILE action.");
10
+ const printautopilotUploadFile = require_action.action("PRINTAUTOPILOT_UPLOAD_FILE", {
11
+ slug: "printautopilot-upload-file",
12
+ name: "Upload File",
13
+ description: "Tool to upload a file to a temporary R2 bucket. Use when you need to stage files for later PrintAutoPilot operations.",
14
+ input: PrintautopilotUploadFileInput,
15
+ output: PrintautopilotUploadFileOutput
16
+ });
17
+ //#endregion
18
+ exports.printautopilotUploadFile = printautopilotUploadFile;
19
+
20
+ //# sourceMappingURL=upload-file.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotUploadFileInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to temporary storage.\"),\n}).describe(\"Request model for UPLOAD_FILE action. Accepts a file to store in temporary R2 bucket.\");\nexport const PrintautopilotUploadFileOutput: z.ZodTypeAny = z.object({\n s3key: z.string().describe(\"Key in the R2 bucket where the file was stored\"),\n}).describe(\"Response model for UPLOAD_FILE action.\");\n\nexport const printautopilotUploadFile = action(\"PRINTAUTOPILOT_UPLOAD_FILE\", {\n slug: \"printautopilot-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a file to a temporary R2 bucket. Use when you need to stage files for later PrintAutoPilot operations.\",\n input: PrintautopilotUploadFileInput,\n output: PrintautopilotUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,MAAMA,IAAAA,EAAE,OAAO;CACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC,EAClD,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,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/upload-file.d.ts
4
+ declare const PrintautopilotUploadFileInput: z.ZodTypeAny;
5
+ declare const PrintautopilotUploadFileOutput: z.ZodTypeAny;
6
+ declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotUploadFile };
9
+ //# sourceMappingURL=upload-file.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMsD;AAAA,cACvF,8BAAA,EAAgC,CAAA,CAAE,UAEM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upload-file.d.ts
4
+ declare const PrintautopilotUploadFileInput: z.ZodTypeAny;
5
+ declare const PrintautopilotUploadFileOutput: z.ZodTypeAny;
6
+ declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { printautopilotUploadFile };
9
+ //# sourceMappingURL=upload-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMsD;AAAA,cACvF,8BAAA,EAAgC,CAAA,CAAE,UAEM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const printautopilotUploadFile = action("PRINTAUTOPILOT_UPLOAD_FILE", {
4
+ slug: "printautopilot-upload-file",
5
+ name: "Upload File",
6
+ description: "Tool to upload a file to a temporary R2 bucket. Use when you need to stage files for later PrintAutoPilot operations.",
7
+ input: z.object({ file: z.object({
8
+ name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
9
+ s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
10
+ mimetype: z.string().describe("The MIME type of the file")
11
+ }).describe("File to upload to temporary storage.") }).describe("Request model for UPLOAD_FILE action. Accepts a file to store in temporary R2 bucket."),
12
+ output: z.object({ s3key: z.string().describe("Key in the R2 bucket where the file was stored") }).describe("Response model for UPLOAD_FILE action.")
13
+ });
14
+ //#endregion
15
+ export { printautopilotUploadFile };
16
+
17
+ //# sourceMappingURL=upload-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrintautopilotUploadFileInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload to temporary storage.\"),\n}).describe(\"Request model for UPLOAD_FILE action. Accepts a file to store in temporary R2 bucket.\");\nexport const PrintautopilotUploadFileOutput: z.ZodTypeAny = z.object({\n s3key: z.string().describe(\"Key in the R2 bucket where the file was stored\"),\n}).describe(\"Response model for UPLOAD_FILE action.\");\n\nexport const printautopilotUploadFile = action(\"PRINTAUTOPILOT_UPLOAD_FILE\", {\n slug: \"printautopilot-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a file to a temporary R2 bucket. Use when you need to stage files for later PrintAutoPilot operations.\",\n input: PrintautopilotUploadFileInput,\n output: PrintautopilotUploadFileOutput,\n});\n"],"mappings":";;AAeA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO,EAClE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC,EAClD,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QAT0D,EAAE,OAAO,EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const printautopilot = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "printautopilot",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.printautopilot = printautopilot;
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 printautopilot = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,kBAAA,uCAAA,CAAA,CAAA,UAAA,CAA2B;CACtC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const printautopilot: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { printautopilot };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const printautopilot: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { printautopilot };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,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 printautopilot = defineApp({
4
+ slug: "printautopilot",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { printautopilot };
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 printautopilot = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,iBAAiB,UAAU;CACtC,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 printautopilotCatalog = {
4
+ "slug": "printautopilot",
5
+ "name": "Printautopilot",
6
+ "description": "Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/printautopilot",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.printautopilotCatalog = printautopilotCatalog;
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 printautopilotCatalog = {\n \"slug\": \"printautopilot\",\n \"name\": \"Printautopilot\",\n \"description\": \"Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/printautopilot\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,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 printautopilotCatalog: {
4
+ readonly slug: "printautopilot";
5
+ readonly name: "Printautopilot";
6
+ readonly description: "Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/printautopilot";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { printautopilotCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,qBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const printautopilotCatalog: {
4
+ readonly slug: "printautopilot";
5
+ readonly name: "Printautopilot";
6
+ readonly description: "Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/printautopilot";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { printautopilotCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,qBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const printautopilotCatalog = {
4
+ "slug": "printautopilot",
5
+ "name": "Printautopilot",
6
+ "description": "Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/printautopilot",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { printautopilotCatalog };
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 printautopilotCatalog = {\n \"slug\": \"printautopilot\",\n \"name\": \"Printautopilot\",\n \"description\": \"Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/printautopilot\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,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 = "printautopilot";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePrintautopilotTool(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.executePrintautopilotTool = executePrintautopilotTool;
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 = \"printautopilot\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePrintautopilotTool(\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,0BACpB,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 = "printautopilot";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePrintautopilotTool(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 { executePrintautopilotTool };
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 = \"printautopilot\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePrintautopilotTool(\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,0BACpB,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,12 @@
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_create_document = require("./actions/create-document.cjs");
5
+ const require_list_queues = require("./actions/list-queues.cjs");
6
+ const require_upload_file = require("./actions/upload-file.cjs");
7
+ require("./actions/index.cjs");
8
+ exports.printautopilot = require_app.printautopilot;
9
+ exports.printautopilotCatalog = require_catalog.printautopilotCatalog;
10
+ exports.printautopilotCreateDocument = require_create_document.printautopilotCreateDocument;
11
+ exports.printautopilotListQueues = require_list_queues.printautopilotListQueues;
12
+ exports.printautopilotUploadFile = require_upload_file.printautopilotUploadFile;
@@ -0,0 +1,6 @@
1
+ import { printautopilotCreateDocument } from "./actions/create-document.cjs";
2
+ import { printautopilotListQueues } from "./actions/list-queues.cjs";
3
+ import { printautopilotUploadFile } from "./actions/upload-file.cjs";
4
+ import { printautopilot } from "./app.cjs";
5
+ import { printautopilotCatalog } from "./catalog.cjs";
6
+ export { printautopilot, printautopilotCatalog, printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
@@ -0,0 +1,6 @@
1
+ import { printautopilotCreateDocument } from "./actions/create-document.mjs";
2
+ import { printautopilotListQueues } from "./actions/list-queues.mjs";
3
+ import { printautopilotUploadFile } from "./actions/upload-file.mjs";
4
+ import { printautopilot } from "./app.mjs";
5
+ import { printautopilotCatalog } from "./catalog.mjs";
6
+ export { printautopilot, printautopilotCatalog, printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
package/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { printautopilot } from "./app.mjs";
2
+ import { printautopilotCatalog } from "./catalog.mjs";
3
+ import { printautopilotCreateDocument } from "./actions/create-document.mjs";
4
+ import { printautopilotListQueues } from "./actions/list-queues.mjs";
5
+ import { printautopilotUploadFile } from "./actions/upload-file.mjs";
6
+ import "./actions/index.mjs";
7
+ export { printautopilot, printautopilotCatalog, printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/printautopilot",
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/printautopilot"
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
+ }