"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.WebhookIntegrationModule = void 0;
const api_mail_1 = require("@hed-hog/api-mail");
const api_pagination_1 = require("@hed-hog/api-pagination");
const api_prisma_1 = require("@hed-hog/api-prisma");
const axios_1 = require("@nestjs/axios");
const common_1 = require("@nestjs/common");
const integration_module_1 = require("../integration/integration.module");
const mail_module_1 = require("../mail/mail.module");
const event_webhook_controller_1 = require("./event-webhook.controller");
const event_webhook_service_1 = require("./event-webhook.service");
const integration_event_catalog_controller_1 = require("./integration-event-catalog.controller");
const integration_event_catalog_service_1 = require("./integration-event-catalog.service");
const webhook_integration_controller_1 = require("./webhook-integration.controller");
const webhook_integration_service_1 = require("./webhook-integration.service");
let WebhookIntegrationModule = class WebhookIntegrationModule {
};
exports.WebhookIntegrationModule = WebhookIntegrationModule;
exports.WebhookIntegrationModule = WebhookIntegrationModule = __decorate([
    (0, common_1.Module)({
        imports: [
            axios_1.HttpModule,
            (0, common_1.forwardRef)(() => api_prisma_1.PrismaModule),
            (0, common_1.forwardRef)(() => api_pagination_1.PaginationModule),
            (0, common_1.forwardRef)(() => integration_module_1.IntegrationModule),
            (0, common_1.forwardRef)(() => mail_module_1.MailModule),
            (0, common_1.forwardRef)(() => api_mail_1.MailModule),
        ],
        controllers: [
            integration_event_catalog_controller_1.IntegrationEventCatalogController,
            webhook_integration_controller_1.WebhookIntegrationController,
            webhook_integration_controller_1.PublicWebhookController,
            event_webhook_controller_1.EventWebhookController,
        ],
        providers: [
            integration_event_catalog_service_1.IntegrationEventCatalogService,
            webhook_integration_service_1.WebhookIntegrationService,
            event_webhook_service_1.EventWebhookService,
        ],
        exports: [
            integration_event_catalog_service_1.IntegrationEventCatalogService,
            webhook_integration_service_1.WebhookIntegrationService,
            event_webhook_service_1.EventWebhookService,
        ],
    })
], WebhookIntegrationModule);
//# sourceMappingURL=webhook-integration.module.js.map