chore(app): перегенерировать Dart-клиент

Портфели, создание счетов, ручные события, PATCH инструмента, ScopeCardOut, MetricsStatusOut, логотипы в HoldingOut.
This commit is contained in:
Dmitry
2026-09-19 22:14:07 +03:00
parent f1f336f94f
commit bfe74ca47c
73 changed files with 4615 additions and 22 deletions
@@ -11,6 +11,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**instrumentsGet**](InstrumentsApi.md#instrumentsget) | **GET** /api/v1/instruments/{instrument_id} | Get
[**instrumentsList**](InstrumentsApi.md#instrumentslist) | **GET** /api/v1/instruments | List
[**instrumentsPatch**](InstrumentsApi.md#instrumentspatch) | **PATCH** /api/v1/instruments/{instrument_id} | Patch
[**instrumentsPending**](InstrumentsApi.md#instrumentspending) | **GET** /api/v1/instruments/pending | Pending
[**instrumentsPendingResolve**](InstrumentsApi.md#instrumentspendingresolve) | **POST** /api/v1/instruments/pending/{pending_id}/resolve | Pending Resolve
[**instrumentsSetManualPrice**](InstrumentsApi.md#instrumentssetmanualprice) | **POST** /api/v1/instruments/{instrument_id}/prices | Set Manual Price
@@ -110,6 +111,51 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **instrumentsPatch**
> InstrumentOut instrumentsPatch(instrumentId, instrumentPatch)
Patch
Correct an instrument by hand: name, board, lot, asset class, sector. The lot only rounds the quantities the rebalancing suggests; the asset class decides the bucket it lands in. Neither is refreshed here — call `POST /metrics/refresh` after, same as `/rules/apply`.
### Example
```dart
import 'package:fintracker_api/api.dart';
final api = FintrackerApi().getInstrumentsApi();
final int instrumentId = 56; // int |
final InstrumentPatch instrumentPatch = ; // InstrumentPatch |
try {
final response = api.instrumentsPatch(instrumentId, instrumentPatch);
print(response);
} on DioException catch (e) {
print('Exception when calling InstrumentsApi->instrumentsPatch: $e\n');
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**instrumentId** | **int**| |
**instrumentPatch** | [**InstrumentPatch**](InstrumentPatch.md)| |
### Return type
[**InstrumentOut**](InstrumentOut.md)
### Authorization
[HTTPBearer](../README.md#HTTPBearer)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json, application/problem+json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **instrumentsPending**
> List<PendingInstrumentOut> instrumentsPending(status, limit, offset)