import { updateTeamMemberSchema } from './src/validators/teamMembers.validator';

try {
  const req = {
    body: {
      name: 'Saydou Niang',
      role: 'Conseiller Commercial',
      image_url: '/uploads/properties/property-1787313835824.webp',
      email: '',
      phone: '',
      linkedin_url: '',
      sort_order: 0,
      is_active: true
    }
  };

  const validated = updateTeamMemberSchema.parse(req);
  console.log('Success:', validated);
} catch (error: any) {
  console.error('Validation failed:', JSON.stringify(error.errors, null, 2));
}
