feat(accounts): enrich brokerage account list
This commit is contained in:
@@ -1109,6 +1109,35 @@
|
||||
"token"
|
||||
]
|
||||
},
|
||||
"MoneyDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currency": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"currency",
|
||||
"value"
|
||||
]
|
||||
},
|
||||
"PortfolioSummaryDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalsByCurrency": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MoneyDto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalsByCurrency"
|
||||
]
|
||||
},
|
||||
"BrokerageAccountDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1131,28 +1160,23 @@
|
||||
"type": "string",
|
||||
"nullable": true,
|
||||
"format": "date"
|
||||
},
|
||||
"portfolioSummary": {
|
||||
"nullable": true,
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/PortfolioSummaryDto"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"type",
|
||||
"openedOn"
|
||||
]
|
||||
},
|
||||
"MoneyDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currency": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"currency",
|
||||
"value"
|
||||
"openedOn",
|
||||
"portfolioSummary"
|
||||
]
|
||||
},
|
||||
"BrokerageOperationDto": {
|
||||
|
||||
Reference in New Issue
Block a user