@keystrokehq/simple_analytics 0.1.4 → 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.
@@ -15,7 +15,21 @@ declare const SimpleAnalyticsAdminApiListWebsitesOutput: z.ZodObject<{
15
15
  own_hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$loose>>;
17
17
  }, z.core.$loose>;
18
- declare const simpleAnalyticsAdminApiListWebsites: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleAnalyticsAdminApiListWebsites: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ generic_id: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>;
19
33
  //#endregion
20
34
  export { simpleAnalyticsAdminApiListWebsites };
21
35
  //# sourceMappingURL=admin-api-list-websites.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-api-list-websites.d.cts","names":[],"sources":["../../src/actions/admin-api-list-websites.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"admin-api-list-websites.d.cts","names":[],"sources":["../../src/actions/admin-api-list-websites.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,qBAAA,CAAA,CAAA,SAAA"}
@@ -15,7 +15,21 @@ declare const SimpleAnalyticsAdminApiListWebsitesOutput: z.ZodObject<{
15
15
  own_hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$loose>>;
17
17
  }, z.core.$loose>;
18
- declare const simpleAnalyticsAdminApiListWebsites: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleAnalyticsAdminApiListWebsites: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ generic_id: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>;
19
33
  //#endregion
20
34
  export { simpleAnalyticsAdminApiListWebsites };
21
35
  //# sourceMappingURL=admin-api-list-websites.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-api-list-websites.d.mts","names":[],"sources":["../../src/actions/admin-api-list-websites.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"admin-api-list-websites.d.mts","names":[],"sources":["../../src/actions/admin-api-list-websites.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,qBAAA,CAAA,CAAA,SAAA"}
@@ -74,7 +74,21 @@ declare const simpleAnalyticsExportApiGetRawData: import("@keystrokehq/action").
74
74
  format?: "csv" | "json" | undefined;
75
75
  to_date?: string | undefined;
76
76
  from_date?: string | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
77
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
78
+ connectionId: z.ZodString;
79
+ entityId: z.ZodString;
80
+ instanceId: z.ZodString;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ generic_api_key: z.ZodString;
83
+ generic_id: z.ZodString;
84
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ generic_api_key: z.ZodString;
90
+ generic_id: z.ZodString;
91
+ }, z.core.$strip>>]>;
78
92
  //#endregion
79
93
  export { simpleAnalyticsExportApiGetRawData };
80
94
  //# sourceMappingURL=export-api-get-raw-data.d.cts.map
@@ -74,7 +74,21 @@ declare const simpleAnalyticsExportApiGetRawData: import("@keystrokehq/action").
74
74
  format?: "csv" | "json" | undefined;
75
75
  to_date?: string | undefined;
76
76
  from_date?: string | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
77
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
78
+ connectionId: z.ZodString;
79
+ entityId: z.ZodString;
80
+ instanceId: z.ZodString;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ generic_api_key: z.ZodString;
83
+ generic_id: z.ZodString;
84
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ generic_api_key: z.ZodString;
90
+ generic_id: z.ZodString;
91
+ }, z.core.$strip>>]>;
78
92
  //#endregion
79
93
  export { simpleAnalyticsExportApiGetRawData };
80
94
  //# sourceMappingURL=export-api-get-raw-data.d.mts.map
@@ -37,7 +37,21 @@ declare const simpleAnalyticsGetAggregatedStats: import("@keystrokehq/action").W
37
37
  source?: string | undefined;
38
38
  compare?: string | undefined;
39
39
  referrer?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ generic_id: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ generic_id: z.ZodString;
54
+ }, z.core.$strip>>]>;
41
55
  //#endregion
42
56
  export { simpleAnalyticsGetAggregatedStats };
43
57
  //# sourceMappingURL=get-aggregated-stats.d.cts.map
@@ -37,7 +37,21 @@ declare const simpleAnalyticsGetAggregatedStats: import("@keystrokehq/action").W
37
37
  source?: string | undefined;
38
38
  compare?: string | undefined;
39
39
  referrer?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ generic_id: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ generic_id: z.ZodString;
54
+ }, z.core.$strip>>]>;
41
55
  //#endregion
42
56
  export { simpleAnalyticsGetAggregatedStats };
43
57
  //# sourceMappingURL=get-aggregated-stats.d.mts.map
@@ -49,7 +49,21 @@ declare const simpleAnalyticsSendEvent: import("@keystrokehq/action").WorkflowAc
49
49
  screen_height?: number | undefined;
50
50
  viewport_width?: number | undefined;
51
51
  viewport_height?: number | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ generic_id: z.ZodString;
59
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ generic_api_key: z.ZodString;
65
+ generic_id: z.ZodString;
66
+ }, z.core.$strip>>]>;
53
67
  //#endregion
54
68
  export { simpleAnalyticsSendEvent };
55
69
  //# sourceMappingURL=send-event.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.d.cts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA;;;;;;;;;;;;;aAMnC,MAAA"}
1
+ {"version":3,"file":"send-event.d.cts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -49,7 +49,21 @@ declare const simpleAnalyticsSendEvent: import("@keystrokehq/action").WorkflowAc
49
49
  screen_height?: number | undefined;
50
50
  viewport_width?: number | undefined;
51
51
  viewport_height?: number | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ generic_id: z.ZodString;
59
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simple_analytics", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ generic_api_key: z.ZodString;
65
+ generic_id: z.ZodString;
66
+ }, z.core.$strip>>]>;
53
67
  //#endregion
54
68
  export { simpleAnalyticsSendEvent };
55
69
  //# sourceMappingURL=send-event.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.d.mts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA;;;;;;;;;;;;;aAMnC,MAAA"}
1
+ {"version":3,"file":"send-event.d.mts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
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 simpleAnalytics = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const simpleAnalytics = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "simple_analytics",
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.simpleAnalytics = simpleAnalytics;
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 simpleAnalytics = defineApp({\n slug: \"simple_analytics\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,mBAAA,uCAAA,CAAA,CAAA,UAAA,CAA4B;CACvC,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 simpleAnalytics = defineApp({\n slug: \"simple_analytics\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,mBAAA,GAAA,2BAAA,UAAA,CAA4B;CACvC,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 simpleAnalytics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const simpleAnalytics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"simple_analytics", 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 { simpleAnalytics };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,eAAA,6BAAe,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,eAAA,6BAAe,GAAA,+BAAA,UAAA,qBAAA,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 simpleAnalytics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const simpleAnalytics: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"simple_analytics", 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 { simpleAnalytics };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,eAAA,6BAAe,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,eAAA,6BAAe,GAAA,+BAAA,UAAA,qBAAA,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 simpleAnalytics = defineApp({
4
5
  slug: "simple_analytics",
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 { simpleAnalytics };
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 simpleAnalytics = defineApp({\n slug: \"simple_analytics\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,kBAAkB,UAAU;CACvC,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 simpleAnalytics = defineApp({\n slug: \"simple_analytics\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,kBAAkB,UAAU;CACvC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/simple_analytics",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"