@keystrokehq/re_amaze 0.1.2 → 0.1.4

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.
@@ -6,10 +6,10 @@ const ReAmazeGetReportsTagsInput = zod.z.object({
6
6
  start_date: zod.z.string().describe("Report start date in YYYY-MM-DD format").optional()
7
7
  }).describe("Request model for GET /reports/tags");
8
8
  const ReAmazeGetReportsTagsOutput = zod.z.object({
9
- tags: zod.z.object({}).describe("Dictionary of tag names to their usage counts"),
9
+ tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of tag names to their usage counts"),
10
10
  end_date: zod.z.string().describe("Report period end date in YYYY-MM-DD format").nullable().optional(),
11
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");
12
+ }).passthrough().describe("Parsed response for GET /reports/tags");
13
13
  const reAmazeGetReportsTags = require_action.action("RE_AMAZE_GET_REPORTS_TAGS", {
14
14
  slug: "re_amaze-get-reports-tags",
15
15
  name: "Get report tags",
@@ -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.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
+ {"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.record(z.string(), z.unknown()).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}).passthrough().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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,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,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,10 @@ declare const ReAmazeGetReportsTagsInput: z.ZodObject<{
6
6
  start_date: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
8
  declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
9
- tags: z.ZodObject<{}, z.core.$strip>;
9
+ tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
10
  end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  end_date?: string | undefined;
15
15
  start_date?: string | undefined;
@@ -6,10 +6,10 @@ declare const ReAmazeGetReportsTagsInput: z.ZodObject<{
6
6
  start_date: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
8
  declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
9
- tags: z.ZodObject<{}, z.core.$strip>;
9
+ tags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
10
  end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  end_date?: string | undefined;
15
15
  start_date?: string | undefined;
@@ -9,10 +9,10 @@ const reAmazeGetReportsTags = action("RE_AMAZE_GET_REPORTS_TAGS", {
9
9
  start_date: z.string().describe("Report start date in YYYY-MM-DD format").optional()
10
10
  }).describe("Request model for GET /reports/tags"),
11
11
  output: z.object({
12
- tags: z.object({}).describe("Dictionary of tag names to their usage counts"),
12
+ tags: z.record(z.string(), z.unknown()).describe("Dictionary of tag names to their usage counts"),
13
13
  end_date: z.string().describe("Report period end date in YYYY-MM-DD format").nullable().optional(),
14
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")
15
+ }).passthrough().describe("Parsed response for GET /reports/tags")
16
16
  });
17
17
  //#endregion
18
18
  export { reAmazeGetReportsTags };
@@ -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.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
+ {"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.record(z.string(), z.unknown()).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}).passthrough().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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAChG,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,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ReAmazeGetResponseTemplatesInput = zod.z.object({
5
5
  q: zod.z.string().describe("Search query to filter response templates by keywords").optional(),
6
6
  page: zod.z.number().int().describe("Page number for pagination through results").optional()
7
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.");
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") }).passthrough().describe("Response model for retrieving response templates.");
9
9
  const reAmazeGetResponseTemplates = require_action.action("RE_AMAZE_GET_RESPONSE_TEMPLATES", {
10
10
  slug: "re_amaze-get-response-templates",
11
11
  name: "Get Response Templates",
@@ -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.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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const ReAmazeGetResponseTemplatesInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
9
9
  response_templates: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  q?: string | undefined;
13
13
  page?: number | undefined;
@@ -7,7 +7,7 @@ declare const ReAmazeGetResponseTemplatesInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
9
9
  response_templates: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  q?: string | undefined;
13
13
  page?: number | undefined;
@@ -8,7 +8,7 @@ const reAmazeGetResponseTemplates = action("RE_AMAZE_GET_RESPONSE_TEMPLATES", {
8
8
  q: z.string().describe("Search query to filter response templates by keywords").optional(),
9
9
  page: z.number().int().describe("Page number for pagination through results").optional()
10
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.")
11
+ output: z.object({ response_templates: z.array(z.record(z.string(), z.unknown())).describe("List of response templates") }).passthrough().describe("Response model for retrieving response templates.")
12
12
  });
13
13
  //#endregion
14
14
  export { reAmazeGetResponseTemplates };
@@ -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.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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -13,7 +13,7 @@ const reAmazeCatalog = {
13
13
  "label": "Brand Subdomain",
14
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
15
  },
16
- "api_key": {
16
+ "generic_api_key": {
17
17
  "label": "API Token",
18
18
  "secret": true,
19
19
  "description": "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account."
@@ -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 \"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"}
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 \"generic_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,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -13,7 +13,7 @@ declare const reAmazeCatalog: {
13
13
  readonly label: "Brand Subdomain";
14
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
15
  };
16
- readonly api_key: {
16
+ readonly generic_api_key: {
17
17
  readonly label: "API Token";
18
18
  readonly secret: true;
19
19
  readonly description: "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.";
@@ -13,7 +13,7 @@ declare const reAmazeCatalog: {
13
13
  readonly label: "Brand Subdomain";
14
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
15
  };
16
- readonly api_key: {
16
+ readonly generic_api_key: {
17
17
  readonly label: "API Token";
18
18
  readonly secret: true;
19
19
  readonly description: "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account.";
package/dist/catalog.mjs CHANGED
@@ -13,7 +13,7 @@ const reAmazeCatalog = {
13
13
  "label": "Brand Subdomain",
14
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
15
  },
16
- "api_key": {
16
+ "generic_api_key": {
17
17
  "label": "API Token",
18
18
  "secret": true,
19
19
  "description": "Your Re:amaze API token. Generate it from Settings > Developer > API Token in your Re:amaze account."
@@ -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 \"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"}
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 \"generic_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,mBAAmB;GACjB,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.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"