@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
25 lines • 1.1 kB
TypeScript
import { BatchSubRequestPathType } from '../request-builder/batch/batch-request-options';
import { ODataRequestConfig } from './odata-request-config';
export declare class ODataBatchRequestConfig extends ODataRequestConfig {
readonly defaultServicePath: string;
readonly boundary: string;
/**
* @deprecated Since v1.30.0.
*/
static readonly content_type_prefix = "multipart/mixed; boundary=batch_";
subRequestPathType: BatchSubRequestPathType;
/**
* @deprecated Since v1.30.0. Use [[boundary]] instead.
*/
get batchId(): string;
/**
* Creates an instance of ODataBatchRequestConfig.
* @param defaultServicePath - The default OData service path
* @param boundary - Request boundary for separation of subrequests. Defaults to an autogenerated value.
*/
constructor(defaultServicePath: string, boundary?: string);
withSubRequestPathType(subRequestPathType: BatchSubRequestPathType): void;
resourcePath(): string;
queryParameters(): Record<string, any>;
}
//# sourceMappingURL=odata-batch-request-config.d.ts.map