"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.QUERY_HANDLERS_BALANCE = exports.COMMAND_HANDLERS_BALANCE = void 0;
const Tokens_1 = require("../Tokens");
const GetAccountBalanceQueryHandler_1 = require("../../../app/usecase/query/account/balance/GetAccountBalanceQueryHandler");
const SetScheduledBalanceAdjustmentCommandHandler_1 = require("../../../app/usecase/command/equity/balanceAdjustments/setScheduledBalanceAdjustment/SetScheduledBalanceAdjustmentCommandHandler");
const BalanceOfQueryHandler_1 = require("../../../app/usecase/query/security/balanceof/BalanceOfQueryHandler");
const GetScheduledBalanceAdjustmentQueryHandler_1 = require("../../../app/usecase/query/equity/balanceAdjustments/getScheduledBalanceAdjustment/GetScheduledBalanceAdjustmentQueryHandler");
const GetScheduledBalanceAdjustmentsCountQueryHandler_1 = require("../../../app/usecase/query/equity/balanceAdjustments/getScheduledBalanceAdjustmentCount/GetScheduledBalanceAdjustmentsCountQueryHandler");
exports.COMMAND_HANDLERS_BALANCE = [
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetAccountBalanceQueryHandler_1.GetAccountBalanceQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: SetScheduledBalanceAdjustmentCommandHandler_1.SetScheduledBalanceAdjustmentCommandHandler,
    },
];
exports.QUERY_HANDLERS_BALANCE = [
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: BalanceOfQueryHandler_1.BalanceOfQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetScheduledBalanceAdjustmentQueryHandler_1.GetScheduledBalanceAdjustmentQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetScheduledBalanceAdjustmentsCountQueryHandler_1.GetScheduledBalanceAdjustmentCountQueryHandler,
    },
];
