@keystrokehq/passcreator 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/check-pass-existence.cjs +1 -0
- package/dist/actions/check-pass-existence.cjs.map +1 -1
- package/dist/actions/check-pass-existence.d.cts +3 -15
- package/dist/actions/check-pass-existence.d.cts.map +1 -1
- package/dist/actions/check-pass-existence.d.mts +3 -15
- package/dist/actions/check-pass-existence.d.mts.map +1 -1
- package/dist/actions/check-pass-existence.mjs +1 -0
- package/dist/actions/check-pass-existence.mjs.map +1 -1
- package/dist/actions/create-app-scan.cjs +1 -0
- package/dist/actions/create-app-scan.cjs.map +1 -1
- package/dist/actions/create-app-scan.d.cts +3 -22
- package/dist/actions/create-app-scan.d.cts.map +1 -1
- package/dist/actions/create-app-scan.d.mts +3 -22
- package/dist/actions/create-app-scan.d.mts.map +1 -1
- package/dist/actions/create-app-scan.mjs +1 -0
- package/dist/actions/create-app-scan.mjs.map +1 -1
- package/dist/actions/get-app-configuration.cjs +1 -0
- package/dist/actions/get-app-configuration.cjs.map +1 -1
- package/dist/actions/get-app-configuration.d.cts +3 -15
- package/dist/actions/get-app-configuration.d.cts.map +1 -1
- package/dist/actions/get-app-configuration.d.mts +3 -15
- package/dist/actions/get-app-configuration.d.mts.map +1 -1
- package/dist/actions/get-app-configuration.mjs +1 -0
- package/dist/actions/get-app-configuration.mjs.map +1 -1
- package/dist/actions/get-process-status.cjs +1 -0
- package/dist/actions/get-process-status.cjs.map +1 -1
- package/dist/actions/get-process-status.d.cts +3 -15
- package/dist/actions/get-process-status.d.cts.map +1 -1
- package/dist/actions/get-process-status.d.mts +3 -15
- package/dist/actions/get-process-status.d.mts.map +1 -1
- package/dist/actions/get-process-status.mjs +1 -0
- package/dist/actions/get-process-status.mjs.map +1 -1
- package/dist/actions/get-signing-public-key.cjs +1 -0
- package/dist/actions/get-signing-public-key.cjs.map +1 -1
- package/dist/actions/get-signing-public-key.d.cts +3 -13
- package/dist/actions/get-signing-public-key.d.cts.map +1 -1
- package/dist/actions/get-signing-public-key.d.mts +3 -13
- package/dist/actions/get-signing-public-key.d.mts.map +1 -1
- package/dist/actions/get-signing-public-key.mjs +1 -0
- package/dist/actions/get-signing-public-key.mjs.map +1 -1
- package/dist/actions/list-app-configurations.cjs +1 -0
- package/dist/actions/list-app-configurations.cjs.map +1 -1
- package/dist/actions/list-app-configurations.d.cts +3 -13
- package/dist/actions/list-app-configurations.d.cts.map +1 -1
- package/dist/actions/list-app-configurations.d.mts +3 -13
- package/dist/actions/list-app-configurations.d.mts.map +1 -1
- package/dist/actions/list-app-configurations.mjs +1 -0
- package/dist/actions/list-app-configurations.mjs.map +1 -1
- package/dist/actions/list-app-scans.cjs +1 -0
- package/dist/actions/list-app-scans.cjs.map +1 -1
- package/dist/actions/list-app-scans.d.cts +3 -18
- package/dist/actions/list-app-scans.d.cts.map +1 -1
- package/dist/actions/list-app-scans.d.mts +3 -18
- package/dist/actions/list-app-scans.d.mts.map +1 -1
- package/dist/actions/list-app-scans.mjs +1 -0
- package/dist/actions/list-app-scans.mjs.map +1 -1
- package/dist/actions/list-pass-templates.cjs +1 -0
- package/dist/actions/list-pass-templates.cjs.map +1 -1
- package/dist/actions/list-pass-templates.d.cts +3 -13
- package/dist/actions/list-pass-templates.d.cts.map +1 -1
- package/dist/actions/list-pass-templates.d.mts +3 -13
- package/dist/actions/list-pass-templates.d.mts.map +1 -1
- package/dist/actions/list-pass-templates.mjs +1 -0
- package/dist/actions/list-pass-templates.mjs.map +1 -1
- package/dist/actions/list-passes.cjs +1 -0
- package/dist/actions/list-passes.cjs.map +1 -1
- package/dist/actions/list-passes.d.cts +3 -18
- package/dist/actions/list-passes.d.cts.map +1 -1
- package/dist/actions/list-passes.d.mts +3 -18
- package/dist/actions/list-passes.d.mts.map +1 -1
- package/dist/actions/list-passes.mjs +1 -0
- package/dist/actions/list-passes.mjs.map +1 -1
- package/dist/actions/send-bulk-push-notifications.cjs +1 -0
- package/dist/actions/send-bulk-push-notifications.cjs.map +1 -1
- package/dist/actions/send-bulk-push-notifications.d.cts +3 -16
- package/dist/actions/send-bulk-push-notifications.d.cts.map +1 -1
- package/dist/actions/send-bulk-push-notifications.d.mts +3 -16
- package/dist/actions/send-bulk-push-notifications.d.mts.map +1 -1
- package/dist/actions/send-bulk-push-notifications.mjs +1 -0
- package/dist/actions/send-bulk-push-notifications.mjs.map +1 -1
- package/dist/actions/update-passes-bulk.cjs +1 -0
- package/dist/actions/update-passes-bulk.cjs.map +1 -1
- package/dist/actions/update-passes-bulk.d.cts +3 -20
- package/dist/actions/update-passes-bulk.d.cts.map +1 -1
- package/dist/actions/update-passes-bulk.d.mts +3 -20
- package/dist/actions/update-passes-bulk.d.mts.map +1 -1
- package/dist/actions/update-passes-bulk.mjs +1 -0
- package/dist/actions/update-passes-bulk.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":["passcreator","executePasscreatorTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { passcreator } from \"./app\";\nimport { executePasscreatorTool } 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":["passcreator","executePasscreatorTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { passcreator } from \"./app\";\nimport { executePasscreatorTool } 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 passcreator.credential> {\n return passcreator.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 executePasscreatorTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAOA,YAAAA,YAAY,OAAO;EACxB,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,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;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 { passcreator } from \"./app\";\nimport { executePasscreatorTool } 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 { passcreator } from \"./app\";\nimport { executePasscreatorTool } 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 passcreator.credential> {\n return passcreator.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 executePasscreatorTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pass-existence.cjs","names":["z","action"],"sources":["../../src/actions/check-pass-existence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorCheckPassExistenceInput = z.object({\n passId: z.string().describe(\"The pass identifier to check for existence. Can be a generatedId, userProvidedId, or any ID associated with a pass.\"),\n}).describe(\"Request model for checking existence of a pass by ID.\");\nexport const PasscreatorCheckPassExistenceOutput = z.object({\n uri: z.string().describe(\"The URI to access the pass if it exists.\").nullable().optional(),\n error: z.string().describe(\"Error message if the pass was not found or another error occurred.\").nullable().optional(),\n exists: z.boolean().describe(\"True if a pass with the given ID exists, False otherwise.\").nullable(),\n passId: z.string().describe(\"The pass identifier that was checked.\").nullable(),\n voided: z.boolean().describe(\"Whether the pass has been voided.\").nullable().optional(),\n identifier: z.string().describe(\"The identifier returned by the API if the pass exists.\").nullable().optional(),\n generatedId: z.string().describe(\"The generated unique ID of the pass if it exists.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"The GUID of the pass template used if the pass exists.\").nullable().optional(),\n}).passthrough().describe(\"Response model indicating whether a pass exists for the given ID.\");\n\nexport const passcreatorCheckPassExistence = action(\"PASSCREATOR_CHECK_PASS_EXISTENCE\", {\n slug: \"passcreator-check-pass-existence\",\n name: \"Check Pass Existence\",\n description: \"Tool to check if a pass exists for a given ID. Use when verifying pass existence before subsequent operations like updates or deletions. The ID can be a generatedId (unique ID created for every pass, usually encoded in the barcode), userProvidedId (optional custom ID), or any other identifier associated with a pass.\",\n input: PasscreatorCheckPassExistenceInput,\n output: PasscreatorCheckPassExistenceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-pass-existence.cjs","names":["z","action"],"sources":["../../src/actions/check-pass-existence.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorCheckPassExistenceInput = z.object({\n passId: z.string().describe(\"The pass identifier to check for existence. Can be a generatedId, userProvidedId, or any ID associated with a pass.\"),\n}).describe(\"Request model for checking existence of a pass by ID.\");\nexport const PasscreatorCheckPassExistenceOutput = z.object({\n uri: z.string().describe(\"The URI to access the pass if it exists.\").nullable().optional(),\n error: z.string().describe(\"Error message if the pass was not found or another error occurred.\").nullable().optional(),\n exists: z.boolean().describe(\"True if a pass with the given ID exists, False otherwise.\").nullable(),\n passId: z.string().describe(\"The pass identifier that was checked.\").nullable(),\n voided: z.boolean().describe(\"Whether the pass has been voided.\").nullable().optional(),\n identifier: z.string().describe(\"The identifier returned by the API if the pass exists.\").nullable().optional(),\n generatedId: z.string().describe(\"The generated unique ID of the pass if it exists.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"The GUID of the pass template used if the pass exists.\").nullable().optional(),\n}).passthrough().describe(\"Response model indicating whether a pass exists for the given ID.\");\n\nexport const passcreatorCheckPassExistence: AppAction<\n typeof PasscreatorCheckPassExistenceInput,\n typeof PasscreatorCheckPassExistenceOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_CHECK_PASS_EXISTENCE\", {\n slug: \"passcreator-check-pass-existence\",\n name: \"Check Pass Existence\",\n description: \"Tool to check if a pass exists for a given ID. Use when verifying pass existence before subsequent operations like updates or deletions. The ID can be a generatedId (unique ID created for every pass, usually encoded in the barcode), userProvidedId (optional custom ID), or any other identifier associated with a pass.\",\n input: PasscreatorCheckPassExistenceInput,\n output: PasscreatorCheckPassExistenceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACnJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-pass-existence.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PasscreatorCheckPassExistenceOutput: z.ZodObject<{
|
|
|
14
16
|
generatedId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
passTemplateGuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const passcreatorCheckPassExistence:
|
|
18
|
-
passId: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const passcreatorCheckPassExistence: AppAction<typeof PasscreatorCheckPassExistenceInput, typeof PasscreatorCheckPassExistenceOutput, typeof passcreator.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { passcreatorCheckPassExistence };
|
|
34
22
|
//# sourceMappingURL=check-pass-existence.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pass-existence.d.cts","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-pass-existence.d.cts","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAWnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-pass-existence.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PasscreatorCheckPassExistenceOutput: z.ZodObject<{
|
|
|
14
16
|
generatedId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
passTemplateGuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const passcreatorCheckPassExistence:
|
|
18
|
-
passId: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const passcreatorCheckPassExistence: AppAction<typeof PasscreatorCheckPassExistenceInput, typeof PasscreatorCheckPassExistenceOutput, typeof passcreator.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { passcreatorCheckPassExistence };
|
|
34
22
|
//# sourceMappingURL=check-pass-existence.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pass-existence.d.mts","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-pass-existence.d.mts","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAWnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pass-existence.mjs","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorCheckPassExistenceInput = z.object({\n passId: z.string().describe(\"The pass identifier to check for existence. Can be a generatedId, userProvidedId, or any ID associated with a pass.\"),\n}).describe(\"Request model for checking existence of a pass by ID.\");\nexport const PasscreatorCheckPassExistenceOutput = z.object({\n uri: z.string().describe(\"The URI to access the pass if it exists.\").nullable().optional(),\n error: z.string().describe(\"Error message if the pass was not found or another error occurred.\").nullable().optional(),\n exists: z.boolean().describe(\"True if a pass with the given ID exists, False otherwise.\").nullable(),\n passId: z.string().describe(\"The pass identifier that was checked.\").nullable(),\n voided: z.boolean().describe(\"Whether the pass has been voided.\").nullable().optional(),\n identifier: z.string().describe(\"The identifier returned by the API if the pass exists.\").nullable().optional(),\n generatedId: z.string().describe(\"The generated unique ID of the pass if it exists.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"The GUID of the pass template used if the pass exists.\").nullable().optional(),\n}).passthrough().describe(\"Response model indicating whether a pass exists for the given ID.\");\n\nexport const passcreatorCheckPassExistence = action(\"PASSCREATOR_CHECK_PASS_EXISTENCE\", {\n slug: \"passcreator-check-pass-existence\",\n name: \"Check Pass Existence\",\n description: \"Tool to check if a pass exists for a given ID. Use when verifying pass existence before subsequent operations like updates or deletions. The ID can be a generatedId (unique ID created for every pass, usually encoded in the barcode), userProvidedId (optional custom ID), or any other identifier associated with a pass.\",\n input: PasscreatorCheckPassExistenceInput,\n output: PasscreatorCheckPassExistenceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-pass-existence.mjs","names":[],"sources":["../../src/actions/check-pass-existence.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorCheckPassExistenceInput = z.object({\n passId: z.string().describe(\"The pass identifier to check for existence. Can be a generatedId, userProvidedId, or any ID associated with a pass.\"),\n}).describe(\"Request model for checking existence of a pass by ID.\");\nexport const PasscreatorCheckPassExistenceOutput = z.object({\n uri: z.string().describe(\"The URI to access the pass if it exists.\").nullable().optional(),\n error: z.string().describe(\"Error message if the pass was not found or another error occurred.\").nullable().optional(),\n exists: z.boolean().describe(\"True if a pass with the given ID exists, False otherwise.\").nullable(),\n passId: z.string().describe(\"The pass identifier that was checked.\").nullable(),\n voided: z.boolean().describe(\"Whether the pass has been voided.\").nullable().optional(),\n identifier: z.string().describe(\"The identifier returned by the API if the pass exists.\").nullable().optional(),\n generatedId: z.string().describe(\"The generated unique ID of the pass if it exists.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"The GUID of the pass template used if the pass exists.\").nullable().optional(),\n}).passthrough().describe(\"Response model indicating whether a pass exists for the given ID.\");\n\nexport const passcreatorCheckPassExistence: AppAction<\n typeof PasscreatorCheckPassExistenceInput,\n typeof PasscreatorCheckPassExistenceOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_CHECK_PASS_EXISTENCE\", {\n slug: \"passcreator-check-pass-existence\",\n name: \"Check Pass Existence\",\n description: \"Tool to check if a pass exists for a given ID. Use when verifying pass existence before subsequent operations like updates or deletions. The ID can be a generatedId (unique ID created for every pass, usually encoded in the barcode), userProvidedId (optional custom ID), or any other identifier associated with a pass.\",\n input: PasscreatorCheckPassExistenceInput,\n output: PasscreatorCheckPassExistenceOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACnJ,CAAC,CAAC,CAAC,SAAS,uDAoBH;CACP,QApBiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-scan.cjs","names":["z","action"],"sources":["../../src/actions/create-app-scan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorCreateAppScanInput = z.object({\n passId: z.string().describe(\"The pass identifier, or null if no pass was found\").optional(),\n createdOn: z.string().describe(\"Timestamp in format YYYY-MM-DD HH:MM:SS\"),\n setVoided: z.boolean().describe(\"Whether to mark the pass as invalid after scanning. Optional field.\").optional(),\n deviceName: z.string().describe(\"The device name performing the scan\"),\n scanStatus: z.enum([\"pass_voided_after_scan\", \"pass_already_voided\", \"attendance_saved\", \"pass_not_found\"]).describe(\"Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)\"),\n appConfigurationId: z.string().describe(\"The unique ID of the App Configuration tied to this scan (UUID format)\"),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned\"),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs where keys are property IDs and values are the corresponding data. Optional field.\").optional(),\n}).describe(\"Request parameters for creating a new App Scan in PassCreator.\");\nexport const PasscreatorCreateAppScanOutput = z.object({\n error: z.string().describe(\"Error message if the scan creation failed\").nullable().optional(),\n scanId: z.string().describe(\"The unique ID of the created app scan\").nullable().optional(),\n message: z.string().describe(\"Status message or description from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the app scan was created successfully\").nullable(),\n}).passthrough().describe(\"Response from creating an App Scan.\");\n\nexport const passcreatorCreateAppScan = action(\"PASSCREATOR_CREATE_APP_SCAN\", {\n slug: \"passcreator-create-app-scan\",\n name: \"Create App Scan\",\n description: \"Tool to create a new App Scan in PassCreator. Use when recording pass validation or attendance scanning events. Supports tracking scan status, device information, and optional pass voiding.\",\n input: PasscreatorCreateAppScanInput,\n output: PasscreatorCreateAppScanOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-app-scan.cjs","names":["z","action"],"sources":["../../src/actions/create-app-scan.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorCreateAppScanInput = z.object({\n passId: z.string().describe(\"The pass identifier, or null if no pass was found\").optional(),\n createdOn: z.string().describe(\"Timestamp in format YYYY-MM-DD HH:MM:SS\"),\n setVoided: z.boolean().describe(\"Whether to mark the pass as invalid after scanning. Optional field.\").optional(),\n deviceName: z.string().describe(\"The device name performing the scan\"),\n scanStatus: z.enum([\"pass_voided_after_scan\", \"pass_already_voided\", \"attendance_saved\", \"pass_not_found\"]).describe(\"Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)\"),\n appConfigurationId: z.string().describe(\"The unique ID of the App Configuration tied to this scan (UUID format)\"),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned\"),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs where keys are property IDs and values are the corresponding data. Optional field.\").optional(),\n}).describe(\"Request parameters for creating a new App Scan in PassCreator.\");\nexport const PasscreatorCreateAppScanOutput = z.object({\n error: z.string().describe(\"Error message if the scan creation failed\").nullable().optional(),\n scanId: z.string().describe(\"The unique ID of the created app scan\").nullable().optional(),\n message: z.string().describe(\"Status message or description from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the app scan was created successfully\").nullable(),\n}).passthrough().describe(\"Response from creating an App Scan.\");\n\nexport const passcreatorCreateAppScan: AppAction<\n typeof PasscreatorCreateAppScanInput,\n typeof PasscreatorCreateAppScanOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_CREATE_APP_SCAN\", {\n slug: \"passcreator-create-app-scan\",\n name: \"Create App Scan\",\n description: \"Tool to create a new App Scan in PassCreator. Use when recording pass validation or attendance scanning events. Supports tracking scan status, device information, and optional pass voiding.\",\n input: PasscreatorCreateAppScanInput,\n output: PasscreatorCreateAppScanOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAA0B;EAAuB;EAAoB;CAAgB,CAAC,CAAC,CAAC,SAAS,oHAAoH;CACzO,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7E,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-app-scan.d.ts
|
|
@@ -22,28 +24,7 @@ declare const PasscreatorCreateAppScanOutput: z.ZodObject<{
|
|
|
22
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const passcreatorCreateAppScan:
|
|
26
|
-
createdOn: string;
|
|
27
|
-
deviceName: string;
|
|
28
|
-
scanStatus: "pass_voided_after_scan" | "pass_already_voided" | "attendance_saved" | "pass_not_found";
|
|
29
|
-
appConfigurationId: string;
|
|
30
|
-
scannedBarcodeValue: string;
|
|
31
|
-
passId?: string | undefined;
|
|
32
|
-
setVoided?: boolean | undefined;
|
|
33
|
-
additionalProperties?: Record<string, unknown> | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const passcreatorCreateAppScan: AppAction<typeof PasscreatorCreateAppScanInput, typeof PasscreatorCreateAppScanOutput, typeof passcreator.credential>;
|
|
47
28
|
//#endregion
|
|
48
29
|
export { passcreatorCreateAppScan };
|
|
49
30
|
//# sourceMappingURL=create-app-scan.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-scan.d.cts","names":[],"sources":["../../src/actions/create-app-scan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-app-scan.d.cts","names":[],"sources":["../../src/actions/create-app-scan.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-app-scan.d.ts
|
|
@@ -22,28 +24,7 @@ declare const PasscreatorCreateAppScanOutput: z.ZodObject<{
|
|
|
22
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const passcreatorCreateAppScan:
|
|
26
|
-
createdOn: string;
|
|
27
|
-
deviceName: string;
|
|
28
|
-
scanStatus: "pass_voided_after_scan" | "pass_already_voided" | "attendance_saved" | "pass_not_found";
|
|
29
|
-
appConfigurationId: string;
|
|
30
|
-
scannedBarcodeValue: string;
|
|
31
|
-
passId?: string | undefined;
|
|
32
|
-
setVoided?: boolean | undefined;
|
|
33
|
-
additionalProperties?: Record<string, unknown> | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const passcreatorCreateAppScan: AppAction<typeof PasscreatorCreateAppScanInput, typeof PasscreatorCreateAppScanOutput, typeof passcreator.credential>;
|
|
47
28
|
//#endregion
|
|
48
29
|
export { passcreatorCreateAppScan };
|
|
49
30
|
//# sourceMappingURL=create-app-scan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-scan.d.mts","names":[],"sources":["../../src/actions/create-app-scan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-app-scan.d.mts","names":[],"sources":["../../src/actions/create-app-scan.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-scan.mjs","names":[],"sources":["../../src/actions/create-app-scan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorCreateAppScanInput = z.object({\n passId: z.string().describe(\"The pass identifier, or null if no pass was found\").optional(),\n createdOn: z.string().describe(\"Timestamp in format YYYY-MM-DD HH:MM:SS\"),\n setVoided: z.boolean().describe(\"Whether to mark the pass as invalid after scanning. Optional field.\").optional(),\n deviceName: z.string().describe(\"The device name performing the scan\"),\n scanStatus: z.enum([\"pass_voided_after_scan\", \"pass_already_voided\", \"attendance_saved\", \"pass_not_found\"]).describe(\"Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)\"),\n appConfigurationId: z.string().describe(\"The unique ID of the App Configuration tied to this scan (UUID format)\"),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned\"),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs where keys are property IDs and values are the corresponding data. Optional field.\").optional(),\n}).describe(\"Request parameters for creating a new App Scan in PassCreator.\");\nexport const PasscreatorCreateAppScanOutput = z.object({\n error: z.string().describe(\"Error message if the scan creation failed\").nullable().optional(),\n scanId: z.string().describe(\"The unique ID of the created app scan\").nullable().optional(),\n message: z.string().describe(\"Status message or description from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the app scan was created successfully\").nullable(),\n}).passthrough().describe(\"Response from creating an App Scan.\");\n\nexport const passcreatorCreateAppScan = action(\"PASSCREATOR_CREATE_APP_SCAN\", {\n slug: \"passcreator-create-app-scan\",\n name: \"Create App Scan\",\n description: \"Tool to create a new App Scan in PassCreator. Use when recording pass validation or attendance scanning events. Supports tracking scan status, device information, and optional pass voiding.\",\n input: PasscreatorCreateAppScanInput,\n output: PasscreatorCreateAppScanOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-app-scan.mjs","names":[],"sources":["../../src/actions/create-app-scan.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorCreateAppScanInput = z.object({\n passId: z.string().describe(\"The pass identifier, or null if no pass was found\").optional(),\n createdOn: z.string().describe(\"Timestamp in format YYYY-MM-DD HH:MM:SS\"),\n setVoided: z.boolean().describe(\"Whether to mark the pass as invalid after scanning. Optional field.\").optional(),\n deviceName: z.string().describe(\"The device name performing the scan\"),\n scanStatus: z.enum([\"pass_voided_after_scan\", \"pass_already_voided\", \"attendance_saved\", \"pass_not_found\"]).describe(\"Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)\"),\n appConfigurationId: z.string().describe(\"The unique ID of the App Configuration tied to this scan (UUID format)\"),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned\"),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs where keys are property IDs and values are the corresponding data. Optional field.\").optional(),\n}).describe(\"Request parameters for creating a new App Scan in PassCreator.\");\nexport const PasscreatorCreateAppScanOutput = z.object({\n error: z.string().describe(\"Error message if the scan creation failed\").nullable().optional(),\n scanId: z.string().describe(\"The unique ID of the created app scan\").nullable().optional(),\n message: z.string().describe(\"Status message or description from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the app scan was created successfully\").nullable(),\n}).passthrough().describe(\"Response from creating an App Scan.\");\n\nexport const passcreatorCreateAppScan: AppAction<\n typeof PasscreatorCreateAppScanInput,\n typeof PasscreatorCreateAppScanOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_CREATE_APP_SCAN\", {\n slug: \"passcreator-create-app-scan\",\n name: \"Create App Scan\",\n description: \"Tool to create a new App Scan in PassCreator. Use when recording pass validation or attendance scanning events. Supports tracking scan status, device information, and optional pass voiding.\",\n input: PasscreatorCreateAppScanInput,\n output: PasscreatorCreateAppScanOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACrE,YAAY,EAAE,KAAK;GAAC;GAA0B;GAAuB;GAAoB;EAAgB,CAAC,CAAC,CAAC,SAAS,oHAAoH;EACzO,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC7E,sBAAsB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClL,CAAC,CAAC,CAAC,SAAS,gEAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-configuration.cjs","names":["z","action"],"sources":["../../src/actions/get-app-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorGetAppConfigurationInput = z.object({\n identifier: z.string().describe(\"App Configuration identifier (UUID format, e.g., d0a467cf-391a-4b89-a00e-dc57a56d7b7b).\"),\n}).describe(\"Request parameters for getting App Configuration details.\");\nconst PasscreatorGetAppConfiguration_AdditionalPropertySchema = z.object({\n required: z.boolean().describe(\"Whether this property is required.\").nullable().optional(),\n propertyName: z.string().describe(\"Name of the custom property.\").nullable().optional(),\n propertyType: z.string().describe(\"Type of the property (e.g., string, number, boolean).\").nullable().optional(),\n}).passthrough().describe(\"Custom data field to collect during scanning.\");\nconst PasscreatorGetAppConfiguration_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable().optional(),\n linkId: z.string().describe(\"Unique identifier for the link.\").nullable().optional(),\n expirationDate: z.string().describe(\"Expiration date for the link (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nexport const PasscreatorGetAppConfigurationOutput = z.object({\n name: z.string().describe(\"The App Configuration's name.\").nullable().optional(),\n place: z.string().describe(\"Location designation (e.g., venue room).\").nullable().optional(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void passes after scan) or 1 (save attendance without voiding).\").nullable().optional(),\n textColor: z.string().describe(\"Hex color code for text in the validation app.\").nullable().optional(),\n passTemplateId: z.string().describe(\"ID of the Pass Template to validate, or null to validate all passes.\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for the validation app interface.\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for the App Configuration.\").nullable().optional(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple Pass Template IDs if assigned.\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the associated Pass Template.\").nullable().optional(),\n additionalProperties: z.array(PasscreatorGetAppConfiguration_AdditionalPropertySchema).describe(\"Custom data fields to collect during scanning.\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorGetAppConfiguration_AppConfigurationLinkSchema).describe(\"Related configuration links with expiration details.\").nullable().optional(),\n preventNegativeNumericValues: z.boolean().describe(\"Prevents negative values in custom properties.\").nullable().optional(),\n preventNegativeStoredValueBalance: z.boolean().describe(\"Prevents negative balance during validation.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about an App Configuration.\\nIncludes scan settings, UI customization, and validation rules.\");\n\nexport const passcreatorGetAppConfiguration = action(\"PASSCREATOR_GET_APP_CONFIGURATION\", {\n slug: \"passcreator-get-app-configuration\",\n name: \"Get App Configuration\",\n description: \"Retrieves detailed information about an App Configuration by its identifier. Use when you need to get scan settings, UI customization, or validation rules for a specific App Configuration.\",\n input: PasscreatorGetAppConfigurationInput,\n output: PasscreatorGetAppConfigurationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-configuration.cjs","names":["z","action"],"sources":["../../src/actions/get-app-configuration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetAppConfigurationInput = z.object({\n identifier: z.string().describe(\"App Configuration identifier (UUID format, e.g., d0a467cf-391a-4b89-a00e-dc57a56d7b7b).\"),\n}).describe(\"Request parameters for getting App Configuration details.\");\nconst PasscreatorGetAppConfiguration_AdditionalPropertySchema = z.object({\n required: z.boolean().describe(\"Whether this property is required.\").nullable().optional(),\n propertyName: z.string().describe(\"Name of the custom property.\").nullable().optional(),\n propertyType: z.string().describe(\"Type of the property (e.g., string, number, boolean).\").nullable().optional(),\n}).passthrough().describe(\"Custom data field to collect during scanning.\");\nconst PasscreatorGetAppConfiguration_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable().optional(),\n linkId: z.string().describe(\"Unique identifier for the link.\").nullable().optional(),\n expirationDate: z.string().describe(\"Expiration date for the link (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nexport const PasscreatorGetAppConfigurationOutput = z.object({\n name: z.string().describe(\"The App Configuration's name.\").nullable().optional(),\n place: z.string().describe(\"Location designation (e.g., venue room).\").nullable().optional(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void passes after scan) or 1 (save attendance without voiding).\").nullable().optional(),\n textColor: z.string().describe(\"Hex color code for text in the validation app.\").nullable().optional(),\n passTemplateId: z.string().describe(\"ID of the Pass Template to validate, or null to validate all passes.\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for the validation app interface.\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for the App Configuration.\").nullable().optional(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple Pass Template IDs if assigned.\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the associated Pass Template.\").nullable().optional(),\n additionalProperties: z.array(PasscreatorGetAppConfiguration_AdditionalPropertySchema).describe(\"Custom data fields to collect during scanning.\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorGetAppConfiguration_AppConfigurationLinkSchema).describe(\"Related configuration links with expiration details.\").nullable().optional(),\n preventNegativeNumericValues: z.boolean().describe(\"Prevents negative values in custom properties.\").nullable().optional(),\n preventNegativeStoredValueBalance: z.boolean().describe(\"Prevents negative balance during validation.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about an App Configuration.\\nIncludes scan settings, UI customization, and validation rules.\");\n\nexport const passcreatorGetAppConfiguration: AppAction<\n typeof PasscreatorGetAppConfigurationInput,\n typeof PasscreatorGetAppConfigurationOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_APP_CONFIGURATION\", {\n slug: \"passcreator-get-app-configuration\",\n name: \"Get App Configuration\",\n description: \"Retrieves detailed information about an App Configuration by its identifier. Use when you need to get scan settings, UI customization, or validation rules for a specific App Configuration.\",\n input: PasscreatorGetAppConfigurationInput,\n output: PasscreatorGetAppConfigurationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC3H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,sBAAsBA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,uBAAuBA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,mCAAmCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uIAAuI;AAEjK,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-app-configuration.d.ts
|
|
@@ -27,21 +29,7 @@ declare const PasscreatorGetAppConfigurationOutput: z.ZodObject<{
|
|
|
27
29
|
preventNegativeNumericValues: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
preventNegativeStoredValueBalance: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const passcreatorGetAppConfiguration:
|
|
31
|
-
identifier: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const passcreatorGetAppConfiguration: AppAction<typeof PasscreatorGetAppConfigurationInput, typeof PasscreatorGetAppConfigurationOutput, typeof passcreator.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { passcreatorGetAppConfiguration };
|
|
47
35
|
//# sourceMappingURL=get-app-configuration.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-configuration.d.cts","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-configuration.d.cts","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-app-configuration.d.ts
|
|
@@ -27,21 +29,7 @@ declare const PasscreatorGetAppConfigurationOutput: z.ZodObject<{
|
|
|
27
29
|
preventNegativeNumericValues: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
preventNegativeStoredValueBalance: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const passcreatorGetAppConfiguration:
|
|
31
|
-
identifier: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const passcreatorGetAppConfiguration: AppAction<typeof PasscreatorGetAppConfigurationInput, typeof PasscreatorGetAppConfigurationOutput, typeof passcreator.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { passcreatorGetAppConfiguration };
|
|
47
35
|
//# sourceMappingURL=get-app-configuration.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-configuration.d.mts","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-configuration.d.mts","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-configuration.mjs","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorGetAppConfigurationInput = z.object({\n identifier: z.string().describe(\"App Configuration identifier (UUID format, e.g., d0a467cf-391a-4b89-a00e-dc57a56d7b7b).\"),\n}).describe(\"Request parameters for getting App Configuration details.\");\nconst PasscreatorGetAppConfiguration_AdditionalPropertySchema = z.object({\n required: z.boolean().describe(\"Whether this property is required.\").nullable().optional(),\n propertyName: z.string().describe(\"Name of the custom property.\").nullable().optional(),\n propertyType: z.string().describe(\"Type of the property (e.g., string, number, boolean).\").nullable().optional(),\n}).passthrough().describe(\"Custom data field to collect during scanning.\");\nconst PasscreatorGetAppConfiguration_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable().optional(),\n linkId: z.string().describe(\"Unique identifier for the link.\").nullable().optional(),\n expirationDate: z.string().describe(\"Expiration date for the link (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nexport const PasscreatorGetAppConfigurationOutput = z.object({\n name: z.string().describe(\"The App Configuration's name.\").nullable().optional(),\n place: z.string().describe(\"Location designation (e.g., venue room).\").nullable().optional(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void passes after scan) or 1 (save attendance without voiding).\").nullable().optional(),\n textColor: z.string().describe(\"Hex color code for text in the validation app.\").nullable().optional(),\n passTemplateId: z.string().describe(\"ID of the Pass Template to validate, or null to validate all passes.\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for the validation app interface.\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for the App Configuration.\").nullable().optional(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple Pass Template IDs if assigned.\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the associated Pass Template.\").nullable().optional(),\n additionalProperties: z.array(PasscreatorGetAppConfiguration_AdditionalPropertySchema).describe(\"Custom data fields to collect during scanning.\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorGetAppConfiguration_AppConfigurationLinkSchema).describe(\"Related configuration links with expiration details.\").nullable().optional(),\n preventNegativeNumericValues: z.boolean().describe(\"Prevents negative values in custom properties.\").nullable().optional(),\n preventNegativeStoredValueBalance: z.boolean().describe(\"Prevents negative balance during validation.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about an App Configuration.\\nIncludes scan settings, UI customization, and validation rules.\");\n\nexport const passcreatorGetAppConfiguration = action(\"PASSCREATOR_GET_APP_CONFIGURATION\", {\n slug: \"passcreator-get-app-configuration\",\n name: \"Get App Configuration\",\n description: \"Retrieves detailed information about an App Configuration by its identifier. Use when you need to get scan settings, UI customization, or validation rules for a specific App Configuration.\",\n input: PasscreatorGetAppConfigurationInput,\n output: PasscreatorGetAppConfigurationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-configuration.mjs","names":[],"sources":["../../src/actions/get-app-configuration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetAppConfigurationInput = z.object({\n identifier: z.string().describe(\"App Configuration identifier (UUID format, e.g., d0a467cf-391a-4b89-a00e-dc57a56d7b7b).\"),\n}).describe(\"Request parameters for getting App Configuration details.\");\nconst PasscreatorGetAppConfiguration_AdditionalPropertySchema = z.object({\n required: z.boolean().describe(\"Whether this property is required.\").nullable().optional(),\n propertyName: z.string().describe(\"Name of the custom property.\").nullable().optional(),\n propertyType: z.string().describe(\"Type of the property (e.g., string, number, boolean).\").nullable().optional(),\n}).passthrough().describe(\"Custom data field to collect during scanning.\");\nconst PasscreatorGetAppConfiguration_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable().optional(),\n linkId: z.string().describe(\"Unique identifier for the link.\").nullable().optional(),\n expirationDate: z.string().describe(\"Expiration date for the link (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nexport const PasscreatorGetAppConfigurationOutput = z.object({\n name: z.string().describe(\"The App Configuration's name.\").nullable().optional(),\n place: z.string().describe(\"Location designation (e.g., venue room).\").nullable().optional(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void passes after scan) or 1 (save attendance without voiding).\").nullable().optional(),\n textColor: z.string().describe(\"Hex color code for text in the validation app.\").nullable().optional(),\n passTemplateId: z.string().describe(\"ID of the Pass Template to validate, or null to validate all passes.\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for the validation app interface.\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for the App Configuration.\").nullable().optional(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple Pass Template IDs if assigned.\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the associated Pass Template.\").nullable().optional(),\n additionalProperties: z.array(PasscreatorGetAppConfiguration_AdditionalPropertySchema).describe(\"Custom data fields to collect during scanning.\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorGetAppConfiguration_AppConfigurationLinkSchema).describe(\"Related configuration links with expiration details.\").nullable().optional(),\n preventNegativeNumericValues: z.boolean().describe(\"Prevents negative values in custom properties.\").nullable().optional(),\n preventNegativeStoredValueBalance: z.boolean().describe(\"Prevents negative balance during validation.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about an App Configuration.\\nIncludes scan settings, UI customization, and validation rules.\");\n\nexport const passcreatorGetAppConfiguration: AppAction<\n typeof PasscreatorGetAppConfigurationInput,\n typeof PasscreatorGetAppConfigurationOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_APP_CONFIGURATION\", {\n slug: \"passcreator-get-app-configuration\",\n name: \"Get App Configuration\",\n description: \"Retrieves detailed information about an App Configuration by its identifier. Use when you need to get scan settings, UI customization, or validation rules for a specific App Configuration.\",\n input: PasscreatorGetAppConfigurationInput,\n output: PasscreatorGetAppConfigurationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC3H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,0DAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,4DAA4D,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAiBxE,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,sBAAsB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,uBAAuB,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/K,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-process-status.cjs","names":["z","action"],"sources":["../../src/actions/get-process-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorGetProcessStatusInput = z.object({\n identifier: z.string().describe(\"The unique identifier (UUID) of the bulk operation process to check status for\"),\n}).describe(\"Request parameters for getting bulk operation process status.\");\nconst PasscreatorGetProcessStatus_ProcessStatusSchema = z.enum([\"in progress\", \"finished\", \"finished with errors\"]).describe(\"Status of a bulk operation process.\");\nconst PasscreatorGetProcessStatus_ProcessDataSchema = z.object({\n total: z.number().int().describe(\"Total number of items to process in the bulk operation\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Error messages keyed by failed item identifier. Empty if no errors occurred.\").nullable().optional(),\n status: PasscreatorGetProcessStatus_ProcessStatusSchema.nullable().optional(),\n current: z.number().int().describe(\"Number of items processed so far in the bulk operation\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when the bulk operation was created\").nullable().optional(),\n}).passthrough().describe(\"Data about the bulk operation process including progress and errors.\");\nexport const PasscreatorGetProcessStatusOutput = z.object({\n data: PasscreatorGetProcessStatus_ProcessDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of data items in the response (1 if process found, 0 if not found)\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred (e.g., 'Object not found')\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 if process not found)\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status\").nullable().optional(),\n}).passthrough().describe(\"Response containing the current status and progress of a bulk operation.\");\n\nexport const passcreatorGetProcessStatus = action(\"PASSCREATOR_GET_PROCESS_STATUS\", {\n slug: \"passcreator-get-process-status\",\n name: \"Get Process Status\",\n description: \"Get the current status and progress of a bulk operation including any errors. Use this to monitor long-running bulk operations like batch pass updates or creations. The identifier is returned when initiating a bulk operation.\",\n input: PasscreatorGetProcessStatusInput,\n output: PasscreatorGetProcessStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-process-status.cjs","names":["z","action"],"sources":["../../src/actions/get-process-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetProcessStatusInput = z.object({\n identifier: z.string().describe(\"The unique identifier (UUID) of the bulk operation process to check status for\"),\n}).describe(\"Request parameters for getting bulk operation process status.\");\nconst PasscreatorGetProcessStatus_ProcessStatusSchema = z.enum([\"in progress\", \"finished\", \"finished with errors\"]).describe(\"Status of a bulk operation process.\");\nconst PasscreatorGetProcessStatus_ProcessDataSchema = z.object({\n total: z.number().int().describe(\"Total number of items to process in the bulk operation\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Error messages keyed by failed item identifier. Empty if no errors occurred.\").nullable().optional(),\n status: PasscreatorGetProcessStatus_ProcessStatusSchema.nullable().optional(),\n current: z.number().int().describe(\"Number of items processed so far in the bulk operation\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when the bulk operation was created\").nullable().optional(),\n}).passthrough().describe(\"Data about the bulk operation process including progress and errors.\");\nexport const PasscreatorGetProcessStatusOutput = z.object({\n data: PasscreatorGetProcessStatus_ProcessDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of data items in the response (1 if process found, 0 if not found)\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred (e.g., 'Object not found')\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 if process not found)\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status\").nullable().optional(),\n}).passthrough().describe(\"Response containing the current status and progress of a bulk operation.\");\n\nexport const passcreatorGetProcessStatus: AppAction<\n typeof PasscreatorGetProcessStatusInput,\n typeof PasscreatorGetProcessStatusOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_PROCESS_STATUS\", {\n slug: \"passcreator-get-process-status\",\n name: \"Get Process Status\",\n description: \"Get the current status and progress of a bulk operation including any errors. Use this to monitor long-running bulk operations like batch pass updates or creations. The identifier is returned when initiating a bulk operation.\",\n input: PasscreatorGetProcessStatusInput,\n output: PasscreatorGetProcessStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkDA,IAAAA,EAAE,KAAK;CAAC;CAAe;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAClK,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-process-status.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PasscreatorGetProcessStatusOutput: z.ZodObject<{
|
|
|
22
24
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const passcreatorGetProcessStatus:
|
|
26
|
-
identifier: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const passcreatorGetProcessStatus: AppAction<typeof PasscreatorGetProcessStatusInput, typeof PasscreatorGetProcessStatusOutput, typeof passcreator.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { passcreatorGetProcessStatus };
|
|
42
30
|
//# sourceMappingURL=get-process-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-process-status.d.cts","names":[],"sources":["../../src/actions/get-process-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-process-status.d.cts","names":[],"sources":["../../src/actions/get-process-status.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { passcreator } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-process-status.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PasscreatorGetProcessStatusOutput: z.ZodObject<{
|
|
|
22
24
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const passcreatorGetProcessStatus:
|
|
26
|
-
identifier: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const passcreatorGetProcessStatus: AppAction<typeof PasscreatorGetProcessStatusInput, typeof PasscreatorGetProcessStatusOutput, typeof passcreator.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { passcreatorGetProcessStatus };
|
|
42
30
|
//# sourceMappingURL=get-process-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-process-status.d.mts","names":[],"sources":["../../src/actions/get-process-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-process-status.d.mts","names":[],"sources":["../../src/actions/get-process-status.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-process-status.mjs","names":[],"sources":["../../src/actions/get-process-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorGetProcessStatusInput = z.object({\n identifier: z.string().describe(\"The unique identifier (UUID) of the bulk operation process to check status for\"),\n}).describe(\"Request parameters for getting bulk operation process status.\");\nconst PasscreatorGetProcessStatus_ProcessStatusSchema = z.enum([\"in progress\", \"finished\", \"finished with errors\"]).describe(\"Status of a bulk operation process.\");\nconst PasscreatorGetProcessStatus_ProcessDataSchema = z.object({\n total: z.number().int().describe(\"Total number of items to process in the bulk operation\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Error messages keyed by failed item identifier. Empty if no errors occurred.\").nullable().optional(),\n status: PasscreatorGetProcessStatus_ProcessStatusSchema.nullable().optional(),\n current: z.number().int().describe(\"Number of items processed so far in the bulk operation\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when the bulk operation was created\").nullable().optional(),\n}).passthrough().describe(\"Data about the bulk operation process including progress and errors.\");\nexport const PasscreatorGetProcessStatusOutput = z.object({\n data: PasscreatorGetProcessStatus_ProcessDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of data items in the response (1 if process found, 0 if not found)\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred (e.g., 'Object not found')\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 if process not found)\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status\").nullable().optional(),\n}).passthrough().describe(\"Response containing the current status and progress of a bulk operation.\");\n\nexport const passcreatorGetProcessStatus = action(\"PASSCREATOR_GET_PROCESS_STATUS\", {\n slug: \"passcreator-get-process-status\",\n name: \"Get Process Status\",\n description: \"Get the current status and progress of a bulk operation including any errors. Use this to monitor long-running bulk operations like batch pass updates or creations. The identifier is returned when initiating a bulk operation.\",\n input: PasscreatorGetProcessStatusInput,\n output: PasscreatorGetProcessStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-process-status.mjs","names":[],"sources":["../../src/actions/get-process-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetProcessStatusInput = z.object({\n identifier: z.string().describe(\"The unique identifier (UUID) of the bulk operation process to check status for\"),\n}).describe(\"Request parameters for getting bulk operation process status.\");\nconst PasscreatorGetProcessStatus_ProcessStatusSchema = z.enum([\"in progress\", \"finished\", \"finished with errors\"]).describe(\"Status of a bulk operation process.\");\nconst PasscreatorGetProcessStatus_ProcessDataSchema = z.object({\n total: z.number().int().describe(\"Total number of items to process in the bulk operation\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Error messages keyed by failed item identifier. Empty if no errors occurred.\").nullable().optional(),\n status: PasscreatorGetProcessStatus_ProcessStatusSchema.nullable().optional(),\n current: z.number().int().describe(\"Number of items processed so far in the bulk operation\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when the bulk operation was created\").nullable().optional(),\n}).passthrough().describe(\"Data about the bulk operation process including progress and errors.\");\nexport const PasscreatorGetProcessStatusOutput = z.object({\n data: PasscreatorGetProcessStatus_ProcessDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of data items in the response (1 if process found, 0 if not found)\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred (e.g., 'Object not found')\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 if process not found)\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status\").nullable().optional(),\n}).passthrough().describe(\"Response containing the current status and progress of a bulk operation.\");\n\nexport const passcreatorGetProcessStatus: AppAction<\n typeof PasscreatorGetProcessStatusInput,\n typeof PasscreatorGetProcessStatusOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_PROCESS_STATUS\", {\n slug: \"passcreator-get-process-status\",\n name: \"Get Process Status\",\n description: \"Get the current status and progress of a bulk operation including any errors. Use this to monitor long-running bulk operations like batch pass updates or creations. The identifier is returned when initiating a bulk operation.\",\n input: PasscreatorGetProcessStatusInput,\n output: PasscreatorGetProcessStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,EAClH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkD,EAAE,KAAK;CAAC;CAAe;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAClK,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAUhG,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB+C,EAAE,OAAO;EACxD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-signing-public-key.cjs","names":["z","action"],"sources":["../../src/actions/get-signing-public-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorGetSigningPublicKeyInput = z.object({}).describe(\"Request model for obtaining the public key for signature verification.\\nThis endpoint requires no parameters - authentication is handled via headers.\");\nconst PasscreatorGetSigningPublicKey_PublicKeyDataSchema = z.object({\n publicKey: z.string().describe(\"The public key in PEM format needed to verify signatures from the placeholder sign() function.\").nullable(),\n}).passthrough().describe(\"Data container for the public key response.\");\nexport const PasscreatorGetSigningPublicKeyOutput = z.object({\n data: PasscreatorGetSigningPublicKey_PublicKeyDataSchema.nullable(),\n count: z.number().int().describe(\"Number of items returned in the data field.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n responseMetaData: z.unknown().describe(\"Additional metadata from the API response (always null for this endpoint).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the public key for signature verification.\");\n\nexport const passcreatorGetSigningPublicKey = action(\"PASSCREATOR_GET_SIGNING_PUBLIC_KEY\", {\n slug: \"passcreator-get-signing-public-key\",\n name: \"Get Signing Public Key\",\n description: \"Tool to obtain the public key needed to verify signatures from the placeholder sign() function. Use when you need to verify cryptographic signatures generated by Passcreator's sign placeholder.\",\n input: PasscreatorGetSigningPublicKeyInput,\n output: PasscreatorGetSigningPublicKeyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-signing-public-key.cjs","names":["z","action"],"sources":["../../src/actions/get-signing-public-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetSigningPublicKeyInput = z.object({}).describe(\"Request model for obtaining the public key for signature verification.\\nThis endpoint requires no parameters - authentication is handled via headers.\");\nconst PasscreatorGetSigningPublicKey_PublicKeyDataSchema = z.object({\n publicKey: z.string().describe(\"The public key in PEM format needed to verify signatures from the placeholder sign() function.\").nullable(),\n}).passthrough().describe(\"Data container for the public key response.\");\nexport const PasscreatorGetSigningPublicKeyOutput = z.object({\n data: PasscreatorGetSigningPublicKey_PublicKeyDataSchema.nullable(),\n count: z.number().int().describe(\"Number of items returned in the data field.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n responseMetaData: z.unknown().describe(\"Additional metadata from the API response (always null for this endpoint).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the public key for signature verification.\");\n\nexport const passcreatorGetSigningPublicKey: AppAction<\n typeof PasscreatorGetSigningPublicKeyInput,\n typeof PasscreatorGetSigningPublicKeyOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_SIGNING_PUBLIC_KEY\", {\n slug: \"passcreator-get-signing-public-key\",\n name: \"Get Signing Public Key\",\n description: \"Tool to obtain the public key needed to verify signatures from the placeholder sign() function. Use when you need to verify cryptographic signatures generated by Passcreator's sign placeholder.\",\n input: PasscreatorGetSigningPublicKeyInput,\n output: PasscreatorGetSigningPublicKeyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AAChO,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAM,mDAAmD,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|