"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.VendorModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const vendor_controller_1 = require("../../adminapi/vendor/vendor.controller");
const vendor_service_1 = require("../../adminapi/vendor/vendor.service");
const user_entity_1 = require("./user.entity");
const vendor_entity_1 = require("./vendor.entity");
const vendor_plan_entity_1 = require("./vendor_plan.entity");
const vendor_controller_2 = require("../../appapi/vendor/vendor.controller");
const vendor_plan_service_1 = require("../../appapi/vendor/vendor_plan.service");
const offer_entity_1 = require("../offer/offer.entity");
const review_entity_1 = require("../review/review.entity");
const productrequest_entity_1 = require("../productrequest/productrequest.entity");
const shop_entity_1 = require("../shop/shop.entity");
const otp_email_module_1 = require("../../appapi/emailotp/otp-email.module");
const user_module_1 = require("../../appapi/user/user.module");
const FirebaseModule_1 = require("../../appapi/fcm/FirebaseModule");
const firebase_service_1 = require("../../appapi/fcm/firebase.service");
const user_services_1 = require("../../appapi/user/user.services");
const vendor_plan_order_entity_1 = require("./vendor_plan_order.entity");
const telr_vendor_controller_1 = require("../../appapi/vendor/telr_vendor.controller");
let VendorModule = class VendorModule {
};
exports.VendorModule = VendorModule;
exports.VendorModule = VendorModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                user_entity_1.User,
                vendor_entity_1.Vendor,
                vendor_plan_entity_1.VendorPlan,
                offer_entity_1.Offer,
                review_entity_1.Review,
                productrequest_entity_1.ProductRequest,
                shop_entity_1.Shop,
                user_module_1.UserModule,
                FirebaseModule_1.FirebaseModule,
                vendor_plan_order_entity_1.VendorPlanOrder,
            ]),
            otp_email_module_1.OtpEmailModule,
        ],
        controllers: [vendor_controller_1.AdminVendorController, vendor_controller_2.VendorPlanController, telr_vendor_controller_1.TelrVendorController],
        providers: [
            vendor_service_1.AdminVendorService,
            vendor_plan_service_1.VendorPlanService,
            firebase_service_1.FirebaseService,
            user_services_1.UserService
        ],
        exports: [
            vendor_service_1.AdminVendorService,
        ]
    })
], VendorModule);
//# sourceMappingURL=vendor.module.js.map