@darraghor/nest-backend-libs 5.7.4 → 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 (142) hide show
  1. package/README.md +87 -36
  2. package/dist/cli/commands/WriteApiClientCommand.js +1 -2
  3. package/dist/cli/commands/WriteApiClientCommand.js.map +1 -1
  4. package/dist/database-sqlite/SqliteTypeOrmConfigurationProvider.js +5 -4
  5. package/dist/database-sqlite/SqliteTypeOrmConfigurationProvider.js.map +1 -1
  6. package/dist/exports/authorization.d.ts +14 -0
  7. package/dist/exports/authorization.js +12 -0
  8. package/dist/exports/authorization.js.map +1 -0
  9. package/dist/exports/core.d.ts +11 -0
  10. package/dist/exports/core.js +10 -0
  11. package/dist/exports/core.js.map +1 -0
  12. package/dist/exports/database.d.ts +5 -0
  13. package/dist/exports/database.js +6 -0
  14. package/dist/exports/database.js.map +1 -0
  15. package/dist/exports/email.d.ts +4 -0
  16. package/dist/exports/email.js +4 -0
  17. package/dist/exports/email.js.map +1 -0
  18. package/dist/exports/invitations.d.ts +6 -0
  19. package/dist/exports/invitations.js +6 -0
  20. package/dist/exports/invitations.js.map +1 -0
  21. package/dist/exports/organisations.d.ts +11 -0
  22. package/dist/exports/organisations.js +12 -0
  23. package/dist/exports/organisations.js.map +1 -0
  24. package/dist/exports/stripe-legacy.d.ts +6 -0
  25. package/dist/exports/stripe-legacy.js +7 -0
  26. package/dist/exports/stripe-legacy.js.map +1 -0
  27. package/dist/exports/stripe.d.ts +11 -0
  28. package/dist/exports/stripe.js +9 -0
  29. package/dist/exports/stripe.js.map +1 -0
  30. package/dist/exports/twitter.d.ts +5 -0
  31. package/dist/exports/twitter.js +5 -0
  32. package/dist/exports/twitter.js.map +1 -0
  33. package/dist/exports/users.d.ts +10 -0
  34. package/dist/exports/users.js +11 -0
  35. package/dist/exports/users.js.map +1 -0
  36. package/dist/index.d.ts +11 -0
  37. package/dist/index.js +11 -0
  38. package/dist/index.js.map +1 -1
  39. package/dist/organisation-subscriptions/entities/organisation-subscription.entity.js +2 -1
  40. package/dist/organisation-subscriptions/entities/organisation-subscription.entity.js.map +1 -1
  41. package/dist/stripe-client/StripeClientConfigurationService.js +1 -0
  42. package/dist/stripe-client/StripeClientConfigurationService.js.map +1 -1
  43. package/dist/stripe-client/StripeClientProvider.js +1 -1
  44. package/dist/stripe-client/StripeClientProvider.js.map +1 -1
  45. package/dist/stripe-client/controllers/stripe-checkout-controller.d.ts +1 -0
  46. package/dist/stripe-client/controllers/stripe-checkout-controller.js +1 -0
  47. package/dist/stripe-client/controllers/stripe-checkout-controller.js.map +1 -1
  48. package/dist/stripe-client/controllers/stripe-events-controller.js +1 -0
  49. package/dist/stripe-client/controllers/stripe-events-controller.js.map +1 -1
  50. package/dist/stripe-client/controllers/stripe-unauthenticated-checkout-controller.js +1 -0
  51. package/dist/stripe-client/controllers/stripe-unauthenticated-checkout-controller.js.map +1 -1
  52. package/dist/stripe-client/controllers/stripe-webhook-controller.js +1 -4
  53. package/dist/stripe-client/controllers/stripe-webhook-controller.js.map +1 -1
  54. package/dist/stripe-client/services/auth-stripe-checkout.service.js +1 -0
  55. package/dist/stripe-client/services/auth-stripe-checkout.service.js.map +1 -1
  56. package/dist/stripe-client/services/queued-payment-event.handler.d.ts +1 -0
  57. package/dist/stripe-client/services/queued-payment-event.handler.js +2 -0
  58. package/dist/stripe-client/services/queued-payment-event.handler.js.map +1 -1
  59. package/dist/stripe-client/services/stripe-checkout.service.d.ts +1 -0
  60. package/dist/stripe-client/services/stripe-checkout.service.js +2 -0
  61. package/dist/stripe-client/services/stripe-checkout.service.js.map +1 -1
  62. package/dist/stripe-client/stripe-account.module.d.ts +1 -0
  63. package/dist/stripe-client/stripe-account.module.js +2 -0
  64. package/dist/stripe-client/stripe-account.module.js.map +1 -1
  65. package/dist/stripe-client/stripe-account.options.d.ts +2 -0
  66. package/dist/stripe-client/stripe-account.options.js.map +1 -1
  67. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.d.ts +10 -0
  68. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.js +65 -0
  69. package/dist/stripe-payments/controllers/secure-stripe-checkout.controller.js.map +1 -0
  70. package/dist/stripe-payments/controllers/secure-stripe-events.controller.d.ts +9 -0
  71. package/dist/stripe-payments/controllers/secure-stripe-events.controller.js +65 -0
  72. package/dist/stripe-payments/controllers/secure-stripe-events.controller.js.map +1 -0
  73. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.d.ts +14 -0
  74. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.js +112 -0
  75. package/dist/stripe-payments/controllers/secure-stripe-webhook.controller.js.map +1 -0
  76. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.d.ts +15 -0
  77. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.js +88 -0
  78. package/dist/stripe-payments/entities/stripe-checkout-attempt.entity.js.map +1 -0
  79. package/dist/stripe-payments/entities/stripe-payment-event.entity.d.ts +16 -0
  80. package/dist/stripe-payments/entities/stripe-payment-event.entity.js +101 -0
  81. package/dist/stripe-payments/entities/stripe-payment-event.entity.js.map +1 -0
  82. package/dist/stripe-payments/entities/stripe-payment-state.entity.d.ts +9 -0
  83. package/dist/stripe-payments/entities/stripe-payment-state.entity.js +53 -0
  84. package/dist/stripe-payments/entities/stripe-payment-state.entity.js.map +1 -0
  85. package/dist/stripe-payments/models/secure-checkout.dto.d.ts +14 -0
  86. package/dist/stripe-payments/models/secure-checkout.dto.js +105 -0
  87. package/dist/stripe-payments/models/secure-checkout.dto.js.map +1 -0
  88. package/dist/stripe-payments/models/secure-payment-response.dto.d.ts +7 -0
  89. package/dist/stripe-payments/models/secure-payment-response.dto.js +30 -0
  90. package/dist/stripe-payments/models/secure-payment-response.dto.js.map +1 -0
  91. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.d.ts +12 -0
  92. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.js +49 -0
  93. package/dist/stripe-payments/services/default-stripe-payments-entitlement-store.js.map +1 -0
  94. package/dist/stripe-payments/services/secure-stripe-checkout.service.d.ts +24 -0
  95. package/dist/stripe-payments/services/secure-stripe-checkout.service.js +213 -0
  96. package/dist/stripe-payments/services/secure-stripe-checkout.service.js.map +1 -0
  97. package/dist/stripe-payments/services/secure-stripe-client.provider.d.ts +2 -0
  98. package/dist/stripe-payments/services/secure-stripe-client.provider.js +15 -0
  99. package/dist/stripe-payments/services/secure-stripe-client.provider.js.map +1 -0
  100. package/dist/stripe-payments/services/secure-stripe-product.service.d.ts +9 -0
  101. package/dist/stripe-payments/services/secure-stripe-product.service.js +54 -0
  102. package/dist/stripe-payments/services/secure-stripe-product.service.js.map +1 -0
  103. package/dist/stripe-payments/services/secure-stripe-webhook.service.d.ts +14 -0
  104. package/dist/stripe-payments/services/secure-stripe-webhook.service.js +58 -0
  105. package/dist/stripe-payments/services/secure-stripe-webhook.service.js.map +1 -0
  106. package/dist/stripe-payments/services/secure-subscription.service.d.ts +18 -0
  107. package/dist/stripe-payments/services/secure-subscription.service.js +217 -0
  108. package/dist/stripe-payments/services/secure-subscription.service.js.map +1 -0
  109. package/dist/stripe-payments/services/stripe-payment-event.processor.d.ts +15 -0
  110. package/dist/stripe-payments/services/stripe-payment-event.processor.js +78 -0
  111. package/dist/stripe-payments/services/stripe-payment-event.processor.js.map +1 -0
  112. package/dist/stripe-payments/services/stripe-payment-event.service.d.ts +20 -0
  113. package/dist/stripe-payments/services/stripe-payment-event.service.js +178 -0
  114. package/dist/stripe-payments/services/stripe-payment-event.service.js.map +1 -0
  115. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.d.ts +31 -0
  116. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.js +331 -0
  117. package/dist/stripe-payments/services/stripe-payment-fulfillment.service.js.map +1 -0
  118. package/dist/stripe-payments/services/stripe-payments-operations.service.d.ts +25 -0
  119. package/dist/stripe-payments/services/stripe-payments-operations.service.js +59 -0
  120. package/dist/stripe-payments/services/stripe-payments-operations.service.js.map +1 -0
  121. package/dist/stripe-payments/services/stripe-payments-telemetry.service.d.ts +7 -0
  122. package/dist/stripe-payments/services/stripe-payments-telemetry.service.js +40 -0
  123. package/dist/stripe-payments/services/stripe-payments-telemetry.service.js.map +1 -0
  124. package/dist/stripe-payments/stripe-payment.config.d.ts +19 -0
  125. package/dist/stripe-payments/stripe-payment.config.js +98 -0
  126. package/dist/stripe-payments/stripe-payment.config.js.map +1 -0
  127. package/dist/stripe-payments/stripe-payment.config.test.d.ts +1 -0
  128. package/dist/stripe-payments/stripe-payment.config.test.js +59 -0
  129. package/dist/stripe-payments/stripe-payment.config.test.js.map +1 -0
  130. package/dist/stripe-payments/stripe-payments.extensions.d.ts +69 -0
  131. package/dist/stripe-payments/stripe-payments.extensions.js +30 -0
  132. package/dist/stripe-payments/stripe-payments.extensions.js.map +1 -0
  133. package/dist/stripe-payments/stripe-payments.module.d.ts +12 -0
  134. package/dist/stripe-payments/stripe-payments.module.js +118 -0
  135. package/dist/stripe-payments/stripe-payments.module.js.map +1 -0
  136. package/dist/stripe-payments/stripe-payments.options.d.ts +21 -0
  137. package/dist/stripe-payments/stripe-payments.options.js +2 -0
  138. package/dist/stripe-payments/stripe-payments.options.js.map +1 -0
  139. package/dist/typeorm/entities.d.ts +15 -0
  140. package/dist/typeorm/entities.js +32 -0
  141. package/dist/typeorm/entities.js.map +1 -0
  142. package/package.json +85 -38
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
 
@@ -5,7 +5,6 @@ import url from "url";
5
5
  export class WriteApiClientCommand {
6
6
  command = "api:write-client";
7
7
  describe = "Generates a new api client and installs it into frontend and integration test apps.";
8
- // eslint-disable-next-line unicorn/prevent-abbreviations
9
8
  builder(args) {
10
9
  return args
11
10
  .option("o", {
@@ -30,7 +29,7 @@ export class WriteApiClientCommand {
30
29
  });
31
30
  }
32
31
  async handler(
33
- // eslint-disable-next-line unicorn/prevent-abbreviations, @typescript-eslint/no-explicit-any
32
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
34
33
  args // this breaks if i use ArgumentsType but change back for dev
35
34
  ) {
36
35
  // call the script
@@ -1 +1 @@
1
- {"version":3,"file":"WriteApiClientCommand.js","sourceRoot":"","sources":["../../../src/cli/commands/WriteApiClientCommand.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,KAAK,CAAC;AAYtB,MAAM,OAAO,qBAAqB;IAG9B,OAAO,GAAG,kBAAkB,CAAC;IAC7B,QAAQ,GACJ,qFAAqF,CAAC;IAE1F,yDAAyD;IACzD,OAAO,CAAC,IAAgB;QACpB,OAAO,IAAI;aACN,MAAM,CAAC,GAAG,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,8BAA8B;YACvC,QAAQ,EAAE,gDAAgD;SAC7D,CAAC;aACD,MAAM,CAAC,QAAQ,EAAE;YACd,IAAI,EAAE,QAAQ;Y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M,GAAG,MAAM,WAAW,CAC5B,GAAG,UAAU,IAAI,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAChD,CAAC;QAEF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;CACJ"}
@@ -8,6 +8,10 @@ export class SqliteTypeOrmConfigurationProvider {
8
8
  */
9
9
  static getTypeOrmConfig() {
10
10
  const directoryName = path.dirname(url.fileURLToPath(import.meta.url));
11
+ const databasePath = process.env.APP_SQLITE_DATABASE_PATH;
12
+ if (!databasePath) {
13
+ throw new Error("APP_SQLITE_DATABASE_PATH is required");
14
+ }
11
15
  const nodeModuleCorePath = path.join(process.env.CORE_MODULE_ENTITY_PATH ?? "..", "**", "*.entity.{ts,js}");
12
16
  const appModulePath = path.join(process.env.APP_MODULE_ENTITY_PATH ??
13
17
  "../../../../../apps/backend/dist", "**", "*.entity.{ts,js}");
@@ -21,16 +25,13 @@ export class SqliteTypeOrmConfigurationProvider {
21
25
  });
22
26
  return {
23
27
  type: "sqlite",
24
- database: process.env.APP_SQLITE_DATABASE_PATH,
28
+ database: databasePath,
25
29
  logging: false,
26
30
  migrationsTableName: "migrations",
27
31
  migrationsRun: false,
28
32
  synchronize: false,
29
33
  entities: [nodeModuleCorePath, appModulePath],
30
34
  migrations: [migrationsPath],
31
- cli: {
32
- migrationsDir: "src/migrations",
33
- },
34
35
  };
35
36
  }
36
37
  static getNestTypeOrmConfig() {
@@ -1 +1 @@
1
- {"version":3,"file":"SqliteTypeOrmConfigurationProvider.js","sourceRoot":"","sources":["../../src/database-sqlite/SqliteTypeOrmConfigurationProvider.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,OAAO,kCAAkC;IAC3C;;;;OAIG;IACI,MAAM,CAAC,gBAAgB;QAC1B,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG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UAAU,EAAE,CAAC,cAAc,CAAC;SAC/B,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,oBAAoB;QAC9B,OAAO;YACH,GAAG,kCAAkC,CAAC,gBAAgB,EAAE;YACxD,gBAAgB,EAAE,IAAI;SACzB,CAAC;IACN,CAAC;CACJ"}
@@ -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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A2B,CAAC;AACvD,OAAO,EAAC,2BAA2B,EAAC,MAAM,yCAAyC,CAAC;AAQpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;AAMzE,OAAO,EAAC,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAMjE,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AAMtE,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAOlF,oDAAoD;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,C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AAmB,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;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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AAK,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"}
@@ -3,7 +3,7 @@ import { StripeClientConfigurationService } from "./StripeClientConfigurationSer
3
3
  export const StripeClientProvider = {
4
4
  provide: "StripeClient",
5
5
  useFactory: (config) => {
6
- const apiVersion = "2026-03-25.dahlia";
6
+ const apiVersion = Stripe.API_VERSION;
7
7
  const appInfo = {
8
8
  name: "NestBackendLibs",
9
9
  url: "https://github.com/darraghoriordan/nest-backend-libs", // Optional
@@ -1 +1 @@
1
- {"version":3,"file":"StripeClientProvider.js","sourceRoot":"","sources":["../../src/stripe-client/StripeClientProvider.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,gCAAgC,EAAC,MAAM,uCAAuC,CAAC;AAEvF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,OAAO,EAAE,cAAc;IACvB,UAAU,EAAE,CAAC,MAAwC,EAAE,EAAE;QACrD,MAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,MAAM,OAAO,GAAG;YACZ,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,sDAAsD,EAAE,WAAW;SAC3E,CAAC;QAEF,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,EAAC,UAAU,EAAE,OAAO,EAAC,CAAC,CAAC;IACjE,CAAC;IACD,MAAM,EAAE,CAAC,gCAAgC,CAAC;CAC7C,CAAC"}
1
+ {"version":3,"file":"StripeClientProvider.js","sourceRoot":"","sources":["../../src/stripe-client/StripeClientProvider.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,gCAAgC,EAAC,MAAM,uCAAuC,CAAC;AAEvF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,OAAO,EAAE,cAAc;IACvB,UAAU,EAAE,CAAC,MAAwC,EAAE,EAAE;QACrD,MAAM,UAAU,GAA4B,MAAM,CAAC,WAAW,CAAC;QAC/D,MAAM,OAAO,GAAG;YACZ,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,sDAAsD,EAAE,WAAW;SAC3E,CAAC;QAEF,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,EAAC,UAAU,EAAE,OAAO,EAAC,CAAC,CAAC;IACjE,CAAC;IACD,MAAM,EAAE,CAAC,gCAAgC,CAAC;CAC7C,CAAC"}
@@ -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);