MicProtocol / apps /api /dist /billing /billing.module.js
Benaah's picture
Upload folder using huggingface_hub
303c85f verified
Raw History Blame Contribute Delete
3.48 kB
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BillingModule = void 0;
const common_1 = require("@nestjs/common");
const config_1 = require("@nestjs/config");
const prisma_module_1 = require("../prisma/prisma.module");
const notifications_module_1 = require("../notifications/notifications.module");
const wallet_module_1 = require("../wallet/wallet.module");
const billing_service_1 = require("./billing.service");
const billing_controller_1 = require("./billing.controller");
const billing_router_1 = require("./billing.router");
const stripe_service_1 = require("./stripe.service");
const stripe_webhook_guard_1 = require("./stripe-webhook.guard");
const mpesa_service_1 = require("./mpesa.service");
const mpesa_webhook_guard_1 = require("./mpesa-webhook.guard");
const payhero_service_1 = require("./payhero.service");
const payhero_webhook_guard_1 = require("./payhero-webhook.guard");
const paystack_service_1 = require("./paystack.service");
const paystack_webhook_guard_1 = require("./paystack-webhook.guard");
const subscription_credentials_service_1 = require("./subscription-credentials.service");
let BillingModule = class BillingModule {
};
exports.BillingModule = BillingModule;
exports.BillingModule = BillingModule = __decorate([
(0, common_1.Module)({
imports: [prisma_module_1.PrismaModule, config_1.ConfigModule, notifications_module_1.NotificationsModule, (0, common_1.forwardRef)(() => wallet_module_1.WalletModule)],
providers: [
billing_service_1.BillingService,
billing_router_1.BillingRouter,
stripe_service_1.StripeService,
stripe_webhook_guard_1.StripeWebhookGuard,
mpesa_service_1.MpesaService,
mpesa_webhook_guard_1.MpesaWebhookGuard,
payhero_service_1.PayheroService,
payhero_webhook_guard_1.PayheroWebhookGuard,
paystack_service_1.PaystackService,
paystack_webhook_guard_1.PaystackWebhookGuard,
subscription_credentials_service_1.SubscriptionCredentialsService,
],
controllers: [billing_controller_1.BillingController],
exports: [
billing_service_1.BillingService,
billing_router_1.BillingRouter,
stripe_service_1.StripeService,
stripe_webhook_guard_1.StripeWebhookGuard,
mpesa_service_1.MpesaService,
mpesa_webhook_guard_1.MpesaWebhookGuard,
payhero_service_1.PayheroService,
payhero_webhook_guard_1.PayheroWebhookGuard,
paystack_service_1.PaystackService,
paystack_webhook_guard_1.PaystackWebhookGuard,
subscription_credentials_service_1.SubscriptionCredentialsService,
(0, common_1.forwardRef)(() => wallet_module_1.WalletModule),
],
})
], BillingModule);
//# sourceMappingURL=billing.module.js.map