import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Abor } from '../model/models'; import { AborProperties } from '../model/models'; import { AborRequest } from '../model/models'; import { DeletedEntityResponse } from '../model/models'; import { DiaryEntry } from '../model/models'; import { DiaryEntryRequest } from '../model/models'; import { JELinesQueryParameters } from '../model/models'; import { JournalEntryLinesQueryParameters } from '../model/models'; import { PagedResourceListOfAbor } from '../model/models'; import { PagedResourceListOfDiaryEntry } from '../model/models'; import { Property } from '../model/models'; import { TrialBalanceQueryParameters } from '../model/models'; import { VersionedResourceListOfJournalEntryLine } from '../model/models'; import { VersionedResourceListOfTrialBalance } from '../model/models'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class AborService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * [EXPERIMENTAL] AddDiaryEntry: Add a diary entry to the specified Abor. * Adds a new diary entry to the specified Abor * @param scope The scope of the Abor. * @param code The code of the Abor. * @param diaryEntryCode Diary entry code * @param diaryEntryRequest The diary entry to add. * @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. */ addDiaryEntry(scope: string, code: string, diaryEntryCode: string, diaryEntryRequest: DiaryEntryRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; addDiaryEntry(scope: string, code: string, diaryEntryCode: string, diaryEntryRequest: DiaryEntryRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; addDiaryEntry(scope: string, code: string, diaryEntryCode: string, diaryEntryRequest: DiaryEntryRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] CreateAbor: Create an Abor. * Create the given Abor. * @param scope The scope of the Abor. * @param aborRequest The definition of the Abor. * @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. */ createAbor(scope: string, aborRequest: AborRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; createAbor(scope: string, aborRequest: AborRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; createAbor(scope: string, aborRequest: AborRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] DeleteAbor: Delete an Abor. * Delete the given Abor. * @param scope The scope of the Abor to be deleted. * @param code The code of the Abor to be deleted. Together with the scope this uniquely identifies the Abor. * @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. */ deleteAbor(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; deleteAbor(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; deleteAbor(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] GetAbor: Get Abor. * Retrieve the definition of a particular Abor. * @param scope The scope of the Abor. * @param code The code of the Abor. Together with the scope this uniquely identifies the Abor. * @param effectiveAt The effective datetime or cut label at which to retrieve the Abor properties. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to retrieve the Abor definition. Defaults to returning the latest version of the Abor definition if not specified. * @param propertyKeys A list of property keys from the \'Abor\' domain to decorate onto the Abor. These must take the format {domain}/{scope}/{code}, for example \'Abor/Manager/Id\'. If not provided will return all the entitled properties for that Abor. * @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. */ getAbor(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getAbor(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getAbor(scope: string, code: string, effectiveAt?: string, asAt?: string, propertyKeys?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [DEPRECATED] GetJELines: DEPRECATED: please use GetJournalEntryLines instead. Get the JELines for the given Abor. * DEPRECATED: please use GetJournalEntryLines instead. Gets the JELines for the given Abor The JE Lines have been generated from transactions and translated via posting rules * @param scope The scope of the Abor. * @param code The code of the Abor. Together with the scope is creating the unique identifier for the given Abor. * @param jELinesQueryParameters The query parameters used in running the generation of the JELines. * @param asAt The asAt datetime at which to retrieve JELines. Defaults to returning the latest version of each transaction if not specified. * @param limit When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. * @param page The pagination token to use to continue listing JELines from a previous call to GetJELines. * @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. */ getJELines(scope: string, code: string, jELinesQueryParameters: JELinesQueryParameters, asAt?: string, limit?: number, page?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getJELines(scope: string, code: string, jELinesQueryParameters: JELinesQueryParameters, asAt?: string, limit?: number, page?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getJELines(scope: string, code: string, jELinesQueryParameters: JELinesQueryParameters, asAt?: string, limit?: number, page?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] GetJournalEntryLines: Get the Journal Entry lines for the given Abor. * Gets the Journal Entry lines for the given Abor The Journal Entry lines have been generated from transactions and translated via posting rules * @param scope The scope of the Abor. * @param code The code of the Abor. Together with the scope is creating the unique identifier for the given Abor. * @param journalEntryLinesQueryParameters The query parameters used in running the generation of the Journal Entry lines. * @param asAt The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified. * @param filter \"Expression to filter the result set.\" * @param limit When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. * @param page The pagination token to use to continue listing Journal Entry lines from a previous call to GetJournalEntryLines. * @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. */ getJournalEntryLines(scope: string, code: string, journalEntryLinesQueryParameters: JournalEntryLinesQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getJournalEntryLines(scope: string, code: string, journalEntryLinesQueryParameters: JournalEntryLinesQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getJournalEntryLines(scope: string, code: string, journalEntryLinesQueryParameters: JournalEntryLinesQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] GetTrialBalance: Get the Trial balance for the given Abor. * Gets the Trial balance for the given Abor The Trial balance has been generated from transactions, translated via posting rules and aggregated based on a General Ledger Profile (where specified) * @param scope The scope of the Abor. * @param code The code of the Abor. Together with the scope is the unique identifier for the given Abor. * @param trialBalanceQueryParameters The query parameters used in running the generation of the Trial Balance. * @param asAt The asAt datetime at which to retrieve trial balance. Defaults to returning the latest version of each transaction if not specified. * @param filter \"Expression to filter the result set.\" * @param limit When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. * @param page The pagination token to use to continue listing Trial balance from a previous call to Trial balance. * @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. */ getTrialBalance(scope: string, code: string, trialBalanceQueryParameters: TrialBalanceQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getTrialBalance(scope: string, code: string, trialBalanceQueryParameters: TrialBalanceQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getTrialBalance(scope: string, code: string, trialBalanceQueryParameters: TrialBalanceQueryParameters, asAt?: string, filter?: string, limit?: number, page?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] ListAbors: List Abors. * List all the Abors matching particular criteria. * @param effectiveAt The effective datetime or cut label at which to list the TimeVariant properties for the Abor. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the Abor. Defaults to returning the latest version of each Abor if not specified. * @param page The pagination token to use to continue listing Abor; 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 Abor type, specify \"id.Code eq \'Abor1\'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param propertyKeys A list of property keys from the \'Abor\' domain to decorate onto each Abor. These must take the format {domain}/{scope}/{code}, for example \'Abor/Manager/Id\'. * @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. */ listAbors(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; listAbors(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; listAbors(effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] ListDiaryEntries: List diary entries. * List all the diary entries matching particular criteria. * @param scope The scope of the Abor. * @param code The code of the Abor. * @param effectiveAt The effective datetime or cut label at which to list the TimeVariant properties for the Diary Entries. Defaults to the current LUSID system datetime if not specified. * @param asAt The asAt datetime at which to list the DiaryEntry. Defaults to returning the latest version of each DiaryEntry if not specified. * @param page The pagination token to use to continue listing diary entries; 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 DiaryEntry type, specify \"type eq \'PeriodBoundary\'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. * @param propertyKeys A list of property keys from the \'DiaryEntry\' domain to decorate onto each DiaryEntry. These must take the format {domain}/{scope}/{code}, for example \'DiaryEntry/Report/Id\'. * @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. */ listDiaryEntries(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; listDiaryEntries(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; listDiaryEntries(scope: string, code: string, effectiveAt?: string, asAt?: string, page?: string, limit?: number, filter?: string, propertyKeys?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EXPERIMENTAL] UpsertAborProperties: Upsert Abor properties * Update or insert one or more properties onto a single Abor. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain \'Abor\'. Upserting a property that exists for an Abor, with a null value, will delete the instance of the property for that group. Properties have an <i>effectiveFrom</i> datetime for which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. * @param scope The scope of the Abor to update or insert the properties onto. * @param code The code of the Abor to update or insert the properties onto. Together with the scope this uniquely identifies the Abor. * @param requestBody The properties to be updated or inserted onto the Abor. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. \"Abor/Manager/Id\". * @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. */ upsertAborProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; upsertAborProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; upsertAborProperties(scope: string, code: string, requestBody?: { [key: string]: Property; }, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }