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

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / configurations.service.d.ts

/**
 * Motif Configuration 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 { Tag } from '../model/tag';
import { Configuration } from '../configuration';
import { ConfigurationsServiceInterface } from './configurations.serviceInterface';
export declare class ConfigurationsService implements ConfigurationsServiceInterface {
    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;
    /**
     * Deletes Configuration with specified tag
     * Deletes Configuration with specified tag
     * @param tag Filter param. Not mandatory
     * @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.
     */
    deleteTag(tag: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    deleteTag(tag: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    deleteTag(tag: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Downloads XML configuration file
     * Downloads XML configuration file
     * @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.
     */
    downloadXml(observe?: 'body', reportProgress?: boolean): Observable<Blob>;
    downloadXml(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Blob>>;
    downloadXml(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Blob>>;
    /**
     * Downloads XML configuration file with tagged properties
     * Downloads XML configuration file with tagged properties
     * @param tag Filter param. Not mandatory
     * @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.
     */
    downloadXmlTaggedSettings(tag: string, observe?: 'body', reportProgress?: boolean): Observable<Blob>;
    downloadXmlTaggedSettings(tag: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Blob>>;
    downloadXmlTaggedSettings(tag: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Blob>>;
    /**
     * Retrieves Available Tags
     * Retrieves Available Tags
     * @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.
     */
    getTags(observe?: 'body', reportProgress?: boolean): Observable<Array<Tag>>;
    getTags(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<Tag>>>;
    getTags(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<Tag>>>;
    /**
     * Restores a version tag
     * Restores a version tag. All properties bearing the specified tag will become the active ones.
     * @param tag Filter param. Not mandatory
     * @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.
     */
    tagRestore(tag: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    tagRestore(tag: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    tagRestore(tag: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Applies a version tag to all properties identified by service
     * Applies a version tag to all properties identified by service
     * @param service
     * @param tag Filter param. Not mandatory
     * @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.
     */
    tagService(service: string, tag: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    tagService(service: string, tag: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    tagService(service: string, tag: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Applies a version tag to single property
     * Applies a version tag to single property
     * @param service
     * @param property
     * @param tag Filter param. Not mandatory
     * @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.
     */
    tagSetting(service: string, property: string, tag: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    tagSetting(service: string, property: string, tag: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    tagSetting(service: string, property: string, tag: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Applies a version tag to all properties
     * Applies a version tag to all properties
     * @param tag
     * @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.
     */
    tagSettings(tag?: Tag, observe?: 'body', reportProgress?: boolean): Observable<object>;
    tagSettings(tag?: Tag, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    tagSettings(tag?: Tag, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Uploads XML configuration file
     * Uploads XML configuration file
     * @param file
     * @param force
     * @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.
     */
    uploadXml(file: Blob, force?: boolean, observe?: 'body', reportProgress?: boolean): Observable<object>;
    uploadXml(file: Blob, force?: boolean, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    uploadXml(file: Blob, force?: boolean, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
}