@forklaunch/implementation-billing-stripe 1.1.22 → 1.1.23
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/lib/domain/schemas/index.d.mts +34 -31
- package/lib/domain/schemas/index.d.ts +34 -31
- package/lib/domain/schemas/index.js +3 -1
- package/lib/domain/schemas/index.mjs +3 -1
- package/lib/domain/types/index.d.mts +63 -138
- package/lib/domain/types/index.d.ts +63 -138
- package/lib/eject/domain/schemas/paymentLink.schema.ts +6 -6
- package/lib/eject/domain/schemas/plan.schema.ts +8 -6
- package/lib/eject/domain/schemas/subscription.schema.ts +12 -6
- package/lib/eject/domain/types/stripe.dto.types.ts +62 -15
- package/lib/services/index.d.mts +17 -16
- package/lib/services/index.d.ts +17 -16
- package/lib/services/index.js +5 -0
- package/lib/services/index.mjs +5 -0
- package/lib/stripe.dto.types-62tPCNUc.d.mts +111 -0
- package/lib/stripe.dto.types-BnAQ5iRQ.d.ts +111 -0
- package/package.json +10 -10
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { BillingPortalDto, CreateBillingPortalDto, UpdateBillingPortalDto, CheckoutSessionDto, CreateCheckoutSessionDto, UpdateCheckoutSessionDto, PaymentLinkDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, PlanDto, CreatePlanDto, UpdatePlanDto, SubscriptionDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
2
|
+
import Stripe from 'stripe';
|
|
3
|
+
import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from './domain/enum/index.mjs';
|
|
4
|
+
|
|
5
|
+
type UnwrapStripeResponse<T> = T extends Promise<infer R> ? R extends {
|
|
6
|
+
lastResponse?: unknown;
|
|
7
|
+
} ? Omit<R, 'lastResponse'> : R : never;
|
|
8
|
+
interface StripeBillingPortalSessionCreateParams extends NonNullable<Parameters<Stripe['billingPortal']['sessions']['create']>[0]> {
|
|
9
|
+
}
|
|
10
|
+
interface StripeBillingPortalSession extends UnwrapStripeResponse<ReturnType<Stripe['billingPortal']['sessions']['create']>> {
|
|
11
|
+
}
|
|
12
|
+
interface StripeCheckoutSessionCreateParams extends NonNullable<Parameters<Stripe['checkout']['sessions']['create']>[0]> {
|
|
13
|
+
}
|
|
14
|
+
interface StripeCheckoutSession extends UnwrapStripeResponse<ReturnType<Stripe['checkout']['sessions']['create']>> {
|
|
15
|
+
}
|
|
16
|
+
interface StripePaymentLinkCreateParams extends NonNullable<Parameters<Stripe['paymentLinks']['create']>[0]> {
|
|
17
|
+
}
|
|
18
|
+
interface StripePaymentLinkUpdateParams extends NonNullable<Parameters<Stripe['paymentLinks']['update']>[1]> {
|
|
19
|
+
}
|
|
20
|
+
interface StripePaymentLink extends UnwrapStripeResponse<ReturnType<Stripe['paymentLinks']['create']>> {
|
|
21
|
+
}
|
|
22
|
+
interface StripePlanCreateParams extends NonNullable<Parameters<Stripe['plans']['create']>[0]> {
|
|
23
|
+
}
|
|
24
|
+
interface StripePlanUpdateParams extends NonNullable<Parameters<Stripe['plans']['update']>[1]> {
|
|
25
|
+
}
|
|
26
|
+
interface StripeProduct extends UnwrapStripeResponse<ReturnType<Stripe['products']['create']>> {
|
|
27
|
+
}
|
|
28
|
+
interface StripeSubscriptionCreateParams extends NonNullable<Parameters<Stripe['subscriptions']['create']>[0]> {
|
|
29
|
+
}
|
|
30
|
+
interface StripeSubscriptionUpdateParams extends NonNullable<Parameters<Stripe['subscriptions']['update']>[1]> {
|
|
31
|
+
}
|
|
32
|
+
interface StripeSubscription extends UnwrapStripeResponse<ReturnType<Stripe['subscriptions']['create']>> {
|
|
33
|
+
}
|
|
34
|
+
type BillingPortalOmissions = 'customer';
|
|
35
|
+
type StripeCreateBillingPortalDto = Omit<CreateBillingPortalDto, 'providerFields'> & {
|
|
36
|
+
stripeFields: Omit<StripeBillingPortalSessionCreateParams, BillingPortalOmissions>;
|
|
37
|
+
};
|
|
38
|
+
type StripeUpdateBillingPortalDto = Omit<UpdateBillingPortalDto, 'providerFields'> & {
|
|
39
|
+
stripeFields?: Omit<StripeBillingPortalSessionCreateParams, BillingPortalOmissions>;
|
|
40
|
+
};
|
|
41
|
+
type StripeBillingPortalDto = Omit<BillingPortalDto, 'providerFields'> & {
|
|
42
|
+
stripeFields: StripeBillingPortalSession;
|
|
43
|
+
};
|
|
44
|
+
type StripeBillingPortalDtos = {
|
|
45
|
+
BillingPortalMapper: StripeBillingPortalDto;
|
|
46
|
+
CreateBillingPortalMapper: StripeCreateBillingPortalDto;
|
|
47
|
+
UpdateBillingPortalMapper: StripeUpdateBillingPortalDto;
|
|
48
|
+
};
|
|
49
|
+
type CheckoutSessionOmissions = 'payment_method_types' | 'currency' | 'success_url' | 'cancel_url';
|
|
50
|
+
type StripeCreateCheckoutSessionDto<StatusEnum> = Omit<CreateCheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields' | 'uri'> & {
|
|
51
|
+
uri: string;
|
|
52
|
+
stripeFields: Omit<StripeCheckoutSessionCreateParams, CheckoutSessionOmissions>;
|
|
53
|
+
};
|
|
54
|
+
type StripeUpdateCheckoutSessionDto<StatusEnum> = Omit<UpdateCheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
55
|
+
stripeFields?: Omit<StripeCheckoutSessionCreateParams, CheckoutSessionOmissions>;
|
|
56
|
+
};
|
|
57
|
+
type StripeCheckoutSessionDto<StatusEnum> = Omit<CheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields' | 'uri'> & {
|
|
58
|
+
uri: string;
|
|
59
|
+
stripeFields: StripeCheckoutSession;
|
|
60
|
+
};
|
|
61
|
+
type StripeCheckoutSessionDtos<StatusEnum> = {
|
|
62
|
+
CheckoutSessionMapper: StripeCheckoutSessionDto<StatusEnum>;
|
|
63
|
+
CreateCheckoutSessionMapper: StripeCreateCheckoutSessionDto<StatusEnum>;
|
|
64
|
+
UpdateCheckoutSessionMapper: StripeUpdateCheckoutSessionDto<StatusEnum>;
|
|
65
|
+
};
|
|
66
|
+
type StripeCreatePaymentLinkDto<StatusEnum> = Omit<CreatePaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
67
|
+
stripeFields: StripePaymentLinkCreateParams;
|
|
68
|
+
};
|
|
69
|
+
type StripeUpdatePaymentLinkDto<StatusEnum> = Omit<UpdatePaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
70
|
+
stripeFields?: StripePaymentLinkUpdateParams;
|
|
71
|
+
};
|
|
72
|
+
type StripePaymentLinkDto<StatusEnum> = Omit<PaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
73
|
+
stripeFields: StripePaymentLink;
|
|
74
|
+
};
|
|
75
|
+
type StripePaymentLinkDtos<StatusEnum> = {
|
|
76
|
+
PaymentLinkMapper: StripePaymentLinkDto<StatusEnum>;
|
|
77
|
+
CreatePaymentLinkMapper: StripeCreatePaymentLinkDto<StatusEnum>;
|
|
78
|
+
UpdatePaymentLinkMapper: StripeUpdatePaymentLinkDto<StatusEnum>;
|
|
79
|
+
};
|
|
80
|
+
type PlanOmissions = 'product' | 'interval' | 'currency';
|
|
81
|
+
type StripeCreatePlanDto = Omit<CreatePlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
82
|
+
stripeFields: Omit<StripePlanCreateParams, PlanOmissions>;
|
|
83
|
+
};
|
|
84
|
+
type StripeUpdatePlanDto = Omit<UpdatePlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
85
|
+
stripeFields?: Omit<StripePlanUpdateParams, PlanOmissions>;
|
|
86
|
+
};
|
|
87
|
+
type StripePlanDto = Omit<PlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
88
|
+
stripeFields: StripeProduct;
|
|
89
|
+
};
|
|
90
|
+
type StripePlanDtos = {
|
|
91
|
+
PlanMapper: StripePlanDto;
|
|
92
|
+
CreatePlanMapper: StripeCreatePlanDto;
|
|
93
|
+
UpdatePlanMapper: StripeUpdatePlanDto;
|
|
94
|
+
};
|
|
95
|
+
type SubscriptionOmissions = 'items' | 'customer';
|
|
96
|
+
type StripeCreateSubscriptionDto<PartyType> = Omit<CreateSubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
97
|
+
stripeFields: Omit<StripeSubscriptionCreateParams, SubscriptionOmissions>;
|
|
98
|
+
};
|
|
99
|
+
type StripeUpdateSubscriptionDto<PartyType> = Omit<UpdateSubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
100
|
+
stripeFields?: Omit<StripeSubscriptionUpdateParams, SubscriptionOmissions>;
|
|
101
|
+
};
|
|
102
|
+
type StripeSubscriptionDto<PartyType> = Omit<SubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
103
|
+
stripeFields: StripeSubscription;
|
|
104
|
+
};
|
|
105
|
+
type StripeSubscriptionDtos<PartyType> = {
|
|
106
|
+
SubscriptionMapper: StripeSubscriptionDto<PartyType>;
|
|
107
|
+
CreateSubscriptionMapper: StripeCreateSubscriptionDto<PartyType>;
|
|
108
|
+
UpdateSubscriptionMapper: StripeUpdateSubscriptionDto<PartyType>;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type { StripeCreateSubscriptionDto as A, StripeUpdateSubscriptionDto as B, StripeSubscriptionDto as C, StripeBillingPortalDto as D, StripeCheckoutSessionDto as E, StripeUpdateCheckoutSessionDto as F, StripeBillingPortalSessionCreateParams as S, StripeBillingPortalSession as a, StripeCheckoutSessionCreateParams as b, StripeCheckoutSession as c, StripePaymentLinkCreateParams as d, StripePaymentLinkUpdateParams as e, StripePaymentLink as f, StripePlanCreateParams as g, StripePlanUpdateParams as h, StripeProduct as i, StripeSubscriptionCreateParams as j, StripeSubscriptionUpdateParams as k, StripeSubscription as l, StripeBillingPortalDtos as m, StripeCreateBillingPortalDto as n, StripeUpdateBillingPortalDto as o, StripeCheckoutSessionDtos as p, StripeCreateCheckoutSessionDto as q, StripePaymentLinkDtos as r, StripeCreatePaymentLinkDto as s, StripeUpdatePaymentLinkDto as t, StripePaymentLinkDto as u, StripePlanDtos as v, StripeCreatePlanDto as w, StripeUpdatePlanDto as x, StripePlanDto as y, StripeSubscriptionDtos as z };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { BillingPortalDto, CreateBillingPortalDto, UpdateBillingPortalDto, CheckoutSessionDto, CreateCheckoutSessionDto, UpdateCheckoutSessionDto, PaymentLinkDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, PlanDto, CreatePlanDto, UpdatePlanDto, SubscriptionDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
2
|
+
import Stripe from 'stripe';
|
|
3
|
+
import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from './domain/enum/index.js';
|
|
4
|
+
|
|
5
|
+
type UnwrapStripeResponse<T> = T extends Promise<infer R> ? R extends {
|
|
6
|
+
lastResponse?: unknown;
|
|
7
|
+
} ? Omit<R, 'lastResponse'> : R : never;
|
|
8
|
+
interface StripeBillingPortalSessionCreateParams extends NonNullable<Parameters<Stripe['billingPortal']['sessions']['create']>[0]> {
|
|
9
|
+
}
|
|
10
|
+
interface StripeBillingPortalSession extends UnwrapStripeResponse<ReturnType<Stripe['billingPortal']['sessions']['create']>> {
|
|
11
|
+
}
|
|
12
|
+
interface StripeCheckoutSessionCreateParams extends NonNullable<Parameters<Stripe['checkout']['sessions']['create']>[0]> {
|
|
13
|
+
}
|
|
14
|
+
interface StripeCheckoutSession extends UnwrapStripeResponse<ReturnType<Stripe['checkout']['sessions']['create']>> {
|
|
15
|
+
}
|
|
16
|
+
interface StripePaymentLinkCreateParams extends NonNullable<Parameters<Stripe['paymentLinks']['create']>[0]> {
|
|
17
|
+
}
|
|
18
|
+
interface StripePaymentLinkUpdateParams extends NonNullable<Parameters<Stripe['paymentLinks']['update']>[1]> {
|
|
19
|
+
}
|
|
20
|
+
interface StripePaymentLink extends UnwrapStripeResponse<ReturnType<Stripe['paymentLinks']['create']>> {
|
|
21
|
+
}
|
|
22
|
+
interface StripePlanCreateParams extends NonNullable<Parameters<Stripe['plans']['create']>[0]> {
|
|
23
|
+
}
|
|
24
|
+
interface StripePlanUpdateParams extends NonNullable<Parameters<Stripe['plans']['update']>[1]> {
|
|
25
|
+
}
|
|
26
|
+
interface StripeProduct extends UnwrapStripeResponse<ReturnType<Stripe['products']['create']>> {
|
|
27
|
+
}
|
|
28
|
+
interface StripeSubscriptionCreateParams extends NonNullable<Parameters<Stripe['subscriptions']['create']>[0]> {
|
|
29
|
+
}
|
|
30
|
+
interface StripeSubscriptionUpdateParams extends NonNullable<Parameters<Stripe['subscriptions']['update']>[1]> {
|
|
31
|
+
}
|
|
32
|
+
interface StripeSubscription extends UnwrapStripeResponse<ReturnType<Stripe['subscriptions']['create']>> {
|
|
33
|
+
}
|
|
34
|
+
type BillingPortalOmissions = 'customer';
|
|
35
|
+
type StripeCreateBillingPortalDto = Omit<CreateBillingPortalDto, 'providerFields'> & {
|
|
36
|
+
stripeFields: Omit<StripeBillingPortalSessionCreateParams, BillingPortalOmissions>;
|
|
37
|
+
};
|
|
38
|
+
type StripeUpdateBillingPortalDto = Omit<UpdateBillingPortalDto, 'providerFields'> & {
|
|
39
|
+
stripeFields?: Omit<StripeBillingPortalSessionCreateParams, BillingPortalOmissions>;
|
|
40
|
+
};
|
|
41
|
+
type StripeBillingPortalDto = Omit<BillingPortalDto, 'providerFields'> & {
|
|
42
|
+
stripeFields: StripeBillingPortalSession;
|
|
43
|
+
};
|
|
44
|
+
type StripeBillingPortalDtos = {
|
|
45
|
+
BillingPortalMapper: StripeBillingPortalDto;
|
|
46
|
+
CreateBillingPortalMapper: StripeCreateBillingPortalDto;
|
|
47
|
+
UpdateBillingPortalMapper: StripeUpdateBillingPortalDto;
|
|
48
|
+
};
|
|
49
|
+
type CheckoutSessionOmissions = 'payment_method_types' | 'currency' | 'success_url' | 'cancel_url';
|
|
50
|
+
type StripeCreateCheckoutSessionDto<StatusEnum> = Omit<CreateCheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields' | 'uri'> & {
|
|
51
|
+
uri: string;
|
|
52
|
+
stripeFields: Omit<StripeCheckoutSessionCreateParams, CheckoutSessionOmissions>;
|
|
53
|
+
};
|
|
54
|
+
type StripeUpdateCheckoutSessionDto<StatusEnum> = Omit<UpdateCheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
55
|
+
stripeFields?: Omit<StripeCheckoutSessionCreateParams, CheckoutSessionOmissions>;
|
|
56
|
+
};
|
|
57
|
+
type StripeCheckoutSessionDto<StatusEnum> = Omit<CheckoutSessionDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields' | 'uri'> & {
|
|
58
|
+
uri: string;
|
|
59
|
+
stripeFields: StripeCheckoutSession;
|
|
60
|
+
};
|
|
61
|
+
type StripeCheckoutSessionDtos<StatusEnum> = {
|
|
62
|
+
CheckoutSessionMapper: StripeCheckoutSessionDto<StatusEnum>;
|
|
63
|
+
CreateCheckoutSessionMapper: StripeCreateCheckoutSessionDto<StatusEnum>;
|
|
64
|
+
UpdateCheckoutSessionMapper: StripeUpdateCheckoutSessionDto<StatusEnum>;
|
|
65
|
+
};
|
|
66
|
+
type StripeCreatePaymentLinkDto<StatusEnum> = Omit<CreatePaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
67
|
+
stripeFields: StripePaymentLinkCreateParams;
|
|
68
|
+
};
|
|
69
|
+
type StripeUpdatePaymentLinkDto<StatusEnum> = Omit<UpdatePaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
70
|
+
stripeFields?: StripePaymentLinkUpdateParams;
|
|
71
|
+
};
|
|
72
|
+
type StripePaymentLinkDto<StatusEnum> = Omit<PaymentLinkDto<typeof PaymentMethodEnum, typeof CurrencyEnum, StatusEnum>, 'providerFields'> & {
|
|
73
|
+
stripeFields: StripePaymentLink;
|
|
74
|
+
};
|
|
75
|
+
type StripePaymentLinkDtos<StatusEnum> = {
|
|
76
|
+
PaymentLinkMapper: StripePaymentLinkDto<StatusEnum>;
|
|
77
|
+
CreatePaymentLinkMapper: StripeCreatePaymentLinkDto<StatusEnum>;
|
|
78
|
+
UpdatePaymentLinkMapper: StripeUpdatePaymentLinkDto<StatusEnum>;
|
|
79
|
+
};
|
|
80
|
+
type PlanOmissions = 'product' | 'interval' | 'currency';
|
|
81
|
+
type StripeCreatePlanDto = Omit<CreatePlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
82
|
+
stripeFields: Omit<StripePlanCreateParams, PlanOmissions>;
|
|
83
|
+
};
|
|
84
|
+
type StripeUpdatePlanDto = Omit<UpdatePlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
85
|
+
stripeFields?: Omit<StripePlanUpdateParams, PlanOmissions>;
|
|
86
|
+
};
|
|
87
|
+
type StripePlanDto = Omit<PlanDto<typeof PlanCadenceEnum, typeof CurrencyEnum, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
88
|
+
stripeFields: StripeProduct;
|
|
89
|
+
};
|
|
90
|
+
type StripePlanDtos = {
|
|
91
|
+
PlanMapper: StripePlanDto;
|
|
92
|
+
CreatePlanMapper: StripeCreatePlanDto;
|
|
93
|
+
UpdatePlanMapper: StripeUpdatePlanDto;
|
|
94
|
+
};
|
|
95
|
+
type SubscriptionOmissions = 'items' | 'customer';
|
|
96
|
+
type StripeCreateSubscriptionDto<PartyType> = Omit<CreateSubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
97
|
+
stripeFields: Omit<StripeSubscriptionCreateParams, SubscriptionOmissions>;
|
|
98
|
+
};
|
|
99
|
+
type StripeUpdateSubscriptionDto<PartyType> = Omit<UpdateSubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
100
|
+
stripeFields?: Omit<StripeSubscriptionUpdateParams, SubscriptionOmissions>;
|
|
101
|
+
};
|
|
102
|
+
type StripeSubscriptionDto<PartyType> = Omit<SubscriptionDto<PartyType, typeof BillingProviderEnum>, 'providerFields'> & {
|
|
103
|
+
stripeFields: StripeSubscription;
|
|
104
|
+
};
|
|
105
|
+
type StripeSubscriptionDtos<PartyType> = {
|
|
106
|
+
SubscriptionMapper: StripeSubscriptionDto<PartyType>;
|
|
107
|
+
CreateSubscriptionMapper: StripeCreateSubscriptionDto<PartyType>;
|
|
108
|
+
UpdateSubscriptionMapper: StripeUpdateSubscriptionDto<PartyType>;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type { StripeCreateSubscriptionDto as A, StripeUpdateSubscriptionDto as B, StripeSubscriptionDto as C, StripeBillingPortalDto as D, StripeCheckoutSessionDto as E, StripeUpdateCheckoutSessionDto as F, StripeBillingPortalSessionCreateParams as S, StripeBillingPortalSession as a, StripeCheckoutSessionCreateParams as b, StripeCheckoutSession as c, StripePaymentLinkCreateParams as d, StripePaymentLinkUpdateParams as e, StripePaymentLink as f, StripePlanCreateParams as g, StripePlanUpdateParams as h, StripeProduct as i, StripeSubscriptionCreateParams as j, StripeSubscriptionUpdateParams as k, StripeSubscription as l, StripeBillingPortalDtos as m, StripeCreateBillingPortalDto as n, StripeUpdateBillingPortalDto as o, StripeCheckoutSessionDtos as p, StripeCreateCheckoutSessionDto as q, StripePaymentLinkDtos as r, StripeCreatePaymentLinkDto as s, StripeUpdatePaymentLinkDto as t, StripePaymentLinkDto as u, StripePlanDtos as v, StripeCreatePlanDto as w, StripeUpdatePlanDto as x, StripePlanDto as y, StripeSubscriptionDtos as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-stripe",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "Stripe implementation for forklaunch billing",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"lib/**"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@forklaunch/common": "^1.2.
|
|
46
|
-
"@forklaunch/core": "^1.
|
|
47
|
-
"@forklaunch/internal": "^1.2.
|
|
48
|
-
"@forklaunch/validator": "^1.2.
|
|
49
|
-
"@mikro-orm/core": "7.0.
|
|
45
|
+
"@forklaunch/common": "^1.2.15",
|
|
46
|
+
"@forklaunch/core": "^1.4.1",
|
|
47
|
+
"@forklaunch/internal": "^1.2.15",
|
|
48
|
+
"@forklaunch/validator": "^1.2.15",
|
|
49
|
+
"@mikro-orm/core": "7.0.9",
|
|
50
50
|
"@sinclair/typebox": "^0.34.49",
|
|
51
51
|
"ajv": "^8.18.0",
|
|
52
|
-
"stripe": "^
|
|
52
|
+
"stripe": "^22.0.0",
|
|
53
53
|
"zod": "^4.3.6",
|
|
54
|
-
"@forklaunch/implementation-billing-base": "1.0.
|
|
55
|
-
"@forklaunch/interfaces-billing": "1.0.
|
|
54
|
+
"@forklaunch/implementation-billing-base": "1.0.23",
|
|
55
|
+
"@forklaunch/interfaces-billing": "1.0.22"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
58
|
+
"@typescript/native-preview": "7.0.0-dev.20260407.1",
|
|
59
59
|
"depcheck": "^1.4.7",
|
|
60
60
|
"prettier": "^3.8.1",
|
|
61
61
|
"typedoc": "^0.28.18"
|