feat(F-083): completed feature
This commit is contained in:
@@ -120,6 +120,8 @@ export const customersApi = {
|
||||
api.patch<import('@/types').Customer>(`/api/users/${id}`, data),
|
||||
create: (data: { email: string; password: string; displayName?: string; phone?: string }) =>
|
||||
api.post<import('@/types').Customer>('/api/auth/register', data),
|
||||
sendPasswordResetLink: (email: string) =>
|
||||
api.post<{ ok: boolean }>('/api/auth/password-reset/request', { email }),
|
||||
// ── Direcciones (FIX-18) ───────────────────────────────────────────────────
|
||||
listAddresses: (id: string) =>
|
||||
api.get<{ items: import('@/types').Address[] }>(`/api/users/${id}/addresses`),
|
||||
|
||||
Reference in New Issue
Block a user