UNPKG

@finbourne/lusid-sdk-angular8

Version:

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

51 lines (50 loc) 3.71 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { FileResponse } from '../model/fileResponse'; import { ResourceListOfAccessControlledResource } from '../model/resourceListOfAccessControlledResource'; import { VersionSummaryDto } from '../model/versionSummaryDto'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ApplicationMetadataService { 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; /** * GetExcelAddin: Download Excel Addin * Download the LUSID Excel Addin for Microsoft Excel. Not providing a specific value will return the latest version being returned * @param version The requested version of the Excel plugin * @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. */ getExcelAddin(version?: string, observe?: 'body', reportProgress?: boolean): Observable<FileResponse>; getExcelAddin(version?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<FileResponse>>; getExcelAddin(version?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<FileResponse>>; /** * GetLusidVersions: Get LUSID versions * Get the semantic versions associated with LUSID and its ecosystem * @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. */ getLusidVersions(observe?: 'body', reportProgress?: boolean): Observable<VersionSummaryDto>; getLusidVersions(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<VersionSummaryDto>>; getLusidVersions(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<VersionSummaryDto>>; /** * ListAccessControlledResources: Get resources available for access control * Get the comprehensive set of resources that are available for access control * @param filter Optional. Expression to filter the result set. For example, to filter on the Application, use \&quot;application 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. */ listAccessControlledResources(filter?: string, observe?: 'body', reportProgress?: boolean): Observable<ResourceListOfAccessControlledResource>; listAccessControlledResources(filter?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ResourceListOfAccessControlledResource>>; listAccessControlledResources(filter?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ResourceListOfAccessControlledResource>>; static ɵfac: i0.ɵɵFactoryDef<ApplicationMetadataService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDef<ApplicationMetadataService>; }