@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
18 lines (17 loc) • 1.14 kB
TypeScript
import { ProviderSystem, DataType, Service, EncodingMode, ProxyType, ServiceMetadata, ServiceRetriever, Annotation, ServiceCommon } from "@sap/service-provider-apis";
export declare class C4cDestinationProviderSystem 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>;
getJsonLiveData(service: Service, relativeServiceUrl: string, entityName: string, options?: Record<string, any>): Promise<ServiceCommon>;
getAnnotations(service: Service, options?: Record<string, any>): Promise<Annotation[]>;
}