WIP jordan
This commit is contained in:
40
app/types/health-quote-intake.ts
Normal file
40
app/types/health-quote-intake.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import type { AutoQuoteClient } from '~/types/auto-quote-intake'
|
||||
|
||||
export type HealthQuoteMode = 'single' | 'comparative_pdf'
|
||||
|
||||
export type HealthQuoteSegment = 'individual' | 'corporate' | 'group'
|
||||
|
||||
export type HealthQuoteDraft = {
|
||||
quoteMode: HealthQuoteMode | null
|
||||
segment: HealthQuoteSegment | null
|
||||
client: AutoQuoteClient
|
||||
/** Coverage / product context */
|
||||
health: {
|
||||
coverageArea: '' | 'local' | 'international'
|
||||
networkTier: string
|
||||
deductible: string
|
||||
/** Subscriber screening */
|
||||
dateOfBirth: string
|
||||
age: string
|
||||
preexistingConditions: boolean
|
||||
preexistingDetails: string
|
||||
}
|
||||
/** Mock: forms marked complete to proceed */
|
||||
forms: {
|
||||
medicalQuestionnaire: boolean
|
||||
beneficiaryDesignation: boolean
|
||||
groupCensus: boolean
|
||||
}
|
||||
solicit: {
|
||||
carrierIds: string[]
|
||||
planIds: string[]
|
||||
}
|
||||
}
|
||||
|
||||
export type HealthQuoteIntakePayload = {
|
||||
quoteMode: HealthQuoteMode
|
||||
segment: HealthQuoteSegment
|
||||
client: AutoQuoteClient
|
||||
health: HealthQuoteDraft['health']
|
||||
solicit: HealthQuoteDraft['solicit']
|
||||
}
|
||||
Reference in New Issue
Block a user