@finbourne/lusid-sdk-angular8
Version:
An angular (8+) SDK for secure access to the LUSID® by FINBOURNE web API
126 lines (125 loc) • 12.1 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { InlineValuationsReconciliationRequest } from '../model/inlineValuationsReconciliationRequest';
import { ListAggregationReconciliation } from '../model/listAggregationReconciliation';
import { Mapping } from '../model/mapping';
import { PortfoliosReconciliationRequest } from '../model/portfoliosReconciliationRequest';
import { ReconciliationRequest } from '../model/reconciliationRequest';
import { ReconciliationResponse } from '../model/reconciliationResponse';
import { ResourceListOfMapping } from '../model/resourceListOfMapping';
import { ResourceListOfReconciliationBreak } from '../model/resourceListOfReconciliationBreak';
import { TransactionReconciliationRequest } from '../model/transactionReconciliationRequest';
import { TransactionsReconciliationsResponse } from '../model/transactionsReconciliationsResponse';
import { ValuationsReconciliationRequest } from '../model/valuationsReconciliationRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class ReconciliationsService {
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;
/**
* [EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping
* Deletes the mapping identified by the scope and code
* @param scope The scope of the mapping.
* @param code The code fof the mapping.
* @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.
*/
deleteReconciliationMapping(scope: string, code: string, observe?: 'body', reportProgress?: boolean): Observable<string>;
deleteReconciliationMapping(scope: string, code: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<string>>;
deleteReconciliationMapping(scope: string, code: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<string>>;
/**
* [EARLY ACCESS] GetReconciliationMapping: Get a mapping
* Gets a mapping identified by the given scope and code
* @param scope The scope of the mapping.
* @param code The code fof the mapping.
* @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.
*/
getReconciliationMapping(scope: string, code: string, observe?: 'body', reportProgress?: boolean): Observable<Mapping>;
getReconciliationMapping(scope: string, code: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Mapping>>;
getReconciliationMapping(scope: string, code: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Mapping>>;
/**
* [EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings
* Lists all mappings this user is entitled to see
* @param reconciliationType Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.
* @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.
*/
listReconciliationMappings(reconciliationType?: string, observe?: 'body', reportProgress?: boolean): Observable<ResourceListOfMapping>;
listReconciliationMappings(reconciliationType?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfMapping>>;
listReconciliationMappings(reconciliationType?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfMapping>>;
/**
* ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are \'empty\' or null or zero.
* Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through.
* @param reconciliationRequest The specifications of the inputs to the reconciliation
* @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.
*/
reconcileGeneric(reconciliationRequest?: ReconciliationRequest, observe?: 'body', reportProgress?: boolean): Observable<ReconciliationResponse>;
reconcileGeneric(reconciliationRequest?: ReconciliationRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ReconciliationResponse>>;
reconcileGeneric(reconciliationRequest?: ReconciliationRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ReconciliationResponse>>;
/**
* [EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings
* Reconcile the holdings of two portfolios.
* @param sortBy Optional. Order the results by these fields. Use use the \'-\' sign to denote descending order e.g. -MyFieldName
* @param start Optional. When paginating, skip this number of results
* @param limit Optional. When paginating, limit the number of returned results to this many.
* @param filter Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq \'string\'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
* @param portfoliosReconciliationRequest The specifications of the inputs to the reconciliation
* @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.
*/
reconcileHoldings(sortBy?: Array<string>, start?: number, limit?: number, filter?: string, portfoliosReconciliationRequest?: PortfoliosReconciliationRequest, observe?: 'body', reportProgress?: boolean): Observable<ResourceListOfReconciliationBreak>;
reconcileHoldings(sortBy?: Array<string>, start?: number, limit?: number, filter?: string, portfoliosReconciliationRequest?: PortfoliosReconciliationRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfReconciliationBreak>>;
reconcileHoldings(sortBy?: Array<string>, start?: number, limit?: number, filter?: string, portfoliosReconciliationRequest?: PortfoliosReconciliationRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfReconciliationBreak>>;
/**
* ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes.
* Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation.
* @param inlineValuationsReconciliationRequest The specifications of the inputs to the reconciliation
* @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.
*/
reconcileInline(inlineValuationsReconciliationRequest?: InlineValuationsReconciliationRequest, observe?: 'body', reportProgress?: boolean): Observable<ListAggregationReconciliation>;
reconcileInline(inlineValuationsReconciliationRequest?: InlineValuationsReconciliationRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ListAggregationReconciliation>>;
reconcileInline(inlineValuationsReconciliationRequest?: InlineValuationsReconciliationRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ListAggregationReconciliation>>;
/**
* [EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation.
* Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping.
* @param transactionReconciliationRequest
* @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.
*/
reconcileTransactions(transactionReconciliationRequest?: TransactionReconciliationRequest, observe?: 'body', reportProgress?: boolean): Observable<TransactionsReconciliationsResponse>;
reconcileTransactions(transactionReconciliationRequest?: TransactionReconciliationRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<TransactionsReconciliationsResponse>>;
reconcileTransactions(transactionReconciliationRequest?: TransactionReconciliationRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<TransactionsReconciliationsResponse>>;
/**
* ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes.
* Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation.
* @param valuationsReconciliationRequest The specifications of the inputs to the reconciliation
* @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.
*/
reconcileValuation(valuationsReconciliationRequest?: ValuationsReconciliationRequest, observe?: 'body', reportProgress?: boolean): Observable<ListAggregationReconciliation>;
reconcileValuation(valuationsReconciliationRequest?: ValuationsReconciliationRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ListAggregationReconciliation>>;
reconcileValuation(valuationsReconciliationRequest?: ValuationsReconciliationRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ListAggregationReconciliation>>;
/**
* [EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping
* If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping
* @param mapping The mapping to be created / updated.
* @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.
*/
upsertReconciliationMapping(mapping?: Mapping, observe?: 'body', reportProgress?: boolean): Observable<Mapping>;
upsertReconciliationMapping(mapping?: Mapping, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Mapping>>;
upsertReconciliationMapping(mapping?: Mapping, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Mapping>>;
static ɵfac: i0.ɵɵFactoryDef<ReconciliationsService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<ReconciliationsService>;
}