UNPKG

@finbourne/lusid-sdk-angular8

Version:

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

30 lines (29 loc) 1.86 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } 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; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * 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): Observable<ResourceListOfScopeDefinition>; listScopes(filter?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfScopeDefinition>>; listScopes(filter?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfScopeDefinition>>; static ɵfac: i0.ɵɵFactoryDef<ScopesService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDef<ScopesService>; }