WIP jordan
This commit is contained in:
42
app/types/life-quote-intake.ts
Normal file
42
app/types/life-quote-intake.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import type { AutoQuoteClient } from '~/types/auto-quote-intake'
|
||||
|
||||
export type LifeQuoteMode = 'single' | 'comparative_pdf'
|
||||
|
||||
export type LifeQuoteSegment = 'individual' | 'corporate_keyman' | 'group'
|
||||
|
||||
export type LifeQuoteDraft = {
|
||||
quoteMode: LifeQuoteMode | null
|
||||
segment: LifeQuoteSegment | null
|
||||
client: AutoQuoteClient
|
||||
/** Life-specific subscriber details */
|
||||
life: {
|
||||
dateOfBirth: string
|
||||
age: string
|
||||
gender: string
|
||||
smoker: boolean
|
||||
preexistingConditions: boolean
|
||||
preexistingDetails: string
|
||||
coverageAmount: string
|
||||
coverageTerm: string
|
||||
beneficiaryName: string
|
||||
beneficiaryRelationship: string
|
||||
}
|
||||
/** Mock: forms marked complete to proceed */
|
||||
forms: {
|
||||
medicalQuestionnaire: boolean
|
||||
beneficiaryDesignation: boolean
|
||||
groupCensus: boolean
|
||||
}
|
||||
solicit: {
|
||||
carrierIds: string[]
|
||||
planIds: string[]
|
||||
}
|
||||
}
|
||||
|
||||
export type LifeQuoteIntakePayload = {
|
||||
quoteMode: LifeQuoteMode
|
||||
segment: LifeQuoteSegment
|
||||
client: AutoQuoteClient
|
||||
life: LifeQuoteDraft['life']
|
||||
solicit: LifeQuoteDraft['solicit']
|
||||
}
|
||||
Reference in New Issue
Block a user