@keystrokehq/storerocket 0.1.0

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 (50) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-users.cjs +23 -0
  7. package/dist/actions/get-users.cjs.map +1 -0
  8. package/dist/actions/get-users.d.cts +9 -0
  9. package/dist/actions/get-users.d.cts.map +1 -0
  10. package/dist/actions/get-users.d.mts +9 -0
  11. package/dist/actions/get-users.d.mts.map +1 -0
  12. package/dist/actions/get-users.mjs +22 -0
  13. package/dist/actions/get-users.mjs.map +1 -0
  14. package/dist/actions/index.cjs +5 -0
  15. package/dist/actions/index.d.cts +3 -0
  16. package/dist/actions/index.d.mts +3 -0
  17. package/dist/actions/index.mjs +3 -0
  18. package/dist/actions/ping.cjs +16 -0
  19. package/dist/actions/ping.cjs.map +1 -0
  20. package/dist/actions/ping.d.cts +9 -0
  21. package/dist/actions/ping.d.cts.map +1 -0
  22. package/dist/actions/ping.d.mts +9 -0
  23. package/dist/actions/ping.d.mts.map +1 -0
  24. package/dist/actions/ping.mjs +13 -0
  25. package/dist/actions/ping.mjs.map +1 -0
  26. package/dist/app.cjs +9 -0
  27. package/dist/app.cjs.map +1 -0
  28. package/dist/app.d.cts +5 -0
  29. package/dist/app.d.cts.map +1 -0
  30. package/dist/app.d.mts +5 -0
  31. package/dist/app.d.mts.map +1 -0
  32. package/dist/app.mjs +10 -0
  33. package/dist/app.mjs.map +1 -0
  34. package/dist/catalog.cjs +15 -0
  35. package/dist/catalog.cjs.map +1 -0
  36. package/dist/catalog.d.cts +14 -0
  37. package/dist/catalog.d.cts.map +1 -0
  38. package/dist/catalog.d.mts +14 -0
  39. package/dist/catalog.d.mts.map +1 -0
  40. package/dist/catalog.mjs +15 -0
  41. package/dist/catalog.mjs.map +1 -0
  42. package/dist/execute.cjs +18 -0
  43. package/dist/execute.cjs.map +1 -0
  44. package/dist/execute.mjs +18 -0
  45. package/dist/execute.mjs.map +1 -0
  46. package/dist/index.cjs +10 -0
  47. package/dist/index.d.cts +5 -0
  48. package/dist/index.d.mts +5 -0
  49. package/dist/index.mjs +6 -0
  50. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/storerocket
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `storerocket`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 2
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { storerocketGetUsers } from "@keystrokehq/storerocket/actions";
12
+
13
+ export default defineAgent({
14
+ key: "storerocket-agent",
15
+ tools: [storerocketGetUsers],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.storerocket.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeStorerocketTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["storerocket","executeStorerocketTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { storerocket } from \"./app\";\nimport { executeStorerocketTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return storerocket.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeStorerocketTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { storerocket } from "./app.mjs";
2
+ import { executeStorerocketTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return storerocket.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeStorerocketTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { storerocket } from \"./app\";\nimport { executeStorerocketTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return storerocket.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeStorerocketTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-users.ts
4
+ const StorerocketGetUsersInput = zod.z.object({}).describe("Request model for GetUsers action. No parameters required.");
5
+ const StorerocketGetUsers_UserSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the user."),
7
+ name: zod.z.string().describe("Name of the user."),
8
+ email: zod.z.string().describe("Email address of the user."),
9
+ company: zod.z.string().describe("Company name associated with the user.").nullable().optional(),
10
+ profile_photo_url: zod.z.string().describe("URL of the user's profile photo.").nullable().optional()
11
+ }).describe("A user object representing the authenticated user.");
12
+ const StorerocketGetUsersOutput = zod.z.object({ user: StorerocketGetUsers_UserSchema.nullable() }).describe("Response model for GetUsers action containing authenticated user details.");
13
+ const storerocketGetUsers = require_action.action("STOREROCKET_GET_USERS", {
14
+ slug: "storerocket-get-users",
15
+ name: "Get authenticated user",
16
+ description: "Tool to retrieve the authenticated user information. Use when you need to get details about the currently authenticated user.",
17
+ input: StorerocketGetUsersInput,
18
+ output: StorerocketGetUsersOutput
19
+ });
20
+ //#endregion
21
+ exports.storerocketGetUsers = storerocketGetUsers;
22
+
23
+ //# sourceMappingURL=get-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-users.cjs","names":["z","action"],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StorerocketGetUsersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GetUsers action. No parameters required.\");\nconst StorerocketGetUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n name: z.string().describe(\"Name of the user.\"),\n email: z.string().describe(\"Email address of the user.\"),\n company: z.string().describe(\"Company name associated with the user.\").nullable().optional(),\n profile_photo_url: z.string().describe(\"URL of the user's profile photo.\").nullable().optional(),\n}).describe(\"A user object representing the authenticated user.\");\nexport const StorerocketGetUsersOutput: z.ZodTypeAny = z.object({\n user: StorerocketGetUsers_UserSchema.nullable(),\n}).describe(\"Response model for GetUsers action containing authenticated user details.\");\n\nexport const storerocketGetUsers = action(\"STOREROCKET_GET_USERS\", {\n slug: \"storerocket-get-users\",\n name: \"Get authenticated user\",\n description: \"Tool to retrieve the authenticated user information. Use when you need to get details about the currently authenticated user.\",\n input: StorerocketGetUsersInput,\n output: StorerocketGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxI,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-users.d.ts
4
+ declare const StorerocketGetUsersInput: z.ZodTypeAny;
5
+ declare const StorerocketGetUsersOutput: z.ZodTypeAny;
6
+ declare const storerocketGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { storerocketGetUsers };
9
+ //# sourceMappingURL=get-users.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-users.d.cts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAgG;AAAA,cAQ5H,yBAAA,EAA2B,CAAA,CAAE,UAE8C;AAAA,cAE3E,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-users.d.ts
4
+ declare const StorerocketGetUsersInput: z.ZodTypeAny;
5
+ declare const StorerocketGetUsersOutput: z.ZodTypeAny;
6
+ declare const storerocketGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { storerocketGetUsers };
9
+ //# sourceMappingURL=get-users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-users.d.mts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAgG;AAAA,cAQ5H,yBAAA,EAA2B,CAAA,CAAE,UAE8C;AAAA,cAE3E,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-users.ts
4
+ const StorerocketGetUsersInput = z.object({}).describe("Request model for GetUsers action. No parameters required.");
5
+ const StorerocketGetUsers_UserSchema = z.object({
6
+ id: z.string().describe("Unique identifier for the user."),
7
+ name: z.string().describe("Name of the user."),
8
+ email: z.string().describe("Email address of the user."),
9
+ company: z.string().describe("Company name associated with the user.").nullable().optional(),
10
+ profile_photo_url: z.string().describe("URL of the user's profile photo.").nullable().optional()
11
+ }).describe("A user object representing the authenticated user.");
12
+ const storerocketGetUsers = action("STOREROCKET_GET_USERS", {
13
+ slug: "storerocket-get-users",
14
+ name: "Get authenticated user",
15
+ description: "Tool to retrieve the authenticated user information. Use when you need to get details about the currently authenticated user.",
16
+ input: StorerocketGetUsersInput,
17
+ output: z.object({ user: StorerocketGetUsers_UserSchema.nullable() }).describe("Response model for GetUsers action containing authenticated user details.")
18
+ });
19
+ //#endregion
20
+ export { storerocketGetUsers };
21
+
22
+ //# sourceMappingURL=get-users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-users.mjs","names":[],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StorerocketGetUsersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GetUsers action. No parameters required.\");\nconst StorerocketGetUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n name: z.string().describe(\"Name of the user.\"),\n email: z.string().describe(\"Email address of the user.\"),\n company: z.string().describe(\"Company name associated with the user.\").nullable().optional(),\n profile_photo_url: z.string().describe(\"URL of the user's profile photo.\").nullable().optional(),\n}).describe(\"A user object representing the authenticated user.\");\nexport const StorerocketGetUsersOutput: z.ZodTypeAny = z.object({\n user: StorerocketGetUsers_UserSchema.nullable(),\n}).describe(\"Response model for GetUsers action containing authenticated user details.\");\n\nexport const storerocketGetUsers = action(\"STOREROCKET_GET_USERS\", {\n slug: \"storerocket-get-users\",\n name: \"Get authenticated user\",\n description: \"Tool to retrieve the authenticated user information. Use when you need to get details about the currently authenticated user.\",\n input: StorerocketGetUsersInput,\n output: StorerocketGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxI,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
@@ -0,0 +1,5 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_users = require("./get-users.cjs");
3
+ const require_ping = require("./ping.cjs");
4
+ exports.storerocketGetUsers = require_get_users.storerocketGetUsers;
5
+ exports.storerocketPing = require_ping.storerocketPing;
@@ -0,0 +1,3 @@
1
+ import { storerocketGetUsers } from "./get-users.cjs";
2
+ import { storerocketPing } from "./ping.cjs";
3
+ export { storerocketGetUsers, storerocketPing };
@@ -0,0 +1,3 @@
1
+ import { storerocketGetUsers } from "./get-users.mjs";
2
+ import { storerocketPing } from "./ping.mjs";
3
+ export { storerocketGetUsers, storerocketPing };
@@ -0,0 +1,3 @@
1
+ import { storerocketGetUsers } from "./get-users.mjs";
2
+ import { storerocketPing } from "./ping.mjs";
3
+ export { storerocketGetUsers, storerocketPing };
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/ping.ts
4
+ const StorerocketPingInput = zod.z.object({}).describe("Request model for Ping action. No parameters required.");
5
+ const StorerocketPingOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates successful ping response from API.").nullable().optional() }).describe("Response model for Ping action. Returns empty object on success.");
6
+ const storerocketPing = require_action.action("STOREROCKET_PING", {
7
+ slug: "storerocket-ping",
8
+ name: "Ping API health check",
9
+ description: "Tool to verify API availability via health check endpoint. Use when you need to check if the StoreRocket API is accessible and responding.",
10
+ input: StorerocketPingInput,
11
+ output: StorerocketPingOutput
12
+ });
13
+ //#endregion
14
+ exports.storerocketPing = storerocketPing;
15
+
16
+ //# sourceMappingURL=ping.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StorerocketPingInput: z.ZodTypeAny = z.object({}).describe(\"Request model for Ping action. No parameters required.\");\nexport const StorerocketPingOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates successful ping response from API.\").nullable().optional(),\n}).describe(\"Response model for Ping action. Returns empty object on success.\");\n\nexport const storerocketPing = action(\"STOREROCKET_PING\", {\n slug: \"storerocket-ping\",\n name: \"Ping API health check\",\n description: \"Tool to verify API availability via health check endpoint. Use when you need to check if the StoreRocket API is accessible and responding.\",\n input: StorerocketPingInput,\n output: StorerocketPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAChI,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,kBAAkBC,eAAAA,OAAO,oBAAoB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/ping.d.ts
4
+ declare const StorerocketPingInput: z.ZodTypeAny;
5
+ declare const StorerocketPingOutput: z.ZodTypeAny;
6
+ declare const storerocketPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { storerocketPing };
9
+ //# sourceMappingURL=ping.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA4F;AAAA,cACpH,qBAAA,EAAuB,CAAA,CAAE,UAEyC;AAAA,cAElE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/ping.d.ts
4
+ declare const StorerocketPingInput: z.ZodTypeAny;
5
+ declare const StorerocketPingOutput: z.ZodTypeAny;
6
+ declare const storerocketPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { storerocketPing };
9
+ //# sourceMappingURL=ping.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA4F;AAAA,cACpH,qBAAA,EAAuB,CAAA,CAAE,UAEyC;AAAA,cAElE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const storerocketPing = action("STOREROCKET_PING", {
4
+ slug: "storerocket-ping",
5
+ name: "Ping API health check",
6
+ description: "Tool to verify API availability via health check endpoint. Use when you need to check if the StoreRocket API is accessible and responding.",
7
+ input: z.object({}).describe("Request model for Ping action. No parameters required."),
8
+ output: z.object({ success: z.boolean().default(true).describe("Indicates successful ping response from API.").nullable().optional() }).describe("Response model for Ping action. Returns empty object on success.")
9
+ });
10
+ //#endregion
11
+ export { storerocketPing };
12
+
13
+ //# sourceMappingURL=ping.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.mjs","names":[],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StorerocketPingInput: z.ZodTypeAny = z.object({}).describe(\"Request model for Ping action. No parameters required.\");\nexport const StorerocketPingOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates successful ping response from API.\").nullable().optional(),\n}).describe(\"Response model for Ping action. Returns empty object on success.\");\n\nexport const storerocketPing = action(\"STOREROCKET_PING\", {\n slug: \"storerocket-ping\",\n name: \"Ping API health check\",\n description: \"Tool to verify API availability via health check endpoint. Use when you need to check if the StoreRocket API is accessible and responding.\",\n input: StorerocketPingInput,\n output: StorerocketPingOutput,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,oBAAoB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAS/D;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const storerocket = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "storerocket",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.storerocket = storerocket;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const storerocket = defineApp({\n slug: \"storerocket\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const storerocket: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { storerocket };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const storerocket: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { storerocket };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const storerocket = defineApp({
4
+ slug: "storerocket",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { storerocket };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const storerocket = defineApp({\n slug: \"storerocket\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const storerocketCatalog = {
4
+ "slug": "storerocket",
5
+ "name": "Storerocket",
6
+ "description": "StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.",
7
+ "category": "eCommerce",
8
+ "logo": "https://logos.composio.dev/api/storerocket",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.storerocketCatalog = storerocketCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const storerocketCatalog = {\n \"slug\": \"storerocket\",\n \"name\": \"Storerocket\",\n \"description\": \"StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/storerocket\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const storerocketCatalog: {
4
+ readonly slug: "storerocket";
5
+ readonly name: "Storerocket";
6
+ readonly description: "StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.";
7
+ readonly category: "eCommerce";
8
+ readonly logo: "https://logos.composio.dev/api/storerocket";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { storerocketCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const storerocketCatalog: {
4
+ readonly slug: "storerocket";
5
+ readonly name: "Storerocket";
6
+ readonly description: "StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.";
7
+ readonly category: "eCommerce";
8
+ readonly logo: "https://logos.composio.dev/api/storerocket";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { storerocketCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const storerocketCatalog = {
4
+ "slug": "storerocket",
5
+ "name": "Storerocket",
6
+ "description": "StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.",
7
+ "category": "eCommerce",
8
+ "logo": "https://logos.composio.dev/api/storerocket",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { storerocketCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const storerocketCatalog = {\n \"slug\": \"storerocket\",\n \"name\": \"Storerocket\",\n \"description\": \"StoreRocket is a store locator software platform that enables businesses to add customizable, interactive location finders to their websites. It provides location management, real-time opening hours, search filters, custom fields, lead collection, analytics, and a REST API for seamless integration with platforms like WordPress, Shopify, Webflow, and more.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/storerocket\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "storerocket";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeStorerocketTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeStorerocketTool = executeStorerocketTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"storerocket\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeStorerocketTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,uBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "storerocket";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeStorerocketTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeStorerocketTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"storerocket\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeStorerocketTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,uBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_get_users = require("./actions/get-users.cjs");
5
+ const require_ping = require("./actions/ping.cjs");
6
+ require("./actions/index.cjs");
7
+ exports.storerocket = require_app.storerocket;
8
+ exports.storerocketCatalog = require_catalog.storerocketCatalog;
9
+ exports.storerocketGetUsers = require_get_users.storerocketGetUsers;
10
+ exports.storerocketPing = require_ping.storerocketPing;
@@ -0,0 +1,5 @@
1
+ import { storerocketGetUsers } from "./actions/get-users.cjs";
2
+ import { storerocketPing } from "./actions/ping.cjs";
3
+ import { storerocket } from "./app.cjs";
4
+ import { storerocketCatalog } from "./catalog.cjs";
5
+ export { storerocket, storerocketCatalog, storerocketGetUsers, storerocketPing };
@@ -0,0 +1,5 @@
1
+ import { storerocketGetUsers } from "./actions/get-users.mjs";
2
+ import { storerocketPing } from "./actions/ping.mjs";
3
+ import { storerocket } from "./app.mjs";
4
+ import { storerocketCatalog } from "./catalog.mjs";
5
+ export { storerocket, storerocketCatalog, storerocketGetUsers, storerocketPing };
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { storerocket } from "./app.mjs";
2
+ import { storerocketCatalog } from "./catalog.mjs";
3
+ import { storerocketGetUsers } from "./actions/get-users.mjs";
4
+ import { storerocketPing } from "./actions/ping.mjs";
5
+ import "./actions/index.mjs";
6
+ export { storerocket, storerocketCatalog, storerocketGetUsers, storerocketPing };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/storerocket",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/storerocket"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }