"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.metadata=void 0;const binary_settings_cache_1=require("@b/utils/binary-settings-cache");exports.metadata={summary:"Get Binary Trading Settings",description:"Returns binary trading configuration for the trading interface",operationId:"getBinarySettings",tags:["Binary","Settings"],responses:{200:{description:"Binary settings retrieved successfully",content:{"application/json":{schema:{type:"object",properties:{settings:{type:"object",description:"Binary trading settings"}}}}}}}};exports.default=async()=>{const e=await(0,binary_settings_cache_1.getBinarySettings)();return{settings:{global:{enabled:e.global.enabled,practiceEnabled:e.global.practiceEnabled,maxConcurrentOrders:e.global.maxConcurrentOrders,maxDailyOrders:e.global.maxDailyOrders,cooldownSeconds:e.global.cooldownSeconds,orderExpirationBuffer:e.global.orderExpirationBuffer,cancelExpirationBuffer:e.global.cancelExpirationBuffer},display:e.display,orderTypes:e.orderTypes,durations:e.durations,cancellation:e.cancellation}}};