@keystrokehq/segmetrics 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.
@@ -26,7 +26,21 @@ declare const segmetricsCreateProduct: import("@keystrokehq/action").WorkflowAct
26
26
  price?: number | undefined;
27
27
  description?: string | undefined;
28
28
  external_id?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ generic_id: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ generic_id: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { segmetricsCreateProduct };
32
46
  //# sourceMappingURL=create-product.d.cts.map
@@ -26,7 +26,21 @@ declare const segmetricsCreateProduct: import("@keystrokehq/action").WorkflowAct
26
26
  price?: number | undefined;
27
27
  description?: string | undefined;
28
28
  external_id?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ generic_id: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ generic_id: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { segmetricsCreateProduct };
32
46
  //# sourceMappingURL=create-product.d.mts.map
@@ -16,7 +16,21 @@ declare const segmetricsDeleteContact: import("@keystrokehq/action").WorkflowAct
16
16
  account_id: string;
17
17
  integration_id: string;
18
18
  contact_id_or_email: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_api_key: z.ZodString;
25
+ generic_id: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ generic_id: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { segmetricsDeleteContact };
22
36
  //# sourceMappingURL=delete-contact.d.cts.map
@@ -16,7 +16,21 @@ declare const segmetricsDeleteContact: import("@keystrokehq/action").WorkflowAct
16
16
  account_id: string;
17
17
  integration_id: string;
18
18
  contact_id_or_email: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_api_key: z.ZodString;
25
+ generic_id: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ generic_id: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { segmetricsDeleteContact };
22
36
  //# sourceMappingURL=delete-contact.d.mts.map
@@ -38,7 +38,21 @@ declare const segmetricsV1AddOrUpdateContact: import("@keystrokehq/action").Work
38
38
  date_created?: string | undefined;
39
39
  last_updated?: string | undefined;
40
40
  utm_campaign?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ generic_id: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ generic_id: z.ZodString;
55
+ }, z.core.$strip>>]>;
42
56
  //#endregion
43
57
  export { segmetricsV1AddOrUpdateContact };
44
58
  //# sourceMappingURL=v1-add-or-update-contact.d.cts.map
@@ -38,7 +38,21 @@ declare const segmetricsV1AddOrUpdateContact: import("@keystrokehq/action").Work
38
38
  date_created?: string | undefined;
39
39
  last_updated?: string | undefined;
40
40
  utm_campaign?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ generic_id: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ generic_id: z.ZodString;
55
+ }, z.core.$strip>>]>;
42
56
  //#endregion
43
57
  export { segmetricsV1AddOrUpdateContact };
44
58
  //# sourceMappingURL=v1-add-or-update-contact.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const segmetrics = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const segmetrics = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "segmetrics",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: zod.z.string(),
9
+ generic_id: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.segmetrics = segmetrics;
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 segmetrics = defineApp({\n slug: \"segmetrics\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,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 segmetrics = defineApp({\n slug: \"segmetrics\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const segmetrics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const segmetrics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { segmetrics };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const segmetrics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const segmetrics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"segmetrics", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { segmetrics };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const segmetrics = defineApp({
4
5
  slug: "segmetrics",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: z.string(),
9
+ generic_id: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { segmetrics };
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 segmetrics = defineApp({\n slug: \"segmetrics\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,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 segmetrics = defineApp({\n slug: \"segmetrics\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -9,7 +9,7 @@ const segmetricsCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "api_key": {
12
+ "generic_api_key": {
13
13
  "label": "API Key",
14
14
  "secret": true,
15
15
  "description": "Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const segmetricsCatalog = {\n \"slug\": \"segmetrics\",\n \"name\": \"Segmetrics\",\n \"description\": \"SegMetrics is a marketing analytics platform that provides detailed insights into customer journeys, helping businesses optimize their marketing strategies.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/segmetrics\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n },\n \"generic_id\": {\n \"label\": \"Account ID\",\n \"description\": \"Your SegMetrics Account ID. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,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 segmetricsCatalog = {\n \"slug\": \"segmetrics\",\n \"name\": \"Segmetrics\",\n \"description\": \"SegMetrics is a marketing analytics platform that provides detailed insights into customer journeys, helping businesses optimize their marketing strategies.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/segmetrics\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n },\n \"generic_id\": {\n \"label\": \"Account ID\",\n \"description\": \"Your SegMetrics Account ID. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const segmetricsCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit";
@@ -9,7 +9,7 @@ declare const segmetricsCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit";
package/dist/catalog.mjs CHANGED
@@ -9,7 +9,7 @@ const segmetricsCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "api_key": {
12
+ "generic_api_key": {
13
13
  "label": "API Key",
14
14
  "secret": true,
15
15
  "description": "Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const segmetricsCatalog = {\n \"slug\": \"segmetrics\",\n \"name\": \"Segmetrics\",\n \"description\": \"SegMetrics is a marketing analytics platform that provides detailed insights into customer journeys, helping businesses optimize their marketing strategies.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/segmetrics\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n },\n \"generic_id\": {\n \"label\": \"Account ID\",\n \"description\": \"Your SegMetrics Account ID. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,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 segmetricsCatalog = {\n \"slug\": \"segmetrics\",\n \"name\": \"Segmetrics\",\n \"description\": \"SegMetrics is a marketing analytics platform that provides detailed insights into customer journeys, helping businesses optimize their marketing strategies.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/segmetrics\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your SegMetrics API Key. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n },\n \"generic_id\": {\n \"label\": \"Account ID\",\n \"description\": \"Your SegMetrics Account ID. Find it in Account Settings at https://app.segmetrics.io/a/account/edit\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,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/segmetrics",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"