"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.investmentDurationStoreSchema=exports.investmentDurationUpdateSchema=exports.baseInvestmentDurationSchema=exports.investmentDurationSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the Investment Duration"),duration=(0,schema_1.baseIntegerSchema)("Duration in time units"),timeframe=(0,schema_1.baseEnumSchema)("Unit of time for duration",["HOUR","DAY","WEEK","MONTH"]);exports.investmentDurationSchema={id:id,duration:duration,timeframe:timeframe};exports.baseInvestmentDurationSchema={id:id,duration:duration,timeframe:timeframe};exports.investmentDurationUpdateSchema={type:"object",properties:{duration:duration,timeframe:timeframe},required:["duration","timeframe"]};exports.investmentDurationStoreSchema={description:"Investment Duration created or updated successfully",content:{"application/json":{schema:{type:"object",properties:exports.baseInvestmentDurationSchema}}}};