import { ApiPropertyOptional } from "@nestjs/swagger"; import { IsBoolean, IsOptional } from "class-validator"; /** * Partial update: the UI flips one currency at a time, so an omitted field * leaves that currency's channel exactly as it was. */ export class UpdateManualPaymentSettingDto { @ApiPropertyOptional({ description: "Allow manual settlement of ETB invoices" }) @IsOptional() @IsBoolean() etbEnabled?: boolean; @ApiPropertyOptional({ description: "Allow manual settlement of USD invoices" }) @IsOptional() @IsBoolean() usdEnabled?: boolean; @ApiPropertyOptional({ description: "Allow manual settlement of DJF invoices" }) @IsOptional() @IsBoolean() djfEnabled?: boolean; }