UNPKG

@finbourne/lusid-sdk-angular16

Version:

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

563 lines 74.2 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AccessMetadataOperation } from '../model/accessMetadataOperation'; import { AccessMetadataValue } from '../model/accessMetadataValue'; import { AggregatedReturnsDispersionRequest } from '../model/aggregatedReturnsDispersionRequest'; import { AggregatedReturnsRequest } from '../model/aggregatedReturnsRequest'; import { AggregatedReturnsResponse } from '../model/aggregatedReturnsResponse'; import { BatchUpsertPortfolioAccessMetadataRequest } from '../model/batchUpsertPortfolioAccessMetadataRequest'; import { BatchUpsertPortfolioAccessMetadataResponse } from '../model/batchUpsertPortfolioAccessMetadataResponse'; import { CompositeBreakdownRequest } from '../model/compositeBreakdownRequest'; import { CompositeBreakdownResponse } from '../model/compositeBreakdownResponse'; import { CompositeDispersionResponse } from '../model/compositeDispersionResponse'; import { DeletedEntityResponse } from '../model/deletedEntityResponse'; import { InstrumentEventInstruction } from '../model/instrumentEventInstruction'; import { InstrumentEventInstructionRequest } from '../model/instrumentEventInstructionRequest'; import { InstrumentEventInstructionsResponse } from '../model/instrumentEventInstructionsResponse'; import { Operation } from '../model/operation'; import { PagedResourceListOfInstrumentEventInstruction } from '../model/pagedResourceListOfInstrumentEventInstruction'; import { PerformanceReturn } from '../model/performanceReturn'; import { Portfolio } from '../model/portfolio'; import { PortfolioProperties } from '../model/portfolioProperties'; import { Property } from '../model/property'; import { ResourceListOfAccessMetadataValueOf } from '../model/resourceListOfAccessMetadataValueOf'; import { ResourceListOfAggregatedReturn } from '../model/resourceListOfAggregatedReturn'; import { ResourceListOfPerformanceReturn } from '../model/resourceListOfPerformanceReturn'; import { ResourceListOfPortfolio } from '../model/resourceListOfPortfolio'; import { ResourceListOfProcessedCommand } from '../model/resourceListOfProcessedCommand'; import { ResourceListOfProperty } from '../model/resourceListOfProperty'; import { ResourceListOfPropertyInterval } from '../model/resourceListOfPropertyInterval'; import { ResourceListOfRelation } from '../model/resourceListOfRelation'; import { ResourceListOfRelationship } from '../model/resourceListOfRelationship'; import { UpdatePortfolioRequest } from '../model/updatePortfolioRequest'; import { UpsertPortfolioAccessMetadataRequest } from '../model/upsertPortfolioAccessMetadataRequest'; import { UpsertReturnsResponse } from '../model/upsertReturnsResponse'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class PortfoliosService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * [EARLY ACCESS] BatchUpsertPortfolioAccessMetadata: Upsert multiple Portfolio Access Metadata Rules to multiple Portfolios * Update or insert multiple Access Metadata rules for multiple Portfolios. Items will be updated if they already exist and inserted if they do not. No other items will be affected The response will return the successfully updated or inserted Portfolio Access Metadata Rules or a failure message if unsuccessful Multiple rules for a metadataKey can exist with different effective at dates, when resources are accessed the rule that is active for the current time will be fetched * @param requestBody The Access Metadata Rules to upsert and the Portfolio identifiers to upsert for * @param effectiveAt The date these rules will be effective from * @param effectiveUntil The effective date until which the Access Metadata is valid. If not supplied, this will be valid indefinitely, or until the next \&#39;effectiveAt\&#39; date of the Access Metadata * @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. */ batchUpsertPortfolioAccessMetadata(requestBody: { [key: string]: BatchUpsertPortfolioAccessMetadataRequest; }, effectiveAt?: string, effectiveUntil?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<BatchUpsertPortfolioAccessMetadataResponse>; batchUpsertPortfolioAccessMetadata(requestBody: { [key: string]: BatchUpsertPortfolioAccessMetadataRequest; }, effectiveAt?: string, effectiveUntil?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<BatchUpsertPortfolioAccessMetadataResponse>>; batchUpsertPortfolioAccessMetadata(requestBody: { [key: string]: BatchUpsertPortfolioAccessMetadataRequest; }, effectiveAt?: string, effectiveUntil?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<BatchUpsertPortfolioAccessMetadataResponse>>; /** * [EARLY ACCESS] DeleteInstrumentEventInstruction: Delete Instrument Event Instruction * Delete a particular instruction for a particular portfolio * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param instrumentEventInstructionId The id of the instruction to be deleted. * @param portfolioEffectiveAt The effective date at which the portfolio will be resolved. Defaults to current time 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. */ deleteInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deleteInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deleteInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * DeleteKeyFromPortfolioAccessMetadata: Delete a Portfolio Access Metadata Rule * Delete the Portfolio Access Metadata Rule that exactly matches the provided identifier parts * @param scope The scope of the Quote Access Metadata Rule to retrieve. * @param code Portfolio code * @param metadataKey The metadataKey identifying the access metadata entry to delete * @param effectiveAt The effective date to delete at, if this is not supplied, it will delete all data found * @param effectiveUntil The effective date until which the delete is valid. If not supplied this will be valid indefinitely, or until the next \&#39;effectiveAt\&#39; date of the Access Metadata * @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. */ deleteKeyFromPortfolioAccessMetadata(scope: string, code: string, metadataKey: string, effectiveAt?: string, effectiveUntil?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deleteKeyFromPortfolioAccessMetadata(scope: string, code: string, metadataKey: string, effectiveAt?: string, effectiveUntil?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deleteKeyFromPortfolioAccessMetadata(scope: string, code: string, metadataKey: string, effectiveAt?: string, effectiveUntil?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * DeletePortfolio: Delete portfolio * Delete a particular portfolio. The deletion will take effect from the portfolio\&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the 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. */ deletePortfolio(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deletePortfolio(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deletePortfolio(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * DeletePortfolioProperties: Delete portfolio properties * Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param propertyKeys The property keys of the properties to delete. These must take the format {domain}/{scope}/{code}, for example \&#39;Portfolio/Manager/Id\&#39;. Each property must be from the \&#39;Portfolio\&#39; domain. * @param effectiveAt The effective datetime or cut label at which to delete time-variant properties from. The property must exist at the specified \&#39;effectiveAt\&#39; datetime. If the \&#39;effectiveAt\&#39; is not provided or is before the time-variant property exists then a failure is returned. Do not specify this parameter if any of the properties to delete are perpetual. * @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. */ deletePortfolioProperties(scope: string, code: string, propertyKeys: Array<string>, effectiveAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deletePortfolioProperties(scope: string, code: string, propertyKeys: Array<string>, effectiveAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deletePortfolioProperties(scope: string, code: string, propertyKeys: Array<string>, effectiveAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * [EARLY ACCESS] DeletePortfolioReturns: Delete Returns * Cancel one or more Returns which exist into the specified portfolio. * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param returnScope The scope of the Returns. * @param returnCode The code of the Returns. * @param fromEffectiveAt The start date from which to delete the Returns. * @param toEffectiveAt The end date from which to delete the Returns. * @param period The Period (Daily or Monthly) of the Returns to be deleted. Defaults to Daily. * @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. */ deletePortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt: string, toEffectiveAt: string, period?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deletePortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt: string, toEffectiveAt: string, period?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deletePortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt: string, toEffectiveAt: string, period?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * [EARLY ACCESS] GetAggregatedReturnsDispersionMetrics: Get the Aggregated Returns Dispersion metric * Calculate the dispersion metric with the Aggregate Returns which are on the specified portfolio. This works only for composites which have at least 6 constituents for a full year in. * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param aggregatedReturnsDispersionRequest The request used in the AggregatedReturnsDispersionMetric. * @param asAt The asAt datetime at which to retrieve the Returns. Defaults to the latest. * @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. */ getAggregatedReturnsDispersionMetrics(scope: string, code: string, aggregatedReturnsDispersionRequest: AggregatedReturnsDispersionRequest, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<CompositeDispersionResponse>; getAggregatedReturnsDispersionMetrics(scope: string, code: string, aggregatedReturnsDispersionRequest: AggregatedReturnsDispersionRequest, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<CompositeDispersionResponse>>; getAggregatedReturnsDispersionMetrics(scope: string, code: string, aggregatedReturnsDispersionRequest: AggregatedReturnsDispersionRequest, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<CompositeDispersionResponse>>; /** * [EARLY ACCESS] GetCompositeBreakdown: Get the Composite Breakdown on how the composite Returns are calculated * Calculate the Composite Returns and return this with the constituents which are included in this calculation * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param compositeBreakdownRequest The request used in the GetCompositeBreakdown. * @param fromEffectiveAt The start date from which to calculate the Returns. * @param toEffectiveAt The end date for which to calculate the Returns. * @param asAt The asAt datetime at which to retrieve the Returns. Defaults to the latest. * @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. */ getCompositeBreakdown(scope: string, code: string, compositeBreakdownRequest: CompositeBreakdownRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<CompositeBreakdownResponse>; getCompositeBreakdown(scope: string, code: string, compositeBreakdownRequest: CompositeBreakdownRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<CompositeBreakdownResponse>>; getCompositeBreakdown(scope: string, code: string, compositeBreakdownRequest: CompositeBreakdownRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<CompositeBreakdownResponse>>; /** * [EARLY ACCESS] GetInstrumentEventInstruction: Get Instrument Event Instruction * Get a particular instruction for a particular portfolio * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param instrumentEventInstructionId The id of the instruction to be retrieved. * @param portfolioEffectiveAt The effective date at which the portfolio will be resolved. Defaults to current time if not specified. * @param asAt The asAt datetime at which to retrieve the instruction. Defaults to return the latest version of the instruction 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. */ getInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<InstrumentEventInstruction>; getInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<InstrumentEventInstruction>>; getInstrumentEventInstruction(scope: string, code: string, instrumentEventInstructionId: string, portfolioEffectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<InstrumentEventInstruction>>; /** * GetPortfolio: Get portfolio * Retrieve the definition of a particular portfolio. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param effectiveAt The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified. * @param propertyKeys A list of property keys from the \&#39;Portfolio\&#39; domain to decorate onto the portfolio, or from any domain that supports relationships to decorate onto related entities. These must take the format {domain}/{scope}/{code}, for example \&#39;Portfolio/Manager/Id\&#39;. * @param relationshipDefinitionIds A list of relationship definitions that are used to decorate related entities onto the portfolio in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. * @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. */ getPortfolio(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, relationshipDefinitionIds?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Portfolio>; getPortfolio(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, relationshipDefinitionIds?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Portfolio>>; getPortfolio(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, relationshipDefinitionIds?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Portfolio>>; /** * [DEPRECATED] GetPortfolioAggregateReturns: Aggregate Returns (This is a deprecated endpoint). * Aggregate Returns which are on the specified portfolio. * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param returnScope The scope of the Returns. * @param returnCode The code of the Returns. * @param recipeIdScope The Recipe Scope for getting the fx rates * @param recipeIdCode The Recipe Code for getting the fx rates * @param fromEffectiveAt The start date from which to calculate the Returns. * @param toEffectiveAt The end date for which to calculate the Returns. * @param compositeMethod The method used to calculate the Portfolio performance: Equal/Asset. * @param period The type of the returns used to calculate the aggregation result: Daily/Monthly. * @param outputFrequency The type of calculated output: Daily/Weekly/Monthly/Quarterly/Half-Yearly/Yearly. * @param metrics Determines what type of returns should be calculated, see https://support.lusid.com/knowledgebase/article/KA-01675/en-us for a list of available metrics. * @param asAt The asAt datetime at which to retrieve the Returns. Defaults to the latest. * @param alternativeIncDate The date from which to consider the Returns on the Portfolio, if this is different from the date when Returns begin. Can be a date string or Portfolio property. * @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. */ getPortfolioAggregateReturns(scope: string, code: string, returnScope: string, returnCode: string, recipeIdScope?: string, recipeIdCode?: string, fromEffectiveAt?: string, toEffectiveAt?: string, compositeMethod?: string, period?: string, outputFrequency?: string, metrics?: Array<string>, asAt?: string, alternativeIncDate?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfAggregatedReturn>; getPortfolioAggregateReturns(scope: string, code: string, returnScope: string, returnCode: string, recipeIdScope?: string, recipeIdCode?: string, fromEffectiveAt?: string, toEffectiveAt?: string, compositeMethod?: string, period?: string, outputFrequency?: string, metrics?: Array<string>, asAt?: string, alternativeIncDate?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfAggregatedReturn>>; getPortfolioAggregateReturns(scope: string, code: string, returnScope: string, returnCode: string, recipeIdScope?: string, recipeIdCode?: string, fromEffectiveAt?: string, toEffectiveAt?: string, compositeMethod?: string, period?: string, outputFrequency?: string, metrics?: Array<string>, asAt?: string, alternativeIncDate?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfAggregatedReturn>>; /** * GetPortfolioAggregatedReturns: Aggregated Returns * Aggregate Returns which are on the specified portfolio. * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param aggregatedReturnsRequest The request used in the AggregatedReturns. * @param fromEffectiveAt The start date from which to calculate the Returns. * @param toEffectiveAt The end date for which to calculate the Returns. * @param asAt The asAt datetime at which to retrieve the Returns. Defaults to the latest. * @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. */ getPortfolioAggregatedReturns(scope: string, code: string, aggregatedReturnsRequest: AggregatedReturnsRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<AggregatedReturnsResponse>; getPortfolioAggregatedReturns(scope: string, code: string, aggregatedReturnsRequest: AggregatedReturnsRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<AggregatedReturnsResponse>>; getPortfolioAggregatedReturns(scope: string, code: string, aggregatedReturnsRequest: AggregatedReturnsRequest, fromEffectiveAt?: string, toEffectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<AggregatedReturnsResponse>>; /** * GetPortfolioCommands: Get portfolio commands * Get all the commands that modified a particular portfolio, including any input transactions. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param fromAsAt The lower bound asAt datetime (inclusive) from which to retrieve commands. There is no lower bound if this is not specified. * @param toAsAt The upper bound asAt datetime (inclusive) from which to retrieve commands. There is no upper bound if this is not specified. * @param filter Expression to filter the results. For example, to filter on the User ID, specify \&quot;userId.id eq \&#39;string\&#39;\&quot;. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param page The pagination token to use to continue listing commands; this value is returned from the previous call. * @param limit When paginating, limit the results to this number. Defaults to 500 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. */ getPortfolioCommands(scope: string, code: string, fromAsAt?: string, toAsAt?: string, filter?: string, page?: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfProcessedCommand>; getPortfolioCommands(scope: string, code: string, fromAsAt?: string, toAsAt?: string, filter?: string, page?: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfProcessedCommand>>; getPortfolioCommands(scope: string, code: string, fromAsAt?: string, toAsAt?: string, filter?: string, page?: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfProcessedCommand>>; /** * GetPortfolioMetadata: Get access metadata rules for a portfolio * Pass the scope and portfolio code parameters to retrieve the AccessMetadata associated with a portfolio * @param scope The scope of the Portfolio Access Metadata Rule to retrieve. * @param code Portfolio code * @param effectiveAt The effectiveAt datetime at which to retrieve the access metadata rule. * @param asAt The asAt datetime at which to retrieve the portfolio access metadata. * @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. */ getPortfolioMetadata(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<{ [key: string]: Array<AccessMetadataValue>; }>; getPortfolioMetadata(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<{ [key: string]: Array<AccessMetadataValue>; }>>; getPortfolioMetadata(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<{ [key: string]: Array<AccessMetadataValue>; }>>; /** * GetPortfolioProperties: Get portfolio properties * List all the properties of a particular portfolio. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param effectiveAt The effective datetime or cut label at which to list the portfolio\&#39;s properties. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the portfolio\&#39;s properties. Defaults to returning the latest version of each property 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. */ getPortfolioProperties(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<PortfolioProperties>; getPortfolioProperties(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<PortfolioProperties>>; getPortfolioProperties(scope: string, code: string, effectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<PortfolioProperties>>; /** * GetPortfolioPropertyTimeSeries: Get portfolio property time series * Show the complete time series (history) for a particular portfolio property. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param propertyKey The property key of the property whose history to show. This must be from the \&#39;Portfolio\&#39; domain and in the format {domain}/{scope}/{code}, for example \&#39;Portfolio/Manager/Id\&#39;. * @param portfolioEffectiveAt The effective datetime used to resolve the portfolio. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to show the history. Defaults to returning the current datetime if not supplied. * @param filter Expression to filter the results. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param page The pagination token to use to continue listing properties; this value is returned from the previous call. If a pagination token is provided, the filter, portfolioEffectiveAt, and asAt fields must not have changed since the original request. * @param limit When paginating, limit the results to this number. * @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. */ getPortfolioPropertyTimeSeries(scope: string, code: string, propertyKey: string, portfolioEffectiveAt?: string, asAt?: string, filter?: string, page?: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfPropertyInterval>; getPortfolioPropertyTimeSeries(scope: string, code: string, propertyKey: string, portfolioEffectiveAt?: string, asAt?: string, filter?: string, page?: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfPropertyInterval>>; getPortfolioPropertyTimeSeries(scope: string, code: string, propertyKey: string, portfolioEffectiveAt?: string, asAt?: string, filter?: string, page?: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfPropertyInterval>>; /** * [EXPERIMENTAL] GetPortfolioRelations: Get portfolio relations * Get relations for a particular portfolio. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param effectiveAt The effective datetime or cut label at which to retrieve relations. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve relations. Defaults to returning the latest LUSID AsAt time if not specified. * @param filter Expression to filter the relations. Provide a null or empty string for this field until further notice. * @param identifierTypes Identifier types (as property keys) used for referencing Persons or Legal Entities. These must be from the \&#39;Person\&#39; or \&#39;LegalEntity\&#39; domains and have the format {domain}/{scope}/{code}, for example \&#39;Person/CompanyDetails/Role\&#39;. Only identifier types provided will be used to look up relevant entities in relations. If not applicable, provide an empty array. * @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. */ getPortfolioRelations(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfRelation>; getPortfolioRelations(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfRelation>>; getPortfolioRelations(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfRelation>>; /** * GetPortfolioRelationships: Get portfolio relationships * Get relationships for a particular portfolio. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param effectiveAt The effective datetime or cut label at which to retrieve relationships. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve relationships. Defaults to returning the latest LUSID AsAt time if not specified. * @param filter Expression to filter the relationships. Provide a null or empty string for this field until further notice. * @param identifierTypes Identifier types (as property keys) used for referencing Persons or Legal Entities. These can be specified from the \&#39;Person\&#39; or \&#39;LegalEntity\&#39; domains and have the format {domain}/{scope}/{code}, for example \&#39;Person/CompanyDetails/Role\&#39;. An Empty array may be used to return all related Entities. * @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. */ getPortfolioRelationships(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfRelationship>; getPortfolioRelationships(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfRelationship>>; getPortfolioRelationships(scope: string, code: string, effectiveAt?: string, asAt?: string, filter?: string, identifierTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfRelationship>>; /** * GetPortfolioReturns: Get Returns * Get Returns which are on the specified portfolio. * @param scope The scope of the Portfolio. * @param code The code of the Portfolio. * @param returnScope The scope of the Returns. * @param returnCode The code of the Returns. * @param fromEffectiveAt The start date from which to get the Returns. * @param toEffectiveAt The end date from which to get the Returns. * @param period Show the Returns on a Daily or Monthly period. Defaults to Daily. * @param asAt The asAt datetime at which to retrieve the Returns. Defaults to the latest. * @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. */ getPortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt?: string, toEffectiveAt?: string, period?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfPerformanceReturn>; getPortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt?: string, toEffectiveAt?: string, period?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfPerformanceReturn>>; getPortfolioReturns(scope: string, code: string, returnScope: string, returnCode: string, fromEffectiveAt?: string, toEffectiveAt?: string, period?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfPerformanceReturn>>; /** * [EARLY ACCESS] GetPortfoliosAccessMetadataByKey: Get an entry identified by a metadataKey in the access metadata object * Get a specific portfolio access metadata rule by specifying the corresponding identifier parts No matching will be performed through this endpoint. To retrieve a rule, it is necessary to specify, exactly, the identifier of the rule * @param scope The scope of the Portfolio Access Metadata Rule to retrieve. * @param code The code of the portfolio * @param metadataKey Key of the metadata to retrieve * @param effectiveAt The effective date of the rule * @param asAt The asAt datetime at which to retrieve the portfolio access metadata. * @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. */ getPortfoliosAccessMetadataByKey(scope: string, code: string, metadataKey: string, effectiveAt?: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Array<AccessMetadataValue>>; getPortfoliosAccessMetadataByKey(scope: string, code: string, metadataKey: string, effectiveAt?: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Array<AccessMetadataValue>>>; getPortfoliosAccessMetadataByKey(scope: string, code: string, metadataKey: string, effectiveAt?: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Array<AccessMetadataValue>>>; /** * [EARLY ACCESS] ListInstrumentEventInstructions: List Instrument Event Instructions * Lists all instructions for a particular portfolio * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param portfolioEffectiveAt The effective date at which the portfolio will be resolved. Defaults to current time if not specified. * @param asAt The asAt datetime at which to retrieve the instructions. Defaults to latest if not specified. * @param page The pagination token to use to continue listing instructions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. * @param limit When paginating, limit the results to this number. Defaults to 100 if not specified. * @param filter Expression to filter the results. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param sortBy A list of field names to sort by, each suffixed by \&quot; ASC\&quot; or \&quot; DESC\&quot;. * @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. */ listInstrumentEventInstructions(scope: string, code: string, portfolioEffectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<PagedResourceListOfInstrumentEventInstruction>; listInstrumentEventInstructions(scope: string, code: string, portfolioEffectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<PagedResourceListOfInstrumentEventInstruction>>; listInstrumentEventInstructions(scope: string, code: string, portfolioEffectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<PagedResourceListOfInstrumentEventInstruction>>; /** * [EARLY ACCESS] ListPortfolioProperties: Get portfolio properties * List all the properties of a particular portfolio. * @param scope The scope of the portfolio. * @param code The code of the portfolio. Together with the scope this uniquely identifies the portfolio. * @param effectiveAt The effective datetime or cut label at which to list the portfolio\&#39;s properties. Defaults to the current LUSID s