@forklaunch/implementation-billing-base 1.0.25 → 1.0.27

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.
Files changed (71) hide show
  1. package/lib/domain/schemas/billingPortal.schema.d.ts +54 -0
  2. package/lib/domain/schemas/billingPortal.schema.d.ts.map +1 -0
  3. package/lib/domain/schemas/checkoutSession.schema.d.ts +66 -0
  4. package/lib/domain/schemas/checkoutSession.schema.d.ts.map +1 -0
  5. package/lib/domain/schemas/index.d.ts +6 -398
  6. package/lib/domain/schemas/index.d.ts.map +1 -0
  7. package/lib/domain/schemas/index.js +4 -4
  8. package/lib/domain/schemas/index.mjs +4 -4
  9. package/lib/domain/schemas/paymentLink.schema.d.ts +50 -0
  10. package/lib/domain/schemas/paymentLink.schema.d.ts.map +1 -0
  11. package/lib/domain/schemas/plan.schema.d.ts +70 -0
  12. package/lib/domain/schemas/plan.schema.d.ts.map +1 -0
  13. package/lib/domain/schemas/subscription.schema.d.ts +74 -0
  14. package/lib/domain/schemas/subscription.schema.d.ts.map +1 -0
  15. package/lib/domain/schemas/typebox/billingPortal.schema.d.ts +51 -0
  16. package/lib/domain/schemas/typebox/billingPortal.schema.d.ts.map +1 -0
  17. package/lib/domain/schemas/typebox/checkoutSession.schema.d.ts +74 -0
  18. package/lib/domain/schemas/typebox/checkoutSession.schema.d.ts.map +1 -0
  19. package/lib/domain/schemas/typebox/paymentLink.schema.d.ts +54 -0
  20. package/lib/domain/schemas/typebox/paymentLink.schema.d.ts.map +1 -0
  21. package/lib/domain/schemas/typebox/plan.schema.d.ts +79 -0
  22. package/lib/domain/schemas/typebox/plan.schema.d.ts.map +1 -0
  23. package/lib/domain/schemas/typebox/subscription.schema.d.ts +84 -0
  24. package/lib/domain/schemas/typebox/subscription.schema.d.ts.map +1 -0
  25. package/lib/domain/schemas/zod/billingPortal.schema.d.ts +51 -0
  26. package/lib/domain/schemas/zod/billingPortal.schema.d.ts.map +1 -0
  27. package/lib/domain/schemas/zod/checkoutSession.schema.d.ts +74 -0
  28. package/lib/domain/schemas/zod/checkoutSession.schema.d.ts.map +1 -0
  29. package/lib/domain/schemas/zod/paymentLink.schema.d.ts +54 -0
  30. package/lib/domain/schemas/zod/paymentLink.schema.d.ts.map +1 -0
  31. package/lib/domain/schemas/zod/plan.schema.d.ts +79 -0
  32. package/lib/domain/schemas/zod/plan.schema.d.ts.map +1 -0
  33. package/lib/domain/schemas/zod/subscription.schema.d.ts +84 -0
  34. package/lib/domain/schemas/zod/subscription.schema.d.ts.map +1 -0
  35. package/lib/domain/types/baseBillingDto.types.d.ts +27 -0
  36. package/lib/domain/types/baseBillingDto.types.d.ts.map +1 -0
  37. package/lib/domain/types/baseBillingEntity.types.d.ts +102 -0
  38. package/lib/domain/types/baseBillingEntity.types.d.ts.map +1 -0
  39. package/lib/domain/types/billingPortal.mapper.types.d.ts +18 -0
  40. package/lib/domain/types/billingPortal.mapper.types.d.ts.map +1 -0
  41. package/lib/domain/types/checkoutSession.mapper.types.d.ts +18 -0
  42. package/lib/domain/types/checkoutSession.mapper.types.d.ts.map +1 -0
  43. package/lib/domain/types/index.d.ts +8 -507
  44. package/lib/domain/types/index.d.ts.map +1 -0
  45. package/lib/domain/types/paymentLink.mapper.types.d.ts +18 -0
  46. package/lib/domain/types/paymentLink.mapper.types.d.ts.map +1 -0
  47. package/lib/domain/types/plan.mapper.types.d.ts +18 -0
  48. package/lib/domain/types/plan.mapper.types.d.ts.map +1 -0
  49. package/lib/domain/types/subscription.mapper.types.d.ts +18 -0
  50. package/lib/domain/types/subscription.mapper.types.d.ts.map +1 -0
  51. package/lib/eject/domain/schemas/plan.schema.ts +1 -1
  52. package/lib/eject/domain/schemas/subscription.schema.ts +1 -1
  53. package/lib/eject/domain/types/baseBillingEntity.types.ts +24 -6
  54. package/lib/persistence/entities/index.d.ts +300 -0
  55. package/lib/persistence/entities/index.d.ts.map +1 -0
  56. package/lib/services/billingPortal.service.d.ts +29 -0
  57. package/lib/services/billingPortal.service.d.ts.map +1 -0
  58. package/lib/services/checkoutSession.service.d.ts +30 -0
  59. package/lib/services/checkoutSession.service.d.ts.map +1 -0
  60. package/lib/services/index.d.ts +6 -119
  61. package/lib/services/index.d.ts.map +1 -0
  62. package/lib/services/paymentLink.service.d.ts +33 -0
  63. package/lib/services/paymentLink.service.d.ts.map +1 -0
  64. package/lib/services/plan.service.d.ts +27 -0
  65. package/lib/services/plan.service.d.ts.map +1 -0
  66. package/lib/services/subscription.service.d.ts +38 -0
  67. package/lib/services/subscription.service.d.ts.map +1 -0
  68. package/package.json +35 -14
  69. package/lib/domain/schemas/index.d.mts +0 -398
  70. package/lib/domain/types/index.d.mts +0 -507
  71. package/lib/services/index.d.mts +0 -121
@@ -1,507 +1,8 @@
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 _mikro_orm_core from '@mikro-orm/core';
3
- import { InferEntity, EntityManager } from '@mikro-orm/core';
4
-
5
- type BaseBillingDtos = {
6
- BillingPortalMapper: BillingPortalDto;
7
- CreateBillingPortalMapper: CreateBillingPortalDto;
8
- UpdateBillingPortalMapper: UpdateBillingPortalDto;
9
- };
10
- type BaseCheckoutSessionDtos<PaymentMethodEnum, CurrencyEnum, StatusEnum> = {
11
- CheckoutSessionMapper: CheckoutSessionDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
12
- CreateCheckoutSessionMapper: CreateCheckoutSessionDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
13
- UpdateCheckoutSessionMapper: UpdateCheckoutSessionDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
14
- };
15
- type BasePaymentLinkDtos<PaymentMethodEnum, CurrencyEnum, StatusEnum> = {
16
- PaymentLinkMapper: PaymentLinkDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
17
- CreatePaymentLinkMapper: CreatePaymentLinkDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
18
- UpdatePaymentLinkMapper: UpdatePaymentLinkDto<PaymentMethodEnum, CurrencyEnum, StatusEnum>;
19
- };
20
- type BasePlanDtos<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = {
21
- PlanMapper: PlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>;
22
- CreatePlanMapper: CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>;
23
- UpdatePlanMapper: UpdatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>;
24
- };
25
- type BaseSubscriptionDtos<PartyType, BillingProviderType> = {
26
- SubscriptionMapper: SubscriptionDto<PartyType, BillingProviderType>;
27
- CreateSubscriptionMapper: CreateSubscriptionDto<PartyType, BillingProviderType>;
28
- UpdateSubscriptionMapper: UpdateSubscriptionDto<PartyType, BillingProviderType>;
29
- };
30
-
31
- 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
- primary: true;
34
- } & {
35
- readonly '~c': true;
36
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
37
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
38
- readonly '~c': true;
39
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
40
- }, undefined, never, never, false>, never, {
41
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
42
- primary: true;
43
- } & {
44
- readonly '~c': true;
45
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
46
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
47
- readonly '~c': true;
48
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
49
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
50
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
51
- primary: true;
52
- } & {
53
- readonly '~c': true;
54
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
55
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
56
- readonly '~c': true;
57
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
58
- }, undefined, never, never, false>>>;
59
- declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
60
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
61
- primary: true;
62
- } & {
63
- readonly '~c': true;
64
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
65
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
66
- readonly '~c': true;
67
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
68
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
69
- array: true;
70
- } & {
71
- readonly '~c': true;
72
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
73
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
74
- readonly '~c': true;
75
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
76
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
77
- readonly '~c': true;
78
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
79
- }, undefined, never, never, false>, never, {
80
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
81
- primary: true;
82
- } & {
83
- readonly '~c': true;
84
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
85
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
86
- readonly '~c': true;
87
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
88
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
89
- array: true;
90
- } & {
91
- readonly '~c': true;
92
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
93
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
94
- readonly '~c': true;
95
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
96
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
97
- readonly '~c': true;
98
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
99
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
100
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
101
- primary: true;
102
- } & {
103
- readonly '~c': true;
104
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
105
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
106
- readonly '~c': true;
107
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
108
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
109
- array: true;
110
- } & {
111
- readonly '~c': true;
112
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
113
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
114
- readonly '~c': true;
115
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
116
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
117
- readonly '~c': true;
118
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
119
- }, undefined, never, never, false>>>;
120
- declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
121
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
122
- primary: true;
123
- } & {
124
- readonly '~c': true;
125
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
126
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
127
- readonly '~c': true;
128
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
129
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
130
- array: true;
131
- } & {
132
- readonly '~c': true;
133
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
134
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
135
- readonly '~c': true;
136
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
137
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
138
- readonly '~c': true;
139
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
140
- }, undefined, never, never, false>, never, {
141
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
142
- primary: true;
143
- } & {
144
- readonly '~c': true;
145
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
146
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
147
- readonly '~c': true;
148
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
149
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
150
- array: true;
151
- } & {
152
- readonly '~c': true;
153
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
154
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
155
- readonly '~c': true;
156
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
157
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
158
- readonly '~c': true;
159
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
160
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
161
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
162
- primary: true;
163
- } & {
164
- readonly '~c': true;
165
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
166
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
167
- readonly '~c': true;
168
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
169
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
170
- array: true;
171
- } & {
172
- readonly '~c': true;
173
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
174
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
175
- readonly '~c': true;
176
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
177
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
178
- readonly '~c': true;
179
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
180
- }, undefined, never, never, false>>>;
181
- declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
182
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
183
- primary: true;
184
- } & {
185
- readonly '~c': true;
186
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
187
- readonly name: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
188
- readonly '~c': true;
189
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
190
- readonly price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
191
- readonly '~c': true;
192
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
193
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
194
- readonly '~c': true;
195
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
196
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
197
- readonly '~c': true;
198
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
199
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
200
- readonly '~c': true;
201
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
202
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
203
- nullable: true;
204
- } & {
205
- readonly '~c': true;
206
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
207
- }, undefined, never, never, false>, never, {
208
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
209
- primary: true;
210
- } & {
211
- readonly '~c': true;
212
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
213
- readonly name: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
214
- readonly '~c': true;
215
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
216
- readonly price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
217
- readonly '~c': true;
218
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
219
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
220
- readonly '~c': true;
221
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
222
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
223
- readonly '~c': true;
224
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
225
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
226
- readonly '~c': true;
227
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
228
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
229
- nullable: true;
230
- } & {
231
- readonly '~c': true;
232
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
233
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
234
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
235
- primary: true;
236
- } & {
237
- readonly '~c': true;
238
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
239
- readonly name: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
240
- readonly '~c': true;
241
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
242
- readonly price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
243
- readonly '~c': true;
244
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
245
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
246
- readonly '~c': true;
247
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
248
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
249
- readonly '~c': true;
250
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
251
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
252
- readonly '~c': true;
253
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
254
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
255
- nullable: true;
256
- } & {
257
- readonly '~c': true;
258
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
259
- }, undefined, never, never, false>>>;
260
- declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
261
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
262
- primary: true;
263
- } & {
264
- readonly '~c': true;
265
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
266
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
267
- readonly '~c': true;
268
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
269
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
270
- readonly '~c': true;
271
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
272
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
273
- readonly '~c': true;
274
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
275
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
276
- nullable: true;
277
- } & {
278
- readonly '~c': true;
279
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
280
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
281
- readonly '~c': true;
282
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
283
- }, undefined, never, never, false>, never, {
284
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
285
- primary: true;
286
- } & {
287
- readonly '~c': true;
288
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
289
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
290
- readonly '~c': true;
291
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
292
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
293
- readonly '~c': true;
294
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
295
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
296
- readonly '~c': true;
297
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
298
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
299
- nullable: true;
300
- } & {
301
- readonly '~c': true;
302
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
303
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
304
- readonly '~c': true;
305
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
306
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
307
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
308
- primary: true;
309
- } & {
310
- readonly '~c': true;
311
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
312
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
313
- readonly '~c': true;
314
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
315
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
316
- readonly '~c': true;
317
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
318
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
319
- readonly '~c': true;
320
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
321
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "nullable"> & {
322
- nullable: true;
323
- } & {
324
- readonly '~c': true;
325
- }, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">, "serializedPrimaryKey" | "name" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "type" | "runtimeType" | "length" | "precision" | "scale" | "autoincrement" | "returning" | "onCreate" | "onUpdate" | "default" | "defaultRaw" | "formula" | "generated" | "nullable" | "unsigned" | "persist" | "hydrate" | "ref" | "hidden" | "version" | "concurrencyCheck" | "index" | "unique" | "check" | "lazy" | "primary" | "setter" | "getter" | "getterName" | "accessor" | "serializer" | "serializedName" | "groups" | "customOrder" | "extra" | "ignoreSchemaChanges" | "compliance" | ("~options" | "~type" | "$type" | "strictNullable") | "nativeEnumName">;
326
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
327
- readonly '~c': true;
328
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
329
- }, undefined, never, never, false>>>;
330
-
331
- type BaseBillingEntities = {
332
- BillingPortalMapper: {
333
- '~entity': (typeof BillingPortal)['~entity'];
334
- };
335
- CreateBillingPortalMapper: {
336
- '~entity': (typeof BillingPortal)['~entity'];
337
- };
338
- UpdateBillingPortalMapper: {
339
- '~entity': (typeof BillingPortal)['~entity'];
340
- };
341
- };
342
- type BaseCheckoutSessionEntities<PaymentMethodEnum, CurrencyEnum, StatusEnum> = {
343
- CheckoutSessionMapper: {
344
- '~entity': (typeof CheckoutSession)['~entity'] & {
345
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
346
- currency: CurrencyEnum[keyof CurrencyEnum];
347
- status: StatusEnum[keyof StatusEnum];
348
- };
349
- };
350
- CreateCheckoutSessionMapper: {
351
- '~entity': (typeof CheckoutSession)['~entity'] & {
352
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
353
- currency: CurrencyEnum[keyof CurrencyEnum];
354
- status: StatusEnum[keyof StatusEnum];
355
- };
356
- };
357
- UpdateCheckoutSessionMapper: {
358
- '~entity': (typeof CheckoutSession)['~entity'] & {
359
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
360
- currency: CurrencyEnum[keyof CurrencyEnum];
361
- status: StatusEnum[keyof StatusEnum];
362
- };
363
- };
364
- };
365
- type BasePaymentLinkEntities<PaymentMethodEnum, CurrencyEnum, StatusEnum> = {
366
- PaymentLinkMapper: {
367
- '~entity': (typeof PaymentLink)['~entity'] & {
368
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
369
- currency: CurrencyEnum[keyof CurrencyEnum];
370
- status: StatusEnum[keyof StatusEnum];
371
- };
372
- };
373
- CreatePaymentLinkMapper: {
374
- '~entity': (typeof PaymentLink)['~entity'] & {
375
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
376
- currency: CurrencyEnum[keyof CurrencyEnum];
377
- status: StatusEnum[keyof StatusEnum];
378
- };
379
- };
380
- UpdatePaymentLinkMapper: {
381
- '~entity': (typeof PaymentLink)['~entity'] & {
382
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
383
- currency: CurrencyEnum[keyof CurrencyEnum];
384
- status: StatusEnum[keyof StatusEnum];
385
- };
386
- };
387
- };
388
- type BasePlanEntities<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = {
389
- PlanMapper: {
390
- '~entity': (typeof Plan)['~entity'] & {
391
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
392
- currency: CurrencyEnum[keyof CurrencyEnum];
393
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
394
- };
395
- };
396
- CreatePlanMapper: {
397
- '~entity': (typeof Plan)['~entity'] & {
398
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
399
- currency: CurrencyEnum[keyof CurrencyEnum];
400
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
401
- };
402
- };
403
- UpdatePlanMapper: {
404
- '~entity': (typeof Plan)['~entity'] & {
405
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
406
- currency: CurrencyEnum[keyof CurrencyEnum];
407
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
408
- };
409
- };
410
- };
411
- type BaseSubscriptionEntities<PartyType, BillingProviderType> = {
412
- SubscriptionMapper: {
413
- '~entity': (typeof Subscription)['~entity'] & {
414
- partyType: PartyType[keyof PartyType];
415
- billingProvider: BillingProviderType[keyof BillingProviderType];
416
- };
417
- };
418
- CreateSubscriptionMapper: {
419
- '~entity': (typeof Subscription)['~entity'] & {
420
- partyType: PartyType[keyof PartyType];
421
- billingProvider: BillingProviderType[keyof BillingProviderType];
422
- };
423
- };
424
- UpdateSubscriptionMapper: {
425
- '~entity': (typeof Subscription)['~entity'] & {
426
- partyType: PartyType[keyof PartyType];
427
- billingProvider: BillingProviderType[keyof BillingProviderType];
428
- };
429
- };
430
- };
431
-
432
- type BillingPortalMappers<MapperEntities extends BaseBillingEntities, MapperDomains extends BaseBillingDtos> = {
433
- BillingPortalMapper: {
434
- entity: MapperEntities['BillingPortalMapper'];
435
- toDto: (entity: InferEntity<MapperEntities['BillingPortalMapper']>) => Promise<MapperDomains['BillingPortalMapper']>;
436
- };
437
- CreateBillingPortalMapper: {
438
- entity: MapperEntities['CreateBillingPortalMapper'];
439
- toEntity: (dto: MapperDomains['CreateBillingPortalMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['CreateBillingPortalMapper']>>;
440
- };
441
- UpdateBillingPortalMapper: {
442
- entity: MapperEntities['UpdateBillingPortalMapper'];
443
- toEntity: (dto: MapperDomains['UpdateBillingPortalMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['UpdateBillingPortalMapper']>>;
444
- };
445
- };
446
-
447
- type CheckoutSessionMappers<PaymentMethodEnum, CurrencyEnum, StatusEnum, MapperEntities extends BaseCheckoutSessionEntities<PaymentMethodEnum, CurrencyEnum, StatusEnum>, MapperDomains extends BaseCheckoutSessionDtos<PaymentMethodEnum, CurrencyEnum, StatusEnum>> = {
448
- CheckoutSessionMapper: {
449
- entity: MapperEntities['CheckoutSessionMapper'];
450
- toDto: (entity: InferEntity<MapperEntities['CheckoutSessionMapper']>) => Promise<MapperDomains['CheckoutSessionMapper']>;
451
- };
452
- CreateCheckoutSessionMapper: {
453
- entity: MapperEntities['CreateCheckoutSessionMapper'];
454
- toEntity: (dto: MapperDomains['CreateCheckoutSessionMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['CreateCheckoutSessionMapper']>>;
455
- };
456
- UpdateCheckoutSessionMapper: {
457
- entity: MapperEntities['UpdateCheckoutSessionMapper'];
458
- toEntity: (dto: MapperDomains['UpdateCheckoutSessionMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['UpdateCheckoutSessionMapper']>>;
459
- };
460
- };
461
-
462
- type PaymentLinkMappers<PaymentMethodEnum, CurrencyEnum, StatusEnum, MapperEntities extends BasePaymentLinkEntities<PaymentMethodEnum, CurrencyEnum, StatusEnum>, MapperDomains extends BasePaymentLinkDtos<PaymentMethodEnum, CurrencyEnum, StatusEnum>> = {
463
- PaymentLinkMapper: {
464
- entity: MapperEntities['PaymentLinkMapper'];
465
- toDto: (entity: InferEntity<MapperEntities['PaymentLinkMapper']>) => Promise<MapperDomains['PaymentLinkMapper']>;
466
- };
467
- CreatePaymentLinkMapper: {
468
- entity: MapperEntities['CreatePaymentLinkMapper'];
469
- toEntity: (dto: MapperDomains['CreatePaymentLinkMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['CreatePaymentLinkMapper']>>;
470
- };
471
- UpdatePaymentLinkMapper: {
472
- entity: MapperEntities['UpdatePaymentLinkMapper'];
473
- toEntity: (dto: MapperDomains['UpdatePaymentLinkMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['UpdatePaymentLinkMapper']>>;
474
- };
475
- };
476
-
477
- type PlanMappers<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum, MapperEntities extends BasePlanEntities<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>, MapperDomains extends BasePlanDtos<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>> = {
478
- PlanMapper: {
479
- entity: MapperEntities['PlanMapper'];
480
- toDto: (entity: InferEntity<MapperEntities['PlanMapper']>) => Promise<MapperDomains['PlanMapper']>;
481
- };
482
- CreatePlanMapper: {
483
- entity: MapperEntities['CreatePlanMapper'];
484
- toEntity: (dto: MapperDomains['CreatePlanMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['CreatePlanMapper']>>;
485
- };
486
- UpdatePlanMapper: {
487
- entity: MapperEntities['UpdatePlanMapper'];
488
- toEntity: (dto: MapperDomains['UpdatePlanMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['UpdatePlanMapper']>>;
489
- };
490
- };
491
-
492
- type SubscriptionMappers<PartyType, BillingProviderType, MapperEntities extends BaseSubscriptionEntities<PartyType, BillingProviderType>, MapperDomains extends BaseSubscriptionDtos<PartyType, BillingProviderType>> = {
493
- SubscriptionMapper: {
494
- entity: MapperEntities['SubscriptionMapper'];
495
- toDto: (entity: InferEntity<MapperEntities['SubscriptionMapper']>) => Promise<MapperDomains['SubscriptionMapper']>;
496
- };
497
- CreateSubscriptionMapper: {
498
- entity: MapperEntities['CreateSubscriptionMapper'];
499
- toEntity: (dto: MapperDomains['CreateSubscriptionMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['CreateSubscriptionMapper']>>;
500
- };
501
- UpdateSubscriptionMapper: {
502
- entity: MapperEntities['UpdateSubscriptionMapper'];
503
- toEntity: (dto: MapperDomains['UpdateSubscriptionMapper'], em: EntityManager, ...args: unknown[]) => Promise<InferEntity<MapperEntities['UpdateSubscriptionMapper']>>;
504
- };
505
- };
506
-
507
- export type { BaseBillingDtos, BaseBillingEntities, BaseCheckoutSessionDtos, BaseCheckoutSessionEntities, BasePaymentLinkDtos, BasePaymentLinkEntities, BasePlanDtos, BasePlanEntities, BaseSubscriptionDtos, BaseSubscriptionEntities, BillingPortalMappers, CheckoutSessionMappers, PaymentLinkMappers, PlanMappers, SubscriptionMappers };
1
+ export * from './baseBillingDto.types';
2
+ export * from './baseBillingEntity.types';
3
+ export * from './billingPortal.mapper.types';
4
+ export * from './checkoutSession.mapper.types';
5
+ export * from './paymentLink.mapper.types';
6
+ export * from './plan.mapper.types';
7
+ export * from './subscription.mapper.types';
8
+ //# sourceMappingURL=index.d.ts.map