diff --git a/backend/server/api/coach/speak.post.ts b/backend/server/api/coach/speak.post.ts index 680c173..238337f 100644 --- a/backend/server/api/coach/speak.post.ts +++ b/backend/server/api/coach/speak.post.ts @@ -1,5 +1,11 @@ import type { H3Event } from "h3"; import type { VoiceConfig } from "../../utils/plan-features"; +import { getPlanLimits } from "../../utils/plan-features"; +import { + getRemainingVoiceQuota, + consumeVoiceQuota, + estimateAudioSeconds, +} from "../../db/voiceQuota"; /** * POST /api/coach/speak