export enum InsurancePaths { Medicare = "medicare", MedicareAdvantage = "medicare_advantage", Medicaid = "medicaid", Private = "private", Other = "other", } export enum FormDataFields { CallTypeRequested = "call_type_requested", Challenges = "challenges", HasConsent = "has_consent", ConsentCheck = "consent_check", DualEligible = "dual_eligible", Email = "email", FirstName = "first_name", HasMedicare = "has_medicare", HasMedicareAdvantage = "has_medicare_advantage", HereFor = "here_for", HowCanWeHelp = "how_can_we_help", InsuranceCompanyId = "insurance_company_id", OtherInsuranceCompanyName = "other_insurance_company_name", InsuranceId = "insurance_id", InsurancePath = "insurance_path", LastName = "last_name", LivingSituation = "living_situation", LovedOneFirstName = "loved_one_first_name", LovedOneLastName = "loved_one_last_name", Medigap = "medigap", MedicareNumber = "medicare_number", MemberId = "member_id", PatientDOB = "patient_dob", PatientSex = "patient_sex", Phone = "phone", PhoneLineType = "phone_line_type", PolicyHolder = "policy_holder", PolicyHolderFirstName = "policy_holder_first_name", PolicyHolderLastName = "policy_holder_last_name", PolicyHolderRelationship = "policy_holder_relationship", Reason = "reason", State = "state", Struggles = "struggles", SubscriberDOB = "subscriber_dob", SubscriberSex = "subscriber_sex", SubscriberSSN = "subscriber_ssn", SupplementalInsurance = "supplemental_insurance", TimeOfDay = "time_of_day", When = "when", QueueOptIn = "queue_opt_in", } export enum HereFor { SELF = "self", LOVED_ONE = "loved_one", } export type ProspectPayload = { here_for?: HereFor | null; insurance_path?: InsurancePaths | null; state?: string | null; city?: string | null; lat?: string | null; long?: string | null; email?: string | null; first_name?: string | null; last_name?: string | null; phone?: string | null; reason?: string[]; time_of_day?: string | null; policy_holder?: string; policy_holder_first_name?: string | null; policy_holder_last_name?: string | null; policy_holder_relationship?: string | null; payor_id?: string | null; has_health_insurance?: boolean; insurance_company_id?: string | null; supplemental_insurance?: string | null; medicare_number?: string | null; medigap?: string | null; insurance_id?: string | null; member_id?: string | null; patient_dob?: string | null; patient_sex?: string | null; subscriber_dob?: string | null; subscriber_sex?: string | null; subscriber_ssn?: string | null; consent_check?: string | null; how_can_we_help?: string | null; }; export type Prospect = { id: string; user_id: string | null; booking_id: string | null; booking_hold_id: string | null; first_name: string | null; last_name: string | null; email: string | null; phone: string | null; here_for: HereFor; last_interaction_dt: Date; loved_one_name: string | null; loved_one_relationship: string | null; category: string | null; conditions: string[]; how_can_we_help: string | null; city: string | null; state: string | null; requires_in_person: boolean; extra_context: string | null; lat: string; long: string; payload: ProspectPayload; is_here_for_self: boolean; is_here_for_loved_one: boolean; } & Include; export enum EventTypes { FUNNEL_ENTRY = "FUNNEL_ENTRY", HERE_FOR_SELECTED = "HERE_FOR_SELECTED", }