Skip to content

Commit ed68307

Browse files
chore(internal): minor updates (#377)
1 parent c4d2b64 commit ed68307

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-a14d8915465614a275f05ccb91513576fab0525b488cb878dbe3d692f5b2349f.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-f3cab810772df12f57fc7a4a7e27e4fa6fb4a8022fd52178b5116b4089f0544b.yml

src/finch/types/hris/employment_data.py

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ class EmploymentData(BaseModel):
7878
last_name: Optional[str] = None
7979
"""The legal last name of the individual."""
8080

81+
latest_rehire_date: Optional[str] = None
82+
8183
location: Optional[Location] = None
8284

8385
manager: Optional[Manager] = None

src/finch/types/provider.py

+3
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ class Provider(BaseModel):
413413
authentication_methods: Optional[List[AuthenticationMethod]] = None
414414
"""The list of authentication methods supported by the provider."""
415415

416+
beta: Optional[bool] = None
417+
"""`true` if the integration is in a beta state, `false` otherwise"""
418+
416419
display_name: Optional[str] = None
417420
"""The display name of the payroll provider."""
418421

tests/api_resources/test_access_tokens.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_method_create(self, client: Finch) -> None:
2828
def test_method_create_with_all_params(self, client: Finch) -> None:
2929
access_token = client.access_tokens.create(
3030
code="<your_authorization_code>",
31-
client_id="<your_client_id>",
31+
client_id="12345678-1234-1234-1234-123456789ABC",
3232
client_secret="<your_client_secret>",
3333
redirect_uri="https://example.com",
3434
)
@@ -73,7 +73,7 @@ async def test_method_create(self, async_client: AsyncFinch) -> None:
7373
async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None:
7474
access_token = await async_client.access_tokens.create(
7575
code="<your_authorization_code>",
76-
client_id="<your_client_id>",
76+
client_id="12345678-1234-1234-1234-123456789ABC",
7777
client_secret="<your_client_secret>",
7878
redirect_uri="https://example.com",
7979
)

0 commit comments

Comments
 (0)