@forklaunch/implementation-billing-base 1.0.4 → 1.0.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 +57 -57
- package/lib/domain/types/index.d.ts +57 -57
- package/package.json +6 -6
|
@@ -29,40 +29,40 @@ type BaseSubscriptionDtos<PartyType, BillingProviderType> = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
declare const BillingPortal: _mikro_orm_core.EntitySchemaWithMeta<"BillingPortal", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
32
|
-
readonly id:
|
|
32
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
33
33
|
primary: true;
|
|
34
|
-
}
|
|
34
|
+
}> & {
|
|
35
35
|
readonly __classified: true;
|
|
36
36
|
};
|
|
37
|
-
readonly customerId: _mikro_orm_core.
|
|
37
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
38
38
|
readonly __classified: true;
|
|
39
39
|
};
|
|
40
40
|
}, undefined, never, never, false>, never, {
|
|
41
|
-
readonly id:
|
|
41
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
42
42
|
primary: true;
|
|
43
|
-
}
|
|
43
|
+
}> & {
|
|
44
44
|
readonly __classified: true;
|
|
45
45
|
};
|
|
46
|
-
readonly customerId: _mikro_orm_core.
|
|
46
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
47
47
|
readonly __classified: true;
|
|
48
48
|
};
|
|
49
49
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
50
|
-
readonly id:
|
|
50
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
51
51
|
primary: true;
|
|
52
|
-
}
|
|
52
|
+
}> & {
|
|
53
53
|
readonly __classified: true;
|
|
54
54
|
};
|
|
55
|
-
readonly customerId: _mikro_orm_core.
|
|
55
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
56
56
|
readonly __classified: true;
|
|
57
57
|
};
|
|
58
58
|
}, undefined, never, never, false>>>;
|
|
59
59
|
declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
60
|
-
readonly id:
|
|
60
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
61
61
|
primary: true;
|
|
62
|
-
}
|
|
62
|
+
}> & {
|
|
63
63
|
readonly __classified: true;
|
|
64
64
|
};
|
|
65
|
-
readonly customerId: _mikro_orm_core.
|
|
65
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
66
66
|
readonly __classified: true;
|
|
67
67
|
};
|
|
68
68
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -83,12 +83,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
83
83
|
readonly __classified: true;
|
|
84
84
|
};
|
|
85
85
|
}, undefined, never, never, false>, never, {
|
|
86
|
-
readonly id:
|
|
86
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
87
87
|
primary: true;
|
|
88
|
-
}
|
|
88
|
+
}> & {
|
|
89
89
|
readonly __classified: true;
|
|
90
90
|
};
|
|
91
|
-
readonly customerId: _mikro_orm_core.
|
|
91
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
92
92
|
readonly __classified: true;
|
|
93
93
|
};
|
|
94
94
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -109,12 +109,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
109
109
|
readonly __classified: true;
|
|
110
110
|
};
|
|
111
111
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
112
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
113
113
|
primary: true;
|
|
114
|
-
}
|
|
114
|
+
}> & {
|
|
115
115
|
readonly __classified: true;
|
|
116
116
|
};
|
|
117
|
-
readonly customerId: _mikro_orm_core.
|
|
117
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
118
118
|
readonly __classified: true;
|
|
119
119
|
};
|
|
120
120
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -136,12 +136,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
136
136
|
};
|
|
137
137
|
}, undefined, never, never, false>>>;
|
|
138
138
|
declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
139
|
-
readonly id:
|
|
139
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
140
140
|
primary: true;
|
|
141
|
-
}
|
|
141
|
+
}> & {
|
|
142
142
|
readonly __classified: true;
|
|
143
143
|
};
|
|
144
|
-
readonly amount: _mikro_orm_core.
|
|
144
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
145
145
|
readonly __classified: true;
|
|
146
146
|
};
|
|
147
147
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -162,12 +162,12 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
162
162
|
readonly __classified: true;
|
|
163
163
|
};
|
|
164
164
|
}, undefined, never, never, false>, never, {
|
|
165
|
-
readonly id:
|
|
165
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
166
166
|
primary: true;
|
|
167
|
-
}
|
|
167
|
+
}> & {
|
|
168
168
|
readonly __classified: true;
|
|
169
169
|
};
|
|
170
|
-
readonly amount: _mikro_orm_core.
|
|
170
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
171
171
|
readonly __classified: true;
|
|
172
172
|
};
|
|
173
173
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -188,12 +188,12 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
188
188
|
readonly __classified: true;
|
|
189
189
|
};
|
|
190
190
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
191
|
-
readonly id:
|
|
191
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
192
192
|
primary: true;
|
|
193
|
-
}
|
|
193
|
+
}> & {
|
|
194
194
|
readonly __classified: true;
|
|
195
195
|
};
|
|
196
|
-
readonly amount: _mikro_orm_core.
|
|
196
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
197
197
|
readonly __classified: true;
|
|
198
198
|
};
|
|
199
199
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -215,18 +215,18 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
215
215
|
};
|
|
216
216
|
}, undefined, never, never, false>>>;
|
|
217
217
|
declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
218
|
-
readonly id:
|
|
218
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
219
219
|
primary: true;
|
|
220
|
-
}
|
|
220
|
+
}> & {
|
|
221
221
|
readonly __classified: true;
|
|
222
222
|
};
|
|
223
|
-
readonly name: _mikro_orm_core.
|
|
223
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
224
224
|
readonly __classified: true;
|
|
225
225
|
};
|
|
226
|
-
readonly price: _mikro_orm_core.
|
|
226
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
227
227
|
readonly __classified: true;
|
|
228
228
|
};
|
|
229
|
-
readonly externalId: _mikro_orm_core.
|
|
229
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
230
230
|
readonly __classified: true;
|
|
231
231
|
};
|
|
232
232
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -247,18 +247,18 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
247
247
|
readonly __classified: true;
|
|
248
248
|
};
|
|
249
249
|
}, undefined, never, never, false>, never, {
|
|
250
|
-
readonly id:
|
|
250
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
251
251
|
primary: true;
|
|
252
|
-
}
|
|
252
|
+
}> & {
|
|
253
253
|
readonly __classified: true;
|
|
254
254
|
};
|
|
255
|
-
readonly name: _mikro_orm_core.
|
|
255
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
256
256
|
readonly __classified: true;
|
|
257
257
|
};
|
|
258
|
-
readonly price: _mikro_orm_core.
|
|
258
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
259
259
|
readonly __classified: true;
|
|
260
260
|
};
|
|
261
|
-
readonly externalId: _mikro_orm_core.
|
|
261
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
262
262
|
readonly __classified: true;
|
|
263
263
|
};
|
|
264
264
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -279,18 +279,18 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
279
279
|
readonly __classified: true;
|
|
280
280
|
};
|
|
281
281
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
282
|
-
readonly id:
|
|
282
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
283
283
|
primary: true;
|
|
284
|
-
}
|
|
284
|
+
}> & {
|
|
285
285
|
readonly __classified: true;
|
|
286
286
|
};
|
|
287
|
-
readonly name: _mikro_orm_core.
|
|
287
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
288
288
|
readonly __classified: true;
|
|
289
289
|
};
|
|
290
|
-
readonly price: _mikro_orm_core.
|
|
290
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
291
291
|
readonly __classified: true;
|
|
292
292
|
};
|
|
293
|
-
readonly externalId: _mikro_orm_core.
|
|
293
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
294
294
|
readonly __classified: true;
|
|
295
295
|
};
|
|
296
296
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -312,15 +312,15 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
312
312
|
};
|
|
313
313
|
}, undefined, never, never, false>>>;
|
|
314
314
|
declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
315
|
-
readonly id:
|
|
315
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
316
316
|
primary: true;
|
|
317
|
-
}
|
|
317
|
+
}> & {
|
|
318
318
|
readonly __classified: true;
|
|
319
319
|
};
|
|
320
|
-
readonly partyId: _mikro_orm_core.
|
|
320
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
321
321
|
readonly __classified: true;
|
|
322
322
|
};
|
|
323
|
-
readonly externalId: _mikro_orm_core.
|
|
323
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
324
324
|
readonly __classified: true;
|
|
325
325
|
};
|
|
326
326
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -335,19 +335,19 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
335
335
|
}> & {
|
|
336
336
|
readonly __classified: true;
|
|
337
337
|
};
|
|
338
|
-
readonly active: _mikro_orm_core.
|
|
338
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
339
339
|
readonly __classified: true;
|
|
340
340
|
};
|
|
341
341
|
}, undefined, never, never, false>, never, {
|
|
342
|
-
readonly id:
|
|
342
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
343
343
|
primary: true;
|
|
344
|
-
}
|
|
344
|
+
}> & {
|
|
345
345
|
readonly __classified: true;
|
|
346
346
|
};
|
|
347
|
-
readonly partyId: _mikro_orm_core.
|
|
347
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
348
348
|
readonly __classified: true;
|
|
349
349
|
};
|
|
350
|
-
readonly externalId: _mikro_orm_core.
|
|
350
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
351
351
|
readonly __classified: true;
|
|
352
352
|
};
|
|
353
353
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -362,19 +362,19 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
362
362
|
}> & {
|
|
363
363
|
readonly __classified: true;
|
|
364
364
|
};
|
|
365
|
-
readonly active: _mikro_orm_core.
|
|
365
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
366
366
|
readonly __classified: true;
|
|
367
367
|
};
|
|
368
368
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
369
|
-
readonly id:
|
|
369
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
370
370
|
primary: true;
|
|
371
|
-
}
|
|
371
|
+
}> & {
|
|
372
372
|
readonly __classified: true;
|
|
373
373
|
};
|
|
374
|
-
readonly partyId: _mikro_orm_core.
|
|
374
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
375
375
|
readonly __classified: true;
|
|
376
376
|
};
|
|
377
|
-
readonly externalId: _mikro_orm_core.
|
|
377
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
378
378
|
readonly __classified: true;
|
|
379
379
|
};
|
|
380
380
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -389,7 +389,7 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
389
389
|
}> & {
|
|
390
390
|
readonly __classified: true;
|
|
391
391
|
};
|
|
392
|
-
readonly active: _mikro_orm_core.
|
|
392
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
393
393
|
readonly __classified: true;
|
|
394
394
|
};
|
|
395
395
|
}, undefined, never, never, false>>>;
|
|
@@ -29,40 +29,40 @@ type BaseSubscriptionDtos<PartyType, BillingProviderType> = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
declare const BillingPortal: _mikro_orm_core.EntitySchemaWithMeta<"BillingPortal", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
32
|
-
readonly id:
|
|
32
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
33
33
|
primary: true;
|
|
34
|
-
}
|
|
34
|
+
}> & {
|
|
35
35
|
readonly __classified: true;
|
|
36
36
|
};
|
|
37
|
-
readonly customerId: _mikro_orm_core.
|
|
37
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
38
38
|
readonly __classified: true;
|
|
39
39
|
};
|
|
40
40
|
}, undefined, never, never, false>, never, {
|
|
41
|
-
readonly id:
|
|
41
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
42
42
|
primary: true;
|
|
43
|
-
}
|
|
43
|
+
}> & {
|
|
44
44
|
readonly __classified: true;
|
|
45
45
|
};
|
|
46
|
-
readonly customerId: _mikro_orm_core.
|
|
46
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
47
47
|
readonly __classified: true;
|
|
48
48
|
};
|
|
49
49
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
50
|
-
readonly id:
|
|
50
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
51
51
|
primary: true;
|
|
52
|
-
}
|
|
52
|
+
}> & {
|
|
53
53
|
readonly __classified: true;
|
|
54
54
|
};
|
|
55
|
-
readonly customerId: _mikro_orm_core.
|
|
55
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
56
56
|
readonly __classified: true;
|
|
57
57
|
};
|
|
58
58
|
}, undefined, never, never, false>>>;
|
|
59
59
|
declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
60
|
-
readonly id:
|
|
60
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
61
61
|
primary: true;
|
|
62
|
-
}
|
|
62
|
+
}> & {
|
|
63
63
|
readonly __classified: true;
|
|
64
64
|
};
|
|
65
|
-
readonly customerId: _mikro_orm_core.
|
|
65
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
66
66
|
readonly __classified: true;
|
|
67
67
|
};
|
|
68
68
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -83,12 +83,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
83
83
|
readonly __classified: true;
|
|
84
84
|
};
|
|
85
85
|
}, undefined, never, never, false>, never, {
|
|
86
|
-
readonly id:
|
|
86
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
87
87
|
primary: true;
|
|
88
|
-
}
|
|
88
|
+
}> & {
|
|
89
89
|
readonly __classified: true;
|
|
90
90
|
};
|
|
91
|
-
readonly customerId: _mikro_orm_core.
|
|
91
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
92
92
|
readonly __classified: true;
|
|
93
93
|
};
|
|
94
94
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -109,12 +109,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
109
109
|
readonly __classified: true;
|
|
110
110
|
};
|
|
111
111
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
112
|
-
readonly id:
|
|
112
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
113
113
|
primary: true;
|
|
114
|
-
}
|
|
114
|
+
}> & {
|
|
115
115
|
readonly __classified: true;
|
|
116
116
|
};
|
|
117
|
-
readonly customerId: _mikro_orm_core.
|
|
117
|
+
readonly customerId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
118
118
|
readonly __classified: true;
|
|
119
119
|
};
|
|
120
120
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -136,12 +136,12 @@ declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSes
|
|
|
136
136
|
};
|
|
137
137
|
}, undefined, never, never, false>>>;
|
|
138
138
|
declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
139
|
-
readonly id:
|
|
139
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
140
140
|
primary: true;
|
|
141
|
-
}
|
|
141
|
+
}> & {
|
|
142
142
|
readonly __classified: true;
|
|
143
143
|
};
|
|
144
|
-
readonly amount: _mikro_orm_core.
|
|
144
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
145
145
|
readonly __classified: true;
|
|
146
146
|
};
|
|
147
147
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -162,12 +162,12 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
162
162
|
readonly __classified: true;
|
|
163
163
|
};
|
|
164
164
|
}, undefined, never, never, false>, never, {
|
|
165
|
-
readonly id:
|
|
165
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
166
166
|
primary: true;
|
|
167
|
-
}
|
|
167
|
+
}> & {
|
|
168
168
|
readonly __classified: true;
|
|
169
169
|
};
|
|
170
|
-
readonly amount: _mikro_orm_core.
|
|
170
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
171
171
|
readonly __classified: true;
|
|
172
172
|
};
|
|
173
173
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -188,12 +188,12 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
188
188
|
readonly __classified: true;
|
|
189
189
|
};
|
|
190
190
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
191
|
-
readonly id:
|
|
191
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
192
192
|
primary: true;
|
|
193
|
-
}
|
|
193
|
+
}> & {
|
|
194
194
|
readonly __classified: true;
|
|
195
195
|
};
|
|
196
|
-
readonly amount: _mikro_orm_core.
|
|
196
|
+
readonly amount: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
197
197
|
readonly __classified: true;
|
|
198
198
|
};
|
|
199
199
|
readonly paymentMethods: _mikro_orm_core.PropertyChain<any, Omit<_mikro_orm_core.EmptyOptions & {
|
|
@@ -215,18 +215,18 @@ declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", s
|
|
|
215
215
|
};
|
|
216
216
|
}, undefined, never, never, false>>>;
|
|
217
217
|
declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
218
|
-
readonly id:
|
|
218
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
219
219
|
primary: true;
|
|
220
|
-
}
|
|
220
|
+
}> & {
|
|
221
221
|
readonly __classified: true;
|
|
222
222
|
};
|
|
223
|
-
readonly name: _mikro_orm_core.
|
|
223
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
224
224
|
readonly __classified: true;
|
|
225
225
|
};
|
|
226
|
-
readonly price: _mikro_orm_core.
|
|
226
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
227
227
|
readonly __classified: true;
|
|
228
228
|
};
|
|
229
|
-
readonly externalId: _mikro_orm_core.
|
|
229
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
230
230
|
readonly __classified: true;
|
|
231
231
|
};
|
|
232
232
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -247,18 +247,18 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
247
247
|
readonly __classified: true;
|
|
248
248
|
};
|
|
249
249
|
}, undefined, never, never, false>, never, {
|
|
250
|
-
readonly id:
|
|
250
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
251
251
|
primary: true;
|
|
252
|
-
}
|
|
252
|
+
}> & {
|
|
253
253
|
readonly __classified: true;
|
|
254
254
|
};
|
|
255
|
-
readonly name: _mikro_orm_core.
|
|
255
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
256
256
|
readonly __classified: true;
|
|
257
257
|
};
|
|
258
|
-
readonly price: _mikro_orm_core.
|
|
258
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
259
259
|
readonly __classified: true;
|
|
260
260
|
};
|
|
261
|
-
readonly externalId: _mikro_orm_core.
|
|
261
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
262
262
|
readonly __classified: true;
|
|
263
263
|
};
|
|
264
264
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -279,18 +279,18 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
279
279
|
readonly __classified: true;
|
|
280
280
|
};
|
|
281
281
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
282
|
-
readonly id:
|
|
282
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
283
283
|
primary: true;
|
|
284
|
-
}
|
|
284
|
+
}> & {
|
|
285
285
|
readonly __classified: true;
|
|
286
286
|
};
|
|
287
|
-
readonly name: _mikro_orm_core.
|
|
287
|
+
readonly name: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
288
288
|
readonly __classified: true;
|
|
289
289
|
};
|
|
290
|
-
readonly price: _mikro_orm_core.
|
|
290
|
+
readonly price: _mikro_orm_core.PropertyChain<NonNullable<string | number>, _mikro_orm_core.EmptyOptions> & {
|
|
291
291
|
readonly __classified: true;
|
|
292
292
|
};
|
|
293
|
-
readonly externalId: _mikro_orm_core.
|
|
293
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
294
294
|
readonly __classified: true;
|
|
295
295
|
};
|
|
296
296
|
readonly cadence: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -312,15 +312,15 @@ declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_
|
|
|
312
312
|
};
|
|
313
313
|
}, undefined, never, never, false>>>;
|
|
314
314
|
declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
|
|
315
|
-
readonly id:
|
|
315
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
316
316
|
primary: true;
|
|
317
|
-
}
|
|
317
|
+
}> & {
|
|
318
318
|
readonly __classified: true;
|
|
319
319
|
};
|
|
320
|
-
readonly partyId: _mikro_orm_core.
|
|
320
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
321
321
|
readonly __classified: true;
|
|
322
322
|
};
|
|
323
|
-
readonly externalId: _mikro_orm_core.
|
|
323
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
324
324
|
readonly __classified: true;
|
|
325
325
|
};
|
|
326
326
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -335,19 +335,19 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
335
335
|
}> & {
|
|
336
336
|
readonly __classified: true;
|
|
337
337
|
};
|
|
338
|
-
readonly active: _mikro_orm_core.
|
|
338
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
339
339
|
readonly __classified: true;
|
|
340
340
|
};
|
|
341
341
|
}, undefined, never, never, false>, never, {
|
|
342
|
-
readonly id:
|
|
342
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
343
343
|
primary: true;
|
|
344
|
-
}
|
|
344
|
+
}> & {
|
|
345
345
|
readonly __classified: true;
|
|
346
346
|
};
|
|
347
|
-
readonly partyId: _mikro_orm_core.
|
|
347
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
348
348
|
readonly __classified: true;
|
|
349
349
|
};
|
|
350
|
-
readonly externalId: _mikro_orm_core.
|
|
350
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
351
351
|
readonly __classified: true;
|
|
352
352
|
};
|
|
353
353
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -362,19 +362,19 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
362
362
|
}> & {
|
|
363
363
|
readonly __classified: true;
|
|
364
364
|
};
|
|
365
|
-
readonly active: _mikro_orm_core.
|
|
365
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
366
366
|
readonly __classified: true;
|
|
367
367
|
};
|
|
368
368
|
}, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
|
|
369
|
-
readonly id:
|
|
369
|
+
readonly id: _mikro_orm_core.PropertyChain<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
|
|
370
370
|
primary: true;
|
|
371
|
-
}
|
|
371
|
+
}> & {
|
|
372
372
|
readonly __classified: true;
|
|
373
373
|
};
|
|
374
|
-
readonly partyId: _mikro_orm_core.
|
|
374
|
+
readonly partyId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
375
375
|
readonly __classified: true;
|
|
376
376
|
};
|
|
377
|
-
readonly externalId: _mikro_orm_core.
|
|
377
|
+
readonly externalId: _mikro_orm_core.PropertyChain<string, _mikro_orm_core.EmptyOptions> & {
|
|
378
378
|
readonly __classified: true;
|
|
379
379
|
};
|
|
380
380
|
readonly partyType: _mikro_orm_core.PropertyChain<any, _mikro_orm_core.EmptyOptions & {
|
|
@@ -389,7 +389,7 @@ declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription",
|
|
|
389
389
|
}> & {
|
|
390
390
|
readonly __classified: true;
|
|
391
391
|
};
|
|
392
|
-
readonly active: _mikro_orm_core.
|
|
392
|
+
readonly active: _mikro_orm_core.PropertyChain<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions> & {
|
|
393
393
|
readonly __classified: true;
|
|
394
394
|
};
|
|
395
395
|
}, undefined, never, never, false>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-base",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"lib/**"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@forklaunch/common": "^1.1.
|
|
40
|
-
"@forklaunch/core": "^1.1.
|
|
41
|
-
"@forklaunch/internal": "^1.1.
|
|
42
|
-
"@forklaunch/validator": "^1.1.
|
|
39
|
+
"@forklaunch/common": "^1.1.4",
|
|
40
|
+
"@forklaunch/core": "^1.1.4",
|
|
41
|
+
"@forklaunch/internal": "^1.1.4",
|
|
42
|
+
"@forklaunch/validator": "^1.1.4",
|
|
43
43
|
"@mikro-orm/core": "7.0.5",
|
|
44
44
|
"@sinclair/typebox": "^0.34.48",
|
|
45
45
|
"ajv": "^8.18.0",
|
|
46
46
|
"zod": "^4.3.6",
|
|
47
|
-
"@forklaunch/interfaces-billing": "1.0.
|
|
47
|
+
"@forklaunch/interfaces-billing": "1.0.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@typescript/native-preview": "7.0.0-dev.20260320.1",
|