feat(tbank): add brokerage account summaries

This commit is contained in:
2026-08-26 20:57:55 +03:00
parent 84fabd264f
commit e489d45f88
7 changed files with 240 additions and 19 deletions
+9
View File
@@ -1,4 +1,10 @@
import { ApiProperty } from '@nestjs/swagger';
import { MoneyDto } from './portfolio.dto';
export class PortfolioSummaryDto {
@ApiProperty({ type: MoneyDto, isArray: true })
totalsByCurrency: MoneyDto[];
}
export class BrokerageAccountDto {
@ApiProperty()
@@ -20,4 +26,7 @@ export class BrokerageAccountDto {
@ApiProperty({ type: String, nullable: true, format: 'date' })
openedOn: string | null;
@ApiProperty({ type: PortfolioSummaryDto, nullable: true })
portfolioSummary?: PortfolioSummaryDto | null;
}