WIP jordan
This commit is contained in:
58
app/types/provider-contacts.ts
Normal file
58
app/types/provider-contacts.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
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: ''
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user