@keystrokehq/payhip 0.1.4 → 0.1.6
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-coupon.cjs +1 -0
- package/dist/actions/create-coupon.cjs.map +1 -1
- package/dist/actions/create-coupon.d.cts +3 -10
- package/dist/actions/create-coupon.d.cts.map +1 -1
- package/dist/actions/create-coupon.d.mts +3 -10
- package/dist/actions/create-coupon.d.mts.map +1 -1
- package/dist/actions/create-coupon.mjs +1 -0
- package/dist/actions/create-coupon.mjs.map +1 -1
- package/dist/actions/delete-coupon.cjs +1 -0
- package/dist/actions/delete-coupon.cjs.map +1 -1
- package/dist/actions/delete-coupon.d.cts +3 -3
- package/dist/actions/delete-coupon.d.cts.map +1 -1
- package/dist/actions/delete-coupon.d.mts +3 -3
- package/dist/actions/delete-coupon.d.mts.map +1 -1
- package/dist/actions/delete-coupon.mjs +1 -0
- package/dist/actions/delete-coupon.mjs.map +1 -1
- package/dist/actions/get-coupon.cjs +1 -0
- package/dist/actions/get-coupon.cjs.map +1 -1
- package/dist/actions/get-coupon.d.cts +3 -3
- package/dist/actions/get-coupon.d.cts.map +1 -1
- package/dist/actions/get-coupon.d.mts +3 -3
- package/dist/actions/get-coupon.d.mts.map +1 -1
- package/dist/actions/get-coupon.mjs +1 -0
- package/dist/actions/get-coupon.mjs.map +1 -1
- package/dist/actions/update-coupon.cjs +1 -0
- package/dist/actions/update-coupon.cjs.map +1 -1
- package/dist/actions/update-coupon.d.cts +3 -8
- package/dist/actions/update-coupon.d.cts.map +1 -1
- package/dist/actions/update-coupon.d.mts +3 -8
- package/dist/actions/update-coupon.d.mts.map +1 -1
- package/dist/actions/update-coupon.mjs +1 -0
- package/dist/actions/update-coupon.mjs.map +1 -1
- package/dist/actions/verify-coupon.cjs +1 -0
- package/dist/actions/verify-coupon.cjs.map +1 -1
- package/dist/actions/verify-coupon.d.cts +3 -3
- package/dist/actions/verify-coupon.d.cts.map +1 -1
- package/dist/actions/verify-coupon.d.mts +3 -3
- package/dist/actions/verify-coupon.d.mts.map +1 -1
- package/dist/actions/verify-coupon.mjs +1 -0
- package/dist/actions/verify-coupon.mjs.map +1 -1
- package/dist/actions/webhook-event-paid.cjs +1 -0
- package/dist/actions/webhook-event-paid.cjs.map +1 -1
- package/dist/actions/webhook-event-paid.d.cts +3 -31
- package/dist/actions/webhook-event-paid.d.cts.map +1 -1
- package/dist/actions/webhook-event-paid.d.mts +3 -31
- package/dist/actions/webhook-event-paid.d.mts.map +1 -1
- package/dist/actions/webhook-event-paid.mjs +1 -0
- package/dist/actions/webhook-event-paid.mjs.map +1 -1
- package/dist/actions/webhook-event-refunded.cjs +1 -0
- package/dist/actions/webhook-event-refunded.cjs.map +1 -1
- package/dist/actions/webhook-event-refunded.d.cts +3 -33
- package/dist/actions/webhook-event-refunded.d.cts.map +1 -1
- package/dist/actions/webhook-event-refunded.d.mts +3 -33
- package/dist/actions/webhook-event-refunded.d.mts.map +1 -1
- package/dist/actions/webhook-event-refunded.mjs +1 -0
- package/dist/actions/webhook-event-refunded.mjs.map +1 -1
- package/dist/actions/webhook-event-subscription-created.cjs +1 -0
- package/dist/actions/webhook-event-subscription-created.cjs.map +1 -1
- package/dist/actions/webhook-event-subscription-created.d.cts +3 -15
- package/dist/actions/webhook-event-subscription-created.d.cts.map +1 -1
- package/dist/actions/webhook-event-subscription-created.d.mts +3 -15
- package/dist/actions/webhook-event-subscription-created.d.mts.map +1 -1
- package/dist/actions/webhook-event-subscription-created.mjs +1 -0
- package/dist/actions/webhook-event-subscription-created.mjs.map +1 -1
- package/dist/actions/webhook-event-subscription-deleted.cjs +1 -0
- package/dist/actions/webhook-event-subscription-deleted.cjs.map +1 -1
- package/dist/actions/webhook-event-subscription-deleted.d.cts +3 -16
- package/dist/actions/webhook-event-subscription-deleted.d.cts.map +1 -1
- package/dist/actions/webhook-event-subscription-deleted.d.mts +3 -16
- package/dist/actions/webhook-event-subscription-deleted.d.mts.map +1 -1
- package/dist/actions/webhook-event-subscription-deleted.mjs +1 -0
- package/dist/actions/webhook-event-subscription-deleted.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { payhip } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/webhook-event-subscription-deleted.d.ts
|
|
@@ -39,22 +41,7 @@ declare const PayhipWebhookEventSubscriptionDeletedOutput: z.ZodObject<{
|
|
|
39
41
|
date_subscription_deleted: z.ZodNullable<z.ZodNumber>;
|
|
40
42
|
date_subscription_started: z.ZodNullable<z.ZodNumber>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const payhipWebhookEventSubscriptionDeleted:
|
|
43
|
-
type: string;
|
|
44
|
-
status: string;
|
|
45
|
-
plan_name: string;
|
|
46
|
-
signature: string;
|
|
47
|
-
customer_id: string;
|
|
48
|
-
gdpr_consent: "Yes" | "No";
|
|
49
|
-
product_link: string;
|
|
50
|
-
product_name: string;
|
|
51
|
-
customer_email: string;
|
|
52
|
-
subscription_id: string;
|
|
53
|
-
customer_last_name: string;
|
|
54
|
-
customer_first_name: string;
|
|
55
|
-
date_subscription_deleted: number;
|
|
56
|
-
date_subscription_started: number;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
|
+
declare const payhipWebhookEventSubscriptionDeleted: AppAction<typeof PayhipWebhookEventSubscriptionDeletedInput, typeof PayhipWebhookEventSubscriptionDeletedOutput, typeof payhip.credential>;
|
|
58
45
|
//#endregion
|
|
59
46
|
export { payhipWebhookEventSubscriptionDeleted };
|
|
60
47
|
//# sourceMappingURL=webhook-event-subscription-deleted.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-event-subscription-deleted.d.mts","names":[],"sources":["../../src/actions/webhook-event-subscription-deleted.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhook-event-subscription-deleted.d.mts","names":[],"sources":["../../src/actions/webhook-event-subscription-deleted.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiB3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-event-subscription-deleted.mjs","names":[],"sources":["../../src/actions/webhook-event-subscription-deleted.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PayhipWebhookEventSubscriptionDeletedInput = z.object({\n type: z.string().describe(\"Event type identifier\"),\n status: z.string().describe(\"Current subscription status; always 'canceled' for this event\"),\n plan_name: z.string().describe(\"Name of the subscription plan\"),\n signature: z.string().describe(\"HMAC SHA-256 signature of the payload using your API key\"),\n customer_id: z.string().describe(\"Unique identifier for the customer\"),\n gdpr_consent: z.enum([\"Yes\", \"No\"]).describe(\"Whether the customer gave GDPR consent ('Yes' or 'No')\"),\n product_link: z.string().describe(\"Payhip product link identifier\"),\n product_name: z.string().describe(\"Name of the product\"),\n customer_email: z.string().describe(\"Customer's email address\"),\n subscription_id: z.string().describe(\"Unique identifier for the subscription\"),\n customer_last_name: z.string().describe(\"Customer's last name\"),\n customer_first_name: z.string().describe(\"Customer's first name\"),\n date_subscription_deleted: z.number().int().describe(\"Unix timestamp when subscription was canceled\"),\n date_subscription_started: z.number().int().describe(\"Unix timestamp when subscription started\"),\n}).describe(\"Request model for Payhip 'subscription.deleted' webhook event.\");\nexport const PayhipWebhookEventSubscriptionDeletedOutput = z.object({\n type: z.string().nullable(),\n status: z.string().nullable(),\n plan_name: z.string().nullable(),\n signature: z.string().nullable(),\n customer_id: z.string().nullable(),\n gdpr_consent: z.enum([\"Yes\", \"No\"]).nullable(),\n product_link: z.string().nullable(),\n product_name: z.string().nullable(),\n customer_email: z.string().nullable(),\n subscription_id: z.string().nullable(),\n customer_last_name: z.string().nullable(),\n customer_first_name: z.string().nullable(),\n date_subscription_deleted: z.number().int().nullable(),\n date_subscription_started: z.number().int().nullable(),\n}).passthrough().describe(\"Response model for Payhip 'subscription.deleted' webhook event.\");\n\nexport const payhipWebhookEventSubscriptionDeleted = action(\"PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_DELETED\", {\n slug: \"payhip-webhook-event-subscription-deleted\",\n name: \"Webhook Event - Subscription Deleted\",\n description: \"Tool to process Payhip's 'subscription.deleted' webhook event. Use when handling a subscription cancellation event from Payhip.\",\n input: PayhipWebhookEventSubscriptionDeletedInput,\n output: PayhipWebhookEventSubscriptionDeletedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhook-event-subscription-deleted.mjs","names":[],"sources":["../../src/actions/webhook-event-subscription-deleted.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { payhip } from \"../app\";\n\nexport const PayhipWebhookEventSubscriptionDeletedInput = z.object({\n type: z.string().describe(\"Event type identifier\"),\n status: z.string().describe(\"Current subscription status; always 'canceled' for this event\"),\n plan_name: z.string().describe(\"Name of the subscription plan\"),\n signature: z.string().describe(\"HMAC SHA-256 signature of the payload using your API key\"),\n customer_id: z.string().describe(\"Unique identifier for the customer\"),\n gdpr_consent: z.enum([\"Yes\", \"No\"]).describe(\"Whether the customer gave GDPR consent ('Yes' or 'No')\"),\n product_link: z.string().describe(\"Payhip product link identifier\"),\n product_name: z.string().describe(\"Name of the product\"),\n customer_email: z.string().describe(\"Customer's email address\"),\n subscription_id: z.string().describe(\"Unique identifier for the subscription\"),\n customer_last_name: z.string().describe(\"Customer's last name\"),\n customer_first_name: z.string().describe(\"Customer's first name\"),\n date_subscription_deleted: z.number().int().describe(\"Unix timestamp when subscription was canceled\"),\n date_subscription_started: z.number().int().describe(\"Unix timestamp when subscription started\"),\n}).describe(\"Request model for Payhip 'subscription.deleted' webhook event.\");\nexport const PayhipWebhookEventSubscriptionDeletedOutput = z.object({\n type: z.string().nullable(),\n status: z.string().nullable(),\n plan_name: z.string().nullable(),\n signature: z.string().nullable(),\n customer_id: z.string().nullable(),\n gdpr_consent: z.enum([\"Yes\", \"No\"]).nullable(),\n product_link: z.string().nullable(),\n product_name: z.string().nullable(),\n customer_email: z.string().nullable(),\n subscription_id: z.string().nullable(),\n customer_last_name: z.string().nullable(),\n customer_first_name: z.string().nullable(),\n date_subscription_deleted: z.number().int().nullable(),\n date_subscription_started: z.number().int().nullable(),\n}).passthrough().describe(\"Response model for Payhip 'subscription.deleted' webhook event.\");\n\nexport const payhipWebhookEventSubscriptionDeleted: AppAction<\n typeof PayhipWebhookEventSubscriptionDeletedInput,\n typeof PayhipWebhookEventSubscriptionDeletedOutput,\n typeof payhip.credential\n> = action(\"PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_DELETED\", {\n slug: \"payhip-webhook-event-subscription-deleted\",\n name: \"Webhook Event - Subscription Deleted\",\n description: \"Tool to process Payhip's 'subscription.deleted' webhook event. Use when handling a subscription cancellation event from Payhip.\",\n input: PayhipWebhookEventSubscriptionDeletedInput,\n output: PayhipWebhookEventSubscriptionDeletedOutput,\n});\n"],"mappings":";;;AAuCA,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzCwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACrE,cAAc,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACvD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAC9D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC9D,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChE,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EACpG,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACjG,CAAC,CAAC,CAAC,SAAS,gEA0BH;CACP,QA1ByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS;EAC/B,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS;EAC/B,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS;EACjC,cAAc,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS;EAC7C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;EAClC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;EAClC,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS;EACpC,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS;EACrC,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS;EACxC,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS;EACzC,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;EACrD,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const payhip = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "payhip",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
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,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const payhip: KeystrokeApp<\"payhip\", typeof credential> = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const payhip: KeystrokeApp<"payhip", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { payhip };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const payhip: KeystrokeApp<"payhip", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { payhip };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const payhip = defineApp({
|
|
4
4
|
slug: "payhip",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
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":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const payhip: KeystrokeApp<\"payhip\", typeof credential> = defineApp({\n slug: \"payhip\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { payhip } from "./app.cjs";
|
|
1
2
|
import { payhipCreateCoupon } from "./actions/create-coupon.cjs";
|
|
2
3
|
import { payhipDeleteCoupon } from "./actions/delete-coupon.cjs";
|
|
3
4
|
import { payhipGetCoupon } from "./actions/get-coupon.cjs";
|
|
@@ -7,6 +8,5 @@ import { payhipWebhookEventPaid } from "./actions/webhook-event-paid.cjs";
|
|
|
7
8
|
import { payhipWebhookEventRefunded } from "./actions/webhook-event-refunded.cjs";
|
|
8
9
|
import { payhipWebhookEventSubscriptionCreated } from "./actions/webhook-event-subscription-created.cjs";
|
|
9
10
|
import { payhipWebhookEventSubscriptionDeleted } from "./actions/webhook-event-subscription-deleted.cjs";
|
|
10
|
-
import { payhip } from "./app.cjs";
|
|
11
11
|
import { payhipCatalog } from "./catalog.cjs";
|
|
12
12
|
export { payhip, payhipCatalog, payhipCreateCoupon, payhipDeleteCoupon, payhipGetCoupon, payhipUpdateCoupon, payhipVerifyCoupon, payhipWebhookEventPaid, payhipWebhookEventRefunded, payhipWebhookEventSubscriptionCreated, payhipWebhookEventSubscriptionDeleted };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { payhip } from "./app.mjs";
|
|
1
2
|
import { payhipCreateCoupon } from "./actions/create-coupon.mjs";
|
|
2
3
|
import { payhipDeleteCoupon } from "./actions/delete-coupon.mjs";
|
|
3
4
|
import { payhipGetCoupon } from "./actions/get-coupon.mjs";
|
|
@@ -7,6 +8,5 @@ import { payhipWebhookEventPaid } from "./actions/webhook-event-paid.mjs";
|
|
|
7
8
|
import { payhipWebhookEventRefunded } from "./actions/webhook-event-refunded.mjs";
|
|
8
9
|
import { payhipWebhookEventSubscriptionCreated } from "./actions/webhook-event-subscription-created.mjs";
|
|
9
10
|
import { payhipWebhookEventSubscriptionDeleted } from "./actions/webhook-event-subscription-deleted.mjs";
|
|
10
|
-
import { payhip } from "./app.mjs";
|
|
11
11
|
import { payhipCatalog } from "./catalog.mjs";
|
|
12
12
|
export { payhip, payhipCatalog, payhipCreateCoupon, payhipDeleteCoupon, payhipGetCoupon, payhipUpdateCoupon, payhipVerifyCoupon, payhipWebhookEventPaid, payhipWebhookEventRefunded, payhipWebhookEventSubscriptionCreated, payhipWebhookEventSubscriptionDeleted };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/payhip",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|