odata-batch
Version:
a simple lib for send and recieve calls odata batch
21 lines (20 loc) • 618 B
TypeScript
import { ODataBatchRepository } from './BatchRepository';
export declare class ODataBatch {
private auth;
private headers;
private url;
private boundary;
private batchRequest;
private requestResponseType;
private batchRepository;
constructor({ url, headers, auth, calls, batchResponseType, individualResponseType }: {
url: string;
headers?: any;
auth: string;
calls?: any;
batchResponseType?: string;
individualResponseType?: string;
}, batchRepository?: ODataBatchRepository);
send(): Promise<any>;
private ensureHasCalls;
}