@finbourne/lusid-sdk-angular18
Version:
An Angular (18) SDK for secure access to the LUSID® by FINBOURNE web API
93 lines (92 loc) • 5.57 kB
TypeScript
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 interface GetExcelAddinRequestParams {
/** The requested version of the Excel plugin */
version?: string;
}
export interface ListAccessControlledResourcesRequestParams {
/** Optional. Expression to filter the result set. For example, to filter on the Application, use \"application eq \'string\'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. */
filter?: string;
}
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 requestParameters
* @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(requestParameters?: GetExcelAddinRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<FileResponse>;
getExcelAddin(requestParameters?: GetExcelAddinRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<FileResponse>>;
getExcelAddin(requestParameters?: GetExcelAddinRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: 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, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<VersionSummaryDto>;
getLusidVersions(observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<VersionSummaryDto>>;
getLusidVersions(observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<VersionSummaryDto>>;
/**
* ListAccessControlledResources: Get resources available for access control
* Get the comprehensive set of resources that are available for access control
* @param requestParameters
* @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(requestParameters?: ListAccessControlledResourcesRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<ResourceListOfAccessControlledResource>;
listAccessControlledResources(requestParameters?: ListAccessControlledResourcesRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<ResourceListOfAccessControlledResource>>;
listAccessControlledResources(requestParameters?: ListAccessControlledResourcesRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<ResourceListOfAccessControlledResource>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMetadataService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationMetadataService>;
}