@forklaunch/implementation-billing-base 0.3.2 → 0.3.3

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.
@@ -1,4 +1,4 @@
1
- import * as _forklaunch_core_mappers from '@forklaunch/core/mappers';
1
+ import * as _forklaunch_internal from '@forklaunch/internal';
2
2
  import * as zod from 'zod';
3
3
  import * as _sinclair_typebox from '@sinclair/typebox';
4
4
  import * as _forklaunch_validator from '@forklaunch/validator';
@@ -7,25 +7,27 @@ declare const BaseBillingPortalServiceSchemas: <SchemaValidator extends _forklau
7
7
  uuidId: boolean;
8
8
  } & {
9
9
  validator: SchemaValidator;
10
- }) => _forklaunch_core_mappers.SchemasByValidator<SchemaValidator, (options: {
10
+ }) => _forklaunch_internal.SchemasByValidator<SchemaValidator, (options: {
11
11
  uuidId: boolean;
12
12
  }) => {
13
13
  CreateBillingPortalSchema: {
14
14
  customerId: _sinclair_typebox.TString;
15
- uri: _sinclair_typebox.TString;
16
15
  expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
16
+ uri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
17
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
17
18
  };
18
19
  UpdateBillingPortalSchema: {
19
20
  id: _sinclair_typebox.TString;
20
21
  uri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
21
22
  expiresAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
23
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
22
24
  };
23
25
  BillingPortalSchema: {
24
26
  id: _sinclair_typebox.TString;
25
27
  customerId: _sinclair_typebox.TString;
26
- uri: _sinclair_typebox.TString;
28
+ uri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
27
29
  expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
28
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
30
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
29
31
  createdAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
30
32
  updatedAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
31
33
  };
@@ -34,20 +36,22 @@ declare const BaseBillingPortalServiceSchemas: <SchemaValidator extends _forklau
34
36
  }) => {
35
37
  CreateBillingPortalSchema: {
36
38
  customerId: zod.ZodString;
37
- uri: zod.ZodString;
38
39
  expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
40
+ uri: zod.ZodOptional<zod.ZodString>;
41
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
39
42
  };
40
43
  UpdateBillingPortalSchema: {
41
44
  id: zod.ZodString;
42
45
  uri: zod.ZodOptional<zod.ZodString>;
43
46
  expiresAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
47
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
44
48
  };
45
49
  BillingPortalSchema: {
46
50
  id: zod.ZodString;
47
51
  customerId: zod.ZodString;
48
- uri: zod.ZodString;
52
+ uri: zod.ZodOptional<zod.ZodString>;
49
53
  expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
50
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
54
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
51
55
  createdAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
52
56
  updatedAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
53
57
  };
@@ -57,73 +61,77 @@ declare const BaseCheckoutSessionServiceSchemas: <SchemaValidator extends _forkl
57
61
  uuidId: boolean;
58
62
  } & {
59
63
  validator: SchemaValidator;
60
- }) => _forklaunch_core_mappers.SchemasByValidator<SchemaValidator, (options: {
64
+ }) => _forklaunch_internal.SchemasByValidator<SchemaValidator, (options: {
61
65
  uuidId: boolean;
62
66
  }) => {
63
- CreateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U) => {
67
+ CreateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>, V extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U, StatusEnum: V) => {
64
68
  customerId: _sinclair_typebox.TString;
65
69
  paymentMethods: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>;
66
- successRedirectUri: _sinclair_typebox.TString;
67
- cancelRedirectUri: _sinclair_typebox.TString;
70
+ currency: _sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>;
71
+ successRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
72
+ cancelRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
68
73
  expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
69
- status: _sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>;
70
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
74
+ status: _sinclair_typebox.TUnion<[{ [K_2 in keyof V]: _sinclair_typebox.TLiteral<V[K_2]>; }[keyof V]]>;
75
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
71
76
  };
72
- UpdateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U_1) => {
77
+ UpdateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>, V_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_1, StatusEnum: V_1) => {
73
78
  id: _sinclair_typebox.TString;
74
79
  customerId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
75
80
  paymentMethods: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>>;
81
+ currency: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
76
82
  successRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
77
83
  cancelRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
78
84
  expiresAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
79
- status: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
80
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
85
+ status: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_2 in keyof V_1]: _sinclair_typebox.TLiteral<V_1[K_2]>; }[keyof V_1]]>>;
86
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
81
87
  };
82
- CheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U_2) => {
88
+ CheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>, V_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_2, StatusEnum: V_2) => {
83
89
  id: _sinclair_typebox.TString;
84
90
  customerId: _sinclair_typebox.TString;
85
- metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
86
91
  paymentMethods: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>;
87
- successRedirectUri: _sinclair_typebox.TString;
88
- cancelRedirectUri: _sinclair_typebox.TString;
92
+ currency: _sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>;
93
+ successRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
94
+ cancelRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
89
95
  expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
90
- status: _sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>;
91
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
96
+ status: _sinclair_typebox.TUnion<[{ [K_2 in keyof V_2]: _sinclair_typebox.TLiteral<V_2[K_2]>; }[keyof V_2]]>;
97
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
92
98
  createdAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
93
99
  updatedAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
94
100
  };
95
101
  }, (options: {
96
102
  uuidId: boolean;
97
103
  }) => {
98
- CreateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U_3) => {
104
+ CreateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>, V_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: V_3, StatusEnum: U_3) => {
99
105
  customerId: zod.ZodString;
100
106
  paymentMethods: zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">;
101
- successRedirectUri: zod.ZodString;
102
- cancelRedirectUri: zod.ZodString;
107
+ currency: zod.ZodUnion<[{ [K_1 in keyof V_3]: zod.ZodLiteral<V_3[K_1]>; }[keyof V_3]]>;
108
+ successRedirectUri: zod.ZodOptional<zod.ZodString>;
109
+ cancelRedirectUri: zod.ZodOptional<zod.ZodString>;
103
110
  expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
104
- status: zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>;
105
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
111
+ status: zod.ZodUnion<[{ [K_2 in keyof U_3]: zod.ZodLiteral<U_3[K_2]>; }[keyof U_3]]>;
112
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
106
113
  };
107
- UpdateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U_4) => {
114
+ UpdateCheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>, V_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_4, StatusEnum: V_4) => {
108
115
  id: zod.ZodString;
109
116
  customerId: zod.ZodOptional<zod.ZodString>;
110
117
  paymentMethods: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">>;
118
+ currency: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
111
119
  successRedirectUri: zod.ZodOptional<zod.ZodString>;
112
120
  cancelRedirectUri: zod.ZodOptional<zod.ZodString>;
113
121
  expiresAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
114
- status: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
115
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
122
+ status: zod.ZodOptional<zod.ZodUnion<[{ [K_2 in keyof V_4]: zod.ZodLiteral<V_4[K_2]>; }[keyof V_4]]>>;
123
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
116
124
  };
117
- CheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, StatusEnum: U_5) => {
125
+ CheckoutSessionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>, V_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_5, StatusEnum: V_5) => {
118
126
  id: zod.ZodString;
119
127
  customerId: zod.ZodString;
120
- metadata: zod.ZodOptional<zod.ZodUnknown>;
121
128
  paymentMethods: zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">;
122
- successRedirectUri: zod.ZodString;
123
- cancelRedirectUri: zod.ZodString;
129
+ currency: zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>;
130
+ successRedirectUri: zod.ZodOptional<zod.ZodString>;
131
+ cancelRedirectUri: zod.ZodOptional<zod.ZodString>;
124
132
  expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
125
- status: zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>;
126
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
133
+ status: zod.ZodUnion<[{ [K_2 in keyof V_5]: zod.ZodLiteral<V_5[K_2]>; }[keyof V_5]]>;
134
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
127
135
  createdAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
128
136
  updatedAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
129
137
  };
@@ -133,83 +141,59 @@ declare const BasePaymentLinkServiceSchemas: <SchemaValidator extends _forklaunc
133
141
  uuidId: boolean;
134
142
  } & {
135
143
  validator: SchemaValidator;
136
- }) => _forklaunch_core_mappers.SchemasByValidator<SchemaValidator, (options: {
144
+ }) => _forklaunch_internal.SchemasByValidator<SchemaValidator, (options: {
137
145
  uuidId: boolean;
138
146
  }) => {
139
- CreatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U) => {
147
+ CreatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>, V extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U, StatusEnum: V) => {
140
148
  amount: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>;
141
- currency: _sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>;
142
- description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
143
- metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
144
- successRedirectUri: _sinclair_typebox.TString;
145
- cancelRedirectUri: _sinclair_typebox.TString;
146
- expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
147
- status: _sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>;
148
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
149
+ paymentMethods: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>;
150
+ currency: _sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>;
151
+ status: _sinclair_typebox.TUnion<[{ [K_2 in keyof V]: _sinclair_typebox.TLiteral<V[K_2]>; }[keyof V]]>;
152
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
149
153
  };
150
- UpdatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U_1) => {
154
+ UpdatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>, V_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_1, StatusEnum: V_1) => {
151
155
  id: _sinclair_typebox.TString;
152
156
  amount: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>>;
153
- currency: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>;
154
- description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
155
- metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
156
- successRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
157
- cancelRedirectUri: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
158
- expiresAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
159
- status: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
160
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
157
+ paymentMethods: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>>;
158
+ currency: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
159
+ status: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_2 in keyof V_1]: _sinclair_typebox.TLiteral<V_1[K_2]>; }[keyof V_1]]>>;
160
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
161
161
  };
162
- PaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U_2) => {
162
+ PaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>, V_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_2, StatusEnum: V_2) => {
163
163
  id: _sinclair_typebox.TString;
164
164
  amount: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>;
165
- currency: _sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>;
166
- description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
167
- metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
168
- successRedirectUri: _sinclair_typebox.TString;
169
- cancelRedirectUri: _sinclair_typebox.TString;
170
- expiresAt: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
171
- status: _sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>;
172
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
165
+ currency: _sinclair_typebox.TUnion<[{ [K in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K]>; }[keyof U_2]]>;
166
+ paymentMethods: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[{ [K_1 in keyof T]: _sinclair_typebox.TLiteral<T[K_1]>; }[keyof T]]>>;
167
+ status: _sinclair_typebox.TUnion<[{ [K_2 in keyof V_2]: _sinclair_typebox.TLiteral<V_2[K_2]>; }[keyof V_2]]>;
168
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
173
169
  createdAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
174
170
  updatedAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
175
171
  };
176
172
  }, (options: {
177
173
  uuidId: boolean;
178
174
  }) => {
179
- CreatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U_3) => {
175
+ CreatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>, V_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_3, StatusEnum: V_3) => {
180
176
  amount: zod.ZodEffects<zod.ZodNumber, number, unknown>;
181
- currency: zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>;
182
- description: zod.ZodOptional<zod.ZodString>;
183
- metadata: zod.ZodOptional<zod.ZodUnknown>;
184
- successRedirectUri: zod.ZodString;
185
- cancelRedirectUri: zod.ZodString;
186
- expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
187
- status: zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>;
188
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
177
+ paymentMethods: zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">;
178
+ currency: zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>;
179
+ status: zod.ZodUnion<[{ [K_2 in keyof V_3]: zod.ZodLiteral<V_3[K_2]>; }[keyof V_3]]>;
180
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
189
181
  };
190
- UpdatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U_4) => {
182
+ UpdatePaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>, V_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_4, StatusEnum: V_4) => {
191
183
  id: zod.ZodString;
192
184
  amount: zod.ZodOptional<zod.ZodEffects<zod.ZodNumber, number, unknown>>;
193
- currency: zod.ZodOptional<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>>;
194
- description: zod.ZodOptional<zod.ZodString>;
195
- metadata: zod.ZodOptional<zod.ZodUnknown>;
196
- successRedirectUri: zod.ZodOptional<zod.ZodString>;
197
- cancelRedirectUri: zod.ZodOptional<zod.ZodString>;
198
- expiresAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
199
- status: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
200
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
185
+ paymentMethods: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">>;
186
+ currency: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
187
+ status: zod.ZodOptional<zod.ZodUnion<[{ [K_2 in keyof V_4]: zod.ZodLiteral<V_4[K_2]>; }[keyof V_4]]>>;
188
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
201
189
  };
202
- PaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(CurrencyEnum: T, StatusEnum: U_5) => {
190
+ PaymentLinkSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>, V_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PaymentMethodEnum: T, CurrencyEnum: U_5, StatusEnum: V_5) => {
203
191
  id: zod.ZodString;
204
192
  amount: zod.ZodEffects<zod.ZodNumber, number, unknown>;
205
- currency: zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>;
206
- description: zod.ZodOptional<zod.ZodString>;
207
- metadata: zod.ZodOptional<zod.ZodUnknown>;
208
- successRedirectUri: zod.ZodString;
209
- cancelRedirectUri: zod.ZodString;
210
- expiresAt: zod.ZodEffects<zod.ZodDate, Date, unknown>;
211
- status: zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>;
212
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
193
+ paymentMethods: zod.ZodArray<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>, "many">;
194
+ currency: zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>;
195
+ status: zod.ZodUnion<[{ [K_2 in keyof V_5]: zod.ZodLiteral<V_5[K_2]>; }[keyof V_5]]>;
196
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
213
197
  createdAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
214
198
  updatedAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
215
199
  };
@@ -219,83 +203,89 @@ declare const BasePlanServiceSchemas: <SchemaValidator extends _forklaunch_valid
219
203
  uuidId: boolean;
220
204
  } & {
221
205
  validator: SchemaValidator;
222
- }) => _forklaunch_core_mappers.SchemasByValidator<SchemaValidator, (options: {
206
+ }) => _forklaunch_internal.SchemasByValidator<SchemaValidator, (options: {
223
207
  uuidId: boolean;
224
208
  }) => {
225
- CreatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U) => {
209
+ CreatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>, V extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U, BillingProviderEnum: V) => {
226
210
  name: _sinclair_typebox.TString;
227
211
  description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
228
212
  price: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>;
229
213
  cadence: _sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>;
230
- features: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
231
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
214
+ currency: _sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>;
215
+ features: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
232
216
  externalId: _sinclair_typebox.TString;
233
- billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>>;
217
+ billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_2 in keyof V]: _sinclair_typebox.TLiteral<V[K_2]>; }[keyof V]]>>;
234
218
  active: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TString]>, boolean>;
219
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
235
220
  };
236
- UpdatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U_1) => {
221
+ UpdatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>, V_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U_1, BillingProviderEnum: V_1) => {
237
222
  id: _sinclair_typebox.TString;
238
223
  name: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
239
224
  description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
240
225
  price: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>>;
241
226
  cadence: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>>;
227
+ currency: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
242
228
  features: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
243
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
244
229
  externalId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
245
- billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
230
+ billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_2 in keyof V_1]: _sinclair_typebox.TLiteral<V_1[K_2]>; }[keyof V_1]]>>;
246
231
  active: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TString]>, boolean>>;
232
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
247
233
  };
248
- PlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U_2) => {
234
+ PlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>, V_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U_2, BillingProviderEnum: V_2) => {
249
235
  id: _sinclair_typebox.TString;
250
236
  name: _sinclair_typebox.TString;
251
237
  description: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
252
238
  price: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString, _sinclair_typebox.TBoolean, _sinclair_typebox.TNull, _sinclair_typebox.TBigInt, _sinclair_typebox.TDate]>, number>;
253
239
  cadence: _sinclair_typebox.TUnion<[{ [K in keyof T]: _sinclair_typebox.TLiteral<T[K]>; }[keyof T]]>;
240
+ currency: _sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>;
254
241
  features: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
255
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
256
242
  externalId: _sinclair_typebox.TString;
257
- billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>>;
243
+ billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_2 in keyof V_2]: _sinclair_typebox.TLiteral<V_2[K_2]>; }[keyof V_2]]>>;
258
244
  active: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TString]>, boolean>;
245
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
259
246
  createdAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
260
247
  updatedAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
261
248
  };
262
249
  }, (options: {
263
250
  uuidId: boolean;
264
251
  }) => {
265
- CreatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U_3) => {
252
+ CreatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_3 extends Record<string, _forklaunch_validator.LiteralSchema>, V_3 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U_3, BillingProviderEnum: V_3) => {
266
253
  name: zod.ZodString;
267
254
  description: zod.ZodOptional<zod.ZodString>;
268
255
  price: zod.ZodEffects<zod.ZodNumber, number, unknown>;
269
256
  cadence: zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>;
270
- features: zod.ZodArray<zod.ZodString, "many">;
271
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
257
+ currency: zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>;
258
+ features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
272
259
  externalId: zod.ZodString;
273
- billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>>;
260
+ billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_2 in keyof V_3]: zod.ZodLiteral<V_3[K_2]>; }[keyof V_3]]>>;
274
261
  active: zod.ZodEffects<zod.ZodBoolean, boolean, unknown>;
262
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
275
263
  };
276
- UpdatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U_4) => {
264
+ UpdatePlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>, V_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U_4, BillingProviderEnum: V_4) => {
277
265
  id: zod.ZodString;
278
266
  name: zod.ZodOptional<zod.ZodString>;
279
267
  description: zod.ZodOptional<zod.ZodString>;
280
268
  price: zod.ZodOptional<zod.ZodEffects<zod.ZodNumber, number, unknown>>;
281
269
  cadence: zod.ZodOptional<zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>>;
270
+ currency: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
282
271
  features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
283
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
284
272
  externalId: zod.ZodOptional<zod.ZodString>;
285
- billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
273
+ billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_2 in keyof V_4]: zod.ZodLiteral<V_4[K_2]>; }[keyof V_4]]>>;
286
274
  active: zod.ZodOptional<zod.ZodEffects<zod.ZodBoolean, boolean, unknown>>;
275
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
287
276
  };
288
- PlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, BillingProviderEnum: U_5) => {
277
+ PlanSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>, V_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PlanCadenceEnum: T, CurrencyEnum: U_5, BillingProviderEnum: V_5) => {
289
278
  id: zod.ZodString;
290
279
  name: zod.ZodString;
291
280
  description: zod.ZodOptional<zod.ZodString>;
292
281
  price: zod.ZodEffects<zod.ZodNumber, number, unknown>;
293
282
  cadence: zod.ZodUnion<[{ [K in keyof T]: zod.ZodLiteral<T[K]>; }[keyof T]]>;
283
+ currency: zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>;
294
284
  features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
295
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
296
285
  externalId: zod.ZodString;
297
- billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>>;
286
+ billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_2 in keyof V_5]: zod.ZodLiteral<V_5[K_2]>; }[keyof V_5]]>>;
298
287
  active: zod.ZodEffects<zod.ZodBoolean, boolean, unknown>;
288
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
299
289
  createdAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
300
290
  updatedAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
301
291
  };
@@ -305,7 +295,7 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
305
295
  uuidId: boolean;
306
296
  } & {
307
297
  validator: SchemaValidator;
308
- }) => _forklaunch_core_mappers.SchemasByValidator<SchemaValidator, (options: {
298
+ }) => _forklaunch_internal.SchemasByValidator<SchemaValidator, (options: {
309
299
  uuidId: boolean;
310
300
  }) => {
311
301
  CreateSubscriptionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U extends Record<string, _forklaunch_validator.LiteralSchema>>(PartyEnum: T, BillingProviderEnum: U) => {
@@ -316,10 +306,10 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
316
306
  active: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TString]>, boolean>;
317
307
  externalId: _sinclair_typebox.TString;
318
308
  startDate: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
319
- endDate: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
309
+ endDate: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
320
310
  status: _sinclair_typebox.TString;
321
311
  billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U]: _sinclair_typebox.TLiteral<U[K_1]>; }[keyof U]]>>;
322
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
312
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
323
313
  };
324
314
  UpdateSubscriptionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_1 extends Record<string, _forklaunch_validator.LiteralSchema>>(PartyEnum: T, BillingProviderEnum: U_1) => {
325
315
  id: _sinclair_typebox.TString;
@@ -333,7 +323,7 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
333
323
  endDate: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
334
324
  status: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
335
325
  billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_1]: _sinclair_typebox.TLiteral<U_1[K_1]>; }[keyof U_1]]>>;
336
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
326
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
337
327
  };
338
328
  SubscriptionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_2 extends Record<string, _forklaunch_validator.LiteralSchema>>(PartyEnum: T, BillingProviderEnum: U_2) => {
339
329
  id: _sinclair_typebox.TString;
@@ -344,10 +334,10 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
344
334
  active: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TString]>, boolean>;
345
335
  externalId: _sinclair_typebox.TString;
346
336
  startDate: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
347
- endDate: _sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>;
337
+ endDate: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
348
338
  status: _sinclair_typebox.TString;
349
339
  billingProvider: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[{ [K_1 in keyof U_2]: _sinclair_typebox.TLiteral<U_2[K_1]>; }[keyof U_2]]>>;
350
- extraFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
340
+ providerFields: _sinclair_typebox.TOptional<_sinclair_typebox.TUnknown>;
351
341
  createdAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
352
342
  updatedAt: _sinclair_typebox.TOptional<_sinclair_typebox.TTransform<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TDate]>, Date>>;
353
343
  };
@@ -362,10 +352,10 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
362
352
  active: zod.ZodEffects<zod.ZodBoolean, boolean, unknown>;
363
353
  externalId: zod.ZodString;
364
354
  startDate: zod.ZodEffects<zod.ZodDate, Date, unknown>;
365
- endDate: zod.ZodEffects<zod.ZodDate, Date, unknown>;
355
+ endDate: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
366
356
  status: zod.ZodString;
367
357
  billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_3]: zod.ZodLiteral<U_3[K_1]>; }[keyof U_3]]>>;
368
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
358
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
369
359
  };
370
360
  UpdateSubscriptionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_4 extends Record<string, _forklaunch_validator.LiteralSchema>>(PartyEnum: T, BillingProviderEnum: U_4) => {
371
361
  id: zod.ZodString;
@@ -379,7 +369,7 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
379
369
  endDate: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
380
370
  status: zod.ZodOptional<zod.ZodString>;
381
371
  billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_4]: zod.ZodLiteral<U_4[K_1]>; }[keyof U_4]]>>;
382
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
372
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
383
373
  };
384
374
  SubscriptionSchema: <T extends Record<string, _forklaunch_validator.LiteralSchema>, U_5 extends Record<string, _forklaunch_validator.LiteralSchema>>(PartyEnum: T, BillingProviderEnum: U_5) => {
385
375
  id: zod.ZodString;
@@ -390,10 +380,10 @@ declare const BaseSubscriptionServiceSchemas: <SchemaValidator extends _forklaun
390
380
  active: zod.ZodEffects<zod.ZodBoolean, boolean, unknown>;
391
381
  externalId: zod.ZodString;
392
382
  startDate: zod.ZodEffects<zod.ZodDate, Date, unknown>;
393
- endDate: zod.ZodEffects<zod.ZodDate, Date, unknown>;
383
+ endDate: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
394
384
  status: zod.ZodString;
395
385
  billingProvider: zod.ZodOptional<zod.ZodUnion<[{ [K_1 in keyof U_5]: zod.ZodLiteral<U_5[K_1]>; }[keyof U_5]]>>;
396
- extraFields: zod.ZodOptional<zod.ZodUnknown>;
386
+ providerFields: zod.ZodOptional<zod.ZodUnknown>;
397
387
  createdAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
398
388
  updatedAt: zod.ZodOptional<zod.ZodEffects<zod.ZodDate, Date, unknown>>;
399
389
  };