import { DyFM_HttpCallType, DyFM_HttpResponseType } from '@futdevpro/fsm-dynamo'; export interface DyNTS_AxiosSettings { headers?: { [header: string]: string | string[]; }; httpAgent?: any; httpsAgent?: any; timeout?: number; maxRedirects?: number; withCredentials?: boolean; responseType?: DyFM_HttpResponseType; } /** * API call params, * such as * type (HttpCallType), * endpoint, * and other options as httpOptions */ export declare class DyNTS_ApiCall_Params { /** * name the call to be able to identify it when debugging */ name: string; /** * type of the call as; HttpCallType .get, .post, ...ect */ type: DyFM_HttpCallType; /** * the endpoint of the API, without the baseUrl: * '/user/get/:userId', * where the parts starting with ':', will be used as pathParam */ baseUrl: string; /** * baseUrl of the API; * 'https://futdevpro.hu/api' */ endpoint: string; /** * if this value is true, the call will return the full HTTP call response in raw */ getFullResponse: boolean; /** * this setting will be passed to the axios http call */ httpOptions: any | DyNTS_AxiosSettings; pathParamKeys: string[]; readonly stack: string; constructor( /** * set of options necessary for setting up an API call */ set: Partial); } /** * basic axios HttpsOptions, * * learn more on axios package.... * TOD: link package documentations */ export declare class DyNTS_HttpOptions { responseType?: DyFM_HttpResponseType; headers?: { [header: string]: string | string[]; }; observe?: 'body'; reportProgress?: boolean; withCredentials?: boolean; constructor(set: { responseType?: DyFM_HttpResponseType; headers?: { [header: string]: string | string[]; }; observe?: 'body'; reportProgress?: boolean; withCredentials?: boolean; }); } //# sourceMappingURL=api-call-params.control-model.d.ts.map