chore(app): сгенерированный Dart-клиент

just gen-client — покрывает links, cashflow-broker, ручные цены,
imports/pending, goals/income/rebalance/tax/benchmarks.
This commit is contained in:
Dmitry
2026-09-19 10:46:09 +03:00
parent b69bb4a0c9
commit ccd06f32f7
242 changed files with 25877 additions and 3 deletions
@@ -0,0 +1,56 @@
import 'package:test/test.dart';
import 'package:fintracker_api/fintracker_api.dart';
/// tests for ImportsApi
void main() {
final instance = FintrackerApi().getImportsApi();
group(ImportsApi, () {
// Commit
//
// Write the file's events into the ledger and rebuild every metric.
//
//Future<ImportResult> importsCommit(int importId, CommitRequest commitRequest) async
test('test importsCommit', () async {
// TODO
});
// Create
//
// Upload a report, parse it and show what committing it would do. Writes no event.
//
//Future<ImportPreview> importsCreate(MultipartFile file, { int accountId, String parser }) async
test('test importsCreate', () async {
// TODO
});
// Delete
//
// Drop an uncommitted import. A committed one stays: `raw_*` is append-only.
//
//Future importsDelete(int importId) async
test('test importsDelete', () async {
// TODO
});
// Get
//
// The preview again — recomputed for an uncommitted import, replayed for a committed one.
//
//Future<ImportPreview> importsGet(int importId) async
test('test importsGet', () async {
// TODO
});
// List
//
// Newest imports first, with the counters each was committed with.
//
//Future<List<ImportSummary>> importsList({ String status, int limit, int offset }) async
test('test importsList', () async {
// TODO
});
});
}