33from typing import List , Optional
44from typing_extensions import Literal
55
6- from ... types import money
6+ from ..money import Money
77from ..._models import BaseModel
8- from ... types . hris import benefit_type
8+ from .benefit_type import BenefitType
99
1010__all__ = ["PayStatement" , "Earning" , "EmployeeDeduction" , "EmployerContribution" , "Tax" ]
1111
@@ -60,7 +60,7 @@ class EmployeeDeduction(BaseModel):
6060 pre_tax : Optional [bool ]
6161 """Boolean indicating if the deduction is pre-tax."""
6262
63- type : Optional [benefit_type . BenefitType ]
63+ type : Optional [BenefitType ]
6464 """Type of benefit."""
6565
6666
@@ -74,7 +74,7 @@ class EmployerContribution(BaseModel):
7474 name : Optional [str ]
7575 """The contribution name from the pay statement."""
7676
77- type : Optional [benefit_type . BenefitType ]
77+ type : Optional [BenefitType ]
7878 """Type of benefit."""
7979
8080
@@ -104,12 +104,12 @@ class PayStatement(BaseModel):
104104
105105 employer_contributions : Optional [List [Optional [EmployerContribution ]]]
106106
107- gross_pay : Optional [money . Money ]
107+ gross_pay : Optional [Money ]
108108
109109 individual_id : Optional [str ]
110110 """A stable Finch `id` (UUID v4) for an individual in the company"""
111111
112- net_pay : Optional [money . Money ]
112+ net_pay : Optional [Money ]
113113
114114 payment_method : Optional [Literal ["check" , "direct_deposit" ]]
115115 """The payment method."""
0 commit comments