fsm-sdk
Version:
Node.JS sdk to interface with SAP Field Service Management APIs.
16 lines (15 loc) • 575 B
TypeScript
import { ClientConfig } from '../client-config.model';
import { DTOModels, DTOName } from '../dto-name.model';
import { HttpService } from '../http/http-service';
import { OAuthService } from '../oauth/oauth.service';
export declare class QueryApiService {
private _config;
private _http;
private _auth;
constructor(_config: Readonly<ClientConfig>, _http: Readonly<HttpService>, _auth: Readonly<OAuthService>);
query<T extends {
[projection: string]: DTOModels;
}>(coreSQL: string, dtoNames: DTOName[]): Promise<{
data: T[];
}>;
}