"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.QUERY_HANDLERS_HOLD = exports.COMMAND_HANDLERS_HOLD = void 0;
const GetHoldCountForByPartitionQueryHandler_1 = require("../../../app/usecase/query/security/hold/getHoldCountForByPartition/GetHoldCountForByPartitionQueryHandler");
const ControllerCreateHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/controllerCreateHoldByPartition/ControllerCreateHoldByPartitionCommandHandler");
const CreateHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/createHoldByPartition/CreateHoldByPartitionCommandHandler");
const CreateHoldFromByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/createHoldFromByPartition/CreateHoldFromByPartitionCommandHandler");
const ProtectedCreateHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/protectedCreateHoldByPartition/ProtectedCreateHoldByPartitionCommandHandler");
const Tokens_1 = require("../Tokens");
const GetHoldsIdForByPartitionQueryHandler_1 = require("../../../app/usecase/query/security/hold/getHoldsIdForByPartition/GetHoldsIdForByPartitionQueryHandler");
const GetHoldForByPartitionQueryHandler_1 = require("../../../app/usecase/query/security/hold/getHoldForByPartition/GetHoldForByPartitionQueryHandler");
const GetHeldAmountForQueryHandler_1 = require("../../../app/usecase/query/security/hold/getHeldAmountFor/GetHeldAmountForQueryHandler");
const GetHeldAmountForByPartitionQueryHandler_1 = require("../../../app/usecase/query/security/hold/getHeldAmountForByPartition/GetHeldAmountForByPartitionQueryHandler");
const ReleaseHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/releaseHoldByPartition/ReleaseHoldByPartitionCommandHandler");
const ReclaimHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/reclaimHoldByPartition/ReclaimHoldByPartitionCommandHandler");
const ExecuteHoldByPartitionCommandHandler_1 = require("../../../app/usecase/command/security/operations/hold/executeHoldByPartition/ExecuteHoldByPartitionCommandHandler");
exports.COMMAND_HANDLERS_HOLD = [
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: CreateHoldByPartitionCommandHandler_1.CreateHoldByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: CreateHoldFromByPartitionCommandHandler_1.CreateHoldFromByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ControllerCreateHoldByPartitionCommandHandler_1.ControllerCreateHoldByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ProtectedCreateHoldByPartitionCommandHandler_1.ProtectedCreateHoldByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ReleaseHoldByPartitionCommandHandler_1.ReleaseHoldByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ReclaimHoldByPartitionCommandHandler_1.ReclaimHoldByPartitionCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: ExecuteHoldByPartitionCommandHandler_1.ExecuteHoldByPartitionCommandHandler,
    },
];
exports.QUERY_HANDLERS_HOLD = [
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetHeldAmountForQueryHandler_1.GetHeldAmountForQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetHeldAmountForByPartitionQueryHandler_1.GetHeldAmountForByPartitionQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetHoldCountForByPartitionQueryHandler_1.GetHoldCountForByPartitionQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetHoldsIdForByPartitionQueryHandler_1.GetHoldsIdForByPartitionQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetHoldForByPartitionQueryHandler_1.GetHoldForByPartitionQueryHandler,
    },
];
