fix(aihr): expose enabled scenarios to supervisors
This commit is contained in:
@@ -30,13 +30,18 @@ export interface TeamProfile {
|
||||
risk: 'high' | 'medium' | 'low';
|
||||
}
|
||||
|
||||
export const supervisorScenarioOptions = [
|
||||
export interface SupervisorScenarioOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export const supervisorScenarioOptions: SupervisorScenarioOption[] = [
|
||||
{ id: 'fee-parking', name: '催费沟通' },
|
||||
{ id: 'complaint-water', name: '投诉接待' },
|
||||
{ id: 'repair-elevator-delay', name: '电梯故障' }
|
||||
] as const;
|
||||
];
|
||||
|
||||
export type SupervisorScenarioId = typeof supervisorScenarioOptions[number]['id'];
|
||||
export type SupervisorScenarioId = string;
|
||||
|
||||
export interface AsyncGenerationGuard {
|
||||
capture: () => number;
|
||||
|
||||
Reference in New Issue
Block a user