UNPKG

1.1 kBTypeScriptView Raw
1import { BatchSubRequestPathType } from '../request-builder/batch/batch-request-options';
2import { ODataRequestConfig } from './odata-request-config';
3export declare class ODataBatchRequestConfig extends ODataRequestConfig {
4 readonly defaultServicePath: string;
5 readonly boundary: string;
6 /**
7 * @deprecated Since v1.30.0.
8 */
9 static readonly content_type_prefix = "multipart/mixed; boundary=batch_";
10 subRequestPathType: BatchSubRequestPathType;
11 /**
12 * @deprecated Since v1.30.0. Use [[boundary]] instead.
13 */
14 get batchId(): string;
15 /**
16 * Creates an instance of ODataBatchRequestConfig.
17 * @param defaultServicePath - The default OData service path
18 * @param boundary - Request boundary for separation of subrequests. Defaults to an autogenerated value.
19 */
20 constructor(defaultServicePath: string, boundary?: string);
21 withSubRequestPathType(subRequestPathType: BatchSubRequestPathType): void;
22 resourcePath(): string;
23 queryParameters(): Record<string, any>;
24}
25//# sourceMappingURL=odata-batch-request-config.d.ts.map
\No newline at end of file