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/e2e-encryption-service   js

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / e2e.service.d.ts

/**
 * Motif End 2 End Encryption 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 { ConversationIdStatus } from '../model/conversationIdStatus';
import { HandshakeRequest } from '../model/handshakeRequest';
import { HandshakeResponse } from '../model/handshakeResponse';
import { PublicKeyCertificate } from '../model/publicKeyCertificate';
import { Configuration } from '../configuration';
import { E2eServiceInterface } from './e2e.serviceInterface';
export declare class E2eService implements E2eServiceInterface {
    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;
    /**
     * Get Conversation ID status
     * Get Conversation ID status
     * @param cid ConversationId
     * @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.
     */
    getConversationIdStatus(cid: string, observe?: 'body', reportProgress?: boolean): Observable<ConversationIdStatus>;
    getConversationIdStatus(cid: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ConversationIdStatus>>;
    getConversationIdStatus(cid: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ConversationIdStatus>>;
    /**
     * Get E2E Public Key Certificate
     * Get E2E Public Key Certificate
     * @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.
     */
    getPublicKeyCertificate(observe?: 'body', reportProgress?: boolean): Observable<PublicKeyCertificate>;
    getPublicKeyCertificate(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PublicKeyCertificate>>;
    getPublicKeyCertificate(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PublicKeyCertificate>>;
    /**
     * Performs an Handshake
     * Performs an Handshake
     * @param handshakeRequest
     * @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.
     */
    performHandshake(handshakeRequest?: HandshakeRequest, observe?: 'body', reportProgress?: boolean): Observable<HandshakeResponse>;
    performHandshake(handshakeRequest?: HandshakeRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<HandshakeResponse>>;
    performHandshake(handshakeRequest?: HandshakeRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<HandshakeResponse>>;
}