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

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / contexts.service.d.ts

/**
 * Motif Context 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 { ServiceContext } from '../model/serviceContext';
import { ServiceContextCreate } from '../model/serviceContextCreate';
import { ServiceContextUpdate } from '../model/serviceContextUpdate';
import { Configuration } from '../configuration';
import { ContextsServiceInterface } from './contexts.serviceInterface';
export declare class ContextsService implements ContextsServiceInterface {
    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;
    /**
     * Creates a Service Context
     * Creates a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param serviceContextCreate
     * @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.
     */
    createContext(domain: string, application: string, serviceContextCreate?: ServiceContextCreate, observe?: 'body', reportProgress?: boolean): Observable<ServiceContext>;
    createContext(domain: string, application: string, serviceContextCreate?: ServiceContextCreate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServiceContext>>;
    createContext(domain: string, application: string, serviceContextCreate?: ServiceContextCreate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServiceContext>>;
    /**
     * Deletes a Service Context
     * Deletes a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param context Context Name
     * @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.
     */
    deleteContext(domain: string, application: string, context: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    deleteContext(domain: string, application: string, context: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    deleteContext(domain: string, application: string, context: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Disables a Service Context
     * Disables a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param context Context Name
     * @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.
     */
    disableContext(domain: string, application: string, context: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    disableContext(domain: string, application: string, context: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    disableContext(domain: string, application: string, context: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Enables a Service Context
     * Enables a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param context Context Name
     * @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.
     */
    enableContext(domain: string, application: string, context: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    enableContext(domain: string, application: string, context: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    enableContext(domain: string, application: string, context: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Retrieves all Service Contexts given an application
     * Retrieves all Service Contexts given an application
     * @param domain Domain Name
     * @param application Application Name
     * @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.
     */
    getApplicationContexts(domain: string, application: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ServiceContext>>;
    getApplicationContexts(domain: string, application: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ServiceContext>>>;
    getApplicationContexts(domain: string, application: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ServiceContext>>>;
    /**
     * Retrieves a Service Context
     * Retrieves a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param context Context Name
     * @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.
     */
    getContext(domain: string, application: string, context: string, observe?: 'body', reportProgress?: boolean): Observable<ServiceContext>;
    getContext(domain: string, application: string, context: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServiceContext>>;
    getContext(domain: string, application: string, context: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServiceContext>>;
    /**
     * Retrieves all Service Contexts
     * Retrieves all Service Contexts
     * @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.
     */
    getContexts(observe?: 'body', reportProgress?: boolean): Observable<Array<ServiceContext>>;
    getContexts(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ServiceContext>>>;
    getContexts(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ServiceContext>>>;
    /**
     * Updates a Service Context
     * Updates a Service Context
     * @param domain Domain Name
     * @param application Application Name
     * @param context Context Name
     * @param serviceContextUpdate
     * @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.
     */
    updateContext(domain: string, application: string, context: string, serviceContextUpdate?: ServiceContextUpdate, observe?: 'body', reportProgress?: boolean): Observable<object>;
    updateContext(domain: string, application: string, context: string, serviceContextUpdate?: ServiceContextUpdate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    updateContext(domain: string, application: string, context: string, serviceContextUpdate?: ServiceContextUpdate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
}