apps/recallassess/recallassess-api/src/api/shared/stripe/stripe.module.ts
import { BNestPrismaModule } from "@bish-nest/core";
import { Module } from "@nestjs/common";
import { InvoicePdfModule } from "../invoice/invoice-pdf.module";
import { StripeConfig } from "../../../config/stripe.config";
import { StripeService } from "./services/stripe.service";
import { StripeAccountService } from "./services/stripe-account.service";
import { StripePaymentBillingHelpersService } from "./services/stripe-payment/stripe-payment-billing-helpers.service";
import { StripePaymentCheckoutService } from "./services/stripe-payment/stripe-payment-checkout.service";
import { StripePaymentCustomerSubscriptionService } from "./services/stripe-payment/stripe-payment-customer-subscription.service";
import { StripePaymentInvoiceWebhookService } from "./services/stripe-payment/stripe-payment-invoice-webhook.service";
import { StripePaymentSubscriptionAdminService } from "./services/stripe-payment/stripe-payment-subscription-admin.service";
import { StripePaymentSubscriptionWriterService } from "./services/stripe-payment/stripe-payment-subscription-writer.service";
import { StripePaymentSyncRefundService } from "./services/stripe-payment/stripe-payment-sync-refund.service";
import { StripePaymentService } from "./services/stripe-payment.service";
import { StripeWebhookService } from "./services/stripe-webhook.service";
import { StripeController } from "./stripe.controller";
@Module({
imports: [BNestPrismaModule, InvoicePdfModule],
controllers: [StripeController],
providers: [
StripeService,
StripeConfig,
StripePaymentBillingHelpersService,
StripePaymentInvoiceWebhookService,
StripePaymentSubscriptionWriterService,
StripePaymentSubscriptionAdminService,
StripePaymentCheckoutService,
StripePaymentSyncRefundService,
StripePaymentCustomerSubscriptionService,
StripePaymentService,
StripeWebhookService,
StripeAccountService,
],
exports: [StripeService, StripeConfig, StripePaymentService, StripeAccountService],
})
export class StripeModule {}