@finbourne/lusid-sdk-angular18
Version:
An Angular (18) SDK for secure access to the LUSID® by FINBOURNE web API
458 lines (457 loc) • 29.4 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateReconciliationRequest } from '../model/createReconciliationRequest';
import { DeletedEntityResponse } from '../model/deletedEntityResponse';
import { InlineValuationsReconciliationRequest } from '../model/inlineValuationsReconciliationRequest';
import { ListAggregationReconciliation } from '../model/listAggregationReconciliation';
import { Mapping } from '../model/mapping';
import { PagedResourceListOfReconciliation } from '../model/pagedResourceListOfReconciliation';
import { PortfoliosReconciliationRequest } from '../model/portfoliosReconciliationRequest';
import { Reconciliation } from '../model/reconciliation';
import { ReconciliationRequest } from '../model/reconciliationRequest';
import { ReconciliationResponse } from '../model/reconciliationResponse';
import { ResourceListOfMapping } from '../model/resourceListOfMapping';
import { ResourceListOfReconciliationBreak } from '../model/resourceListOfReconciliationBreak';
import { TransactionReconciliationRequest } from '../model/transactionReconciliationRequest';
import { TransactionReconciliationRequestV2 } from '../model/transactionReconciliationRequestV2';
import { TransactionsReconciliationsResponse } from '../model/transactionsReconciliationsResponse';
import { UpdateReconciliationRequest } from '../model/updateReconciliationRequest';
import { ValuationsReconciliationRequest } from '../model/valuationsReconciliationRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export interface CreateScheduledReconciliationRequestParams {
/** The scope of the reconciliation */
scope: string;
/** The definition of the reconciliation */
createReconciliationRequest?: CreateReconciliationRequest;
}
export interface DeleteReconciliationRequestParams {
/** The scope of the scheduled reconciliation */
scope: string;
/** The code of the scheduled reconciliation */
code: string;
}
export interface DeleteReconciliationMappingRequestParams {
/** The scope of the mapping. */
scope: string;
/** The code fof the mapping. */
code: string;
}
export interface GetReconciliationRequestParams {
/** The scope of the scheduled reconciliation */
scope: string;
/** The code of the scheduled reconciliation */
code: string;
/** The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified. */
effectiveAt?: string;
/** The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified. */
asAt?: string;
/** A list of property keys from the \'Reconciliation\' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example \'Reconciliation/Broker/Id\'. */
propertyKeys?: Array<string>;
}
export interface GetReconciliationMappingRequestParams {
/** The scope of the mapping. */
scope: string;
/** The code of the mapping. */
code: string;
}
export interface ListReconciliationMappingsRequestParams {
/** Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided. */
reconciliationType?: string;
}
export interface ListReconciliationsRequestParams {
/** The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified. */
effectiveAt?: string;
/** The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified. */
asAt?: string;
/** The pagination token to use to continue listing reconciliations; 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. */
page?: string;
/** When paginating, limit the results to this number. Defaults to 100 if not specified. */
limit?: number;
/** Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq \'001\'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
filter?: string;
/** A list of property keys from the \'Reconciliation\' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example \'Reconciliation/Broker/Id\'. */
propertyKeys?: Array<string>;
}
export interface ReconcileGenericRequestParams {
/** The specifications of the inputs to the reconciliation */
reconciliationRequest?: ReconciliationRequest;
}
export interface ReconcileHoldingsRequestParams {
/** Optional. Order the results by these fields. Use use the \'-\' sign to denote descending order e.g. -MyFieldName */
sortBy?: Array<string>;
/** Optional. When paginating, limit the number of returned results to this many. */
limit?: number;
/** Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq \'string\'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. */
filter?: string;
/** The specifications of the inputs to the reconciliation */
portfoliosReconciliationRequest?: PortfoliosReconciliationRequest;
}
export interface ReconcileInlineRequestParams {
/** The specifications of the inputs to the reconciliation */
inlineValuationsReconciliationRequest?: InlineValuationsReconciliationRequest;
}
export interface ReconcileTransactionsRequestParams {
transactionReconciliationRequest?: TransactionReconciliationRequest;
}
export interface ReconcileTransactionsV2RequestParams {
transactionReconciliationRequestV2?: TransactionReconciliationRequestV2;
}
export interface ReconcileValuationRequestParams {
/** The specifications of the inputs to the reconciliation */
valuationsReconciliationRequest?: ValuationsReconciliationRequest;
}
export interface UpdateReconciliationRequestParams {
/** The scope of the reconciliation to be updated */
scope: string;
/** The code of the reconciliation to be updated */
code: string;
/** The updated definition of the reconciliation */
updateReconciliationRequest?: UpdateReconciliationRequest;
}
export interface UpsertReconciliationMappingRequestParams {
/** The mapping to be created / updated. */
mapping?: Mapping;
}
export declare class ReconciliationsService {
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] CreateScheduledReconciliation: Create a scheduled reconciliation
* Create a scheduled reconciliation for the given request
* @param requestParameters
* @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.
*/
createScheduledReconciliation(requestParameters?: CreateScheduledReconciliationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Reconciliation>;
createScheduledReconciliation(requestParameters?: CreateScheduledReconciliationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Reconciliation>>;
createScheduledReconciliation(requestParameters?: CreateScheduledReconciliationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Reconciliation>>;
/**
* [EXPERIMENTAL] DeleteReconciliation: Delete scheduled reconciliation
* Delete the given scheduled reconciliation
* @param requestParameters
* @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.
*/
deleteReconciliation(requestParameters?: DeleteReconciliationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<DeletedEntityResponse>;
deleteReconciliation(requestParameters?: DeleteReconciliationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<DeletedEntityResponse>>;
deleteReconciliation(requestParameters?: DeleteReconciliationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<DeletedEntityResponse>>;
/**
* [EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping
* Deletes the mapping identified by the scope and code
* @param requestParameters
* @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.
*/
deleteReconciliationMapping(requestParameters?: DeleteReconciliationMappingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<string>;
deleteReconciliationMapping(requestParameters?: DeleteReconciliationMappingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<string>>;
deleteReconciliationMapping(requestParameters?: DeleteReconciliationMappingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<string>>;
/**
* [EXPERIMENTAL] GetReconciliation: Get scheduled reconciliation
* Get the requested scheduled reconciliation
* @param requestParameters
* @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.
*/
getReconciliation(requestParameters?: GetReconciliationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Reconciliation>;
getReconciliation(requestParameters?: GetReconciliationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Reconciliation>>;
getReconciliation(requestParameters?: GetReconciliationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Reconciliation>>;
/**
* [EARLY ACCESS] GetReconciliationMapping: Get a mapping
* Gets a mapping identified by the given scope and code
* @param requestParameters
* @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.
*/
getReconciliationMapping(requestParameters?: GetReconciliationMappingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Mapping>;
getReconciliationMapping(requestParameters?: GetReconciliationMappingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Mapping>>;
getReconciliationMapping(requestParameters?: GetReconciliationMappingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Mapping>>;
/**
* [EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings
* Lists all mappings this user is entitled to see
* @param requestParameters
* @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.
*/
listReconciliationMappings(requestParameters?: ListReconciliationMappingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ResourceListOfMapping>;
listReconciliationMappings(requestParameters?: ListReconciliationMappingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ResourceListOfMapping>>;
listReconciliationMappings(requestParameters?: ListReconciliationMappingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ResourceListOfMapping>>;
/**
* [EXPERIMENTAL] ListReconciliations: List scheduled reconciliations
* List all the scheduled reconciliations matching particular criteria
* @param requestParameters
* @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.
*/
listReconciliations(requestParameters?: ListReconciliationsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<PagedResourceListOfReconciliation>;
listReconciliations(requestParameters?: ListReconciliationsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<PagedResourceListOfReconciliation>>;
listReconciliations(requestParameters?: ListReconciliationsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<PagedResourceListOfReconciliation>>;
/**
* ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are \'empty\' or null or zero.
* Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through.
* @param requestParameters
* @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.
*/
reconcileGeneric(requestParameters?: ReconcileGenericRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ReconciliationResponse>;
reconcileGeneric(requestParameters?: ReconcileGenericRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ReconciliationResponse>>;
reconcileGeneric(requestParameters?: ReconcileGenericRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ReconciliationResponse>>;
/**
* [EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings
* Reconcile the holdings of two portfolios.
* @param requestParameters
* @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.
*/
reconcileHoldings(requestParameters?: ReconcileHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ResourceListOfReconciliationBreak>;
reconcileHoldings(requestParameters?: ReconcileHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ResourceListOfReconciliationBreak>>;
reconcileHoldings(requestParameters?: ReconcileHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ResourceListOfReconciliationBreak>>;
/**
* ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes.
* Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation.
* @param requestParameters
* @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.
*/
reconcileInline(requestParameters?: ReconcileInlineRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ListAggregationReconciliation>;
reconcileInline(requestParameters?: ReconcileInlineRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ListAggregationReconciliation>>;
reconcileInline(requestParameters?: ReconcileInlineRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ListAggregationReconciliation>>;
/**
* [EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation.
* Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping.
* @param requestParameters
* @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.
*/
reconcileTransactions(requestParameters?: ReconcileTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<TransactionsReconciliationsResponse>;
reconcileTransactions(requestParameters?: ReconcileTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<TransactionsReconciliationsResponse>>;
reconcileTransactions(requestParameters?: ReconcileTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<TransactionsReconciliationsResponse>>;
/**
* [EXPERIMENTAL] ReconcileTransactionsV2: Perform a Transactions Reconciliation.
* Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping.
* @param requestParameters
* @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.
*/
reconcileTransactionsV2(requestParameters?: ReconcileTransactionsV2RequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ReconciliationResponse>;
reconcileTransactionsV2(requestParameters?: ReconcileTransactionsV2RequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ReconciliationResponse>>;
reconcileTransactionsV2(requestParameters?: ReconcileTransactionsV2RequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ReconciliationResponse>>;
/**
* ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes.
* Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation.
* @param requestParameters
* @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.
*/
reconcileValuation(requestParameters?: ReconcileValuationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ListAggregationReconciliation>;
reconcileValuation(requestParameters?: ReconcileValuationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ListAggregationReconciliation>>;
reconcileValuation(requestParameters?: ReconcileValuationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ListAggregationReconciliation>>;
/**
* [EXPERIMENTAL] UpdateReconciliation: Update scheduled reconciliation
* Update a given scheduled reconciliation
* @param requestParameters
* @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.
*/
updateReconciliation(requestParameters?: UpdateReconciliationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Reconciliation>;
updateReconciliation(requestParameters?: UpdateReconciliationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Reconciliation>>;
updateReconciliation(requestParameters?: UpdateReconciliationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Reconciliation>>;
/**
* [EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping
* If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping
* @param requestParameters
* @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.
*/
upsertReconciliationMapping(requestParameters?: UpsertReconciliationMappingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Mapping>;
upsertReconciliationMapping(requestParameters?: UpsertReconciliationMappingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Mapping>>;
upsertReconciliationMapping(requestParameters?: UpsertReconciliationMappingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Mapping>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ReconciliationsService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ReconciliationsService>;
}