@revxui/api-clients-ts
Version:
swagger client for @revxui/api-clients-ts
49 lines (48 loc) • 3.27 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiResponseObjectReportResponse } from '../model/apiResponseObjectReportResponse';
import { ReportRequest } from '../model/reportRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class ReportControllerService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* API to export report data as csv based on entity.
*
* @param entity entity
* @param reportRequest reportRequest
* @param options options
* @param reqId request id
* @param token Auth Token
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
exportReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectReportResponse>;
exportReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectReportResponse>>;
exportReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectReportResponse>>;
/**
* API to fetch report data based on entity.
*
* @param entity entity
* @param reportRequest reportRequest
* @param options options
* @param reqId request id
* @param token Auth Token
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
getReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectReportResponse>;
getReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectReportResponse>>;
getReportUsingPOST(entity: string, reportRequest: ReportRequest, options?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectReportResponse>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ReportControllerService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ReportControllerService>;
}