@keystrokehq/printautopilot 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-document.cjs +1 -0
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +3 -16
- package/dist/actions/create-document.d.cts.map +1 -1
- package/dist/actions/create-document.d.mts +3 -16
- package/dist/actions/create-document.d.mts.map +1 -1
- package/dist/actions/create-document.mjs +1 -0
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/list-queues.cjs +1 -0
- package/dist/actions/list-queues.cjs.map +1 -1
- package/dist/actions/list-queues.d.cts +3 -16
- package/dist/actions/list-queues.d.cts.map +1 -1
- package/dist/actions/list-queues.d.mts +3 -16
- package/dist/actions/list-queues.d.mts.map +1 -1
- package/dist/actions/list-queues.mjs +1 -0
- package/dist/actions/list-queues.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -19
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -19
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["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:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["printautopilot","executePrintautopilotTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof printautopilot.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { 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:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof printautopilot.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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 +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}).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":"
|
|
1
|
+
{"version":3,"file":"create-document.cjs","names":["z","action"],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotCreateDocumentInput,\n typeof PrintautopilotCreateDocumentOutput,\n typeof printautopilot.credential\n> = 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":";;;;AAMA,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,+BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document.d.ts
|
|
@@ -9,22 +11,7 @@ declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const printautopilotCreateDocument:
|
|
13
|
-
base64: string;
|
|
14
|
-
fileName: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const printautopilotCreateDocument: AppAction<typeof PrintautopilotCreateDocumentInput, typeof PrintautopilotCreateDocumentOutput, typeof printautopilot.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { printautopilotCreateDocument };
|
|
30
17
|
//# sourceMappingURL=create-document.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document.d.ts
|
|
@@ -9,22 +11,7 @@ declare const PrintautopilotCreateDocumentOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const printautopilotCreateDocument:
|
|
13
|
-
base64: string;
|
|
14
|
-
fileName: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const printautopilotCreateDocument: AppAction<typeof PrintautopilotCreateDocumentInput, typeof PrintautopilotCreateDocumentOutput, typeof printautopilot.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { printautopilotCreateDocument };
|
|
30
17
|
//# sourceMappingURL=create-document.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotCreateDocumentInput,\n typeof PrintautopilotCreateDocumentOutput,\n typeof printautopilot.credential\n> = 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":";;;AAeA,MAAa,+BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC1J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,CAAC,CAAC,CAAC,SAAS,2CAcH;CACP,QAdgD,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,4CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-queues.cjs","names":["z","action"],"sources":["../../src/actions/list-queues.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotListQueuesInput,\n typeof PrintautopilotListQueuesOutput,\n typeof printautopilot.credential\n> = 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":";;;;AAMA,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,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-queues.d.ts
|
|
@@ -11,22 +13,7 @@ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
|
|
|
11
13
|
queueId: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const printautopilotListQueues:
|
|
15
|
-
page?: number | undefined;
|
|
16
|
-
nameFilter?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const printautopilotListQueues: AppAction<typeof PrintautopilotListQueuesInput, typeof PrintautopilotListQueuesOutput, typeof printautopilot.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { printautopilotListQueues };
|
|
32
19
|
//# sourceMappingURL=list-queues.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-queues.d.cts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-queues.d.cts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-queues.d.ts
|
|
@@ -11,22 +13,7 @@ declare const PrintautopilotListQueuesOutput: z.ZodObject<{
|
|
|
11
13
|
queueId: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const printautopilotListQueues:
|
|
15
|
-
page?: number | undefined;
|
|
16
|
-
nameFilter?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const printautopilotListQueues: AppAction<typeof PrintautopilotListQueuesInput, typeof PrintautopilotListQueuesOutput, typeof printautopilot.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { printautopilotListQueues };
|
|
32
19
|
//# sourceMappingURL=list-queues.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-queues.d.mts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-queues.d.mts","names":[],"sources":["../../src/actions/list-queues.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-queues.mjs","names":[],"sources":["../../src/actions/list-queues.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotListQueuesInput,\n typeof PrintautopilotListQueuesOutput,\n typeof printautopilot.credential\n> = 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":";;;;AAMA,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,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotUploadFileInput,\n typeof PrintautopilotUploadFileOutput,\n typeof printautopilot.credential\n> = 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":";;;;AAMA,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,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-file.d.ts
|
|
@@ -11,25 +13,7 @@ declare const PrintautopilotUploadFileInput: z.ZodObject<{
|
|
|
11
13
|
declare const PrintautopilotUploadFileOutput: z.ZodObject<{
|
|
12
14
|
s3key: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const printautopilotUploadFile:
|
|
15
|
-
file: {
|
|
16
|
-
name: string;
|
|
17
|
-
s3key: string;
|
|
18
|
-
mimetype: string;
|
|
19
|
-
};
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const printautopilotUploadFile: AppAction<typeof PrintautopilotUploadFileInput, typeof PrintautopilotUploadFileOutput, typeof printautopilot.credential>;
|
|
33
17
|
//#endregion
|
|
34
18
|
export { printautopilotUploadFile };
|
|
35
19
|
//# sourceMappingURL=upload-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { printautopilot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-file.d.ts
|
|
@@ -11,25 +13,7 @@ declare const PrintautopilotUploadFileInput: z.ZodObject<{
|
|
|
11
13
|
declare const PrintautopilotUploadFileOutput: z.ZodObject<{
|
|
12
14
|
s3key: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const printautopilotUploadFile:
|
|
15
|
-
file: {
|
|
16
|
-
name: string;
|
|
17
|
-
s3key: string;
|
|
18
|
-
mimetype: string;
|
|
19
|
-
};
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"printautopilot", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const printautopilotUploadFile: AppAction<typeof PrintautopilotUploadFileInput, typeof PrintautopilotUploadFileOutput, typeof printautopilot.credential>;
|
|
33
17
|
//#endregion
|
|
34
18
|
export { printautopilotUploadFile };
|
|
35
19
|
//# sourceMappingURL=upload-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { printautopilot } from \"../app\";\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: AppAction<\n typeof PrintautopilotUploadFileInput,\n typeof PrintautopilotUploadFileOutput,\n typeof printautopilot.credential\n> = 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":";;;AAiBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,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,uFAaH;CACP,QAb4C,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const printautopilot = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "printautopilot",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.printautopilot = printautopilot;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const printautopilot = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const printautopilot: KeystrokeApp<\"printautopilot\", typeof credential> = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAA8E;CACzF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const printautopilot: KeystrokeApp<"printautopilot", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { printautopilot };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,cAAA,EAAgB,YAAY,0BAA0B,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const printautopilot: KeystrokeApp<"printautopilot", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { printautopilot };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,cAAA,EAAgB,YAAY,0BAA0B,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const printautopilot = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const printautopilot: KeystrokeApp<\"printautopilot\", typeof credential> = defineApp({\n slug: \"printautopilot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,iBAAoE,UAAU;CACzF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { printautopilot } from "./app.cjs";
|
|
1
2
|
import { printautopilotCreateDocument } from "./actions/create-document.cjs";
|
|
2
3
|
import { printautopilotListQueues } from "./actions/list-queues.cjs";
|
|
3
4
|
import { printautopilotUploadFile } from "./actions/upload-file.cjs";
|
|
4
|
-
import { printautopilot } from "./app.cjs";
|
|
5
5
|
import { printautopilotCatalog } from "./catalog.cjs";
|
|
6
6
|
export { printautopilot, printautopilotCatalog, printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { printautopilot } from "./app.mjs";
|
|
1
2
|
import { printautopilotCreateDocument } from "./actions/create-document.mjs";
|
|
2
3
|
import { printautopilotListQueues } from "./actions/list-queues.mjs";
|
|
3
4
|
import { printautopilotUploadFile } from "./actions/upload-file.mjs";
|
|
4
|
-
import { printautopilot } from "./app.mjs";
|
|
5
5
|
import { printautopilotCatalog } from "./catalog.mjs";
|
|
6
6
|
export { printautopilot, printautopilotCatalog, printautopilotCreateDocument, printautopilotListQueues, printautopilotUploadFile };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/printautopilot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|