UNPKG

@finbourne/lusid-sdk-angular16

Version:

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

468 lines (467 loc) 38.9 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AcceptEstimateValuationPointResponse } from '../model/acceptEstimateValuationPointResponse'; import { DeletedEntityResponse } from '../model/deletedEntityResponse'; import { DiaryEntry } from '../model/diaryEntry'; import { Fee } from '../model/fee'; import { FeeProperties } from '../model/feeProperties'; import { FeeRequest } from '../model/feeRequest'; import { Fund } from '../model/fund'; import { FundProperties } from '../model/fundProperties'; import { FundRequest } from '../model/fundRequest'; import { Operation } from '../model/operation'; import { PagedResourceListOfFee } from '../model/pagedResourceListOfFee'; import { PagedResourceListOfFund } from '../model/pagedResourceListOfFund'; import { PagedResourceListOfValuationPointOverview } from '../model/pagedResourceListOfValuationPointOverview'; import { Property } from '../model/property'; import { SetShareClassInstrumentsRequest } from '../model/setShareClassInstrumentsRequest'; import { UpsertValuationPointRequest } from '../model/upsertValuationPointRequest'; import { ValuationPointDataQueryParameters } from '../model/valuationPointDataQueryParameters'; import { ValuationPointDataRequest } from '../model/valuationPointDataRequest'; import { ValuationPointDataResponse } from '../model/valuationPointDataResponse'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class FundsService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * [EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. * Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the Valuation Point was last run, both Valuation Points will be returned and status will be marked as \&#39;Candidate\&#39;, otherwise it will be marked as \&#39;Final\&#39;. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param valuationPointDataRequest The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state. * @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. */ acceptEstimateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<AcceptEstimateValuationPointResponse>; acceptEstimateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<AcceptEstimateValuationPointResponse>>; acceptEstimateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<AcceptEstimateValuationPointResponse>>; /** * [EXPERIMENTAL] CreateFee: Create a Fee. * Create the given Fee. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param feeRequest The Fee to create. * @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. */ createFee(scope: string, code: string, feeRequest: FeeRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fee>; createFee(scope: string, code: string, feeRequest: FeeRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fee>>; createFee(scope: string, code: string, feeRequest: FeeRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fee>>; /** * [EXPERIMENTAL] CreateFund: Create a Fund. * Create the given Fund. * @param scope The scope of the Fund. * @param fundRequest The definition of the Fund. * @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. */ createFund(scope: string, fundRequest: FundRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fund>; createFund(scope: string, fundRequest: FundRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fund>>; createFund(scope: string, fundRequest: FundRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fund>>; /** * [EXPERIMENTAL] DeleteFee: Delete a Fee. * Delete the given Fee. * @param scope The scope of the Fund * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param feeCode The code of the Fee to be deleted. * @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. */ deleteFee(scope: string, code: string, feeCode: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deleteFee(scope: string, code: string, feeCode: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deleteFee(scope: string, code: string, feeCode: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * [EXPERIMENTAL] DeleteFund: Delete a Fund. * Delete the given Fund. * @param scope The scope of the Fund to be deleted. * @param code The code of the Fund to be deleted. Together with the scope this uniquely identifies the Fund. * @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. */ deleteFund(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deleteFund(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deleteFund(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * [EXPERIMENTAL] DeleteValuationPoint: Delete a Valuation Point. * Deletes the given Valuation Point. * @param scope The scope of the Fund for the valuation point to be deleted. * @param code The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund. * @param diaryEntryCode The diary entry code for the valuation Point to be deleted. * @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. */ deleteValuationPoint(scope: string, code: string, diaryEntryCode: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DeletedEntityResponse>; deleteValuationPoint(scope: string, code: string, diaryEntryCode: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DeletedEntityResponse>>; deleteValuationPoint(scope: string, code: string, diaryEntryCode: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DeletedEntityResponse>>; /** * [EXPERIMENTAL] FinaliseCandidateValuationPoint: Finalise Candidate. * Moves a \&#39;Candidate\&#39; status Valuation Point to status \&#39;Final\&#39;. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param valuationPointDataRequest The valuationPointDataRequest which contains the diary entry code to mark as final. * @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. */ finaliseCandidateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ValuationPointDataResponse>; finaliseCandidateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ValuationPointDataResponse>>; finaliseCandidateValuationPoint(scope: string, code: string, valuationPointDataRequest: ValuationPointDataRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ValuationPointDataResponse>>; /** * [EXPERIMENTAL] GetFee: Get a Fee for a specified Fund. * Retrieve a fee for a specified Fund * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param feeCode The code of the Fee. * @param effectiveAt The effective datetime or cut label at which to retrieve the Fee properties. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve the Fee. Defaults to returning the latest version of the Fee if not specified. * @param propertyKeys A list of property keys from the \&#39;Fee\&#39; domain to decorate onto the Fee. These must take the format {domain}/{scope}/{code}, for example \&#39;Fee/Account/Id\&#39;. If no properties are specified, then no properties will be returned. * @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. */ getFee(scope: string, code: string, feeCode: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fee>; getFee(scope: string, code: string, feeCode: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fee>>; getFee(scope: string, code: string, feeCode: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fee>>; /** * [EXPERIMENTAL] GetFund: Get a Fund. * Retrieve the definition of a particular Fund. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param effectiveAt The effective datetime or cut label at which to retrieve the Fund properties. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified. * @param propertyKeys A list of property keys from the \&#39;Fund\&#39; domain to decorate onto the Fund. These must take the format {domain}/{scope}/{code}, for example \&#39;Fund/Manager/Id\&#39;. If no properties are specified, then no properties will be returned. * @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. */ getFund(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fund>; getFund(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fund>>; getFund(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fund>>; /** * [EXPERIMENTAL] GetValuationPointData: Get Valuation Point Data for a Fund. * Retrieves the Valuation Point data for a date or specified Diary Entry Id. The endpoint will internally extract all \&#39;Assets\&#39; and \&#39;Liabilities\&#39; from the related ABOR\&#39;s Trial balance to produce a GAV. Start date will be assumed from the last \&#39;official\&#39; DiaryEntry and EndDate will be as provided. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param valuationPointDataQueryParameters The arguments to use for querying the Valuation Point data * @param asAt The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition 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. */ getValuationPointData(scope: string, code: string, valuationPointDataQueryParameters: ValuationPointDataQueryParameters, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ValuationPointDataResponse>; getValuationPointData(scope: string, code: string, valuationPointDataQueryParameters: ValuationPointDataQueryParameters, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ValuationPointDataResponse>>; getValuationPointData(scope: string, code: string, valuationPointDataQueryParameters: ValuationPointDataQueryParameters, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ValuationPointDataResponse>>; /** * [EXPERIMENTAL] ListFees: List Fees for a specified Fund. * List all the Fees matching a particular criteria. * @param scope The scope of the Fund. * @param code The code of the Fund. * @param effectiveAt The effective datetime or cut label at which to list the TimeVariant properties for the Fees. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the Fees. Defaults to returning the latest version of each Fee if not specified. * @param page The pagination token to use to continue listing fees; 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 example, to filter on the treatment, specify \&quot;treatment eq \&#39;Monthly\&#39;\&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param sortBy A list of field names or properties to sort by, each suffixed by \&quot; ASC\&quot; or \&quot; DESC\&quot; * @param propertyKeys A list of property keys from the \&#39;Fee\&#39; domain to decorate onto each Fee. These must take the format {domain}/{scope}/{code}, for example \&#39;Fee/Account/Id\&#39;. * @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. */ listFees(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<PagedResourceListOfFee>; listFees(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<PagedResourceListOfFee>>; listFees(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<PagedResourceListOfFee>>; /** * [EXPERIMENTAL] ListFunds: List Funds. * List all the Funds matching particular criteria. * @param effectiveAt The effective datetime or cut label at which to list the TimeVariant properties for the Funds. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the Funds. Defaults to returning the latest version of each Fund if not specified. * @param page The pagination token to use to continue listing Funds; 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 example, to filter on the Fund type, specify \&quot;id.Code eq \&#39;Fund1\&#39;\&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param sortBy A list of field names or properties to sort by, each suffixed by \&quot; ASC\&quot; or \&quot; DESC\&quot; * @param propertyKeys A list of property keys from the \&#39;Fund\&#39; domain to decorate onto each Fund. These must take the format {domain}/{scope}/{code}, for example \&#39;Fund/Manager/Id\&#39;. * @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. */ listFunds(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<PagedResourceListOfFund>; listFunds(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<PagedResourceListOfFund>>; listFunds(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array<string>, propertyKeys?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<PagedResourceListOfFund>>; /** * [EXPERIMENTAL] ListValuationPointOverview: List Valuation Points Overview for a given Fund. * List all the Valuation Points that match the given criteria for a given Fund. * @param scope The scope of the Fund. * @param code The code of the Fund. * @param effectiveAt The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified. * @param page The pagination token to use to continue listing ValuationPoints; 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 by. For example, to filter on the NAV, specify \&quot;NAV gt 300\&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param propertyKeys A list of property keys from the \&#39;DiaryEntry\&#39; domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example \&#39;DiaryEntry/ValuationPoint/Id\&#39;. * @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. */ listValuationPointOverview(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<PagedResourceListOfValuationPointOverview>; listValuationPointOverview(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<PagedResourceListOfValuationPointOverview>>; listValuationPointOverview(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<PagedResourceListOfValuationPointOverview>>; /** * [EXPERIMENTAL] PatchFee: Patch Fee. * Create or update certain fields for a particular Fee. The behaviour is defined by the JSON Patch specification. Currently supported fields are: EndDate. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param feeCode The code of the Fee. * @param operation The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. * @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. */ patchFee(scope: string, code: string, feeCode: string, operation: Array<Operation>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fee>; patchFee(scope: string, code: string, feeCode: string, operation: Array<Operation>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fee>>; patchFee(scope: string, code: string, feeCode: string, operation: Array<Operation>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fee>>; /** * [EXPERIMENTAL] PatchFund: Patch a Fund. * Update fields on a Fund. The behaviour is defined by the JSON Patch specification. Currently supported fields are: DisplayName, Description, FundConfigurationId, AborId, ShareClassInstrumentScopes, ShareClassInstruments, InceptionDate, DecimalPlaces, YearEndDate. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param operation The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. * @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. */ patchFund(scope: string, code: string, operation: Array<Operation>, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fund>; patchFund(scope: string, code: string, operation: Array<Operation>, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fund>>; patchFund(scope: string, code: string, operation: Array<Operation>, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fund>>; /** * [EXPERIMENTAL] SetShareClassInstruments: Set the ShareClass Instruments on a fund. * Update the ShareClass Instruments on an existing fund with the set of instruments provided. * @param scope The scope of the Fund. * @param code The code of the Fund. * @param setShareClassInstrumentsRequest The scopes and instrument identifiers for the instruments to be set. * @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. */ setShareClassInstruments(scope: string, code: string, setShareClassInstrumentsRequest: SetShareClassInstrumentsRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<Fund>; setShareClassInstruments(scope: string, code: string, setShareClassInstrumentsRequest: SetShareClassInstrumentsRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<Fund>>; setShareClassInstruments(scope: string, code: string, setShareClassInstrumentsRequest: SetShareClassInstrumentsRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<Fund>>; /** * [EXPERIMENTAL] UpsertDiaryEntryTypeValuationPoint: Upsert Valuation Point. * Update or insert the estimate Valuation Point. If the Valuation Point does not exist, this method will create it in estimate state. If the Valuation Point already exists and is in estimate state, the Valuation Point will be updated with the newly specified information in this request. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param upsertValuationPointRequest The Valuation Point Estimate definition to Upsert * @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. */ upsertDiaryEntryTypeValuationPoint(scope: string, code: string, upsertValuationPointRequest: UpsertValuationPointRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<DiaryEntry>; upsertDiaryEntryTypeValuationPoint(scope: string, code: string, upsertValuationPointRequest: UpsertValuationPointRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<DiaryEntry>>; upsertDiaryEntryTypeValuationPoint(scope: string, code: string, upsertValuationPointRequest: UpsertValuationPointRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<DiaryEntry>>; /** * [EXPERIMENTAL] UpsertFeeProperties: Upsert Fee properties. * Update or insert one or more properties onto a single Fee. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain \&#39;Fee\&#39;. Upserting a property that exists for an Fee, with a null value, will delete the instance of the property for that group. Properties have an &lt;i&gt;effectiveFrom&lt;/i&gt; datetime for which the property is valid, and an &lt;i&gt;effectiveUntil&lt;/i&gt; datetime until which the property is valid. Not supplying an &lt;i&gt;effectiveUntil&lt;/i&gt; datetime results in the property being valid indefinitely, or until the next &lt;i&gt;effectiveFrom&lt;/i&gt; datetime of the property. * @param scope The scope of the Fund. * @param code The code of the Fund. Together with the scope this uniquely identifies the Fund. * @param feeCode The code of the Fee to update or insert the properties onto. * @param requestBody The properties to be updated or inserted onto the Fee. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. \&quot;Fee/Manager/Id\&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. */ upsertFeeProperties(scope: string, code: string, feeCode: string, requestBody?: { [key: string]: Property; }, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<FeeProperties>; upsertFeeProperties(scope: string, code: string, feeCode: string, requestBody?: { [key: string]: Property; }, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<FeeProperties>>; upsertFeeProperties(scope: string, code: string, feeCode: string, requestBody?: { [key: string]: Property; }, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<FeeProperties>>; /** * [EXPERIMENTAL] UpsertFundProperties: Upsert Fund properties. * Update or insert one or more properties onto a single Fund. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain \&#39;Fund\&#39;. Upserting a property that exists for an Fund, with a null value, will delete the instance of the property for that group. Properties have an &lt;i&gt;effectiveFrom&lt;/i&gt; datetime for which the property is valid, and an &lt;i&gt;effectiveUntil&lt;/i&gt; datetime until which the property is valid. Not supplying an &lt;i&gt;effectiveUntil&lt;/i&gt; datetime results in the property being valid indefinitely, or until the next &lt;i&gt;effectiveFrom&lt;/i&gt; datetime of the property. * @param scope The scope of the Fund to update or insert the properties onto. * @param code The code of the Fund to update or insert the properties onto. Together with the scope this uniquely identifies the Fund. * @param requestBody The properties to be updated or inserted onto the Fund. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. \&quot;Fund/Manager/Id\&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. */ upsertFundProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<FundProperties>; upsertFundProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<FundProperties>>; upsertFundProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<FundProperties>>; static ɵfac: i0.ɵɵFactoryDeclaration<FundsService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<FundsService>; }