seerbit-nodejs
Version:
SeerBit NodsJS SDK
12 lines (11 loc) • 503 B
TypeScript
import HttpClientException from "../httpClient/httpClientException";
import ApiException from "./exception/apiException";
import { IRequest } from "../typings/requestOptions";
import Service from "../service";
declare abstract class Resource {
protected endpoint: string;
private service;
protected constructor(service: Service, endpoint: string);
request(json: string, requestOptions?: IRequest.Options): Promise<string | HttpClientException | ApiException>;
}
export default Resource;