UNPKG

@finbourne/lusid-sdk-angular16

Version:

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

59 lines (58 loc) 4.09 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ResourceListOfScopeDefinition } from '../model/resourceListOfScopeDefinition'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ScopesService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * ListEntityScopes: List Entity Scopes * List all the scopes for a given entity type that contain data. * @param entityType The entity type to list scopes for. * @param asAt The asAt datetime at which to retrieve scopes. Defaults to latest datetime if not specified. * @param page The pagination token to use to continue listing scopes from a previous call to list scopes. This value is returned from the previous call. If a pagination token is provided, the limit and asAt fields must not have changed since the original request. * @param limit When paginating, limit the number of returned results to this number. Defaults to 100 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. */ listEntityScopes(entityType: string, asAt?: string, page?: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfScopeDefinition>; listEntityScopes(entityType: string, asAt?: string, page?: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfScopeDefinition>>; listEntityScopes(entityType: string, asAt?: string, page?: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfScopeDefinition>>; /** * ListScopes: List Scopes * List all the scopes that contain data. * @param filter Expression to filter the result set. For example, to filter on the Scope, use \&quot;scope eq \&#39;string\&#39;\&quot; 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. */ listScopes(filter?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfScopeDefinition>; listScopes(filter?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfScopeDefinition>>; listScopes(filter?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfScopeDefinition>>; static ɵfac: i0.ɵɵFactoryDeclaration<ScopesService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<ScopesService>; }