Skip to content

Commit 8f03e74

Browse files
feat(api): updates (#192)
1 parent aad45fe commit 8f03e74

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/finch/types/hris/individual.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ class Individual(BaseModel):
2929

3030
emails: Optional[List[Email]] = None
3131

32+
encrypted_ssn: Optional[str] = None
33+
"""Note: This property is only available if enabled for your account.
34+
35+
Please reach out to your Finch representative if you would like access.
36+
"""
37+
3238
ethnicity: Optional[
3339
Literal[
3440
"asian",

src/finch/types/provider.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"AuthenticationMethodSupportedFieldsEmploymentEmployment",
2626
"AuthenticationMethodSupportedFieldsEmploymentIncome",
2727
"AuthenticationMethodSupportedFieldsEmploymentLocation",
28+
"AuthenticationMethodSupportedFieldsEmploymentManager",
2829
"AuthenticationMethodSupportedFieldsIndividual",
2930
"AuthenticationMethodSupportedFieldsIndividualEmails",
3031
"AuthenticationMethodSupportedFieldsIndividualPhoneNumbers",
@@ -167,6 +168,10 @@ class AuthenticationMethodSupportedFieldsEmploymentLocation(BaseModel):
167168
state: Optional[bool] = None
168169

169170

171+
class AuthenticationMethodSupportedFieldsEmploymentManager(BaseModel):
172+
id: Optional[bool] = None
173+
174+
170175
class AuthenticationMethodSupportedFieldsEmployment(BaseModel):
171176
id: Optional[bool] = None
172177

@@ -192,7 +197,7 @@ class AuthenticationMethodSupportedFieldsEmployment(BaseModel):
192197

193198
location: Optional[AuthenticationMethodSupportedFieldsEmploymentLocation] = None
194199

195-
manager: Optional[object] = None
200+
manager: Optional[AuthenticationMethodSupportedFieldsEmploymentManager] = None
196201

197202
middle_name: Optional[bool] = None
198203

@@ -234,6 +239,8 @@ class AuthenticationMethodSupportedFieldsIndividual(BaseModel):
234239

235240
emails: Optional[AuthenticationMethodSupportedFieldsIndividualEmails] = None
236241

242+
encrypted_ssn: Optional[bool] = None
243+
237244
ethnicity: Optional[bool] = None
238245

239246
first_name: Optional[bool] = None

0 commit comments

Comments
 (0)