@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.mjs";
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.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-passes.d.mts","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.mts","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"}
@@ -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-passes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-passes.mjs","names":[],"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,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,wIAAwI;AACpJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,S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C,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,6CAA6C,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-passes.mjs","names":[],"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,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,wIAAwI;AACpJ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C,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,6CAA6C,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAWhB;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/send-bulk-push-notifications.ts
@@ -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}).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"}
1
+ {"version":3,"file":"send-bulk-push-notifications.cjs","names":["z","action"],"sources":["../../src/actions/send-bulk-push-notifications.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 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: AppAction<\n typeof PasscreatorSendBulkPushNotificationsInput,\n typeof PasscreatorSendBulkPushNotificationsOutput,\n typeof passcreator.credential\n> = 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":";;;;AAMA,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,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,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/send-bulk-push-notifications.d.ts
@@ -10,22 +12,7 @@ declare const PasscreatorSendBulkPushNotificationsOutput: z.ZodObject<{
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  status_code: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const passcreatorSendBulkPushNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- listOfPasses: string[];
15
- pushNotificationText: string;
16
- }, 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>>]>;
15
+ declare const passcreatorSendBulkPushNotifications: AppAction<typeof PasscreatorSendBulkPushNotificationsInput, typeof PasscreatorSendBulkPushNotificationsOutput, typeof passcreator.credential>;
29
16
  //#endregion
30
17
  export { passcreatorSendBulkPushNotifications };
31
18
  //# sourceMappingURL=send-bulk-push-notifications.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-bulk-push-notifications.d.cts","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAIzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"send-bulk-push-notifications.d.cts","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAIzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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/send-bulk-push-notifications.d.ts
@@ -10,22 +12,7 @@ declare const PasscreatorSendBulkPushNotificationsOutput: z.ZodObject<{
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  status_code: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const passcreatorSendBulkPushNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- listOfPasses: string[];
15
- pushNotificationText: string;
16
- }, 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>>]>;
15
+ declare const passcreatorSendBulkPushNotifications: AppAction<typeof PasscreatorSendBulkPushNotificationsInput, typeof PasscreatorSendBulkPushNotificationsOutput, typeof passcreator.credential>;
29
16
  //#endregion
30
17
  export { passcreatorSendBulkPushNotifications };
31
18
  //# sourceMappingURL=send-bulk-push-notifications.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-bulk-push-notifications.d.mts","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAIzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"send-bulk-push-notifications.d.mts","names":[],"sources":["../../src/actions/send-bulk-push-notifications.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAIzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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 passcreatorSendBulkPushNotifications = action("PASSCREATOR_SEND_BULK_PUSH_NOTIFICATIONS", {
@@ -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}).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"}
1
+ {"version":3,"file":"send-bulk-push-notifications.mjs","names":[],"sources":["../../src/actions/send-bulk-push-notifications.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 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: AppAction<\n typeof PasscreatorSendBulkPushNotificationsInput,\n typeof PasscreatorSendBulkPushNotificationsOutput,\n typeof passcreator.credential\n> = 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":";;;AAgBA,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,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,uEAeH;CACP,QAfwD,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,qEAWhB;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/update-passes-bulk.ts
@@ -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}).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"}
1
+ {"version":3,"file":"update-passes-bulk.cjs","names":["z","action"],"sources":["../../src/actions/update-passes-bulk.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 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: AppAction<\n typeof PasscreatorUpdatePassesBulkInput,\n typeof PasscreatorUpdatePassesBulkOutput,\n typeof passcreator.credential\n> = 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":";;;;AAMA,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,EAA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from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-passes-bulk.d.ts
@@ -19,26 +21,7 @@ declare const PasscreatorUpdatePassesBulkOutput: z.ZodObject<{
19
21
  statusCode: z.ZodNullable<z.ZodNumber>;
20
22
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const passcreatorUpdatePassesBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- data: Record<string, unknown>;
24
- filter: {
25
- query?: Record<string, unknown> | undefined;
26
- segmentId?: string | undefined;
27
- identifiers?: string[] | undefined;
28
- };
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
24
+ declare const passcreatorUpdatePassesBulk: AppAction<typeof PasscreatorUpdatePassesBulkInput, typeof PasscreatorUpdatePassesBulkOutput, typeof passcreator.credential>;
42
25
  //#endregion
43
26
  export { passcreatorUpdatePassesBulk };
44
27
  //# sourceMappingURL=update-passes-bulk.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-passes-bulk.d.cts","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"update-passes-bulk.d.cts","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { passcreator } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-passes-bulk.d.ts
@@ -19,26 +21,7 @@ declare const PasscreatorUpdatePassesBulkOutput: z.ZodObject<{
19
21
  statusCode: z.ZodNullable<z.ZodNumber>;
20
22
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const passcreatorUpdatePassesBulk: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- data: Record<string, unknown>;
24
- filter: {
25
- query?: Record<string, unknown> | undefined;
26
- segmentId?: string | undefined;
27
- identifiers?: string[] | undefined;
28
- };
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
24
+ declare const passcreatorUpdatePassesBulk: AppAction<typeof PasscreatorUpdatePassesBulkInput, typeof PasscreatorUpdatePassesBulkOutput, typeof passcreator.credential>;
42
25
  //#endregion
43
26
  export { passcreatorUpdatePassesBulk };
44
27
  //# sourceMappingURL=update-passes-bulk.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-passes-bulk.d.mts","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"update-passes-bulk.d.mts","names":[],"sources":["../../src/actions/update-passes-bulk.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-passes-bulk.ts
@@ -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}).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"}
1
+ {"version":3,"file":"update-passes-bulk.mjs","names":[],"sources":["../../src/actions/update-passes-bulk.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 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: AppAction<\n typeof PasscreatorUpdatePassesBulkInput,\n typeof PasscreatorUpdatePassesBulkOutput,\n typeof passcreator.credential\n> = 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":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;C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,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0HAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const passcreator = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "passcreator",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.passcreator = passcreator;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const passcreator = defineApp({\n slug: \"passcreator\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const passcreator: KeystrokeApp<\"passcreator\", typeof credential> = defineApp({\n slug: \"passcreator\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwE;CACnF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const passcreator: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const passcreator: KeystrokeApp<"passcreator", typeof credential>;
11
9
  //#endregion
12
10
  export { passcreator };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const passcreator: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"passcreator", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const passcreator: KeystrokeApp<"passcreator", typeof credential>;
11
9
  //#endregion
12
10
  export { passcreator };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const passcreator = defineApp({
5
4
  slug: "passcreator",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const passcreator = defineApp({\n slug: \"passcreator\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const passcreator: KeystrokeApp<\"passcreator\", typeof credential> = defineApp({\n slug: \"passcreator\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,cAA8D,UAAU;CACnF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { passcreator } from "./app.cjs";
1
2
  import { passcreatorCheckPassExistence } from "./actions/check-pass-existence.cjs";
2
3
  import { passcreatorCreateAppScan } from "./actions/create-app-scan.cjs";
3
4
  import { passcreatorGetAppConfiguration } from "./actions/get-app-configuration.cjs";
@@ -9,6 +10,5 @@ import { passcreatorListPassTemplates } from "./actions/list-pass-templates.cjs"
9
10
  import { passcreatorListPasses } from "./actions/list-passes.cjs";
10
11
  import { passcreatorSendBulkPushNotifications } from "./actions/send-bulk-push-notifications.cjs";
11
12
  import { passcreatorUpdatePassesBulk } from "./actions/update-passes-bulk.cjs";
12
- import { passcreator } from "./app.cjs";
13
13
  import { passcreatorCatalog } from "./catalog.cjs";
14
14
  export { passcreator, passcreatorCatalog, passcreatorCheckPassExistence, passcreatorCreateAppScan, passcreatorGetAppConfiguration, passcreatorGetProcessStatus, passcreatorGetSigningPublicKey, passcreatorListAppConfigurations, passcreatorListAppScans, passcreatorListPassTemplates, passcreatorListPasses, passcreatorSendBulkPushNotifications, passcreatorUpdatePassesBulk };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { passcreator } from "./app.mjs";
1
2
  import { passcreatorCheckPassExistence } from "./actions/check-pass-existence.mjs";
2
3
  import { passcreatorCreateAppScan } from "./actions/create-app-scan.mjs";
3
4
  import { passcreatorGetAppConfiguration } from "./actions/get-app-configuration.mjs";
@@ -9,6 +10,5 @@ import { passcreatorListPassTemplates } from "./actions/list-pass-templates.mjs"
9
10
  import { passcreatorListPasses } from "./actions/list-passes.mjs";
10
11
  import { passcreatorSendBulkPushNotifications } from "./actions/send-bulk-push-notifications.mjs";
11
12
  import { passcreatorUpdatePassesBulk } from "./actions/update-passes-bulk.mjs";
12
- import { passcreator } from "./app.mjs";
13
13
  import { passcreatorCatalog } from "./catalog.mjs";
14
14
  export { passcreator, passcreatorCatalog, passcreatorCheckPassExistence, passcreatorCreateAppScan, passcreatorGetAppConfiguration, passcreatorGetProcessStatus, passcreatorGetSigningPublicKey, passcreatorListAppConfigurations, passcreatorListAppScans, passcreatorListPassTemplates, passcreatorListPasses, passcreatorSendBulkPushNotifications, passcreatorUpdatePassesBulk };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/passcreator",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {