@finbourne/lusid-sdk-angular16
Version:
An angular (16) SDK for secure access to the LUSID® by FINBOURNE web API
61 lines (60 loc) • 4.26 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } 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;
encoder: HttpParameterCodec;
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
private addToHttpParams;
private addToHttpParamsRecursive;
/**
* 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, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): Observable<Portfolio>;
createDerivedPortfolio(scope: string, createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): Observable<HttpResponse<Portfolio>>;
createDerivedPortfolio(scope: string, createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): 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, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): Observable<DeletedEntityResponse>;
deleteDerivedPortfolioDetails(scope: string, code: string, effectiveAt?: string, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): Observable<HttpResponse<DeletedEntityResponse>>;
deleteDerivedPortfolioDetails(scope: string, code: string, effectiveAt?: string, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
}): Observable<HttpEvent<DeletedEntityResponse>>;
static ɵfac: i0.ɵɵFactoryDeclaration<DerivedTransactionPortfoliosService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<DerivedTransactionPortfoliosService>;
}