import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ComplianceRuleResponse } from '../model/models'; import { ComplianceRunInfoV2 } from '../model/models'; import { ComplianceRunSummary } from '../model/models'; import { ComplianceTemplate } from '../model/models'; import { DecoratedComplianceRunSummary } from '../model/models'; import { DeletedEntityResponse } from '../model/models'; import { PagedResourceListOfComplianceRuleResponse } from '../model/models'; import { PagedResourceListOfComplianceRunInfoV2 } from '../model/models'; import { PagedResourceListOfComplianceTemplate } from '../model/models'; import { UpsertComplianceRuleRequest } from '../model/models'; import { UpsertComplianceRunSummaryRequest } from '../model/models'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ComplianceService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * [EARLY ACCESS] DeleteComplianceRule: Delete compliance rule. * Use this endpoint to delete a compliance rule. The rule will be recoverable for asat times earlier than the delete time, but will otherwise appear to have never existed. * @param scope The compliance rule\'s scope. * @param code The compliance rule\'s code. * @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. */ deleteComplianceRule(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; deleteComplianceRule(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; deleteComplianceRule(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] GetComplianceRule: Get compliance rule. * Use this endpoint to retrieve a single compliance rule. * @param scope The compliance rule\'s scope. * @param code The compliance rule\'s code. * @param asAt Optional. Asat time for query. * @param propertyKeys A list of property keys from the \'Compliance\' domain to decorate onto the rule. These must take the format {domain}/{scope}/{code}, for example \'Compliance/live/UCITS\'. * @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. */ getComplianceRule(scope: string, code: string, asAt?: string, propertyKeys?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getComplianceRule(scope: string, code: string, asAt?: string, propertyKeys?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getComplianceRule(scope: string, code: string, asAt?: string, propertyKeys?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] GetComplianceRunSummary: Get summary results for a specific compliance run. * Specify a run scope and code from a previously run compliance check to get summarised results. * @param scope Required: Run Scope. * @param code Required: Run Code. * @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. */ getComplianceRunSummary(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getComplianceRunSummary(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getComplianceRunSummary(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] GetComplianceTemplate: Get the requested compliance template. * Use this endpoint to fetch a specific compliance template. * @param scope Scope of TemplateID * @param code Code of TemplateID * @param asAt Optional. The time at which to get results from. Default : 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. */ getComplianceTemplate(scope: string, code: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getComplianceTemplate(scope: string, code: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getComplianceTemplate(scope: string, code: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] GetDecoratedComplianceRunSummary: Get decorated summary results for a specific compliance run. * Specify a run scope and code from a previously run compliance check to get an overview of result details. * @param scope Required: Run Scope. * @param code Required: Run Code. * @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. */ getDecoratedComplianceRunSummary(scope: string, code: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; getDecoratedComplianceRunSummary(scope: string, code: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; getDecoratedComplianceRunSummary(scope: string, code: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] ListComplianceRules: List compliance rules. * Use this endpoint to retrieve all compliance rules, or a subset defined by an optional filter. * @param asAt Optional. Asat time. * @param page Optional. Pagination token. * @param limit Optional. Entries per page. * @param filter Optional. Filter. * @param propertyKeys A list of property keys from the \'Compliance\' domain to decorate onto each rule. These must take the format {domain}/{scope}/{code}, for example \'Compliance/live/UCITS\'. If not provided will return all the entitled properties for each rule. * @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. */ listComplianceRules(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; listComplianceRules(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>; listComplianceRules(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>; /** * [EARLY ACCESS] ListComplianceRuns: List historical compliance run identifiers. * Lists RunIds of prior compliance runs, or a subset with a filter. * @param asAt Optional. The time at which to get results from. Default : latest * @param page Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. * @param limit Optional. When paginating, limit the number of returned results to this many. * @param filter Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. * @param sortBy Optional. A list of field names to sort by, each suffixed by \"ASC\" or \"DESC\" * @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. */ listComplianceRuns(asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; listComplianceRuns(asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; listComplianceRuns(asAt?: string, page?: string, limit?: number, filter?: string, sortBy?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] ListComplianceTemplates: List compliance templates. * Use this endpoint to fetch a list of all available compliance template ids, or a subset using a filter. * @param asAt Optional. The time at which to get results from. Default : latest * @param page Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. * @param limit Optional. When paginating, limit the number of returned results to this many. * @param filter Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. * @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. */ listComplianceTemplates(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; listComplianceTemplates(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; listComplianceTemplates(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] RunCompliance: Run a compliance check. * Use this endpoint to run a compliance check using rules from a specific scope. * @param runScope Required: Scope to save the run results in. * @param ruleScope Required: Scope from which to select rules to be run. * @param isPreTrade Required: Boolean flag indicating if a run should be PreTrade (Including orders). For post-trade only, set to false * @param recipeIdScope Required: the scope of the recipe to be used * @param recipeIdCode Required: The code of the recipe to be used. If left blank, the default recipe will be used. * @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. */ runCompliance(runScope: string, ruleScope: string, isPreTrade: boolean, recipeIdScope: string, recipeIdCode: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; runCompliance(runScope: string, ruleScope: string, isPreTrade: boolean, recipeIdScope: string, recipeIdCode: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; runCompliance(runScope: string, ruleScope: string, isPreTrade: boolean, recipeIdScope: string, recipeIdCode: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] UpsertComplianceRule: Upsert a compliance rule. * Use this endpoint to upsert a single compliance rule. The template and variation specified must already exist, as must the portfolio group. The parameters passed must match those required by the template variation. * @param upsertComplianceRuleRequest * @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. */ upsertComplianceRule(upsertComplianceRuleRequest?: UpsertComplianceRuleRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; upsertComplianceRule(upsertComplianceRuleRequest?: UpsertComplianceRuleRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; upsertComplianceRule(upsertComplianceRuleRequest?: UpsertComplianceRuleRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] UpsertComplianceRunSummary: Upsert a compliance run summary. * Use this endpoint to upsert a compliance run result summary. * @param upsertComplianceRunSummaryRequest * @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. */ upsertComplianceRunSummary(upsertComplianceRunSummaryRequest?: UpsertComplianceRunSummaryRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; upsertComplianceRunSummary(upsertComplianceRunSummaryRequest?: UpsertComplianceRunSummaryRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; upsertComplianceRunSummary(upsertComplianceRunSummaryRequest?: UpsertComplianceRunSummaryRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }