"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.QUERY_HANDLERS_AMORTIZATION = exports.COMMAND_HANDLERS_AMORTIZATION = void 0;
const Tokens_1 = require("../Tokens");
const SetAmortizationCommandHandler_1 = require("../../../app/usecase/command/amortization/set/SetAmortizationCommandHandler");
const CancelAmortizationCommandHandler_1 = require("../../../app/usecase/command/amortization/cancel/CancelAmortizationCommandHandler");
const SetAmortizationHoldCommandHandler_1 = require("../../../app/usecase/command/amortization/setHold/SetAmortizationHoldCommandHandler");
const ReleaseAmortizationHoldCommandHandler_1 = require("../../../app/usecase/command/amortization/releaseHold/ReleaseAmortizationHoldCommandHandler");
const GetAmortizationQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortization/GetAmortizationQueryHandler");
const GetAmortizationForQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortizationFor/GetAmortizationForQueryHandler");
const GetAmortizationsForQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortizationsFor/GetAmortizationsForQueryHandler");
const GetAmortizationsCountQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortizationsCount/GetAmortizationsCountQueryHandler");
const GetAmortizationHoldersQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortizationHolders/GetAmortizationHoldersQueryHandler");
const GetTotalAmortizationHoldersQueryHandler_1 = require("../../../app/usecase/query/amortization/getTotalAmortizationHolders/GetTotalAmortizationHoldersQueryHandler");
const GetAmortizationPaymentAmountQueryHandler_1 = require("../../../app/usecase/query/amortization/getAmortizationPaymentAmount/GetAmortizationPaymentAmountQueryHandler");
const GetActiveAmortizationHoldHoldersQueryHandler_1 = require("../../../app/usecase/query/amortization/getActiveAmortizationHoldHolders/GetActiveAmortizationHoldHoldersQueryHandler");
const GetTotalActiveAmortizationHoldHoldersQueryHandler_1 = require("../../../app/usecase/query/amortization/getTotalActiveAmortizationHoldHolders/GetTotalActiveAmortizationHoldHoldersQueryHandler");
const GetActiveAmortizationIdsQueryHandler_1 = require("../../../app/usecase/query/amortization/getActiveAmortizationIds/GetActiveAmortizationIdsQueryHandler");
const GetTotalActiveAmortizationIdsQueryHandler_1 = require("../../../app/usecase/query/amortization/getTotalActiveAmortizationIds/GetTotalActiveAmortizationIdsQueryHandler");
exports.COMMAND_HANDLERS_AMORTIZATION = [
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: SetAmortizationCommandHandler_1.SetAmortizationCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: CancelAmortizationCommandHandler_1.CancelAmortizationCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: SetAmortizationHoldCommandHandler_1.SetAmortizationHoldCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ReleaseAmortizationHoldCommandHandler_1.ReleaseAmortizationHoldCommandHandler,
    },
];
exports.QUERY_HANDLERS_AMORTIZATION = [
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationQueryHandler_1.GetAmortizationQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationForQueryHandler_1.GetAmortizationForQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationsForQueryHandler_1.GetAmortizationsForQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationsCountQueryHandler_1.GetAmortizationsCountQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationHoldersQueryHandler_1.GetAmortizationHoldersQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetTotalAmortizationHoldersQueryHandler_1.GetTotalAmortizationHoldersQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAmortizationPaymentAmountQueryHandler_1.GetAmortizationPaymentAmountQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetActiveAmortizationHoldHoldersQueryHandler_1.GetActiveAmortizationHoldHoldersQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetTotalActiveAmortizationHoldHoldersQueryHandler_1.GetTotalActiveAmortizationHoldHoldersQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetActiveAmortizationIdsQueryHandler_1.GetActiveAmortizationIdsQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetTotalActiveAmortizationIdsQueryHandler_1.GetTotalActiveAmortizationIdsQueryHandler,
    },
];
