chore(app): перегенерировать Dart-клиент
Портфели, создание счетов, ручные события, PATCH инструмента, ScopeCardOut, MetricsStatusOut, логотипы в HoldingOut.
This commit is contained in:
@@ -9,9 +9,96 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**eventsCreate**](EventsApi.md#eventscreate) | **POST** /api/v1/events | Create
|
||||
[**eventsDelete**](EventsApi.md#eventsdelete) | **DELETE** /api/v1/events/{event_id} | Delete
|
||||
[**eventsList**](EventsApi.md#eventslist) | **GET** /api/v1/events | List
|
||||
|
||||
|
||||
# **eventsCreate**
|
||||
> EventOut eventsCreate(manualEventCreate)
|
||||
|
||||
Create
|
||||
|
||||
Enter an event by hand. It is `confirmed` at once: it is the user's own statement, so it is never shadowed by the account's primary feed.
|
||||
|
||||
### Example
|
||||
```dart
|
||||
import 'package:fintracker_api/api.dart';
|
||||
|
||||
final api = FintrackerApi().getEventsApi();
|
||||
final ManualEventCreate manualEventCreate = ; // ManualEventCreate |
|
||||
|
||||
try {
|
||||
final response = api.eventsCreate(manualEventCreate);
|
||||
print(response);
|
||||
} on DioException catch (e) {
|
||||
print('Exception when calling EventsApi->eventsCreate: $e\n');
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**manualEventCreate** | [**ManualEventCreate**](ManualEventCreate.md)| |
|
||||
|
||||
### Return type
|
||||
|
||||
[**EventOut**](EventOut.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)
|
||||
|
||||
# **eventsDelete**
|
||||
> eventsDelete(eventId)
|
||||
|
||||
Delete
|
||||
|
||||
Delete an event that was entered by hand. Broker events are evidence, not ours to erase: the next sync or import would bring them straight back.
|
||||
|
||||
### Example
|
||||
```dart
|
||||
import 'package:fintracker_api/api.dart';
|
||||
|
||||
final api = FintrackerApi().getEventsApi();
|
||||
final int eventId = 56; // int |
|
||||
|
||||
try {
|
||||
api.eventsDelete(eventId);
|
||||
} on DioException catch (e) {
|
||||
print('Exception when calling EventsApi->eventsDelete: $e\n');
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**eventId** | **int**| |
|
||||
|
||||
### Return type
|
||||
|
||||
void (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[HTTPBearer](../README.md#HTTPBearer)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: 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)
|
||||
|
||||
# **eventsList**
|
||||
> EventPage eventsList(from, to, accountId, instrumentId, kind, status, externalFlow, q, page, pageSize)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user