/** * 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 { CreateMailRequest } from '../model/models'; import { CreateThemeRequest } from '../model/models'; import { Mail } from '../model/models'; import { Theme } from '../model/models'; import { ThemeStatusEnum } from '../model/models'; import { Configuration } from '../configuration'; export declare class MailService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Send mail to client employee. * @param createThemeRequest * @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. */ apiMailsPost(createThemeRequest?: CreateThemeRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiMailsPost(createThemeRequest?: CreateThemeRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiMailsPost(createThemeRequest?: CreateThemeRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get mail themes. * @param clientId Clinet id * @param themeTitle Theme title * @param classifiers Classifiers * @param themeStatus Theme status. 1 - opened, 2 - closed * @param dateFrom Creation time from * @param dateTo Creation time to * @param offset offset for select * @param limit limit for select * @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. */ apiThemesGet(clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiThemesGet(clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiThemesGet(clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Get mails by theme id. * @param id * @param clientId Clinet id * @param themeTitle Theme title * @param classifiers Classifiers * @param themeStatus Theme status. 1 - opened, 2 - closed * @param dateFrom Creation time from * @param dateTo Creation time to * @param offset offset for select * @param limit limit for select * @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. */ apiThemesIdMailsGet(id: number, clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiThemesIdMailsGet(id: number, clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiThemesIdMailsGet(id: number, clientId?: number, themeTitle?: string, classifiers?: Array, themeStatus?: ThemeStatusEnum, dateFrom?: string, dateTo?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Send mail to employee. * @param id * @param createMailRequest * @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. */ apiThemesIdMailsPost(id: number, createMailRequest?: CreateMailRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiThemesIdMailsPost(id: number, createMailRequest?: CreateMailRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiThemesIdMailsPost(id: number, createMailRequest?: CreateMailRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get mails by id * @param 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. */ getMailById(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getMailById(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getMailById(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; }