@keystrokehq/moonclerk 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.
@@ -95,7 +95,19 @@ declare const moonclerkListCustomers: import("@keystrokehq/action").WorkflowActi
95
95
  checkout_from?: string | undefined;
96
96
  next_payment_to?: string | undefined;
97
97
  next_payment_from?: string | undefined;
98
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
98
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
99
+ connectionId: z.ZodString;
100
+ entityId: z.ZodString;
101
+ instanceId: z.ZodString;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ generic_api_key: z.ZodString;
104
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
105
+ connectionId: z.ZodString;
106
+ entityId: z.ZodString;
107
+ instanceId: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ generic_api_key: z.ZodString;
110
+ }, z.core.$strip>>]>;
99
111
  //#endregion
100
112
  export { moonclerkListCustomers };
101
113
  //# sourceMappingURL=list-customers.d.cts.map
@@ -95,7 +95,19 @@ declare const moonclerkListCustomers: import("@keystrokehq/action").WorkflowActi
95
95
  checkout_from?: string | undefined;
96
96
  next_payment_to?: string | undefined;
97
97
  next_payment_from?: string | undefined;
98
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
98
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
99
+ connectionId: z.ZodString;
100
+ entityId: z.ZodString;
101
+ instanceId: z.ZodString;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ generic_api_key: z.ZodString;
104
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
105
+ connectionId: z.ZodString;
106
+ entityId: z.ZodString;
107
+ instanceId: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ generic_api_key: z.ZodString;
110
+ }, z.core.$strip>>]>;
99
111
  //#endregion
100
112
  export { moonclerkListCustomers };
101
113
  //# sourceMappingURL=list-customers.d.mts.map
@@ -40,7 +40,19 @@ declare const moonclerkListDiscounts: import("@keystrokehq/action").WorkflowActi
40
40
  checkout_from?: string | undefined;
41
41
  next_payment_to?: string | undefined;
42
42
  next_payment_from?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { moonclerkListDiscounts };
46
58
  //# sourceMappingURL=list-discounts.d.cts.map
@@ -40,7 +40,19 @@ declare const moonclerkListDiscounts: import("@keystrokehq/action").WorkflowActi
40
40
  checkout_from?: string | undefined;
41
41
  next_payment_to?: string | undefined;
42
42
  next_payment_from?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { moonclerkListDiscounts };
46
58
  //# sourceMappingURL=list-discounts.d.mts.map
@@ -22,7 +22,19 @@ declare const MoonclerkListFormsOutput: z.ZodObject<{
22
22
  declare const moonclerkListForms: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  page?: number | undefined;
24
24
  per_page?: number | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { moonclerkListForms };
28
40
  //# sourceMappingURL=list-forms.d.cts.map
@@ -22,7 +22,19 @@ declare const MoonclerkListFormsOutput: z.ZodObject<{
22
22
  declare const moonclerkListForms: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  page?: number | undefined;
24
24
  per_page?: number | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { moonclerkListForms };
28
40
  //# sourceMappingURL=list-forms.d.mts.map
@@ -70,7 +70,19 @@ declare const moonclerkListPayments: import("@keystrokehq/action").WorkflowActio
70
70
  form_id?: number | undefined;
71
71
  date_from?: string | undefined;
72
72
  customer_id?: number | undefined;
73
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
74
+ connectionId: z.ZodString;
75
+ entityId: z.ZodString;
76
+ instanceId: z.ZodString;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ generic_api_key: z.ZodString;
79
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
80
+ connectionId: z.ZodString;
81
+ entityId: z.ZodString;
82
+ instanceId: z.ZodString;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ generic_api_key: z.ZodString;
85
+ }, z.core.$strip>>]>;
74
86
  //#endregion
75
87
  export { moonclerkListPayments };
76
88
  //# sourceMappingURL=list-payments.d.cts.map
@@ -70,7 +70,19 @@ declare const moonclerkListPayments: import("@keystrokehq/action").WorkflowActio
70
70
  form_id?: number | undefined;
71
71
  date_from?: string | undefined;
72
72
  customer_id?: number | undefined;
73
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
74
+ connectionId: z.ZodString;
75
+ entityId: z.ZodString;
76
+ instanceId: z.ZodString;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ generic_api_key: z.ZodString;
79
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
80
+ connectionId: z.ZodString;
81
+ entityId: z.ZodString;
82
+ instanceId: z.ZodString;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ generic_api_key: z.ZodString;
85
+ }, z.core.$strip>>]>;
74
86
  //#endregion
75
87
  export { moonclerkListPayments };
76
88
  //# sourceMappingURL=list-payments.d.mts.map
@@ -46,7 +46,19 @@ declare const moonclerkListSubscriptions: import("@keystrokehq/action").Workflow
46
46
  form_id?: string | undefined;
47
47
  next_payment_to?: string | undefined;
48
48
  next_payment_from?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>;
50
62
  //#endregion
51
63
  export { moonclerkListSubscriptions };
52
64
  //# sourceMappingURL=list-subscriptions.d.cts.map
@@ -46,7 +46,19 @@ declare const moonclerkListSubscriptions: import("@keystrokehq/action").Workflow
46
46
  form_id?: string | undefined;
47
47
  next_payment_to?: string | undefined;
48
48
  next_payment_from?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moonclerk", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>;
50
62
  //#endregion
51
63
  export { moonclerkListSubscriptions };
52
64
  //# sourceMappingURL=list-subscriptions.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const moonclerk = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const moonclerk = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "moonclerk",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.moonclerk = moonclerk;
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 moonclerk = defineApp({\n slug: \"moonclerk\",\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 moonclerk = defineApp({\n slug: \"moonclerk\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const moonclerk: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const moonclerk: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { moonclerk };
5
13
  //# 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,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const moonclerk: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const moonclerk: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"moonclerk", 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
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { moonclerk };
5
13
  //# 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,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const moonclerk = defineApp({
4
5
  slug: "moonclerk",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { moonclerk };
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 moonclerk = defineApp({\n slug: \"moonclerk\",\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 moonclerk = defineApp({\n slug: \"moonclerk\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/moonclerk",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"