@finbourne/lusid-sdk-angular8
Version:
An angular (8+) SDK for secure access to the LUSID® by FINBOURNE web API
45 lines (44 loc) • 3.51 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateDerivedTransactionPortfolioRequest } from '../model/createDerivedTransactionPortfolioRequest';
import { DeletedEntityResponse } from '../model/deletedEntityResponse';
import { Portfolio } from '../model/portfolio';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class DerivedTransactionPortfoliosService {
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;
/**
* CreateDerivedPortfolio: Create derived portfolio
* Create a derived transaction portfolio from a parent transaction portfolio (which may itself be derived).
* @param scope The scope in which to create the derived transaction portfolio.
* @param createDerivedTransactionPortfolioRequest The definition of the derived transaction portfolio.
* @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.
*/
createDerivedPortfolio(scope: string, createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest, observe?: 'body', reportProgress?: boolean): Observable<Portfolio>;
createDerivedPortfolio(scope: string, createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Portfolio>>;
createDerivedPortfolio(scope: string, createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Portfolio>>;
/**
* [EARLY ACCESS] DeleteDerivedPortfolioDetails: Delete derived portfolio details
* Delete all the portfolio details for a derived transaction portfolio.
* @param scope The scope of the derived transaction portfolio.
* @param code The code of the derived transaction portfolio. Together with the scope this uniquely identifies the derived transaction portfolio.
* @param effectiveAt The effective date of the change.
* @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.
*/
deleteDerivedPortfolioDetails(scope: string, code: string, effectiveAt?: string, observe?: 'body', reportProgress?: boolean): Observable<DeletedEntityResponse>;
deleteDerivedPortfolioDetails(scope: string, code: string, effectiveAt?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<DeletedEntityResponse>>;
deleteDerivedPortfolioDetails(scope: string, code: string, effectiveAt?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<DeletedEntityResponse>>;
static ɵfac: i0.ɵɵFactoryDef<DerivedTransactionPortfoliosService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<DerivedTransactionPortfoliosService>;
}