@forklaunch/implementation-billing-stripe 1.1.25 → 1.1.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 (88) hide show
  1. package/lib/domain/enum/billingProvider.enum.d.ts +5 -0
  2. package/lib/domain/enum/billingProvider.enum.d.ts.map +1 -0
  3. package/lib/domain/enum/currency.enum.d.ts +72 -0
  4. package/lib/domain/enum/currency.enum.d.ts.map +1 -0
  5. package/lib/domain/enum/index.d.ts +5 -126
  6. package/lib/domain/enum/index.d.ts.map +1 -0
  7. package/lib/domain/enum/paymentMethod.enum.d.ts +41 -0
  8. package/lib/domain/enum/paymentMethod.enum.d.ts.map +1 -0
  9. package/lib/domain/enum/planCadence.enum.d.ts +7 -0
  10. package/lib/domain/enum/planCadence.enum.d.ts.map +1 -0
  11. package/lib/domain/schemas/billingPortal.schema.d.ts +50 -0
  12. package/lib/domain/schemas/billingPortal.schema.d.ts.map +1 -0
  13. package/lib/domain/schemas/checkoutSession.schema.d.ts +12 -0
  14. package/lib/domain/schemas/checkoutSession.schema.d.ts.map +1 -0
  15. package/lib/domain/schemas/index.d.ts +6 -384
  16. package/lib/domain/schemas/index.d.ts.map +1 -0
  17. package/lib/domain/schemas/index.js +4 -4
  18. package/lib/domain/schemas/index.mjs +4 -4
  19. package/lib/domain/schemas/paymentLink.schema.d.ts +12 -0
  20. package/lib/domain/schemas/paymentLink.schema.d.ts.map +1 -0
  21. package/lib/domain/schemas/plan.schema.d.ts +88 -0
  22. package/lib/domain/schemas/plan.schema.d.ts.map +1 -0
  23. package/lib/domain/schemas/subscription.schema.d.ts +12 -0
  24. package/lib/domain/schemas/subscription.schema.d.ts.map +1 -0
  25. package/lib/domain/schemas/typebox/billingPortal.schema.d.ts +47 -0
  26. package/lib/domain/schemas/typebox/billingPortal.schema.d.ts.map +1 -0
  27. package/lib/domain/schemas/typebox/checkoutSession.schema.d.ts +46 -0
  28. package/lib/domain/schemas/typebox/checkoutSession.schema.d.ts.map +1 -0
  29. package/lib/domain/schemas/typebox/paymentLink.schema.d.ts +33 -0
  30. package/lib/domain/schemas/typebox/paymentLink.schema.d.ts.map +1 -0
  31. package/lib/domain/schemas/typebox/plan.schema.d.ts +85 -0
  32. package/lib/domain/schemas/typebox/plan.schema.d.ts.map +1 -0
  33. package/lib/domain/schemas/typebox/subscription.schema.d.ts +51 -0
  34. package/lib/domain/schemas/typebox/subscription.schema.d.ts.map +1 -0
  35. package/lib/domain/schemas/zod/billingPortal.schema.d.ts +47 -0
  36. package/lib/domain/schemas/zod/billingPortal.schema.d.ts.map +1 -0
  37. package/lib/domain/schemas/zod/checkoutSession.schema.d.ts +46 -0
  38. package/lib/domain/schemas/zod/checkoutSession.schema.d.ts.map +1 -0
  39. package/lib/domain/schemas/zod/paymentLink.schema.d.ts +34 -0
  40. package/lib/domain/schemas/zod/paymentLink.schema.d.ts.map +1 -0
  41. package/lib/domain/schemas/zod/plan.schema.d.ts +88 -0
  42. package/lib/domain/schemas/zod/plan.schema.d.ts.map +1 -0
  43. package/lib/domain/schemas/zod/subscription.schema.d.ts +54 -0
  44. package/lib/domain/schemas/zod/subscription.schema.d.ts.map +1 -0
  45. package/lib/domain/types/billingPortal.mapper.types.d.ts +19 -0
  46. package/lib/domain/types/billingPortal.mapper.types.d.ts.map +1 -0
  47. package/lib/domain/types/checkoutSession.mapper.types.d.ts +19 -0
  48. package/lib/domain/types/checkoutSession.mapper.types.d.ts.map +1 -0
  49. package/lib/domain/types/index.d.ts +8 -518
  50. package/lib/domain/types/index.d.ts.map +1 -0
  51. package/lib/domain/types/paymentLink.mapper.types.d.ts +19 -0
  52. package/lib/domain/types/paymentLink.mapper.types.d.ts.map +1 -0
  53. package/lib/domain/types/plan.mapper.types.d.ts +19 -0
  54. package/lib/domain/types/plan.mapper.types.d.ts.map +1 -0
  55. package/lib/domain/types/stripe.dto.types.d.ts +113 -0
  56. package/lib/domain/types/stripe.dto.types.d.ts.map +1 -0
  57. package/lib/domain/types/stripe.entity.types.d.ts +103 -0
  58. package/lib/domain/types/stripe.entity.types.d.ts.map +1 -0
  59. package/lib/domain/types/subscription.mapper.types.d.ts +19 -0
  60. package/lib/domain/types/subscription.mapper.types.d.ts.map +1 -0
  61. package/lib/eject/domain/schemas/plan.schema.ts +1 -1
  62. package/lib/eject/domain/schemas/subscription.schema.ts +1 -1
  63. package/lib/eject/domain/types/stripe.entity.types.ts +24 -6
  64. package/lib/persistence/entities/index.d.ts +437 -0
  65. package/lib/persistence/entities/index.d.ts.map +1 -0
  66. package/lib/services/billingPortal.service.d.ts +39 -0
  67. package/lib/services/billingPortal.service.d.ts.map +1 -0
  68. package/lib/services/checkoutSession.service.d.ts +40 -0
  69. package/lib/services/checkoutSession.service.d.ts.map +1 -0
  70. package/lib/services/index.d.ts +7 -188
  71. package/lib/services/index.d.ts.map +1 -0
  72. package/lib/services/index.js +2 -2
  73. package/lib/services/index.mjs +2 -2
  74. package/lib/services/paymentLink.service.d.ts +43 -0
  75. package/lib/services/paymentLink.service.d.ts.map +1 -0
  76. package/lib/services/plan.service.d.ts +41 -0
  77. package/lib/services/plan.service.d.ts.map +1 -0
  78. package/lib/services/subscription.service.d.ts +43 -0
  79. package/lib/services/subscription.service.d.ts.map +1 -0
  80. package/lib/services/webhook.service.d.ts +39 -0
  81. package/lib/services/webhook.service.d.ts.map +1 -0
  82. package/package.json +43 -16
  83. package/lib/domain/enum/index.d.mts +0 -126
  84. package/lib/domain/schemas/index.d.mts +0 -384
  85. package/lib/domain/types/index.d.mts +0 -518
  86. package/lib/services/index.d.mts +0 -190
  87. package/lib/stripe.dto.types-62tPCNUc.d.mts +0 -111
  88. package/lib/stripe.dto.types-BnAQ5iRQ.d.ts +0 -111
@@ -1,518 +1,8 @@
1
- import * as _mikro_orm_core from '@mikro-orm/core';
2
- import { InferEntity, EntityManager } from '@mikro-orm/core';
3
- import Stripe from 'stripe';
4
- import { m as StripeBillingPortalDtos, p as StripeCheckoutSessionDtos, r as StripePaymentLinkDtos, v as StripePlanDtos, z as StripeSubscriptionDtos } from '../../stripe.dto.types-BnAQ5iRQ.js';
5
- export { D as StripeBillingPortalDto, a as StripeBillingPortalSession, S as StripeBillingPortalSessionCreateParams, c as StripeCheckoutSession, b as StripeCheckoutSessionCreateParams, E as StripeCheckoutSessionDto, n as StripeCreateBillingPortalDto, q as StripeCreateCheckoutSessionDto, s as StripeCreatePaymentLinkDto, w as StripeCreatePlanDto, A as StripeCreateSubscriptionDto, f as StripePaymentLink, d as StripePaymentLinkCreateParams, u as StripePaymentLinkDto, e as StripePaymentLinkUpdateParams, g as StripePlanCreateParams, y as StripePlanDto, h as StripePlanUpdateParams, i as StripeProduct, l as StripeSubscription, j as StripeSubscriptionCreateParams, C as StripeSubscriptionDto, k as StripeSubscriptionUpdateParams, o as StripeUpdateBillingPortalDto, F as StripeUpdateCheckoutSessionDto, t as StripeUpdatePaymentLinkDto, x as StripeUpdatePlanDto, B as StripeUpdateSubscriptionDto } from '../../stripe.dto.types-BnAQ5iRQ.js';
6
- import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from '../enum/index.js';
7
- import '@forklaunch/interfaces-billing/types';
8
-
9
- declare const BillingPortal: _mikro_orm_core.EntitySchemaWithMeta<"BillingPortal", string, _mikro_orm_core.InferEntityFromProperties<{
10
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
11
- primary: true;
12
- } & {
13
- readonly '~c': true;
14
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
15
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
16
- readonly '~c': true;
17
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
18
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.BillingPortal.Session, _mikro_orm_core.EmptyOptions & {
19
- readonly '~c': true;
20
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
21
- }, undefined, never, never, false>, never, {
22
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
23
- primary: true;
24
- } & {
25
- readonly '~c': true;
26
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
27
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
28
- readonly '~c': true;
29
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
30
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.BillingPortal.Session, _mikro_orm_core.EmptyOptions & {
31
- readonly '~c': true;
32
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
33
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
34
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
35
- primary: true;
36
- } & {
37
- readonly '~c': true;
38
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
39
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
40
- readonly '~c': true;
41
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
42
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.BillingPortal.Session, _mikro_orm_core.EmptyOptions & {
43
- readonly '~c': true;
44
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
45
- }, undefined, never, never, false>>>;
46
- declare const CheckoutSession: _mikro_orm_core.EntitySchemaWithMeta<"CheckoutSession", string, _mikro_orm_core.InferEntityFromProperties<{
47
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
48
- primary: true;
49
- } & {
50
- readonly '~c': true;
51
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
52
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
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 paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
56
- array: true;
57
- } & {
58
- readonly '~c': true;
59
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
60
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
61
- readonly '~c': true;
62
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
63
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
64
- readonly '~c': true;
65
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
66
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Checkout.Session, _mikro_orm_core.EmptyOptions & {
67
- readonly '~c': true;
68
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
69
- }, undefined, never, never, false>, never, {
70
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
71
- primary: true;
72
- } & {
73
- readonly '~c': true;
74
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
75
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
76
- readonly '~c': true;
77
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
78
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
79
- array: true;
80
- } & {
81
- readonly '~c': true;
82
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
83
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
84
- readonly '~c': true;
85
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
86
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
87
- readonly '~c': true;
88
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
89
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Checkout.Session, _mikro_orm_core.EmptyOptions & {
90
- readonly '~c': true;
91
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
92
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
93
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
94
- primary: true;
95
- } & {
96
- readonly '~c': true;
97
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
98
- readonly customerId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
99
- readonly '~c': true;
100
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
101
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
102
- array: true;
103
- } & {
104
- readonly '~c': true;
105
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
106
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
107
- readonly '~c': true;
108
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
109
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
110
- readonly '~c': true;
111
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
112
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Checkout.Session, _mikro_orm_core.EmptyOptions & {
113
- readonly '~c': true;
114
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
115
- }, undefined, never, never, false>>>;
116
- declare const PaymentLink: _mikro_orm_core.EntitySchemaWithMeta<"PaymentLink", string, _mikro_orm_core.InferEntityFromProperties<{
117
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
118
- primary: true;
119
- } & {
120
- readonly '~c': true;
121
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
122
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
123
- readonly '~c': true;
124
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
125
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
126
- array: true;
127
- } & {
128
- readonly '~c': true;
129
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
130
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
131
- readonly '~c': true;
132
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
133
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
134
- readonly '~c': true;
135
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
136
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.PaymentLink, _mikro_orm_core.EmptyOptions & {
137
- readonly '~c': true;
138
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
139
- }, undefined, never, never, false>, never, {
140
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
141
- primary: true;
142
- } & {
143
- readonly '~c': true;
144
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
145
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
146
- readonly '~c': true;
147
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
148
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
149
- array: true;
150
- } & {
151
- readonly '~c': true;
152
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
153
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
154
- readonly '~c': true;
155
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
156
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
157
- readonly '~c': true;
158
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
159
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.PaymentLink, _mikro_orm_core.EmptyOptions & {
160
- readonly '~c': true;
161
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
162
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
163
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
164
- primary: true;
165
- } & {
166
- readonly '~c': true;
167
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
168
- readonly amount: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
169
- readonly '~c': true;
170
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
171
- readonly paymentMethods: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, Omit<_mikro_orm_core.EmptyOptions, "array"> & {
172
- array: true;
173
- } & {
174
- readonly '~c': true;
175
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
176
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
177
- readonly '~c': true;
178
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
179
- readonly status: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
180
- readonly '~c': true;
181
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
182
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.PaymentLink, _mikro_orm_core.EmptyOptions & {
183
- readonly '~c': true;
184
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
185
- }, undefined, never, never, false>>>;
186
- declare const Plan: _mikro_orm_core.EntitySchemaWithMeta<"Plan", string, _mikro_orm_core.InferEntityFromProperties<{
187
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
188
- primary: true;
189
- } & {
190
- readonly '~c': true;
191
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
192
- readonly name: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
193
- readonly '~c': true;
194
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
195
- readonly price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
196
- readonly '~c': true;
197
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
198
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
199
- readonly '~c': true;
200
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
201
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
202
- readonly '~c': true;
203
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
204
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
205
- readonly '~c': true;
206
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
208
- readonly '~c': true;
209
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
210
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Product, _mikro_orm_core.EmptyOptions & {
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
- }, undefined, never, never, false>, never, {
214
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
215
- primary: true;
216
- } & {
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 name: 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 price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
223
- readonly '~c': true;
224
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
225
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
226
- readonly '~c': true;
227
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
228
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
229
- readonly '~c': true;
230
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
231
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
232
- readonly '~c': true;
233
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
234
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
235
- readonly '~c': true;
236
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
237
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Product, _mikro_orm_core.EmptyOptions & {
238
- readonly '~c': true;
239
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
240
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
241
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
242
- primary: true;
243
- } & {
244
- readonly '~c': true;
245
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
246
- readonly name: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
247
- readonly '~c': true;
248
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
249
- readonly price: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<string | number>, _mikro_orm_core.EmptyOptions & {
250
- readonly '~c': true;
251
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
252
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
253
- readonly '~c': true;
254
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
255
- readonly cadence: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
256
- readonly '~c': true;
257
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
258
- readonly currency: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
259
- readonly '~c': true;
260
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
261
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
262
- readonly '~c': true;
263
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
264
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Product, _mikro_orm_core.EmptyOptions & {
265
- readonly '~c': true;
266
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
267
- }, undefined, never, never, false>>>;
268
- declare const Subscription: _mikro_orm_core.EntitySchemaWithMeta<"Subscription", string, _mikro_orm_core.InferEntityFromProperties<{
269
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
270
- primary: true;
271
- } & {
272
- readonly '~c': true;
273
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
274
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
275
- readonly '~c': true;
276
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
277
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
278
- readonly '~c': true;
279
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
280
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
281
- readonly '~c': true;
282
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
283
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
284
- readonly '~c': true;
285
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
286
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
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 providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Subscription, _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
- }, undefined, never, never, false>, never, {
293
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
294
- primary: true;
295
- } & {
296
- readonly '~c': true;
297
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
298
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
299
- readonly '~c': true;
300
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
301
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
302
- readonly '~c': true;
303
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
304
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
305
- readonly '~c': true;
306
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
307
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
308
- readonly '~c': true;
309
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
310
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
311
- readonly '~c': true;
312
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
313
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Subscription, _mikro_orm_core.EmptyOptions & {
314
- readonly '~c': true;
315
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
316
- }, _mikro_orm_core.EntityCtor<_mikro_orm_core.InferEntityFromProperties<{
317
- readonly id: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, Omit<_mikro_orm_core.EmptyOptions, "primary"> & {
318
- primary: true;
319
- } & {
320
- readonly '~c': true;
321
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
322
- readonly partyId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
323
- readonly '~c': true;
324
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
325
- readonly externalId: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<string, _mikro_orm_core.EmptyOptions & {
326
- readonly '~c': true;
327
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
328
- readonly partyType: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
329
- readonly '~c': true;
330
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
331
- readonly billingProvider: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<any, _mikro_orm_core.EmptyOptions & {
332
- readonly '~c': true;
333
- }, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">, "name" | "type" | "serializedPrimaryKey" | "comment" | "array" | "fieldName" | "fieldNames" | "columnType" | "columnTypes" | "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">;
334
- readonly active: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, _mikro_orm_core.EmptyOptions & {
335
- readonly '~c': true;
336
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
337
- readonly providerFields: Pick<_mikro_orm_core.UniversalPropertyOptionsBuilder<Stripe.Subscription, _mikro_orm_core.EmptyOptions & {
338
- readonly '~c': true;
339
- }, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof _mikro_orm_core.PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
340
- }, undefined, never, never, false>>>;
341
-
342
- type StripeBillingPortalEntities = {
343
- BillingPortalMapper: {
344
- '~entity': (typeof BillingPortal)['~entity'];
345
- };
346
- CreateBillingPortalMapper: {
347
- '~entity': (typeof BillingPortal)['~entity'];
348
- };
349
- UpdateBillingPortalMapper: {
350
- '~entity': (typeof BillingPortal)['~entity'];
351
- };
352
- };
353
- type StripeCheckoutSessionEntities<StatusEnum> = {
354
- CheckoutSessionMapper: {
355
- '~entity': (typeof CheckoutSession)['~entity'] & {
356
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
357
- currency: CurrencyEnum[keyof CurrencyEnum];
358
- status: StatusEnum[keyof StatusEnum];
359
- };
360
- };
361
- CreateCheckoutSessionMapper: {
362
- '~entity': (typeof CheckoutSession)['~entity'] & {
363
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
364
- currency: CurrencyEnum[keyof CurrencyEnum];
365
- status: StatusEnum[keyof StatusEnum];
366
- };
367
- };
368
- UpdateCheckoutSessionMapper: {
369
- '~entity': (typeof CheckoutSession)['~entity'] & {
370
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
371
- currency: CurrencyEnum[keyof CurrencyEnum];
372
- status: StatusEnum[keyof StatusEnum];
373
- };
374
- };
375
- };
376
- type StripePaymentLinkEntities<StatusEnum> = {
377
- PaymentLinkMapper: {
378
- '~entity': (typeof PaymentLink)['~entity'] & {
379
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
380
- currency: CurrencyEnum[keyof CurrencyEnum];
381
- status: StatusEnum[keyof StatusEnum];
382
- };
383
- };
384
- CreatePaymentLinkMapper: {
385
- '~entity': (typeof PaymentLink)['~entity'] & {
386
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
387
- currency: CurrencyEnum[keyof CurrencyEnum];
388
- status: StatusEnum[keyof StatusEnum];
389
- };
390
- };
391
- UpdatePaymentLinkMapper: {
392
- '~entity': (typeof PaymentLink)['~entity'] & {
393
- paymentMethods: PaymentMethodEnum[keyof PaymentMethodEnum][];
394
- currency: CurrencyEnum[keyof CurrencyEnum];
395
- status: StatusEnum[keyof StatusEnum];
396
- };
397
- };
398
- };
399
- type StripePlanEntities = {
400
- PlanMapper: {
401
- '~entity': (typeof Plan)['~entity'] & {
402
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
403
- currency: CurrencyEnum[keyof CurrencyEnum];
404
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
405
- };
406
- };
407
- CreatePlanMapper: {
408
- '~entity': (typeof Plan)['~entity'] & {
409
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
410
- currency: CurrencyEnum[keyof CurrencyEnum];
411
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
412
- };
413
- };
414
- UpdatePlanMapper: {
415
- '~entity': (typeof Plan)['~entity'] & {
416
- cadence: PlanCadenceEnum[keyof PlanCadenceEnum];
417
- currency: CurrencyEnum[keyof CurrencyEnum];
418
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
419
- };
420
- };
421
- };
422
- type StripeSubscriptionEntities<PartyTypeEnum> = {
423
- SubscriptionMapper: {
424
- '~entity': (typeof Subscription)['~entity'] & {
425
- partyType: PartyTypeEnum[keyof PartyTypeEnum];
426
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
427
- };
428
- };
429
- CreateSubscriptionMapper: {
430
- '~entity': (typeof Subscription)['~entity'] & {
431
- partyType: PartyTypeEnum[keyof PartyTypeEnum];
432
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
433
- };
434
- };
435
- UpdateSubscriptionMapper: {
436
- '~entity': (typeof Subscription)['~entity'] & {
437
- partyType: PartyTypeEnum[keyof PartyTypeEnum];
438
- billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
439
- };
440
- };
441
- };
442
-
443
- type StripeBillingPortalMappers<Entities extends StripeBillingPortalEntities, Dto extends StripeBillingPortalDtos> = {
444
- BillingPortalMapper: {
445
- entity: Entities['BillingPortalMapper'];
446
- toDto: (entity: InferEntity<Entities['BillingPortalMapper']>) => Promise<Dto['BillingPortalMapper']>;
447
- };
448
- CreateBillingPortalMapper: {
449
- entity: Entities['CreateBillingPortalMapper'];
450
- toEntity: (dto: Dto['CreateBillingPortalMapper'], em: EntityManager, stripeSession: Stripe.BillingPortal.Session, ...args: unknown[]) => Promise<InferEntity<Entities['CreateBillingPortalMapper']>>;
451
- };
452
- UpdateBillingPortalMapper: {
453
- entity: Entities['UpdateBillingPortalMapper'];
454
- toEntity: (dto: Dto['UpdateBillingPortalMapper'], em: EntityManager, stripeSession: Stripe.BillingPortal.Session, ...args: unknown[]) => Promise<InferEntity<Entities['UpdateBillingPortalMapper']>>;
455
- };
456
- };
457
-
458
- type StripeCheckoutSessionMappers<StatusEnum, Entities extends StripeCheckoutSessionEntities<StatusEnum>, Dto extends StripeCheckoutSessionDtos<StatusEnum>> = {
459
- CheckoutSessionMapper: {
460
- entity: Entities['CheckoutSessionMapper'];
461
- toDto: (entity: InferEntity<Entities['CheckoutSessionMapper']>) => Promise<Dto['CheckoutSessionMapper']>;
462
- };
463
- CreateCheckoutSessionMapper: {
464
- entity: Entities['CreateCheckoutSessionMapper'];
465
- toEntity: (dto: Dto['CreateCheckoutSessionMapper'], em: EntityManager, stripeSession: Stripe.Checkout.Session, ...args: unknown[]) => Promise<InferEntity<Entities['CreateCheckoutSessionMapper']>>;
466
- };
467
- UpdateCheckoutSessionMapper: {
468
- entity: Entities['UpdateCheckoutSessionMapper'];
469
- toEntity: (dto: Dto['UpdateCheckoutSessionMapper'], em: EntityManager, stripeSession: Stripe.Checkout.Session, ...args: unknown[]) => Promise<InferEntity<Entities['UpdateCheckoutSessionMapper']>>;
470
- };
471
- };
472
-
473
- type StripePaymentLinkMappers<StatusEnum, Entities extends StripePaymentLinkEntities<StatusEnum>, Dto extends StripePaymentLinkDtos<StatusEnum>> = {
474
- PaymentLinkMapper: {
475
- entity: Entities['PaymentLinkMapper'];
476
- toDto: (entity: InferEntity<Entities['PaymentLinkMapper']>) => Promise<Dto['PaymentLinkMapper']>;
477
- };
478
- CreatePaymentLinkMapper: {
479
- entity: Entities['CreatePaymentLinkMapper'];
480
- toEntity: (dto: Dto['CreatePaymentLinkMapper'], em: EntityManager, stripePaymentLink: Stripe.PaymentLink, ...args: unknown[]) => Promise<InferEntity<Entities['CreatePaymentLinkMapper']>>;
481
- };
482
- UpdatePaymentLinkMapper: {
483
- entity: Entities['UpdatePaymentLinkMapper'];
484
- toEntity: (dto: Dto['UpdatePaymentLinkMapper'], em: EntityManager, stripePaymentLink: Stripe.PaymentLink, ...args: unknown[]) => Promise<InferEntity<Entities['UpdatePaymentLinkMapper']>>;
485
- };
486
- };
487
-
488
- type StripePlanMappers<Entities extends StripePlanEntities, Dto extends StripePlanDtos> = {
489
- PlanMapper: {
490
- entity: Entities['PlanMapper'];
491
- toDto: (entity: InferEntity<Entities['PlanMapper']>) => Promise<Dto['PlanMapper']>;
492
- };
493
- CreatePlanMapper: {
494
- entity: Entities['CreatePlanMapper'];
495
- toEntity: (dto: Dto['CreatePlanMapper'], em: EntityManager, stripePlan: Stripe.Product, ...args: unknown[]) => Promise<InferEntity<Entities['CreatePlanMapper']>>;
496
- };
497
- UpdatePlanMapper: {
498
- entity: Entities['UpdatePlanMapper'];
499
- toEntity: (dto: Dto['UpdatePlanMapper'], em: EntityManager, stripePlan: Stripe.Product, ...args: unknown[]) => Promise<InferEntity<Entities['UpdatePlanMapper']>>;
500
- };
501
- };
502
-
503
- type StripeSubscriptionMappers<PartyTypeEnum, Entities extends StripeSubscriptionEntities<PartyTypeEnum>, Dto extends StripeSubscriptionDtos<PartyTypeEnum>> = {
504
- SubscriptionMapper: {
505
- entity: Entities['SubscriptionMapper'];
506
- toDto: (entity: InferEntity<Entities['SubscriptionMapper']>) => Promise<Dto['SubscriptionMapper']>;
507
- };
508
- CreateSubscriptionMapper: {
509
- entity: Entities['CreateSubscriptionMapper'];
510
- toEntity: (dto: Dto['CreateSubscriptionMapper'], em: EntityManager, stripeSubscription: Stripe.Subscription, ...args: unknown[]) => Promise<InferEntity<Entities['CreateSubscriptionMapper']>>;
511
- };
512
- UpdateSubscriptionMapper: {
513
- entity: Entities['UpdateSubscriptionMapper'];
514
- toEntity: (dto: Dto['UpdateSubscriptionMapper'], em: EntityManager, stripeSubscription: Stripe.Subscription, ...args: unknown[]) => Promise<InferEntity<Entities['UpdateSubscriptionMapper']>>;
515
- };
516
- };
517
-
518
- export { StripeBillingPortalDtos, type StripeBillingPortalEntities, type StripeBillingPortalMappers, StripeCheckoutSessionDtos, type StripeCheckoutSessionEntities, type StripeCheckoutSessionMappers, StripePaymentLinkDtos, type StripePaymentLinkEntities, type StripePaymentLinkMappers, StripePlanDtos, type StripePlanEntities, type StripePlanMappers, StripeSubscriptionDtos, type StripeSubscriptionEntities, type StripeSubscriptionMappers };
1
+ export * from './billingPortal.mapper.types';
2
+ export * from './checkoutSession.mapper.types';
3
+ export * from './paymentLink.mapper.types';
4
+ export * from './plan.mapper.types';
5
+ export * from './stripe.dto.types';
6
+ export type * from './stripe.entity.types';
7
+ export * from './subscription.mapper.types';
8
+ //# sourceMappingURL=index.d.ts.map