@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
23 lines (22 loc) • 1.39 kB
TypeScript
import { DataType, Service, EncodingMode, ProxyType, ServiceMetadata, ServiceRetriever, Annotation, ServiceCommon } from "@sap/service-provider-apis";
import { CatalogProviderSystem } from "../types/moveToBase";
export declare class SubaccountDestinationProviderSystem implements CatalogProviderSystem {
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;
readonly sapClient?: string;
constructor(name: string, url: string, dataType: DataType, proxyType: ProxyType, authType: string, serviceRetriever: ServiceRetriever, product: string, description: string, sapClient?: 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>;
getJsonLiveData(service: Service, relativeServiceUrl: string, entityName: string, options?: Record<string, any>): Promise<ServiceCommon>;
getAnnotations(service: Service, options?: Record<string, any>): Promise<Annotation[]>;
private getLiveData;
private getServiceByType;
}