123456789101112 |
- import { Options } from "got";
- import { Keyable } from "../interfaces/keyable";
- import { ClientData } from "../interfaces/client_data";
- export declare class ApiRequest {
- private readonly urlRoot;
- promise: Promise<any>;
- params: Keyable;
- constructor(uri: string, method: Options["method"], body: object | object[] | null, params: Keyable, clientData: ClientData);
- createPromise(uri: string, method: Options["method"], body: object | object[] | null, clientData: ClientData): Promise<any>;
- protected composeURI(rawUri: string): string;
- protected mapUriParams(params: Keyable): (_entity: any, isMandaratory: string, paramName: string) => string;
- }
|