41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
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']
|
|
}
|