package com.remax.visualnovel.api.service


import com.remax.visualnovel.entity.request.AIIDRequest
import com.remax.visualnovel.entity.request.Gift
import com.remax.visualnovel.entity.request.PageQuery
import com.remax.visualnovel.entity.response.AIDict
import com.remax.visualnovel.entity.response.ChatBubble
import com.remax.visualnovel.entity.response.ChatModel
import com.remax.visualnovel.entity.response.Pageable
import com.remax.visualnovel.entity.response.base.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface DictService {

    /**
     * 获取聊天气泡字典
     */
    @POST("/web/chat-set/get-chat-bubble-list")
    suspend fun getChatBubbleList(@Body request: AIIDRequest): Response<List<ChatBubble>>

    /**
     * AI标签
     */
    @POST("/web/get-ai-dict")
    suspend fun getAIDict(): Response<AIDict>

    /**
     * 礼物字典
     */
    @POST("/web/gift/dict-list")
    suspend fun getGiftDict(@Body pageQuery: PageQuery = PageQuery(1).apply { page.ps = 100 }): Response<Pageable<Gift>>

    /**
     * chat模型
     */
    @POST("/web/chat-model/dict-list")
    suspend fun getAIChatModel(): Response<List<ChatModel>>
}