Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanbierce committed Jan 28, 2025
1 parent 66d9a92 commit f87731c
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from abc import ABC, abstractmethod

from flux_sdk.benefits_enrollments.data_models import CompanyEnrollmentInfo
from flux_sdk.flux_core.data_models import File, Employee
from flux_sdk.flux_core.data_models import Employee, File


class ReportEmployeeEnrollments(ABC):
Expand Down
78 changes: 61 additions & 17 deletions flux_sdk/benefits_enrollments/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,66 @@ class BenefitsLineType(Enum):
"""
Describes the type of benefit plan.
"""
"""Medical"""
"""Medical plan"""
MEDICAL = "MEDICAL"
"""Dental"""
"""Dental plan"""
DENTAL = "DENTAL"
"""Vision"""
"""Vision plan"""
VISION = "VISION"
"""Life"""
"""Short term disability plan"""
SHORT_DISABILITY = "SHORT_DISABILITY"
"""Long term disability plan"""
LONG_DISABILITY = "LONG_DISABILITY"
"""Life insurance plan"""
LIFE = "LIFE"
"""Voluntary life"""
VOLUNTARY_LIFE = "VOLUNTARY_LIFE"
"""Secondary life"""
"""Acc"""
ACCIDENTAL_DEATH_AND_DISMEMBERMENT = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT"
"""Supplemental life insurance plan"""
SECONDARY_LIFE = "SECONDARY_LIFE"
"""Accidental death and dismemberment"""
ADD = "ADD"
"""Disability"""
DISABILITY = "DISABILITY"
"""FSA"""
"""Voluntary life insurance plan"""
VOLUNTARY_LIFE = "VOLUNTARY_LIFE"
"""Critical illness plan"""
CRITICAL_ILLNESS = "CRITICAL_ILLNESS"
"""Parking benefits"""
PARKING = "PARKING"
"""Transit benefits"""
TRANSIT = "TRANSIT"
"""Health savings account"""
FSA = "FSA"
"""HSA"""
HSA = "HSA"
"""Health savings account"""
HEALTH_SAVING = "HEALTH_SAVING"
"""Cancer insurance plan"""
CANCER = "CANCER"
"""Accident insurance plan"""
ACCIDENT = "ACCIDENT"
"""Hospital indemnity plan"""
HOSPITAL = "HOSPITAL"
"""Employee assistance program"""
EMPLOYEE_ASSISTANCE_PROGRAM = "EMPLOYEE_ASSISTANCE_PROGRAM"
"""Pet insurance plan"""
PET_INSURANCE = "PET_INSURANCE"
"""Travel insurance"""
TRAVEL_INSURANCE = "TRAVEL_INSURANCE"
""""Legal aid benefit"""
LEGAL_AID = "LEGAL_AID"
"""Identity theft protection"""
IDENTITY_THEFT = "IDENTITY_THEFT"
"""Remote medical care"""
TELEMEDICINE = "TELEMEDICINE"
"""Mental health benefits"""
MENTAL_HEALTH = "MENTAL_HEALTH"
"""Fertility program"""
FERTILITY = "FERTILITY"
"""Financial wellness program"""
FINANCIAL_WELLNESS = "FINANCIAL_WELLNESS"
"""Primary care program"""
PRIMARY_CARE = "PRIMARY_CARE"
"""Maternity benefits"""
MATERNITY = "MATERNITY"
"""Care assistance"""
CARE_NAVIGATION = "CARE_NAVIGATION"
"""Health reimbursement account"""
HEALTH_REIMBURSEMENT = "HEALTH_REIMBURSEMENT"

class BaseMemberLineDetails:
"""
Expand All @@ -86,7 +126,9 @@ class LifeLineMemberDetails(BaseMemberLineDetails):
This object contains the details of an individual enrolled in a life benefit plan.
"""
"""The amount of coverage for this member"""
coverageVolume: float
baseCoverageVolume: float
"""The amount of voluntary coverage for this member"""
voluntaryCoverageVolume: float


class GroupingType(Enum):
Expand Down Expand Up @@ -126,6 +168,8 @@ class LineEnrollment:
groupingType: GroupingType
"""Indicates if the employee is enrolled in COBRA"""
isCobra: bool
"""Indicates if the employee has waived the plan"""
isWaived: bool

class BenefitsPlan:
"""The details of a benefit plan"""
Expand All @@ -140,7 +184,7 @@ class BenefitsPlan:
"""The plan class code"""
classCode: str

class EmployeeEnrollment:
class EmployeeEnrollments:
"""This object contains the details of an employee's enrollments in benefit plans."""
"""The unique ID of the employee"""
employeeId: str
Expand All @@ -155,5 +199,5 @@ class CompanyEnrollmentInfo:
"""The list of plans offered by the company"""
plans: list[BenefitsPlan]
"""The list of employees and their enrollments"""
employeeEnrollments: list[EmployeeEnrollment]
employeeEnrollments: list[EmployeeEnrollments]

5 changes: 4 additions & 1 deletion flux_sdk/flux_core/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,11 @@ class Name:
This contains the details of an employee's name.
"""
first: str
""" The middle name of the employee """
middle: Optional[str]
""" The last name of the employee """
last: str
""" The suffix of the employee """
suffix: Optional[str]
""" The prefix of the employee """
title: Optional[str]

0 comments on commit f87731c

Please sign in to comment.