@keystrokehq/re_amaze 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-reports-tags.cjs +23 -0
  7. package/dist/actions/get-reports-tags.cjs.map +1 -0
  8. package/dist/actions/get-reports-tags.d.cts +9 -0
  9. package/dist/actions/get-reports-tags.d.cts.map +1 -0
  10. package/dist/actions/get-reports-tags.d.mts +9 -0
  11. package/dist/actions/get-reports-tags.d.mts.map +1 -0
  12. package/dist/actions/get-reports-tags.mjs +20 -0
  13. package/dist/actions/get-reports-tags.mjs.map +1 -0
  14. package/dist/actions/get-response-templates.cjs +19 -0
  15. package/dist/actions/get-response-templates.cjs.map +1 -0
  16. package/dist/actions/get-response-templates.d.cts +9 -0
  17. package/dist/actions/get-response-templates.d.cts.map +1 -0
  18. package/dist/actions/get-response-templates.d.mts +9 -0
  19. package/dist/actions/get-response-templates.d.mts.map +1 -0
  20. package/dist/actions/get-response-templates.mjs +16 -0
  21. package/dist/actions/get-response-templates.mjs.map +1 -0
  22. package/dist/actions/index.cjs +5 -0
  23. package/dist/actions/index.d.cts +3 -0
  24. package/dist/actions/index.d.mts +3 -0
  25. package/dist/actions/index.mjs +3 -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/re_amaze
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `re_amaze`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 2
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { reAmazeGetReportsTags } from "@keystrokehq/re_amaze/actions";
12
+
13
+ export default defineAgent({
14
+ key: "re_amaze-agent",
15
+ tools: [reAmazeGetReportsTags],
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.reAmaze.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.executeReAmazeTool(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":["reAmaze","executeReAmazeTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { reAmaze } from \"./app\";\nimport { executeReAmazeTool } 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 reAmaze.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 executeReAmazeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { reAmaze } from "./app.mjs";
2
+ import { executeReAmazeTool } 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 reAmaze.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 executeReAmazeTool(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 { reAmaze } from \"./app\";\nimport { executeReAmazeTool } 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 reAmaze.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 executeReAmazeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-reports-tags.ts
4
+ const ReAmazeGetReportsTagsInput = zod.z.object({
5
+ end_date: zod.z.string().describe("Report end date in YYYY-MM-DD format").optional(),
6
+ start_date: zod.z.string().describe("Report start date in YYYY-MM-DD format").optional()
7
+ }).describe("Request model for GET /reports/tags");
8
+ const ReAmazeGetReportsTagsOutput = zod.z.object({
9
+ tags: zod.z.object({}).describe("Dictionary of tag names to their usage counts"),
10
+ end_date: zod.z.string().describe("Report period end date in YYYY-MM-DD format").nullable().optional(),
11
+ start_date: zod.z.string().describe("Report period start date in YYYY-MM-DD format").nullable().optional()
12
+ }).describe("Parsed response for GET /reports/tags");
13
+ const reAmazeGetReportsTags = require_action.action("RE_AMAZE_GET_REPORTS_TAGS", {
14
+ slug: "re_amaze-get-reports-tags",
15
+ name: "Get report tags",
16
+ description: "Tool to retrieve a list of tags used in reports. Use when analyzing tag usage metrics across conversations.",
17
+ input: ReAmazeGetReportsTagsInput,
18
+ output: ReAmazeGetReportsTagsOutput
19
+ });
20
+ //#endregion
21
+ exports.reAmazeGetReportsTags = reAmazeGetReportsTags;
22
+
23
+ //# sourceMappingURL=get-reports-tags.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reports-tags.cjs","names":["z","action"],"sources":["../../src/actions/get-reports-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReAmazeGetReportsTagsInput: z.ZodTypeAny = z.object({\n end_date: z.string().describe(\"Report end date in YYYY-MM-DD format\").optional(),\n start_date: z.string().describe(\"Report start date in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for GET /reports/tags\");\nexport const ReAmazeGetReportsTagsOutput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Dictionary of tag names to their usage counts\"),\n end_date: z.string().describe(\"Report period end date in YYYY-MM-DD format\").nullable().optional(),\n start_date: z.string().describe(\"Report period start date in YYYY-MM-DD format\").nullable().optional(),\n}).describe(\"Parsed response for GET /reports/tags\");\n\nexport const reAmazeGetReportsTags = action(\"RE_AMAZE_GET_REPORTS_TAGS\", {\n slug: \"re_amaze-get-reports-tags\",\n name: \"Get report tags\",\n description: \"Tool to retrieve a list of tags used in reports. Use when analyzing tag usage metrics across conversations.\",\n input: ReAmazeGetReportsTagsInput,\n output: ReAmazeGetReportsTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,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-reports-tags.d.ts
4
+ declare const ReAmazeGetReportsTagsInput: z.ZodTypeAny;
5
+ declare const ReAmazeGetReportsTagsOutput: z.ZodTypeAny;
6
+ declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { reAmazeGetReportsTags };
9
+ //# sourceMappingURL=get-reports-tags.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reports-tags.d.cts","names":[],"sources":["../../src/actions/get-reports-tags.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGO;AAAA,cACrC,2BAAA,EAA6B,CAAA,CAAE,UAIQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-reports-tags.d.ts
4
+ declare const ReAmazeGetReportsTagsInput: z.ZodTypeAny;
5
+ declare const ReAmazeGetReportsTagsOutput: z.ZodTypeAny;
6
+ declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { reAmazeGetReportsTags };
9
+ //# sourceMappingURL=get-reports-tags.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reports-tags.d.mts","names":[],"sources":["../../src/actions/get-reports-tags.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGO;AAAA,cACrC,2BAAA,EAA6B,CAAA,CAAE,UAIQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const reAmazeGetReportsTags = action("RE_AMAZE_GET_REPORTS_TAGS", {
4
+ slug: "re_amaze-get-reports-tags",
5
+ name: "Get report tags",
6
+ description: "Tool to retrieve a list of tags used in reports. Use when analyzing tag usage metrics across conversations.",
7
+ input: z.object({
8
+ end_date: z.string().describe("Report end date in YYYY-MM-DD format").optional(),
9
+ start_date: z.string().describe("Report start date in YYYY-MM-DD format").optional()
10
+ }).describe("Request model for GET /reports/tags"),
11
+ output: z.object({
12
+ tags: z.object({}).describe("Dictionary of tag names to their usage counts"),
13
+ end_date: z.string().describe("Report period end date in YYYY-MM-DD format").nullable().optional(),
14
+ start_date: z.string().describe("Report period start date in YYYY-MM-DD format").nullable().optional()
15
+ }).describe("Parsed response for GET /reports/tags")
16
+ });
17
+ //#endregion
18
+ export { reAmazeGetReportsTags };
19
+
20
+ //# sourceMappingURL=get-reports-tags.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reports-tags.mjs","names":[],"sources":["../../src/actions/get-reports-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReAmazeGetReportsTagsInput: z.ZodTypeAny = z.object({\n end_date: z.string().describe(\"Report end date in YYYY-MM-DD format\").optional(),\n start_date: z.string().describe(\"Report start date in YYYY-MM-DD format\").optional(),\n}).describe(\"Request model for GET /reports/tags\");\nexport const ReAmazeGetReportsTagsOutput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Dictionary of tag names to their usage counts\"),\n end_date: z.string().describe(\"Report period end date in YYYY-MM-DD format\").nullable().optional(),\n start_date: z.string().describe(\"Report period start date in YYYY-MM-DD format\").nullable().optional(),\n}).describe(\"Parsed response for GET /reports/tags\");\n\nexport const reAmazeGetReportsTags = action(\"RE_AMAZE_GET_REPORTS_TAGS\", {\n slug: \"re_amaze-get-reports-tags\",\n name: \"Get report tags\",\n description: \"Tool to retrieve a list of tags used in reports. Use when analyzing tag usage metrics across conversations.\",\n input: ReAmazeGetReportsTagsInput,\n output: ReAmazeGetReportsTagsOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,qCAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-response-templates.ts
4
+ const ReAmazeGetResponseTemplatesInput = zod.z.object({
5
+ q: zod.z.string().describe("Search query to filter response templates by keywords").optional(),
6
+ page: zod.z.number().int().describe("Page number for pagination through results").optional()
7
+ }).describe("Request parameters for GET /response_templates endpoint.");
8
+ const ReAmazeGetResponseTemplatesOutput = zod.z.object({ response_templates: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of response templates") }).describe("Response model for retrieving response templates.");
9
+ const reAmazeGetResponseTemplates = require_action.action("RE_AMAZE_GET_RESPONSE_TEMPLATES", {
10
+ slug: "re_amaze-get-response-templates",
11
+ name: "Get Response Templates",
12
+ description: "Tool to retrieve response templates for the brand. Use when you need canned responses to streamline replies.",
13
+ input: ReAmazeGetResponseTemplatesInput,
14
+ output: ReAmazeGetResponseTemplatesOutput
15
+ });
16
+ //#endregion
17
+ exports.reAmazeGetResponseTemplates = reAmazeGetResponseTemplates;
18
+
19
+ //# sourceMappingURL=get-response-templates.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-response-templates.cjs","names":["z","action"],"sources":["../../src/actions/get-response-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReAmazeGetResponseTemplatesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter response templates by keywords\").optional(),\n page: z.number().int().describe(\"Page number for pagination through results\").optional(),\n}).describe(\"Request parameters for GET /response_templates endpoint.\");\nexport const ReAmazeGetResponseTemplatesOutput: z.ZodTypeAny = z.object({\n response_templates: z.array(z.record(z.string(), z.unknown())).describe(\"List of response templates\"),\n}).describe(\"Response model for retrieving response templates.\");\n\nexport const reAmazeGetResponseTemplates = action(\"RE_AMAZE_GET_RESPONSE_TEMPLATES\", {\n slug: \"re_amaze-get-response-templates\",\n name: \"Get Response Templates\",\n description: \"Tool to retrieve response templates for the brand. Use when you need canned responses to streamline replies.\",\n input: ReAmazeGetResponseTemplatesInput,\n output: ReAmazeGetResponseTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACtG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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-response-templates.d.ts
4
+ declare const ReAmazeGetResponseTemplatesInput: z.ZodTypeAny;
5
+ declare const ReAmazeGetResponseTemplatesOutput: z.ZodTypeAny;
6
+ declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { reAmazeGetResponseTemplates };
9
+ //# sourceMappingURL=get-response-templates.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-response-templates.d.cts","names":[],"sources":["../../src/actions/get-response-templates.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGsB;AAAA,cAC1D,iCAAA,EAAmC,CAAA,CAAE,UAEc;AAAA,cAEnD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-response-templates.d.ts
4
+ declare const ReAmazeGetResponseTemplatesInput: z.ZodTypeAny;
5
+ declare const ReAmazeGetResponseTemplatesOutput: z.ZodTypeAny;
6
+ declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { reAmazeGetResponseTemplates };
9
+ //# sourceMappingURL=get-response-templates.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-response-templates.d.mts","names":[],"sources":["../../src/actions/get-response-templates.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGsB;AAAA,cAC1D,iCAAA,EAAmC,CAAA,CAAE,UAEc;AAAA,cAEnD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const reAmazeGetResponseTemplates = action("RE_AMAZE_GET_RESPONSE_TEMPLATES", {
4
+ slug: "re_amaze-get-response-templates",
5
+ name: "Get Response Templates",
6
+ description: "Tool to retrieve response templates for the brand. Use when you need canned responses to streamline replies.",
7
+ input: z.object({
8
+ q: z.string().describe("Search query to filter response templates by keywords").optional(),
9
+ page: z.number().int().describe("Page number for pagination through results").optional()
10
+ }).describe("Request parameters for GET /response_templates endpoint."),
11
+ output: z.object({ response_templates: z.array(z.record(z.string(), z.unknown())).describe("List of response templates") }).describe("Response model for retrieving response templates.")
12
+ });
13
+ //#endregion
14
+ export { reAmazeGetResponseTemplates };
15
+
16
+ //# sourceMappingURL=get-response-templates.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-response-templates.mjs","names":[],"sources":["../../src/actions/get-response-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReAmazeGetResponseTemplatesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter response templates by keywords\").optional(),\n page: z.number().int().describe(\"Page number for pagination through results\").optional(),\n}).describe(\"Request parameters for GET /response_templates endpoint.\");\nexport const ReAmazeGetResponseTemplatesOutput: z.ZodTypeAny = z.object({\n response_templates: z.array(z.record(z.string(), z.unknown())).describe(\"List of response templates\"),\n}).describe(\"Response model for retrieving response templates.\");\n\nexport const reAmazeGetResponseTemplates = action(\"RE_AMAZE_GET_RESPONSE_TEMPLATES\", {\n slug: \"re_amaze-get-response-templates\",\n name: \"Get Response Templates\",\n description: \"Tool to retrieve response templates for the brand. Use when you need canned responses to streamline replies.\",\n input: ReAmazeGetResponseTemplatesInput,\n output: ReAmazeGetResponseTemplatesOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO;EACrE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT6D,EAAE,OAAO,EACtE,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACtG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,5 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_reports_tags = require("./get-reports-tags.cjs");
3
+ const require_get_response_templates = require("./get-response-templates.cjs");
4
+ exports.reAmazeGetReportsTags = require_get_reports_tags.reAmazeGetReportsTags;
5
+ exports.reAmazeGetResponseTemplates = require_get_response_templates.reAmazeGetResponseTemplates;
@@ -0,0 +1,3 @@
1
+ import { reAmazeGetReportsTags } from "./get-reports-tags.cjs";
2
+ import { reAmazeGetResponseTemplates } from "./get-response-templates.cjs";
3
+ export { reAmazeGetReportsTags, reAmazeGetResponseTemplates };
@@ -0,0 +1,3 @@
1
+ import { reAmazeGetReportsTags } from "./get-reports-tags.mjs";
2
+ import { reAmazeGetResponseTemplates } from "./get-response-templates.mjs";
3
+ export { reAmazeGetReportsTags, reAmazeGetResponseTemplates };
@@ -0,0 +1,3 @@
1
+ import { reAmazeGetReportsTags } from "./get-reports-tags.mjs";
2
+ import { reAmazeGetResponseTemplates } from "./get-response-templates.mjs";
3
+ export { reAmazeGetReportsTags, reAmazeGetResponseTemplates };
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const reAmaze = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "re_amaze",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.reAmaze = reAmaze;
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 reAmaze = defineApp({\n slug: \"re_amaze\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { reAmaze };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { reAmaze };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,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 reAmaze = defineApp({
4
+ slug: "re_amaze",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { reAmaze };
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 reAmaze = defineApp({\n slug: \"re_amaze\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,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 reAmazeCatalog = {
4
+ "slug": "re_amaze",
5
+ "name": "Re:amaze",
6
+ "description": "Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.",
7
+ "category": "Customer Support",
8
+ "logo": "https://logos.composio.dev/api/re_amaze",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.reAmazeCatalog = reAmazeCatalog;
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 reAmazeCatalog = {\n \"slug\": \"re_amaze\",\n \"name\": \"Re:amaze\",\n \"description\": \"Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/re_amaze\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,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 reAmazeCatalog: {
4
+ readonly slug: "re_amaze";
5
+ readonly name: "Re:amaze";
6
+ readonly description: "Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.";
7
+ readonly category: "Customer Support";
8
+ readonly logo: "https://logos.composio.dev/api/re_amaze";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { reAmazeCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const reAmazeCatalog: {
4
+ readonly slug: "re_amaze";
5
+ readonly name: "Re:amaze";
6
+ readonly description: "Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.";
7
+ readonly category: "Customer Support";
8
+ readonly logo: "https://logos.composio.dev/api/re_amaze";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { reAmazeCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const reAmazeCatalog = {
4
+ "slug": "re_amaze",
5
+ "name": "Re:amaze",
6
+ "description": "Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.",
7
+ "category": "Customer Support",
8
+ "logo": "https://logos.composio.dev/api/re_amaze",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { reAmazeCatalog };
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 reAmazeCatalog = {\n \"slug\": \"re_amaze\",\n \"name\": \"Re:amaze\",\n \"description\": \"Re:amaze is a multi-channel customer support platform offering live chat, email, social messaging, and automated workflows.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/re_amaze\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,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 = "re_amaze";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeReAmazeTool(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.executeReAmazeTool = executeReAmazeTool;
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 = \"re_amaze\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeReAmazeTool(\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,mBACpB,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 = "re_amaze";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeReAmazeTool(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 { executeReAmazeTool };
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 = \"re_amaze\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeReAmazeTool(\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,mBACpB,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_reports_tags = require("./actions/get-reports-tags.cjs");
5
+ const require_get_response_templates = require("./actions/get-response-templates.cjs");
6
+ require("./actions/index.cjs");
7
+ exports.reAmaze = require_app.reAmaze;
8
+ exports.reAmazeCatalog = require_catalog.reAmazeCatalog;
9
+ exports.reAmazeGetReportsTags = require_get_reports_tags.reAmazeGetReportsTags;
10
+ exports.reAmazeGetResponseTemplates = require_get_response_templates.reAmazeGetResponseTemplates;
@@ -0,0 +1,5 @@
1
+ import { reAmazeGetReportsTags } from "./actions/get-reports-tags.cjs";
2
+ import { reAmazeGetResponseTemplates } from "./actions/get-response-templates.cjs";
3
+ import { reAmaze } from "./app.cjs";
4
+ import { reAmazeCatalog } from "./catalog.cjs";
5
+ export { reAmaze, reAmazeCatalog, reAmazeGetReportsTags, reAmazeGetResponseTemplates };
@@ -0,0 +1,5 @@
1
+ import { reAmazeGetReportsTags } from "./actions/get-reports-tags.mjs";
2
+ import { reAmazeGetResponseTemplates } from "./actions/get-response-templates.mjs";
3
+ import { reAmaze } from "./app.mjs";
4
+ import { reAmazeCatalog } from "./catalog.mjs";
5
+ export { reAmaze, reAmazeCatalog, reAmazeGetReportsTags, reAmazeGetResponseTemplates };
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { reAmaze } from "./app.mjs";
2
+ import { reAmazeCatalog } from "./catalog.mjs";
3
+ import { reAmazeGetReportsTags } from "./actions/get-reports-tags.mjs";
4
+ import { reAmazeGetResponseTemplates } from "./actions/get-response-templates.mjs";
5
+ import "./actions/index.mjs";
6
+ export { reAmaze, reAmazeCatalog, reAmazeGetReportsTags, reAmazeGetResponseTemplates };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/re_amaze",
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/re_amaze"
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
+ }