package com.remax.visualnovel.api.service

import com.remax.visualnovel.BuildConfig
import com.remax.visualnovel.entity.request.CompleteUserInfoInput
import com.remax.visualnovel.entity.response.Character
import com.remax.visualnovel.entity.response.User
import com.remax.visualnovel.entity.response.base.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface UserService{

    /**
     * 签到
     */
    @POST("/web/si/asi")
    suspend fun signToday(): Response<Boolean>

    /**
     * 获取签到周期数据
     */
    /*@POST("/web/si/list")
    suspend fun getSignList(): Response<SignInRoundOutput>*/

    /**
     * 获取登录用户基础信息
     */
    @POST("/web/user/base-info")
    suspend fun getMyBaseInfo(): Response<User>

    /**
     * 获取me页面的ai列表
     */
    @POST("/web/ai-user-search/base-list")
    suspend fun getMyCharactersList(): Response<List<Character>>

    /**
     * 删除账号
     */
    @POST("/web/user/del")
    suspend fun deleteAccount(): Response<Any>

    @POST("/web/user/edit-user-info")
    suspend fun updateUserInfo(@Body request: CompleteUserInfoInput): Response<Any>

    /**
     * 获取云信appKey account token
     */
    /*@POST(BuildConfig.API_PIGEON + "/web/im-user/get-account")
    suspend fun getNimInfo(): Response<NimBean>*/

}