59 lines
1.4 KiB
TypeScript
59 lines
1.4 KiB
TypeScript
export type ProviderEmailRole =
|
|
| 'general'
|
|
| 'claims'
|
|
| 'renewals'
|
|
| 'management'
|
|
| 'general_risk_quotes'
|
|
| 'auto_full_coverage_quotes'
|
|
| 'auto_dat_quotes'
|
|
| 'health_local_quotes'
|
|
| 'health_international_quotes'
|
|
| 'other_quotes'
|
|
| 'other'
|
|
|
|
export type ProviderContactEmails = Record<ProviderEmailRole, string>
|
|
|
|
export const PROVIDER_EMAIL_ROLE_ORDER: ProviderEmailRole[] = [
|
|
'general',
|
|
'claims',
|
|
'renewals',
|
|
'management',
|
|
'general_risk_quotes',
|
|
'auto_full_coverage_quotes',
|
|
'auto_dat_quotes',
|
|
'health_local_quotes',
|
|
'health_international_quotes',
|
|
'other_quotes',
|
|
'other'
|
|
]
|
|
|
|
export const PROVIDER_EMAIL_ROLE_LABEL: Record<ProviderEmailRole, string> = {
|
|
general: 'General',
|
|
claims: 'Claims',
|
|
renewals: 'Renewals',
|
|
management: 'Management',
|
|
general_risk_quotes: 'General risk quotes',
|
|
auto_full_coverage_quotes: 'Auto · full coverage quotes',
|
|
auto_dat_quotes: 'Auto · DAT (liability) quotes',
|
|
health_local_quotes: 'Health · local quotes',
|
|
health_international_quotes: 'Health · international quotes',
|
|
other_quotes: 'Other quotes',
|
|
other: 'Other'
|
|
}
|
|
|
|
export function emptyProviderContacts(): ProviderContactEmails {
|
|
return {
|
|
general: '',
|
|
claims: '',
|
|
renewals: '',
|
|
management: '',
|
|
general_risk_quotes: '',
|
|
auto_full_coverage_quotes: '',
|
|
auto_dat_quotes: '',
|
|
health_local_quotes: '',
|
|
health_international_quotes: '',
|
|
other_quotes: '',
|
|
other: ''
|
|
}
|
|
}
|