Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / @wa-motif-open-api/log-service   js

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / log.service.d.ts

/**
 * Motif Log Service API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.0
 * Contact: info@vipera.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { LogLevel } from '../model/logLevel';
import { LogLevelUpdate } from '../model/logLevelUpdate';
import { LogTail } from '../model/logTail';
import { Configuration } from '../configuration';
import { LogServiceInterface } from './log.serviceInterface';
export declare class LogService implements LogServiceInterface {
    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;
    /**
     * Download current log
     * Download current log
     * @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.
     */
    downloadCurrentLog(observe?: 'body', reportProgress?: boolean): Observable<Blob>;
    downloadCurrentLog(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Blob>>;
    downloadCurrentLog(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Blob>>;
    /**
     * Retrieves component log level
     * Retrieves component log level
     * @param component Component
     * @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.
     */
    getComponentLogLevel(component: string, observe?: 'body', reportProgress?: boolean): Observable<LogLevel>;
    getComponentLogLevel(component: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<LogLevel>>;
    getComponentLogLevel(component: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<LogLevel>>;
    /**
     * Retrieves default component log level
     * Retrieves default component log level
     * @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.
     */
    getDefaultComponentLogLevel(observe?: 'body', reportProgress?: boolean): Observable<LogLevel>;
    getDefaultComponentLogLevel(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<LogLevel>>;
    getDefaultComponentLogLevel(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<LogLevel>>;
    /**
     * Retrieves root log level
     * Retrieves root log level
     * @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.
     */
    getRootLogLevel(observe?: 'body', reportProgress?: boolean): Observable<LogLevel>;
    getRootLogLevel(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<LogLevel>>;
    getRootLogLevel(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<LogLevel>>;
    /**
     * Set component log level
     * Set component log level
     * @param component Component
     * @param logLevelUpdate
     * @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.
     */
    setComponentLogLevel(component: string, logLevelUpdate?: LogLevelUpdate, observe?: 'body', reportProgress?: boolean): Observable<object>;
    setComponentLogLevel(component: string, logLevelUpdate?: LogLevelUpdate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    setComponentLogLevel(component: string, logLevelUpdate?: LogLevelUpdate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Set default component log level
     * Set default component log level
     * @param logLevelUpdate
     * @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.
     */
    setDefaultComponentLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'body', reportProgress?: boolean): Observable<object>;
    setDefaultComponentLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    setDefaultComponentLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Set root log level
     * Set root log level
     * @param logLevelUpdate
     * @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.
     */
    setRootLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'body', reportProgress?: boolean): Observable<object>;
    setRootLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    setRootLogLevel(logLevelUpdate?: LogLevelUpdate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Tail current log
     * Tail current log
     * @param lines Number of lines to tail
     * @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.
     */
    tailCurrentLog(lines: number, observe?: 'body', reportProgress?: boolean): Observable<LogTail>;
    tailCurrentLog(lines: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<LogTail>>;
    tailCurrentLog(lines: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<LogTail>>;
}