"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.investmentPlanStoreSchema=exports.investmentPlanUpdateSchema=exports.baseInvestmentPlanSchema=exports.investmentPlanSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the Investment Plan"),name=(0,schema_1.baseStringSchema)("Name of the Investment Plan",191),title=(0,schema_1.baseStringSchema)("Title of the Investment Plan",191,0,!0),description=(0,schema_1.baseStringSchema)("Description of the Investment Plan",191,0,!0),image=(0,schema_1.baseStringSchema)("Image URL of the Investment Plan",191,0,!0),minProfit=(0,schema_1.baseNumberSchema)("Minimum Profit"),maxProfit=(0,schema_1.baseNumberSchema)("Maximum Profit"),minAmount=(0,schema_1.baseNumberSchema)("Minimum Amount",!0),maxAmount=(0,schema_1.baseNumberSchema)("Maximum Amount",!0),invested=(0,schema_1.baseNumberSchema)("Total Invested"),profitPercentage=(0,schema_1.baseNumberSchema)("Profit Percentage"),status=(0,schema_1.baseBooleanSchema)("Status of the Plan"),defaultProfit=(0,schema_1.baseNumberSchema)("Default Profit"),defaultResult=(0,schema_1.baseEnumSchema)("Default Result of the Plan",["WIN","LOSS","DRAW"]),trending=(0,schema_1.baseBooleanSchema)("Trending Status of the Plan"),durations={type:"array",description:"Array of Investment Plan Duration IDs"},createdAt=(0,schema_1.baseDateTimeSchema)("Creation Date of the Plan"),updatedAt=(0,schema_1.baseDateTimeSchema)("Last Update Date of the Plan",!0),deletedAt=(0,schema_1.baseDateTimeSchema)("Deletion Date of the Plan",!0),currency=(0,schema_1.baseStringSchema)("Currency of the Investment Plan"),walletType=(0,schema_1.baseStringSchema)("Wallet Type of the Investment Plan");exports.investmentPlanSchema={id:id,name:name,title:title,description:description,image:image,minProfit:minProfit,maxProfit:maxProfit,minAmount:minAmount,maxAmount:maxAmount,invested:invested,profitPercentage:profitPercentage,status:status,defaultProfit:defaultProfit,defaultResult:defaultResult,trending:trending,durations:durations,currency:currency,walletType:walletType,createdAt:createdAt,updatedAt:updatedAt,deletedAt:deletedAt};exports.baseInvestmentPlanSchema={id:id,name:name,title:title,description:description,image:image,minProfit:minProfit,maxProfit:maxProfit,minAmount:minAmount,maxAmount:maxAmount,invested:invested,profitPercentage:profitPercentage,status:status,defaultProfit:defaultProfit,defaultResult:defaultResult,trending:trending,durations:durations,currency:currency,walletType:walletType,createdAt:createdAt,updatedAt:updatedAt,deletedAt:deletedAt};exports.investmentPlanUpdateSchema={type:"object",properties:{name:name,title:title,description:description,image:image,minProfit:minProfit,maxProfit:maxProfit,minAmount:minAmount,maxAmount:maxAmount,invested:invested,profitPercentage:profitPercentage,status:status,defaultProfit:defaultProfit,defaultResult:defaultResult,trending:trending,durations:durations,currency:currency,walletType:walletType},required:["name"]};exports.investmentPlanStoreSchema={description:"Investment Plan created or updated successfully",content:{"application/json":{schema:{type:"object",properties:exports.baseInvestmentPlanSchema}}}};