@keystrokehq/payhere 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.
Files changed (49) hide show
  1. package/dist/actions/create-hook.d.cts +15 -1
  2. package/dist/actions/create-hook.d.mts +15 -1
  3. package/dist/actions/create-plan.d.cts +15 -1
  4. package/dist/actions/create-plan.d.mts +15 -1
  5. package/dist/actions/delete-hook.d.cts +15 -1
  6. package/dist/actions/delete-hook.d.mts +15 -1
  7. package/dist/actions/get-current-company-stats.d.cts +15 -1
  8. package/dist/actions/get-current-company-stats.d.cts.map +1 -1
  9. package/dist/actions/get-current-company-stats.d.mts +15 -1
  10. package/dist/actions/get-current-company-stats.d.mts.map +1 -1
  11. package/dist/actions/get-current-company.d.cts +15 -1
  12. package/dist/actions/get-current-company.d.cts.map +1 -1
  13. package/dist/actions/get-current-company.d.mts +15 -1
  14. package/dist/actions/get-current-company.d.mts.map +1 -1
  15. package/dist/actions/get-user.d.cts +15 -1
  16. package/dist/actions/get-user.d.cts.map +1 -1
  17. package/dist/actions/get-user.d.mts +15 -1
  18. package/dist/actions/get-user.d.mts.map +1 -1
  19. package/dist/actions/list-customers.d.cts +15 -1
  20. package/dist/actions/list-customers.d.mts +15 -1
  21. package/dist/actions/list-hooks.d.cts +15 -1
  22. package/dist/actions/list-hooks.d.cts.map +1 -1
  23. package/dist/actions/list-hooks.d.mts +15 -1
  24. package/dist/actions/list-hooks.d.mts.map +1 -1
  25. package/dist/actions/list-payments.d.cts +15 -1
  26. package/dist/actions/list-payments.d.mts +15 -1
  27. package/dist/actions/list-plans.d.cts +15 -1
  28. package/dist/actions/list-plans.d.mts +15 -1
  29. package/dist/actions/list-subscriptions.d.cts +15 -1
  30. package/dist/actions/list-subscriptions.d.mts +15 -1
  31. package/dist/actions/update-current-company.d.cts +15 -1
  32. package/dist/actions/update-current-company.d.mts +15 -1
  33. package/dist/actions/update-plan.d.cts +15 -1
  34. package/dist/actions/update-plan.d.mts +15 -1
  35. package/dist/app.cjs +8 -2
  36. package/dist/app.cjs.map +1 -1
  37. package/dist/app.d.cts +10 -1
  38. package/dist/app.d.cts.map +1 -1
  39. package/dist/app.d.mts +10 -1
  40. package/dist/app.d.mts.map +1 -1
  41. package/dist/app.mjs +6 -1
  42. package/dist/app.mjs.map +1 -1
  43. package/dist/catalog.cjs +2 -2
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +2 -2
  46. package/dist/catalog.d.mts +2 -2
  47. package/dist/catalog.mjs +2 -2
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +1 -1
@@ -26,7 +26,21 @@ declare const payhereCreateHook: import("@keystrokehq/action").WorkflowActionDef
26
26
  post_url: string;
27
27
  resource: "payment_received" | "subscription_cancelled" | "subscription_created";
28
28
  integration: string;
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<"payhere", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ subdomain: z.ZodString;
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { payhereCreateHook };
32
46
  //# sourceMappingURL=create-hook.d.cts.map
@@ -26,7 +26,21 @@ declare const payhereCreateHook: import("@keystrokehq/action").WorkflowActionDef
26
26
  post_url: string;
27
27
  resource: "payment_received" | "subscription_cancelled" | "subscription_created";
28
28
  integration: string;
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<"payhere", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ subdomain: z.ZodString;
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { payhereCreateHook };
32
46
  //# sourceMappingURL=create-hook.d.mts.map
@@ -80,7 +80,21 @@ declare const payhereCreatePlan: import("@keystrokehq/action").WorkflowActionDef
80
80
  billing_interval?: "week" | "month" | "year" | undefined;
81
81
  min_billing_cycles?: number | undefined;
82
82
  user_selects_amount?: boolean | undefined;
83
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
83
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
84
+ connectionId: z.ZodString;
85
+ entityId: z.ZodString;
86
+ instanceId: z.ZodString;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ subdomain: z.ZodString;
89
+ generic_api_key: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ subdomain: z.ZodString;
96
+ generic_api_key: z.ZodString;
97
+ }, z.core.$strip>>]>;
84
98
  //#endregion
85
99
  export { payhereCreatePlan };
86
100
  //# sourceMappingURL=create-plan.d.cts.map
@@ -80,7 +80,21 @@ declare const payhereCreatePlan: import("@keystrokehq/action").WorkflowActionDef
80
80
  billing_interval?: "week" | "month" | "year" | undefined;
81
81
  min_billing_cycles?: number | undefined;
82
82
  user_selects_amount?: boolean | undefined;
83
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
83
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
84
+ connectionId: z.ZodString;
85
+ entityId: z.ZodString;
86
+ instanceId: z.ZodString;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ subdomain: z.ZodString;
89
+ generic_api_key: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ subdomain: z.ZodString;
96
+ generic_api_key: z.ZodString;
97
+ }, z.core.$strip>>]>;
84
98
  //#endregion
85
99
  export { payhereCreatePlan };
86
100
  //# sourceMappingURL=create-plan.d.mts.map
@@ -10,7 +10,21 @@ declare const PayhereDeleteHookOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const payhereDeleteHook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  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<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereDeleteHook };
16
30
  //# sourceMappingURL=delete-hook.d.cts.map
@@ -10,7 +10,21 @@ declare const PayhereDeleteHookOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const payhereDeleteHook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  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<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereDeleteHook };
16
30
  //# sourceMappingURL=delete-hook.d.mts.map
@@ -10,7 +10,21 @@ declare const PayhereGetCurrentCompanyStatsOutput: z.ZodObject<{
10
10
  subscribers_last_30: z.ZodNullable<z.ZodNumber>;
11
11
  subscribers_comparison: z.ZodNullable<z.ZodNumber>;
12
12
  }, z.core.$loose>;
13
- declare const payhereGetCurrentCompanyStats: 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 payhereGetCurrentCompanyStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereGetCurrentCompanyStats };
16
30
  //# sourceMappingURL=get-current-company-stats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-company-stats.d.cts","names":[],"sources":["../../src/actions/get-current-company-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cASnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-company-stats.d.cts","names":[],"sources":["../../src/actions/get-current-company-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cASnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -10,7 +10,21 @@ declare const PayhereGetCurrentCompanyStatsOutput: z.ZodObject<{
10
10
  subscribers_last_30: z.ZodNullable<z.ZodNumber>;
11
11
  subscribers_comparison: z.ZodNullable<z.ZodNumber>;
12
12
  }, z.core.$loose>;
13
- declare const payhereGetCurrentCompanyStats: 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 payhereGetCurrentCompanyStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereGetCurrentCompanyStats };
16
30
  //# sourceMappingURL=get-current-company-stats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-company-stats.d.mts","names":[],"sources":["../../src/actions/get-current-company-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cASnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-company-stats.d.mts","names":[],"sources":["../../src/actions/get-current-company-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cASnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -26,7 +26,21 @@ declare const PayhereGetCurrentCompanyOutput: z.ZodObject<{
26
26
  subscription_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  gocardless_connected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
28
  }, z.core.$loose>;
29
- declare const payhereGetCurrentCompany: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const payhereGetCurrentCompany: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ subdomain: z.ZodString;
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { payhereGetCurrentCompany };
32
46
  //# sourceMappingURL=get-current-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-company.d.cts","names":[],"sources":["../../src/actions/get-current-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-company.d.cts","names":[],"sources":["../../src/actions/get-current-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -26,7 +26,21 @@ declare const PayhereGetCurrentCompanyOutput: z.ZodObject<{
26
26
  subscription_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  gocardless_connected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
28
  }, z.core.$loose>;
29
- declare const payhereGetCurrentCompany: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const payhereGetCurrentCompany: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ subdomain: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ subdomain: z.ZodString;
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
30
44
  //#endregion
31
45
  export { payhereGetCurrentCompany };
32
46
  //# sourceMappingURL=get-current-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-company.d.mts","names":[],"sources":["../../src/actions/get-current-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-company.d.mts","names":[],"sources":["../../src/actions/get-current-company.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAoB9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -10,7 +10,21 @@ declare const PayhereGetUserOutput: z.ZodObject<{
10
10
  updated_at: z.ZodNullable<z.ZodString>;
11
11
  display_name: z.ZodNullable<z.ZodString>;
12
12
  }, z.core.$loose>;
13
- declare const payhereGetUser: 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 payhereGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereGetUser };
16
30
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cASpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cASpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -10,7 +10,21 @@ declare const PayhereGetUserOutput: z.ZodObject<{
10
10
  updated_at: z.ZodNullable<z.ZodString>;
11
11
  display_name: z.ZodNullable<z.ZodString>;
12
12
  }, z.core.$loose>;
13
- declare const payhereGetUser: 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 payhereGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
14
28
  //#endregion
15
29
  export { payhereGetUser };
16
30
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cASpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cASpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -27,7 +27,21 @@ declare const PayhereListCustomersOutput: z.ZodObject<{
27
27
  declare const payhereListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  page?: number | undefined;
29
29
  per_page?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ subdomain: z.ZodString;
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ subdomain: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>;
31
45
  //#endregion
32
46
  export { payhereListCustomers };
33
47
  //# sourceMappingURL=list-customers.d.cts.map
@@ -27,7 +27,21 @@ declare const PayhereListCustomersOutput: z.ZodObject<{
27
27
  declare const payhereListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  page?: number | undefined;
29
29
  per_page?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ subdomain: z.ZodString;
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ subdomain: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>;
31
45
  //#endregion
32
46
  export { payhereListCustomers };
33
47
  //# sourceMappingURL=list-customers.d.mts.map
@@ -14,7 +14,21 @@ declare const PayhereListHooksOutput: z.ZodObject<{
14
14
  integration: z.ZodNullable<z.ZodString>;
15
15
  }, z.core.$loose>>;
16
16
  }, z.core.$loose>;
17
- declare const payhereListHooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const payhereListHooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ subdomain: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { payhereListHooks };
20
34
  //# sourceMappingURL=list-hooks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-hooks.d.cts","names":[],"sources":["../../src/actions/list-hooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-hooks.d.cts","names":[],"sources":["../../src/actions/list-hooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -14,7 +14,21 @@ declare const PayhereListHooksOutput: z.ZodObject<{
14
14
  integration: z.ZodNullable<z.ZodString>;
15
15
  }, z.core.$loose>>;
16
16
  }, z.core.$loose>;
17
- declare const payhereListHooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const payhereListHooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ subdomain: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ subdomain: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { payhereListHooks };
20
34
  //# sourceMappingURL=list-hooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-hooks.d.mts","names":[],"sources":["../../src/actions/list-hooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-hooks.d.mts","names":[],"sources":["../../src/actions/list-hooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -36,7 +36,21 @@ declare const PayhereListPaymentsOutput: z.ZodObject<{
36
36
  declare const payhereListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  page?: number | undefined;
38
38
  per_page?: number | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ subdomain: z.ZodString;
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ subdomain: z.ZodString;
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
40
54
  //#endregion
41
55
  export { payhereListPayments };
42
56
  //# sourceMappingURL=list-payments.d.cts.map
@@ -36,7 +36,21 @@ declare const PayhereListPaymentsOutput: z.ZodObject<{
36
36
  declare const payhereListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  page?: number | undefined;
38
38
  per_page?: number | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ subdomain: z.ZodString;
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ subdomain: z.ZodString;
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
40
54
  //#endregion
41
55
  export { payhereListPayments };
42
56
  //# sourceMappingURL=list-payments.d.mts.map
@@ -48,7 +48,21 @@ declare const PayhereListPlansOutput: z.ZodObject<{
48
48
  declare const payhereListPlans: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  page?: number | undefined;
50
50
  per_page?: number | 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<"payhere", 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
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>;
52
66
  //#endregion
53
67
  export { payhereListPlans };
54
68
  //# sourceMappingURL=list-plans.d.cts.map
@@ -48,7 +48,21 @@ declare const PayhereListPlansOutput: z.ZodObject<{
48
48
  declare const payhereListPlans: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  page?: number | undefined;
50
50
  per_page?: number | 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<"payhere", 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
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>;
52
66
  //#endregion
53
67
  export { payhereListPlans };
54
68
  //# sourceMappingURL=list-plans.d.mts.map
@@ -44,7 +44,21 @@ declare const PayhereListSubscriptionsOutput: z.ZodObject<{
44
44
  declare const payhereListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  page?: number | undefined;
46
46
  per_page?: number | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ subdomain: z.ZodString;
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ subdomain: z.ZodString;
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>;
48
62
  //#endregion
49
63
  export { payhereListSubscriptions };
50
64
  //# sourceMappingURL=list-subscriptions.d.cts.map
@@ -44,7 +44,21 @@ declare const PayhereListSubscriptionsOutput: z.ZodObject<{
44
44
  declare const payhereListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  page?: number | undefined;
46
46
  per_page?: number | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ subdomain: z.ZodString;
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ subdomain: z.ZodString;
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>;
48
62
  //#endregion
49
63
  export { payhereListSubscriptions };
50
64
  //# sourceMappingURL=list-subscriptions.d.mts.map
@@ -52,7 +52,21 @@ declare const payhereUpdateCurrentCompany: import("@keystrokehq/action").Workflo
52
52
  button_text?: string | undefined;
53
53
  button_color?: string | undefined;
54
54
  support_email?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ subdomain: z.ZodString;
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { payhereUpdateCurrentCompany };
58
72
  //# sourceMappingURL=update-current-company.d.cts.map
@@ -52,7 +52,21 @@ declare const payhereUpdateCurrentCompany: import("@keystrokehq/action").Workflo
52
52
  button_text?: string | undefined;
53
53
  button_color?: string | undefined;
54
54
  support_email?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ subdomain: z.ZodString;
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ subdomain: z.ZodString;
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { payhereUpdateCurrentCompany };
58
72
  //# sourceMappingURL=update-current-company.d.mts.map
@@ -54,7 +54,21 @@ declare const payhereUpdatePlan: import("@keystrokehq/action").WorkflowActionDef
54
54
  receipt_text?: string | undefined;
55
55
  pay_button_text?: string | undefined;
56
56
  min_billing_cycles?: number | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ subdomain: z.ZodString;
63
+ generic_api_key: z.ZodString;
64
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
65
+ connectionId: z.ZodString;
66
+ entityId: z.ZodString;
67
+ instanceId: z.ZodString;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ subdomain: z.ZodString;
70
+ generic_api_key: z.ZodString;
71
+ }, z.core.$strip>>]>;
58
72
  //#endregion
59
73
  export { payhereUpdatePlan };
60
74
  //# sourceMappingURL=update-plan.d.cts.map
@@ -54,7 +54,21 @@ declare const payhereUpdatePlan: import("@keystrokehq/action").WorkflowActionDef
54
54
  receipt_text?: string | undefined;
55
55
  pay_button_text?: string | undefined;
56
56
  min_billing_cycles?: number | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ subdomain: z.ZodString;
63
+ generic_api_key: z.ZodString;
64
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhere", z.ZodObject<{
65
+ connectionId: z.ZodString;
66
+ entityId: z.ZodString;
67
+ instanceId: z.ZodString;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ subdomain: z.ZodString;
70
+ generic_api_key: z.ZodString;
71
+ }, z.core.$strip>>]>;
58
72
  //#endregion
59
73
  export { payhereUpdatePlan };
60
74
  //# sourceMappingURL=update-plan.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 payhere = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const payhere = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "payhere",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: zod.z.string(),
9
+ generic_api_key: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.payhere = payhere;
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 payhere = defineApp({\n slug: \"payhere\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,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 payhere = defineApp({\n slug: \"payhere\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;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 payhere: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const payhere: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { payhere };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,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 payhere: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const payhere: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"payhere", 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
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { payhere };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,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 payhere = defineApp({
4
5
  slug: "payhere",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: z.string(),
9
+ generic_api_key: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { payhere };
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 payhere = defineApp({\n slug: \"payhere\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,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 payhere = defineApp({\n slug: \"payhere\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -9,12 +9,12 @@ const payhereCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "environment": {
12
+ "subdomain": {
13
13
  "label": "Environment",
14
14
  "description": "Select \"api\" for production or \"sandbox\" for testing",
15
15
  "default": "api"
16
16
  },
17
- "api_key": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"environment\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,eAAe;GACb,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,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 payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,12 +9,12 @@ declare const payhereCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly environment: {
12
+ readonly subdomain: {
13
13
  readonly label: "Environment";
14
14
  readonly description: "Select \"api\" for production or \"sandbox\" for testing";
15
15
  readonly default: "api";
16
16
  };
17
- readonly api_key: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)";
@@ -9,12 +9,12 @@ declare const payhereCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly environment: {
12
+ readonly subdomain: {
13
13
  readonly label: "Environment";
14
14
  readonly description: "Select \"api\" for production or \"sandbox\" for testing";
15
15
  readonly default: "api";
16
16
  };
17
- readonly api_key: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)";
package/dist/catalog.mjs CHANGED
@@ -9,12 +9,12 @@ const payhereCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "environment": {
12
+ "subdomain": {
13
13
  "label": "Environment",
14
14
  "description": "Select \"api\" for production or \"sandbox\" for testing",
15
15
  "default": "api"
16
16
  },
17
- "api_key": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)"
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"environment\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,eAAe;GACb,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,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 payhereCatalog = {\n \"slug\": \"payhere\",\n \"name\": \"Payhere\",\n \"description\": \"Easy payment links for accepting online payments\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhere\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Environment\",\n \"description\": \"Select \\\"api\\\" for production or \\\"sandbox\\\" for testing\",\n \"default\": \"api\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Payhere API key. Find it in the integrations section of the merchants admin (https://app.payhere.co/merchants/integrations for production, https://sandbox.payhere.co/merchants/integrations for sandbox)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/payhere",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"