UNPKG

fsm-sdk

Version:

Node.JS sdk to interface with SAP Field Service Management APIs.

14 lines (13 loc) 615 B
import { BatchAction } from './batch-action.model'; import { BatchResponseJson } from './batch-response'; import { ClientConfig } from '../client-config.model'; import { DTOModels } 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 DTOModels>(actions: BatchAction[]): Promise<BatchResponseJson<T>[]>; }