UNPKG

@finbourne/lusid-sdk-angular16

Version:

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

76 lines (75 loc) 4.84 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } 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; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * 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, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<FileResponse>; getExcelAddin(version?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<FileResponse>>; getExcelAddin(version?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): 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, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<VersionSummaryDto>; getLusidVersions(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<VersionSummaryDto>>; getLusidVersions(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): 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, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<ResourceListOfAccessControlledResource>; listAccessControlledResources(filter?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpResponse<ResourceListOfAccessControlledResource>>; listAccessControlledResources(filter?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable<HttpEvent<ResourceListOfAccessControlledResource>>; static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMetadataService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationMetadataService>; }