@keystrokehq/passslot 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ const PassslotCreateScannerOutput = zod.z.object({
14
14
  fullAccess: zod.z.boolean().describe("Whether scanner has full access to all templates").nullable().optional(),
15
15
  authenticationToken: zod.z.string().describe("Authentication token for the scanner").nullable().optional(),
16
16
  passverifierAuthorizationURL: zod.z.string().describe("Authorization URL for PassVerifier scanner type").nullable().optional()
17
- }).describe("Response model for scanner creation - returns scanner details.");
17
+ }).passthrough().describe("Response model for scanner creation - returns scanner details.");
18
18
  const passslotCreateScanner = require_action.action("PASSSLOT_CREATE_SCANNER", {
19
19
  slug: "passslot-create-scanner",
20
20
  name: "Create Scanner",
@@ -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}).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":";;;AAIA,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,SAAS,gEAAgE;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,7 +17,7 @@ declare const PassslotCreateScannerOutput: z.ZodObject<{
17
17
  fullAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const passslotCreateScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  name: string;
23
23
  type: "PassVerifier" | "Browser";
@@ -17,7 +17,7 @@ declare const PassslotCreateScannerOutput: z.ZodObject<{
17
17
  fullAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const passslotCreateScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  name: string;
23
23
  type: "PassVerifier" | "Browser";
@@ -17,7 +17,7 @@ const passslotCreateScanner = action("PASSSLOT_CREATE_SCANNER", {
17
17
  fullAccess: z.boolean().describe("Whether scanner has full access to all templates").nullable().optional(),
18
18
  authenticationToken: z.string().describe("Authentication token for the scanner").nullable().optional(),
19
19
  passverifierAuthorizationURL: z.string().describe("Authorization URL for PassVerifier scanner type").nullable().optional()
20
- }).describe("Response model for scanner creation - returns scanner details.")
20
+ }).passthrough().describe("Response model for scanner creation - returns scanner details.")
21
21
  });
22
22
  //#endregion
23
23
  export { passslotCreateScanner };
@@ -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}).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":";;AAmBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,uDAcH;CACP,QAdyC,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,SAAS,gEAOF;AACV,CAAC"}
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":";;AAmBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,uDAcH;CACP,QAdyC,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,gEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PassslotDeleteScannerInput = zod.z.object({ id: zod.z.number().int().descr
5
5
  const PassslotDeleteScannerOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Optional message from the API response").nullable().optional(),
7
7
  success: zod.z.boolean().default(true).describe("Whether the scanner was successfully deleted").nullable().optional()
8
- }).describe("Response model for delete scanner operation.");
8
+ }).passthrough().describe("Response model for delete scanner operation.");
9
9
  const passslotDeleteScanner = require_action.action("PASSSLOT_DELETE_SCANNER", {
10
10
  slug: "passslot-delete-scanner",
11
11
  name: "Delete Scanner",
@@ -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}).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":";;;AAIA,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,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const PassslotDeleteScannerInput: z.ZodObject<{
7
7
  declare const PassslotDeleteScannerOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const passslotDeleteScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const PassslotDeleteScannerInput: z.ZodObject<{
7
7
  declare const PassslotDeleteScannerOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const passslotDeleteScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const passslotDeleteScanner = action("PASSSLOT_DELETE_SCANNER", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Optional message from the API response").nullable().optional(),
10
10
  success: z.boolean().default(true).describe("Whether the scanner was successfully deleted").nullable().optional()
11
- }).describe("Response model for delete scanner operation.")
11
+ }).passthrough().describe("Response model for delete scanner operation.")
12
12
  });
13
13
  //#endregion
14
14
  export { passslotDeleteScanner };
@@ -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}).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":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVyC,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,SAAS,8CAOF;AACV,CAAC"}
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":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,EAC1D,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVyC,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,8CAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const PassslotGetScannerOutput = zod.z.object({
9
9
  fullAccess: zod.z.boolean().describe("Indicates whether scanner has full access permissions").nullable().optional(),
10
10
  authenticationToken: zod.z.string().describe("Token for authentication purposes").nullable().optional(),
11
11
  passverifierAuthorizationURL: zod.z.string().describe("Authorization URL in passverifier protocol format").nullable().optional()
12
- }).describe("Response model for retrieving scanner details.");
12
+ }).passthrough().describe("Response model for retrieving scanner details.");
13
13
  const passslotGetScanner = require_action.action("PASSSLOT_GET_SCANNER", {
14
14
  slug: "passslot-get-scanner",
15
15
  name: "Get Scanner",
@@ -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}).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":";;;AAIA,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,SAAS,gDAAgD;AAE5D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const PassslotGetScannerOutput: z.ZodObject<{
11
11
  fullAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
12
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const passslotGetScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: number;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -11,7 +11,7 @@ declare const PassslotGetScannerOutput: z.ZodObject<{
11
11
  fullAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
12
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const passslotGetScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: number;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,7 +12,7 @@ const passslotGetScanner = action("PASSSLOT_GET_SCANNER", {
12
12
  fullAccess: z.boolean().describe("Indicates whether scanner has full access permissions").nullable().optional(),
13
13
  authenticationToken: z.string().describe("Token for authentication purposes").nullable().optional(),
14
14
  passverifierAuthorizationURL: z.string().describe("Authorization URL in passverifier protocol format").nullable().optional()
15
- }).describe("Response model for retrieving scanner details.")
15
+ }).passthrough().describe("Response model for retrieving scanner details.")
16
16
  });
17
17
  //#endregion
18
18
  export { passslotGetScanner };
@@ -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}).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":";;AAgBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,wDAcH;CACP,QAdsC,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,SAAS,gDAOF;AACV,CAAC"}
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":";;AAgBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,EAC5D,CAAC,CAAC,CAAC,SAAS,wDAcH;CACP,QAdsC,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,gDAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const PassslotUpdateScannerOutput = zod.z.object({
14
14
  allowedTemplates: zod.z.array(zod.z.number().int()).describe("List of template IDs the scanner can access").nullable().optional(),
15
15
  authenticationToken: zod.z.string().describe("Token for scanner authentication").nullable().optional(),
16
16
  passverifierAuthorizationURL: zod.z.string().describe("Deep link URL for pass verifier setup").nullable().optional()
17
- }).describe("Response model for updating a scanner.");
17
+ }).passthrough().describe("Response model for updating a scanner.");
18
18
  const passslotUpdateScanner = require_action.action("PASSSLOT_UPDATE_SCANNER", {
19
19
  slug: "passslot-update-scanner",
20
20
  name: "Update Scanner",
@@ -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}).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":";;;AAIA,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,SAAS,wCAAwC;AAEpD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const PassslotUpdateScannerOutput: z.ZodObject<{
14
14
  allowedTemplates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
15
15
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const passslotUpdateScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: number;
20
20
  name?: string | undefined;
@@ -14,7 +14,7 @@ declare const PassslotUpdateScannerOutput: z.ZodObject<{
14
14
  allowedTemplates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
15
15
  authenticationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  passverifierAuthorizationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const passslotUpdateScanner: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: number;
20
20
  name?: string | undefined;
@@ -17,7 +17,7 @@ const passslotUpdateScanner = action("PASSSLOT_UPDATE_SCANNER", {
17
17
  allowedTemplates: z.array(z.number().int()).describe("List of template IDs the scanner can access").nullable().optional(),
18
18
  authenticationToken: z.string().describe("Token for scanner authentication").nullable().optional(),
19
19
  passverifierAuthorizationURL: z.string().describe("Deep link URL for pass verifier setup").nullable().optional()
20
- }).describe("Response model for updating a scanner.")
20
+ }).passthrough().describe("Response model for updating a scanner.")
21
21
  });
22
22
  //#endregion
23
23
  export { passslotUpdateScanner };
@@ -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}).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":";;AAmBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,mGAcH;CACP,QAdyC,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,SAAS,wCAOF;AACV,CAAC"}
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":";;AAmBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,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,mGAcH;CACP,QAdyC,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,wCAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/passslot",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"