import { z } from 'zod';

export const twilioConnectSchema = z.object({
  account_sid: z.string().min(1, 'Account SID is required'),
  auth_token: z.string().min(1, 'Auth Token is required'),
});

// Re-exported from validators/sip.validator.ts so the SIP add-on stays isolated.
// See voice-core.ts for the full SIP file deletion map.
export { createSipLineSchema, updateSipLineSchema, testSipConnectionSchema } from './sip.validator';

export const assignAgentSchema = z.object({
  agent_id: z.string().uuid().nullable(),
  number_id: z.string().uuid(),
});
