@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
21 lines (20 loc) • 1.29 kB
TypeScript
import { ProviderSystem, DataType, Service, EncodingMode, ProxyType, ServiceMetadata, ServiceRetriever, Annotation, ServiceCommon } from "@sap/service-provider-apis";
export declare class SubaccountDestinationProviderSystem implements ProviderSystem {
private readonly logger;
readonly name: string;
readonly url: string;
readonly dataType: DataType;
readonly proxyType: ProxyType;
private readonly serviceRetriever;
readonly authenticationType: string;
readonly product: string;
readonly description: string;
constructor(name: string, url: string, dataType: DataType, proxyType: ProxyType, authType: string, serviceRetriever: ServiceRetriever, product: string, description: string);
getServices(options?: Record<string, any>): Promise<Service[]>;
getMetadata(service: Service, encoding: EncodingMode, options?: Record<string, any>): Promise<ServiceMetadata>;
getServiceUiType(service: Service, options?: Record<string, any>): Promise<string>;
private getLiveData;
getJsonLiveData(service: Service, relativeServiceUrl: string, entityName: string, options?: Record<string, any>): Promise<ServiceCommon>;
getAnnotations(service: Service, options?: Record<string, any>): Promise<Annotation[]>;
private getServiceByType;
}