Skip to content

feat(api): api update #624

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
Mar 25, 2025
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: 41
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-f1779210fbedfc6099076412405288b489f727cbb0b3a85e7b7c12fabb37ef47.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad.yml
16 changes: 8 additions & 8 deletions src/finch/resources/hris/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def list(
) -> DocumentListResponse:
"""**Beta:** This endpoint is in beta and may change.
Retrieve a list of company-wide documents.
Retrieve a list of
company-wide documents.
Args:
individual_ids: Comma-delimited list of stable Finch uuids for each individual. If empty,
Expand Down Expand Up @@ -115,8 +115,8 @@ def retreive(
) -> DocumentRetreiveResponse:
"""**Beta:** This endpoint is in beta and may change.
Retrieve details of a specific document by its ID.
Retrieve details of a
specific document by its ID.
Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -179,8 +179,8 @@ async def list(
) -> DocumentListResponse:
"""**Beta:** This endpoint is in beta and may change.
Retrieve a list of company-wide documents.
Retrieve a list of
company-wide documents.
Args:
individual_ids: Comma-delimited list of stable Finch uuids for each individual. If empty,
Expand Down Expand Up @@ -234,8 +234,8 @@ async def retreive(
) -> DocumentRetreiveResponse:
"""**Beta:** This endpoint is in beta and may change.
Retrieve details of a specific document by its ID.
Retrieve details of a
specific document by its ID.
Args:
extra_headers: Send extra headers
Expand Down
16 changes: 8 additions & 8 deletions tests/api_resources/sandbox/test_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_method_update(self, client: Finch) -> None:
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
Expand Down Expand Up @@ -67,7 +67,7 @@ def test_method_update_with_all_params(self, client: Finch) -> None:
"state": "state",
}
],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
Expand All @@ -81,7 +81,7 @@ def test_raw_response_update(self, client: Finch) -> None:
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)

Expand All @@ -99,7 +99,7 @@ def test_streaming_response_update(self, client: Finch) -> None:
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
) as response:
assert not response.is_closed
Expand All @@ -123,7 +123,7 @@ async def test_method_update(self, async_client: AsyncFinch) -> None:
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
Expand Down Expand Up @@ -164,7 +164,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncFinch) ->
"state": "state",
}
],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
Expand All @@ -178,7 +178,7 @@ async def test_raw_response_update(self, async_client: AsyncFinch) -> None:
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
)

Expand All @@ -196,7 +196,7 @@ async def test_streaming_response_update(self, async_client: AsyncFinch) -> None
entity={},
legal_name="legal_name",
locations=[{}],
primary_email="primary_email",
primary_email="[email protected]",
primary_phone_number="primary_phone_number",
) as response:
assert not response.is_closed
Expand Down