UNPKG

@revxui/api-clients-ts

Version:

swagger client for @revxui/api-clients-ts

62 lines (61 loc) 4.35 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiResponseObjectReportingResponse } from '../model/apiResponseObjectReportingResponse'; import { ApiResponseObjectstring } from '../model/apiResponseObjectstring'; import { ReportingRequest } from '../model/reportingRequest'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ReportingControllerService { 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 reportingRequest reportingRequest * @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. */ customReportCSVUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectReportingResponse>; customReportCSVUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectReportingResponse>>; customReportCSVUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectReportingResponse>>; /** * API to fetch report data based on entity. * * @param entity entity * @param reportingRequest reportingRequest * @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. */ customReportUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectReportingResponse>; customReportUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectReportingResponse>>; customReportUsingPOST(entity: string, reportingRequest: ReportingRequest, options?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectReportingResponse>>; /** * API to fetch configuration for rendering video reports on UI. * * @param entity entity * @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. */ reportConfigUsingGET(entity: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectstring>; reportConfigUsingGET(entity: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectstring>>; reportConfigUsingGET(entity: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectstring>>; static ɵfac: i0.ɵɵFactoryDeclaration<ReportingControllerService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<ReportingControllerService>; }