chore(app): перегенерировать Dart-клиент
Портфели, создание счетов, ручные события, PATCH инструмента, ScopeCardOut, MetricsStatusOut, логотипы в HoldingOut.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountCreate
|
||||
void main() {
|
||||
final AccountCreate? instance = /* AccountCreate(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(AccountCreate, () {
|
||||
// Broker broker
|
||||
test('to test the property `broker`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String currency (default value: 'RUB')
|
||||
test('to test the property `currency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Agreement number exactly as the broker's report prints it
|
||||
// String sourceId
|
||||
test('to test the property `sourceId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for InstrumentPatch
|
||||
void main() {
|
||||
final InstrumentPatch? instance = /* InstrumentPatch(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(InstrumentPatch, () {
|
||||
// String assetClass
|
||||
test('to test the property `assetClass`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String board
|
||||
test('to test the property `board`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int lot
|
||||
test('to test the property `lot`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String sector
|
||||
test('to test the property `sector`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for ManualEventCreate
|
||||
void main() {
|
||||
final ManualEventCreate? instance = /* ManualEventCreate(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(ManualEventCreate, () {
|
||||
// int accountId
|
||||
test('to test the property `accountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String accruedInterest
|
||||
test('to test the property `accruedInterest`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String amount
|
||||
test('to test the property `amount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String currency
|
||||
test('to test the property `currency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String description
|
||||
test('to test the property `description`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String fee
|
||||
test('to test the property `fee`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int instrumentId
|
||||
test('to test the property `instrumentId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// EventKind kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String price
|
||||
test('to test the property `price`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String quantity
|
||||
test('to test the property `quantity`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime tradeDate
|
||||
test('to test the property `tradeDate`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for MetricsStatusOut
|
||||
void main() {
|
||||
final MetricsStatusOut? instance = /* MetricsStatusOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(MetricsStatusOut, () {
|
||||
// bool consistent
|
||||
test('to test the property `consistent`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RefreshLogOut lastRefresh
|
||||
test('to test the property `lastRefresh`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool refreshing
|
||||
test('to test the property `refreshing`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for PortfolioAccountsIn
|
||||
void main() {
|
||||
final PortfolioAccountsIn? instance = /* PortfolioAccountsIn(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(PortfolioAccountsIn, () {
|
||||
// List<int> accountIds
|
||||
test('to test the property `accountIds`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for PortfolioCreate
|
||||
void main() {
|
||||
final PortfolioCreate? instance = /* PortfolioCreate(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(PortfolioCreate, () {
|
||||
// List<int> accountIds
|
||||
test('to test the property `accountIds`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for PortfolioOut
|
||||
void main() {
|
||||
final PortfolioOut? instance = /* PortfolioOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(PortfolioOut, () {
|
||||
// List<int> accountIds
|
||||
test('to test the property `accountIds`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String baseCurrency
|
||||
test('to test the property `baseCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for PortfolioPatch
|
||||
void main() {
|
||||
final PortfolioPatch? instance = /* PortfolioPatch(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(PortfolioPatch, () {
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for PortfoliosApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getPortfoliosApi();
|
||||
|
||||
group(PortfoliosApi, () {
|
||||
// Create
|
||||
//
|
||||
//Future<PortfolioOut> portfoliosCreate(PortfolioCreate portfolioCreate) async
|
||||
test('test portfoliosCreate', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Delete
|
||||
//
|
||||
//Future portfoliosDelete(int portfolioId) async
|
||||
test('test portfoliosDelete', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List
|
||||
//
|
||||
//Future<List<PortfolioOut>> portfoliosList() async
|
||||
test('test portfoliosList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Patch
|
||||
//
|
||||
//Future<PortfolioOut> portfoliosPatch(int portfolioId, PortfolioPatch portfolioPatch) async
|
||||
test('test portfoliosPatch', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Set Accounts
|
||||
//
|
||||
//Future<PortfolioOut> portfoliosSetAccounts(int portfolioId, PortfolioAccountsIn portfolioAccountsIn) async
|
||||
test('test portfoliosSetAccounts', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for ScopeCardOut
|
||||
void main() {
|
||||
final ScopeCardOut? instance = /* ScopeCardOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(ScopeCardOut, () {
|
||||
// DateTime asOf
|
||||
test('to test the property `asOf`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String dayChangePct
|
||||
test('to test the property `dayChangePct`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String dayChangeRub
|
||||
test('to test the property `dayChangeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String incomeYearPct
|
||||
test('to test the property `incomeYearPct`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String incomeYearRub
|
||||
test('to test the property `incomeYearRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String investedRub
|
||||
test('to test the property `investedRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String pnlPct
|
||||
test('to test the property `pnlPct`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String pnlRub
|
||||
test('to test the property `pnlRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String scope
|
||||
test('to test the property `scope`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String totalRub
|
||||
test('to test the property `totalRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String xirr
|
||||
test('to test the property `xirr`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user