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/info-service   js

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / info.service.d.ts

/**
 * Motif Info 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 { ChannelInfo } from '../model/channelInfo';
import { OAuth2Info } from '../model/oAuth2Info';
import { ServerInfo } from '../model/serverInfo';
import { ServerStatus } from '../model/serverStatus';
import { SessionsInfo } from '../model/sessionsInfo';
import { UsersInfo } from '../model/usersInfo';
import { Configuration } from '../configuration';
import { InfoServiceInterface } from './info.serviceInterface';
export declare class InfoService implements InfoServiceInterface {
    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;
    /**
     * Retrieves channel info
     * Retrieves channel info
     * @param channel Channel Name (REST,JSON,SMS,...)
     * @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.
     */
    getChannelInfo(channel: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ChannelInfo>>;
    getChannelInfo(channel: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ChannelInfo>>>;
    getChannelInfo(channel: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ChannelInfo>>>;
    /**
     * Retrieves OAuth2 info
     * Retrieves OAuth2 info
     * @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.
     */
    getOAuth2Info(observe?: 'body', reportProgress?: boolean): Observable<OAuth2Info>;
    getOAuth2Info(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<OAuth2Info>>;
    getOAuth2Info(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<OAuth2Info>>;
    /**
     * Retrieves information about server
     * Retrieves information about server
     * @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.
     */
    getServerInfo(observe?: 'body', reportProgress?: boolean): Observable<ServerInfo>;
    getServerInfo(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServerInfo>>;
    getServerInfo(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServerInfo>>;
    /**
     * Retrieves realtime server status
     * Retrieves realtime server status
     * @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.
     */
    getServerStatus(observe?: 'body', reportProgress?: boolean): Observable<ServerStatus>;
    getServerStatus(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServerStatus>>;
    getServerStatus(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServerStatus>>;
    /**
     * Retrieves users info
     * Retrieves users info
     * @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.
     */
    getSessionsInfo(observe?: 'body', reportProgress?: boolean): Observable<SessionsInfo>;
    getSessionsInfo(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SessionsInfo>>;
    getSessionsInfo(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SessionsInfo>>;
    /**
     * Retrieves users info
     * Retrieves users info
     * @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.
     */
    getUsersInfo(observe?: 'body', reportProgress?: boolean): Observable<UsersInfo>;
    getUsersInfo(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UsersInfo>>;
    getUsersInfo(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UsersInfo>>;
}