UNPKG

1.1 kBTypeScriptView Raw
1import { BatchChangeSet } from '../odata-common/request-builder/batch/batch-change-set';
2import { Entity } from './entity';
3import { CreateRequestBuilder, DeleteRequestBuilder, UpdateRequestBuilder } from './request-builder';
4/**
5 * @deprecated Since v1.30.0. Use [[BatchChangeSet]] directly
6 * Representation of a batch change set, which holds a collection of write operations.
7 */
8export declare class ODataBatchChangeSet<RequestT extends CreateRequestBuilder<Entity> | UpdateRequestBuilder<Entity> | DeleteRequestBuilder<Entity>> implements BatchChangeSet<RequestT> {
9 readonly requests: RequestT[];
10 readonly boundary: string;
11 /**
12 * @deprecated Since v1.30.0. Use [[boundary]] instead.
13 */
14 get changeSetId(): string;
15 /**
16 * Create an instance of ODataBatchChangeSet.
17 * @param requests - Requests to combine to one change set.
18 * @param boundary - Boundary used in the multipart request.
19 */
20 constructor(requests: RequestT[], boundary?: string);
21}
22export { ODataBatchChangeSet as ODataBatchChangeSetV2 };
23//# sourceMappingURL=batch-change-set.d.ts.map
\No newline at end of file