@keystrokehq/re_amaze 0.1.3 → 0.1.5

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.
@@ -13,7 +13,23 @@ declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
13
13
  declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  end_date?: string | undefined;
15
15
  start_date?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ subdomain: z.ZodString;
22
+ generic_api_key: z.ZodString;
23
+ generic_id: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>;
17
33
  //#endregion
18
34
  export { reAmazeGetReportsTags };
19
35
  //# sourceMappingURL=get-reports-tags.d.cts.map
@@ -13,7 +13,23 @@ declare const ReAmazeGetReportsTagsOutput: z.ZodObject<{
13
13
  declare const reAmazeGetReportsTags: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  end_date?: string | undefined;
15
15
  start_date?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ subdomain: z.ZodString;
22
+ generic_api_key: z.ZodString;
23
+ generic_id: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>;
17
33
  //#endregion
18
34
  export { reAmazeGetReportsTags };
19
35
  //# sourceMappingURL=get-reports-tags.d.mts.map
@@ -11,7 +11,23 @@ declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
11
11
  declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  q?: string | undefined;
13
13
  page?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ subdomain: z.ZodString;
20
+ generic_api_key: z.ZodString;
21
+ generic_id: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ subdomain: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ generic_id: z.ZodString;
30
+ }, z.core.$strip>>]>;
15
31
  //#endregion
16
32
  export { reAmazeGetResponseTemplates };
17
33
  //# sourceMappingURL=get-response-templates.d.cts.map
@@ -11,7 +11,23 @@ declare const ReAmazeGetResponseTemplatesOutput: z.ZodObject<{
11
11
  declare const reAmazeGetResponseTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  q?: string | undefined;
13
13
  page?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ subdomain: z.ZodString;
20
+ generic_api_key: z.ZodString;
21
+ generic_id: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ subdomain: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ generic_id: z.ZodString;
30
+ }, z.core.$strip>>]>;
15
31
  //#endregion
16
32
  export { reAmazeGetResponseTemplates };
17
33
  //# sourceMappingURL=get-response-templates.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,14 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const reAmaze = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const reAmaze = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "re_amaze",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: zod.z.string(),
9
+ generic_api_key: zod.z.string(),
10
+ generic_id: zod.z.string()
11
+ }
5
12
  });
6
13
  //#endregion
7
14
  exports.reAmaze = reAmaze;
package/dist/app.cjs.map CHANGED
@@ -1 +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"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const reAmaze = defineApp({\n slug: \"re_amaze\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,15 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ subdomain: z.ZodString;
10
+ generic_api_key: z.ZodString;
11
+ generic_id: z.ZodString;
12
+ }, z.core.$strip>>>;
3
13
  //#endregion
4
14
  export { reAmaze };
5
15
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,15 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const reAmaze: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"re_amaze", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ subdomain: z.ZodString;
10
+ generic_api_key: z.ZodString;
11
+ generic_id: z.ZodString;
12
+ }, z.core.$strip>>>;
3
13
  //#endregion
4
14
  export { reAmaze };
5
15
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,14 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const reAmaze = defineApp({
4
5
  slug: "re_amaze",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: z.string(),
9
+ generic_api_key: z.string(),
10
+ generic_id: z.string()
11
+ }
6
12
  });
7
13
  //#endregion
8
14
  export { reAmaze };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\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"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const reAmaze = defineApp({\n slug: \"re_amaze\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,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.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"