/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { UpsertVoteRequest, Vote, VotesResponse } from '../models/index'; export interface ListChatVotesRequest { chatId: string; xUserId: string; } export interface UpsertChatVoteRequest { chatId: string; xUserId: string; upsertVoteRequest: UpsertVoteRequest; } /** * */ export declare class VotesApi extends runtime.BaseAPI { /** * Returns all votes for the specified chat belonging to the authenticated account user. * List votes for a chat */ listChatVotesRaw(requestParameters: ListChatVotesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns all votes for the specified chat belonging to the authenticated account user. * List votes for a chat */ listChatVotes(requestParameters: ListChatVotesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates or updates a vote on a message in the specified chat. One vote per message is allowed. * Create or update a vote */ upsertChatVoteRaw(requestParameters: UpsertChatVoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates or updates a vote on a message in the specified chat. One vote per message is allowed. * Create or update a vote */ upsertChatVote(requestParameters: UpsertChatVoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }