@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
9 lines (8 loc) • 969 B
TypeScript
import { Annotation, Service, ServiceRetriever, ProviderSystem, ProviderDestination } from "@sap/service-provider-apis";
import { BusinessItem, ProviderSystemBusiness, RawBusinessItem, RawServiceAnnotationsResults } from "../types/moveToBase";
import { AbapBusinessRetrieverRepository } from "../retrievers/abapBusinessRetrieverRepository";
export declare function DestinationToProviderSystem(responseDestination: ProviderDestination, retriever: ServiceRetriever): ProviderSystem;
export declare function DestinationToProviderSystemBusiness(responseDestination: ProviderDestination, retriever: AbapBusinessRetrieverRepository): ProviderSystemBusiness;
export declare function ServiceResponseToService(responseService: any, protocol: string): Service[];
export declare function AnnotationResponseToAnnotations(rawAnnotations: RawServiceAnnotationsResults): Annotation[];
export declare function BusinessResponseToObject(businessResponse: RawBusinessItem): BusinessItem;