/** * MAB API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * 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, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BulkMailRequest } from '../model/models'; import { Classifier } from '../model/models'; import { Client } from '../model/models'; import { ClientStatistics } from '../model/models'; import { Mail } from '../model/models'; import { MailUser } from '../model/models'; import { Transaction } from '../model/models'; import { Configuration } from '../configuration'; export declare class ClientsService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Get classifiers * @param classifierType * @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. */ apiClassifiersGet(classifierType?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClassifiersGet(classifierType?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiClassifiersGet(classifierType?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Gets deleted clients * @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. */ apiClientsDeletedGet(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiClientsDeletedGet(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsDeletedGet(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets clients by classifiers * @param classifiers * @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. */ apiClientsGet(classifiers?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsGet(classifiers?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiClientsGet(classifiers?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Gets client employees * @param id Client 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. */ apiClientsIdEmployeesGet(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsIdEmployeesGet(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiClientsIdEmployeesGet(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Gets client by id * @param id Client 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. */ apiClientsIdGet(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiClientsIdGet(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsIdGet(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Send mail to client. * @param id * @param bulkMailRequest * @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. */ apiClientsIdMailsPost(id: number, bulkMailRequest?: BulkMailRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsIdMailsPost(id: number, bulkMailRequest?: BulkMailRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiClientsIdMailsPost(id: number, bulkMailRequest?: BulkMailRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Get client statistics * @param id Client id * @param dateFrom Statistics date from * @param dateTo Statistics date to * @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. */ apiClientsIdStatisticsGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiClientsIdStatisticsGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsIdStatisticsGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get clients transactions * @param id * @param includeDocs Included transaction docs ids * @param excludeDocs Excluded transaction docs ids * @param currency Currency id * @param dateFrom Transactions date from * @param dateTo Transactions date to * @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. */ apiClientsIdTransactionsGet(id: number, includeDocs?: Array, excludeDocs?: Array, currency?: number, dateFrom?: string, dateTo?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiClientsIdTransactionsGet(id: number, includeDocs?: Array, excludeDocs?: Array, currency?: number, dateFrom?: string, dateTo?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiClientsIdTransactionsGet(id: number, includeDocs?: Array, excludeDocs?: Array, currency?: number, dateFrom?: string, dateTo?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; }