@forklaunch/implementation-billing-stripe 0.2.8 → 0.3.0
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 +46 -46
- package/lib/domain/schemas/index.d.ts +46 -46
- package/lib/domain/types/index.d.mts +163 -21
- package/lib/domain/types/index.d.ts +163 -21
- package/lib/eject/domain/types/billingPortal.mapper.types.ts +31 -0
- package/lib/eject/domain/types/checkoutSession.mapper.types.ts +32 -0
- package/lib/eject/domain/types/index.ts +5 -0
- package/lib/eject/domain/types/paymentLink.mapper.types.ts +32 -0
- package/lib/eject/domain/types/plan.mapper.types.ts +29 -0
- package/lib/eject/domain/types/subscription.mapper.types.ts +32 -0
- package/lib/eject/services/billingPortal.service.ts +49 -132
- package/lib/eject/services/checkoutSession.service.ts +47 -108
- package/lib/eject/services/paymentLink.service.ts +82 -136
- package/lib/eject/services/plan.service.ts +44 -105
- package/lib/eject/services/subscription.service.ts +74 -151
- package/lib/eject/services/webhook.service.ts +5 -12
- package/lib/services/index.d.mts +82 -330
- package/lib/services/index.d.ts +82 -330
- package/lib/services/index.js +188 -285
- package/lib/services/index.mjs +188 -290
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _forklaunch_internal from '@forklaunch/internal';
|
|
2
2
|
import * as zod_v3 from 'zod/v3';
|
|
3
|
-
import * as
|
|
3
|
+
import * as stripe from 'stripe';
|
|
4
4
|
import * as _sinclair_typebox from '@sinclair/typebox';
|
|
5
5
|
import * as _forklaunch_validator from '@forklaunch/validator';
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
29
29
|
>;
|
|
30
30
|
stripeFields: _sinclair_typebox.TTransform<
|
|
31
31
|
_sinclair_typebox.TAny,
|
|
32
|
-
Omit<
|
|
32
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
33
33
|
>;
|
|
34
34
|
};
|
|
35
35
|
UpdateBillingPortalSchema: {
|
|
@@ -50,7 +50,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
50
50
|
stripeFields: _sinclair_typebox.TOptional<
|
|
51
51
|
_sinclair_typebox.TTransform<
|
|
52
52
|
_sinclair_typebox.TAny,
|
|
53
|
-
| Omit<
|
|
53
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
54
54
|
| undefined
|
|
55
55
|
>
|
|
56
56
|
>;
|
|
@@ -71,7 +71,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
71
71
|
>;
|
|
72
72
|
stripeFields: _sinclair_typebox.TTransform<
|
|
73
73
|
_sinclair_typebox.TAny,
|
|
74
|
-
|
|
74
|
+
stripe.Stripe.BillingPortal.Session
|
|
75
75
|
>;
|
|
76
76
|
createdAt: _sinclair_typebox.TOptional<
|
|
77
77
|
_sinclair_typebox.TTransform<
|
|
@@ -106,9 +106,9 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
106
106
|
uri: zod_v3.ZodOptional<zod_v3.ZodString>;
|
|
107
107
|
expiresAt: zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>;
|
|
108
108
|
stripeFields: zod_v3.ZodType<
|
|
109
|
-
Omit<
|
|
109
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>,
|
|
110
110
|
zod_v3.ZodTypeDef,
|
|
111
|
-
Omit<
|
|
111
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
112
112
|
>;
|
|
113
113
|
};
|
|
114
114
|
UpdateBillingPortalSchema: {
|
|
@@ -119,10 +119,10 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
119
119
|
>;
|
|
120
120
|
stripeFields: zod_v3.ZodOptional<
|
|
121
121
|
zod_v3.ZodType<
|
|
122
|
-
| Omit<
|
|
122
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
123
123
|
| undefined,
|
|
124
124
|
zod_v3.ZodTypeDef,
|
|
125
|
-
| Omit<
|
|
125
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
126
126
|
| undefined
|
|
127
127
|
>
|
|
128
128
|
>;
|
|
@@ -133,9 +133,9 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
133
133
|
uri: zod_v3.ZodOptional<zod_v3.ZodString>;
|
|
134
134
|
expiresAt: zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>;
|
|
135
135
|
stripeFields: zod_v3.ZodType<
|
|
136
|
-
|
|
136
|
+
stripe.Stripe.BillingPortal.Session,
|
|
137
137
|
zod_v3.ZodTypeDef,
|
|
138
|
-
|
|
138
|
+
stripe.Stripe.BillingPortal.Session
|
|
139
139
|
>;
|
|
140
140
|
createdAt: zod_v3.ZodOptional<
|
|
141
141
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -296,7 +296,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
296
296
|
stripeFields: _sinclair_typebox.TTransform<
|
|
297
297
|
_sinclair_typebox.TAny,
|
|
298
298
|
Omit<
|
|
299
|
-
|
|
299
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
300
300
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
301
301
|
>
|
|
302
302
|
>;
|
|
@@ -450,7 +450,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
450
450
|
_sinclair_typebox.TTransform<
|
|
451
451
|
_sinclair_typebox.TAny,
|
|
452
452
|
| Omit<
|
|
453
|
-
|
|
453
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
454
454
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
455
455
|
>
|
|
456
456
|
| undefined
|
|
@@ -597,7 +597,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
597
597
|
>;
|
|
598
598
|
stripeFields: _sinclair_typebox.TTransform<
|
|
599
599
|
_sinclair_typebox.TAny,
|
|
600
|
-
|
|
600
|
+
stripe.Stripe.Checkout.Session
|
|
601
601
|
>;
|
|
602
602
|
createdAt: _sinclair_typebox.TOptional<
|
|
603
603
|
_sinclair_typebox.TTransform<
|
|
@@ -757,12 +757,12 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
757
757
|
>;
|
|
758
758
|
stripeFields: zod_v3.ZodType<
|
|
759
759
|
Omit<
|
|
760
|
-
|
|
760
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
761
761
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
762
762
|
>,
|
|
763
763
|
zod_v3.ZodTypeDef,
|
|
764
764
|
Omit<
|
|
765
|
-
|
|
765
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
766
766
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
767
767
|
>
|
|
768
768
|
>;
|
|
@@ -905,13 +905,13 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
905
905
|
stripeFields: zod_v3.ZodOptional<
|
|
906
906
|
zod_v3.ZodType<
|
|
907
907
|
| Omit<
|
|
908
|
-
|
|
908
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
909
909
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
910
910
|
>
|
|
911
911
|
| undefined,
|
|
912
912
|
zod_v3.ZodTypeDef,
|
|
913
913
|
| Omit<
|
|
914
|
-
|
|
914
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
915
915
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
916
916
|
>
|
|
917
917
|
| undefined
|
|
@@ -1049,9 +1049,9 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
1049
1049
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1050
1050
|
>;
|
|
1051
1051
|
stripeFields: zod_v3.ZodType<
|
|
1052
|
-
|
|
1052
|
+
stripe.Stripe.Checkout.Session,
|
|
1053
1053
|
zod_v3.ZodTypeDef,
|
|
1054
|
-
|
|
1054
|
+
stripe.Stripe.Checkout.Session
|
|
1055
1055
|
>;
|
|
1056
1056
|
createdAt: zod_v3.ZodOptional<
|
|
1057
1057
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -1211,7 +1211,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1211
1211
|
>;
|
|
1212
1212
|
stripeFields: _sinclair_typebox.TTransform<
|
|
1213
1213
|
_sinclair_typebox.TAny,
|
|
1214
|
-
|
|
1214
|
+
stripe.Stripe.PaymentLinkCreateParams
|
|
1215
1215
|
>;
|
|
1216
1216
|
};
|
|
1217
1217
|
UpdatePaymentLinkSchema: <
|
|
@@ -1362,7 +1362,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1362
1362
|
stripeFields: _sinclair_typebox.TOptional<
|
|
1363
1363
|
_sinclair_typebox.TTransform<
|
|
1364
1364
|
_sinclair_typebox.TAny,
|
|
1365
|
-
|
|
1365
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined
|
|
1366
1366
|
>
|
|
1367
1367
|
>;
|
|
1368
1368
|
};
|
|
@@ -1505,7 +1505,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1505
1505
|
>;
|
|
1506
1506
|
stripeFields: _sinclair_typebox.TTransform<
|
|
1507
1507
|
_sinclair_typebox.TAny,
|
|
1508
|
-
|
|
1508
|
+
stripe.Stripe.PaymentLink
|
|
1509
1509
|
>;
|
|
1510
1510
|
createdAt: _sinclair_typebox.TOptional<
|
|
1511
1511
|
_sinclair_typebox.TTransform<
|
|
@@ -1661,9 +1661,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1661
1661
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1662
1662
|
>;
|
|
1663
1663
|
stripeFields: zod_v3.ZodType<
|
|
1664
|
-
|
|
1664
|
+
stripe.Stripe.PaymentLinkCreateParams,
|
|
1665
1665
|
zod_v3.ZodTypeDef,
|
|
1666
|
-
|
|
1666
|
+
stripe.Stripe.PaymentLinkCreateParams
|
|
1667
1667
|
>;
|
|
1668
1668
|
};
|
|
1669
1669
|
UpdatePaymentLinkSchema: <
|
|
@@ -1800,9 +1800,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1800
1800
|
>;
|
|
1801
1801
|
stripeFields: zod_v3.ZodOptional<
|
|
1802
1802
|
zod_v3.ZodType<
|
|
1803
|
-
|
|
1803
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined,
|
|
1804
1804
|
zod_v3.ZodTypeDef,
|
|
1805
|
-
|
|
1805
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined
|
|
1806
1806
|
>
|
|
1807
1807
|
>;
|
|
1808
1808
|
};
|
|
@@ -1933,9 +1933,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1933
1933
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1934
1934
|
>;
|
|
1935
1935
|
stripeFields: zod_v3.ZodType<
|
|
1936
|
-
|
|
1936
|
+
stripe.Stripe.PaymentLink,
|
|
1937
1937
|
zod_v3.ZodTypeDef,
|
|
1938
|
-
|
|
1938
|
+
stripe.Stripe.PaymentLink
|
|
1939
1939
|
>;
|
|
1940
1940
|
createdAt: zod_v3.ZodOptional<
|
|
1941
1941
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -2058,7 +2058,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2058
2058
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2059
2059
|
_sinclair_typebox.TAny,
|
|
2060
2060
|
Omit<
|
|
2061
|
-
|
|
2061
|
+
stripe.Stripe.PlanCreateParams,
|
|
2062
2062
|
'currency' | 'product' | 'interval'
|
|
2063
2063
|
>
|
|
2064
2064
|
>;
|
|
@@ -2182,7 +2182,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2182
2182
|
_sinclair_typebox.TTransform<
|
|
2183
2183
|
_sinclair_typebox.TAny,
|
|
2184
2184
|
| Omit<
|
|
2185
|
-
|
|
2185
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2186
2186
|
'currency' | 'product' | 'interval'
|
|
2187
2187
|
>
|
|
2188
2188
|
| undefined
|
|
@@ -2302,7 +2302,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2302
2302
|
>;
|
|
2303
2303
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2304
2304
|
_sinclair_typebox.TAny,
|
|
2305
|
-
|
|
2305
|
+
stripe.Stripe.Plan
|
|
2306
2306
|
>;
|
|
2307
2307
|
externalId: _sinclair_typebox.TString;
|
|
2308
2308
|
billingProvider: _sinclair_typebox.TOptional<
|
|
@@ -2428,12 +2428,12 @@ declare const StripePlanServiceSchemas: <
|
|
|
2428
2428
|
features: zod_v3.ZodOptional<zod_v3.ZodArray<zod_v3.ZodString, 'many'>>;
|
|
2429
2429
|
stripeFields: zod_v3.ZodType<
|
|
2430
2430
|
Omit<
|
|
2431
|
-
|
|
2431
|
+
stripe.Stripe.PlanCreateParams,
|
|
2432
2432
|
'currency' | 'product' | 'interval'
|
|
2433
2433
|
>,
|
|
2434
2434
|
zod_v3.ZodTypeDef,
|
|
2435
2435
|
Omit<
|
|
2436
|
-
|
|
2436
|
+
stripe.Stripe.PlanCreateParams,
|
|
2437
2437
|
'currency' | 'product' | 'interval'
|
|
2438
2438
|
>
|
|
2439
2439
|
>;
|
|
@@ -2537,13 +2537,13 @@ declare const StripePlanServiceSchemas: <
|
|
|
2537
2537
|
stripeFields: zod_v3.ZodOptional<
|
|
2538
2538
|
zod_v3.ZodType<
|
|
2539
2539
|
| Omit<
|
|
2540
|
-
|
|
2540
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2541
2541
|
'currency' | 'product' | 'interval'
|
|
2542
2542
|
>
|
|
2543
2543
|
| undefined,
|
|
2544
2544
|
zod_v3.ZodTypeDef,
|
|
2545
2545
|
| Omit<
|
|
2546
|
-
|
|
2546
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2547
2547
|
'currency' | 'product' | 'interval'
|
|
2548
2548
|
>
|
|
2549
2549
|
| undefined
|
|
@@ -2643,9 +2643,9 @@ declare const StripePlanServiceSchemas: <
|
|
|
2643
2643
|
>;
|
|
2644
2644
|
features: zod_v3.ZodOptional<zod_v3.ZodArray<zod_v3.ZodString, 'many'>>;
|
|
2645
2645
|
stripeFields: zod_v3.ZodType<
|
|
2646
|
-
|
|
2646
|
+
stripe.Stripe.Plan,
|
|
2647
2647
|
zod_v3.ZodTypeDef,
|
|
2648
|
-
|
|
2648
|
+
stripe.Stripe.Plan
|
|
2649
2649
|
>;
|
|
2650
2650
|
externalId: zod_v3.ZodString;
|
|
2651
2651
|
billingProvider: zod_v3.ZodOptional<
|
|
@@ -2718,7 +2718,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2718
2718
|
>;
|
|
2719
2719
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2720
2720
|
_sinclair_typebox.TAny,
|
|
2721
|
-
Omit<
|
|
2721
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>
|
|
2722
2722
|
>;
|
|
2723
2723
|
};
|
|
2724
2724
|
UpdateSubscriptionSchema: <
|
|
@@ -2775,7 +2775,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2775
2775
|
stripeFields: _sinclair_typebox.TOptional<
|
|
2776
2776
|
_sinclair_typebox.TTransform<
|
|
2777
2777
|
_sinclair_typebox.TAny,
|
|
2778
|
-
| Omit<
|
|
2778
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2779
2779
|
| undefined
|
|
2780
2780
|
>
|
|
2781
2781
|
>;
|
|
@@ -2827,7 +2827,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2827
2827
|
>;
|
|
2828
2828
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2829
2829
|
_sinclair_typebox.TAny,
|
|
2830
|
-
|
|
2830
|
+
stripe.Stripe.Subscription
|
|
2831
2831
|
>;
|
|
2832
2832
|
createdAt: _sinclair_typebox.TOptional<
|
|
2833
2833
|
_sinclair_typebox.TTransform<
|
|
@@ -2879,9 +2879,9 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2879
2879
|
zod_v3.ZodUnion<[zod_v3.ZodLiteral<'stripe'>]>
|
|
2880
2880
|
>;
|
|
2881
2881
|
stripeFields: zod_v3.ZodType<
|
|
2882
|
-
Omit<
|
|
2882
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>,
|
|
2883
2883
|
zod_v3.ZodTypeDef,
|
|
2884
|
-
Omit<
|
|
2884
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>
|
|
2885
2885
|
>;
|
|
2886
2886
|
};
|
|
2887
2887
|
UpdateSubscriptionSchema: <
|
|
@@ -2912,10 +2912,10 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2912
2912
|
>;
|
|
2913
2913
|
stripeFields: zod_v3.ZodOptional<
|
|
2914
2914
|
zod_v3.ZodType<
|
|
2915
|
-
| Omit<
|
|
2915
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2916
2916
|
| undefined,
|
|
2917
2917
|
zod_v3.ZodTypeDef,
|
|
2918
|
-
| Omit<
|
|
2918
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2919
2919
|
| undefined
|
|
2920
2920
|
>
|
|
2921
2921
|
>;
|
|
@@ -2943,9 +2943,9 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2943
2943
|
zod_v3.ZodUnion<[zod_v3.ZodLiteral<'stripe'>]>
|
|
2944
2944
|
>;
|
|
2945
2945
|
stripeFields: zod_v3.ZodType<
|
|
2946
|
-
|
|
2946
|
+
stripe.Stripe.Subscription,
|
|
2947
2947
|
zod_v3.ZodTypeDef,
|
|
2948
|
-
|
|
2948
|
+
stripe.Stripe.Subscription
|
|
2949
2949
|
>;
|
|
2950
2950
|
createdAt: zod_v3.ZodOptional<
|
|
2951
2951
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _forklaunch_internal from '@forklaunch/internal';
|
|
2
2
|
import * as zod_v3 from 'zod/v3';
|
|
3
|
-
import * as
|
|
3
|
+
import * as stripe from 'stripe';
|
|
4
4
|
import * as _sinclair_typebox from '@sinclair/typebox';
|
|
5
5
|
import * as _forklaunch_validator from '@forklaunch/validator';
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
29
29
|
>;
|
|
30
30
|
stripeFields: _sinclair_typebox.TTransform<
|
|
31
31
|
_sinclair_typebox.TAny,
|
|
32
|
-
Omit<
|
|
32
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
33
33
|
>;
|
|
34
34
|
};
|
|
35
35
|
UpdateBillingPortalSchema: {
|
|
@@ -50,7 +50,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
50
50
|
stripeFields: _sinclair_typebox.TOptional<
|
|
51
51
|
_sinclair_typebox.TTransform<
|
|
52
52
|
_sinclair_typebox.TAny,
|
|
53
|
-
| Omit<
|
|
53
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
54
54
|
| undefined
|
|
55
55
|
>
|
|
56
56
|
>;
|
|
@@ -71,7 +71,7 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
71
71
|
>;
|
|
72
72
|
stripeFields: _sinclair_typebox.TTransform<
|
|
73
73
|
_sinclair_typebox.TAny,
|
|
74
|
-
|
|
74
|
+
stripe.Stripe.BillingPortal.Session
|
|
75
75
|
>;
|
|
76
76
|
createdAt: _sinclair_typebox.TOptional<
|
|
77
77
|
_sinclair_typebox.TTransform<
|
|
@@ -106,9 +106,9 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
106
106
|
uri: zod_v3.ZodOptional<zod_v3.ZodString>;
|
|
107
107
|
expiresAt: zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>;
|
|
108
108
|
stripeFields: zod_v3.ZodType<
|
|
109
|
-
Omit<
|
|
109
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>,
|
|
110
110
|
zod_v3.ZodTypeDef,
|
|
111
|
-
Omit<
|
|
111
|
+
Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
112
112
|
>;
|
|
113
113
|
};
|
|
114
114
|
UpdateBillingPortalSchema: {
|
|
@@ -119,10 +119,10 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
119
119
|
>;
|
|
120
120
|
stripeFields: zod_v3.ZodOptional<
|
|
121
121
|
zod_v3.ZodType<
|
|
122
|
-
| Omit<
|
|
122
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
123
123
|
| undefined,
|
|
124
124
|
zod_v3.ZodTypeDef,
|
|
125
|
-
| Omit<
|
|
125
|
+
| Omit<stripe.Stripe.BillingPortal.SessionCreateParams, 'customer'>
|
|
126
126
|
| undefined
|
|
127
127
|
>
|
|
128
128
|
>;
|
|
@@ -133,9 +133,9 @@ declare const StripeBillingPortalServiceSchemas: <
|
|
|
133
133
|
uri: zod_v3.ZodOptional<zod_v3.ZodString>;
|
|
134
134
|
expiresAt: zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>;
|
|
135
135
|
stripeFields: zod_v3.ZodType<
|
|
136
|
-
|
|
136
|
+
stripe.Stripe.BillingPortal.Session,
|
|
137
137
|
zod_v3.ZodTypeDef,
|
|
138
|
-
|
|
138
|
+
stripe.Stripe.BillingPortal.Session
|
|
139
139
|
>;
|
|
140
140
|
createdAt: zod_v3.ZodOptional<
|
|
141
141
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -296,7 +296,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
296
296
|
stripeFields: _sinclair_typebox.TTransform<
|
|
297
297
|
_sinclair_typebox.TAny,
|
|
298
298
|
Omit<
|
|
299
|
-
|
|
299
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
300
300
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
301
301
|
>
|
|
302
302
|
>;
|
|
@@ -450,7 +450,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
450
450
|
_sinclair_typebox.TTransform<
|
|
451
451
|
_sinclair_typebox.TAny,
|
|
452
452
|
| Omit<
|
|
453
|
-
|
|
453
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
454
454
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
455
455
|
>
|
|
456
456
|
| undefined
|
|
@@ -597,7 +597,7 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
597
597
|
>;
|
|
598
598
|
stripeFields: _sinclair_typebox.TTransform<
|
|
599
599
|
_sinclair_typebox.TAny,
|
|
600
|
-
|
|
600
|
+
stripe.Stripe.Checkout.Session
|
|
601
601
|
>;
|
|
602
602
|
createdAt: _sinclair_typebox.TOptional<
|
|
603
603
|
_sinclair_typebox.TTransform<
|
|
@@ -757,12 +757,12 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
757
757
|
>;
|
|
758
758
|
stripeFields: zod_v3.ZodType<
|
|
759
759
|
Omit<
|
|
760
|
-
|
|
760
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
761
761
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
762
762
|
>,
|
|
763
763
|
zod_v3.ZodTypeDef,
|
|
764
764
|
Omit<
|
|
765
|
-
|
|
765
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
766
766
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
767
767
|
>
|
|
768
768
|
>;
|
|
@@ -905,13 +905,13 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
905
905
|
stripeFields: zod_v3.ZodOptional<
|
|
906
906
|
zod_v3.ZodType<
|
|
907
907
|
| Omit<
|
|
908
|
-
|
|
908
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
909
909
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
910
910
|
>
|
|
911
911
|
| undefined,
|
|
912
912
|
zod_v3.ZodTypeDef,
|
|
913
913
|
| Omit<
|
|
914
|
-
|
|
914
|
+
stripe.Stripe.Checkout.SessionCreateParams,
|
|
915
915
|
'payment_method_types' | 'currency' | 'success_url' | 'cancel_url'
|
|
916
916
|
>
|
|
917
917
|
| undefined
|
|
@@ -1049,9 +1049,9 @@ declare const StripeCheckoutSessionServiceSchemas: <
|
|
|
1049
1049
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1050
1050
|
>;
|
|
1051
1051
|
stripeFields: zod_v3.ZodType<
|
|
1052
|
-
|
|
1052
|
+
stripe.Stripe.Checkout.Session,
|
|
1053
1053
|
zod_v3.ZodTypeDef,
|
|
1054
|
-
|
|
1054
|
+
stripe.Stripe.Checkout.Session
|
|
1055
1055
|
>;
|
|
1056
1056
|
createdAt: zod_v3.ZodOptional<
|
|
1057
1057
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -1211,7 +1211,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1211
1211
|
>;
|
|
1212
1212
|
stripeFields: _sinclair_typebox.TTransform<
|
|
1213
1213
|
_sinclair_typebox.TAny,
|
|
1214
|
-
|
|
1214
|
+
stripe.Stripe.PaymentLinkCreateParams
|
|
1215
1215
|
>;
|
|
1216
1216
|
};
|
|
1217
1217
|
UpdatePaymentLinkSchema: <
|
|
@@ -1362,7 +1362,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1362
1362
|
stripeFields: _sinclair_typebox.TOptional<
|
|
1363
1363
|
_sinclair_typebox.TTransform<
|
|
1364
1364
|
_sinclair_typebox.TAny,
|
|
1365
|
-
|
|
1365
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined
|
|
1366
1366
|
>
|
|
1367
1367
|
>;
|
|
1368
1368
|
};
|
|
@@ -1505,7 +1505,7 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1505
1505
|
>;
|
|
1506
1506
|
stripeFields: _sinclair_typebox.TTransform<
|
|
1507
1507
|
_sinclair_typebox.TAny,
|
|
1508
|
-
|
|
1508
|
+
stripe.Stripe.PaymentLink
|
|
1509
1509
|
>;
|
|
1510
1510
|
createdAt: _sinclair_typebox.TOptional<
|
|
1511
1511
|
_sinclair_typebox.TTransform<
|
|
@@ -1661,9 +1661,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1661
1661
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1662
1662
|
>;
|
|
1663
1663
|
stripeFields: zod_v3.ZodType<
|
|
1664
|
-
|
|
1664
|
+
stripe.Stripe.PaymentLinkCreateParams,
|
|
1665
1665
|
zod_v3.ZodTypeDef,
|
|
1666
|
-
|
|
1666
|
+
stripe.Stripe.PaymentLinkCreateParams
|
|
1667
1667
|
>;
|
|
1668
1668
|
};
|
|
1669
1669
|
UpdatePaymentLinkSchema: <
|
|
@@ -1800,9 +1800,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1800
1800
|
>;
|
|
1801
1801
|
stripeFields: zod_v3.ZodOptional<
|
|
1802
1802
|
zod_v3.ZodType<
|
|
1803
|
-
|
|
1803
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined,
|
|
1804
1804
|
zod_v3.ZodTypeDef,
|
|
1805
|
-
|
|
1805
|
+
stripe.Stripe.PaymentLinkUpdateParams | undefined
|
|
1806
1806
|
>
|
|
1807
1807
|
>;
|
|
1808
1808
|
};
|
|
@@ -1933,9 +1933,9 @@ declare const StripePaymentLinkServiceSchemas: <
|
|
|
1933
1933
|
[{ [K in keyof T]: zod_v3.ZodLiteral<T[K]> }[keyof T]]
|
|
1934
1934
|
>;
|
|
1935
1935
|
stripeFields: zod_v3.ZodType<
|
|
1936
|
-
|
|
1936
|
+
stripe.Stripe.PaymentLink,
|
|
1937
1937
|
zod_v3.ZodTypeDef,
|
|
1938
|
-
|
|
1938
|
+
stripe.Stripe.PaymentLink
|
|
1939
1939
|
>;
|
|
1940
1940
|
createdAt: zod_v3.ZodOptional<
|
|
1941
1941
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|
|
@@ -2058,7 +2058,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2058
2058
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2059
2059
|
_sinclair_typebox.TAny,
|
|
2060
2060
|
Omit<
|
|
2061
|
-
|
|
2061
|
+
stripe.Stripe.PlanCreateParams,
|
|
2062
2062
|
'currency' | 'product' | 'interval'
|
|
2063
2063
|
>
|
|
2064
2064
|
>;
|
|
@@ -2182,7 +2182,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2182
2182
|
_sinclair_typebox.TTransform<
|
|
2183
2183
|
_sinclair_typebox.TAny,
|
|
2184
2184
|
| Omit<
|
|
2185
|
-
|
|
2185
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2186
2186
|
'currency' | 'product' | 'interval'
|
|
2187
2187
|
>
|
|
2188
2188
|
| undefined
|
|
@@ -2302,7 +2302,7 @@ declare const StripePlanServiceSchemas: <
|
|
|
2302
2302
|
>;
|
|
2303
2303
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2304
2304
|
_sinclair_typebox.TAny,
|
|
2305
|
-
|
|
2305
|
+
stripe.Stripe.Plan
|
|
2306
2306
|
>;
|
|
2307
2307
|
externalId: _sinclair_typebox.TString;
|
|
2308
2308
|
billingProvider: _sinclair_typebox.TOptional<
|
|
@@ -2428,12 +2428,12 @@ declare const StripePlanServiceSchemas: <
|
|
|
2428
2428
|
features: zod_v3.ZodOptional<zod_v3.ZodArray<zod_v3.ZodString, 'many'>>;
|
|
2429
2429
|
stripeFields: zod_v3.ZodType<
|
|
2430
2430
|
Omit<
|
|
2431
|
-
|
|
2431
|
+
stripe.Stripe.PlanCreateParams,
|
|
2432
2432
|
'currency' | 'product' | 'interval'
|
|
2433
2433
|
>,
|
|
2434
2434
|
zod_v3.ZodTypeDef,
|
|
2435
2435
|
Omit<
|
|
2436
|
-
|
|
2436
|
+
stripe.Stripe.PlanCreateParams,
|
|
2437
2437
|
'currency' | 'product' | 'interval'
|
|
2438
2438
|
>
|
|
2439
2439
|
>;
|
|
@@ -2537,13 +2537,13 @@ declare const StripePlanServiceSchemas: <
|
|
|
2537
2537
|
stripeFields: zod_v3.ZodOptional<
|
|
2538
2538
|
zod_v3.ZodType<
|
|
2539
2539
|
| Omit<
|
|
2540
|
-
|
|
2540
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2541
2541
|
'currency' | 'product' | 'interval'
|
|
2542
2542
|
>
|
|
2543
2543
|
| undefined,
|
|
2544
2544
|
zod_v3.ZodTypeDef,
|
|
2545
2545
|
| Omit<
|
|
2546
|
-
|
|
2546
|
+
stripe.Stripe.PlanUpdateParams,
|
|
2547
2547
|
'currency' | 'product' | 'interval'
|
|
2548
2548
|
>
|
|
2549
2549
|
| undefined
|
|
@@ -2643,9 +2643,9 @@ declare const StripePlanServiceSchemas: <
|
|
|
2643
2643
|
>;
|
|
2644
2644
|
features: zod_v3.ZodOptional<zod_v3.ZodArray<zod_v3.ZodString, 'many'>>;
|
|
2645
2645
|
stripeFields: zod_v3.ZodType<
|
|
2646
|
-
|
|
2646
|
+
stripe.Stripe.Plan,
|
|
2647
2647
|
zod_v3.ZodTypeDef,
|
|
2648
|
-
|
|
2648
|
+
stripe.Stripe.Plan
|
|
2649
2649
|
>;
|
|
2650
2650
|
externalId: zod_v3.ZodString;
|
|
2651
2651
|
billingProvider: zod_v3.ZodOptional<
|
|
@@ -2718,7 +2718,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2718
2718
|
>;
|
|
2719
2719
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2720
2720
|
_sinclair_typebox.TAny,
|
|
2721
|
-
Omit<
|
|
2721
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>
|
|
2722
2722
|
>;
|
|
2723
2723
|
};
|
|
2724
2724
|
UpdateSubscriptionSchema: <
|
|
@@ -2775,7 +2775,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2775
2775
|
stripeFields: _sinclair_typebox.TOptional<
|
|
2776
2776
|
_sinclair_typebox.TTransform<
|
|
2777
2777
|
_sinclair_typebox.TAny,
|
|
2778
|
-
| Omit<
|
|
2778
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2779
2779
|
| undefined
|
|
2780
2780
|
>
|
|
2781
2781
|
>;
|
|
@@ -2827,7 +2827,7 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2827
2827
|
>;
|
|
2828
2828
|
stripeFields: _sinclair_typebox.TTransform<
|
|
2829
2829
|
_sinclair_typebox.TAny,
|
|
2830
|
-
|
|
2830
|
+
stripe.Stripe.Subscription
|
|
2831
2831
|
>;
|
|
2832
2832
|
createdAt: _sinclair_typebox.TOptional<
|
|
2833
2833
|
_sinclair_typebox.TTransform<
|
|
@@ -2879,9 +2879,9 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2879
2879
|
zod_v3.ZodUnion<[zod_v3.ZodLiteral<'stripe'>]>
|
|
2880
2880
|
>;
|
|
2881
2881
|
stripeFields: zod_v3.ZodType<
|
|
2882
|
-
Omit<
|
|
2882
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>,
|
|
2883
2883
|
zod_v3.ZodTypeDef,
|
|
2884
|
-
Omit<
|
|
2884
|
+
Omit<stripe.Stripe.SubscriptionCreateParams, 'customer' | 'items'>
|
|
2885
2885
|
>;
|
|
2886
2886
|
};
|
|
2887
2887
|
UpdateSubscriptionSchema: <
|
|
@@ -2912,10 +2912,10 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2912
2912
|
>;
|
|
2913
2913
|
stripeFields: zod_v3.ZodOptional<
|
|
2914
2914
|
zod_v3.ZodType<
|
|
2915
|
-
| Omit<
|
|
2915
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2916
2916
|
| undefined,
|
|
2917
2917
|
zod_v3.ZodTypeDef,
|
|
2918
|
-
| Omit<
|
|
2918
|
+
| Omit<stripe.Stripe.SubscriptionUpdateParams, 'customer' | 'items'>
|
|
2919
2919
|
| undefined
|
|
2920
2920
|
>
|
|
2921
2921
|
>;
|
|
@@ -2943,9 +2943,9 @@ declare const StripeSubscriptionServiceSchemas: <
|
|
|
2943
2943
|
zod_v3.ZodUnion<[zod_v3.ZodLiteral<'stripe'>]>
|
|
2944
2944
|
>;
|
|
2945
2945
|
stripeFields: zod_v3.ZodType<
|
|
2946
|
-
|
|
2946
|
+
stripe.Stripe.Subscription,
|
|
2947
2947
|
zod_v3.ZodTypeDef,
|
|
2948
|
-
|
|
2948
|
+
stripe.Stripe.Subscription
|
|
2949
2949
|
>;
|
|
2950
2950
|
createdAt: zod_v3.ZodOptional<
|
|
2951
2951
|
zod_v3.ZodEffects<zod_v3.ZodDate, Date, unknown>
|