@keystrokehq/passcreator 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.
- package/dist/actions/check-pass-existence.cjs +1 -1
- package/dist/actions/check-pass-existence.cjs.map +1 -1
- package/dist/actions/check-pass-existence.d.cts +1 -1
- package/dist/actions/check-pass-existence.d.mts +1 -1
- package/dist/actions/check-pass-existence.mjs +1 -1
- package/dist/actions/check-pass-existence.mjs.map +1 -1
- package/dist/actions/create-app-scan.cjs +2 -2
- package/dist/actions/create-app-scan.cjs.map +1 -1
- package/dist/actions/create-app-scan.d.cts +3 -3
- package/dist/actions/create-app-scan.d.mts +3 -3
- package/dist/actions/create-app-scan.mjs +2 -2
- package/dist/actions/create-app-scan.mjs.map +1 -1
- package/dist/actions/get-signing-public-key.cjs +2 -2
- package/dist/actions/get-signing-public-key.cjs.map +1 -1
- package/dist/actions/get-signing-public-key.d.cts +2 -2
- package/dist/actions/get-signing-public-key.d.mts +2 -2
- package/dist/actions/get-signing-public-key.mjs +2 -2
- package/dist/actions/get-signing-public-key.mjs.map +1 -1
- package/dist/actions/list-app-configurations.cjs +1 -1
- package/dist/actions/list-app-configurations.cjs.map +1 -1
- package/dist/actions/list-app-configurations.d.cts +1 -1
- package/dist/actions/list-app-configurations.d.mts +1 -1
- package/dist/actions/list-app-configurations.mjs +1 -1
- package/dist/actions/list-app-configurations.mjs.map +1 -1
- package/dist/actions/send-bulk-push-notifications.cjs +1 -1
- package/dist/actions/send-bulk-push-notifications.cjs.map +1 -1
- package/dist/actions/send-bulk-push-notifications.d.cts +1 -1
- package/dist/actions/send-bulk-push-notifications.d.mts +1 -1
- package/dist/actions/send-bulk-push-notifications.mjs +1 -1
- package/dist/actions/send-bulk-push-notifications.mjs.map +1 -1
- package/dist/actions/update-passes-bulk.cjs +2 -2
- package/dist/actions/update-passes-bulk.cjs.map +1 -1
- package/dist/actions/update-passes-bulk.d.cts +2 -2
- package/dist/actions/update-passes-bulk.d.mts +2 -2
- package/dist/actions/update-passes-bulk.mjs +2 -2
- package/dist/actions/update-passes-bulk.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ const PasscreatorCheckPassExistenceOutput = zod.z.object({
|
|
|
11
11
|
identifier: zod.z.string().describe("The identifier returned by the API if the pass exists.").nullable().optional(),
|
|
12
12
|
generatedId: zod.z.string().describe("The generated unique ID of the pass if it exists.").nullable().optional(),
|
|
13
13
|
passTemplateGuid: zod.z.string().describe("The GUID of the pass template used if the pass exists.").nullable().optional()
|
|
14
|
-
}).describe("Response model indicating whether a pass exists for the given ID.");
|
|
14
|
+
}).passthrough().describe("Response model indicating whether a pass exists for the given ID.");
|
|
15
15
|
const passcreatorCheckPassExistence = require_action.action("PASSCREATOR_CHECK_PASS_EXISTENCE", {
|
|
16
16
|
slug: "passcreator-check-pass-existence",
|
|
17
17
|
name: "Check Pass Existence",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,mEAAmE;
|
|
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":";;;AAIA,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,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const PasscreatorCheckPassExistenceOutput: z.ZodObject<{
|
|
|
13
13
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
generatedId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
passTemplateGuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const passcreatorCheckPassExistence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
passId: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,7 +13,7 @@ declare const PasscreatorCheckPassExistenceOutput: z.ZodObject<{
|
|
|
13
13
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
generatedId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
passTemplateGuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const passcreatorCheckPassExistence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
passId: string;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,7 +14,7 @@ const passcreatorCheckPassExistence = action("PASSCREATOR_CHECK_PASS_EXISTENCE",
|
|
|
14
14
|
identifier: z.string().describe("The identifier returned by the API if the pass exists.").nullable().optional(),
|
|
15
15
|
generatedId: z.string().describe("The generated unique ID of the pass if it exists.").nullable().optional(),
|
|
16
16
|
passTemplateGuid: z.string().describe("The GUID of the pass template used if the pass exists.").nullable().optional()
|
|
17
|
-
}).describe("Response model indicating whether a pass exists for the given ID.")
|
|
17
|
+
}).passthrough().describe("Response model indicating whether a pass exists for the given ID.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { passcreatorCheckPassExistence };
|
|
@@ -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}).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":";;AAkBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACnJ,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhBiD,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,SAAS,
|
|
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":";;AAkBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACnJ,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhBiD,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,mEAOhB;AACV,CAAC"}
|
|
@@ -14,14 +14,14 @@ const PasscreatorCreateAppScanInput = zod.z.object({
|
|
|
14
14
|
]).describe("Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)"),
|
|
15
15
|
appConfigurationId: zod.z.string().describe("The unique ID of the App Configuration tied to this scan (UUID format)"),
|
|
16
16
|
scannedBarcodeValue: zod.z.string().describe("The barcode value that was scanned"),
|
|
17
|
-
additionalProperties: zod.z.
|
|
17
|
+
additionalProperties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value pairs where keys are property IDs and values are the corresponding data. Optional field.").optional()
|
|
18
18
|
}).describe("Request parameters for creating a new App Scan in PassCreator.");
|
|
19
19
|
const PasscreatorCreateAppScanOutput = zod.z.object({
|
|
20
20
|
error: zod.z.string().describe("Error message if the scan creation failed").nullable().optional(),
|
|
21
21
|
scanId: zod.z.string().describe("The unique ID of the created app scan").nullable().optional(),
|
|
22
22
|
message: zod.z.string().describe("Status message or description from the API").nullable().optional(),
|
|
23
23
|
success: zod.z.boolean().describe("Whether the app scan was created successfully").nullable()
|
|
24
|
-
}).describe("Response from creating an App Scan.");
|
|
24
|
+
}).passthrough().describe("Response from creating an App Scan.");
|
|
25
25
|
const passcreatorCreateAppScan = require_action.action("PASSCREATOR_CREATE_APP_SCAN", {
|
|
26
26
|
slug: "passcreator-create-app-scan",
|
|
27
27
|
name: "Create App Scan",
|
|
@@ -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.
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,14 +14,14 @@ declare const PasscreatorCreateAppScanInput: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
appConfigurationId: z.ZodString;
|
|
16
16
|
scannedBarcodeValue: z.ZodString;
|
|
17
|
-
additionalProperties: z.ZodOptional<z.
|
|
17
|
+
additionalProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const PasscreatorCreateAppScanOutput: z.ZodObject<{
|
|
20
20
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
scanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const passcreatorCreateAppScan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
createdOn: string;
|
|
27
27
|
deviceName: string;
|
|
@@ -30,7 +30,7 @@ declare const passcreatorCreateAppScan: import("@keystrokehq/action").WorkflowAc
|
|
|
30
30
|
scannedBarcodeValue: string;
|
|
31
31
|
passId?: string | undefined;
|
|
32
32
|
setVoided?: boolean | undefined;
|
|
33
|
-
additionalProperties?: Record<string,
|
|
33
|
+
additionalProperties?: Record<string, unknown> | undefined;
|
|
34
34
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { passcreatorCreateAppScan };
|
|
@@ -14,14 +14,14 @@ declare const PasscreatorCreateAppScanInput: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
appConfigurationId: z.ZodString;
|
|
16
16
|
scannedBarcodeValue: z.ZodString;
|
|
17
|
-
additionalProperties: z.ZodOptional<z.
|
|
17
|
+
additionalProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const PasscreatorCreateAppScanOutput: z.ZodObject<{
|
|
20
20
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
scanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const passcreatorCreateAppScan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
createdOn: string;
|
|
27
27
|
deviceName: string;
|
|
@@ -30,7 +30,7 @@ declare const passcreatorCreateAppScan: import("@keystrokehq/action").WorkflowAc
|
|
|
30
30
|
scannedBarcodeValue: string;
|
|
31
31
|
passId?: string | undefined;
|
|
32
32
|
setVoided?: boolean | undefined;
|
|
33
|
-
additionalProperties?: Record<string,
|
|
33
|
+
additionalProperties?: Record<string, unknown> | undefined;
|
|
34
34
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { passcreatorCreateAppScan };
|
|
@@ -17,14 +17,14 @@ const passcreatorCreateAppScan = action("PASSCREATOR_CREATE_APP_SCAN", {
|
|
|
17
17
|
]).describe("Status indicator: pass_voided_after_scan (0), pass_already_voided (1), attendance_saved (2), or pass_not_found (3)"),
|
|
18
18
|
appConfigurationId: z.string().describe("The unique ID of the App Configuration tied to this scan (UUID format)"),
|
|
19
19
|
scannedBarcodeValue: z.string().describe("The barcode value that was scanned"),
|
|
20
|
-
additionalProperties: z.
|
|
20
|
+
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()
|
|
21
21
|
}).describe("Request parameters for creating a new App Scan in PassCreator."),
|
|
22
22
|
output: z.object({
|
|
23
23
|
error: z.string().describe("Error message if the scan creation failed").nullable().optional(),
|
|
24
24
|
scanId: z.string().describe("The unique ID of the created app scan").nullable().optional(),
|
|
25
25
|
message: z.string().describe("Status message or description from the API").nullable().optional(),
|
|
26
26
|
success: z.boolean().describe("Whether the app scan was created successfully").nullable()
|
|
27
|
-
}).describe("Response from creating an App Scan.")
|
|
27
|
+
}).passthrough().describe("Response from creating an App Scan.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { passcreatorCreateAppScan };
|
|
@@ -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.
|
|
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":";;AAqBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB2C,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,gEAYH;CACP,QAZ4C,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,qCAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-signing-public-key.ts
|
|
4
4
|
const PasscreatorGetSigningPublicKeyInput = zod.z.object({}).describe("Request model for obtaining the public key for signature verification.\nThis endpoint requires no parameters - authentication is handled via headers.");
|
|
5
|
-
const PasscreatorGetSigningPublicKey_PublicKeyDataSchema = zod.z.object({ publicKey: zod.z.string().describe("The public key in PEM format needed to verify signatures from the placeholder sign() function.").nullable() }).describe("Data container for the public key response.");
|
|
5
|
+
const PasscreatorGetSigningPublicKey_PublicKeyDataSchema = zod.z.object({ publicKey: zod.z.string().describe("The public key in PEM format needed to verify signatures from the placeholder sign() function.").nullable() }).passthrough().describe("Data container for the public key response.");
|
|
6
6
|
const PasscreatorGetSigningPublicKeyOutput = zod.z.object({
|
|
7
7
|
data: PasscreatorGetSigningPublicKey_PublicKeyDataSchema.nullable(),
|
|
8
8
|
count: zod.z.number().int().describe("Number of items returned in the data field.").nullable(),
|
|
@@ -11,7 +11,7 @@ const PasscreatorGetSigningPublicKeyOutput = zod.z.object({
|
|
|
11
11
|
statusCode: zod.z.number().int().describe("HTTP status code returned by the API (200 for success).").nullable(),
|
|
12
12
|
description: zod.z.string().describe("Human-readable description of the response status.").nullable().optional(),
|
|
13
13
|
responseMetaData: zod.z.unknown().describe("Additional metadata from the API response (always null for this endpoint).").nullable().optional()
|
|
14
|
-
}).describe("Response model containing the public key for signature verification.");
|
|
14
|
+
}).passthrough().describe("Response model containing the public key for signature verification.");
|
|
15
15
|
const passcreatorGetSigningPublicKey = require_action.action("PASSCREATOR_GET_SIGNING_PUBLIC_KEY", {
|
|
16
16
|
slug: "passcreator-get-signing-public-key",
|
|
17
17
|
name: "Get Signing Public Key",
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,6CAA6C;
|
|
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":";;;AAIA,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,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,14 +5,14 @@ declare const PasscreatorGetSigningPublicKeyInput: z.ZodObject<{}, z.core.$strip
|
|
|
5
5
|
declare const PasscreatorGetSigningPublicKeyOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
publicKey: z.ZodNullable<z.ZodString>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
count: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
12
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
responseMetaData: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const passcreatorGetSigningPublicKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { passcreatorGetSigningPublicKey };
|
|
@@ -5,14 +5,14 @@ declare const PasscreatorGetSigningPublicKeyInput: z.ZodObject<{}, z.core.$strip
|
|
|
5
5
|
declare const PasscreatorGetSigningPublicKeyOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
publicKey: z.ZodNullable<z.ZodString>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
count: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
12
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
responseMetaData: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const passcreatorGetSigningPublicKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { passcreatorGetSigningPublicKey };
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-signing-public-key.ts
|
|
4
4
|
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.");
|
|
5
|
-
const PasscreatorGetSigningPublicKey_PublicKeyDataSchema = z.object({ publicKey: z.string().describe("The public key in PEM format needed to verify signatures from the placeholder sign() function.").nullable() }).describe("Data container for the public key response.");
|
|
5
|
+
const PasscreatorGetSigningPublicKey_PublicKeyDataSchema = z.object({ publicKey: z.string().describe("The public key in PEM format needed to verify signatures from the placeholder sign() function.").nullable() }).passthrough().describe("Data container for the public key response.");
|
|
6
6
|
const passcreatorGetSigningPublicKey = action("PASSCREATOR_GET_SIGNING_PUBLIC_KEY", {
|
|
7
7
|
slug: "passcreator-get-signing-public-key",
|
|
8
8
|
name: "Get Signing Public Key",
|
|
@@ -16,7 +16,7 @@ const passcreatorGetSigningPublicKey = action("PASSCREATOR_GET_SIGNING_PUBLIC_KE
|
|
|
16
16
|
statusCode: z.number().int().describe("HTTP status code returned by the API (200 for success).").nullable(),
|
|
17
17
|
description: z.string().describe("Human-readable description of the response status.").nullable().optional(),
|
|
18
18
|
responseMetaData: z.unknown().describe("Additional metadata from the API response (always null for this endpoint).").nullable().optional()
|
|
19
|
-
}).describe("Response model containing the public key for signature verification.")
|
|
19
|
+
}).passthrough().describe("Response model containing the public key for signature verification.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { passcreatorGetSigningPublicKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-signing-public-key.mjs","names":[],"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}).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}).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":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AAChO,MAAM,qDAAqD,EAAE,OAAO,EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"get-signing-public-key.mjs","names":[],"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":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AAChO,MAAM,qDAAqD,EAAE,OAAO,EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAWvE,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkD,EAAE,OAAO;EAC3D,MAAM,mDAAmD,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const PasscreatorListAppConfigurations_AppConfigurationSchema = zod.z.object({
|
|
|
21
21
|
additionalProperties: zod.z.array(zod.z.unknown()).describe("Custom fields collected during scans").nullable().optional(),
|
|
22
22
|
appConfigurationLinks: zod.z.array(PasscreatorListAppConfigurations_AppConfigurationLinkSchema).describe("Associated configuration links with metadata").nullable().optional()
|
|
23
23
|
}).passthrough().describe("An App Configuration object from the Passcreator account.");
|
|
24
|
-
const PasscreatorListAppConfigurationsOutput = zod.z.object({ configurations: zod.z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe("List of App Configuration objects in the account").nullable().optional() }).describe("Response containing an array of App Configuration objects.\nEach configuration includes details about scan validation settings.");
|
|
24
|
+
const PasscreatorListAppConfigurationsOutput = zod.z.object({ configurations: zod.z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe("List of App Configuration objects in the account").nullable().optional() }).passthrough().describe("Response containing an array of App Configuration objects.\nEach configuration includes details about scan validation settings.");
|
|
25
25
|
const passcreatorListAppConfigurations = require_action.action("PASSCREATOR_LIST_APP_CONFIGURATIONS", {
|
|
26
26
|
slug: "passcreator-list-app-configurations",
|
|
27
27
|
name: "List App Configurations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-app-configurations.cjs","names":["z","action"],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppConfigurationsInput = z.object({}).describe(\"Request parameters for listing App Configurations.\\nNote: The Passcreator API does not support pagination or filtering\\nfor this endpoint. All configurations are returned at once.\");\nconst PasscreatorListAppConfigurations_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the configuration link\").nullable().optional(),\n label: z.string().describe(\"Label or description of the link\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nconst PasscreatorListAppConfigurations_AppConfigurationSchema = z.object({\n name: z.string().describe(\"The configuration's label/name\").nullable(),\n place: z.string().describe(\"Venue location identifier\").nullable(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void after scan) or 1 (attendance tracking)\").nullable(),\n createdOn: z.string().describe(\"Timestamp when created in customer timezone (format: Y-m-d H:i:s)\").nullable(),\n textColor: z.string().describe(\"Hex color code for interface text\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when created in UTC timezone\").nullable(),\n passTemplateId: z.string().describe(\"Associated Pass Template ID; null means it validates all passes\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for validation interface background\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for this configuration\").nullable(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple template IDs if assigned to multiple templates\").nullable().optional(),\n passTemplateName: z.string().describe(\"Pass Template label/name\").nullable().optional(),\n additionalProperties: z.array(z.unknown()).describe(\"Custom fields collected during scans\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorListAppConfigurations_AppConfigurationLinkSchema).describe(\"Associated configuration links with metadata\").nullable().optional(),\n}).passthrough().describe(\"An App Configuration object from the Passcreator account.\");\nexport const PasscreatorListAppConfigurationsOutput = z.object({\n configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe(\"List of App Configuration objects in the account\").nullable().optional(),\n}).describe(\"Response containing an array of App Configuration objects.\\nEach configuration includes details about scan validation settings.\");\n\nexport const passcreatorListAppConfigurations = action(\"PASSCREATOR_LIST_APP_CONFIGURATIONS\", {\n slug: \"passcreator-list-app-configurations\",\n name: \"List App Configurations\",\n description: \"Retrieves all App Configurations for your Passcreator account. Use this action to get a list of validation configurations that control how passes are scanned and validated. Each configuration can be linked to specific pass templates or validate all passes.\",\n input: PasscreatorListAppConfigurationsInput,\n output: PasscreatorListAppConfigurationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChQ,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,gBAAgBA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,iIAAiI;
|
|
1
|
+
{"version":3,"file":"list-app-configurations.cjs","names":["z","action"],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppConfigurationsInput = z.object({}).describe(\"Request parameters for listing App Configurations.\\nNote: The Passcreator API does not support pagination or filtering\\nfor this endpoint. All configurations are returned at once.\");\nconst PasscreatorListAppConfigurations_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the configuration link\").nullable().optional(),\n label: z.string().describe(\"Label or description of the link\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nconst PasscreatorListAppConfigurations_AppConfigurationSchema = z.object({\n name: z.string().describe(\"The configuration's label/name\").nullable(),\n place: z.string().describe(\"Venue location identifier\").nullable(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void after scan) or 1 (attendance tracking)\").nullable(),\n createdOn: z.string().describe(\"Timestamp when created in customer timezone (format: Y-m-d H:i:s)\").nullable(),\n textColor: z.string().describe(\"Hex color code for interface text\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when created in UTC timezone\").nullable(),\n passTemplateId: z.string().describe(\"Associated Pass Template ID; null means it validates all passes\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for validation interface background\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for this configuration\").nullable(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple template IDs if assigned to multiple templates\").nullable().optional(),\n passTemplateName: z.string().describe(\"Pass Template label/name\").nullable().optional(),\n additionalProperties: z.array(z.unknown()).describe(\"Custom fields collected during scans\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorListAppConfigurations_AppConfigurationLinkSchema).describe(\"Associated configuration links with metadata\").nullable().optional(),\n}).passthrough().describe(\"An App Configuration object from the Passcreator account.\");\nexport const PasscreatorListAppConfigurationsOutput = z.object({\n configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe(\"List of App Configuration objects in the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing an array of App Configuration objects.\\nEach configuration includes details about scan validation settings.\");\n\nexport const passcreatorListAppConfigurations = action(\"PASSCREATOR_LIST_APP_CONFIGURATIONS\", {\n slug: \"passcreator-list-app-configurations\",\n name: \"List App Configurations\",\n description: \"Retrieves all App Configurations for your Passcreator account. Use this action to get a list of validation configurations that control how passes are scanned and validated. Each configuration can be linked to specific pass templates or validate all passes.\",\n input: PasscreatorListAppConfigurationsInput,\n output: PasscreatorListAppConfigurationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChQ,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,gBAAgBA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iIAAiI;AAE3J,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ declare const PasscreatorListAppConfigurationsOutput: z.ZodObject<{
|
|
|
21
21
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>>>;
|
|
23
23
|
}, z.core.$loose>>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const passcreatorListAppConfigurations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { passcreatorListAppConfigurations };
|
|
@@ -21,7 +21,7 @@ declare const PasscreatorListAppConfigurationsOutput: z.ZodObject<{
|
|
|
21
21
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>>>;
|
|
23
23
|
}, z.core.$loose>>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const passcreatorListAppConfigurations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { passcreatorListAppConfigurations };
|
|
@@ -26,7 +26,7 @@ const passcreatorListAppConfigurations = action("PASSCREATOR_LIST_APP_CONFIGURAT
|
|
|
26
26
|
name: "List App Configurations",
|
|
27
27
|
description: "Retrieves all App Configurations for your Passcreator account. Use this action to get a list of validation configurations that control how passes are scanned and validated. Each configuration can be linked to specific pass templates or validate all passes.",
|
|
28
28
|
input: PasscreatorListAppConfigurationsInput,
|
|
29
|
-
output: z.object({ configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe("List of App Configuration objects in the account").nullable().optional() }).describe("Response containing an array of App Configuration objects.\nEach configuration includes details about scan validation settings.")
|
|
29
|
+
output: z.object({ configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe("List of App Configuration objects in the account").nullable().optional() }).passthrough().describe("Response containing an array of App Configuration objects.\nEach configuration includes details about scan validation settings.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { passcreatorListAppConfigurations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-app-configurations.mjs","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppConfigurationsInput = z.object({}).describe(\"Request parameters for listing App Configurations.\\nNote: The Passcreator API does not support pagination or filtering\\nfor this endpoint. All configurations are returned at once.\");\nconst PasscreatorListAppConfigurations_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the configuration link\").nullable().optional(),\n label: z.string().describe(\"Label or description of the link\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nconst PasscreatorListAppConfigurations_AppConfigurationSchema = z.object({\n name: z.string().describe(\"The configuration's label/name\").nullable(),\n place: z.string().describe(\"Venue location identifier\").nullable(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void after scan) or 1 (attendance tracking)\").nullable(),\n createdOn: z.string().describe(\"Timestamp when created in customer timezone (format: Y-m-d H:i:s)\").nullable(),\n textColor: z.string().describe(\"Hex color code for interface text\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when created in UTC timezone\").nullable(),\n passTemplateId: z.string().describe(\"Associated Pass Template ID; null means it validates all passes\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for validation interface background\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for this configuration\").nullable(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple template IDs if assigned to multiple templates\").nullable().optional(),\n passTemplateName: z.string().describe(\"Pass Template label/name\").nullable().optional(),\n additionalProperties: z.array(z.unknown()).describe(\"Custom fields collected during scans\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorListAppConfigurations_AppConfigurationLinkSchema).describe(\"Associated configuration links with metadata\").nullable().optional(),\n}).passthrough().describe(\"An App Configuration object from the Passcreator account.\");\nexport const PasscreatorListAppConfigurationsOutput = z.object({\n configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe(\"List of App Configuration objects in the account\").nullable().optional(),\n}).describe(\"Response containing an array of App Configuration objects.\\nEach configuration includes details about scan validation settings.\");\n\nexport const passcreatorListAppConfigurations = action(\"PASSCREATOR_LIST_APP_CONFIGURATIONS\", {\n slug: \"passcreator-list-app-configurations\",\n name: \"List App Configurations\",\n description: \"Retrieves all App Configurations for your Passcreator account. Use this action to get a list of validation configurations that control how passes are scanned and validated. Each configuration can be linked to specific pass templates or validate all passes.\",\n input: PasscreatorListAppConfigurationsInput,\n output: PasscreatorListAppConfigurationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChQ,MAAM,8DAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuB,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,gBAAgB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-app-configurations.mjs","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppConfigurationsInput = z.object({}).describe(\"Request parameters for listing App Configurations.\\nNote: The Passcreator API does not support pagination or filtering\\nfor this endpoint. All configurations are returned at once.\");\nconst PasscreatorListAppConfigurations_AppConfigurationLinkSchema = z.object({\n url: z.string().describe(\"URL of the configuration link\").nullable().optional(),\n label: z.string().describe(\"Label or description of the link\").nullable().optional(),\n}).passthrough().describe(\"A link associated with an App Configuration.\");\nconst PasscreatorListAppConfigurations_AppConfigurationSchema = z.object({\n name: z.string().describe(\"The configuration's label/name\").nullable(),\n place: z.string().describe(\"Venue location identifier\").nullable(),\n scanMode: z.number().int().describe(\"Scan mode: 0 (void after scan) or 1 (attendance tracking)\").nullable(),\n createdOn: z.string().describe(\"Timestamp when created in customer timezone (format: Y-m-d H:i:s)\").nullable(),\n textColor: z.string().describe(\"Hex color code for interface text\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when created in UTC timezone\").nullable(),\n passTemplateId: z.string().describe(\"Associated Pass Template ID; null means it validates all passes\").nullable().optional(),\n backgroundColor: z.string().describe(\"Hex color code for validation interface background\").nullable().optional(),\n configurationId: z.string().describe(\"Unique UUID identifier for this configuration\").nullable(),\n passTemplateIds: z.array(z.string()).describe(\"Multiple template IDs if assigned to multiple templates\").nullable().optional(),\n passTemplateName: z.string().describe(\"Pass Template label/name\").nullable().optional(),\n additionalProperties: z.array(z.unknown()).describe(\"Custom fields collected during scans\").nullable().optional(),\n appConfigurationLinks: z.array(PasscreatorListAppConfigurations_AppConfigurationLinkSchema).describe(\"Associated configuration links with metadata\").nullable().optional(),\n}).passthrough().describe(\"An App Configuration object from the Passcreator account.\");\nexport const PasscreatorListAppConfigurationsOutput = z.object({\n configurations: z.array(PasscreatorListAppConfigurations_AppConfigurationSchema).describe(\"List of App Configuration objects in the account\").nullable().optional(),\n}).passthrough().describe(\"Response containing an array of App Configuration objects.\\nEach configuration includes details about scan validation settings.\");\n\nexport const passcreatorListAppConfigurations = action(\"PASSCREATOR_LIST_APP_CONFIGURATIONS\", {\n slug: \"passcreator-list-app-configurations\",\n name: \"List App Configurations\",\n description: \"Retrieves all App Configurations for your Passcreator account. Use this action to get a list of validation configurations that control how passes are scanned and validated. Each configuration can be linked to specific pass templates or validate all passes.\",\n input: PasscreatorListAppConfigurationsInput,\n output: PasscreatorListAppConfigurationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChQ,MAAM,8DAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuB,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,gBAAgB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iIAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PasscreatorSendBulkPushNotificationsOutput = zod.z.object({
|
|
|
9
9
|
message: zod.z.string().describe("Response message from the API indicating the status of the operation.").nullable(),
|
|
10
10
|
success: zod.z.boolean().describe("Whether the push notification request was accepted successfully.").nullable(),
|
|
11
11
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API (typically 202 for accepted).").nullable()
|
|
12
|
-
}).describe("Response from the Passcreator API after sending push notifications.");
|
|
12
|
+
}).passthrough().describe("Response from the Passcreator API after sending push notifications.");
|
|
13
13
|
const passcreatorSendBulkPushNotifications = require_action.action("PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS", {
|
|
14
14
|
slug: "passcreator-send-bulk-push-notifications",
|
|
15
15
|
name: "Send Bulk Push Notifications",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-bulk-push-notifications.cjs","names":["z","action"],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorSendBulkPushNotificationsInput = z.object({\n listOfPasses: z.array(z.string()).describe(\"An array of pass identifiers (UID, userProvidedId, or barcode value). Maximum 500 identifiers per request.\"),\n pushNotificationText: z.string().describe(\"The text for the push notification. May include placeholders like {Firstname} for personalization.\"),\n}).describe(\"Request parameters for sending push notifications to multiple passes.\");\nexport const PasscreatorSendBulkPushNotificationsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating the status of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the push notification request was accepted successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (typically 202 for accepted).\").nullable(),\n}).describe(\"Response from the Passcreator API after sending push notifications.\");\n\nexport const passcreatorSendBulkPushNotifications = action(\"PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS\", {\n slug: \"passcreator-send-bulk-push-notifications\",\n name: \"Send Bulk Push Notifications\",\n description: \"Tool to send push notifications to multiple wallet passes simultaneously (up to 500 passes). Use when you need to notify pass holders about updates, events, or important information. The notification text can include personalization placeholders like {Firstname}.\",\n input: PasscreatorSendBulkPushNotificationsInput,\n output: PasscreatorSendBulkPushNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;CACvJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"send-bulk-push-notifications.cjs","names":["z","action"],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorSendBulkPushNotificationsInput = z.object({\n listOfPasses: z.array(z.string()).describe(\"An array of pass identifiers (UID, userProvidedId, or barcode value). Maximum 500 identifiers per request.\"),\n pushNotificationText: z.string().describe(\"The text for the push notification. May include placeholders like {Firstname} for personalization.\"),\n}).describe(\"Request parameters for sending push notifications to multiple passes.\");\nexport const PasscreatorSendBulkPushNotificationsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating the status of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the push notification request was accepted successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (typically 202 for accepted).\").nullable(),\n}).passthrough().describe(\"Response from the Passcreator API after sending push notifications.\");\n\nexport const passcreatorSendBulkPushNotifications = action(\"PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS\", {\n slug: \"passcreator-send-bulk-push-notifications\",\n name: \"Send Bulk Push Notifications\",\n description: \"Tool to send push notifications to multiple wallet passes simultaneously (up to 500 passes). Use when you need to notify pass holders about updates, events, or important information. The notification text can include personalization placeholders like {Firstname}.\",\n input: PasscreatorSendBulkPushNotificationsInput,\n output: PasscreatorSendBulkPushNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;CACvJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PasscreatorSendBulkPushNotificationsOutput: z.ZodObject<{
|
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const passcreatorSendBulkPushNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
listOfPasses: string[];
|
|
15
15
|
pushNotificationText: string;
|
|
@@ -9,7 +9,7 @@ declare const PasscreatorSendBulkPushNotificationsOutput: z.ZodObject<{
|
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const passcreatorSendBulkPushNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
listOfPasses: string[];
|
|
15
15
|
pushNotificationText: string;
|
|
@@ -12,7 +12,7 @@ const passcreatorSendBulkPushNotifications = action("PASSCREATOR_SEND_BULK_PUSH_
|
|
|
12
12
|
message: z.string().describe("Response message from the API indicating the status of the operation.").nullable(),
|
|
13
13
|
success: z.boolean().describe("Whether the push notification request was accepted successfully.").nullable(),
|
|
14
14
|
status_code: z.number().int().describe("HTTP status code returned by the API (typically 202 for accepted).").nullable()
|
|
15
|
-
}).describe("Response from the Passcreator API after sending push notifications.")
|
|
15
|
+
}).passthrough().describe("Response from the Passcreator API after sending push notifications.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { passcreatorSendBulkPushNotifications };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-bulk-push-notifications.mjs","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorSendBulkPushNotificationsInput = z.object({\n listOfPasses: z.array(z.string()).describe(\"An array of pass identifiers (UID, userProvidedId, or barcode value). Maximum 500 identifiers per request.\"),\n pushNotificationText: z.string().describe(\"The text for the push notification. May include placeholders like {Firstname} for personalization.\"),\n}).describe(\"Request parameters for sending push notifications to multiple passes.\");\nexport const PasscreatorSendBulkPushNotificationsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating the status of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the push notification request was accepted successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (typically 202 for accepted).\").nullable(),\n}).describe(\"Response from the Passcreator API after sending push notifications.\");\n\nexport const passcreatorSendBulkPushNotifications = action(\"PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS\", {\n slug: \"passcreator-send-bulk-push-notifications\",\n name: \"Send Bulk Push Notifications\",\n description: \"Tool to send push notifications to multiple wallet passes simultaneously (up to 500 passes). Use when you need to notify pass holders about updates, events, or important information. The notification text can include personalization placeholders like {Firstname}.\",\n input: PasscreatorSendBulkPushNotificationsInput,\n output: PasscreatorSendBulkPushNotificationsOutput,\n});\n"],"mappings":";;AAcA,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;EACvJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAChJ,CAAC,CAAC,CAAC,SAAS,uEAWH;CACP,QAXwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"send-bulk-push-notifications.mjs","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorSendBulkPushNotificationsInput = z.object({\n listOfPasses: z.array(z.string()).describe(\"An array of pass identifiers (UID, userProvidedId, or barcode value). Maximum 500 identifiers per request.\"),\n pushNotificationText: z.string().describe(\"The text for the push notification. May include placeholders like {Firstname} for personalization.\"),\n}).describe(\"Request parameters for sending push notifications to multiple passes.\");\nexport const PasscreatorSendBulkPushNotificationsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating the status of the operation.\").nullable(),\n success: z.boolean().describe(\"Whether the push notification request was accepted successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (typically 202 for accepted).\").nullable(),\n}).passthrough().describe(\"Response from the Passcreator API after sending push notifications.\");\n\nexport const passcreatorSendBulkPushNotifications = action(\"PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS\", {\n slug: \"passcreator-send-bulk-push-notifications\",\n name: \"Send Bulk Push Notifications\",\n description: \"Tool to send push notifications to multiple wallet passes simultaneously (up to 500 passes). Use when you need to notify pass holders about updates, events, or important information. The notification text can include personalization placeholders like {Firstname}.\",\n input: PasscreatorSendBulkPushNotificationsInput,\n output: PasscreatorSendBulkPushNotificationsOutput,\n});\n"],"mappings":";;AAcA,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;EACvJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAChJ,CAAC,CAAC,CAAC,SAAS,uEAWH;CACP,QAXwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PasscreatorUpdatePassesBulkInput = zod.z.object({
|
|
|
9
9
|
identifiers: zod.z.array(zod.z.string()).describe("Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.").optional()
|
|
10
10
|
}).describe("Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.")
|
|
11
11
|
}).describe("Request parameters for bulk updating multiple passes.\nRequires a filter to select passes and data object with fields to update.");
|
|
12
|
-
const PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = zod.z.object({ process: zod.z.string().describe("URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.").nullable().optional() }).describe("Data containing URL to track the bulk operation progress.");
|
|
12
|
+
const PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = zod.z.object({ process: zod.z.string().describe("URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.").nullable().optional() }).passthrough().describe("Data containing URL to track the bulk operation progress.");
|
|
13
13
|
const PasscreatorUpdatePassesBulkOutput = zod.z.object({
|
|
14
14
|
data: PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema.nullable().optional(),
|
|
15
15
|
count: zod.z.number().int().describe("Number of passes that will be updated by this bulk operation.").nullable(),
|
|
@@ -17,7 +17,7 @@ const PasscreatorUpdatePassesBulkOutput = zod.z.object({
|
|
|
17
17
|
success: zod.z.boolean().describe("Whether the bulk update request was successfully accepted.").nullable(),
|
|
18
18
|
statusCode: zod.z.number().int().describe("HTTP status code returned by the API (202 for accepted).").nullable(),
|
|
19
19
|
description: zod.z.string().describe("Human-readable description of the response status.").nullable().optional()
|
|
20
|
-
}).describe("Response from the bulk update passes API.\nReturns HTTP 202 with a process tracking URL for monitoring operation status.");
|
|
20
|
+
}).passthrough().describe("Response from the bulk update passes API.\nReturns HTTP 202 with a process tracking URL for monitoring operation status.");
|
|
21
21
|
const passcreatorUpdatePassesBulk = require_action.action("PASSCREATOR_UPDATE_PASSES_BULK", {
|
|
22
22
|
slug: "passcreator-update-passes-bulk",
|
|
23
23
|
name: "Bulk Update Passes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-passes-bulk.cjs","names":["z","action"],"sources":["../../src/actions/update-passes-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorUpdatePassesBulkInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Object containing the fields to update on all matched passes. Replaces existing data for the specified fields. Common fields include: void (bool), expiry (string), custom field values, etc.\"),\n filter: z.object({\n query: z.record(z.string(), z.unknown()).describe(\"Query language object for filtering passes. Use this for advanced filtering based on custom criteria.\").optional(),\n segmentId: z.string().describe(\"Segment identifier to update all passes in that segment. Use this to bulk update passes belonging to a specific segment.\").optional(),\n identifiers: z.array(z.string()).describe(\"Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.\").optional(),\n}).describe(\"Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.\"),\n}).describe(\"Request parameters for bulk updating multiple passes.\\nRequires a filter to select passes and data object with fields to update.\");\nconst PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({\n process: z.string().describe(\"URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.\").nullable().optional(),\n}).describe(\"Data containing URL to track the bulk operation progress.\");\nexport const PasscreatorUpdatePassesBulkOutput = z.object({\n data: PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of passes that will be updated by this bulk operation.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred during request validation.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the bulk update request was successfully accepted.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (202 for accepted).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n}).describe(\"Response from the bulk update passes API.\\nReturns HTTP 202 with a process tracking URL for monitoring operation status.\");\n\nexport const passcreatorUpdatePassesBulk = action(\"PASSCREATOR_UPDATE_PASSES_BULK\", {\n slug: \"passcreator-update-passes-bulk\",\n name: \"Bulk Update Passes\",\n description: \"Tool to bulk update multiple wallet passes using filter criteria. Returns immediately with a tracking URL to monitor the asynchronous bulk operation progress. Use when updating many passes at once with the same data changes.\",\n input: PasscreatorUpdatePassesBulkInput,\n output: PasscreatorUpdatePassesBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+LAA+L;CAChP,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACpK,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC9I,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"update-passes-bulk.cjs","names":["z","action"],"sources":["../../src/actions/update-passes-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorUpdatePassesBulkInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Object containing the fields to update on all matched passes. Replaces existing data for the specified fields. Common fields include: void (bool), expiry (string), custom field values, etc.\"),\n filter: z.object({\n query: z.record(z.string(), z.unknown()).describe(\"Query language object for filtering passes. Use this for advanced filtering based on custom criteria.\").optional(),\n segmentId: z.string().describe(\"Segment identifier to update all passes in that segment. Use this to bulk update passes belonging to a specific segment.\").optional(),\n identifiers: z.array(z.string()).describe(\"Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.\").optional(),\n}).describe(\"Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.\"),\n}).describe(\"Request parameters for bulk updating multiple passes.\\nRequires a filter to select passes and data object with fields to update.\");\nconst PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({\n process: z.string().describe(\"URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.\").nullable().optional(),\n}).passthrough().describe(\"Data containing URL to track the bulk operation progress.\");\nexport const PasscreatorUpdatePassesBulkOutput = z.object({\n data: PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of passes that will be updated by this bulk operation.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred during request validation.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the bulk update request was successfully accepted.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (202 for accepted).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n}).passthrough().describe(\"Response from the bulk update passes API.\\nReturns HTTP 202 with a process tracking URL for monitoring operation status.\");\n\nexport const passcreatorUpdatePassesBulk = action(\"PASSCREATOR_UPDATE_PASSES_BULK\", {\n slug: \"passcreator-update-passes-bulk\",\n name: \"Bulk Update Passes\",\n description: \"Tool to bulk update multiple wallet passes using filter criteria. Returns immediately with a tracking URL to monitor the asynchronous bulk operation progress. Use when updating many passes at once with the same data changes.\",\n input: PasscreatorUpdatePassesBulkInput,\n output: PasscreatorUpdatePassesBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+LAA+L;CAChP,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACpK,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC9I,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,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,4DAA4D,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAA0H;AAEpJ,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,13 +12,13 @@ declare const PasscreatorUpdatePassesBulkInput: z.ZodObject<{
|
|
|
12
12
|
declare const PasscreatorUpdatePassesBulkOutput: z.ZodObject<{
|
|
13
13
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
process: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
count: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const passcreatorUpdatePassesBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
data: Record<string, unknown>;
|
|
24
24
|
filter: {
|
|
@@ -12,13 +12,13 @@ declare const PasscreatorUpdatePassesBulkInput: z.ZodObject<{
|
|
|
12
12
|
declare const PasscreatorUpdatePassesBulkOutput: z.ZodObject<{
|
|
13
13
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
process: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
count: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const passcreatorUpdatePassesBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
data: Record<string, unknown>;
|
|
24
24
|
filter: {
|
|
@@ -9,7 +9,7 @@ const PasscreatorUpdatePassesBulkInput = z.object({
|
|
|
9
9
|
identifiers: z.array(z.string()).describe("Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.").optional()
|
|
10
10
|
}).describe("Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.")
|
|
11
11
|
}).describe("Request parameters for bulk updating multiple passes.\nRequires a filter to select passes and data object with fields to update.");
|
|
12
|
-
const PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({ process: z.string().describe("URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.").nullable().optional() }).describe("Data containing URL to track the bulk operation progress.");
|
|
12
|
+
const PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({ process: z.string().describe("URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.").nullable().optional() }).passthrough().describe("Data containing URL to track the bulk operation progress.");
|
|
13
13
|
const passcreatorUpdatePassesBulk = action("PASSCREATOR_UPDATE_PASSES_BULK", {
|
|
14
14
|
slug: "passcreator-update-passes-bulk",
|
|
15
15
|
name: "Bulk Update Passes",
|
|
@@ -22,7 +22,7 @@ const passcreatorUpdatePassesBulk = action("PASSCREATOR_UPDATE_PASSES_BULK", {
|
|
|
22
22
|
success: z.boolean().describe("Whether the bulk update request was successfully accepted.").nullable(),
|
|
23
23
|
statusCode: z.number().int().describe("HTTP status code returned by the API (202 for accepted).").nullable(),
|
|
24
24
|
description: z.string().describe("Human-readable description of the response status.").nullable().optional()
|
|
25
|
-
}).describe("Response from the bulk update passes API.\nReturns HTTP 202 with a process tracking URL for monitoring operation status.")
|
|
25
|
+
}).passthrough().describe("Response from the bulk update passes API.\nReturns HTTP 202 with a process tracking URL for monitoring operation status.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { passcreatorUpdatePassesBulk };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-passes-bulk.mjs","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorUpdatePassesBulkInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Object containing the fields to update on all matched passes. Replaces existing data for the specified fields. Common fields include: void (bool), expiry (string), custom field values, etc.\"),\n filter: z.object({\n query: z.record(z.string(), z.unknown()).describe(\"Query language object for filtering passes. Use this for advanced filtering based on custom criteria.\").optional(),\n segmentId: z.string().describe(\"Segment identifier to update all passes in that segment. Use this to bulk update passes belonging to a specific segment.\").optional(),\n identifiers: z.array(z.string()).describe(\"Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.\").optional(),\n}).describe(\"Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.\"),\n}).describe(\"Request parameters for bulk updating multiple passes.\\nRequires a filter to select passes and data object with fields to update.\");\nconst PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({\n process: z.string().describe(\"URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.\").nullable().optional(),\n}).describe(\"Data containing URL to track the bulk operation progress.\");\nexport const PasscreatorUpdatePassesBulkOutput = z.object({\n data: PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of passes that will be updated by this bulk operation.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred during request validation.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the bulk update request was successfully accepted.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (202 for accepted).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n}).describe(\"Response from the bulk update passes API.\\nReturns HTTP 202 with a process tracking URL for monitoring operation status.\");\n\nexport const passcreatorUpdatePassesBulk = action(\"PASSCREATOR_UPDATE_PASSES_BULK\", {\n slug: \"passcreator-update-passes-bulk\",\n name: \"Bulk Update Passes\",\n description: \"Tool to bulk update multiple wallet passes using filter criteria. Returns immediately with a tracking URL to monitor the asynchronous bulk operation progress. Use when updating many passes at once with the same data changes.\",\n input: PasscreatorUpdatePassesBulkInput,\n output: PasscreatorUpdatePassesBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+LAA+L;CAChP,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACpK,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC9I,MAAM,wDAAwD,EAAE,OAAO,EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"update-passes-bulk.mjs","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorUpdatePassesBulkInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Object containing the fields to update on all matched passes. Replaces existing data for the specified fields. Common fields include: void (bool), expiry (string), custom field values, etc.\"),\n filter: z.object({\n query: z.record(z.string(), z.unknown()).describe(\"Query language object for filtering passes. Use this for advanced filtering based on custom criteria.\").optional(),\n segmentId: z.string().describe(\"Segment identifier to update all passes in that segment. Use this to bulk update passes belonging to a specific segment.\").optional(),\n identifiers: z.array(z.string()).describe(\"Array of pass identifiers to update. Use this to update specific passes by their unique identifiers.\").optional(),\n}).describe(\"Filter criteria to select which passes to update. Must specify at least one of: identifiers, segmentId, or query.\"),\n}).describe(\"Request parameters for bulk updating multiple passes.\\nRequires a filter to select passes and data object with fields to update.\");\nconst PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema = z.object({\n process: z.string().describe(\"URL to track bulk operation progress. Poll this endpoint to monitor the status of the bulk update.\").nullable().optional(),\n}).passthrough().describe(\"Data containing URL to track the bulk operation progress.\");\nexport const PasscreatorUpdatePassesBulkOutput = z.object({\n data: PasscreatorUpdatePassesBulk_ProcessTrackingDataSchema.nullable().optional(),\n count: z.number().int().describe(\"Number of passes that will be updated by this bulk operation.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred during request validation.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the bulk update request was successfully accepted.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (202 for accepted).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n}).passthrough().describe(\"Response from the bulk update passes API.\\nReturns HTTP 202 with a process tracking URL for monitoring operation status.\");\n\nexport const passcreatorUpdatePassesBulk = action(\"PASSCREATOR_UPDATE_PASSES_BULK\", {\n slug: \"passcreator-update-passes-bulk\",\n name: \"Bulk Update Passes\",\n description: \"Tool to bulk update multiple wallet passes using filter criteria. Returns immediately with a tracking URL to monitor the asynchronous bulk operation progress. Use when updating many passes at once with the same data changes.\",\n input: PasscreatorUpdatePassesBulkInput,\n output: PasscreatorUpdatePassesBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+LAA+L;CAChP,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACpK,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC9I,MAAM,wDAAwD,EAAE,OAAO,EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAUrF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAOhB;AACV,CAAC"}
|