"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.organizationSettings = exports.organizationSettingsDefaults = void 0;
exports.resolveOrganizationSettings = resolveOrganizationSettings;
require("./env-bootstrap");
/**
 * Дефолтные настройки организации по ролям на стенде.
 */
exports.organizationSettingsDefaults = {
    admin: {},
    client: {},
    agent: {},
    bank: {},
    debtor: {},
};
/**
 * Собирает настройки организации по роли.
 * @param role — ключ роли в test-data
 * @returns настройки организации роли
 */
function resolveOrganizationSettings(role) {
    return { ...exports.organizationSettingsDefaults[role] };
}
/**
 * Настройки организаций тестовых ролей.
 */
exports.organizationSettings = {
    admin: resolveOrganizationSettings('admin'),
    client: resolveOrganizationSettings('client'),
    agent: resolveOrganizationSettings('agent'),
    bank: resolveOrganizationSettings('bank'),
    debtor: resolveOrganizationSettings('debtor'),
};
