naga-audit-service
Version:
A comprehensive audit service library for NestJS applications with MongoDB support
17 lines • 618 B
TypeScript
interface IInterServiceRequestParams {
method?: 'get' | 'post' | 'put' | 'delete' | 'patch';
service: string;
requestPath: string;
headers?: Record<string, string>;
query?: Record<string, any>;
body?: any;
throwException?: boolean;
timeout?: number;
retries?: number;
retryDelay?: number;
}
export declare function interServiceRequestHelper({ method, service, requestPath, headers, query, body, timeout, retries, retryDelay, configService, }: IInterServiceRequestParams & {
configService?: any;
}): Promise<any | null>;
export {};
//# sourceMappingURL=axios-wrapper.d.ts.map