@forklaunch/implementation-billing-base 0.9.0 → 1.0.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/types/index.d.mts +295 -108
- package/lib/domain/types/index.d.ts +295 -108
- package/lib/eject/domain/types/baseBillingEntity.types.ts +6 -6
- package/lib/eject/services/billingPortal.service.ts +3 -6
- package/lib/eject/services/checkoutSession.service.ts +2 -5
- package/lib/eject/services/paymentLink.service.ts +2 -1
- package/lib/eject/services/plan.service.ts +2 -1
- package/lib/eject/services/subscription.service.ts +6 -3
- package/lib/services/index.d.mts +1 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +1 -3
- package/lib/services/index.mjs +1 -3
- package/package.json +9 -9
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BillingPortalDto, CreateBillingPortalDto, UpdateBillingPortalDto, CheckoutSessionDto, CreateCheckoutSessionDto, UpdateCheckoutSessionDto, PaymentLinkDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, PlanDto, CreatePlanDto, UpdatePlanDto, SubscriptionDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
2
|
+
import * as _forklaunch_core_persistence from '@forklaunch/core/persistence';
|
|
2
3
|
import * as _mikro_orm_core from '@mikro-orm/core';
|
|
3
4
|
import { InferEntity, EntityManager } from '@mikro-orm/core';
|
|
4
5
|
|
|
@@ -29,153 +30,339 @@ type BaseSubscriptionDtos<PartyType, BillingProviderType> = {
|
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
declare const BillingPortal: _mikro_orm_core.EntitySchemaWithMeta<"BillingPortal", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
32
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
33
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
33
34
|
primary: true;
|
|
34
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
35
|
-
|
|
35
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
36
|
+
primary: true;
|
|
37
|
+
}>;
|
|
38
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
36
39
|
}, undefined, never, never, false>, never, {
|
|
37
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
40
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
41
|
+
primary: true;
|
|
42
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
38
43
|
primary: true;
|
|
39
|
-
}
|
|
40
|
-
readonly customerId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
44
|
+
}>;
|
|
45
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
41
46
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
42
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
47
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
43
48
|
primary: true;
|
|
44
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
45
|
-
|
|
49
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
50
|
+
primary: true;
|
|
51
|
+
}>;
|
|
52
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
46
53
|
}, undefined, never, never, false>>>;
|
|
47
54
|
declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
48
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
55
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
56
|
+
primary: true;
|
|
57
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
49
58
|
primary: true;
|
|
50
|
-
}
|
|
51
|
-
readonly customerId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
52
|
-
readonly paymentMethods:
|
|
59
|
+
}>;
|
|
60
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
61
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
62
|
+
kind: "enum";
|
|
63
|
+
}, "array"> & {
|
|
53
64
|
array: true;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
66
|
+
kind: "enum";
|
|
67
|
+
}, "array"> & {
|
|
68
|
+
array: true;
|
|
69
|
+
}>;
|
|
70
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
71
|
+
kind: "enum";
|
|
72
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
73
|
+
kind: "enum";
|
|
74
|
+
}>;
|
|
75
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
76
|
+
kind: "enum";
|
|
77
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
78
|
+
kind: "enum";
|
|
79
|
+
}>;
|
|
57
80
|
}, undefined, never, never, false>, never, {
|
|
58
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
81
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
82
|
+
primary: true;
|
|
83
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
59
84
|
primary: true;
|
|
60
|
-
}
|
|
61
|
-
readonly customerId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
62
|
-
readonly paymentMethods:
|
|
85
|
+
}>;
|
|
86
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
87
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
88
|
+
kind: "enum";
|
|
89
|
+
}, "array"> & {
|
|
90
|
+
array: true;
|
|
91
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
92
|
+
kind: "enum";
|
|
93
|
+
}, "array"> & {
|
|
63
94
|
array: true;
|
|
64
|
-
}
|
|
65
|
-
readonly currency: _mikro_orm_core.
|
|
66
|
-
|
|
95
|
+
}>;
|
|
96
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
97
|
+
kind: "enum";
|
|
98
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
99
|
+
kind: "enum";
|
|
100
|
+
}>;
|
|
101
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
102
|
+
kind: "enum";
|
|
103
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
104
|
+
kind: "enum";
|
|
105
|
+
}>;
|
|
67
106
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
68
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
107
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
69
108
|
primary: true;
|
|
70
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
71
|
-
|
|
72
|
-
|
|
109
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
110
|
+
primary: true;
|
|
111
|
+
}>;
|
|
112
|
+
readonly customerId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
113
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
114
|
+
kind: "enum";
|
|
115
|
+
}, "array"> & {
|
|
116
|
+
array: true;
|
|
117
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
118
|
+
kind: "enum";
|
|
119
|
+
}, "array"> & {
|
|
73
120
|
array: true;
|
|
74
|
-
}
|
|
75
|
-
readonly currency: _mikro_orm_core.
|
|
76
|
-
|
|
121
|
+
}>;
|
|
122
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
123
|
+
kind: "enum";
|
|
124
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
125
|
+
kind: "enum";
|
|
126
|
+
}>;
|
|
127
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
128
|
+
kind: "enum";
|
|
129
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
130
|
+
kind: "enum";
|
|
131
|
+
}>;
|
|
77
132
|
}, undefined, never, never, false>>>;
|
|
78
133
|
declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
79
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
134
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
80
135
|
primary: true;
|
|
81
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
82
|
-
|
|
83
|
-
|
|
136
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
137
|
+
primary: true;
|
|
138
|
+
}>;
|
|
139
|
+
readonly amount: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
140
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
141
|
+
kind: "enum";
|
|
142
|
+
}, "array"> & {
|
|
143
|
+
array: true;
|
|
144
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
145
|
+
kind: "enum";
|
|
146
|
+
}, "array"> & {
|
|
84
147
|
array: true;
|
|
85
|
-
}
|
|
86
|
-
readonly currency: _mikro_orm_core.
|
|
87
|
-
|
|
148
|
+
}>;
|
|
149
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
150
|
+
kind: "enum";
|
|
151
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
152
|
+
kind: "enum";
|
|
153
|
+
}>;
|
|
154
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
155
|
+
kind: "enum";
|
|
156
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
157
|
+
kind: "enum";
|
|
158
|
+
}>;
|
|
88
159
|
}, undefined, never, never, false>, never, {
|
|
89
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
160
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
90
161
|
primary: true;
|
|
91
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
92
|
-
|
|
93
|
-
|
|
162
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
163
|
+
primary: true;
|
|
164
|
+
}>;
|
|
165
|
+
readonly amount: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
166
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
167
|
+
kind: "enum";
|
|
168
|
+
}, "array"> & {
|
|
169
|
+
array: true;
|
|
170
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
171
|
+
kind: "enum";
|
|
172
|
+
}, "array"> & {
|
|
94
173
|
array: true;
|
|
95
|
-
}
|
|
96
|
-
readonly currency: _mikro_orm_core.
|
|
97
|
-
|
|
174
|
+
}>;
|
|
175
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
176
|
+
kind: "enum";
|
|
177
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
178
|
+
kind: "enum";
|
|
179
|
+
}>;
|
|
180
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
181
|
+
kind: "enum";
|
|
182
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
183
|
+
kind: "enum";
|
|
184
|
+
}>;
|
|
98
185
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
99
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
186
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
187
|
+
primary: true;
|
|
188
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
100
189
|
primary: true;
|
|
101
|
-
}
|
|
102
|
-
readonly amount: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
103
|
-
readonly paymentMethods:
|
|
190
|
+
}>;
|
|
191
|
+
readonly amount: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
192
|
+
readonly paymentMethods: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
193
|
+
kind: "enum";
|
|
194
|
+
}, "array"> & {
|
|
104
195
|
array: true;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
196
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
197
|
+
kind: "enum";
|
|
198
|
+
}, "array"> & {
|
|
199
|
+
array: true;
|
|
200
|
+
}>;
|
|
201
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
202
|
+
kind: "enum";
|
|
203
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
204
|
+
kind: "enum";
|
|
205
|
+
}>;
|
|
206
|
+
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
207
|
+
kind: "enum";
|
|
208
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
209
|
+
kind: "enum";
|
|
210
|
+
}>;
|
|
108
211
|
}, undefined, never, never, false>>>;
|
|
109
212
|
declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
110
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
213
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
214
|
+
primary: true;
|
|
215
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
111
216
|
primary: true;
|
|
112
|
-
}
|
|
113
|
-
readonly name: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
114
|
-
readonly price: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
115
|
-
readonly externalId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
116
|
-
readonly cadence: _mikro_orm_core.
|
|
117
|
-
|
|
118
|
-
|
|
217
|
+
}>;
|
|
218
|
+
readonly name: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
219
|
+
readonly price: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
220
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
221
|
+
readonly cadence: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
222
|
+
kind: "enum";
|
|
223
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
224
|
+
kind: "enum";
|
|
225
|
+
}>;
|
|
226
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
227
|
+
kind: "enum";
|
|
228
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
229
|
+
kind: "enum";
|
|
230
|
+
}>;
|
|
231
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
232
|
+
kind: "enum";
|
|
233
|
+
}, "nullable"> & {
|
|
119
234
|
nullable: true;
|
|
120
|
-
}
|
|
235
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
236
|
+
kind: "enum";
|
|
237
|
+
}, "nullable"> & {
|
|
238
|
+
nullable: true;
|
|
239
|
+
}>;
|
|
121
240
|
}, undefined, never, never, false>, never, {
|
|
122
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
241
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
242
|
+
primary: true;
|
|
243
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
123
244
|
primary: true;
|
|
124
|
-
}
|
|
125
|
-
readonly name: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
126
|
-
readonly price: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
127
|
-
readonly externalId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
128
|
-
readonly cadence: _mikro_orm_core.
|
|
129
|
-
|
|
130
|
-
|
|
245
|
+
}>;
|
|
246
|
+
readonly name: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
247
|
+
readonly price: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
248
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
249
|
+
readonly cadence: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
250
|
+
kind: "enum";
|
|
251
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
252
|
+
kind: "enum";
|
|
253
|
+
}>;
|
|
254
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
255
|
+
kind: "enum";
|
|
256
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
257
|
+
kind: "enum";
|
|
258
|
+
}>;
|
|
259
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
260
|
+
kind: "enum";
|
|
261
|
+
}, "nullable"> & {
|
|
131
262
|
nullable: true;
|
|
132
|
-
}
|
|
263
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
264
|
+
kind: "enum";
|
|
265
|
+
}, "nullable"> & {
|
|
266
|
+
nullable: true;
|
|
267
|
+
}>;
|
|
133
268
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
134
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
269
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
270
|
+
primary: true;
|
|
271
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
135
272
|
primary: true;
|
|
136
|
-
}
|
|
137
|
-
readonly name: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
138
|
-
readonly price: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
139
|
-
readonly externalId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
140
|
-
readonly cadence: _mikro_orm_core.
|
|
141
|
-
|
|
142
|
-
|
|
273
|
+
}>;
|
|
274
|
+
readonly name: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
275
|
+
readonly price: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<string | number>, _mikro_orm_core.EmptyOptions>;
|
|
276
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
277
|
+
readonly cadence: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
278
|
+
kind: "enum";
|
|
279
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
280
|
+
kind: "enum";
|
|
281
|
+
}>;
|
|
282
|
+
readonly currency: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
283
|
+
kind: "enum";
|
|
284
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
285
|
+
kind: "enum";
|
|
286
|
+
}>;
|
|
287
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
288
|
+
kind: "enum";
|
|
289
|
+
}, "nullable"> & {
|
|
290
|
+
nullable: true;
|
|
291
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
292
|
+
kind: "enum";
|
|
293
|
+
}, "nullable"> & {
|
|
143
294
|
nullable: true;
|
|
144
|
-
}
|
|
295
|
+
}>;
|
|
145
296
|
}, undefined, never, never, false>>>;
|
|
146
297
|
declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
147
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
298
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
148
299
|
primary: true;
|
|
149
|
-
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
300
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
301
|
+
primary: true;
|
|
302
|
+
}>;
|
|
303
|
+
readonly partyId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
304
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
305
|
+
readonly partyType: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
306
|
+
kind: "enum";
|
|
307
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
308
|
+
kind: "enum";
|
|
309
|
+
}>;
|
|
310
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
311
|
+
kind: "enum";
|
|
312
|
+
}, "nullable"> & {
|
|
313
|
+
nullable: true;
|
|
314
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
315
|
+
kind: "enum";
|
|
316
|
+
}, "nullable"> & {
|
|
154
317
|
nullable: true;
|
|
155
|
-
}
|
|
156
|
-
readonly active: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
318
|
+
}>;
|
|
319
|
+
readonly active: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions>;
|
|
157
320
|
}, undefined, never, never, false>, never, {
|
|
158
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
321
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
322
|
+
primary: true;
|
|
323
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
159
324
|
primary: true;
|
|
160
|
-
}
|
|
161
|
-
readonly partyId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
162
|
-
readonly externalId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
163
|
-
readonly partyType: _mikro_orm_core.
|
|
164
|
-
|
|
325
|
+
}>;
|
|
326
|
+
readonly partyId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
327
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
328
|
+
readonly partyType: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
329
|
+
kind: "enum";
|
|
330
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
331
|
+
kind: "enum";
|
|
332
|
+
}>;
|
|
333
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
334
|
+
kind: "enum";
|
|
335
|
+
}, "nullable"> & {
|
|
165
336
|
nullable: true;
|
|
166
|
-
}
|
|
167
|
-
|
|
337
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
338
|
+
kind: "enum";
|
|
339
|
+
}, "nullable"> & {
|
|
340
|
+
nullable: true;
|
|
341
|
+
}>;
|
|
342
|
+
readonly active: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions>;
|
|
168
343
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
169
|
-
readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
344
|
+
readonly id: _forklaunch_core_persistence.ClassifiedProperty<Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
345
|
+
primary: true;
|
|
346
|
+
}, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
170
347
|
primary: true;
|
|
171
|
-
}
|
|
172
|
-
readonly partyId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
173
|
-
readonly externalId: _mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
174
|
-
readonly partyType: _mikro_orm_core.
|
|
175
|
-
|
|
348
|
+
}>;
|
|
349
|
+
readonly partyId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
350
|
+
readonly externalId: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, string, _mikro_orm_core.EmptyOptions>;
|
|
351
|
+
readonly partyType: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
352
|
+
kind: "enum";
|
|
353
|
+
}>, any, _mikro_orm_core.EmptyOptions & {
|
|
354
|
+
kind: "enum";
|
|
355
|
+
}>;
|
|
356
|
+
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
357
|
+
kind: "enum";
|
|
358
|
+
}, "nullable"> & {
|
|
359
|
+
nullable: true;
|
|
360
|
+
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
361
|
+
kind: "enum";
|
|
362
|
+
}, "nullable"> & {
|
|
176
363
|
nullable: true;
|
|
177
|
-
}
|
|
178
|
-
readonly active: _mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
364
|
+
}>;
|
|
365
|
+
readonly active: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions>;
|
|
179
366
|
}, undefined, never, never, false>>>;
|
|
180
367
|
|
|
181
368
|
type BaseBillingEntities = {
|
|
@@ -240,21 +427,21 @@ type BasePlanEntities<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = {
|
|
|
240
427
|
'~entity': (typeof Plan)['~entity'] & {
|
|
241
428
|
cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
|
|
242
429
|
currency: CurrencyEnum[keyof CurrencyEnum];
|
|
243
|
-
billingProvider: BillingProviderEnum[keyof BillingProviderEnum]
|
|
430
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
244
431
|
};
|
|
245
432
|
};
|
|
246
433
|
CreatePlanMapper: {
|
|
247
434
|
'~entity': (typeof Plan)['~entity'] & {
|
|
248
435
|
cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
|
|
249
436
|
currency: CurrencyEnum[keyof CurrencyEnum];
|
|
250
|
-
billingProvider: BillingProviderEnum[keyof BillingProviderEnum]
|
|
437
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
251
438
|
};
|
|
252
439
|
};
|
|
253
440
|
UpdatePlanMapper: {
|
|
254
441
|
'~entity': (typeof Plan)['~entity'] & {
|
|
255
442
|
cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
|
|
256
443
|
currency: CurrencyEnum[keyof CurrencyEnum];
|
|
257
|
-
billingProvider: BillingProviderEnum[keyof BillingProviderEnum]
|
|
444
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
258
445
|
};
|
|
259
446
|
};
|
|
260
447
|
};
|
|
@@ -262,19 +449,19 @@ type BaseSubscriptionEntities<PartyType, BillingProviderType> = {
|
|
|
262
449
|
SubscriptionMapper: {
|
|
263
450
|
'~entity': (typeof Subscription)['~entity'] & {
|
|
264
451
|
partyType: PartyType[keyof PartyType];
|
|
265
|
-
billingProvider: BillingProviderType[keyof BillingProviderType]
|
|
452
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
266
453
|
};
|
|
267
454
|
};
|
|
268
455
|
CreateSubscriptionMapper: {
|
|
269
456
|
'~entity': (typeof Subscription)['~entity'] & {
|
|
270
457
|
partyType: PartyType[keyof PartyType];
|
|
271
|
-
billingProvider: BillingProviderType[keyof BillingProviderType]
|
|
458
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
272
459
|
};
|
|
273
460
|
};
|
|
274
461
|
UpdateSubscriptionMapper: {
|
|
275
462
|
'~entity': (typeof Subscription)['~entity'] & {
|
|
276
463
|
partyType: PartyType[keyof PartyType];
|
|
277
|
-
billingProvider: BillingProviderType[keyof BillingProviderType]
|
|
464
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
278
465
|
};
|
|
279
466
|
};
|
|
280
467
|
};
|