@keystrokehq/printautopilot 0.1.0 → 0.1.3

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.
@@ -1 +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"}
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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"}
@@ -1 +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"}
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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"}
@@ -6,9 +6,9 @@ const PrintautopilotCreateDocumentInput = zod.z.object({
6
6
  fileName: zod.z.string().describe("The name of the PDF file (e.g., 'test-document.pdf')")
7
7
  }).describe("Request model for CREATE_DOCUMENT action.");
8
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.");
9
+ message: zod.z.string().describe("Response message from the API").nullable(),
10
+ success: zod.z.boolean().describe("Indicates whether the document was successfully added to the print queue").nullable()
11
+ }).passthrough().describe("Response model for CREATE_DOCUMENT action.");
12
12
  const printautopilotCreateDocument = require_action.action("PRINTAUTOPILOT_CREATE_DOCUMENT", {
13
13
  slug: "printautopilot-create-document",
14
14
  name: "Create Document",
@@ -1 +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"}
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.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.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the document was successfully added to the print queue\").nullable(),\n}).passthrough().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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,+BAA+BC,eAAAA,OAAO,kCAAkC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotCreateDocumentInput: z.ZodObject<{
5
+ base64: z.ZodString;
6
+ fileName: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ base64: string;
14
+ fileName: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { printautopilotCreateDocument };
9
18
  //# sourceMappingURL=create-document.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotCreateDocumentInput: z.ZodObject<{
5
+ base64: z.ZodString;
6
+ fileName: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ base64: string;
14
+ fileName: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { printautopilotCreateDocument };
9
18
  //# sourceMappingURL=create-document.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -9,9 +9,9 @@ const printautopilotCreateDocument = action("PRINTAUTOPILOT_CREATE_DOCUMENT", {
9
9
  fileName: z.string().describe("The name of the PDF file (e.g., 'test-document.pdf')")
10
10
  }).describe("Request model for CREATE_DOCUMENT action."),
11
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.")
12
+ message: z.string().describe("Response message from the API").nullable(),
13
+ success: z.boolean().describe("Indicates whether the document was successfully added to the print queue").nullable()
14
+ }).passthrough().describe("Response model for CREATE_DOCUMENT action.")
15
15
  });
16
16
  //#endregion
17
17
  export { printautopilotCreateDocument };
@@ -1 +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"}
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.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.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the document was successfully added to the print queue\").nullable(),\n}).passthrough().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,OAb+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC1J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAVgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -6,10 +6,10 @@ const PrintautopilotListQueuesInput = zod.z.object({
6
6
  nameFilter: zod.z.string().describe("Optional substring to filter queues by name. Server-side may ignore if unsupported.").optional()
7
7
  }).describe("Request model for LIST_QUEUES action. No parameters required.");
8
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.");
9
+ name: zod.z.string().describe("Name of the queue").nullable(),
10
+ queueId: zod.z.string().describe("Unique identifier of the queue").nullable()
11
+ }).passthrough().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") }).passthrough().describe("Response model for LIST_QUEUES action.");
13
13
  const printautopilotListQueues = require_action.action("PRINTAUTOPILOT_LIST_QUEUES", {
14
14
  slug: "printautopilot-list-queues",
15
15
  name: "List Queues",
@@ -1 +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"}
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.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.object({\n name: z.string().describe(\"Name of the queue\").nullable(),\n queueId: z.string().describe(\"Unique identifier of the queue\").nullable(),\n}).passthrough().describe(\"Model representing a single print queue in PrintAutoPilot.\");\nexport const PrintautopilotListQueuesOutput = z.object({\n queues: z.array(PrintautopilotListQueues_QueueSchema).describe(\"List of available queues\"),\n}).passthrough().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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotListQueuesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ nameFilter: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
9
+ queues: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ queueId: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ page?: number | undefined;
16
+ nameFilter?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { printautopilotListQueues };
9
20
  //# sourceMappingURL=list-queues.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-queues.d.cts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotListQueuesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ nameFilter: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
9
+ queues: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ queueId: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ page?: number | undefined;
16
+ nameFilter?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { printautopilotListQueues };
9
20
  //# sourceMappingURL=list-queues.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-queues.d.mts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,15 +6,15 @@ const PrintautopilotListQueuesInput = z.object({
6
6
  nameFilter: z.string().describe("Optional substring to filter queues by name. Server-side may ignore if unsupported.").optional()
7
7
  }).describe("Request model for LIST_QUEUES action. No parameters required.");
8
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.");
9
+ name: z.string().describe("Name of the queue").nullable(),
10
+ queueId: z.string().describe("Unique identifier of the queue").nullable()
11
+ }).passthrough().describe("Model representing a single print queue in PrintAutoPilot.");
12
12
  const printautopilotListQueues = action("PRINTAUTOPILOT_LIST_QUEUES", {
13
13
  slug: "printautopilot-list-queues",
14
14
  name: "List Queues",
15
15
  description: "Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.",
16
16
  input: PrintautopilotListQueuesInput,
17
- output: z.object({ queues: z.array(PrintautopilotListQueues_QueueSchema).describe("List of available queues") }).describe("Response model for LIST_QUEUES action.")
17
+ output: z.object({ queues: z.array(PrintautopilotListQueues_QueueSchema).describe("List of available queues") }).passthrough().describe("Response model for LIST_QUEUES action.")
18
18
  });
19
19
  //#endregion
20
20
  export { printautopilotListQueues };
@@ -1 +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"}
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.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.object({\n name: z.string().describe(\"Name of the queue\").nullable(),\n queueId: z.string().describe(\"Unique identifier of the queue\").nullable(),\n}).passthrough().describe(\"Model representing a single print queue in PrintAutoPilot.\");\nexport const PrintautopilotListQueuesOutput = z.object({\n queues: z.array(PrintautopilotListQueues_QueueSchema).describe(\"List of available queues\"),\n}).passthrough().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,gCAAgC,EAAE,OAAO;CACpD,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,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PrintautopilotUploadFileInput = zod.z.object({ file: zod.z.object({
6
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
7
  mimetype: zod.z.string().describe("The MIME type of the file")
8
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.");
9
+ const PrintautopilotUploadFileOutput = zod.z.object({ s3key: zod.z.string().describe("Key in the R2 bucket where the file was stored").nullable() }).passthrough().describe("Response model for UPLOAD_FILE action.");
10
10
  const printautopilotUploadFile = require_action.action("PRINTAUTOPILOT_UPLOAD_FILE", {
11
11
  slug: "printautopilot-upload-file",
12
12
  name: "Upload File",
@@ -1 +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"}
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.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.object({\n s3key: z.string().describe(\"Key in the R2 bucket where the file was stored\").nullable(),\n}).passthrough().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,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,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,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotUploadFileInput: z.ZodObject<{
5
+ file: z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
11
+ declare const PrintautopilotUploadFileOutput: z.ZodObject<{
12
+ s3key: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>;
14
+ declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ file: {
16
+ name: string;
17
+ s3key: string;
18
+ mimetype: string;
19
+ };
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { printautopilotUploadFile };
9
23
  //# sourceMappingURL=upload-file.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PrintautopilotUploadFileInput: z.ZodObject<{
5
+ file: z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
11
+ declare const PrintautopilotUploadFileOutput: z.ZodObject<{
12
+ s3key: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>;
14
+ declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ file: {
16
+ name: string;
17
+ s3key: string;
18
+ mimetype: string;
19
+ };
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { printautopilotUploadFile };
9
23
  //# sourceMappingURL=upload-file.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -9,7 +9,7 @@ const printautopilotUploadFile = action("PRINTAUTOPILOT_UPLOAD_FILE", {
9
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
10
  mimetype: z.string().describe("The MIME type of the file")
11
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.")
12
+ output: z.object({ s3key: z.string().describe("Key in the R2 bucket where the file was stored").nullable() }).passthrough().describe("Response model for UPLOAD_FILE action.")
13
13
  });
14
14
  //#endregion
15
15
  export { printautopilotUploadFile };
@@ -1 +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"}
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.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.object({\n s3key: z.string().describe(\"Key in the R2 bucket where the file was stored\").nullable(),\n}).passthrough().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,OAf2C,EAAE,OAAO,EACpD,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,QAT4C,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const printautopilotCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/printautopilot",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Print Autopilot API Key",
13
+ "secret": true,
14
+ "description": "The API key provided by Print Autopilot for authenticating API requests."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.printautopilotCatalog = printautopilotCatalog;
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Print Autopilot API Key\",\n \"secret\": true,\n \"description\": \"The API key provided by Print Autopilot for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const printautopilotCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/printautopilot";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Print Autopilot API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key provided by Print Autopilot for authenticating API requests.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { printautopilotCatalog };
@@ -8,6 +8,14 @@ declare const printautopilotCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/printautopilot";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Print Autopilot API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key provided by Print Autopilot for authenticating API requests.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { printautopilotCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const printautopilotCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/printautopilot",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Print Autopilot API Key",
13
+ "secret": true,
14
+ "description": "The API key provided by Print Autopilot for authenticating API requests."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { printautopilotCatalog };
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Print Autopilot API Key\",\n \"secret\": true,\n \"description\": \"The API key provided by Print Autopilot for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/printautopilot",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {