71 lines
2.9 KiB
TypeScript
71 lines
2.9 KiB
TypeScript
/** Auto quoting — option lists aligned with grid filters / production LOB vocabulary (ES labels). */
|
|
|
|
export const AUTO_RAMO_LABEL = 'Vehículos'
|
|
|
|
/** First option is empty — pair with placeholder “Select one” in UI */
|
|
export const AUTO_SUB_RAMO_OPTIONS: { label: string; value: string }[] = [
|
|
{ label: 'Manual', value: 'manual' },
|
|
{ label: 'Cobertura completa', value: 'cobertura_completa' },
|
|
{ label: 'Daños a terceros', value: 'danos_terceros' }
|
|
]
|
|
|
|
export const AUTO_CLASE_OPTIONS: { label: string; value: string }[] = [
|
|
{ label: 'Pickup', value: 'pickup' },
|
|
{ label: 'Mula', value: 'mula' },
|
|
{ label: 'Van', value: 'van' },
|
|
{ label: 'MiniVan', value: 'minivan' },
|
|
{ label: 'Panel', value: 'panel' },
|
|
{ label: 'Camión', value: 'camion' },
|
|
{ label: 'Camioneta', value: 'camioneta' },
|
|
{ label: 'Sedan', value: 'sedan' },
|
|
{ label: 'Cabezal', value: 'cabezal' },
|
|
{ label: 'Bus (0-15)', value: 'bus_0_15' },
|
|
{ label: 'Bus (16-30)', value: 'bus_16_30' },
|
|
{ label: 'Bus (+30)', value: 'bus_30_plus' },
|
|
{ label: 'Liviano', value: 'liviano' },
|
|
{ label: 'Mediano', value: 'mediano' },
|
|
{ label: 'Pesado', value: 'pesado' },
|
|
{ label: 'Moto', value: 'moto' }
|
|
]
|
|
|
|
export const AUTO_USO_OPTIONS: { label: string; value: string }[] = [
|
|
{ label: 'Particular', value: 'particular' },
|
|
{ label: 'Comercial', value: 'comercial' }
|
|
]
|
|
|
|
export const AUTO_MARCA_OPTIONS: { label: string; value: string }[] = [
|
|
{ label: 'Toyota', value: 'toyota' }
|
|
]
|
|
|
|
export const AUTO_MODELO_OPTIONS: { label: string; value: string }[] = [
|
|
{ label: 'Cellica', value: 'cellica' },
|
|
{ label: 'Corolla', value: 'corolla' }
|
|
]
|
|
|
|
const currentYear = new Date().getFullYear()
|
|
|
|
export const AUTO_YEAR_OPTIONS: { label: string; value: string }[] = [
|
|
...Array.from({ length: 22 }, (_, i) => {
|
|
const y = String(currentYear - i)
|
|
return { label: y, value: y }
|
|
})
|
|
]
|
|
|
|
/**
|
|
* Carriers available for solicit — in production, matches providers configured under Settings / Providers
|
|
* (each has a quoting email on file).
|
|
*/
|
|
export const AUTO_QUOTE_CARRIERS: { id: string; name: string; detail: string }[] = [
|
|
{ id: 'mapfre', name: 'Mapfre', detail: 'Quoting email on file in provider profile' },
|
|
{ id: 'seguros_aurora', name: 'Seguros Aurora', detail: 'Quoting email on file in provider profile' },
|
|
{ id: 'continental', name: 'Continental', detail: 'Quoting email on file in provider profile' },
|
|
{ id: 'internacional', name: 'Internacional', detail: 'Quoting email on file in provider profile' }
|
|
]
|
|
|
|
/** Predetermined plan packages — comparative mode builds side-by-side rows from these */
|
|
export const AUTO_COVERAGE_PLANS: { id: string; label: string; hint: string }[] = [
|
|
{ id: 'cc_full', label: 'Cobertura completa', hint: 'Collision, comprehensive, liability' },
|
|
{ id: 'dat', label: 'Daños a terceros', hint: 'Third-party liability' },
|
|
{ id: 'plan_corporate', label: 'Paquete corporativo', hint: 'Fleet-friendly endorsements' }
|
|
]
|