@keystrokehq/payhip 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.
@@ -40,7 +40,19 @@ declare const payhipCreateCoupon: import("@keystrokehq/action").WorkflowActionDe
40
40
  product_key?: string | undefined;
41
41
  usage_limit?: number | undefined;
42
42
  collection_id?: 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<"payhip", 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<"payhip", 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 { payhipCreateCoupon };
46
58
  //# sourceMappingURL=create-coupon.d.cts.map
@@ -40,7 +40,19 @@ declare const payhipCreateCoupon: import("@keystrokehq/action").WorkflowActionDe
40
40
  product_key?: string | undefined;
41
41
  usage_limit?: number | undefined;
42
42
  collection_id?: 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<"payhip", 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<"payhip", 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 { payhipCreateCoupon };
46
58
  //# sourceMappingURL=create-coupon.d.mts.map
@@ -17,7 +17,19 @@ declare const PayhipDeleteCouponOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const payhipDeleteCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { payhipDeleteCoupon };
23
35
  //# sourceMappingURL=delete-coupon.d.cts.map
@@ -17,7 +17,19 @@ declare const PayhipDeleteCouponOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const payhipDeleteCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { payhipDeleteCoupon };
23
35
  //# sourceMappingURL=delete-coupon.d.mts.map
@@ -22,7 +22,19 @@ declare const PayhipGetCouponOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const payhipGetCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  id: number;
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<"payhip", 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<"payhip", 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 { payhipGetCoupon };
28
40
  //# sourceMappingURL=get-coupon.d.cts.map
@@ -22,7 +22,19 @@ declare const PayhipGetCouponOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const payhipGetCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  id: number;
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<"payhip", 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<"payhip", 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 { payhipGetCoupon };
28
40
  //# sourceMappingURL=get-coupon.d.mts.map
@@ -28,7 +28,19 @@ declare const payhipUpdateCoupon: import("@keystrokehq/action").WorkflowActionDe
28
28
  expiry?: string | undefined;
29
29
  percentage?: string | undefined;
30
30
  product_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
32
44
  //#endregion
33
45
  export { payhipUpdateCoupon };
34
46
  //# sourceMappingURL=update-coupon.d.cts.map
@@ -28,7 +28,19 @@ declare const payhipUpdateCoupon: import("@keystrokehq/action").WorkflowActionDe
28
28
  expiry?: string | undefined;
29
29
  percentage?: string | undefined;
30
30
  product_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
32
44
  //#endregion
33
45
  export { payhipUpdateCoupon };
34
46
  //# sourceMappingURL=update-coupon.d.mts.map
@@ -20,7 +20,19 @@ declare const PayhipVerifyCouponOutput: z.ZodObject<{
20
20
  }, z.core.$loose>;
21
21
  declare const payhipVerifyCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  code: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", 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
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>;
24
36
  //#endregion
25
37
  export { payhipVerifyCoupon };
26
38
  //# sourceMappingURL=verify-coupon.d.cts.map
@@ -20,7 +20,19 @@ declare const PayhipVerifyCouponOutput: z.ZodObject<{
20
20
  }, z.core.$loose>;
21
21
  declare const payhipVerifyCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  code: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", 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
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>;
24
36
  //#endregion
25
37
  export { payhipVerifyCoupon };
26
38
  //# sourceMappingURL=verify-coupon.d.mts.map
@@ -97,7 +97,19 @@ declare const payhipWebhookEventPaid: import("@keystrokehq/action").WorkflowActi
97
97
  vat_applied: boolean;
98
98
  payment_type: "card" | "paypal";
99
99
  unconsented_from_emails: boolean;
100
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>;
101
113
  //#endregion
102
114
  export { payhipWebhookEventPaid };
103
115
  //# sourceMappingURL=webhook-event-paid.d.cts.map
@@ -97,7 +97,19 @@ declare const payhipWebhookEventPaid: import("@keystrokehq/action").WorkflowActi
97
97
  vat_applied: boolean;
98
98
  payment_type: "card" | "paypal";
99
99
  unconsented_from_emails: boolean;
100
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>;
101
113
  //#endregion
102
114
  export { payhipWebhookEventPaid };
103
115
  //# sourceMappingURL=webhook-event-paid.d.mts.map
@@ -97,7 +97,19 @@ declare const payhipWebhookEventRefunded: import("@keystrokehq/action").Workflow
97
97
  date_refunded: number;
98
98
  amount_refunded: number;
99
99
  unconsented_from_emails: boolean;
100
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>;
101
113
  //#endregion
102
114
  export { payhipWebhookEventRefunded };
103
115
  //# sourceMappingURL=webhook-event-refunded.d.cts.map
@@ -97,7 +97,19 @@ declare const payhipWebhookEventRefunded: import("@keystrokehq/action").Workflow
97
97
  date_refunded: number;
98
98
  amount_refunded: number;
99
99
  unconsented_from_emails: boolean;
100
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>;
101
113
  //#endregion
102
114
  export { payhipWebhookEventRefunded };
103
115
  //# sourceMappingURL=webhook-event-refunded.d.mts.map
@@ -51,7 +51,19 @@ declare const payhipWebhookEventSubscriptionCreated: import("@keystrokehq/action
51
51
  customer_last_name: string;
52
52
  customer_first_name: string;
53
53
  date_subscription_started: number;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { payhipWebhookEventSubscriptionCreated };
57
69
  //# sourceMappingURL=webhook-event-subscription-created.d.cts.map
@@ -51,7 +51,19 @@ declare const payhipWebhookEventSubscriptionCreated: import("@keystrokehq/action
51
51
  customer_last_name: string;
52
52
  customer_first_name: string;
53
53
  date_subscription_started: number;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_api_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { payhipWebhookEventSubscriptionCreated };
57
69
  //# sourceMappingURL=webhook-event-subscription-created.d.mts.map
@@ -54,7 +54,19 @@ declare const payhipWebhookEventSubscriptionDeleted: import("@keystrokehq/action
54
54
  customer_first_name: string;
55
55
  date_subscription_deleted: number;
56
56
  date_subscription_started: number;
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<"payhip", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
58
70
  //#endregion
59
71
  export { payhipWebhookEventSubscriptionDeleted };
60
72
  //# sourceMappingURL=webhook-event-subscription-deleted.d.cts.map
@@ -54,7 +54,19 @@ declare const payhipWebhookEventSubscriptionDeleted: import("@keystrokehq/action
54
54
  customer_first_name: string;
55
55
  date_subscription_deleted: number;
56
56
  date_subscription_started: number;
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<"payhip", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"payhip", z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ entityId: z.ZodString;
66
+ instanceId: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ generic_api_key: z.ZodString;
69
+ }, z.core.$strip>>]>;
58
70
  //#endregion
59
71
  export { payhipWebhookEventSubscriptionDeleted };
60
72
  //# sourceMappingURL=webhook-event-subscription-deleted.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 payhip = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const payhip = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "payhip",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.payhip = payhip;
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 payhip = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,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 payhip = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,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 payhip: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const payhip: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"payhip", 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 { payhip };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,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 payhip: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const payhip: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"payhip", 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 { payhip };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,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 payhip = defineApp({
4
5
  slug: "payhip",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { payhip };
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 payhip = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,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 payhip = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const payhipCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/payhip",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Payhip API Key",
13
13
  "secret": true,
14
14
  "description": "Your Payhip API key, found in your account's Developer settings."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhipCatalog = {\n \"slug\": \"payhip\",\n \"name\": \"Payhip\",\n \"description\": \"Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhip\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Payhip API Key\",\n \"secret\": true,\n \"description\": \"Your Payhip API key, found in your account's Developer settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;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 payhipCatalog = {\n \"slug\": \"payhip\",\n \"name\": \"Payhip\",\n \"description\": \"Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhip\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Payhip API Key\",\n \"secret\": true,\n \"description\": \"Your Payhip API key, found in your account's Developer settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const payhipCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Payhip API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Payhip API key, found in your account's Developer settings.";
@@ -9,7 +9,7 @@ declare const payhipCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Payhip API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Payhip API key, found in your account's Developer settings.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const payhipCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/payhip",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Payhip API Key",
13
13
  "secret": true,
14
14
  "description": "Your Payhip API key, found in your account's Developer settings."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const payhipCatalog = {\n \"slug\": \"payhip\",\n \"name\": \"Payhip\",\n \"description\": \"Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhip\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Payhip API Key\",\n \"secret\": true,\n \"description\": \"Your Payhip API key, found in your account's Developer settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;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 payhipCatalog = {\n \"slug\": \"payhip\",\n \"name\": \"Payhip\",\n \"description\": \"Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/payhip\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Payhip API Key\",\n \"secret\": true,\n \"description\": \"Your Payhip API key, found in your account's Developer settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/payhip",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"