@sap-cloud-sdk/odata-common
Version:
SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.
20 lines (19 loc) • 544 B
TypeScript
import type { HttpDestination } from '@sap-cloud-sdk/connectivity/internal';
/**
* The path in the sub request should be serialized as an absolute or relative URL.
*/
export type BatchSubRequestPathType = 'absolute' | 'relativeToService' | 'relativeToEntity' | 'noPath';
/**
* Options to configure batch serialization.
* @internal
*/
export interface BatchRequestSerializationOptions {
/**
* @internal
*/
subRequestPathType?: BatchSubRequestPathType;
/**
* @internal
*/
destination?: HttpDestination;
}