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

Repository URL to install this package:

Version: 0.6.0 

/ lib / api / datarecords.service.d.ts

/**
 * Motif Datarecords 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 { DatarecordList } from '../model/datarecordList';
import { Configuration } from '../configuration';
import { DatarecordsServiceInterface } from './datarecords.serviceInterface';
export declare class DatarecordsService implements DatarecordsServiceInterface {
    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;
    /**
     * Export datarecords as csv file
     * Export datarecords as csv file
     * @param type Datarecords type (PERFORMANCE, TRANSACTION, DIAGNOSTIC, SECURITY...)
     * @param hashedSession Hashed session (SHA512)
     * @param usersId User natural ID
     * @param operations Operations list
     * @param fromDate From date (2016-08-30 17:12:46Z)
     * @param toDate To date (2016-08-30 17:12:46Z)
     * @param resultCode Result code
     * @param anyError Default value is false
     * @param singleCsv Default value is true
     * @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.
     */
    exportDatarecords(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'body', reportProgress?: boolean): Observable<Blob>;
    exportDatarecords(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Blob>>;
    exportDatarecords(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Blob>>;
    /**
     * Get datarecords by type
     * Get datarecords by type
     * @param type Datarecords type (PERFORMANCE, TRANSACTION, DIAGNOSTIC, SECURITY...)
     * @param fromDate From date (2016-08-30 17:12:46Z)
     * @param toDate To date (2016-08-30 17:12:46Z)
     * @param page Page (omit to retrieve all records at once)
     * @param pageSize Page size
     * @param sort Sorting fields
     * @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.
     */
    getDatarecords(type: string, fromDate?: Date, toDate?: Date, page?: number, pageSize?: number, sort?: string, observe?: 'body', reportProgress?: boolean): Observable<DatarecordList>;
    getDatarecords(type: string, fromDate?: Date, toDate?: Date, page?: number, pageSize?: number, sort?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<DatarecordList>>;
    getDatarecords(type: string, fromDate?: Date, toDate?: Date, page?: number, pageSize?: number, sort?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<DatarecordList>>;
    /**
     * Retrieve datarecords types
     * Retrieve datarecords types
     * @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.
     */
    getDatarecordsTypes(observe?: 'body', reportProgress?: boolean): Observable<Array<string>>;
    getDatarecordsTypes(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<string>>>;
    getDatarecordsTypes(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<string>>>;
    /**
     * Verify datarecords export with these param queries don\&#39;t exceed limits
     * Verify datarecords export with these param queries don\&#39;t exceed limits
     * @param type Datarecords type (PERFORMANCE, TRANSACTION, DIAGNOSTIC, SECURITY...)
     * @param hashedSession Hashed session (SHA512)
     * @param usersId User natural ID
     * @param operations Operations list
     * @param fromDate From date (2016-08-30 17:12:46Z)
     * @param toDate To date (2016-08-30 17:12:46Z)
     * @param resultCode Result code
     * @param anyError Default value is false
     * @param singleCsv Default value is true
     * @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.
     */
    verifyDatarecordsExport(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'body', reportProgress?: boolean): Observable<object>;
    verifyDatarecordsExport(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
    verifyDatarecordsExport(type: string, hashedSession?: string, usersId?: number, operations?: Array<string>, fromDate?: Date, toDate?: Date, resultCode?: string, anyError?: boolean, singleCsv?: boolean, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
}