diff --git a/src/api/auth.ts b/src/api/auth.ts index 8a1b163..878b577 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -42,6 +42,17 @@ export const authApi = { return response.data }, + // Register standalone email account (no Telegram required) + registerEmailStandalone: async (data: { + email: string + password: string + first_name?: string + language?: string + }): Promise => { + const response = await apiClient.post('/cabinet/auth/email/register/standalone', data) + return response.data + }, + // Verify email verifyEmail: async (token: string): Promise<{ message: string }> => { const response = await apiClient.post('/cabinet/auth/email/verify', { token })