@darraghor/nest-backend-libs 5.7.5 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +87 -36
  2. package/dist/exports/authorization.d.ts +14 -0
  3. package/dist/exports/authorization.js +12 -0
  4. package/dist/exports/authorization.js.map +1 -0
  5. package/dist/exports/core.d.ts +11 -0
  6. package/dist/exports/core.js +10 -0
  7. package/dist/exports/core.js.map +1 -0
  8. package/dist/exports/database.d.ts +5 -0
  9. package/dist/exports/database.js +6 -0
  10. package/dist/exports/database.js.map +1 -0
  11. package/dist/exports/email.d.ts +4 -0
  12. package/dist/exports/email.js +4 -0
  13. package/dist/exports/email.js.map +1 -0
  14. package/dist/exports/invitations.d.ts +6 -0
  15. package/dist/exports/invitations.js +6 -0
  16. package/dist/exports/invitations.js.map +1 -0
  17. package/dist/exports/organisations.d.ts +11 -0
  18. package/dist/exports/organisations.js +12 -0
  19. package/dist/exports/organisations.js.map +1 -0
  20. package/dist/exports/stripe-legacy.d.ts +6 -0
  21. package/dist/exports/stripe-legacy.js +7 -0
  22. package/dist/exports/stripe-legacy.js.map +1 -0
  23. package/dist/exports/stripe.d.ts +11 -0
  24. package/dist/exports/stripe.js +9 -0
  25. package/dist/exports/stripe.js.map +1 -0
  26. package/dist/exports/twitter.d.ts +5 -0
  27. package/dist/exports/twitter.js +5 -0
  28. package/dist/exports/twitter.js.map +1 -0
  29. package/dist/exports/users.d.ts +10 -0
  30. package/dist/exports/users.js +11 -0
  31. package/dist/exports/users.js.map +1 -0
  32. package/dist/index.d.ts +11 -0
  33. package/dist/index.js +11 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/organisation-subscriptions/entities/organisation-subscription.entity.js +2 -1
  36. package/dist/organisation-subscriptions/entities/organisation-subscription.entity.js.map +1 -1
  37. package/dist/stripe-client/StripeClientConfigurationService.js +1 -0
  38. package/dist/stripe-client/StripeClientConfigurationService.js.map +1 -1
  39. package/dist/stripe-client/controllers/stripe-checkout-controller.d.ts +1 -0
  40. package/dist/stripe-client/controllers/stripe-checkout-controller.js +1 -0
  41. package/dist/stripe-client/controllers/stripe-checkout-controller.js.map +1 -1
  42. package/dist/stripe-client/controllers/stripe-events-controller.js +1 -0
  43. package/dist/stripe-client/controllers/stripe-events-controller.js.map +1 -1
  44. package/dist/stripe-client/controllers/stripe-unauthenticated-checkout-controller.js +1 -0
  45. package/dist/stripe-client/controllers/stripe-unauthenticated-checkout-controller.js.map +1 -1
  46. package/dist/stripe-client/services/auth-stripe-checkout.service.js +1 -0
  47. package/dist/stripe-client/services/auth-stripe-checkout.service.js.map +1 -1
  48. package/dist/stripe-client/services/queued-payment-event.handler.d.ts +1 -0
  49. package/dist/stripe-client/services/queued-payment-event.handler.js +2 -0
  50. package/dist/stripe-client/services/queued-payment-event.handler.js.map +1 -1
  51. package/dist/stripe-client/services/stripe-checkout.service.d.ts +1 -0
  52. package/dist/stripe-client/services/stripe-checkout.service.js +2 -0
  53. package/dist/stripe-client/services/stripe-checkout.service.js.map +1 -1
  54. package/dist/stripe-client/stripe-account.module.d.ts +1 -0
  55. package/dist/stripe-client/stripe-account.module.js +2 -0
  56. package/dist/stripe-client/stripe-account.module.js.map +1 -1
  57. package/dist/stripe-client/stripe-account.options.d.ts +2 -0
  58. package/dist/stripe-client/stripe-account.options.js.map +1 -1
  59. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.d.ts +10 -0
  60. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.js +65 -0
  61. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.js.map +1 -0
  62. package/dist/stripe-payments/controllers/secure-stripe-events.controller.d.ts +9 -0
  63. package/dist/stripe-payments/controllers/secure-stripe-events.controller.js +65 -0
  64. package/dist/stripe-payments/controllers/secure-stripe-events.controller.js.map +1 -0
  65. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.d.ts +14 -0
  66. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.js +112 -0
  67. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.js.map +1 -0
  68. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.d.ts +15 -0
  69. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.js +88 -0
  70. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.js.map +1 -0
  71. package/dist/stripe-payments/entities/stripe-payment-event.entity.d.ts +16 -0
  72. package/dist/stripe-payments/entities/stripe-payment-event.entity.js +101 -0
  73. package/dist/stripe-payments/entities/stripe-payment-event.entity.js.map +1 -0
  74. package/dist/stripe-payments/entities/stripe-payment-state.entity.d.ts +9 -0
  75. package/dist/stripe-payments/entities/stripe-payment-state.entity.js +53 -0
  76. package/dist/stripe-payments/entities/stripe-payment-state.entity.js.map +1 -0
  77. package/dist/stripe-payments/models/secure-checkout.dto.d.ts +14 -0
  78. package/dist/stripe-payments/models/secure-checkout.dto.js +105 -0
  79. package/dist/stripe-payments/models/secure-checkout.dto.js.map +1 -0
  80. package/dist/stripe-payments/models/secure-payment-response.dto.d.ts +7 -0
  81. package/dist/stripe-payments/models/secure-payment-response.dto.js +30 -0
  82. package/dist/stripe-payments/models/secure-payment-response.dto.js.map +1 -0
  83. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.d.ts +12 -0
  84. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.js +49 -0
  85. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.js.map +1 -0
  86. package/dist/stripe-payments/services/secure-stripe-checkout.service.d.ts +24 -0
  87. package/dist/stripe-payments/services/secure-stripe-checkout.service.js +213 -0
  88. package/dist/stripe-payments/services/secure-stripe-checkout.service.js.map +1 -0
  89. package/dist/stripe-payments/services/secure-stripe-client.provider.d.ts +2 -0
  90. package/dist/stripe-payments/services/secure-stripe-client.provider.js +15 -0
  91. package/dist/stripe-payments/services/secure-stripe-client.provider.js.map +1 -0
  92. package/dist/stripe-payments/services/secure-stripe-product.service.d.ts +9 -0
  93. package/dist/stripe-payments/services/secure-stripe-product.service.js +54 -0
  94. package/dist/stripe-payments/services/secure-stripe-product.service.js.map +1 -0
  95. package/dist/stripe-payments/services/secure-stripe-webhook.service.d.ts +14 -0
  96. package/dist/stripe-payments/services/secure-stripe-webhook.service.js +58 -0
  97. package/dist/stripe-payments/services/secure-stripe-webhook.service.js.map +1 -0
  98. package/dist/stripe-payments/services/secure-subscription.service.d.ts +18 -0
  99. package/dist/stripe-payments/services/secure-subscription.service.js +217 -0
  100. package/dist/stripe-payments/services/secure-subscription.service.js.map +1 -0
  101. package/dist/stripe-payments/services/stripe-payment-event.processor.d.ts +15 -0
  102. package/dist/stripe-payments/services/stripe-payment-event.processor.js +78 -0
  103. package/dist/stripe-payments/services/stripe-payment-event.processor.js.map +1 -0
  104. package/dist/stripe-payments/services/stripe-payment-event.service.d.ts +20 -0
  105. package/dist/stripe-payments/services/stripe-payment-event.service.js +178 -0
  106. package/dist/stripe-payments/services/stripe-payment-event.service.js.map +1 -0
  107. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.d.ts +31 -0
  108. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.js +331 -0
  109. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.js.map +1 -0
  110. package/dist/stripe-payments/services/stripe-payments-operations.service.d.ts +25 -0
  111. package/dist/stripe-payments/services/stripe-payments-operations.service.js +59 -0
  112. package/dist/stripe-payments/services/stripe-payments-operations.service.js.map +1 -0
  113. package/dist/stripe-payments/services/stripe-payments-telemetry.service.d.ts +7 -0
  114. package/dist/stripe-payments/services/stripe-payments-telemetry.service.js +40 -0
  115. package/dist/stripe-payments/services/stripe-payments-telemetry.service.js.map +1 -0
  116. package/dist/stripe-payments/stripe-payment.config.d.ts +19 -0
  117. package/dist/stripe-payments/stripe-payment.config.js +98 -0
  118. package/dist/stripe-payments/stripe-payment.config.js.map +1 -0
  119. package/dist/stripe-payments/stripe-payment.config.test.d.ts +1 -0
  120. package/dist/stripe-payments/stripe-payment.config.test.js +59 -0
  121. package/dist/stripe-payments/stripe-payment.config.test.js.map +1 -0
  122. package/dist/stripe-payments/stripe-payments.extensions.d.ts +69 -0
  123. package/dist/stripe-payments/stripe-payments.extensions.js +30 -0
  124. package/dist/stripe-payments/stripe-payments.extensions.js.map +1 -0
  125. package/dist/stripe-payments/stripe-payments.module.d.ts +12 -0
  126. package/dist/stripe-payments/stripe-payments.module.js +118 -0
  127. package/dist/stripe-payments/stripe-payments.module.js.map +1 -0
  128. package/dist/stripe-payments/stripe-payments.options.d.ts +21 -0
  129. package/dist/stripe-payments/stripe-payments.options.js +2 -0
  130. package/dist/stripe-payments/stripe-payments.options.js.map +1 -0
  131. package/dist/typeorm/entities.d.ts +15 -0
  132. package/dist/typeorm/entities.js +32 -0
  133. package/dist/typeorm/entities.js.map +1 -0
  134. package/package.json +41 -1
package/README.md CHANGED
@@ -10,52 +10,103 @@ You can see how this library is used in a NestJS application on GitHub as [use-m
10
10
 
11
11
  The library includes the following modules that can be imported into your NestJS application. They are mostly dependant on each other so you should import them all. But they are things that are common to most applications so it makes sense to have them together in this library if you use this stack.
12
12
 
13
- - Authorization
14
- - Auth0 for authentication
15
- - Configuration
16
- - Postgres + typeorm
17
- - SQLite + typeorm
18
- - health checks
19
- - invitations
20
- - logging
21
- - organisations
22
- - subscriptions
23
- - payments (Stripe but should work with any)
24
- - CLI (e.g. for running stable diffusion)
13
+ - Authorization
14
+ - Auth0 for authentication
15
+ - Configuration
16
+ - Postgres + typeorm
17
+ - SQLite + typeorm
18
+ - health checks
19
+ - invitations
20
+ - logging
21
+ - organisations
22
+ - subscriptions
23
+ - payments (Stripe but should work with any)
24
+ - CLI (e.g. for running stable diffusion)
25
25
 
26
26
  ## Modules with no dependencies
27
27
 
28
- - Open API
28
+ - Open API
29
29
 
30
- ## Stripe Module Notes
30
+ ## Focused imports
31
31
 
32
- A module for integrating stripe into your nest application.
32
+ Applications can import only the public surface they use instead of loading the root
33
+ barrel. Available entry points include `/authorization`, `/core`, `/database`, `/email`,
34
+ `/invitations`, `/organisations`, `/stripe`, `/stripe-legacy`, `/twitter`, and `/users`:
33
35
 
34
- ### Default functionality
35
-
36
- Webhook handling into a queue is automatically added to the module
37
- A controller to generate a customer portal session for authenticated users is added to the module
38
-
39
- ### You must manually add the following to your own module
40
-
41
- A controller to create a checkout session for either Authenticated or Unauthenticated users (your choice if you want your front end app to force users to auth or not)
42
-
43
- A handler for the webhook queue events. You can see an example `StripeQueuedEventHandler` in Miller but you will probably want to do different actions for your customers.
36
+ ```ts
37
+ import {
38
+ StripePaymentsModule,
39
+ STRIPE_PAYMENTS_ACCESS_POLICY,
40
+ } from "@darraghor/nest-backend-libs/stripe";
41
+ import {NEST_BACKEND_LIB_ENTITIES} from "@darraghor/nest-backend-libs/database";
42
+ ```
44
43
 
45
- ### Env vars
44
+ ## Stripe payments
45
+
46
+ `StripePaymentsModule` is the opinionated Stripe integration for new applications. It
47
+ owns the server-side product catalog, authenticated organisation-owner checkout,
48
+ idempotency records, safe redirect construction, customer portal sessions, signature
49
+ verification, a durable webhook inbox, retries, replay, and subscription state updates.
50
+
51
+ Configure it with an async factory. Products are deliberately configured on the server;
52
+ clients send a product key, never arbitrary Stripe line items or prices:
53
+
54
+ ```ts
55
+ StripePaymentsModule.forRootAsync({
56
+ imports: [ConfigModule],
57
+ inject: [ConfigService],
58
+ useFactory: (config: ConfigService) => ({
59
+ accessToken: config.getOrThrow("STRIPE_ACCESS_TOKEN"),
60
+ webhookVerificationKey: config.getOrThrow(
61
+ "STRIPE_WEBHOOK_VERIFICATION_KEY"
62
+ ),
63
+ redirectsBaseUrl: config.getOrThrow("STRIPE_REDIRECTS_BASE_URL"),
64
+ products: parseStripeProductCatalog(
65
+ config.getOrThrow("STRIPE_PRODUCT_CATALOG_JSON")
66
+ ),
67
+ }),
68
+ });
69
+ ```
46
70
 
47
- STRIPE_ACCESS_TOKEN
48
- Why: To create stripe sessions using the api
49
- Where: https://dashboard.stripe.com/apikeys
71
+ The library does not ship application migrations. Add `NEST_BACKEND_LIB_ENTITIES` to
72
+ the consuming application's TypeORM data source and generate migrations there whenever
73
+ the installed library changes its entities. `STRIPE_PAYMENTS_ENTITIES` is also exported
74
+ when a Stripe-only entity list is more convenient.
75
+
76
+ Application-specific behavior can be supplied with Nest providers. The default access
77
+ policy requires an organisation owner; telemetry defaults to a no-op and telemetry
78
+ failures never interrupt payment processing:
79
+
80
+ ```ts
81
+ StripePaymentsModule.forRootAsync({
82
+ imports: [ConfigModule],
83
+ inject: [ConfigService],
84
+ useFactory: createStripeOptions,
85
+ providers: [
86
+ {
87
+ provide: STRIPE_PAYMENTS_ACCESS_POLICY,
88
+ useClass: ApplicationStripeAccessPolicy,
89
+ },
90
+ {
91
+ provide: STRIPE_PAYMENTS_TELEMETRY,
92
+ useClass: OpenTelemetryStripePayments,
93
+ },
94
+ {
95
+ provide: STRIPE_PAYMENTS_ENTITLEMENT_STORE,
96
+ useClass: ApplicationEntitlementStore,
97
+ },
98
+ ],
99
+ });
100
+ ```
50
101
 
51
- STRIPE_WEBHOOK_VERIFICATION_KEY
52
- Why: To verify the webhook signature
53
- Where: https://dashboard.stripe.com/apikeys
102
+ `GET /payments/stripe/operations` is restricted to `read:all` and reports durable
103
+ event counts, stale processing records, queue counts, and an `up` or `degraded` status.
104
+ `StripePaymentsOperationsService` is exported for integration into an application's
105
+ existing health or metrics endpoint.
54
106
 
55
- STRIPE_REDIRECTS_BASE_URL
56
- Why: To securely redirect the user to the correct website after checkout we don't use a full url
57
- in the request object, only a path which is combined with this base url
58
- Where: your frontend configuration
107
+ `StripeAccountModule`, `StripeCheckoutService`, and `StripeQueuedEventHandler` remain
108
+ available for existing applications but are deprecated. They accept unsafe legacy
109
+ inputs and do not receive fixes made to the v2 flow; migrate to `StripePaymentsModule`.
59
110
 
60
111
  ### Testing
61
112
 
@@ -0,0 +1,14 @@
1
+ export { AuthzModule } from "../authorization/authz.module.js";
2
+ export { JwtStrategy } from "../authorization/strategies/authzstrategy.js";
3
+ export { ApiKeyStrategy } from "../authorization/strategies/apikeystrategy.js";
4
+ export { DefaultAuthGuard } from "../authorization/guards/DefaultAuthGuard.js";
5
+ export { ApiKeyAuthGuard } from "../authorization/guards/ApiKeyAuthGuard.js";
6
+ export { ClaimsAuthorisationGuard } from "../authorization/guards/ClaimsAuthorisationGuard.js";
7
+ export { MandatoryUserClaims } from "../authorization/guards/MandatoryUserClaims.decorator.js";
8
+ export { isOwnerOrThrow } from "../authorization/isOwnerOrThrow.js";
9
+ export type { RequestUser, RequestWithUser, } from "../authorization/models/RequestWithUser.js";
10
+ export type { AuthzModuleOptions, AuthzModuleAsyncOptions, } from "../authorization/authz.options.js";
11
+ export { AUTHZ_MODULE_OPTIONS } from "../authorization/authz.options.js";
12
+ export { AuthzClientModule } from "../authzclient/authz-client.module.js";
13
+ export type { AuthzClientModuleOptions, AuthzClientModuleAsyncOptions, } from "../authzclient/authz-client.options.js";
14
+ export { AUTHZ_CLIENT_MODULE_OPTIONS } from "../authzclient/authz-client.options.js";
@@ -0,0 +1,12 @@
1
+ export { AuthzModule } from "../authorization/authz.module.js";
2
+ export { JwtStrategy } from "../authorization/strategies/authzstrategy.js";
3
+ export { ApiKeyStrategy } from "../authorization/strategies/apikeystrategy.js";
4
+ export { DefaultAuthGuard } from "../authorization/guards/DefaultAuthGuard.js";
5
+ export { ApiKeyAuthGuard } from "../authorization/guards/ApiKeyAuthGuard.js";
6
+ export { ClaimsAuthorisationGuard } from "../authorization/guards/ClaimsAuthorisationGuard.js";
7
+ export { MandatoryUserClaims } from "../authorization/guards/MandatoryUserClaims.decorator.js";
8
+ export { isOwnerOrThrow } from "../authorization/isOwnerOrThrow.js";
9
+ export { AUTHZ_MODULE_OPTIONS } from "../authorization/authz.options.js";
10
+ export { AuthzClientModule } from "../authzclient/authz-client.module.js";
11
+ export { AUTHZ_CLIENT_MODULE_OPTIONS } from "../authzclient/authz-client.options.js";
12
+ //# sourceMappingURL=authorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorization.js","sourceRoot":"","sources":["../../src/exports/authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAC,cAAc,EAAC,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAC,wBAAwB,EAAC,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,cAAc,EAAC,MAAM,oCAAoC,CAAC;AASlE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAKxE,OAAO,EAAC,2BAA2B,EAAC,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { CoreModule } from "../root-app/core-app.module.js";
2
+ export { SwaggerGen } from "../root-app/SwaggerGen.js";
3
+ export { CoreConfigModule } from "../core-config/CoreConfig.module.js";
4
+ export { CoreConfigurationService } from "../core-config/CoreConfigurationService.js";
5
+ export type { CoreModuleOptions, CoreModuleAsyncOptions, HelmetOptions, } from "../core-config/core-config.options.js";
6
+ export { CORE_MODULE_OPTIONS } from "../core-config/core-config.options.js";
7
+ export { LoggerModule } from "../logger/logger.module.js";
8
+ export { LoggingConfigurationService } from "../logger/LoggingConfigurationService.js";
9
+ export type { LoggerModuleOptions, LoggerModuleAsyncOptions, } from "../logger/logger.options.js";
10
+ export { LOGGER_MODULE_OPTIONS } from "../logger/logger.options.js";
11
+ export { ValidatedConfigurationService } from "../configuration/ValidatedConfigurationService.js";
@@ -0,0 +1,10 @@
1
+ export { CoreModule } from "../root-app/core-app.module.js";
2
+ export { SwaggerGen } from "../root-app/SwaggerGen.js";
3
+ export { CoreConfigModule } from "../core-config/CoreConfig.module.js";
4
+ export { CoreConfigurationService } from "../core-config/CoreConfigurationService.js";
5
+ export { CORE_MODULE_OPTIONS } from "../core-config/core-config.options.js";
6
+ export { LoggerModule } from "../logger/logger.module.js";
7
+ export { LoggingConfigurationService } from "../logger/LoggingConfigurationService.js";
8
+ export { LOGGER_MODULE_OPTIONS } from "../logger/logger.options.js";
9
+ export { ValidatedConfigurationService } from "../configuration/ValidatedConfigurationService.js";
10
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/exports/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAC,wBAAwB,EAAC,MAAM,4CAA4C,CAAC;AAMpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAKrF,OAAO,EAAC,qBAAqB,EAAC,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAC,6BAA6B,EAAC,MAAM,mDAAmD,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { PostgresDatabaseModule } from "../database-postgres/PostgresDatabase.module.js";
2
+ export { PostgresTypeOrmConfigurationProvider } from "../database-postgres/PostgresTypeOrmConfigurationProvider.js";
3
+ export { SqliteDatabaseModule } from "../database-sqlite/SqliteDatabase.module.js";
4
+ export { SqliteDatabaseConfigurationService } from "../database-sqlite/SqliteDatabaseConfigurationService.js";
5
+ export { NEST_BACKEND_LIB_ENTITIES, STRIPE_PAYMENTS_ENTITIES, } from "../typeorm/entities.js";
@@ -0,0 +1,6 @@
1
+ export { PostgresDatabaseModule } from "../database-postgres/PostgresDatabase.module.js";
2
+ export { PostgresTypeOrmConfigurationProvider } from "../database-postgres/PostgresTypeOrmConfigurationProvider.js";
3
+ export { SqliteDatabaseModule } from "../database-sqlite/SqliteDatabase.module.js";
4
+ export { SqliteDatabaseConfigurationService } from "../database-sqlite/SqliteDatabaseConfigurationService.js";
5
+ export { NEST_BACKEND_LIB_ENTITIES, STRIPE_PAYMENTS_ENTITIES, } from "../typeorm/entities.js";
6
+ //# sourceMappingURL=database.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"database.js","sourceRoot":"","sources":["../../src/exports/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAC,oCAAoC,EAAC,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,kCAAkC,EAAC,MAAM,0DAA0D,CAAC;AAC5G,OAAO,EACH,yBAAyB,EACzB,wBAAwB,GAC3B,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { SmtpEmailClientModule } from "../smtp-email-client/smtp-email-client.module.js";
2
+ export { SmtpEmailClient } from "../smtp-email-client/email-client.service.js";
3
+ export type { SmtpEmailModuleOptions, SmtpEmailModuleAsyncOptions, } from "../smtp-email-client/smtp-email-client.options.js";
4
+ export { SMTP_EMAIL_MODULE_OPTIONS } from "../smtp-email-client/smtp-email-client.options.js";
@@ -0,0 +1,4 @@
1
+ export { SmtpEmailClientModule } from "../smtp-email-client/smtp-email-client.module.js";
2
+ export { SmtpEmailClient } from "../smtp-email-client/email-client.service.js";
3
+ export { SMTP_EMAIL_MODULE_OPTIONS } from "../smtp-email-client/smtp-email-client.options.js";
4
+ //# sourceMappingURL=email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../src/exports/email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAK7E,OAAO,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { InvitationModule } from "../invitations/invitation.module.js";
2
+ export { InvitationService } from "../invitations/invitation.service.js";
3
+ export { Invitation } from "../invitations/entities/invitation.entity.js";
4
+ export { CreateInvitationDto } from "../invitations/dto/create-invitation.dto.js";
5
+ export type { InvitationModuleOptions, InvitationModuleAsyncOptions, } from "../invitations/invitation.options.js";
6
+ export { INVITATION_MODULE_OPTIONS } from "../invitations/invitation.options.js";
@@ -0,0 +1,6 @@
1
+ export { InvitationModule } from "../invitations/invitation.module.js";
2
+ export { InvitationService } from "../invitations/invitation.service.js";
3
+ export { Invitation } from "../invitations/entities/invitation.entity.js";
4
+ export { CreateInvitationDto } from "../invitations/dto/create-invitation.dto.js";
5
+ export { INVITATION_MODULE_OPTIONS } from "../invitations/invitation.options.js";
6
+ //# sourceMappingURL=invitations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitations.js","sourceRoot":"","sources":["../../src/exports/invitations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AAKhF,OAAO,EAAC,yBAAyB,EAAC,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { OrganisationModule } from "../organisation/organisation.module.js";
2
+ export { Organisation } from "../organisation/entities/organisation.entity.js";
3
+ export { MembershipRole } from "../organisation/entities/member-role.entity.js";
4
+ export { Roles } from "../organisation/dto/RolesEnum.js";
5
+ export { OrganisationMembershipsModule } from "../organisation-memberships/organisation-memberships.module.js";
6
+ export { OrganisationMembershipsService } from "../organisation-memberships/organisation-memberships.service.js";
7
+ export { OrganisationMembership } from "../organisation-memberships/entities/organisation-membership.entity.js";
8
+ export { OrganisationSubscriptionsModule } from "../organisation-subscriptions/organisation-subscriptions.module.js";
9
+ export { OrganisationSubscriptionService } from "../organisation-subscriptions/organisation-subscriptions.service.js";
10
+ export { OrganisationSubscriptionRecord } from "../organisation-subscriptions/entities/organisation-subscription.entity.js";
11
+ export { SubActivationQueueModule } from "../organisation-subscriptions/sub-activation-queue.module.js";
@@ -0,0 +1,12 @@
1
+ export { OrganisationModule } from "../organisation/organisation.module.js";
2
+ export { Organisation } from "../organisation/entities/organisation.entity.js";
3
+ export { MembershipRole } from "../organisation/entities/member-role.entity.js";
4
+ export { Roles } from "../organisation/dto/RolesEnum.js";
5
+ export { OrganisationMembershipsModule } from "../organisation-memberships/organisation-memberships.module.js";
6
+ export { OrganisationMembershipsService } from "../organisation-memberships/organisation-memberships.service.js";
7
+ export { OrganisationMembership } from "../organisation-memberships/entities/organisation-membership.entity.js";
8
+ export { OrganisationSubscriptionsModule } from "../organisation-subscriptions/organisation-subscriptions.module.js";
9
+ export { OrganisationSubscriptionService } from "../organisation-subscriptions/organisation-subscriptions.service.js";
10
+ export { OrganisationSubscriptionRecord } from "../organisation-subscriptions/entities/organisation-subscription.entity.js";
11
+ export { SubActivationQueueModule } from "../organisation-subscriptions/sub-activation-queue.module.js";
12
+ //# sourceMappingURL=organisations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organisations.js","sourceRoot":"","sources":["../../src/exports/organisations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAC,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAC;AACvD,OAAO,EAAC,6BAA6B,EAAC,MAAM,gEAAgE,CAAC;AAC7G,OAAO,EAAC,8BAA8B,EAAC,MAAM,iEAAiE,CAAC;AAC/G,OAAO,EAAC,sBAAsB,EAAC,MAAM,wEAAwE,CAAC;AAC9G,OAAO,EAAC,+BAA+B,EAAC,MAAM,oEAAoE,CAAC;AACnH,OAAO,EAAC,+BAA+B,EAAC,MAAM,qEAAqE,CAAC;AACpH,OAAO,EAAC,8BAA8B,EAAC,MAAM,4EAA4E,CAAC;AAC1H,OAAO,EAAC,wBAAwB,EAAC,MAAM,8DAA8D,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { StripeAccountModule } from "../stripe-client/stripe-account.module.js";
2
+ export { StripeCheckoutController } from "../stripe-client/controllers/stripe-checkout-controller.js";
3
+ export { StripeUnauthenticatedCheckoutController } from "../stripe-client/controllers/stripe-unauthenticated-checkout-controller.js";
4
+ export { StripeQueuedEventHandler } from "../stripe-client/services/queued-payment-event.handler.js";
5
+ export type { StripeModuleOptions, StripeModuleAsyncOptions, } from "../stripe-client/stripe-account.options.js";
6
+ export { STRIPE_MODULE_OPTIONS } from "../stripe-client/stripe-account.options.js";
@@ -0,0 +1,7 @@
1
+ /* eslint-disable @typescript-eslint/no-deprecated */
2
+ export { StripeAccountModule } from "../stripe-client/stripe-account.module.js";
3
+ export { StripeCheckoutController } from "../stripe-client/controllers/stripe-checkout-controller.js";
4
+ export { StripeUnauthenticatedCheckoutController } from "../stripe-client/controllers/stripe-unauthenticated-checkout-controller.js";
5
+ export { StripeQueuedEventHandler } from "../stripe-client/services/queued-payment-event.handler.js";
6
+ export { STRIPE_MODULE_OPTIONS } from "../stripe-client/stripe-account.options.js";
7
+ //# sourceMappingURL=stripe-legacy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripe-legacy.js","sourceRoot":"","sources":["../../src/exports/stripe-legacy.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,OAAO,EAAC,mBAAmB,EAAC,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAC,wBAAwB,EAAC,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAC,uCAAuC,EAAC,MAAM,4EAA4E,CAAC;AACnI,OAAO,EAAC,wBAAwB,EAAC,MAAM,2DAA2D,CAAC;AAKnG,OAAO,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { StripePaymentsModule } from "../stripe-payments/stripe-payments.module.js";
2
+ export type { StripePaymentsMode, StripePaymentsProduct, StripePaymentsModuleOptions, StripePaymentsModuleAsyncOptions, } from "../stripe-payments/stripe-payments.options.js";
3
+ export { STRIPE_PAYMENTS_OPTIONS } from "../stripe-payments/stripe-payments.options.js";
4
+ export { createSecureStripeConfiguration, parseStripeProductCatalog, } from "../stripe-payments/stripe-payment.config.js";
5
+ export { DefaultStripePaymentsAccessPolicy, NoopStripePaymentsTelemetry, STRIPE_PAYMENTS_ACCESS_POLICY, STRIPE_PAYMENTS_ENTITLEMENT_STORE, STRIPE_PAYMENTS_TELEMETRY, } from "../stripe-payments/stripe-payments.extensions.js";
6
+ export type { StripePaymentsAccessContext, StripePaymentsAccessPolicy, StripePaymentsEntitlement, StripePaymentsEntitlementInput, StripePaymentsEntitlementStore, StripePaymentsRevocationInput, StripePaymentsTelemetry, StripePaymentsTelemetryEvent, } from "../stripe-payments/stripe-payments.extensions.js";
7
+ export { StripePaymentsOperationsService } from "../stripe-payments/services/stripe-payments-operations.service.js";
8
+ export type { StripePaymentsOperationsSnapshot } from "../stripe-payments/services/stripe-payments-operations.service.js";
9
+ export { StripePaymentsTelemetryService } from "../stripe-payments/services/stripe-payments-telemetry.service.js";
10
+ export { DefaultStripePaymentsEntitlementStore } from "../stripe-payments/services/default-stripe-payments-entitlement-store.js";
11
+ export { STRIPE_PAYMENTS_ENTITIES } from "../typeorm/entities.js";
@@ -0,0 +1,9 @@
1
+ export { StripePaymentsModule } from "../stripe-payments/stripe-payments.module.js";
2
+ export { STRIPE_PAYMENTS_OPTIONS } from "../stripe-payments/stripe-payments.options.js";
3
+ export { createSecureStripeConfiguration, parseStripeProductCatalog, } from "../stripe-payments/stripe-payment.config.js";
4
+ export { DefaultStripePaymentsAccessPolicy, NoopStripePaymentsTelemetry, STRIPE_PAYMENTS_ACCESS_POLICY, STRIPE_PAYMENTS_ENTITLEMENT_STORE, STRIPE_PAYMENTS_TELEMETRY, } from "../stripe-payments/stripe-payments.extensions.js";
5
+ export { StripePaymentsOperationsService } from "../stripe-payments/services/stripe-payments-operations.service.js";
6
+ export { StripePaymentsTelemetryService } from "../stripe-payments/services/stripe-payments-telemetry.service.js";
7
+ export { DefaultStripePaymentsEntitlementStore } from "../stripe-payments/services/default-stripe-payments-entitlement-store.js";
8
+ export { STRIPE_PAYMENTS_ENTITIES } from "../typeorm/entities.js";
9
+ //# sourceMappingURL=stripe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripe.js","sourceRoot":"","sources":["../../src/exports/stripe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAOlF,OAAO,EAAC,uBAAuB,EAAC,MAAM,+CAA+C,CAAC;AACtF,OAAO,EACH,+BAA+B,EAC/B,yBAAyB,GAC5B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iCAAiC,EACjC,2BAA2B,EAC3B,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,GAC5B,MAAM,kDAAkD,CAAC;AAW1D,OAAO,EAAC,+BAA+B,EAAC,MAAM,mEAAmE,CAAC;AAElH,OAAO,EAAC,8BAA8B,EAAC,MAAM,kEAAkE,CAAC;AAChH,OAAO,EAAC,qCAAqC,EAAC,MAAM,0EAA0E,CAAC;AAC/H,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { TwitterAccountModule } from "../twitter-client/twitter-account.module.js";
2
+ export { TwitterClientService } from "../twitter-client/services/twitter-client.service.js";
3
+ export type { TwitterModuleOptions, TwitterModuleAsyncOptions, } from "../twitter-client/twitter-account.options.js";
4
+ export { TWITTER_MODULE_OPTIONS } from "../twitter-client/twitter-account.options.js";
5
+ export { EUploadMimeType } from "twitter-api-v2";
@@ -0,0 +1,5 @@
1
+ export { TwitterAccountModule } from "../twitter-client/twitter-account.module.js";
2
+ export { TwitterClientService } from "../twitter-client/services/twitter-client.service.js";
3
+ export { TWITTER_MODULE_OPTIONS } from "../twitter-client/twitter-account.options.js";
4
+ export { EUploadMimeType } from "twitter-api-v2";
5
+ //# sourceMappingURL=twitter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"twitter.js","sourceRoot":"","sources":["../../src/exports/twitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,sDAAsD,CAAC;AAK1F,OAAO,EAAC,sBAAsB,EAAC,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export { UserInternalModule } from "../user/user-internal.module.js";
2
+ export { User } from "../user/entities/user.entity.js";
3
+ export { UserService } from "../user/user.service.js";
4
+ export { UserDto } from "../user/dto/userResponseDto.js";
5
+ export { UserOrganisationMembershipDto } from "../user/dto/user-organisation-membership.dto.js";
6
+ export { OrganisationSummaryDto } from "../user/dto/organisation-summary.dto.js";
7
+ export { UserApiKeyModule } from "../user-api-key/user-apikey.module.js";
8
+ export { UserApiKeyService } from "../user-api-key/user-apikey.service.js";
9
+ export { UserApiKeyController } from "../user-api-key/user-apikey.controller.js";
10
+ export { UserApiKey } from "../user-api-key/userApiKey.entity.js";
@@ -0,0 +1,11 @@
1
+ export { UserInternalModule } from "../user/user-internal.module.js";
2
+ export { User } from "../user/entities/user.entity.js";
3
+ export { UserService } from "../user/user.service.js";
4
+ export { UserDto } from "../user/dto/userResponseDto.js";
5
+ export { UserOrganisationMembershipDto } from "../user/dto/user-organisation-membership.dto.js";
6
+ export { OrganisationSummaryDto } from "../user/dto/organisation-summary.dto.js";
7
+ export { UserApiKeyModule } from "../user-api-key/user-apikey.module.js";
8
+ export { UserApiKeyService } from "../user-api-key/user-apikey.service.js";
9
+ export { UserApiKeyController } from "../user-api-key/user-apikey.controller.js";
10
+ export { UserApiKey } from "../user-api-key/userApiKey.entity.js";
11
+ //# sourceMappingURL=users.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/exports/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAC,IAAI,EAAC,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAC,OAAO,EAAC,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAC,6BAA6B,EAAC,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAC,sBAAsB,EAAC,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -32,6 +32,17 @@ export { StripeCheckoutSessionResponseDto } from "./stripe-client/models/StripeC
32
32
  export { StripeCheckoutLineItem } from "./stripe-client/models/StripeCheckoutLineItem.js";
33
33
  export { StripeAccountModule } from "./stripe-client/stripe-account.module.js";
34
34
  export { StripeQueuedEventHandler } from "./stripe-client/services/queued-payment-event.handler.js";
35
+ export { StripePaymentsModule } from "./stripe-payments/stripe-payments.module.js";
36
+ export type { StripePaymentsMode, StripePaymentsProduct, StripePaymentsModuleOptions, StripePaymentsModuleAsyncOptions, } from "./stripe-payments/stripe-payments.options.js";
37
+ export { STRIPE_PAYMENTS_OPTIONS } from "./stripe-payments/stripe-payments.options.js";
38
+ export { createSecureStripeConfiguration, parseStripeProductCatalog, } from "./stripe-payments/stripe-payment.config.js";
39
+ export { DefaultStripePaymentsAccessPolicy, NoopStripePaymentsTelemetry, STRIPE_PAYMENTS_ACCESS_POLICY, STRIPE_PAYMENTS_ENTITLEMENT_STORE, STRIPE_PAYMENTS_TELEMETRY, } from "./stripe-payments/stripe-payments.extensions.js";
40
+ export type { StripePaymentsAccessContext, StripePaymentsAccessPolicy, StripePaymentsEntitlement, StripePaymentsEntitlementInput, StripePaymentsEntitlementStore, StripePaymentsRevocationInput, StripePaymentsTelemetry, StripePaymentsTelemetryEvent, } from "./stripe-payments/stripe-payments.extensions.js";
41
+ export { StripePaymentsOperationsService } from "./stripe-payments/services/stripe-payments-operations.service.js";
42
+ export type { StripePaymentsOperationsSnapshot } from "./stripe-payments/services/stripe-payments-operations.service.js";
43
+ export { StripePaymentsTelemetryService } from "./stripe-payments/services/stripe-payments-telemetry.service.js";
44
+ export { DefaultStripePaymentsEntitlementStore } from "./stripe-payments/services/default-stripe-payments-entitlement-store.js";
45
+ export { NEST_BACKEND_LIB_ENTITIES, STRIPE_PAYMENTS_ENTITIES, } from "./typeorm/entities.js";
35
46
  export { AuthzModule } from "./authorization/authz.module.js";
36
47
  export { JwtStrategy } from "./authorization/strategies/authzstrategy.js";
37
48
  export { DefaultAuthGuard } from "./authorization/guards/DefaultAuthGuard.js";
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-deprecated */
1
2
  // The "barrels" issue means these must all be imported individually, which is a pain.
2
3
  import { RunningCommandLineModule } from "./runningCommandLine/RunningCommandLine.module.js";
3
4
  import { TwitterAccountModule } from "./twitter-client/twitter-account.module.js";
@@ -34,6 +35,15 @@ export { StripeCheckoutSessionResponseDto } from "./stripe-client/models/StripeC
34
35
  export { StripeCheckoutLineItem } from "./stripe-client/models/StripeCheckoutLineItem.js";
35
36
  export { StripeAccountModule } from "./stripe-client/stripe-account.module.js";
36
37
  export { StripeQueuedEventHandler } from "./stripe-client/services/queued-payment-event.handler.js";
38
+ // Stripe payments v2
39
+ export { StripePaymentsModule } from "./stripe-payments/stripe-payments.module.js";
40
+ export { STRIPE_PAYMENTS_OPTIONS } from "./stripe-payments/stripe-payments.options.js";
41
+ export { createSecureStripeConfiguration, parseStripeProductCatalog, } from "./stripe-payments/stripe-payment.config.js";
42
+ export { DefaultStripePaymentsAccessPolicy, NoopStripePaymentsTelemetry, STRIPE_PAYMENTS_ACCESS_POLICY, STRIPE_PAYMENTS_ENTITLEMENT_STORE, STRIPE_PAYMENTS_TELEMETRY, } from "./stripe-payments/stripe-payments.extensions.js";
43
+ export { StripePaymentsOperationsService } from "./stripe-payments/services/stripe-payments-operations.service.js";
44
+ export { StripePaymentsTelemetryService } from "./stripe-payments/services/stripe-payments-telemetry.service.js";
45
+ export { DefaultStripePaymentsEntitlementStore } from "./stripe-payments/services/default-stripe-payments-entitlement-store.js";
46
+ export { NEST_BACKEND_LIB_ENTITIES, STRIPE_PAYMENTS_ENTITIES, } from "./typeorm/entities.js";
37
47
  // authorization module
38
48
  export { AuthzModule } from "./authorization/authz.module.js";
39
49
  export { JwtStrategy } from "./authorization/strategies/authzstrategy.js";
@@ -72,6 +82,7 @@ export { CORE_MODULE_OPTIONS } from "./core-config/core-config.options.js";
72
82
  export { LOGGER_MODULE_OPTIONS } from "./logger/logger.options.js";
73
83
  export { AUTHZ_MODULE_OPTIONS } from "./authorization/authz.options.js";
74
84
  export { AUTHZ_CLIENT_MODULE_OPTIONS } from "./authzclient/authz-client.options.js";
85
+ /* eslint-enable @typescript-eslint/no-deprecated */
75
86
  export { STRIPE_MODULE_OPTIONS } from "./stripe-client/stripe-account.options.js";
76
87
  export { SMTP_EMAIL_MODULE_OPTIONS } from "./smtp-email-client/smtp-email-client.options.js";
77
88
  export { TWITTER_MODULE_OPTIONS } from "./twitter-client/twitter-account.options.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAC,wBAAwB,EAAC,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAC,oBAAoB,EAAC,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,6BAA6B,EAAC,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAC,wBAAwB,EAAC,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAC,sBAAsB,EAAC,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAC,oCAAoC,EAAC,MAAM,6DAA6D,CAAC;AACjH,OAAO,EAAC,oBAAoB,EAAC,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAC,kCAAkC,EAAC,MAAM,yDAAyD,CAAC;AAC3G,OAAO,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAC,UAAU,EAAC,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,oBAAoB,EAAC,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,sBAAsB,IAAI,cAAc,EACxC,oCAAoC,IAAI,4BAA4B,EACpE,eAAe,EACf,6BAA6B,EAC7B,oBAAoB,EACpB,kCAAkC,EAClC,oBA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oD;AACpD,OAAO,EAAC,qBAAqB,EAAC,MAAM,2CAA2C,CAAC;AAMhF,OAAO,EAAC,yBAAyB,EAAC,MAAM,kDAAkD,CAAC;AAM3F,OAAO,EAAC,sBAAsB,EAAC,MAAM,6CAA6C,CAAC;AAMnF,OAAO,EAAC,yBAAyB,EAAC,MAAM,qCAAqC,CAAC"}
@@ -116,7 +116,8 @@ __decorate([
116
116
  __metadata("design:type", Date)
117
117
  ], OrganisationSubscriptionRecord.prototype, "deletedDate", void 0);
118
118
  OrganisationSubscriptionRecord = __decorate([
119
- Entity()
119
+ Entity(),
120
+ Index(["paymentSystemTransactionId"], { unique: true })
120
121
  ], OrganisationSubscriptionRecord);
121
122
  export { OrganisationSubscriptionRecord };
122
123
  //# sourceMappingURL=organisation-subscription.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"organisation-subscription.entity.js","sourceRoot":"","sources":["../../../src/organisation-subscriptions/entities/organisation-subscription.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,WAAW,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EACH,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EACT,sBAAsB,EAEtB,UAAU,EACV,gBAAgB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAC,YAAY,EAAC,MAAM,oDAAoD,CAAC;AAGzE,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAGvC,EAAE,CAAU;IASL,IAAI,CAAU;IAIrB,WAAW,CAAU;IAIrB,kBAAkB,CAAU;IAI5B,0BAA0B,CAAU;IAIpC,sBAAsB,CAAU;IAIhC,uBAAuB,CAAU;IAIjC,0BAA0B,CAAU;IAIpC,iBAAiB,CAAU;IAI3B,iBAAiB,CAAU;IAK3B,UAAU,CAAQ;IAGlB,YAAY,CAA0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AFC,gBAAgB,EAAE;IAClB,mBAAmB,EAAE;8BACR,IAAI;mEAAC;AArEV,8BAA8B;IAD1C,MAAM,EAAE;GACI,8BAA8B,CAsE1C"}
1
+ {"version":3,"file":"organisation-subscription.entity.js","sourceRoot":"","sources":["../../../src/organisation-subscriptions/entities/organisation-subscription.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,WAAW,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EACH,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EACT,sBAAsB,EAEtB,UAAU,EACV,gBAAgB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAC,YAAY,EAAC,MAAM,oDAAoD,CAAC;AAIzE,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAGvC,EAAE,CAAU;IASL,IAAI,CAAU;IAIrB,WAAW,CAAU;IAIrB,kBAAkB,CAAU;IAI5B,0BAA0B,CAAU;IAIpC,sBAAsB,CAAU;IAIhC,uBAAuB,CAAU;IAIjC,0BAA0B,CAAU;IAIpC,iBAAiB,CAAU;IAI3B,iBAAiB,CAAU;IAK3B,UAAU,CAAQ;IAGlB,YAAY,CAA0B;IAK/B,cAAc,CAAU;IAI/B,WAAW,CAAQ;IAInB,WAAW,CAAQ;IAInB,WAAW,CAAQ;CACtB,CAAA;AAnEG;IAFC,sBAAsB,EAAE;IACxB,WAAW,EAAE;;0DACF;AASL;IAPN,MAAM,CAAC,MAAM,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB;KACtC,CAAC;IACD,SAAS,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE;IACb,KAAK,EAAE;;4DACa;AAIrB;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;mEACO;AAIrB;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;0EACc;AAI5B;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;kFACsB;AAIpC;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;8EACkB;AAIhC;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;+EACmB;AAIjC;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;kFACsB;AAIpC;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;yEACa;AAI3B;IAFC,MAAM,EAAE;IACR,WAAW,EAAE;;yEACa;AAK3B;IAHC,MAAM,EAAE;IACR,WAAW,EAAE;IACb,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACJ,IAAI;kEAAC;AAGlB;IADC,SAAS,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,CAAC;;oEAC9B;AAK/B;IAHN,WAAW,EAAE;IACb,MAAM,EAAE;IACR,UAAU,CAAC,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC;;sEACZ;AAI/B;IAFC,gBAAgB,EAAE;IAClB,WAAW,EAAE;8BACA,IAAI;mEAAC;AAInB;IAFC,gBAAgB,EAAE;IAClB,WAAW,EAAE;8BACA,IAAI;mEAAC;AAInB;IAFC,gBAAgB,EAAE;IAClB,mBAAmB,EAAE;8BACR,IAAI;mEAAC;AArEV,8BAA8B;IAF1C,MAAM,EAAE;IACR,KAAK,CAAC,CAAC,4BAA4B,CAAC,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC;GACzC,8BAA8B,CAsE1C"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
11
11
  return function (target, key) { decorator(target, key, paramIndex); }
12
12
  };
13
+ /* eslint-disable @typescript-eslint/no-deprecated */
13
14
  import { Inject, Injectable } from "@nestjs/common";
14
15
  import { IsDefined, IsString } from "class-validator";
15
16
  import { ValidatedConfigurationService } from "../configuration/ValidatedConfigurationService.js";
@@ -1 +1 @@
1
- {"version":3,"file":"StripeClientConfigurationService.js","sourceRoot":"","sources":["../../src/stripe-client/StripeClientConfigurationService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,6BAA6B,EAAC,MAAM,mDAAmD,CAAC;AAChG,OAAO,EACH,qBAAqB,GAExB,MAAM,6BAA6B,CAAC;AAG9B,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,6BAA6B;IAGnE;IAFZ,YAEY,OAA4B;QAEpC,KAAK,EAAE,CAAC;QAFA,YAAO,GAAP,OAAO,CAAqB;IAGxC,CAAC;IAED,IAEI,WAAW;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;IACpC,CAAC;IAED,IAEI,sBAAsB;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC/C,CAAC;IAED,IAEI,sBAAsB;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC/C,CAAC;CACJ,CAAA;AAjBG;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;mEAGV;AAED;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;8EAGV;AAED;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;8EAGV;AAxBQ,gCAAgC;IAD5C,UAAU,EAAE;IAGJ,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;;GAFzB,gCAAgC,CAyB5C"}
1
+ {"version":3,"file":"StripeClientConfigurationService.js","sourceRoot":"","sources":["../../src/stripe-client/StripeClientConfigurationService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,6BAA6B,EAAC,MAAM,mDAAmD,CAAC;AAChG,OAAO,EACH,qBAAqB,GAExB,MAAM,6BAA6B,CAAC;AAG9B,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,6BAA6B;IAGnE;IAFZ,YAEY,OAA4B;QAEpC,KAAK,EAAE,CAAC;QAFA,YAAO,GAAP,OAAO,CAAqB;IAGxC,CAAC;IAED,IAEI,WAAW;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;IACpC,CAAC;IAED,IAEI,sBAAsB;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC/C,CAAC;IAED,IAEI,sBAAsB;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC/C,CAAC;CACJ,CAAA;AAjBG;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;mEAGV;AAED;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;8EAGV;AAED;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;8EAGV;AAxBQ,gCAAgC;IAD5C,UAAU,EAAE;IAGJ,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;;GAFzB,gCAAgC,CAyB5C"}
@@ -9,6 +9,7 @@ import { AuthenticatedStripeCheckoutService } from "../services/auth-stripe-chec
9
9
  *
10
10
  * This is not automatically included in the StripeClientModule.
11
11
  */
12
+ /** @deprecated Use StripePaymentsModule's opinionated checkout controller. */
12
13
  export declare class StripeCheckoutController {
13
14
  private readonly stripeService;
14
15
  constructor(stripeService: AuthenticatedStripeCheckoutService);
@@ -23,6 +23,7 @@ import { AuthenticatedStripeCheckoutService } from "../services/auth-stripe-chec
23
23
  *
24
24
  * This is not automatically included in the StripeClientModule.
25
25
  */
26
+ /** @deprecated Use StripePaymentsModule's opinionated checkout controller. */
26
27
  let StripeCheckoutController = class StripeCheckoutController {
27
28
  stripeService;
28
29
  constructor(stripeService) {
@@ -1 +1 @@
1
- {"version":3,"file":"stripe-checkout-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-checkout-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAE,OAAO,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF,OAAO,EAAC,+BAA+B,EAAC,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAC,gCAAgC,EAAC,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAC,kCAAkC,EAAC,MAAM,6CAA6C,CAAC;AAE/F;;;;;;GAMG;AAMI,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAEZ;IADrB,YACqB,aAAiD;QAAjD,kBAAa,GAAb,aAAa,CAAoC;IACnE,CAAC;IAIE,AAAN,KAAK,CAAC,qBAAqB,CACZ,OAAwB,EAC3B,gBAAiD;QAEzD,OAAO,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAC3C,gBAAgB,EAChB,OAAO,CAAC,IAAI,CACf,CAAC;IACN,CAAC;CACJ,CAAA;AATS;IAFL,IAAI,CAAC,kBAAkB,CAAC;IACxB,aAAa,CAAC,EAAC,IAAI,EAAE,gCAAgC,EAAC,CAAC;IAEnD,WAAA,OAAO,EAAE,CAAA;IACT,WAAA,IAAI,EAAE,CAAA;;6CAAmB,+BAA+B;;qEAM5D;AAfQ,wBAAwB;IALpC,SAAS,CAAC,gBAAgB,CAAC;IAC3B,aAAa,EAAE;IACf,UAAU,CAAC,iBAAiB,CAAC;IAC7B,OAAO,CAAC,UAAU,CAAC;qCAIoB,kCAAkC;GAF7D,wBAAwB,CAgBpC"}
1
+ {"version":3,"file":"stripe-checkout-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-checkout-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAE,OAAO,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF,OAAO,EAAC,+BAA+B,EAAC,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAC,gCAAgC,EAAC,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAC,kCAAkC,EAAC,MAAM,6CAA6C,CAAC;AAE/F;;;;;;GAMG;AACH,8EAA8E;AAKvE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAEZ;IADrB,YACqB,aAAiD;QAAjD,kBAAa,GAAb,aAAa,CAAoC;IACnE,CAAC;IAIE,AAAN,KAAK,CAAC,qBAAqB,CACZ,OAAwB,EAC3B,gBAAiD;QAEzD,OAAO,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAC3C,gBAAgB,EAChB,OAAO,CAAC,IAAI,CACf,CAAC;IACN,CAAC;CACJ,CAAA;AATS;IAFL,IAAI,CAAC,kBAAkB,CAAC;IACxB,aAAa,CAAC,EAAC,IAAI,EAAE,gCAAgC,EAAC,CAAC;IAEnD,WAAA,OAAO,EAAE,CAAA;IACT,WAAA,IAAI,EAAE,CAAA;;6CAAmB,+BAA+B;;qEAM5D;AAfQ,wBAAwB;IAJpC,SAAS,CAAC,gBAAgB,CAAC;IAC3B,aAAa,EAAE;IACf,UAAU,CAAC,iBAAiB,CAAC;IAC7B,OAAO,CAAC,UAAU,CAAC;qCAGoB,kCAAkC;GAF7D,wBAAwB,CAgBpC"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
11
11
  return function (target, key) { decorator(target, key, paramIndex); }
12
12
  };
13
+ /* eslint-disable @typescript-eslint/no-deprecated */
13
14
  import { UseGuards, Controller, Request, Get, Query } from "@nestjs/common";
14
15
  import { ApiBearerAuth, ApiTags, ApiOkResponse, ApiQuery, ApiOperation, } from "@nestjs/swagger";
15
16
  import { StripeCheckoutService } from "../services/stripe-checkout.service.js";
@@ -1 +1 @@
1
- {"version":3,"file":"stripe-events-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-events-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EACH,aAAa,EACb,OAAO,EACP,aAAa,EACb,QAAQ,EACR,YAAY,GACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAC,wBAAwB,EAAC,MAAM,wDAAwD,CAAC;AAChG,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAWzF,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACF;IAA7B,YAA6B,aAAoC;QAApC,kBAAa,GAAb,aAAa,CAAuB;IAAG,CAAC;IAQ/D,AAAN,KAAK,CAAC,aAAa,CACJ,OAAwB,EAC1B,KAAiB;QAE1B,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AANS;IANL,mBAAmB,CAAC,UAAU,CAAC;IAC/B,YAAY,CAAC,EAAC,IAAI,EAAE,CAAC,YAAY,CAAC,EAAC,CAAC;IACpC,GAAG,EAAE;IACL,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;IACtD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;IACtD,aAAa,CAAC,EAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;IAErD,WAAA,OAAO,EAAE,CAAA;IACT,WAAA,KAAK,EAAE,CAAA;;;;2DAGX;AAdQ,sBAAsB;IAJlC,SAAS,CAAC,gBAAgB,EAAE,wBAAwB,CAAC;IACrD,aAAa,EAAE;IACf,UAAU,CAAC,wBAAwB,CAAC;IACpC,OAAO,CAAC,UAAU,CAAC;qCAE4B,qBAAqB;GADxD,sBAAsB,CAelC"}
1
+ {"version":3,"file":"stripe-events-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-events-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EACH,aAAa,EACb,OAAO,EACP,aAAa,EACb,QAAQ,EACR,YAAY,GACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAC,wBAAwB,EAAC,MAAM,wDAAwD,CAAC;AAChG,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAWzF,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACF;IAA7B,YAA6B,aAAoC;QAApC,kBAAa,GAAb,aAAa,CAAuB;IAAG,CAAC;IAQ/D,AAAN,KAAK,CAAC,aAAa,CACJ,OAAwB,EAC1B,KAAiB;QAE1B,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AANS;IANL,mBAAmB,CAAC,UAAU,CAAC;IAC/B,YAAY,CAAC,EAAC,IAAI,EAAE,CAAC,YAAY,CAAC,EAAC,CAAC;IACpC,GAAG,EAAE;IACL,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;IACtD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;IACtD,aAAa,CAAC,EAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;IAErD,WAAA,OAAO,EAAE,CAAA;IACT,WAAA,KAAK,EAAE,CAAA;;;;2DAGX;AAdQ,sBAAsB;IAJlC,SAAS,CAAC,gBAAgB,EAAE,wBAAwB,CAAC;IACrD,aAAa,EAAE;IACf,UAAU,CAAC,wBAAwB,CAAC;IACpC,OAAO,CAAC,UAAU,CAAC;qCAE4B,qBAAqB;GADxD,sBAAsB,CAelC"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
11
11
  return function (target, key) { decorator(target, key, paramIndex); }
12
12
  };
13
+ /* eslint-disable @typescript-eslint/no-deprecated */
13
14
  import { Controller, Post, Body } from "@nestjs/common";
14
15
  import { ApiTags, ApiOkResponse } from "@nestjs/swagger";
15
16
  import { StripeCheckoutSessionRequestDto } from "./../models/StripeCheckoutSessionRequestDto.js";
@@ -1 +1 @@
1
- {"version":3,"file":"stripe-unauthenticated-checkout-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-unauthenticated-checkout-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,+BAA+B,EAAC,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAC,gCAAgC,EAAC,MAAM,iDAAiD,CAAC;AAEjG;;;;;;GAMG;AAII,IAAM,uCAAuC,GAA7C,MAAM,uCAAuC;IACnB;IAA7B,YAA6B,aAAoC;QAApC,kBAAa,GAAb,aAAa,CAAuB;IAAG,CAAC;IAI/D,AAAN,KAAK,CAAC,qBAAqB,CACf,gBAAiD;QAEzD,OAAO,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IACtE,CAAC;CACJ,CAAA;AALS;IAFL,IAAI,CAAC,kCAAkC,CAAC;IACxC,aAAa,CAAC,EAAC,IAAI,EAAE,gCAAgC,EAAC,CAAC;IAEnD,WAAA,IAAI,EAAE,CAAA;;qCAAmB,+BAA+B;;oFAG5D;AATQ,uCAAuC;IAHnD,UAAU,CAAC,iBAAiB,CAAC;IAC7B,OAAO,CAAC,UAAU,CAAC;qCAG4B,qBAAqB;GADxD,uCAAuC,CAUnD"}
1
+ {"version":3,"file":"stripe-unauthenticated-checkout-controller.js","sourceRoot":"","sources":["../../../src/stripe-client/controllers/stripe-unauthenticated-checkout-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,+BAA+B,EAAC,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAC,gCAAgC,EAAC,MAAM,iDAAiD,CAAC;AAEjG;;;;;;GAMG;AAGI,IAAM,uCAAuC,GAA7C,MAAM,uCAAuC;IACnB;IAA7B,YAA6B,aAAoC;QAApC,kBAAa,GAAb,aAAa,CAAuB;IAAG,CAAC;IAI/D,AAAN,KAAK,CAAC,qBAAqB,CACf,gBAAiD;QAEzD,OAAO,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IACtE,CAAC;CACJ,CAAA;AALS;IAFL,IAAI,CAAC,kCAAkC,CAAC;IACxC,aAAa,CAAC,EAAC,IAAI,EAAE,gCAAgC,EAAC,CAAC;IAEnD,WAAA,IAAI,EAAE,CAAA;;qCAAmB,+BAA+B;;oFAG5D;AATQ,uCAAuC;IAFnD,UAAU,CAAC,iBAAiB,CAAC;IAC7B,OAAO,CAAC,UAAU,CAAC;qCAE4B,qBAAqB;GADxD,uCAAuC,CAUnD"}
@@ -8,6 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  var AuthenticatedStripeCheckoutService_1;
11
+ /* eslint-disable @typescript-eslint/no-deprecated */
11
12
  import { ForbiddenException, Injectable, Logger } from "@nestjs/common";
12
13
  import { OrganisationSubscriptionService } from "../../organisation-subscriptions/organisation-subscriptions.service.js";
13
14
  import { StripeCheckoutService } from "./stripe-checkout.service.js";
@@ -1 +1 @@
1
- {"version":3,"file":"auth-stripe-checkout.service.js","sourceRoot":"","sources":["../../../src/stripe-client/services/auth-stripe-checkout.service.ts"],"names":[],"mappings":";;;;;;;;;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AO,IAAI,CAAC,qBAAqB,CAAC,yBAAyB,CACvD,kBAAkB,CAAC,uBAAuB,EAC1C,UAAU,CAAC,SAAS,CACvB,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,qBAAqB,CAC9B,UAA2C,EAC3C,IAAiB;QAEjB,4CAA4C;QAC5C,IACI,CAAC,UAAU,CAAC,gBAAgB;YAC5B,CAAC,IAAI,CAAC,WAAW;gBACb,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC;iBACxD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;iBAC/B,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAC5C,CAAC;YACC,IAAI,CAAC,MAAM,CAAC,KAAK,CACb,+DAA+D,EAC/D;gBACI,QAAQ,EAAE,IAAI,CAAC,IAAI;gBACnB,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;aAChD,CACJ,CAAC;YACF,MAAM,IAAI,kBAAkB,CACxB,4CAA4C,CAC/C,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,qBAAqB,CAAC,qBAAqB,CACnD,UAAU,EACV,IAAI,CACP,CAAC;IACN,CAAC;CACJ,CAAA;AAzEY,kCAAkC;IAD9C,UAAU,EAAE;qCAM6C,+BAA+B;QACzC,qBAAqB;GANxD,kCAAkC,CAyE9C"}
1
+ {"version":3,"file":"auth-stripe-checkout.service.js","sourceRoot":"","sources":["../../../src/stripe-client/services/auth-stripe-checkout.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qDAAqD;AACrD,OAAO,EAAC,kBAAkB,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAMtE,OAAO,EAAC,+BAA+B,EAAC,MAAM,wEAAwE,CAAC;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