typeparam param request returns import { OriginOptions } from '@sap-cloud-sdk/http-client/internal' ; import { ODataRequest , ODataRequestConfig } from './request' ; param request returns internal export async function buildHeaders < RequestT extends ODataRequestConfig > ( request ) { if ( ! request . destination ) { throw Error ( 'The request destination is undefined.' ) ; } return request . headers ( ) ; }