/** * MAB API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ExchangeApplyMethodRequest } from '../model/models'; import { ExchangeGridModel } from '../model/models'; import { ExchangeModel } from '../model/models'; import { Configuration } from '../configuration'; export declare class ExchangeService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Get exchanges by date range * @param dateFrom * @param dateTo * @param currencyIdToSell * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ apiExchangeGet(dateFrom: string, dateTo: string, currencyIdToSell?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiExchangeGet(dateFrom: string, dateTo: string, currencyIdToSell?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiExchangeGet(dateFrom: string, dateTo: string, currencyIdToSell?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Get exchange by id * @param id Exchange id * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ apiExchangesIdGet(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiExchangesIdGet(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiExchangesIdGet(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Update exchange * @param id Instance id * @param exchangeApplyMethodRequest Exchange data and method. Data can be null. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ apiExchangesIdPatch(id: number, exchangeApplyMethodRequest?: ExchangeApplyMethodRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiExchangesIdPatch(id: number, exchangeApplyMethodRequest?: ExchangeApplyMethodRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiExchangesIdPatch(id: number, exchangeApplyMethodRequest?: ExchangeApplyMethodRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Create exchange * @param exchangeModel Exchange data * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ apiExchangesPost(exchangeModel?: ExchangeModel, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiExchangesPost(exchangeModel?: ExchangeModel, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiExchangesPost(exchangeModel?: ExchangeModel, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; }