/**
 * 医生排班变更日志 API（只读列表/详情/动作下拉）
 */
import { requestClient } from '#/api/request';

const prefix = 'doctor-schedule-log/';

export async function getDoctorScheduleLogList(data: any) {
  return requestClient.get<any>(`${prefix}list`, { params: data });
}

export async function getDoctorScheduleLogDetail(id: number) {
  return requestClient.get<any>(`${prefix}detail`, { params: { id } });
}

export async function getScheduleLogActionOption() {
  return requestClient.get<{ label: string; value: number }[]>(
    `${prefix}action-option`,
  );
}
