UNPKG

@sap/subaccount-destination-service-provider

Version:

Provide service consumption of SAP subaccount services

9 lines (8 loc) 902 B
import { Annotation, Service, ServiceRetriever, ProviderSystem, RawDestination } from "@sap/service-provider-apis"; import { BusinessItem, ProviderSystemBusiness, RawBusinessItem } from "../types/moveToBase"; import { AbapBusinessRetrieverRepository } from "../retrievers/abapBusinessRetrieverRepository"; export declare function DestinationToProviderSystem(responseDestination: RawDestination, retriever: ServiceRetriever): ProviderSystem; export declare function DestinationToProviderSystemBusiness(responseDestination: RawDestination, retriever: AbapBusinessRetrieverRepository): ProviderSystemBusiness; export declare function ServiceResponseToService(responseService: any, protocol: string): Service[]; export declare function AnnotationResponseToAnnotations(parsedAnnotations: any): Annotation[]; export declare function BusinessResponseToObject(businessResponse: RawBusinessItem): BusinessItem;