package com.cool.store.service;

import com.cool.store.dto.partner.EnterInterviewDto;
import com.cool.store.dto.partner.LineQueryInterviewDto;
import com.cool.store.exception.ApiException;
import com.cool.store.request.ModifyInterviewTimeReq;
import com.cool.store.vo.EnterInterviewVO;
import com.cool.store.vo.PartnerInterviewInfoVO;
import com.cool.store.vo.PartnerPassLetterDetailVO;

public interface PartnerInterviewService {

    /**
     * 加盟商查询面试信息
     * @param partnerId
     * @return
     */
    PartnerInterviewInfoVO queryByPartnerId(String partnerId);

    PartnerInterviewInfoVO queryByPartnerLineId(LineQueryInterviewDto request) throws ApiException;

    /**
     * 进入面试间的方法
     * 修改一些面试状态
     * 最后返回 userSign 用于进入腾讯云音视频房间
     * @return userSign 进入视频所需签名
     */
    EnterInterviewVO enterInterviewRoom(EnterInterviewDto dto) throws ApiException;

    /**
     * 获取通知函详情
     */
    PartnerPassLetterDetailVO passLetterDetail(String interviewPlanId) throws ApiException;

    /**
     * 修改面试时间
     * @param request
     */
    void modifyInterviewTime(ModifyInterviewTimeReq request) throws ApiException;



}
