Skip to content

Commit bce68bb

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): updates (#346)
1 parent 9734174 commit bce68bb

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/finch/types/hris/benefit_features_and_operations.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ class SupportedFeatures(BaseModel):
2020
This field will only be true for retirement benefits.
2121
"""
2222

23-
company_contribution: Optional[List[Literal["fixed", "percent"]]] = None
23+
company_contribution: Optional[List[Optional[Literal["fixed", "percent"]]]] = None
2424
"""Supported contribution types.
2525
2626
An empty array indicates contributions are not supported.
2727
"""
2828

2929
description: Optional[str] = None
3030

31-
employee_deduction: Optional[List[Literal["fixed", "percent"]]] = None
31+
employee_deduction: Optional[List[Optional[Literal["fixed", "percent"]]]] = None
3232
"""Supported deduction types.
3333
3434
An empty array indicates deductions are not supported.
@@ -37,7 +37,7 @@ class SupportedFeatures(BaseModel):
3737
frequencies: Optional[List[Optional[BenefitFrequency]]] = None
3838
"""The list of frequencies supported by the provider for this benefit"""
3939

40-
hsa_contribution_limit: Optional[List[Literal["individual", "family"]]] = None
40+
hsa_contribution_limit: Optional[List[Optional[Literal["individual", "family"]]]] = None
4141
"""Whether the provider supports HSA contribution limits.
4242
4343
Empty if this feature is not supported for the benefit. This array only has

src/finch/types/hris/supported_benefit.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ class SupportedBenefit(BaseModel):
2020
This field will only be true for retirement benefits.
2121
"""
2222

23-
company_contribution: Optional[List[Literal["fixed", "percent"]]] = None
23+
company_contribution: Optional[List[Optional[Literal["fixed", "percent"]]]] = None
2424
"""Supported contribution types.
2525
2626
An empty array indicates contributions are not supported.
2727
"""
2828

2929
description: Optional[str] = None
3030

31-
employee_deduction: Optional[List[Literal["fixed", "percent"]]] = None
31+
employee_deduction: Optional[List[Optional[Literal["fixed", "percent"]]]] = None
3232
"""Supported deduction types.
3333
3434
An empty array indicates deductions are not supported.
@@ -37,7 +37,7 @@ class SupportedBenefit(BaseModel):
3737
frequencies: Optional[List[Optional[BenefitFrequency]]] = None
3838
"""The list of frequencies supported by the provider for this benefit"""
3939

40-
hsa_contribution_limit: Optional[List[Literal["individual", "family"]]] = None
40+
hsa_contribution_limit: Optional[List[Optional[Literal["individual", "family"]]]] = None
4141
"""Whether the provider supports HSA contribution limits.
4242
4343
Empty if this feature is not supported for the benefit. This array only has

src/finch/types/sandbox/directory_create_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BodyDepartment(TypedDict, total=False):
4343
class BodyEmail(TypedDict, total=False):
4444
data: str
4545

46-
type: Literal["work", "personal"]
46+
type: Optional[Literal["work", "personal"]]
4747

4848

4949
class BodyEmployment(TypedDict, total=False):
@@ -66,7 +66,7 @@ class BodyManager(TypedDict, total=False):
6666
class BodyPhoneNumber(TypedDict, total=False):
6767
data: str
6868

69-
type: Literal["work", "personal"]
69+
type: Optional[Literal["work", "personal"]]
7070

7171

7272
class Body(TypedDict, total=False):

src/finch/types/sandbox/individual_update_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ class IndividualUpdateParams(TypedDict, total=False):
6666
class Email(TypedDict, total=False):
6767
data: str
6868

69-
type: Literal["work", "personal"]
69+
type: Optional[Literal["work", "personal"]]
7070

7171

7272
class PhoneNumber(TypedDict, total=False):
7373
data: str
7474

75-
type: Literal["work", "personal"]
75+
type: Optional[Literal["work", "personal"]]

0 commit comments

Comments
 (0)