import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CreateReferencePortfolioRequest } from '../model/models'; import { GetReferencePortfolioConstituentsResponse } from '../model/models'; import { Portfolio } from '../model/models'; import { ResourceListOfConstituentsAdjustmentHeader } from '../model/models'; import { UpsertReferencePortfolioConstituentsRequest } from '../model/models'; import { UpsertReferencePortfolioConstituentsResponse } from '../model/models'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ReferencePortfolioService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * CreateReferencePortfolio: Create reference portfolio * Create a reference portfolio in a particular scope. * @param scope The scope in which to create the reference portfolio. * @param createReferencePortfolioRequest The definition of the reference 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. */ createReferencePortfolio(scope: string, createReferencePortfolioRequest: CreateReferencePortfolioRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; createReferencePortfolio(scope: string, createReferencePortfolioRequest: CreateReferencePortfolioRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; createReferencePortfolio(scope: string, createReferencePortfolioRequest: CreateReferencePortfolioRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * GetReferencePortfolioConstituents: Get reference portfolio constituents * Get constituents from a reference portfolio at a particular effective time. * @param scope The scope of the reference portfolio. * @param code The code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio. * @param effectiveAt The effective date of the constituents to retrieve. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve constituents. Defaults to return the latest version of each constituent if not specified. * @param propertyKeys A list of property keys from the \'Instrument\' or \'ReferenceHolding\' domain to decorate onto constituents. These take the format {domain}/{scope}/{code} e.g. \'Instrument/system/Name\' or \'ReferenceHolding/strategy/quantsignal\'. Defaults to return all available instrument and reference holding properties if not specified. * @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. */ getReferencePortfolioConstituents(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getReferencePortfolioConstituents(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getReferencePortfolioConstituents(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * ListConstituentsAdjustments: List constituents adjustments * List adjustments made to constituents in a reference portfolio. * @param scope The scope of the reference portfolio. * @param code The code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio. * @param fromEffectiveAt Events between this time (inclusive) and the toEffectiveAt are returned. * @param toEffectiveAt Events between this time (inclusive) and the fromEffectiveAt are returned. * @param asAtTime The asAt time for which the result is valid. * @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. */ listConstituentsAdjustments(scope: string, code: string, fromEffectiveAt: string, toEffectiveAt: string, asAtTime?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; listConstituentsAdjustments(scope: string, code: string, fromEffectiveAt: string, toEffectiveAt: string, asAtTime?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; listConstituentsAdjustments(scope: string, code: string, fromEffectiveAt: string, toEffectiveAt: string, asAtTime?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents * Add constituents to a reference portfolio. * @param scope The scope of the reference portfolio. * @param code The code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio. * @param upsertReferencePortfolioConstituentsRequest The constituents to upload to the reference 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. */ upsertReferencePortfolioConstituents(scope: string, code: string, upsertReferencePortfolioConstituentsRequest: UpsertReferencePortfolioConstituentsRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; upsertReferencePortfolioConstituents(scope: string, code: string, upsertReferencePortfolioConstituentsRequest: UpsertReferencePortfolioConstituentsRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; upsertReferencePortfolioConstituents(scope: string, code: string, upsertReferencePortfolioConstituentsRequest: UpsertReferencePortfolioConstituentsRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }