@forklaunch/implementation-billing-stripe 0.4.3 → 0.4.4

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.
@@ -6,3 +6,4 @@ export * from './subscription.service';
6
6
  export * from './webhook.service';
7
7
 
8
8
  export * from '@forklaunch/interfaces-billing/interfaces';
9
+ export * from '@forklaunch/interfaces-billing/types';
@@ -9,7 +9,7 @@ import { EntityManager } from '@mikro-orm/core';
9
9
  import stripe__default from 'stripe';
10
10
  import { StripeBillingPortalEntities, StripeBillingPortalDtos, StripeBillingPortalMappers, StripeCreateBillingPortalDto, StripeUpdateBillingPortalDto, StripeCheckoutSessionEntities, StripeCheckoutSessionDtos, StripeCheckoutSessionMappers, StripeCreateCheckoutSessionDto, StripePaymentLinkEntities, StripePaymentLinkDtos, StripeCreatePaymentLinkDto, StripeUpdatePaymentLinkDto, StripePaymentLinkDto, StripePaymentLinkMappers, StripePlanEntities, StripePlanDtos, StripeCreatePlanDto, StripeUpdatePlanDto, StripePlanDto, StripePlanMappers, StripeSubscriptionEntities, StripeSubscriptionDtos, StripeCreateSubscriptionDto, StripeUpdateSubscriptionDto, StripeSubscriptionDto, StripeSubscriptionMappers } from '../domain/types/index.mjs';
11
11
  import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from '../domain/enum/index.mjs';
12
- import '@forklaunch/interfaces-billing/types';
12
+ export * from '@forklaunch/interfaces-billing/types';
13
13
 
14
14
  declare class StripeBillingPortalService<SchemaValidator extends AnySchemaValidator, Entities extends StripeBillingPortalEntities, Dto extends StripeBillingPortalDtos = StripeBillingPortalDtos> implements BillingPortalService<{
15
15
  CreateBillingPortalDto: Dto['CreateBillingPortalMapper'];
@@ -9,7 +9,7 @@ import { EntityManager } from '@mikro-orm/core';
9
9
  import stripe__default from 'stripe';
10
10
  import { StripeBillingPortalEntities, StripeBillingPortalDtos, StripeBillingPortalMappers, StripeCreateBillingPortalDto, StripeUpdateBillingPortalDto, StripeCheckoutSessionEntities, StripeCheckoutSessionDtos, StripeCheckoutSessionMappers, StripeCreateCheckoutSessionDto, StripePaymentLinkEntities, StripePaymentLinkDtos, StripeCreatePaymentLinkDto, StripeUpdatePaymentLinkDto, StripePaymentLinkDto, StripePaymentLinkMappers, StripePlanEntities, StripePlanDtos, StripeCreatePlanDto, StripeUpdatePlanDto, StripePlanDto, StripePlanMappers, StripeSubscriptionEntities, StripeSubscriptionDtos, StripeCreateSubscriptionDto, StripeUpdateSubscriptionDto, StripeSubscriptionDto, StripeSubscriptionMappers } from '../domain/types/index.js';
11
11
  import { PaymentMethodEnum, CurrencyEnum, PlanCadenceEnum, BillingProviderEnum } from '../domain/enum/index.js';
12
- import '@forklaunch/interfaces-billing/types';
12
+ export * from '@forklaunch/interfaces-billing/types';
13
13
 
14
14
  declare class StripeBillingPortalService<SchemaValidator extends AnySchemaValidator, Entities extends StripeBillingPortalEntities, Dto extends StripeBillingPortalDtos = StripeBillingPortalDtos> implements BillingPortalService<{
15
15
  CreateBillingPortalDto: Dto['CreateBillingPortalMapper'];
@@ -759,6 +759,7 @@ var StripeWebhookService = class {
759
759
 
760
760
  // services/index.ts
761
761
  __reExport(services_exports, require("@forklaunch/interfaces-billing/interfaces"), module.exports);
762
+ __reExport(services_exports, require("@forklaunch/interfaces-billing/types"), module.exports);
762
763
  // Annotate the CommonJS export names for ESM import in node:
763
764
  0 && (module.exports = {
764
765
  StripeBillingPortalService,
@@ -767,5 +768,6 @@ __reExport(services_exports, require("@forklaunch/interfaces-billing/interfaces"
767
768
  StripePlanService,
768
769
  StripeSubscriptionService,
769
770
  StripeWebhookService,
770
- ...require("@forklaunch/interfaces-billing/interfaces")
771
+ ...require("@forklaunch/interfaces-billing/interfaces"),
772
+ ...require("@forklaunch/interfaces-billing/types")
771
773
  });
@@ -727,6 +727,7 @@ var StripeWebhookService = class {
727
727
 
728
728
  // services/index.ts
729
729
  export * from "@forklaunch/interfaces-billing/interfaces";
730
+ export * from "@forklaunch/interfaces-billing/types";
730
731
  export {
731
732
  StripeBillingPortalService,
732
733
  StripeCheckoutSessionService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-billing-stripe",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Stripe implementation for forklaunch billing",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -51,7 +51,7 @@
51
51
  "ajv": "^8.17.1",
52
52
  "stripe": "^18.5.0",
53
53
  "zod": "^4.1.11",
54
- "@forklaunch/implementation-billing-base": "0.7.3",
54
+ "@forklaunch/implementation-billing-base": "0.7.4",
55
55
  "@forklaunch/interfaces-billing": "0.7.3"
56
56
  },
57
57
  "devDependencies": {