@forklaunch/implementation-billing-stripe 1.1.3 → 1.1.5
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 +318 -247
- package/lib/domain/types/index.d.ts +318 -247
- package/lib/services/index.d.mts +0 -1
- package/lib/services/index.d.ts +0 -1
- package/package.json +8 -8
|
@@ -3,7 +3,6 @@ import { InferEntity, EntityManager } from '@mikro-orm/core';
|
|
|
3
3
|
import Stripe__default from 'stripe';
|
|
4
4
|
import { BillingPortalDto, CreateBillingPortalDto, UpdateBillingPortalDto, CheckoutSessionDto, CreateCheckoutSessionDto, UpdateCheckoutSessionDto, PaymentLinkDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, PlanDto, CreatePlanDto, UpdatePlanDto, SubscriptionDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
5
5
|
import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from '../enum/index.js';
|
|
6
|
-
import * as _forklaunch_core_persistence from '@forklaunch/core/persistence';
|
|
7
6
|
|
|
8
7
|
type BillingPortalOmissions = 'customer';
|
|
9
8
|
type StripeCreateBillingPortalDto = Omit<CreateBillingPortalDto, 'providerFields'> & {
|
|
@@ -83,330 +82,402 @@ type StripeSubscriptionDtos<PartyType> = {
|
|
|
83
82
|
};
|
|
84
83
|
|
|
85
84
|
declare const BillingPortal: _mikro_orm_core.EntitySchemaWithMeta<"BillingPortal", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
86
|
-
readonly id:
|
|
85
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
87
86
|
primary: true;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
readonly customerId:
|
|
92
|
-
|
|
87
|
+
}> & {
|
|
88
|
+
readonly __classified: true;
|
|
89
|
+
};
|
|
90
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
91
|
+
readonly __classified: true;
|
|
92
|
+
};
|
|
93
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.BillingPortal.Session, _mikro_orm_core.EmptyOptions> & {
|
|
94
|
+
readonly __classified: true;
|
|
95
|
+
};
|
|
93
96
|
}, undefined, never, never, false>, never, {
|
|
94
|
-
readonly id:
|
|
95
|
-
primary: true;
|
|
96
|
-
}, 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"> & {
|
|
97
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
97
98
|
primary: true;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
}> & {
|
|
100
|
+
readonly __classified: true;
|
|
101
|
+
};
|
|
102
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
103
|
+
readonly __classified: true;
|
|
104
|
+
};
|
|
105
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.BillingPortal.Session, _mikro_orm_core.EmptyOptions> & {
|
|
106
|
+
readonly __classified: true;
|
|
107
|
+
};
|
|
101
108
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
102
|
-
readonly id:
|
|
109
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
103
110
|
primary: true;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
readonly customerId:
|
|
108
|
-
|
|
111
|
+
}> & {
|
|
112
|
+
readonly __classified: true;
|
|
113
|
+
};
|
|
114
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
115
|
+
readonly __classified: true;
|
|
116
|
+
};
|
|
117
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.BillingPortal.Session, _mikro_orm_core.EmptyOptions> & {
|
|
118
|
+
readonly __classified: true;
|
|
119
|
+
};
|
|
109
120
|
}, undefined, never, never, false>>>;
|
|
110
121
|
declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
111
|
-
readonly id:
|
|
112
|
-
primary: true;
|
|
113
|
-
}, 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"> & {
|
|
122
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
114
123
|
primary: true;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
}> & {
|
|
125
|
+
readonly __classified: true;
|
|
126
|
+
};
|
|
127
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
128
|
+
readonly __classified: true;
|
|
129
|
+
};
|
|
130
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
122
131
|
kind: "enum";
|
|
123
132
|
}, "array"> & {
|
|
124
133
|
array: true;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
kind: "enum";
|
|
130
|
-
}>;
|
|
131
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
134
|
+
}> & {
|
|
135
|
+
readonly __classified: true;
|
|
136
|
+
};
|
|
137
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
132
138
|
kind: "enum";
|
|
133
|
-
}
|
|
139
|
+
}> & {
|
|
140
|
+
readonly __classified: true;
|
|
141
|
+
};
|
|
142
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
134
143
|
kind: "enum";
|
|
135
|
-
}
|
|
136
|
-
|
|
144
|
+
}> & {
|
|
145
|
+
readonly __classified: true;
|
|
146
|
+
};
|
|
147
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Checkout.Session, _mikro_orm_core.EmptyOptions> & {
|
|
148
|
+
readonly __classified: true;
|
|
149
|
+
};
|
|
137
150
|
}, undefined, never, never, false>, never, {
|
|
138
|
-
readonly id:
|
|
151
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
139
152
|
primary: true;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
readonly customerId:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
array: true;
|
|
148
|
-
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
153
|
+
}> & {
|
|
154
|
+
readonly __classified: true;
|
|
155
|
+
};
|
|
156
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
157
|
+
readonly __classified: true;
|
|
158
|
+
};
|
|
159
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
149
160
|
kind: "enum";
|
|
150
161
|
}, "array"> & {
|
|
151
162
|
array: true;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
kind: "enum";
|
|
157
|
-
}>;
|
|
158
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
163
|
+
}> & {
|
|
164
|
+
readonly __classified: true;
|
|
165
|
+
};
|
|
166
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
159
167
|
kind: "enum";
|
|
160
|
-
}
|
|
168
|
+
}> & {
|
|
169
|
+
readonly __classified: true;
|
|
170
|
+
};
|
|
171
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
161
172
|
kind: "enum";
|
|
162
|
-
}
|
|
163
|
-
|
|
173
|
+
}> & {
|
|
174
|
+
readonly __classified: true;
|
|
175
|
+
};
|
|
176
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Checkout.Session, _mikro_orm_core.EmptyOptions> & {
|
|
177
|
+
readonly __classified: true;
|
|
178
|
+
};
|
|
164
179
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
165
|
-
readonly id:
|
|
180
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
166
181
|
primary: true;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
readonly customerId:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
array: true;
|
|
175
|
-
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
182
|
+
}> & {
|
|
183
|
+
readonly __classified: true;
|
|
184
|
+
};
|
|
185
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
186
|
+
readonly __classified: true;
|
|
187
|
+
};
|
|
188
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
176
189
|
kind: "enum";
|
|
177
190
|
}, "array"> & {
|
|
178
191
|
array: true;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
kind: "enum";
|
|
184
|
-
}>;
|
|
185
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
192
|
+
}> & {
|
|
193
|
+
readonly __classified: true;
|
|
194
|
+
};
|
|
195
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
186
196
|
kind: "enum";
|
|
187
|
-
}
|
|
197
|
+
}> & {
|
|
198
|
+
readonly __classified: true;
|
|
199
|
+
};
|
|
200
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
188
201
|
kind: "enum";
|
|
189
|
-
}
|
|
190
|
-
|
|
202
|
+
}> & {
|
|
203
|
+
readonly __classified: true;
|
|
204
|
+
};
|
|
205
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Checkout.Session, _mikro_orm_core.EmptyOptions> & {
|
|
206
|
+
readonly __classified: true;
|
|
207
|
+
};
|
|
191
208
|
}, undefined, never, never, false>>>;
|
|
192
209
|
declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
193
|
-
readonly id:
|
|
210
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
194
211
|
primary: true;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
}
|
|
198
|
-
readonly amount:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
array: true;
|
|
203
|
-
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
212
|
+
}> & {
|
|
213
|
+
readonly __classified: true;
|
|
214
|
+
};
|
|
215
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
216
|
+
readonly __classified: true;
|
|
217
|
+
};
|
|
218
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
204
219
|
kind: "enum";
|
|
205
220
|
}, "array"> & {
|
|
206
221
|
array: true;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
kind: "enum";
|
|
212
|
-
}>;
|
|
213
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
222
|
+
}> & {
|
|
223
|
+
readonly __classified: true;
|
|
224
|
+
};
|
|
225
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
214
226
|
kind: "enum";
|
|
215
|
-
}
|
|
227
|
+
}> & {
|
|
228
|
+
readonly __classified: true;
|
|
229
|
+
};
|
|
230
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
216
231
|
kind: "enum";
|
|
217
|
-
}
|
|
218
|
-
|
|
232
|
+
}> & {
|
|
233
|
+
readonly __classified: true;
|
|
234
|
+
};
|
|
235
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.PaymentLink, _mikro_orm_core.EmptyOptions> & {
|
|
236
|
+
readonly __classified: true;
|
|
237
|
+
};
|
|
219
238
|
}, undefined, never, never, false>, never, {
|
|
220
|
-
readonly id:
|
|
239
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
221
240
|
primary: true;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
}
|
|
225
|
-
readonly amount:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
array: true;
|
|
230
|
-
}>, any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
241
|
+
}> & {
|
|
242
|
+
readonly __classified: true;
|
|
243
|
+
};
|
|
244
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
245
|
+
readonly __classified: true;
|
|
246
|
+
};
|
|
247
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
231
248
|
kind: "enum";
|
|
232
249
|
}, "array"> & {
|
|
233
250
|
array: true;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
kind: "enum";
|
|
239
|
-
}>;
|
|
240
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
251
|
+
}> & {
|
|
252
|
+
readonly __classified: true;
|
|
253
|
+
};
|
|
254
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
241
255
|
kind: "enum";
|
|
242
|
-
}
|
|
256
|
+
}> & {
|
|
257
|
+
readonly __classified: true;
|
|
258
|
+
};
|
|
259
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
243
260
|
kind: "enum";
|
|
244
|
-
}
|
|
245
|
-
|
|
261
|
+
}> & {
|
|
262
|
+
readonly __classified: true;
|
|
263
|
+
};
|
|
264
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.PaymentLink, _mikro_orm_core.EmptyOptions> & {
|
|
265
|
+
readonly __classified: true;
|
|
266
|
+
};
|
|
246
267
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
247
|
-
readonly id:
|
|
248
|
-
primary: true;
|
|
249
|
-
}, 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"> & {
|
|
268
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
250
269
|
primary: true;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
270
|
+
}> & {
|
|
271
|
+
readonly __classified: true;
|
|
272
|
+
};
|
|
273
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
274
|
+
readonly __classified: true;
|
|
275
|
+
};
|
|
276
|
+
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
258
277
|
kind: "enum";
|
|
259
278
|
}, "array"> & {
|
|
260
279
|
array: true;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
kind: "enum";
|
|
266
|
-
}>;
|
|
267
|
-
readonly status: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
280
|
+
}> & {
|
|
281
|
+
readonly __classified: true;
|
|
282
|
+
};
|
|
283
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
268
284
|
kind: "enum";
|
|
269
|
-
}
|
|
285
|
+
}> & {
|
|
286
|
+
readonly __classified: true;
|
|
287
|
+
};
|
|
288
|
+
readonly status: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
270
289
|
kind: "enum";
|
|
271
|
-
}
|
|
272
|
-
|
|
290
|
+
}> & {
|
|
291
|
+
readonly __classified: true;
|
|
292
|
+
};
|
|
293
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.PaymentLink, _mikro_orm_core.EmptyOptions> & {
|
|
294
|
+
readonly __classified: true;
|
|
295
|
+
};
|
|
273
296
|
}, undefined, never, never, false>>>;
|
|
274
297
|
declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
275
|
-
readonly id:
|
|
276
|
-
primary: true;
|
|
277
|
-
}, 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"> & {
|
|
298
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
278
299
|
primary: true;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
readonly
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
readonly
|
|
289
|
-
|
|
290
|
-
}
|
|
300
|
+
}> & {
|
|
301
|
+
readonly __classified: true;
|
|
302
|
+
};
|
|
303
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
304
|
+
readonly __classified: true;
|
|
305
|
+
};
|
|
306
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
307
|
+
readonly __classified: true;
|
|
308
|
+
};
|
|
309
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
310
|
+
readonly __classified: true;
|
|
311
|
+
};
|
|
312
|
+
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
291
313
|
kind: "enum";
|
|
292
|
-
}
|
|
293
|
-
|
|
314
|
+
}> & {
|
|
315
|
+
readonly __classified: true;
|
|
316
|
+
};
|
|
317
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
294
318
|
kind: "enum";
|
|
295
|
-
}
|
|
319
|
+
}> & {
|
|
320
|
+
readonly __classified: true;
|
|
321
|
+
};
|
|
322
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
296
323
|
kind: "enum";
|
|
297
|
-
}
|
|
298
|
-
|
|
324
|
+
}> & {
|
|
325
|
+
readonly __classified: true;
|
|
326
|
+
};
|
|
327
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Product, _mikro_orm_core.EmptyOptions> & {
|
|
328
|
+
readonly __classified: true;
|
|
329
|
+
};
|
|
299
330
|
}, undefined, never, never, false>, never, {
|
|
300
|
-
readonly id:
|
|
301
|
-
primary: true;
|
|
302
|
-
}, 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"> & {
|
|
331
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
303
332
|
primary: true;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
readonly
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
readonly
|
|
314
|
-
|
|
315
|
-
}
|
|
333
|
+
}> & {
|
|
334
|
+
readonly __classified: true;
|
|
335
|
+
};
|
|
336
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
337
|
+
readonly __classified: true;
|
|
338
|
+
};
|
|
339
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
340
|
+
readonly __classified: true;
|
|
341
|
+
};
|
|
342
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
343
|
+
readonly __classified: true;
|
|
344
|
+
};
|
|
345
|
+
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
316
346
|
kind: "enum";
|
|
317
|
-
}
|
|
318
|
-
|
|
347
|
+
}> & {
|
|
348
|
+
readonly __classified: true;
|
|
349
|
+
};
|
|
350
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
319
351
|
kind: "enum";
|
|
320
|
-
}
|
|
352
|
+
}> & {
|
|
353
|
+
readonly __classified: true;
|
|
354
|
+
};
|
|
355
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
321
356
|
kind: "enum";
|
|
322
|
-
}
|
|
323
|
-
|
|
357
|
+
}> & {
|
|
358
|
+
readonly __classified: true;
|
|
359
|
+
};
|
|
360
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Product, _mikro_orm_core.EmptyOptions> & {
|
|
361
|
+
readonly __classified: true;
|
|
362
|
+
};
|
|
324
363
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
325
|
-
readonly id:
|
|
326
|
-
primary: true;
|
|
327
|
-
}, 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"> & {
|
|
364
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
328
365
|
primary: true;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
readonly
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
readonly
|
|
339
|
-
|
|
340
|
-
}
|
|
366
|
+
}> & {
|
|
367
|
+
readonly __classified: true;
|
|
368
|
+
};
|
|
369
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
370
|
+
readonly __classified: true;
|
|
371
|
+
};
|
|
372
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
373
|
+
readonly __classified: true;
|
|
374
|
+
};
|
|
375
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
376
|
+
readonly __classified: true;
|
|
377
|
+
};
|
|
378
|
+
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
341
379
|
kind: "enum";
|
|
342
|
-
}
|
|
343
|
-
|
|
380
|
+
}> & {
|
|
381
|
+
readonly __classified: true;
|
|
382
|
+
};
|
|
383
|
+
readonly currency: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
344
384
|
kind: "enum";
|
|
345
|
-
}
|
|
385
|
+
}> & {
|
|
386
|
+
readonly __classified: true;
|
|
387
|
+
};
|
|
388
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
346
389
|
kind: "enum";
|
|
347
|
-
}
|
|
348
|
-
|
|
390
|
+
}> & {
|
|
391
|
+
readonly __classified: true;
|
|
392
|
+
};
|
|
393
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Product, _mikro_orm_core.EmptyOptions> & {
|
|
394
|
+
readonly __classified: true;
|
|
395
|
+
};
|
|
349
396
|
}, undefined, never, never, false>>>;
|
|
350
397
|
declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
351
|
-
readonly id:
|
|
352
|
-
primary: true;
|
|
353
|
-
}, 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"> & {
|
|
398
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
354
399
|
primary: true;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
readonly
|
|
359
|
-
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
400
|
+
}> & {
|
|
401
|
+
readonly __classified: true;
|
|
402
|
+
};
|
|
403
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
404
|
+
readonly __classified: true;
|
|
405
|
+
};
|
|
406
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
407
|
+
readonly __classified: true;
|
|
408
|
+
};
|
|
409
|
+
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
364
410
|
kind: "enum";
|
|
365
|
-
}
|
|
411
|
+
}> & {
|
|
412
|
+
readonly __classified: true;
|
|
413
|
+
};
|
|
414
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
366
415
|
kind: "enum";
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
|
|
416
|
+
}> & {
|
|
417
|
+
readonly __classified: true;
|
|
418
|
+
};
|
|
419
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
420
|
+
readonly __classified: true;
|
|
421
|
+
};
|
|
422
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Subscription, _mikro_orm_core.EmptyOptions> & {
|
|
423
|
+
readonly __classified: true;
|
|
424
|
+
};
|
|
370
425
|
}, undefined, never, never, false>, never, {
|
|
371
|
-
readonly id:
|
|
426
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
372
427
|
primary: true;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
readonly partyId:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
readonly billingProvider: _forklaunch_core_persistence.ClassifiedProperty<_mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
428
|
+
}> & {
|
|
429
|
+
readonly __classified: true;
|
|
430
|
+
};
|
|
431
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
432
|
+
readonly __classified: true;
|
|
433
|
+
};
|
|
434
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
435
|
+
readonly __classified: true;
|
|
436
|
+
};
|
|
437
|
+
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
384
438
|
kind: "enum";
|
|
385
|
-
}
|
|
439
|
+
}> & {
|
|
440
|
+
readonly __classified: true;
|
|
441
|
+
};
|
|
442
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
386
443
|
kind: "enum";
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
|
|
444
|
+
}> & {
|
|
445
|
+
readonly __classified: true;
|
|
446
|
+
};
|
|
447
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
448
|
+
readonly __classified: true;
|
|
449
|
+
};
|
|
450
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Subscription, _mikro_orm_core.EmptyOptions> & {
|
|
451
|
+
readonly __classified: true;
|
|
452
|
+
};
|
|
390
453
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
391
|
-
readonly id:
|
|
392
|
-
primary: true;
|
|
393
|
-
}, 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"> & {
|
|
454
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
394
455
|
primary: true;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
readonly
|
|
399
|
-
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
456
|
+
}> & {
|
|
457
|
+
readonly __classified: true;
|
|
458
|
+
};
|
|
459
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
460
|
+
readonly __classified: true;
|
|
461
|
+
};
|
|
462
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
463
|
+
readonly __classified: true;
|
|
464
|
+
};
|
|
465
|
+
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
404
466
|
kind: "enum";
|
|
405
|
-
}
|
|
467
|
+
}> & {
|
|
468
|
+
readonly __classified: true;
|
|
469
|
+
};
|
|
470
|
+
readonly billingProvider: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
406
471
|
kind: "enum";
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
472
|
+
}> & {
|
|
473
|
+
readonly __classified: true;
|
|
474
|
+
};
|
|
475
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
476
|
+
readonly __classified: true;
|
|
477
|
+
};
|
|
478
|
+
readonly providerFields: _mikro_orm_core.PropertyChain<Stripe__default.Subscription, _mikro_orm_core.EmptyOptions> & {
|
|
479
|
+
readonly __classified: true;
|
|
480
|
+
};
|
|
410
481
|
}, undefined, never, never, false>>>;
|
|
411
482
|
|
|
412
483
|
type StripeBillingPortalEntities = {
|