@keystrokehq/passcreator 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-pass-existence.cjs +1 -0
  4. package/dist/actions/check-pass-existence.cjs.map +1 -1
  5. package/dist/actions/check-pass-existence.d.cts +3 -15
  6. package/dist/actions/check-pass-existence.d.cts.map +1 -1
  7. package/dist/actions/check-pass-existence.d.mts +3 -15
  8. package/dist/actions/check-pass-existence.d.mts.map +1 -1
  9. package/dist/actions/check-pass-existence.mjs +1 -0
  10. package/dist/actions/check-pass-existence.mjs.map +1 -1
  11. package/dist/actions/create-app-scan.cjs +1 -0
  12. package/dist/actions/create-app-scan.cjs.map +1 -1
  13. package/dist/actions/create-app-scan.d.cts +3 -22
  14. package/dist/actions/create-app-scan.d.cts.map +1 -1
  15. package/dist/actions/create-app-scan.d.mts +3 -22
  16. package/dist/actions/create-app-scan.d.mts.map +1 -1
  17. package/dist/actions/create-app-scan.mjs +1 -0
  18. package/dist/actions/create-app-scan.mjs.map +1 -1
  19. package/dist/actions/get-app-configuration.cjs +1 -0
  20. package/dist/actions/get-app-configuration.cjs.map +1 -1
  21. package/dist/actions/get-app-configuration.d.cts +3 -15
  22. package/dist/actions/get-app-configuration.d.cts.map +1 -1
  23. package/dist/actions/get-app-configuration.d.mts +3 -15
  24. package/dist/actions/get-app-configuration.d.mts.map +1 -1
  25. package/dist/actions/get-app-configuration.mjs +1 -0
  26. package/dist/actions/get-app-configuration.mjs.map +1 -1
  27. package/dist/actions/get-process-status.cjs +1 -0
  28. package/dist/actions/get-process-status.cjs.map +1 -1
  29. package/dist/actions/get-process-status.d.cts +3 -15
  30. package/dist/actions/get-process-status.d.cts.map +1 -1
  31. package/dist/actions/get-process-status.d.mts +3 -15
  32. package/dist/actions/get-process-status.d.mts.map +1 -1
  33. package/dist/actions/get-process-status.mjs +1 -0
  34. package/dist/actions/get-process-status.mjs.map +1 -1
  35. package/dist/actions/get-signing-public-key.cjs +1 -0
  36. package/dist/actions/get-signing-public-key.cjs.map +1 -1
  37. package/dist/actions/get-signing-public-key.d.cts +3 -13
  38. package/dist/actions/get-signing-public-key.d.cts.map +1 -1
  39. package/dist/actions/get-signing-public-key.d.mts +3 -13
  40. package/dist/actions/get-signing-public-key.d.mts.map +1 -1
  41. package/dist/actions/get-signing-public-key.mjs +1 -0
  42. package/dist/actions/get-signing-public-key.mjs.map +1 -1
  43. package/dist/actions/list-app-configurations.cjs +1 -0
  44. package/dist/actions/list-app-configurations.cjs.map +1 -1
  45. package/dist/actions/list-app-configurations.d.cts +3 -13
  46. package/dist/actions/list-app-configurations.d.cts.map +1 -1
  47. package/dist/actions/list-app-configurations.d.mts +3 -13
  48. package/dist/actions/list-app-configurations.d.mts.map +1 -1
  49. package/dist/actions/list-app-configurations.mjs +1 -0
  50. package/dist/actions/list-app-configurations.mjs.map +1 -1
  51. package/dist/actions/list-app-scans.cjs +1 -0
  52. package/dist/actions/list-app-scans.cjs.map +1 -1
  53. package/dist/actions/list-app-scans.d.cts +3 -18
  54. package/dist/actions/list-app-scans.d.cts.map +1 -1
  55. package/dist/actions/list-app-scans.d.mts +3 -18
  56. package/dist/actions/list-app-scans.d.mts.map +1 -1
  57. package/dist/actions/list-app-scans.mjs +1 -0
  58. package/dist/actions/list-app-scans.mjs.map +1 -1
  59. package/dist/actions/list-pass-templates.cjs +1 -0
  60. package/dist/actions/list-pass-templates.cjs.map +1 -1
  61. package/dist/actions/list-pass-templates.d.cts +3 -13
  62. package/dist/actions/list-pass-templates.d.cts.map +1 -1
  63. package/dist/actions/list-pass-templates.d.mts +3 -13
  64. package/dist/actions/list-pass-templates.d.mts.map +1 -1
  65. package/dist/actions/list-pass-templates.mjs +1 -0
  66. package/dist/actions/list-pass-templates.mjs.map +1 -1
  67. package/dist/actions/list-passes.cjs +1 -0
  68. package/dist/actions/list-passes.cjs.map +1 -1
  69. package/dist/actions/list-passes.d.cts +3 -18
  70. package/dist/actions/list-passes.d.cts.map +1 -1
  71. package/dist/actions/list-passes.d.mts +3 -18
  72. package/dist/actions/list-passes.d.mts.map +1 -1
  73. package/dist/actions/list-passes.mjs +1 -0
  74. package/dist/actions/list-passes.mjs.map +1 -1
  75. package/dist/actions/send-bulk-push-notifications.cjs +1 -0
  76. package/dist/actions/send-bulk-push-notifications.cjs.map +1 -1
  77. package/dist/actions/send-bulk-push-notifications.d.cts +3 -16
  78. package/dist/actions/send-bulk-push-notifications.d.cts.map +1 -1
  79. package/dist/actions/send-bulk-push-notifications.d.mts +3 -16
  80. package/dist/actions/send-bulk-push-notifications.d.mts.map +1 -1
  81. package/dist/actions/send-bulk-push-notifications.mjs +1 -0
  82. package/dist/actions/send-bulk-push-notifications.mjs.map +1 -1
  83. package/dist/actions/update-passes-bulk.cjs +1 -0
  84. package/dist/actions/update-passes-bulk.cjs.map +1 -1
  85. package/dist/actions/update-passes-bulk.d.cts +3 -20
  86. package/dist/actions/update-passes-bulk.d.cts.map +1 -1
  87. package/dist/actions/update-passes-bulk.d.mts +3 -20
  88. package/dist/actions/update-passes-bulk.d.mts.map +1 -1
  89. package/dist/actions/update-passes-bulk.mjs +1 -0
  90. package/dist/actions/update-passes-bulk.mjs.map +1 -1
  91. package/dist/app.cjs +2 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +4 -6
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +4 -6
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +0 -1
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-signing-public-key.d.ts
@@ -13,19 +15,7 @@ declare const PasscreatorGetSigningPublicKeyOutput: z.ZodObject<{
13
15
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  responseMetaData: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
15
17
  }, z.core.$loose>;
16
- declare const passcreatorGetSigningPublicKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
18
+ declare const passcreatorGetSigningPublicKey: AppAction<typeof PasscreatorGetSigningPublicKeyInput, typeof PasscreatorGetSigningPublicKeyOutput, typeof passcreator.credential>;
29
19
  //#endregion
30
20
  export { passcreatorGetSigningPublicKey };
31
21
  //# sourceMappingURL=get-signing-public-key.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-signing-public-key.d.cts","names":[],"sources":["../../src/actions/get-signing-public-key.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAUpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-signing-public-key.d.cts","names":[],"sources":["../../src/actions/get-signing-public-key.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAUpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-signing-public-key.d.ts
@@ -13,19 +15,7 @@ declare const PasscreatorGetSigningPublicKeyOutput: z.ZodObject<{
13
15
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  responseMetaData: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
15
17
  }, z.core.$loose>;
16
- declare const passcreatorGetSigningPublicKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
18
+ declare const passcreatorGetSigningPublicKey: AppAction<typeof PasscreatorGetSigningPublicKeyInput, typeof PasscreatorGetSigningPublicKeyOutput, typeof passcreator.credential>;
29
19
  //#endregion
30
20
  export { passcreatorGetSigningPublicKey };
31
21
  //# sourceMappingURL=get-signing-public-key.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-signing-public-key.d.mts","names":[],"sources":["../../src/actions/get-signing-public-key.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAUpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-signing-public-key.d.mts","names":[],"sources":["../../src/actions/get-signing-public-key.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAUpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-signing-public-key.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-signing-public-key.mjs","names":[],"sources":["../../src/actions/get-signing-public-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorGetSigningPublicKeyInput = z.object({}).describe(\"Request model for obtaining the public key for signature verification.\\nThis endpoint requires no parameters - authentication is handled via headers.\");\nconst PasscreatorGetSigningPublicKey_PublicKeyDataSchema = z.object({\n publicKey: z.string().describe(\"The public key in PEM format needed to verify signatures from the placeholder sign() function.\").nullable(),\n}).passthrough().describe(\"Data container for the public key response.\");\nexport const PasscreatorGetSigningPublicKeyOutput = z.object({\n data: PasscreatorGetSigningPublicKey_PublicKeyDataSchema.nullable(),\n count: z.number().int().describe(\"Number of items returned in the data field.\").nullable(),\n errors: z.array(z.string()).describe(\"List of error messages if any occurred.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API request was successful.\").nullable(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API (200 for success).\").nullable(),\n description: z.string().describe(\"Human-readable description of the response status.\").nullable().optional(),\n responseMetaData: z.unknown().describe(\"Additional metadata from the API response (always null for this endpoint).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the public key for signature verification.\");\n\nexport const passcreatorGetSigningPublicKey: AppAction<\n typeof PasscreatorGetSigningPublicKeyInput,\n typeof PasscreatorGetSigningPublicKeyOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_GET_SIGNING_PUBLIC_KEY\", {\n slug: \"passcreator-get-signing-public-key\",\n name: \"Get Signing Public Key\",\n description: \"Tool to obtain the public key needed to verify signatures from the placeholder sign() function. Use when you need to verify cryptographic signatures generated by Passcreator's sign placeholder.\",\n input: PasscreatorGetSigningPublicKeyInput,\n output: PasscreatorGetSigningPublicKeyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBkD,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,sEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-app-configurations.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-app-configurations.cjs","names":["z","action"],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const 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: AppAction<\n typeof PasscreatorListAppConfigurationsInput,\n typeof PasscreatorListAppConfigurationsOutput,\n typeof passcreator.credential\n> = 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":";;;;AAMA,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,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-app-configurations.d.ts
@@ -22,19 +24,7 @@ declare const PasscreatorListAppConfigurationsOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>>>;
23
25
  }, z.core.$loose>>>>;
24
26
  }, z.core.$loose>;
25
- declare const passcreatorListAppConfigurations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
27
+ declare const passcreatorListAppConfigurations: AppAction<typeof PasscreatorListAppConfigurationsInput, typeof PasscreatorListAppConfigurationsOutput, typeof passcreator.credential>;
38
28
  //#endregion
39
29
  export { passcreatorListAppConfigurations };
40
30
  //# sourceMappingURL=list-app-configurations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-configurations.d.cts","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-app-configurations.d.cts","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-app-configurations.d.ts
@@ -22,19 +24,7 @@ declare const PasscreatorListAppConfigurationsOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>>>;
23
25
  }, z.core.$loose>>>>;
24
26
  }, z.core.$loose>;
25
- declare const passcreatorListAppConfigurations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
27
+ declare const passcreatorListAppConfigurations: AppAction<typeof PasscreatorListAppConfigurationsInput, typeof PasscreatorListAppConfigurationsOutput, typeof passcreator.credential>;
38
28
  //#endregion
39
29
  export { passcreatorListAppConfigurations };
40
30
  //# sourceMappingURL=list-app-configurations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-configurations.d.mts","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-app-configurations.d.mts","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-app-configurations.ts
@@ -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}).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;CAC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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"}
1
+ {"version":3,"file":"list-app-configurations.mjs","names":[],"sources":["../../src/actions/list-app-configurations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const 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: AppAction<\n typeof PasscreatorListAppConfigurationsInput,\n typeof PasscreatorListAppConfigurationsOutput,\n typeof passcreator.credential\n> = 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":";;;;AAMA,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,CAA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AWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-app-scans.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-scans.cjs","names":["z","action"],"sources":["../../src/actions/list-app-scans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppScansInput = z.object({\n start: z.number().int().describe(\"Pagination offset - the starting index for results (default: 0).\").optional(),\n pageSize: z.number().int().describe(\"Number of results per page (default: 100, max: 100).\").optional(),\n createdSince: z.string().describe(\"Filter scans created after this datetime. Format: Y-m-d H:i (e.g., '2024-01-15 14:30').\").optional(),\n appConfigurationId: z.string().describe(\"App Configuration identifier (UUID format) to retrieve scans for.\"),\n}).describe(\"Parameters to list scans for a specific app configuration.\\nReturns paginated results ordered by creation date.\");\nconst PasscreatorListAppScans_QueryMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results (omitted if at end).\").nullable().optional(),\n self: z.string().describe(\"URL of the current request.\").nullable().optional(),\n start: z.number().int().describe(\"The starting offset parameter provided in the request.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PasscreatorListAppScans_ScanObjectSchema = z.object({\n place: z.string().describe(\"Scan location.\").nullable().optional(),\n passId: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n passData: z.string().describe(\"Additional pass data.\").nullable().optional(),\n appScanId: z.string().describe(\"Unique scan identifier (UUID format).\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when scan was created in customer timezone (Y-m-d H:i:s format).\").nullable().optional(),\n deviceName: z.string().describe(\"Name of the device that performed the scan.\").nullable().optional(),\n passVoided: z.boolean().describe(\"Whether the pass is voided.\").nullable().optional(),\n scanStatus: z.number().int().describe(\"Scan status code: 0=voided, 1=already voided, 2=attendance saved, 3=not found.\").nullable().optional(),\n storedValue: z.number().describe(\"Pass stored value balance (if applicable).\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when scan was created in UTC timezone.\").nullable().optional(),\n passGeneratedId: z.string().describe(\"System-generated pass identifier.\").nullable().optional(),\n passSearchString: z.string().describe(\"Searchable concatenated pass data.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"Associated template identifier (UUID format).\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the pass template.\").nullable().optional(),\n appConfigurationId: z.string().describe(\"Configuration identifier used for this scan.\").nullable().optional(),\n passUserProvidedId: z.string().describe(\"User-supplied pass identifier.\").nullable().optional(),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned.\").nullable().optional(),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Pass properties at the time of scan (key-value pairs).\").nullable().optional(),\n additionalPropertiesScan: z.array(z.unknown()).describe(\"Custom properties collected during the scan.\").nullable().optional(),\n}).passthrough().describe(\"A single scan record returned by the API.\\nContains scan status, timing, pass information, and scan details.\");\nexport const PasscreatorListAppScansOutput = z.object({\n query: PasscreatorListAppScans_QueryMetadataSchema.nullable().optional(),\n total: z.number().int().describe(\"Total number of scans matching the query across all pages.\").nullable().optional(),\n results: z.array(PasscreatorListAppScans_ScanObjectSchema).describe(\"Array of scan objects for this page.\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated scan results for an app configuration.\\nIncludes pagination metadata and array of scan objects.\");\n\nexport const passcreatorListAppScans = action(\"PASSCREATOR_LIST_APP_SCANS\", {\n slug: \"passcreator-list-app-scans\",\n name: \"List App Scans\",\n description: \"Retrieves a paginated list of scans for a given app configuration. Use this tool to view scan history, track attendance, and analyze scan data ordered by creation date.\",\n input: PasscreatorListAppScansInput,\n output: PasscreatorListAppScansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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AC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8GAA8G;AACxI,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAA+H;AAEzJ,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-app-scans.cjs","names":["z","action"],"sources":["../../src/actions/list-app-scans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorListAppScansInput = z.object({\n start: z.number().int().describe(\"Pagination offset - the starting index for results (default: 0).\").optional(),\n pageSize: z.number().int().describe(\"Number of results per page (default: 100, max: 100).\").optional(),\n createdSince: z.string().describe(\"Filter scans created after this datetime. Format: Y-m-d H:i (e.g., '2024-01-15 14:30').\").optional(),\n appConfigurationId: z.string().describe(\"App Configuration identifier (UUID format) to retrieve scans for.\"),\n}).describe(\"Parameters to list scans for a specific app configuration.\\nReturns paginated results ordered by creation date.\");\nconst PasscreatorListAppScans_QueryMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results (omitted if at end).\").nullable().optional(),\n self: z.string().describe(\"URL of the current request.\").nullable().optional(),\n start: z.number().int().describe(\"The starting offset parameter provided in the request.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PasscreatorListAppScans_ScanObjectSchema = z.object({\n place: z.string().describe(\"Scan location.\").nullable().optional(),\n passId: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n passData: z.string().describe(\"Additional pass data.\").nullable().optional(),\n appScanId: z.string().describe(\"Unique scan identifier (UUID format).\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when scan was created in customer timezone (Y-m-d H:i:s format).\").nullable().optional(),\n deviceName: z.string().describe(\"Name of the device that performed the scan.\").nullable().optional(),\n passVoided: z.boolean().describe(\"Whether the pass is voided.\").nullable().optional(),\n scanStatus: z.number().int().describe(\"Scan status code: 0=voided, 1=already voided, 2=attendance saved, 3=not found.\").nullable().optional(),\n storedValue: z.number().describe(\"Pass stored value balance (if applicable).\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when scan was created in UTC timezone.\").nullable().optional(),\n passGeneratedId: z.string().describe(\"System-generated pass identifier.\").nullable().optional(),\n passSearchString: z.string().describe(\"Searchable concatenated pass data.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"Associated template identifier (UUID format).\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the pass template.\").nullable().optional(),\n appConfigurationId: z.string().describe(\"Configuration identifier used for this scan.\").nullable().optional(),\n passUserProvidedId: z.string().describe(\"User-supplied pass identifier.\").nullable().optional(),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned.\").nullable().optional(),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Pass properties at the time of scan (key-value pairs).\").nullable().optional(),\n additionalPropertiesScan: z.array(z.unknown()).describe(\"Custom properties collected during the scan.\").nullable().optional(),\n}).passthrough().describe(\"A single scan record returned by the API.\\nContains scan status, timing, pass information, and scan details.\");\nexport const PasscreatorListAppScansOutput = z.object({\n query: PasscreatorListAppScans_QueryMetadataSchema.nullable().optional(),\n total: z.number().int().describe(\"Total number of scans matching the query across all pages.\").nullable().optional(),\n results: z.array(PasscreatorListAppScans_ScanObjectSchema).describe(\"Array of scan objects for this page.\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated scan results for an app configuration.\\nIncludes pagination metadata and array of scan objects.\");\n\nexport const passcreatorListAppScans: AppAction<\n typeof PasscreatorListAppScansInput,\n typeof PasscreatorListAppScansOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_LIST_APP_SCANS\", {\n slug: \"passcreator-list-app-scans\",\n name: \"List App Scans\",\n description: \"Retrieves a paginated list of scans for a given app configuration. Use this tool to view scan history, track attendance, and analyze scan data ordered by creation date.\",\n input: PasscreatorListAppScansInput,\n output: PasscreatorListAppScansOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC7G,CAAC,CAAC,CAAC,SAAS,iHAAiH;AAC7H,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE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AAC,CAAC,SAAS,8GAA8G;AACxI,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAA+H;AAEzJ,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-app-scans.d.ts
@@ -37,24 +39,7 @@ declare const PasscreatorListAppScansOutput: z.ZodObject<{
37
39
  additionalPropertiesScan: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
38
40
  }, z.core.$loose>>>>;
39
41
  }, z.core.$loose>;
40
- declare const passcreatorListAppScans: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- appConfigurationId: string;
42
- start?: number | undefined;
43
- pageSize?: number | undefined;
44
- createdSince?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>;
42
+ declare const passcreatorListAppScans: AppAction<typeof PasscreatorListAppScansInput, typeof PasscreatorListAppScansOutput, typeof passcreator.credential>;
58
43
  //#endregion
59
44
  export { passcreatorListAppScans };
60
45
  //# sourceMappingURL=list-app-scans.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-scans.d.cts","names":[],"sources":["../../src/actions/list-app-scans.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-app-scans.d.cts","names":[],"sources":["../../src/actions/list-app-scans.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-app-scans.d.ts
@@ -37,24 +39,7 @@ declare const PasscreatorListAppScansOutput: z.ZodObject<{
37
39
  additionalPropertiesScan: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
38
40
  }, z.core.$loose>>>>;
39
41
  }, z.core.$loose>;
40
- declare const passcreatorListAppScans: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- appConfigurationId: string;
42
- start?: number | undefined;
43
- pageSize?: number | undefined;
44
- createdSince?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>;
42
+ declare const passcreatorListAppScans: AppAction<typeof PasscreatorListAppScansInput, typeof PasscreatorListAppScansOutput, typeof passcreator.credential>;
58
43
  //#endregion
59
44
  export { passcreatorListAppScans };
60
45
  //# sourceMappingURL=list-app-scans.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-scans.d.mts","names":[],"sources":["../../src/actions/list-app-scans.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-app-scans.d.mts","names":[],"sources":["../../src/actions/list-app-scans.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAiC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-app-scans.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-app-scans.mjs","names":[],"sources":["../../src/actions/list-app-scans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListAppScansInput = z.object({\n start: z.number().int().describe(\"Pagination offset - the starting index for results (default: 0).\").optional(),\n pageSize: z.number().int().describe(\"Number of results per page (default: 100, max: 100).\").optional(),\n createdSince: z.string().describe(\"Filter scans created after this datetime. Format: Y-m-d H:i (e.g., '2024-01-15 14:30').\").optional(),\n appConfigurationId: z.string().describe(\"App Configuration identifier (UUID format) to retrieve scans for.\"),\n}).describe(\"Parameters to list scans for a specific app configuration.\\nReturns paginated results ordered by creation date.\");\nconst PasscreatorListAppScans_QueryMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results (omitted if at end).\").nullable().optional(),\n self: z.string().describe(\"URL of the current request.\").nullable().optional(),\n start: z.number().int().describe(\"The starting offset parameter provided in the request.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PasscreatorListAppScans_ScanObjectSchema = z.object({\n place: z.string().describe(\"Scan location.\").nullable().optional(),\n passId: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n passData: z.string().describe(\"Additional pass data.\").nullable().optional(),\n appScanId: z.string().describe(\"Unique scan identifier (UUID format).\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when scan was created in customer timezone (Y-m-d H:i:s format).\").nullable().optional(),\n deviceName: z.string().describe(\"Name of the device that performed the scan.\").nullable().optional(),\n passVoided: z.boolean().describe(\"Whether the pass is voided.\").nullable().optional(),\n scanStatus: z.number().int().describe(\"Scan status code: 0=voided, 1=already voided, 2=attendance saved, 3=not found.\").nullable().optional(),\n storedValue: z.number().describe(\"Pass stored value balance (if applicable).\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when scan was created in UTC timezone.\").nullable().optional(),\n passGeneratedId: z.string().describe(\"System-generated pass identifier.\").nullable().optional(),\n passSearchString: z.string().describe(\"Searchable concatenated pass data.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"Associated template identifier (UUID format).\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the pass template.\").nullable().optional(),\n appConfigurationId: z.string().describe(\"Configuration identifier used for this scan.\").nullable().optional(),\n passUserProvidedId: z.string().describe(\"User-supplied pass identifier.\").nullable().optional(),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned.\").nullable().optional(),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Pass properties at the time of scan (key-value pairs).\").nullable().optional(),\n additionalPropertiesScan: z.array(z.unknown()).describe(\"Custom properties collected during the scan.\").nullable().optional(),\n}).passthrough().describe(\"A single scan record returned by the API.\\nContains scan status, timing, pass information, and scan details.\");\nexport const PasscreatorListAppScansOutput = z.object({\n query: PasscreatorListAppScans_QueryMetadataSchema.nullable().optional(),\n total: z.number().int().describe(\"Total number of scans matching the query across all pages.\").nullable().optional(),\n results: z.array(PasscreatorListAppScans_ScanObjectSchema).describe(\"Array of scan objects for this page.\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated scan results for an app configuration.\\nIncludes pagination metadata and array of scan objects.\");\n\nexport const passcreatorListAppScans = action(\"PASSCREATOR_LIST_APP_SCANS\", {\n slug: \"passcreator-list-app-scans\",\n name: \"List App Scans\",\n description: \"Retrieves a paginated list of scans for a given app configuration. Use this tool to view scan history, track attendance, and analyze scan data ordered by creation date.\",\n input: PasscreatorListAppScansInput,\n output: PasscreatorListAppScansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC7G,CAAC,CAAC,CAAC,SAAS,iHAAiH;AAC7H,M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;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-app-scans.mjs","names":[],"sources":["../../src/actions/list-app-scans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorListAppScansInput = z.object({\n start: z.number().int().describe(\"Pagination offset - the starting index for results (default: 0).\").optional(),\n pageSize: z.number().int().describe(\"Number of results per page (default: 100, max: 100).\").optional(),\n createdSince: z.string().describe(\"Filter scans created after this datetime. Format: Y-m-d H:i (e.g., '2024-01-15 14:30').\").optional(),\n appConfigurationId: z.string().describe(\"App Configuration identifier (UUID format) to retrieve scans for.\"),\n}).describe(\"Parameters to list scans for a specific app configuration.\\nReturns paginated results ordered by creation date.\");\nconst PasscreatorListAppScans_QueryMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results (omitted if at end).\").nullable().optional(),\n self: z.string().describe(\"URL of the current request.\").nullable().optional(),\n start: z.number().int().describe(\"The starting offset parameter provided in the request.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PasscreatorListAppScans_ScanObjectSchema = z.object({\n place: z.string().describe(\"Scan location.\").nullable().optional(),\n passId: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n passData: z.string().describe(\"Additional pass data.\").nullable().optional(),\n appScanId: z.string().describe(\"Unique scan identifier (UUID format).\").nullable().optional(),\n createdOn: z.string().describe(\"Timestamp when scan was created in customer timezone (Y-m-d H:i:s format).\").nullable().optional(),\n deviceName: z.string().describe(\"Name of the device that performed the scan.\").nullable().optional(),\n passVoided: z.boolean().describe(\"Whether the pass is voided.\").nullable().optional(),\n scanStatus: z.number().int().describe(\"Scan status code: 0=voided, 1=already voided, 2=attendance saved, 3=not found.\").nullable().optional(),\n storedValue: z.number().describe(\"Pass stored value balance (if applicable).\").nullable().optional(),\n createdOnUtc: z.string().describe(\"Timestamp when scan was created in UTC timezone.\").nullable().optional(),\n passGeneratedId: z.string().describe(\"System-generated pass identifier.\").nullable().optional(),\n passSearchString: z.string().describe(\"Searchable concatenated pass data.\").nullable().optional(),\n passTemplateGuid: z.string().describe(\"Associated template identifier (UUID format).\").nullable().optional(),\n passTemplateName: z.string().describe(\"Name of the pass template.\").nullable().optional(),\n appConfigurationId: z.string().describe(\"Configuration identifier used for this scan.\").nullable().optional(),\n passUserProvidedId: z.string().describe(\"User-supplied pass identifier.\").nullable().optional(),\n scannedBarcodeValue: z.string().describe(\"The barcode value that was scanned.\").nullable().optional(),\n additionalProperties: z.record(z.string(), z.unknown()).describe(\"Pass properties at the time of scan (key-value pairs).\").nullable().optional(),\n additionalPropertiesScan: z.array(z.unknown()).describe(\"Custom properties collected during the scan.\").nullable().optional(),\n}).passthrough().describe(\"A single scan record returned by the API.\\nContains scan status, timing, pass information, and scan details.\");\nexport const PasscreatorListAppScansOutput = z.object({\n query: PasscreatorListAppScans_QueryMetadataSchema.nullable().optional(),\n total: z.number().int().describe(\"Total number of scans matching the query across all pages.\").nullable().optional(),\n results: z.array(PasscreatorListAppScans_ScanObjectSchema).describe(\"Array of scan objects for this page.\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated scan results for an app configuration.\\nIncludes pagination metadata and array of scan objects.\");\n\nexport const passcreatorListAppScans: AppAction<\n typeof PasscreatorListAppScansInput,\n typeof PasscreatorListAppScansOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_LIST_APP_SCANS\", {\n slug: \"passcreator-list-app-scans\",\n name: \"List App Scans\",\n description: \"Retrieves a paginated list of scans for a given app configuration. Use this tool to view scan history, track attendance, and analyze scan data ordered by creation date.\",\n input: PasscreatorListAppScansInput,\n output: PasscreatorListAppScansOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC7G,CAAC,CAAC,CAAC,SAAS,iHAAiH;AAC7H,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,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qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,sBAAsB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0B,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8GAA8G;AAOxI,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+HAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-pass-templates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-pass-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-pass-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListPassTemplatesInput = z.object({}).describe(\"Request parameters for listing pass templates.\\nNote: The Passcreator V1 API does not support pagination or filtering\\nfor the list templates endpoint. All templates are returned at once.\");\nexport const PasscreatorListPassTemplatesOutput = z.unknown();\n\nexport const passcreatorListPassTemplates = action(\"PASSCREATOR_LIST_PASS_TEMPLATES\", {\n slug: \"passcreator-list-pass-templates\",\n name: \"List Pass Templates\",\n description: \"Retrieves all pass templates for your Passcreator account. Use this action to get a list of available templates (each with its unique identifier and name) which are needed to create new passes. Templates must be created via the Passcreator web app.\",\n input: PasscreatorListPassTemplatesInput,\n output: PasscreatorListPassTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6LAA6L;AACpQ,MAAa,qCAAqCA,IAAAA,EAAE,QAAQ;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-pass-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-pass-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorListPassTemplatesInput = z.object({}).describe(\"Request parameters for listing pass templates.\\nNote: The Passcreator V1 API does not support pagination or filtering\\nfor the list templates endpoint. All templates are returned at once.\");\nexport const PasscreatorListPassTemplatesOutput = z.unknown();\n\nexport const passcreatorListPassTemplates: AppAction<\n typeof PasscreatorListPassTemplatesInput,\n typeof PasscreatorListPassTemplatesOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_LIST_PASS_TEMPLATES\", {\n slug: \"passcreator-list-pass-templates\",\n name: \"List Pass Templates\",\n description: \"Retrieves all pass templates for your Passcreator account. Use this action to get a list of available templates (each with its unique identifier and name) which are needed to create new passes. Templates must be created via the Passcreator web app.\",\n input: PasscreatorListPassTemplatesInput,\n output: PasscreatorListPassTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6LAA6L;AACpQ,MAAa,qCAAqCA,IAAAA,EAAE,QAAQ;AAE5D,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,21 +1,11 @@
1
+ import { passcreator } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-pass-templates.d.ts
4
6
  declare const PasscreatorListPassTemplatesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PasscreatorListPassTemplatesOutput: z.ZodUnknown;
6
- declare const passcreatorListPassTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>;
8
+ declare const passcreatorListPassTemplates: AppAction<typeof PasscreatorListPassTemplatesInput, typeof PasscreatorListPassTemplatesOutput, typeof passcreator.credential>;
19
9
  //#endregion
20
10
  export { passcreatorListPassTemplates };
21
11
  //# sourceMappingURL=list-pass-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pass-templates.d.cts","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-pass-templates.d.cts","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,21 +1,11 @@
1
+ import { passcreator } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-pass-templates.d.ts
4
6
  declare const PasscreatorListPassTemplatesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PasscreatorListPassTemplatesOutput: z.ZodUnknown;
6
- declare const passcreatorListPassTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>;
8
+ declare const passcreatorListPassTemplates: AppAction<typeof PasscreatorListPassTemplatesInput, typeof PasscreatorListPassTemplatesOutput, typeof passcreator.credential>;
19
9
  //#endregion
20
10
  export { passcreatorListPassTemplates };
21
11
  //# sourceMappingURL=list-pass-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pass-templates.d.mts","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-pass-templates.d.mts","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const passcreatorListPassTemplates = action("PASSCREATOR_LIST_PASS_TEMPLATES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-pass-templates.mjs","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListPassTemplatesInput = z.object({}).describe(\"Request parameters for listing pass templates.\\nNote: The Passcreator V1 API does not support pagination or filtering\\nfor the list templates endpoint. All templates are returned at once.\");\nexport const PasscreatorListPassTemplatesOutput = z.unknown();\n\nexport const passcreatorListPassTemplates = action(\"PASSCREATOR_LIST_PASS_TEMPLATES\", {\n slug: \"passcreator-list-pass-templates\",\n name: \"List Pass Templates\",\n description: \"Retrieves all pass templates for your Passcreator account. Use this action to get a list of available templates (each with its unique identifier and name) which are needed to create new passes. Templates must be created via the Passcreator web app.\",\n input: PasscreatorListPassTemplatesInput,\n output: PasscreatorListPassTemplatesOutput,\n});\n"],"mappings":";;AAOA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6LAO9D;CACP,QAPgD,EAAE,QAO1C;AACV,CAAC"}
1
+ {"version":3,"file":"list-pass-templates.mjs","names":[],"sources":["../../src/actions/list-pass-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorListPassTemplatesInput = z.object({}).describe(\"Request parameters for listing pass templates.\\nNote: The Passcreator V1 API does not support pagination or filtering\\nfor the list templates endpoint. All templates are returned at once.\");\nexport const PasscreatorListPassTemplatesOutput = z.unknown();\n\nexport const passcreatorListPassTemplates: AppAction<\n typeof PasscreatorListPassTemplatesInput,\n typeof PasscreatorListPassTemplatesOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_LIST_PASS_TEMPLATES\", {\n slug: \"passcreator-list-pass-templates\",\n name: \"List Pass Templates\",\n description: \"Retrieves all pass templates for your Passcreator account. Use this action to get a list of available templates (each with its unique identifier and name) which are needed to create new passes. Templates must be created via the Passcreator web app.\",\n input: PasscreatorListPassTemplatesInput,\n output: PasscreatorListPassTemplatesOutput,\n});\n"],"mappings":";;;AASA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6LAW9D;CACP,QAXgD,EAAE,QAW1C;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-passes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-passes.cjs","names":["z","action"],"sources":["../../src/actions/list-passes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PasscreatorListPassesInput = z.object({\n pageSize: z.number().int().default(100).describe(\"Number of passes to return per page (10-1000, default 100).\").optional(),\n projectId: z.string().describe(\"Filter passes by project ID (UUID format). Only return passes belonging to this project.\").optional(),\n templateId: z.string().describe(\"Filter passes by pass template ID (UUID format). Only return passes created from this template.\").optional(),\n searchPhrase: z.string().describe(\"Wildcard search phrase to match across all pass data fields. Use for general text searching.\").optional(),\n}).describe(\"Parameters to list or search passes using Passcreator v3 API.\\nSupports filtering by template, project, search phrase, and pagination.\");\nconst PasscreatorListPasses_PassObjectSchema = z.object({\n voided: z.boolean().describe(\"Whether the pass has been voided/invalidated.\").nullable().optional(),\n redeemed: z.boolean().describe(\"Whether the pass has been redeemed (for loyalty/coupon passes).\").nullable().optional(),\n identifier: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n templateId: z.string().describe(\"ID of the template used to create this pass.\").nullable().optional(),\n serialNumber: z.string().describe(\"Unique serial number for the pass.\").nullable().optional(),\n passTypeIdentifier: z.string().describe(\"Pass type identifier from the pass template.\").nullable().optional(),\n}).passthrough().describe(\"A single pass object returned by the Passcreator v3 API.\\nAdditional fields may be present depending on pass template configuration.\");\nconst PasscreatorListPasses_ResponseMetaDataSchema = z.object({\n resultsTotal: z.number().int().describe(\"Total number of passes matching the query across all pages.\").nullable(),\n resultsThisPage: z.number().int().describe(\"Number of passes returned in this page.\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the Passcreator API.\");\nexport const PasscreatorListPassesOutput = z.object({\n data: z.array(PasscreatorListPasses_PassObjectSchema).describe(\"Array of pass objects matching the query.\").nullable().optional(),\n count: z.number().int().describe(\"Number of passes in the data array for this response.\").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: PasscreatorListPasses_ResponseMetaDataSchema.nullable(),\n}).passthrough().describe(\"Response from the Passcreator v3 API for listing/searching passes.\\nContains pagination metadata and list of pass objects.\");\n\nexport const passcreatorListPasses = action(\"PASSCREATOR_LIST_PASSES\", {\n slug: \"passcreator-list-passes\",\n name: \"List/Search Passes\",\n description: \"List and search wallet passes from Passcreator using the v3 API. Use this tool to: - Retrieve all passes in your account - Filter passes by template ID or project ID - Search passes using a search phrase across all data fields - Paginate through large result sets Returns passes with metadata including identifiers, serial numbers, template info, and voided/redeemed status.\",\n input: PasscreatorListPassesInput,\n output: PasscreatorListPassesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,wIAAwI;AACpJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,C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CAAC,YAAY,CAAC,CAAC,SAAS,4HAA4H;AAEtJ,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-passes.cjs","names":["z","action"],"sources":["../../src/actions/list-passes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { passcreator } from \"../app\";\n\nexport const PasscreatorListPassesInput = z.object({\n pageSize: z.number().int().default(100).describe(\"Number of passes to return per page (10-1000, default 100).\").optional(),\n projectId: z.string().describe(\"Filter passes by project ID (UUID format). Only return passes belonging to this project.\").optional(),\n templateId: z.string().describe(\"Filter passes by pass template ID (UUID format). Only return passes created from this template.\").optional(),\n searchPhrase: z.string().describe(\"Wildcard search phrase to match across all pass data fields. Use for general text searching.\").optional(),\n}).describe(\"Parameters to list or search passes using Passcreator v3 API.\\nSupports filtering by template, project, search phrase, and pagination.\");\nconst PasscreatorListPasses_PassObjectSchema = z.object({\n voided: z.boolean().describe(\"Whether the pass has been voided/invalidated.\").nullable().optional(),\n redeemed: z.boolean().describe(\"Whether the pass has been redeemed (for loyalty/coupon passes).\").nullable().optional(),\n identifier: z.string().describe(\"Unique pass identifier (UUID format).\").nullable().optional(),\n templateId: z.string().describe(\"ID of the template used to create this pass.\").nullable().optional(),\n serialNumber: z.string().describe(\"Unique serial number for the pass.\").nullable().optional(),\n passTypeIdentifier: z.string().describe(\"Pass type identifier from the pass template.\").nullable().optional(),\n}).passthrough().describe(\"A single pass object returned by the Passcreator v3 API.\\nAdditional fields may be present depending on pass template configuration.\");\nconst PasscreatorListPasses_ResponseMetaDataSchema = z.object({\n resultsTotal: z.number().int().describe(\"Total number of passes matching the query across all pages.\").nullable(),\n resultsThisPage: z.number().int().describe(\"Number of passes returned in this page.\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the Passcreator API.\");\nexport const PasscreatorListPassesOutput = z.object({\n data: z.array(PasscreatorListPasses_PassObjectSchema).describe(\"Array of pass objects matching the query.\").nullable().optional(),\n count: z.number().int().describe(\"Number of passes in the data array for this response.\").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: PasscreatorListPasses_ResponseMetaDataSchema.nullable(),\n}).passthrough().describe(\"Response from the Passcreator v3 API for listing/searching passes.\\nContains pagination metadata and list of pass objects.\");\n\nexport const passcreatorListPasses: AppAction<\n typeof PasscreatorListPassesInput,\n typeof PasscreatorListPassesOutput,\n typeof passcreator.credential\n> = action(\"PASSCREATOR_LIST_PASSES\", {\n slug: \"passcreator-list-passes\",\n name: \"List/Search Passes\",\n description: \"List and search wallet passes from Passcreator using the v3 API. Use this tool to: - Retrieve all passes in your account - Filter passes by template ID or project ID - Search passes using a search phrase across all data fields - Paginate through large result sets Returns passes with metadata including identifiers, serial numbers, template info, and voided/redeemed status.\",\n input: PasscreatorListPassesInput,\n output: PasscreatorListPassesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,wIAAwI;AACpJ,M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,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,kBAAkB,6CAA6C,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAA4H;AAEtJ,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-passes.d.ts
@@ -26,24 +28,7 @@ declare const PasscreatorListPassesOutput: z.ZodObject<{
26
28
  resultsThisPage: z.ZodNullable<z.ZodNumber>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const passcreatorListPasses: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- pageSize?: number | undefined;
31
- projectId?: string | undefined;
32
- templateId?: string | undefined;
33
- searchPhrase?: string | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>;
31
+ declare const passcreatorListPasses: AppAction<typeof PasscreatorListPassesInput, typeof PasscreatorListPassesOutput, typeof passcreator.credential>;
47
32
  //#endregion
48
33
  export { passcreatorListPasses };
49
34
  //# sourceMappingURL=list-passes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-passes.d.cts","names":[],"sources":["../../src/actions/list-passes.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-passes.d.cts","names":[],"sources":["../../src/actions/list-passes.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}