Skip to content

chore(internal): minor updates #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 35
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-a14d8915465614a275f05ccb91513576fab0525b488cb878dbe3d692f5b2349f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-f3cab810772df12f57fc7a4a7e27e4fa6fb4a8022fd52178b5116b4089f0544b.yml
2 changes: 2 additions & 0 deletions src/finch/types/hris/employment_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class EmploymentData(BaseModel):
last_name: Optional[str] = None
"""The legal last name of the individual."""

latest_rehire_date: Optional[str] = None

location: Optional[Location] = None

manager: Optional[Manager] = None
Expand Down
3 changes: 3 additions & 0 deletions src/finch/types/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ class Provider(BaseModel):
authentication_methods: Optional[List[AuthenticationMethod]] = None
"""The list of authentication methods supported by the provider."""

beta: Optional[bool] = None
"""`true` if the integration is in a beta state, `false` otherwise"""

display_name: Optional[str] = None
"""The display name of the payroll provider."""

Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_access_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_method_create(self, client: Finch) -> None:
def test_method_create_with_all_params(self, client: Finch) -> None:
access_token = client.access_tokens.create(
code="<your_authorization_code>",
client_id="<your_client_id>",
client_id="12345678-1234-1234-1234-123456789ABC",
client_secret="<your_client_secret>",
redirect_uri="https://example.com",
)
Expand Down Expand Up @@ -73,7 +73,7 @@ async def test_method_create(self, async_client: AsyncFinch) -> None:
async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None:
access_token = await async_client.access_tokens.create(
code="<your_authorization_code>",
client_id="<your_client_id>",
client_id="12345678-1234-1234-1234-123456789ABC",
client_secret="<your_client_secret>",
redirect_uri="https://example.com",
)
Expand Down