/** * Solidex.Chat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null * 1.0 * undefined */ import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as __model from '../model'; import * as i0 from "@angular/core"; export interface GetMyChatsParams { /** * page size (default 20) * format: int32 * default: 20 */ pageSize?: number; /** * page number (default 1) * format: int32 * default: 1 */ pageNumber?: number; /** * Identifier of the company to be received * format: uuid */ companyId?: string; /** * Identifier of the application to be received * format: uuid */ applicationId?: string; /** * The requested API version * default: 1.0 */ apiVersion?: string; } export interface CreateChatParams { /** * The requested API version * default: 1.0 */ apiVersion?: string; model: __model.CreateChatRequest; } export interface GetChatParams { /** * Identifier of the chat to be received * format: uuid */ id: string; /** * The requested API version * default: 1.0 */ apiVersion?: string; } export interface UpdateChatParams { /** * Identifier of the chat to be received * format: uuid */ id: string; /** * The requested API version * default: 1.0 */ apiVersion?: string; model: __model.UpdateChatRequest; } export interface PatchChatParams { /** * chat id * format: uuid */ id: string; /** * The requested API version * default: 1.0 */ apiVersion?: string; /** patch document */ model: __model.Operation[]; } export interface DeleteChatParams { /** * The requested API version * default: 1.0 */ apiVersion?: string; model: __model.DeleteChatRequest; } export declare class ChatService { private http; constructor(http: HttpClient); /** * The method provider possibility to get a chat preview list * http://undefined/swagger/swagger-ui.html#!/Chat/GetMyChats */ GetMyChats(params: GetMyChatsParams): Observable<__model.GetMyChatsResponse>; /** * The method provider possibility to create a chat * http://undefined/swagger/swagger-ui.html#!/Chat/CreateChat */ CreateChat(params: CreateChatParams): Observable<__model.CreateChatResponse>; /** * The method provider possibility to get a chat by id * http://undefined/swagger/swagger-ui.html#!/Chat/GetChat */ GetChat(params: GetChatParams): Observable<__model.GetMyChatsResponse>; /** * The method provider possibility to update a chat by id * http://undefined/swagger/swagger-ui.html#!/Chat/UpdateChat */ UpdateChat(params: UpdateChatParams): Observable<__model.UpdateChatResponse>; /** * The method provider possibility to patch a chat by id and patch doc * http://undefined/swagger/swagger-ui.html#!/Chat/PatchChat */ PatchChat(params: PatchChatParams): Observable<__model.PatchChatResponse>; /** * The method provider possibility to delete a chat by id * http://undefined/swagger/swagger-ui.html#!/Chat/DeleteChat */ DeleteChat(params: DeleteChatParams): Observable<__model.DeleteChatResponse>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }