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/backend-controller-service   js

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / backendctrl.service.d.ts

/**
 * Motif Backend Controller 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 { UserActualData } from '../model/userActualData';
import { UserCreate } from '../model/userCreate';
import { UserUpdate } from '../model/userUpdate';
import { Configuration } from '../configuration';
import { BackendctrlServiceInterface } from './backendctrl.serviceInterface';
export declare class BackendctrlService implements BackendctrlServiceInterface {
    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;
    /**
     * Blocks an user
     * Blocks an user
     * @param domain Domain Name
     * @param userId User Id
     * @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.
     */
    blockUser(domain: string, userId: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
    blockUser(domain: string, userId: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    blockUser(domain: string, userId: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
    /**
     * Creates an user
     * Creates an user
     * @param domain Domain Name
     * @param userCreate
     * @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.
     */
    createUser(domain: string, userCreate?: UserCreate, observe?: 'body', reportProgress?: boolean): Observable<UserActualData>;
    createUser(domain: string, userCreate?: UserCreate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UserActualData>>;
    createUser(domain: string, userCreate?: UserCreate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UserActualData>>;
    /**
     * Reactivates an user
     * Reactivates an user
     * @param domain Domain Name
     * @param userId User Id
     * @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.
     */
    reactivateUser(domain: string, userId: string, observe?: 'body', reportProgress?: boolean): Observable<UserActualData>;
    reactivateUser(domain: string, userId: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UserActualData>>;
    reactivateUser(domain: string, userId: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UserActualData>>;
    /**
     * Updates an user
     * Updates an user
     * @param domain Domain Name
     * @param userId User Id
     * @param userUpdate
     * @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.
     */
    updateUser(domain: string, userId: string, userUpdate?: UserUpdate, observe?: 'body', reportProgress?: boolean): Observable<object>;
    updateUser(domain: string, userId: string, userUpdate?: UserUpdate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    updateUser(domain: string, userId: string, userUpdate?: UserUpdate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
}