@keystrokehq/satismeter 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 satismeterEmbedSurvey: import("@keystrokehq/action").WorkflowActio
15
15
  traits?: Record<string, unknown> | undefined;
16
16
  userId?: string | undefined;
17
17
  settings?: Record<string, unknown> | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", 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<"satismeter", 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 { satismeterEmbedSurvey };
21
35
  //# sourceMappingURL=embed-survey.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"embed-survey.d.cts","names":[],"sources":["../../src/actions/embed-survey.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA;;WAMhC,MAAA;;aAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"embed-survey.d.cts","names":[],"sources":["../../src/actions/embed-survey.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -15,7 +15,21 @@ declare const satismeterEmbedSurvey: import("@keystrokehq/action").WorkflowActio
15
15
  traits?: Record<string, unknown> | undefined;
16
16
  userId?: string | undefined;
17
17
  settings?: Record<string, unknown> | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", 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<"satismeter", 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 { satismeterEmbedSurvey };
21
35
  //# sourceMappingURL=embed-survey.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"embed-survey.d.mts","names":[],"sources":["../../src/actions/embed-survey.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA;;WAMhC,MAAA;;aAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"embed-survey.d.mts","names":[],"sources":["../../src/actions/embed-survey.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -15,7 +15,21 @@ declare const SatismeterGetUnsubscribedEmailsOutput: z.ZodObject<{
15
15
  }, z.core.$loose>;
16
16
  declare const satismeterGetUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  project_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", 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<"satismeter", 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 { satismeterGetUnsubscribedEmails };
21
35
  //# sourceMappingURL=get-unsubscribed-emails.d.cts.map
@@ -15,7 +15,21 @@ declare const SatismeterGetUnsubscribedEmailsOutput: z.ZodObject<{
15
15
  }, z.core.$loose>;
16
16
  declare const satismeterGetUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  project_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", 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<"satismeter", 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 { satismeterGetUnsubscribedEmails };
21
35
  //# sourceMappingURL=get-unsubscribed-emails.d.mts.map
@@ -14,7 +14,21 @@ declare const SatismeterListSurveysOutput: z.ZodObject<{
14
14
  }, z.core.$loose>;
15
15
  declare const satismeterListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  project: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ generic_id: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ generic_id: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { satismeterListSurveys };
20
34
  //# sourceMappingURL=list-surveys.d.cts.map
@@ -14,7 +14,21 @@ declare const SatismeterListSurveysOutput: z.ZodObject<{
14
14
  }, z.core.$loose>;
15
15
  declare const satismeterListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  project: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ generic_id: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ generic_id: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { satismeterListSurveys };
20
34
  //# sourceMappingURL=list-surveys.d.mts.map
@@ -21,7 +21,21 @@ declare const SatismeterListUsersOutput: z.ZodObject<{
21
21
  declare const satismeterListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  project: string;
23
23
  user_id?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ generic_id: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ generic_id: z.ZodString;
38
+ }, z.core.$strip>>]>;
25
39
  //#endregion
26
40
  export { satismeterListUsers };
27
41
  //# sourceMappingURL=list-users.d.cts.map
@@ -21,7 +21,21 @@ declare const SatismeterListUsersOutput: z.ZodObject<{
21
21
  declare const satismeterListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  project: string;
23
23
  user_id?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ generic_id: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ generic_id: z.ZodString;
38
+ }, z.core.$strip>>]>;
25
39
  //#endregion
26
40
  export { satismeterListUsers };
27
41
  //# sourceMappingURL=list-users.d.mts.map
@@ -13,7 +13,21 @@ declare const SatismeterUpdateUnsubscribedEmailsOutput: z.ZodObject<{
13
13
  declare const satismeterUpdateUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  emails: string[];
15
15
  project_id: string;
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<"satismeter", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ generic_id: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ generic_api_key: z.ZodString;
29
+ generic_id: z.ZodString;
30
+ }, z.core.$strip>>]>;
17
31
  //#endregion
18
32
  export { satismeterUpdateUnsubscribedEmails };
19
33
  //# sourceMappingURL=update-unsubscribed-emails.d.cts.map
@@ -13,7 +13,21 @@ declare const SatismeterUpdateUnsubscribedEmailsOutput: z.ZodObject<{
13
13
  declare const satismeterUpdateUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  emails: string[];
15
15
  project_id: string;
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<"satismeter", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ generic_id: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"satismeter", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ generic_api_key: z.ZodString;
29
+ generic_id: z.ZodString;
30
+ }, z.core.$strip>>]>;
17
31
  //#endregion
18
32
  export { satismeterUpdateUnsubscribedEmails };
19
33
  //# sourceMappingURL=update-unsubscribed-emails.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 satismeter = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const satismeter = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "satismeter",
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.satismeter = satismeter;
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 satismeter = defineApp({\n slug: \"satismeter\",\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 satismeter = defineApp({\n slug: \"satismeter\",\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 satismeter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const satismeter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"satismeter", 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 { satismeter };
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 satismeter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const satismeter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"satismeter", 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 { satismeter };
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 satismeter = defineApp({
4
5
  slug: "satismeter",
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 { satismeter };
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 satismeter = defineApp({\n slug: \"satismeter\",\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 satismeter = defineApp({\n slug: \"satismeter\",\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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/satismeter",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"