File tree 1 file changed +7
-27
lines changed
1 file changed +7
-27
lines changed Original file line number Diff line number Diff line change 2
2
3
3
from __future__ import annotations
4
4
5
- from typing import Optional
6
- from typing_extensions import Literal , TypedDict
5
+ from typing_extensions import TypedDict
6
+
7
+ from .benefit_type import BenefitType
8
+ from .benefit_frequency import BenefitFrequency
7
9
8
10
__all__ = ["BenefitCreateParams" ]
9
11
10
12
11
13
class BenefitCreateParams (TypedDict , total = False ):
12
14
description : str
13
15
14
- frequency : Optional [Literal ["one_time" , "every_paycheck" ]]
15
-
16
- type : Optional [
17
- Literal [
18
- "401k" ,
19
- "401k_roth" ,
20
- "401k_loan" ,
21
- "403b" ,
22
- "403b_roth" ,
23
- "457" ,
24
- "457_roth" ,
25
- "s125_medical" ,
26
- "s125_dental" ,
27
- "s125_vision" ,
28
- "hsa_pre" ,
29
- "hsa_post" ,
30
- "fsa_medical" ,
31
- "fsa_dependent_care" ,
32
- "simple_ira" ,
33
- "simple" ,
34
- "commuter" ,
35
- "custom_post_tax" ,
36
- "custom_pre_tax" ,
37
- ]
38
- ]
16
+ frequency : BenefitFrequency
17
+
18
+ type : BenefitType
39
19
"""Type of benefit."""
You can’t perform that action at this time.
0 commit comments