@keystrokehq/printautopilot 0.1.2 → 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.
@@ -8,7 +8,7 @@ const PrintautopilotCreateDocumentInput = zod.z.object({
8
8
  const PrintautopilotCreateDocumentOutput = zod.z.object({
9
9
  message: zod.z.string().describe("Response message from the API").nullable(),
10
10
  success: zod.z.boolean().describe("Indicates whether the document was successfully added to the print queue").nullable()
11
- }).describe("Response model for CREATE_DOCUMENT action.");
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.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}).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,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"}
@@ -8,7 +8,7 @@ declare const PrintautopilotCreateDocumentInput: z.ZodObject<{
8
8
  declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  base64: string;
14
14
  fileName: string;
@@ -8,7 +8,7 @@ declare const PrintautopilotCreateDocumentInput: z.ZodObject<{
8
8
  declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const printautopilotCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  base64: string;
14
14
  fileName: string;
@@ -11,7 +11,7 @@ const printautopilotCreateDocument = action("PRINTAUTOPILOT_CREATE_DOCUMENT", {
11
11
  output: z.object({
12
12
  message: z.string().describe("Response message from the API").nullable(),
13
13
  success: z.boolean().describe("Indicates whether the document was successfully added to the print queue").nullable()
14
- }).describe("Response model for CREATE_DOCUMENT action.")
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.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}).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,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"}
@@ -8,8 +8,8 @@ const PrintautopilotListQueuesInput = zod.z.object({
8
8
  const PrintautopilotListQueues_QueueSchema = zod.z.object({
9
9
  name: zod.z.string().describe("Name of the queue").nullable(),
10
10
  queueId: zod.z.string().describe("Unique identifier of the queue").nullable()
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.");
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.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}).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}).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,SAAS,4DAA4D;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,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"}
@@ -9,8 +9,8 @@ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
9
9
  queues: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  queueId: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  page?: number | undefined;
16
16
  nameFilter?: string | undefined;
@@ -9,8 +9,8 @@ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
9
9
  queues: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  queueId: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const printautopilotListQueues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  page?: number | undefined;
16
16
  nameFilter?: string | undefined;
@@ -8,13 +8,13 @@ const PrintautopilotListQueuesInput = z.object({
8
8
  const PrintautopilotListQueues_QueueSchema = z.object({
9
9
  name: z.string().describe("Name of the queue").nullable(),
10
10
  queueId: z.string().describe("Unique identifier of the queue").nullable()
11
- }).describe("Model representing a single print queue in PrintAutoPilot.");
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.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}).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}).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,SAAS,4DAA4D;AAKxE,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,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").nullable() }).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.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}).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,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"}
@@ -10,7 +10,7 @@ declare const PrintautopilotUploadFileInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const PrintautopilotUploadFileOutput: z.ZodObject<{
12
12
  s3key: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  file: {
16
16
  name: string;
@@ -10,7 +10,7 @@ declare const PrintautopilotUploadFileInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const PrintautopilotUploadFileOutput: z.ZodObject<{
12
12
  s3key: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const printautopilotUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  file: {
16
16
  name: string;
@@ -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").nullable() }).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.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}).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,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/printautopilot",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"