@keystrokehq/re_amaze 0.1.0 → 0.1.2

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.
@@ -1 +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"}
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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"}
@@ -1 +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"}
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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"}
@@ -1 +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"}
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.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.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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const ReAmazeGetReportsTagsInput: z.ZodObject<{
5
+ end_date: z.ZodOptional<z.ZodString>;
6
+ start_date: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
9
+ tags: z.ZodObject<{}, z.core.$strip>;
10
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ end_date?: string | undefined;
15
+ start_date?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { reAmazeGetReportsTags };
9
19
  //# sourceMappingURL=get-reports-tags.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-reports-tags.d.cts","names":[],"sources":["../../src/actions/get-reports-tags.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const ReAmazeGetReportsTagsInput: z.ZodObject<{
5
+ end_date: z.ZodOptional<z.ZodString>;
6
+ start_date: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
9
+ tags: z.ZodObject<{}, z.core.$strip>;
10
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ end_date?: string | undefined;
15
+ start_date?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { reAmazeGetReportsTags };
9
19
  //# sourceMappingURL=get-reports-tags.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-reports-tags.d.mts","names":[],"sources":["../../src/actions/get-reports-tags.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -1 +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"}
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.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.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,OAdwC,EAAE,OAAO;EACjD,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,QAXyC,EAAE,OAAO;EAClD,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"}
@@ -1 +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"}
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.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.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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,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"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const ReAmazeGetResponseTemplatesInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
9
+ response_templates: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>;
11
+ declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ q?: string | undefined;
13
+ page?: number | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { reAmazeGetResponseTemplates };
9
17
  //# sourceMappingURL=get-response-templates.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-response-templates.d.cts","names":[],"sources":["../../src/actions/get-response-templates.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const ReAmazeGetResponseTemplatesInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
9
+ response_templates: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>;
11
+ declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ q?: string | undefined;
13
+ page?: number | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { reAmazeGetResponseTemplates };
9
17
  //# sourceMappingURL=get-response-templates.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-response-templates.d.mts","names":[],"sources":["../../src/actions/get-response-templates.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1 +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"}
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.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.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,OAZ8C,EAAE,OAAO;EACvD,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,QAT+C,EAAE,OAAO,EACxD,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACtG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,23 @@ const reAmazeCatalog = {
7
7
  "category": "Customer Support",
8
8
  "logo": "https://logos.composio.dev/api/re_amaze",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "subdomain": {
13
+ "label": "Brand Subdomain",
14
+ "description": "The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \"mybrand\"."
15
+ },
16
+ "api_key": {
17
+ "label": "API Token",
18
+ "secret": true,
19
+ "description": "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account."
20
+ },
21
+ "generic_id": {
22
+ "label": "Login Email",
23
+ "description": "Your Re:amaze login email address used for API authentication."
24
+ }
25
+ },
26
+ "credentialScheme": "API_KEY"
11
27
  };
12
28
  //#endregion
13
29
  exports.reAmazeCatalog = reAmazeCatalog;
@@ -1 +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"}
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 \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Brand Subdomain\",\n \"description\": \"The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \\\"mybrand\\\".\"\n },\n \"api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.\"\n },\n \"generic_id\": {\n \"label\": \"Login Email\",\n \"description\": \"Your Re:amaze login email address used for API authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,22 @@ declare const reAmazeCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/re_amaze";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly subdomain: {
13
+ readonly label: "Brand Subdomain";
14
+ readonly description: "The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \"mybrand\".";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "API Token";
18
+ readonly secret: true;
19
+ readonly description: "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.";
20
+ };
21
+ readonly generic_id: {
22
+ readonly label: "Login Email";
23
+ readonly description: "Your Re:amaze login email address used for API authentication.";
24
+ };
25
+ };
26
+ readonly credentialScheme: "API_KEY";
11
27
  };
12
28
  //#endregion
13
29
  export { reAmazeCatalog };
@@ -8,6 +8,22 @@ declare const reAmazeCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/re_amaze";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly subdomain: {
13
+ readonly label: "Brand Subdomain";
14
+ readonly description: "The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \"mybrand\".";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "API Token";
18
+ readonly secret: true;
19
+ readonly description: "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.";
20
+ };
21
+ readonly generic_id: {
22
+ readonly label: "Login Email";
23
+ readonly description: "Your Re:amaze login email address used for API authentication.";
24
+ };
25
+ };
26
+ readonly credentialScheme: "API_KEY";
11
27
  };
12
28
  //#endregion
13
29
  export { reAmazeCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,23 @@ const reAmazeCatalog = {
7
7
  "category": "Customer Support",
8
8
  "logo": "https://logos.composio.dev/api/re_amaze",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "subdomain": {
13
+ "label": "Brand Subdomain",
14
+ "description": "The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \"mybrand\"."
15
+ },
16
+ "api_key": {
17
+ "label": "API Token",
18
+ "secret": true,
19
+ "description": "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account."
20
+ },
21
+ "generic_id": {
22
+ "label": "Login Email",
23
+ "description": "Your Re:amaze login email address used for API authentication."
24
+ }
25
+ },
26
+ "credentialScheme": "API_KEY"
11
27
  };
12
28
  //#endregion
13
29
  export { reAmazeCatalog };
@@ -1 +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"}
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 \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Brand Subdomain\",\n \"description\": \"The subdomain of your Re:amaze account (used to identify your brand scope). For example, if your account URL is https://mybrand.reamaze.io, enter \\\"mybrand\\\".\"\n },\n \"api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.\"\n },\n \"generic_id\": {\n \"label\": \"Login Email\",\n \"description\": \"Your Re:amaze login email address used for API authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/re_amaze",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {