fsm-sdk
Version:
Node.JS sdk to interface with SAP Field Service Management APIs.
14 lines (13 loc) • 642 B
TypeScript
import { BatchAction } from './batch-action.model';
import { BatchResponseJson } from './batch-response';
import { ClientConfig } from '../../client-config.model';
import { DataCloudDTOModels } from '../dto-name.model';
import { HttpService } from '../../http/http-service';
import { OAuthService } from '../../oauth/oauth.service';
export declare class BatchAPIService {
private _config;
private _http;
private _auth;
constructor(_config: Readonly<ClientConfig>, _http: Readonly<HttpService>, _auth: Readonly<OAuthService>);
batch<T extends DataCloudDTOModels>(actions: BatchAction[]): Promise<BatchResponseJson<T>[]>;
}