UNPKG

@finbourne/lusid-sdk-angular6

Version:

An angular (6+) SDK for secure access to the LUSID® by FINBOURNE web API

48 lines (47 loc) 3.87 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ResourceListOfTransactionMetaData } from '../model/resourceListOfTransactionMetaData'; import { TransactionConfigurationData } from '../model/transactionConfigurationData'; import { TransactionConfigurationDataRequest } from '../model/transactionConfigurationDataRequest'; import { Configuration } from '../configuration'; export declare class SystemConfigurationService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm(consumes); /** * Create transaction type * Create a new transaction type by specifying a definition and the mappings to movements * @param type A transaction type definition * @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. */ createConfigurationTransactionType(type?: TransactionConfigurationDataRequest, observe?: 'body', reportProgress?: boolean): Observable<TransactionConfigurationData>; createConfigurationTransactionType(type?: TransactionConfigurationDataRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<TransactionConfigurationData>>; createConfigurationTransactionType(type?: TransactionConfigurationDataRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<TransactionConfigurationData>>; /** * List transaction types * Get the list of persisted transaction types * @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. */ listConfigurationTransactionTypes(observe?: 'body', reportProgress?: boolean): Observable<ResourceListOfTransactionMetaData>; listConfigurationTransactionTypes(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfTransactionMetaData>>; listConfigurationTransactionTypes(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfTransactionMetaData>>; /** * Set transaction types * Set all transaction types to be used by the movements engine, for the organisation WARNING! Changing these mappings will have a material impact on how data, new and old, is processed and aggregated by LUSID. This will affect your whole organisation. Only change if you are fully aware of the implications of the change. * @param types The complete set of transaction type definitions * @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. */ setConfigurationTransactionTypes(types?: Array<TransactionConfigurationDataRequest>, observe?: 'body', reportProgress?: boolean): Observable<ResourceListOfTransactionMetaData>; setConfigurationTransactionTypes(types?: Array<TransactionConfigurationDataRequest>, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfTransactionMetaData>>; setConfigurationTransactionTypes(types?: Array<TransactionConfigurationDataRequest>, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfTransactionMetaData>>; }