@keystrokehq/salesmate 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.
@@ -50,7 +50,21 @@ declare const salesmateAddProduct: import("@keystrokehq/action").WorkflowActionD
50
50
  directCost?: number | undefined;
51
51
  costPerUnit?: number | undefined;
52
52
  description?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ subdomain: z.ZodString;
59
+ bearer_token: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ subdomain: z.ZodString;
66
+ bearer_token: z.ZodString;
67
+ }, z.core.$strip>>]>;
54
68
  //#endregion
55
69
  export { salesmateAddProduct };
56
70
  //# sourceMappingURL=add-product.d.cts.map
@@ -50,7 +50,21 @@ declare const salesmateAddProduct: import("@keystrokehq/action").WorkflowActionD
50
50
  directCost?: number | undefined;
51
51
  costPerUnit?: number | undefined;
52
52
  description?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ subdomain: z.ZodString;
59
+ bearer_token: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ subdomain: z.ZodString;
66
+ bearer_token: z.ZodString;
67
+ }, z.core.$strip>>]>;
54
68
  //#endregion
55
69
  export { salesmateAddProduct };
56
70
  //# sourceMappingURL=add-product.d.mts.map
@@ -48,7 +48,21 @@ declare const salesmateCreateCompany: import("@keystrokehq/action").WorkflowActi
48
48
  googlePlusHandle?: string | undefined;
49
49
  billingAddressLine1?: string | undefined;
50
50
  billingAddressLine2?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ subdomain: z.ZodString;
57
+ bearer_token: z.ZodString;
58
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
59
+ connectionId: z.ZodString;
60
+ entityId: z.ZodString;
61
+ instanceId: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ subdomain: z.ZodString;
64
+ bearer_token: z.ZodString;
65
+ }, z.core.$strip>>]>;
52
66
  //#endregion
53
67
  export { salesmateCreateCompany };
54
68
  //# sourceMappingURL=create-company.d.cts.map
@@ -48,7 +48,21 @@ declare const salesmateCreateCompany: import("@keystrokehq/action").WorkflowActi
48
48
  googlePlusHandle?: string | undefined;
49
49
  billingAddressLine1?: string | undefined;
50
50
  billingAddressLine2?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ subdomain: z.ZodString;
57
+ bearer_token: z.ZodString;
58
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
59
+ connectionId: z.ZodString;
60
+ entityId: z.ZodString;
61
+ instanceId: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ subdomain: z.ZodString;
64
+ bearer_token: z.ZodString;
65
+ }, z.core.$strip>>]>;
52
66
  //#endregion
53
67
  export { salesmateCreateCompany };
54
68
  //# sourceMappingURL=create-company.d.mts.map
@@ -10,7 +10,21 @@ declare const SalesmateDeleteProductOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const salesmateDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  product_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateDeleteProduct };
16
30
  //# sourceMappingURL=delete-product.d.cts.map
@@ -10,7 +10,21 @@ declare const SalesmateDeleteProductOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const salesmateDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  product_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateDeleteProduct };
16
30
  //# sourceMappingURL=delete-product.d.mts.map
@@ -12,7 +12,21 @@ declare const SalesmateGetActiveUsersOutput: z.ZodObject<{
12
12
  firstName: z.ZodNullable<z.ZodString>;
13
13
  }, z.core.$loose>>;
14
14
  }, z.core.$loose>;
15
- declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ subdomain: z.ZodString;
21
+ bearer_token: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", 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
+ bearer_token: z.ZodString;
29
+ }, z.core.$strip>>]>;
16
30
  //#endregion
17
31
  export { salesmateGetActiveUsers };
18
32
  //# sourceMappingURL=get-active-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-active-users.d.cts","names":[],"sources":["../../src/actions/get-active-users.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-active-users.d.cts","names":[],"sources":["../../src/actions/get-active-users.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
@@ -12,7 +12,21 @@ declare const SalesmateGetActiveUsersOutput: z.ZodObject<{
12
12
  firstName: z.ZodNullable<z.ZodString>;
13
13
  }, z.core.$loose>>;
14
14
  }, z.core.$loose>;
15
- declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ subdomain: z.ZodString;
21
+ bearer_token: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", 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
+ bearer_token: z.ZodString;
29
+ }, z.core.$strip>>]>;
16
30
  //#endregion
17
31
  export { salesmateGetActiveUsers };
18
32
  //# sourceMappingURL=get-active-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-active-users.d.mts","names":[],"sources":["../../src/actions/get-active-users.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-active-users.d.mts","names":[],"sources":["../../src/actions/get-active-users.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
@@ -10,7 +10,21 @@ declare const SalesmateGetCompanyOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const salesmateGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  company_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateGetCompany };
16
30
  //# sourceMappingURL=get-company.d.cts.map
@@ -10,7 +10,21 @@ declare const SalesmateGetCompanyOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const salesmateGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  company_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateGetCompany };
16
30
  //# sourceMappingURL=get-company.d.mts.map
@@ -10,7 +10,21 @@ declare const SalesmateListModulesOutput: z.ZodObject<{
10
10
  description: z.ZodNullable<z.ZodString>;
11
11
  }, z.core.$loose>>;
12
12
  }, z.core.$loose>;
13
- declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateListModules };
16
30
  //# sourceMappingURL=list-modules.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-modules.d.cts","names":[],"sources":["../../src/actions/list-modules.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-modules.d.cts","names":[],"sources":["../../src/actions/list-modules.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
@@ -10,7 +10,21 @@ declare const SalesmateListModulesOutput: z.ZodObject<{
10
10
  description: z.ZodNullable<z.ZodString>;
11
11
  }, z.core.$loose>>;
12
12
  }, z.core.$loose>;
13
- declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ subdomain: z.ZodString;
19
+ bearer_token: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesmate", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ subdomain: z.ZodString;
26
+ bearer_token: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { salesmateListModules };
16
30
  //# sourceMappingURL=list-modules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-modules.d.mts","names":[],"sources":["../../src/actions/list-modules.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-modules.d.mts","names":[],"sources":["../../src/actions/list-modules.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
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 salesmate = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const salesmate = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "salesmate",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: zod.z.string(),
9
+ bearer_token: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.salesmate = salesmate;
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 salesmate = defineApp({\n slug: \"salesmate\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,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 salesmate = defineApp({\n slug: \"salesmate\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n bearer_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,cAAcA,IAAAA,EAAE,OAAO;CACzB;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 salesmate: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const salesmate: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"salesmate", 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
+ bearer_token: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { salesmate };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,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 salesmate: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const salesmate: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"salesmate", 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
+ bearer_token: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { salesmate };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,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 salesmate = defineApp({
4
5
  slug: "salesmate",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: z.string(),
9
+ bearer_token: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { salesmate };
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 salesmate = defineApp({\n slug: \"salesmate\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,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 salesmate = defineApp({\n slug: \"salesmate\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n bearer_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,cAAc,EAAE,OAAO;CACzB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/salesmate",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"