@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
17 lines (16 loc) • 1.44 kB
TypeScript
import { AbapCatalogServiceUrl, Authentication, EncodingMode, ProviderUtils, ProxyType, RawDestination, ServiceCommon, DataType } from "@sap/service-provider-apis";
export declare const API_LIST_DESTINATION_PATH = "/api/listDestinations";
export declare const ODATA_V2_CATALOG_SERVICES = "/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/";
export declare const V2_SERVICES_PATH = "ServiceCollection";
export declare const V2_RECOMMENDED_SERVICES_PATH = "RecommendedServiceCollection";
export declare const ODATA_V4_CATALOG_SERVICES = "/sap/opu/odata4/iwfnd/config/default/iwfnd/catalog/0002/";
export declare const V4_SERVICES_PATH = "ServiceGroups?$expand=DefaultSystem($expand=Services)";
export declare const V4_RECOMMENDED_SERVICES_PATH = "ServiceGroups?$expand=DefaultSystem($expand=RecommendedServices)";
export declare const ANNOTATIONS_SUFFIX = "/Annotations";
export declare const APPLICATION_XML_HEADER = "application/xml";
export declare const SubaccountAbapCatalogServiceUrl: AbapCatalogServiceUrl;
export declare const SubaccountProviderUtils: ProviderUtils;
export declare function getSystemType(destinationConfiguration: RawDestination): DataType;
export declare function getProxyType(destinationProxyType: string): ProxyType;
export declare function buildServiceCommonResponse(encoding: EncodingMode, responseBody: string): ServiceCommon;
export declare function createBasHeader(credentials?: Authentication): Record<string, string>;