WIP jordan
This commit is contained in:
55
app/types/customer-profile.ts
Normal file
55
app/types/customer-profile.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
export type CustomerProfileVault = {
|
||||
version: number
|
||||
full_name: string
|
||||
document_id: string
|
||||
document_expiry: string
|
||||
nationality: string
|
||||
smoking: boolean
|
||||
height_cm: string
|
||||
weight_kg: string
|
||||
medical_conditions: string
|
||||
plate: string
|
||||
vin: string
|
||||
year: string
|
||||
use_type: string
|
||||
declared_value: string
|
||||
network: string
|
||||
deductible_usd: string
|
||||
preexisting_disclosure: string
|
||||
coverage_zone: string
|
||||
usa_cover: string
|
||||
repatriation: string
|
||||
address: string
|
||||
construction_type: string
|
||||
contents_sum: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
export function emptyCustomerProfile(): CustomerProfileVault {
|
||||
return {
|
||||
version: 1,
|
||||
full_name: '',
|
||||
document_id: '',
|
||||
document_expiry: '',
|
||||
nationality: '',
|
||||
smoking: false,
|
||||
height_cm: '',
|
||||
weight_kg: '',
|
||||
medical_conditions: '',
|
||||
plate: '',
|
||||
vin: '',
|
||||
year: '',
|
||||
use_type: '',
|
||||
declared_value: '',
|
||||
network: '',
|
||||
deductible_usd: '',
|
||||
preexisting_disclosure: '',
|
||||
coverage_zone: '',
|
||||
usa_cover: '',
|
||||
repatriation: '',
|
||||
address: '',
|
||||
construction_type: '',
|
||||
contents_sum: '',
|
||||
updatedAt: new Date().toISOString()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user