WIP jordan
This commit is contained in:
46
app/types/auto-quote-intake.ts
Normal file
46
app/types/auto-quote-intake.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
export type AutoQuoteMode = 'single' | 'comparative_pdf'
|
||||
|
||||
export type AutoQuoteSegment = 'individual' | 'corporate' | 'fleet'
|
||||
|
||||
export type AutoQuoteClient = {
|
||||
fullName: string
|
||||
email: string
|
||||
phone: string
|
||||
/** Cédula / pasaporte / ID */
|
||||
documentId: string
|
||||
/** Used when segment is corporate or fleet */
|
||||
organizationName: string
|
||||
}
|
||||
|
||||
export type AutoQuoteVehicle = {
|
||||
subRamo: string
|
||||
clase: string
|
||||
uso: string
|
||||
marca: string
|
||||
modelo: string
|
||||
placa: string
|
||||
year: string | null
|
||||
capacidadPasajeros: string
|
||||
valorVehiculo: string
|
||||
}
|
||||
|
||||
export type AutoQuoteSolicit = {
|
||||
carrierIds: string[]
|
||||
planIds: string[]
|
||||
}
|
||||
|
||||
export type AutoQuoteDraft = {
|
||||
quoteMode: AutoQuoteMode | null
|
||||
segment: AutoQuoteSegment | null
|
||||
client: AutoQuoteClient
|
||||
vehicle: AutoQuoteVehicle
|
||||
solicit: AutoQuoteSolicit
|
||||
}
|
||||
|
||||
export type AutoQuoteIntakePayload = {
|
||||
quoteMode: AutoQuoteMode
|
||||
segment: AutoQuoteSegment
|
||||
client: AutoQuoteClient
|
||||
vehicle: AutoQuoteVehicle
|
||||
solicit: AutoQuoteSolicit
|
||||
}
|
||||
Reference in New Issue
Block a user