Add nuxt-skills and update auto quotes to use new policy API structure
- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
This commit is contained in:
@@ -4,13 +4,8 @@ export function emptyAutoQuoteDraft(): AutoQuoteDraft {
|
||||
return {
|
||||
quoteMode: null,
|
||||
segment: null,
|
||||
client: {
|
||||
fullName: '',
|
||||
email: '',
|
||||
phone: '',
|
||||
documentId: '',
|
||||
organizationName: ''
|
||||
},
|
||||
insured: null,
|
||||
buyer: null,
|
||||
vehicle: {
|
||||
subRamo: '',
|
||||
clase: '',
|
||||
@@ -20,7 +15,11 @@ export function emptyAutoQuoteDraft(): AutoQuoteDraft {
|
||||
placa: '',
|
||||
year: '',
|
||||
capacidadPasajeros: '',
|
||||
valorVehiculo: ''
|
||||
rc_limits: '',
|
||||
market_value: 0,
|
||||
requested_value: 0,
|
||||
chassis_number: '',
|
||||
engine_number: ''
|
||||
},
|
||||
solicit: {
|
||||
carrierIds: [],
|
||||
|
||||
Reference in New Issue
Block a user