@keystrokehq/passslot 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-scanner.cjs +1 -0
- package/dist/actions/create-scanner.cjs.map +1 -1
- package/dist/actions/create-scanner.d.cts +3 -18
- package/dist/actions/create-scanner.d.cts.map +1 -1
- package/dist/actions/create-scanner.d.mts +3 -18
- package/dist/actions/create-scanner.d.mts.map +1 -1
- package/dist/actions/create-scanner.mjs +1 -0
- package/dist/actions/create-scanner.mjs.map +1 -1
- package/dist/actions/delete-scanner.cjs +1 -0
- package/dist/actions/delete-scanner.cjs.map +1 -1
- package/dist/actions/delete-scanner.d.cts +3 -15
- package/dist/actions/delete-scanner.d.cts.map +1 -1
- package/dist/actions/delete-scanner.d.mts +3 -15
- package/dist/actions/delete-scanner.d.mts.map +1 -1
- package/dist/actions/delete-scanner.mjs +1 -0
- package/dist/actions/delete-scanner.mjs.map +1 -1
- package/dist/actions/get-pass-types.cjs +1 -0
- package/dist/actions/get-pass-types.cjs.map +1 -1
- package/dist/actions/get-pass-types.d.cts +3 -13
- package/dist/actions/get-pass-types.d.cts.map +1 -1
- package/dist/actions/get-pass-types.d.mts +3 -13
- package/dist/actions/get-pass-types.d.mts.map +1 -1
- package/dist/actions/get-pass-types.mjs +1 -0
- package/dist/actions/get-pass-types.mjs.map +1 -1
- package/dist/actions/get-passes-by-pass-type.cjs +1 -0
- package/dist/actions/get-passes-by-pass-type.cjs.map +1 -1
- package/dist/actions/get-passes-by-pass-type.d.cts +3 -15
- package/dist/actions/get-passes-by-pass-type.d.cts.map +1 -1
- package/dist/actions/get-passes-by-pass-type.d.mts +3 -15
- package/dist/actions/get-passes-by-pass-type.d.mts.map +1 -1
- package/dist/actions/get-passes-by-pass-type.mjs +1 -0
- package/dist/actions/get-passes-by-pass-type.mjs.map +1 -1
- package/dist/actions/get-scanner.cjs +1 -0
- package/dist/actions/get-scanner.cjs.map +1 -1
- package/dist/actions/get-scanner.d.cts +3 -15
- package/dist/actions/get-scanner.d.cts.map +1 -1
- package/dist/actions/get-scanner.d.mts +3 -15
- package/dist/actions/get-scanner.d.mts.map +1 -1
- package/dist/actions/get-scanner.mjs +1 -0
- package/dist/actions/get-scanner.mjs.map +1 -1
- package/dist/actions/list-scanners.cjs +1 -0
- package/dist/actions/list-scanners.cjs.map +1 -1
- package/dist/actions/list-scanners.d.cts +3 -13
- package/dist/actions/list-scanners.d.cts.map +1 -1
- package/dist/actions/list-scanners.d.mts +3 -13
- package/dist/actions/list-scanners.d.mts.map +1 -1
- package/dist/actions/list-scanners.mjs +1 -0
- package/dist/actions/list-scanners.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -13
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -13
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/update-scanner.cjs +1 -0
- package/dist/actions/update-scanner.cjs.map +1 -1
- package/dist/actions/update-scanner.d.cts +3 -18
- package/dist/actions/update-scanner.d.cts.map +1 -1
- package/dist/actions/update-scanner.d.mts +3 -18
- package/dist/actions/update-scanner.d.mts.map +1 -1
- package/dist/actions/update-scanner.mjs +1 -0
- package/dist/actions/update-scanner.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":["passslot","executePassslotTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { passslot } from \"./app\";\nimport { executePassslotTool } 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":["passslot","executePassslotTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { passslot } from \"./app\";\nimport { executePassslotTool } 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 passslot.credential> {\n return passslot.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 executePassslotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;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 { passslot } from \"./app\";\nimport { executePassslotTool } 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 { passslot } from \"./app\";\nimport { executePassslotTool } 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 passslot.credential> {\n return passslot.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 executePassslotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-scanner.cjs","names":["z","action"],"sources":["../../src/actions/create-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotCreateScannerInput = z.object({\n name: z.string().describe(\"Scanner name\"),\n type: z.enum([\"PassVerifier\", \"Browser\"]).describe(\"Scanner type: PassVerifier or Browser (case sensitive)\"),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If false, allowedTemplates array is required\").optional(),\n allowedTemplates: z.array(z.string()).describe(\"Array of template IDs that the scanner can access. Required if fullAccess is false\").optional(),\n}).describe(\"Request model for creating a new scanner in Passslot.\");\nexport const PassslotCreateScannerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the scanner\").nullable().optional(),\n name: z.string().describe(\"Scanner name\").nullable().optional(),\n type: z.string().describe(\"Scanner type (PassVerifier or Browser)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates\").nullable().optional(),\n authenticationToken: z.string().describe(\"Authentication token for the scanner\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL for PassVerifier scanner type\").nullable().optional(),\n}).passthrough().describe(\"Response model for scanner creation - returns scanner details.\");\n\nexport const passslotCreateScanner = action(\"PASSSLOT_CREATE_SCANNER\", {\n slug: \"passslot-create-scanner\",\n name: \"Create Scanner\",\n description: \"Tool to create a new scanner in Passslot. Use when you need to create a PassVerifier or Browser type scanner. Your app key must have full access to manage scanners. If fullAccess is false, provide allowedTemplates array.\",\n input: PassslotCreateScannerInput,\n output: PassslotCreateScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-scanner.cjs","names":["z","action"],"sources":["../../src/actions/create-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotCreateScannerInput = z.object({\n name: z.string().describe(\"Scanner name\"),\n type: z.enum([\"PassVerifier\", \"Browser\"]).describe(\"Scanner type: PassVerifier or Browser (case sensitive)\"),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If false, allowedTemplates array is required\").optional(),\n allowedTemplates: z.array(z.string()).describe(\"Array of template IDs that the scanner can access. Required if fullAccess is false\").optional(),\n}).describe(\"Request model for creating a new scanner in Passslot.\");\nexport const PassslotCreateScannerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the scanner\").nullable().optional(),\n name: z.string().describe(\"Scanner name\").nullable().optional(),\n type: z.string().describe(\"Scanner type (PassVerifier or Browser)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates\").nullable().optional(),\n authenticationToken: z.string().describe(\"Authentication token for the scanner\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL for PassVerifier scanner type\").nullable().optional(),\n}).passthrough().describe(\"Response model for scanner creation - returns scanner details.\");\n\nexport const passslotCreateScanner: AppAction<\n typeof PassslotCreateScannerInput,\n typeof PassslotCreateScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_CREATE_SCANNER\", {\n slug: \"passslot-create-scanner\",\n name: \"Create Scanner\",\n description: \"Tool to create a new scanner in Passslot. Use when you need to create a PassVerifier or Browser type scanner. Your app key must have full access to manage scanners. If fullAccess is false, provide allowedTemplates array.\",\n input: PassslotCreateScannerInput,\n output: PassslotCreateScannerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,MAAMA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,SAAS,CAAC,CAAC,CAAC,SAAS,wDAAwD;CAC3G,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-scanner.d.ts
|
|
@@ -18,24 +20,7 @@ declare const PassslotCreateScannerOutput: z.ZodObject<{
|
|
|
18
20
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const passslotCreateScanner:
|
|
22
|
-
name: string;
|
|
23
|
-
type: "PassVerifier" | "Browser";
|
|
24
|
-
fullAccess?: boolean | undefined;
|
|
25
|
-
allowedTemplates?: string[] | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const passslotCreateScanner: AppAction<typeof PassslotCreateScannerInput, typeof PassslotCreateScannerOutput, typeof passslot.credential>;
|
|
39
24
|
//#endregion
|
|
40
25
|
export { passslotCreateScanner };
|
|
41
26
|
//# sourceMappingURL=create-scanner.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-scanner.d.cts","names":[],"sources":["../../src/actions/create-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-scanner.d.cts","names":[],"sources":["../../src/actions/create-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-scanner.d.ts
|
|
@@ -18,24 +20,7 @@ declare const PassslotCreateScannerOutput: z.ZodObject<{
|
|
|
18
20
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const passslotCreateScanner:
|
|
22
|
-
name: string;
|
|
23
|
-
type: "PassVerifier" | "Browser";
|
|
24
|
-
fullAccess?: boolean | undefined;
|
|
25
|
-
allowedTemplates?: string[] | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const passslotCreateScanner: AppAction<typeof PassslotCreateScannerInput, typeof PassslotCreateScannerOutput, typeof passslot.credential>;
|
|
39
24
|
//#endregion
|
|
40
25
|
export { passslotCreateScanner };
|
|
41
26
|
//# sourceMappingURL=create-scanner.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-scanner.d.mts","names":[],"sources":["../../src/actions/create-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-scanner.d.mts","names":[],"sources":["../../src/actions/create-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-scanner.mjs","names":[],"sources":["../../src/actions/create-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotCreateScannerInput = z.object({\n name: z.string().describe(\"Scanner name\"),\n type: z.enum([\"PassVerifier\", \"Browser\"]).describe(\"Scanner type: PassVerifier or Browser (case sensitive)\"),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If false, allowedTemplates array is required\").optional(),\n allowedTemplates: z.array(z.string()).describe(\"Array of template IDs that the scanner can access. Required if fullAccess is false\").optional(),\n}).describe(\"Request model for creating a new scanner in Passslot.\");\nexport const PassslotCreateScannerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the scanner\").nullable().optional(),\n name: z.string().describe(\"Scanner name\").nullable().optional(),\n type: z.string().describe(\"Scanner type (PassVerifier or Browser)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates\").nullable().optional(),\n authenticationToken: z.string().describe(\"Authentication token for the scanner\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL for PassVerifier scanner type\").nullable().optional(),\n}).passthrough().describe(\"Response model for scanner creation - returns scanner details.\");\n\nexport const passslotCreateScanner = action(\"PASSSLOT_CREATE_SCANNER\", {\n slug: \"passslot-create-scanner\",\n name: \"Create Scanner\",\n description: \"Tool to create a new scanner in Passslot. Use when you need to create a PassVerifier or Browser type scanner. Your app key must have full access to manage scanners. If fullAccess is false, provide allowedTemplates array.\",\n input: PassslotCreateScannerInput,\n output: PassslotCreateScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-scanner.mjs","names":[],"sources":["../../src/actions/create-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotCreateScannerInput = z.object({\n name: z.string().describe(\"Scanner name\"),\n type: z.enum([\"PassVerifier\", \"Browser\"]).describe(\"Scanner type: PassVerifier or Browser (case sensitive)\"),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If false, allowedTemplates array is required\").optional(),\n allowedTemplates: z.array(z.string()).describe(\"Array of template IDs that the scanner can access. Required if fullAccess is false\").optional(),\n}).describe(\"Request model for creating a new scanner in Passslot.\");\nexport const PassslotCreateScannerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the scanner\").nullable().optional(),\n name: z.string().describe(\"Scanner name\").nullable().optional(),\n type: z.string().describe(\"Scanner type (PassVerifier or Browser)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates\").nullable().optional(),\n authenticationToken: z.string().describe(\"Authentication token for the scanner\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL for PassVerifier scanner type\").nullable().optional(),\n}).passthrough().describe(\"Response model for scanner creation - returns scanner details.\");\n\nexport const passslotCreateScanner: AppAction<\n typeof PassslotCreateScannerInput,\n typeof PassslotCreateScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_CREATE_SCANNER\", {\n slug: \"passslot-create-scanner\",\n name: \"Create Scanner\",\n description: \"Tool to create a new scanner in Passslot. Use when you need to create a PassVerifier or Browser type scanner. Your app key must have full access to manage scanners. If fullAccess is false, provide allowedTemplates array.\",\n input: PassslotCreateScannerInput,\n output: PassslotCreateScannerOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,MAAM,EAAE,KAAK,CAAC,gBAAgB,SAAS,CAAC,CAAC,CAAC,SAAS,wDAAwD;EAC3G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,uDAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-scanner.cjs","names":["z","action"],"sources":["../../src/actions/delete-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotDeleteScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to delete\"),\n}).describe(\"Request model for deleting a scanner.\");\nexport const PassslotDeleteScannerOutput = z.object({\n message: z.string().describe(\"Optional message from the API response\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the scanner was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete scanner operation.\");\n\nexport const passslotDeleteScanner = action(\"PASSSLOT_DELETE_SCANNER\", {\n slug: \"passslot-delete-scanner\",\n name: \"Delete Scanner\",\n description: \"Tool to delete a scanner by ID. Use when you need to remove a scanner from the system. Requires full access app key to manage scanners.\",\n input: PassslotDeleteScannerInput,\n output: PassslotDeleteScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-scanner.cjs","names":["z","action"],"sources":["../../src/actions/delete-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotDeleteScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to delete\"),\n}).describe(\"Request model for deleting a scanner.\");\nexport const PassslotDeleteScannerOutput = z.object({\n message: z.string().describe(\"Optional message from the API response\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the scanner was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete scanner operation.\");\n\nexport const passslotDeleteScanner: AppAction<\n typeof PassslotDeleteScannerInput,\n typeof PassslotDeleteScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_DELETE_SCANNER\", {\n slug: \"passslot-delete-scanner\",\n name: \"Delete Scanner\",\n description: \"Tool to delete a scanner by ID. Use when you need to remove a scanner from the system. Requires full access app key to manage scanners.\",\n input: PassslotDeleteScannerInput,\n output: PassslotDeleteScannerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-scanner.d.ts
|
|
@@ -8,21 +10,7 @@ declare const PassslotDeleteScannerOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const passslotDeleteScanner:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const passslotDeleteScanner: AppAction<typeof PassslotDeleteScannerInput, typeof PassslotDeleteScannerOutput, typeof passslot.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { passslotDeleteScanner };
|
|
28
16
|
//# sourceMappingURL=delete-scanner.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-scanner.d.cts","names":[],"sources":["../../src/actions/delete-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-scanner.d.cts","names":[],"sources":["../../src/actions/delete-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-scanner.d.ts
|
|
@@ -8,21 +10,7 @@ declare const PassslotDeleteScannerOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const passslotDeleteScanner:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const passslotDeleteScanner: AppAction<typeof PassslotDeleteScannerInput, typeof PassslotDeleteScannerOutput, typeof passslot.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { passslotDeleteScanner };
|
|
28
16
|
//# sourceMappingURL=delete-scanner.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-scanner.d.mts","names":[],"sources":["../../src/actions/delete-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-scanner.d.mts","names":[],"sources":["../../src/actions/delete-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-scanner.mjs","names":[],"sources":["../../src/actions/delete-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotDeleteScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to delete\"),\n}).describe(\"Request model for deleting a scanner.\");\nexport const PassslotDeleteScannerOutput = z.object({\n message: z.string().describe(\"Optional message from the API response\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the scanner was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete scanner operation.\");\n\nexport const passslotDeleteScanner = action(\"PASSSLOT_DELETE_SCANNER\", {\n slug: \"passslot-delete-scanner\",\n name: \"Delete Scanner\",\n description: \"Tool to delete a scanner by ID. Use when you need to remove a scanner from the system. Requires full access app key to manage scanners.\",\n input: PassslotDeleteScannerInput,\n output: PassslotDeleteScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-scanner.mjs","names":[],"sources":["../../src/actions/delete-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotDeleteScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to delete\"),\n}).describe(\"Request model for deleting a scanner.\");\nexport const PassslotDeleteScannerOutput = z.object({\n message: z.string().describe(\"Optional message from the API response\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the scanner was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete scanner operation.\");\n\nexport const passslotDeleteScanner: AppAction<\n typeof PassslotDeleteScannerInput,\n typeof PassslotDeleteScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_DELETE_SCANNER\", {\n slug: \"passslot-delete-scanner\",\n name: \"Delete Scanner\",\n description: \"Tool to delete a scanner by ID. Use when you need to remove a scanner from the system. Requires full access app key to manage scanners.\",\n input: PassslotDeleteScannerInput,\n output: PassslotDeleteScannerOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,uCAcH;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pass-types.cjs","names":["z","action"],"sources":["../../src/actions/get-pass-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetPassTypesInput = z.object({}).describe(\"Request model for GET_PASS_TYPES: no parameters.\");\nexport const PassslotGetPassTypesOutput = z.unknown();\n\nexport const passslotGetPassTypes = action(\"PASSSLOT_GET_PASS_TYPES\", {\n slug: \"passslot-get-pass-types\",\n name: \"Get Pass Types\",\n description: \"Tool to list all available pass types. Use when you need to retrieve supported pass-type identifiers before creating passes.\",\n input: PassslotGetPassTypesInput,\n output: PassslotGetPassTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pass-types.cjs","names":["z","action"],"sources":["../../src/actions/get-pass-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetPassTypesInput = z.object({}).describe(\"Request model for GET_PASS_TYPES: no parameters.\");\nexport const PassslotGetPassTypesOutput = z.unknown();\n\nexport const passslotGetPassTypes: AppAction<\n typeof PassslotGetPassTypesInput,\n typeof PassslotGetPassTypesOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_PASS_TYPES\", {\n slug: \"passslot-get-pass-types\",\n name: \"Get Pass Types\",\n description: \"Tool to list all available pass types. Use when you need to retrieve supported pass-type identifiers before creating passes.\",\n input: PassslotGetPassTypesInput,\n output: PassslotGetPassTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACjH,MAAa,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-pass-types.d.ts
|
|
4
6
|
declare const PassslotGetPassTypesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotGetPassTypesOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotGetPassTypes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotGetPassTypes: AppAction<typeof PassslotGetPassTypesInput, typeof PassslotGetPassTypesOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotGetPassTypes };
|
|
21
11
|
//# sourceMappingURL=get-pass-types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pass-types.d.cts","names":[],"sources":["../../src/actions/get-pass-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pass-types.d.cts","names":[],"sources":["../../src/actions/get-pass-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-pass-types.d.ts
|
|
4
6
|
declare const PassslotGetPassTypesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotGetPassTypesOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotGetPassTypes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotGetPassTypes: AppAction<typeof PassslotGetPassTypesInput, typeof PassslotGetPassTypesOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotGetPassTypes };
|
|
21
11
|
//# sourceMappingURL=get-pass-types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pass-types.d.mts","names":[],"sources":["../../src/actions/get-pass-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pass-types.d.mts","names":[],"sources":["../../src/actions/get-pass-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pass-types.mjs","names":[],"sources":["../../src/actions/get-pass-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetPassTypesInput = z.object({}).describe(\"Request model for GET_PASS_TYPES: no parameters.\");\nexport const PassslotGetPassTypesOutput = z.unknown();\n\nexport const passslotGetPassTypes = action(\"PASSSLOT_GET_PASS_TYPES\", {\n slug: \"passslot-get-pass-types\",\n name: \"Get Pass Types\",\n description: \"Tool to list all available pass types. Use when you need to retrieve supported pass-type identifiers before creating passes.\",\n input: PassslotGetPassTypesInput,\n output: PassslotGetPassTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pass-types.mjs","names":[],"sources":["../../src/actions/get-pass-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetPassTypesInput = z.object({}).describe(\"Request model for GET_PASS_TYPES: no parameters.\");\nexport const PassslotGetPassTypesOutput = z.unknown();\n\nexport const passslotGetPassTypes: AppAction<\n typeof PassslotGetPassTypesInput,\n typeof PassslotGetPassTypesOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_PASS_TYPES\", {\n slug: \"passslot-get-pass-types\",\n name: \"Get Pass Types\",\n description: \"Tool to list all available pass types. Use when you need to retrieve supported pass-type identifiers before creating passes.\",\n input: PassslotGetPassTypesInput,\n output: PassslotGetPassTypesOutput,\n});\n"],"mappings":";;;AASA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAWtD;CACP,QAXwC,EAAE,QAWlC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-passes-by-pass-type.cjs","names":["z","action"],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetPassesByPassTypeInput = z.object({\n passtype_id: z.string().describe(\"Filter passes by this Pass Type ID (e.g., 'pass.example.id1'). If not provided, returns all passes.\").optional(),\n}).describe(\"Request model for GetPassesByPassType API.\");\nexport const PassslotGetPassesByPassTypeOutput = z.unknown();\n\nexport const passslotGetPassesByPassType = action(\"PASSSLOT_GET_PASSES_BY_PASS_TYPE\", {\n slug: \"passslot-get-passes-by-pass-type\",\n name: \"Get Passes by Pass Type\",\n description: \"Tool to list Wallet passes, optionally filtered by a Pass Type ID. If passtype_id is provided, returns passes for that specific pass type. If passtype_id is not provided, returns all passes.\",\n input: PassslotGetPassesByPassTypeInput,\n output: PassslotGetPassesByPassTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-passes-by-pass-type.cjs","names":["z","action"],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetPassesByPassTypeInput = z.object({\n passtype_id: z.string().describe(\"Filter passes by this Pass Type ID (e.g., 'pass.example.id1'). If not provided, returns all passes.\").optional(),\n}).describe(\"Request model for GetPassesByPassType API.\");\nexport const PassslotGetPassesByPassTypeOutput = z.unknown();\n\nexport const passslotGetPassesByPassType: AppAction<\n typeof PassslotGetPassesByPassTypeInput,\n typeof PassslotGetPassesByPassTypeOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_PASSES_BY_PASS_TYPE\", {\n slug: \"passslot-get-passes-by-pass-type\",\n name: \"Get Passes by Pass Type\",\n description: \"Tool to list Wallet passes, optionally filtered by a Pass Type ID. If passtype_id is provided, returns passes for that specific pass type. If passtype_id is not provided, returns all passes.\",\n input: PassslotGetPassesByPassTypeInput,\n output: PassslotGetPassesByPassTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-passes-by-pass-type.d.ts
|
|
@@ -5,21 +7,7 @@ declare const PassslotGetPassesByPassTypeInput: z.ZodObject<{
|
|
|
5
7
|
passtype_id: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const PassslotGetPassesByPassTypeOutput: z.ZodUnknown;
|
|
8
|
-
declare const passslotGetPassesByPassType:
|
|
9
|
-
passtype_id?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const passslotGetPassesByPassType: AppAction<typeof PassslotGetPassesByPassTypeInput, typeof PassslotGetPassesByPassTypeOutput, typeof passslot.credential>;
|
|
23
11
|
//#endregion
|
|
24
12
|
export { passslotGetPassesByPassType };
|
|
25
13
|
//# sourceMappingURL=get-passes-by-pass-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-passes-by-pass-type.d.cts","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-passes-by-pass-type.d.cts","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-passes-by-pass-type.d.ts
|
|
@@ -5,21 +7,7 @@ declare const PassslotGetPassesByPassTypeInput: z.ZodObject<{
|
|
|
5
7
|
passtype_id: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const PassslotGetPassesByPassTypeOutput: z.ZodUnknown;
|
|
8
|
-
declare const passslotGetPassesByPassType:
|
|
9
|
-
passtype_id?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const passslotGetPassesByPassType: AppAction<typeof PassslotGetPassesByPassTypeInput, typeof PassslotGetPassesByPassTypeOutput, typeof passslot.credential>;
|
|
23
11
|
//#endregion
|
|
24
12
|
export { passslotGetPassesByPassType };
|
|
25
13
|
//# sourceMappingURL=get-passes-by-pass-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-passes-by-pass-type.d.mts","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-passes-by-pass-type.d.mts","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-passes-by-pass-type.mjs","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetPassesByPassTypeInput = z.object({\n passtype_id: z.string().describe(\"Filter passes by this Pass Type ID (e.g., 'pass.example.id1'). If not provided, returns all passes.\").optional(),\n}).describe(\"Request model for GetPassesByPassType API.\");\nexport const PassslotGetPassesByPassTypeOutput = z.unknown();\n\nexport const passslotGetPassesByPassType = action(\"PASSSLOT_GET_PASSES_BY_PASS_TYPE\", {\n slug: \"passslot-get-passes-by-pass-type\",\n name: \"Get Passes by Pass Type\",\n description: \"Tool to list Wallet passes, optionally filtered by a Pass Type ID. If passtype_id is provided, returns passes for that specific pass type. If passtype_id is not provided, returns all passes.\",\n input: PassslotGetPassesByPassTypeInput,\n output: PassslotGetPassesByPassTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-passes-by-pass-type.mjs","names":[],"sources":["../../src/actions/get-passes-by-pass-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetPassesByPassTypeInput = z.object({\n passtype_id: z.string().describe(\"Filter passes by this Pass Type ID (e.g., 'pass.example.id1'). If not provided, returns all passes.\").optional(),\n}).describe(\"Request model for GetPassesByPassType API.\");\nexport const PassslotGetPassesByPassTypeOutput = z.unknown();\n\nexport const passslotGetPassesByPassType: AppAction<\n typeof PassslotGetPassesByPassTypeInput,\n typeof PassslotGetPassesByPassTypeOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_PASSES_BY_PASS_TYPE\", {\n slug: \"passslot-get-passes-by-pass-type\",\n name: \"Get Passes by Pass Type\",\n description: \"Tool to list Wallet passes, optionally filtered by a Pass Type ID. If passtype_id is provided, returns passes for that specific pass type. If passtype_id is not provided, returns all passes.\",\n input: PassslotGetPassesByPassTypeInput,\n output: PassslotGetPassesByPassTypeOutput,\n});\n"],"mappings":";;;AAWA,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8C,EAAE,OAAO,EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX+C,EAAE,QAWzC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scanner.cjs","names":["z","action"],"sources":["../../src/actions/get-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to retrieve\"),\n}).describe(\"Request model for retrieving a specific scanner by ID.\");\nexport const PassslotGetScannerOutput = z.object({\n id: z.number().int().describe(\"Scanner identifier\").nullable(),\n name: z.string().describe(\"Scanner display name\").nullable(),\n type: z.string().describe(\"Scanner type (e.g., PassVerifier)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Indicates whether scanner has full access permissions\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for authentication purposes\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL in passverifier protocol format\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving scanner details.\");\n\nexport const passslotGetScanner = action(\"PASSSLOT_GET_SCANNER\", {\n slug: \"passslot-get-scanner\",\n name: \"Get Scanner\",\n description: \"Tool to retrieve details of a specific scanner. Use when you need to get information about a scanner by its ID. Requires app key with full access to manage scanners.\",\n input: PassslotGetScannerInput,\n output: PassslotGetScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-scanner.cjs","names":["z","action"],"sources":["../../src/actions/get-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to retrieve\"),\n}).describe(\"Request model for retrieving a specific scanner by ID.\");\nexport const PassslotGetScannerOutput = z.object({\n id: z.number().int().describe(\"Scanner identifier\").nullable(),\n name: z.string().describe(\"Scanner display name\").nullable(),\n type: z.string().describe(\"Scanner type (e.g., PassVerifier)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Indicates whether scanner has full access permissions\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for authentication purposes\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL in passverifier protocol format\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving scanner details.\");\n\nexport const passslotGetScanner: AppAction<\n typeof PassslotGetScannerInput,\n typeof PassslotGetScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_SCANNER\", {\n slug: \"passslot-get-scanner\",\n name: \"Get Scanner\",\n description: \"Tool to retrieve details of a specific scanner. Use when you need to get information about a scanner by its ID. Requires app key with full access to manage scanners.\",\n input: PassslotGetScannerInput,\n output: PassslotGetScannerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-scanner.d.ts
|
|
@@ -12,21 +14,7 @@ declare const PassslotGetScannerOutput: z.ZodObject<{
|
|
|
12
14
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const passslotGetScanner:
|
|
16
|
-
id: number;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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<"passslot", 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>>]>;
|
|
17
|
+
declare const passslotGetScanner: AppAction<typeof PassslotGetScannerInput, typeof PassslotGetScannerOutput, typeof passslot.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { passslotGetScanner };
|
|
32
20
|
//# sourceMappingURL=get-scanner.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scanner.d.cts","names":[],"sources":["../../src/actions/get-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-scanner.d.cts","names":[],"sources":["../../src/actions/get-scanner.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-scanner.d.ts
|
|
@@ -12,21 +14,7 @@ declare const PassslotGetScannerOutput: z.ZodObject<{
|
|
|
12
14
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const passslotGetScanner:
|
|
16
|
-
id: number;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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<"passslot", 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>>]>;
|
|
17
|
+
declare const passslotGetScanner: AppAction<typeof PassslotGetScannerInput, typeof PassslotGetScannerOutput, typeof passslot.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { passslotGetScanner };
|
|
32
20
|
//# sourceMappingURL=get-scanner.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scanner.d.mts","names":[],"sources":["../../src/actions/get-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-scanner.d.mts","names":[],"sources":["../../src/actions/get-scanner.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scanner.mjs","names":[],"sources":["../../src/actions/get-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotGetScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to retrieve\"),\n}).describe(\"Request model for retrieving a specific scanner by ID.\");\nexport const PassslotGetScannerOutput = z.object({\n id: z.number().int().describe(\"Scanner identifier\").nullable(),\n name: z.string().describe(\"Scanner display name\").nullable(),\n type: z.string().describe(\"Scanner type (e.g., PassVerifier)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Indicates whether scanner has full access permissions\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for authentication purposes\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL in passverifier protocol format\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving scanner details.\");\n\nexport const passslotGetScanner = action(\"PASSSLOT_GET_SCANNER\", {\n slug: \"passslot-get-scanner\",\n name: \"Get Scanner\",\n description: \"Tool to retrieve details of a specific scanner. Use when you need to get information about a scanner by its ID. Requires app key with full access to manage scanners.\",\n input: PassslotGetScannerInput,\n output: PassslotGetScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-scanner.mjs","names":[],"sources":["../../src/actions/get-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotGetScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to retrieve\"),\n}).describe(\"Request model for retrieving a specific scanner by ID.\");\nexport const PassslotGetScannerOutput = z.object({\n id: z.number().int().describe(\"Scanner identifier\").nullable(),\n name: z.string().describe(\"Scanner display name\").nullable(),\n type: z.string().describe(\"Scanner type (e.g., PassVerifier)\").nullable().optional(),\n fullAccess: z.boolean().describe(\"Indicates whether scanner has full access permissions\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for authentication purposes\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Authorization URL in passverifier protocol format\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving scanner details.\");\n\nexport const passslotGetScanner: AppAction<\n typeof PassslotGetScannerInput,\n typeof PassslotGetScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_GET_SCANNER\", {\n slug: \"passslot-get-scanner\",\n name: \"Get Scanner\",\n description: \"Tool to retrieve details of a specific scanner. Use when you need to get information about a scanner by its ID. Requires app key with full access to manage scanners.\",\n input: PassslotGetScannerInput,\n output: PassslotGetScannerOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scanners.cjs","names":["z","action"],"sources":["../../src/actions/list-scanners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotListScannersInput = z.object({}).describe(\"Request model for listing scanners. No parameters required.\");\nexport const PassslotListScannersOutput = z.unknown();\n\nexport const passslotListScanners = action(\"PASSSLOT_LIST_SCANNERS\", {\n slug: \"passslot-list-scanners\",\n name: \"List Scanners\",\n description: \"Tool to retrieve a list of all scanners. Use when you need to list all configured scanners. Your app key must have full access to manage scanners.\",\n input: PassslotListScannersInput,\n output: PassslotListScannersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scanners.cjs","names":["z","action"],"sources":["../../src/actions/list-scanners.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotListScannersInput = z.object({}).describe(\"Request model for listing scanners. No parameters required.\");\nexport const PassslotListScannersOutput = z.unknown();\n\nexport const passslotListScanners: AppAction<\n typeof PassslotListScannersInput,\n typeof PassslotListScannersOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_LIST_SCANNERS\", {\n slug: \"passslot-list-scanners\",\n name: \"List Scanners\",\n description: \"Tool to retrieve a list of all scanners. Use when you need to list all configured scanners. Your app key must have full access to manage scanners.\",\n input: PassslotListScannersInput,\n output: PassslotListScannersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC5H,MAAa,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-scanners.d.ts
|
|
4
6
|
declare const PassslotListScannersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotListScannersOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotListScanners:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotListScanners: AppAction<typeof PassslotListScannersInput, typeof PassslotListScannersOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotListScanners };
|
|
21
11
|
//# sourceMappingURL=list-scanners.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scanners.d.cts","names":[],"sources":["../../src/actions/list-scanners.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scanners.d.cts","names":[],"sources":["../../src/actions/list-scanners.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-scanners.d.ts
|
|
4
6
|
declare const PassslotListScannersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotListScannersOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotListScanners:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotListScanners: AppAction<typeof PassslotListScannersInput, typeof PassslotListScannersOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotListScanners };
|
|
21
11
|
//# sourceMappingURL=list-scanners.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scanners.d.mts","names":[],"sources":["../../src/actions/list-scanners.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scanners.d.mts","names":[],"sources":["../../src/actions/list-scanners.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scanners.mjs","names":[],"sources":["../../src/actions/list-scanners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotListScannersInput = z.object({}).describe(\"Request model for listing scanners. No parameters required.\");\nexport const PassslotListScannersOutput = z.unknown();\n\nexport const passslotListScanners = action(\"PASSSLOT_LIST_SCANNERS\", {\n slug: \"passslot-list-scanners\",\n name: \"List Scanners\",\n description: \"Tool to retrieve a list of all scanners. Use when you need to list all configured scanners. Your app key must have full access to manage scanners.\",\n input: PassslotListScannersInput,\n output: PassslotListScannersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scanners.mjs","names":[],"sources":["../../src/actions/list-scanners.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotListScannersInput = z.object({}).describe(\"Request model for listing scanners. No parameters required.\");\nexport const PassslotListScannersOutput = z.unknown();\n\nexport const passslotListScanners: AppAction<\n typeof PassslotListScannersInput,\n typeof PassslotListScannersOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_LIST_SCANNERS\", {\n slug: \"passslot-list-scanners\",\n name: \"List Scanners\",\n description: \"Tool to retrieve a list of all scanners. Use when you need to list all configured scanners. Your app key must have full access to manage scanners.\",\n input: PassslotListScannersInput,\n output: PassslotListScannersOutput,\n});\n"],"mappings":";;;AASA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAWtD;CACP,QAXwC,EAAE,QAWlC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nexport const PassslotListTemplatesOutput = z.unknown();\n\nexport const passslotListTemplates = action(\"PASSSLOT_LIST_TEMPLATES\", {\n slug: \"passslot-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of all pass templates. Use when you need to see available templates for creating passes.\",\n input: PassslotListTemplatesInput,\n output: PassslotListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nexport const PassslotListTemplatesOutput = z.unknown();\n\nexport const passslotListTemplates: AppAction<\n typeof PassslotListTemplatesInput,\n typeof PassslotListTemplatesOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_LIST_TEMPLATES\", {\n slug: \"passslot-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of all pass templates. Use when you need to see available templates for creating passes.\",\n input: PassslotListTemplatesInput,\n output: PassslotListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAa,8BAA8BA,IAAAA,EAAE,QAAQ;AAErD,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
4
6
|
declare const PassslotListTemplatesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotListTemplatesOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotListTemplates:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotListTemplates: AppAction<typeof PassslotListTemplatesInput, typeof PassslotListTemplatesOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotListTemplates };
|
|
21
11
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
4
6
|
declare const PassslotListTemplatesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PassslotListTemplatesOutput: z.ZodUnknown;
|
|
6
|
-
declare const passslotListTemplates:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const passslotListTemplates: AppAction<typeof PassslotListTemplatesInput, typeof PassslotListTemplatesOutput, typeof passslot.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { passslotListTemplates };
|
|
21
11
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nexport const PassslotListTemplatesOutput = z.unknown();\n\nexport const passslotListTemplates = action(\"PASSSLOT_LIST_TEMPLATES\", {\n slug: \"passslot-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of all pass templates. Use when you need to see available templates for creating passes.\",\n input: PassslotListTemplatesInput,\n output: PassslotListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nexport const PassslotListTemplatesOutput = z.unknown();\n\nexport const passslotListTemplates: AppAction<\n typeof PassslotListTemplatesInput,\n typeof PassslotListTemplatesOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_LIST_TEMPLATES\", {\n slug: \"passslot-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of all pass templates. Use when you need to see available templates for creating passes.\",\n input: PassslotListTemplatesInput,\n output: PassslotListTemplatesOutput,\n});\n"],"mappings":";;;AASA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAWvD;CACP,QAXyC,EAAE,QAWnC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-scanner.cjs","names":["z","action"],"sources":["../../src/actions/update-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotUpdateScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to update\"),\n name: z.string().describe(\"Scanner name\").optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If true, scanner can access all templates. If false, only allowedTemplates are accessible.\").optional(),\n allowedTemplates: z.array(z.number().int()).describe(\"Array of template IDs that the scanner is allowed to access. Only relevant when fullAccess is false.\").optional(),\n}).describe(\"Request model for updating a scanner. Only name, fullAccess, and allowedTemplates can be updated.\");\nexport const PassslotUpdateScannerOutput = z.object({\n id: z.number().int().describe(\"The scanner's unique identifier\").nullable(),\n name: z.string().describe(\"The scanner's display name\").nullable(),\n fullAccess: z.boolean().describe(\"Whether scanner has unrestricted template access\").nullable(),\n allowedTemplates: z.array(z.number().int()).describe(\"List of template IDs the scanner can access\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for scanner authentication\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Deep link URL for pass verifier setup\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a scanner.\");\n\nexport const passslotUpdateScanner = action(\"PASSSLOT_UPDATE_SCANNER\", {\n slug: \"passslot-update-scanner\",\n name: \"Update Scanner\",\n description: \"Tool to update a scanner's configuration. Only name, fullAccess, and allowedTemplates can be updated. Use when you need to modify scanner permissions or rename a scanner. Your app key must have full access to manage scanners.\",\n input: PassslotUpdateScannerInput,\n output: PassslotUpdateScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-scanner.cjs","names":["z","action"],"sources":["../../src/actions/update-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotUpdateScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to update\"),\n name: z.string().describe(\"Scanner name\").optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If true, scanner can access all templates. If false, only allowedTemplates are accessible.\").optional(),\n allowedTemplates: z.array(z.number().int()).describe(\"Array of template IDs that the scanner is allowed to access. Only relevant when fullAccess is false.\").optional(),\n}).describe(\"Request model for updating a scanner. Only name, fullAccess, and allowedTemplates can be updated.\");\nexport const PassslotUpdateScannerOutput = z.object({\n id: z.number().int().describe(\"The scanner's unique identifier\").nullable(),\n name: z.string().describe(\"The scanner's display name\").nullable(),\n fullAccess: z.boolean().describe(\"Whether scanner has unrestricted template access\").nullable(),\n allowedTemplates: z.array(z.number().int()).describe(\"List of template IDs the scanner can access\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for scanner authentication\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Deep link URL for pass verifier setup\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a scanner.\");\n\nexport const passslotUpdateScanner: AppAction<\n typeof PassslotUpdateScannerInput,\n typeof PassslotUpdateScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_UPDATE_SCANNER\", {\n slug: \"passslot-update-scanner\",\n name: \"Update Scanner\",\n description: \"Tool to update a scanner's configuration. Only name, fullAccess, and allowedTemplates can be updated. Use when you need to modify scanner permissions or rename a scanner. Your app key must have full access to manage scanners.\",\n input: PassslotUpdateScannerInput,\n output: PassslotUpdateScannerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CAC1L,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-scanner.d.ts
|
|
@@ -15,24 +17,7 @@ declare const PassslotUpdateScannerOutput: z.ZodObject<{
|
|
|
15
17
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const passslotUpdateScanner:
|
|
19
|
-
id: number;
|
|
20
|
-
name?: string | undefined;
|
|
21
|
-
fullAccess?: boolean | undefined;
|
|
22
|
-
allowedTemplates?: number[] | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const passslotUpdateScanner: AppAction<typeof PassslotUpdateScannerInput, typeof PassslotUpdateScannerOutput, typeof passslot.credential>;
|
|
36
21
|
//#endregion
|
|
37
22
|
export { passslotUpdateScanner };
|
|
38
23
|
//# sourceMappingURL=update-scanner.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-scanner.d.cts","names":[],"sources":["../../src/actions/update-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-scanner.d.cts","names":[],"sources":["../../src/actions/update-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passslot } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-scanner.d.ts
|
|
@@ -15,24 +17,7 @@ declare const PassslotUpdateScannerOutput: z.ZodObject<{
|
|
|
15
17
|
authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const passslotUpdateScanner:
|
|
19
|
-
id: number;
|
|
20
|
-
name?: string | undefined;
|
|
21
|
-
fullAccess?: boolean | undefined;
|
|
22
|
-
allowedTemplates?: number[] | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passslot", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passslot", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const passslotUpdateScanner: AppAction<typeof PassslotUpdateScannerInput, typeof PassslotUpdateScannerOutput, typeof passslot.credential>;
|
|
36
21
|
//#endregion
|
|
37
22
|
export { passslotUpdateScanner };
|
|
38
23
|
//# sourceMappingURL=update-scanner.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-scanner.d.mts","names":[],"sources":["../../src/actions/update-scanner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-scanner.d.mts","names":[],"sources":["../../src/actions/update-scanner.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-scanner.mjs","names":[],"sources":["../../src/actions/update-scanner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PassslotUpdateScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to update\"),\n name: z.string().describe(\"Scanner name\").optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If true, scanner can access all templates. If false, only allowedTemplates are accessible.\").optional(),\n allowedTemplates: z.array(z.number().int()).describe(\"Array of template IDs that the scanner is allowed to access. Only relevant when fullAccess is false.\").optional(),\n}).describe(\"Request model for updating a scanner. Only name, fullAccess, and allowedTemplates can be updated.\");\nexport const PassslotUpdateScannerOutput = z.object({\n id: z.number().int().describe(\"The scanner's unique identifier\").nullable(),\n name: z.string().describe(\"The scanner's display name\").nullable(),\n fullAccess: z.boolean().describe(\"Whether scanner has unrestricted template access\").nullable(),\n allowedTemplates: z.array(z.number().int()).describe(\"List of template IDs the scanner can access\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for scanner authentication\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Deep link URL for pass verifier setup\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a scanner.\");\n\nexport const passslotUpdateScanner = action(\"PASSSLOT_UPDATE_SCANNER\", {\n slug: \"passslot-update-scanner\",\n name: \"Update Scanner\",\n description: \"Tool to update a scanner's configuration. Only name, fullAccess, and allowedTemplates can be updated. Use when you need to modify scanner permissions or rename a scanner. Your app key must have full access to manage scanners.\",\n input: PassslotUpdateScannerInput,\n output: PassslotUpdateScannerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-scanner.mjs","names":[],"sources":["../../src/actions/update-scanner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passslot } from \"../app\";\n\nexport const PassslotUpdateScannerInput = z.object({\n id: z.number().int().describe(\"The scanner ID to update\"),\n name: z.string().describe(\"Scanner name\").optional(),\n fullAccess: z.boolean().describe(\"Whether scanner has full access to all templates. If true, scanner can access all templates. If false, only allowedTemplates are accessible.\").optional(),\n allowedTemplates: z.array(z.number().int()).describe(\"Array of template IDs that the scanner is allowed to access. Only relevant when fullAccess is false.\").optional(),\n}).describe(\"Request model for updating a scanner. Only name, fullAccess, and allowedTemplates can be updated.\");\nexport const PassslotUpdateScannerOutput = z.object({\n id: z.number().int().describe(\"The scanner's unique identifier\").nullable(),\n name: z.string().describe(\"The scanner's display name\").nullable(),\n fullAccess: z.boolean().describe(\"Whether scanner has unrestricted template access\").nullable(),\n allowedTemplates: z.array(z.number().int()).describe(\"List of template IDs the scanner can access\").nullable().optional(),\n authenticationToken: z.string().describe(\"Token for scanner authentication\").nullable().optional(),\n passverifierAuthorizationURL: z.string().describe(\"Deep link URL for pass verifier setup\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a scanner.\");\n\nexport const passslotUpdateScanner: AppAction<\n typeof PassslotUpdateScannerInput,\n typeof PassslotUpdateScannerOutput,\n typeof passslot.credential\n> = action(\"PASSSLOT_UPDATE_SCANNER\", {\n slug: \"passslot-update-scanner\",\n name: \"Update Scanner\",\n description: \"Tool to update a scanner's configuration. Only name, fullAccess, and allowedTemplates can be updated. Use when you need to modify scanner permissions or rename a scanner. Your app key must have full access to manage scanners.\",\n input: PassslotUpdateScannerInput,\n output: PassslotUpdateScannerOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;EAC1L,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,mGAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC9F,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,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 passslot = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "passslot",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.passslot = passslot;
|
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 passslot = defineApp({\n slug: \"passslot\",\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 passslot: KeystrokeApp<\"passslot\", typeof credential> = defineApp({\n slug: \"passslot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,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 passslot: KeystrokeApp<"passslot", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { passslot };
|
|
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,QAAA,EAAU,YAAY,oBAAoB,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 passslot: KeystrokeApp<"passslot", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { passslot };
|
|
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,QAAA,EAAU,YAAY,oBAAoB,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 passslot = defineApp({\n slug: \"passslot\",\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 passslot: KeystrokeApp<\"passslot\", typeof credential> = defineApp({\n slug: \"passslot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { passslot } from "./app.cjs";
|
|
1
2
|
import { passslotCreateScanner } from "./actions/create-scanner.cjs";
|
|
2
3
|
import { passslotDeleteScanner } from "./actions/delete-scanner.cjs";
|
|
3
4
|
import { passslotGetPassTypes } from "./actions/get-pass-types.cjs";
|
|
@@ -6,6 +7,5 @@ import { passslotGetScanner } from "./actions/get-scanner.cjs";
|
|
|
6
7
|
import { passslotListScanners } from "./actions/list-scanners.cjs";
|
|
7
8
|
import { passslotListTemplates } from "./actions/list-templates.cjs";
|
|
8
9
|
import { passslotUpdateScanner } from "./actions/update-scanner.cjs";
|
|
9
|
-
import { passslot } from "./app.cjs";
|
|
10
10
|
import { passslotCatalog } from "./catalog.cjs";
|
|
11
11
|
export { passslot, passslotCatalog, passslotCreateScanner, passslotDeleteScanner, passslotGetPassTypes, passslotGetPassesByPassType, passslotGetScanner, passslotListScanners, passslotListTemplates, passslotUpdateScanner };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { passslot } from "./app.mjs";
|
|
1
2
|
import { passslotCreateScanner } from "./actions/create-scanner.mjs";
|
|
2
3
|
import { passslotDeleteScanner } from "./actions/delete-scanner.mjs";
|
|
3
4
|
import { passslotGetPassTypes } from "./actions/get-pass-types.mjs";
|
|
@@ -6,6 +7,5 @@ import { passslotGetScanner } from "./actions/get-scanner.mjs";
|
|
|
6
7
|
import { passslotListScanners } from "./actions/list-scanners.mjs";
|
|
7
8
|
import { passslotListTemplates } from "./actions/list-templates.mjs";
|
|
8
9
|
import { passslotUpdateScanner } from "./actions/update-scanner.mjs";
|
|
9
|
-
import { passslot } from "./app.mjs";
|
|
10
10
|
import { passslotCatalog } from "./catalog.mjs";
|
|
11
11
|
export { passslot, passslotCatalog, passslotCreateScanner, passslotDeleteScanner, passslotGetPassTypes, passslotGetPassesByPassType, passslotGetScanner, passslotListScanners, passslotListTemplates, passslotUpdateScanner };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/passslot",
|
|
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": {
|