Skip to content

release: 0.21.0 #399

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 2 commits into from
Jun 6, 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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.20.10"
".": "0.21.0"
}
4 changes: 2 additions & 2 deletions .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-69265939ed1aa33d9890c86a334730210985961db56757efc28ff43696fbd1a7.yml
configured_endpoints: 37
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-f1001da4ad3c1503330eebc1e61319a1a5db5e2da9fec98bc8682cb0967894d2.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.21.0 (2024-06-06)

Full Changelog: [v0.20.10...v0.21.0](https://github.com/Finch-API/finch-api-python/compare/v0.20.10...v0.21.0)

### Features

* **api:** updates ([#398](https://github.com/Finch-API/finch-api-python/issues/398)) ([4346b67](https://github.com/Finch-API/finch-api-python/commit/4346b67da1382b459c3c41f2ca896a0b4a269d7e))

## 0.20.10 (2024-05-28)

Full Changelog: [v0.20.9...v0.20.10](https://github.com/Finch-API/finch-api-python/compare/v0.20.9...v0.20.10)
Expand Down
15 changes: 15 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,18 @@ Methods:

- <code title="get /sandbox/jobs/configuration">client.sandbox.jobs.configuration.<a href="./src/finch/resources/sandbox/jobs/configuration.py">retrieve</a>() -> <a href="./src/finch/types/sandbox/jobs/configuration_retrieve_response.py">ConfigurationRetrieveResponse</a></code>
- <code title="put /sandbox/jobs/configuration">client.sandbox.jobs.configuration.<a href="./src/finch/resources/sandbox/jobs/configuration.py">update</a>(\*\*<a href="src/finch/types/sandbox/jobs/configuration_update_params.py">params</a>) -> <a href="./src/finch/types/sandbox/jobs/sandbox_job_configuration.py">SandboxJobConfiguration</a></code>

# Payroll

## PayGroups

Types:

```python
from finch.types.payroll import PayGroupRetrieveResponse, PayGroupListResponse
```

Methods:

- <code title="get /employer/pay-group/{pay_group_id}">client.payroll.pay_groups.<a href="./src/finch/resources/payroll/pay_groups.py">retrieve</a>(pay_group_id) -> <a href="./src/finch/types/payroll/pay_group_retrieve_response.py">PayGroupRetrieveResponse</a></code>
- <code title="get /employer/pay-groups">client.payroll.pay_groups.<a href="./src/finch/resources/payroll/pay_groups.py">list</a>(\*\*<a href="src/finch/types/payroll/pay_group_list_params.py">params</a>) -> <a href="./src/finch/types/payroll/pay_group_list_response.py">SyncSinglePage[PayGroupListResponse]</a></code>
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "finch-api"
version = "0.20.10"
version = "0.21.0"
description = "The official Python library for the Finch API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
8 changes: 8 additions & 0 deletions src/finch/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class Finch(SyncAPIClient):
request_forwarding: resources.RequestForwarding
jobs: resources.Jobs
sandbox: resources.Sandbox
payroll: resources.Payroll
with_raw_response: FinchWithRawResponse
with_streaming_response: FinchWithStreamedResponse

Expand Down Expand Up @@ -163,6 +164,7 @@ def __init__(
self.request_forwarding = resources.RequestForwarding(self)
self.jobs = resources.Jobs(self)
self.sandbox = resources.Sandbox(self)
self.payroll = resources.Payroll(self)
self.with_raw_response = FinchWithRawResponse(self)
self.with_streaming_response = FinchWithStreamedResponse(self)

Expand Down Expand Up @@ -410,6 +412,7 @@ class AsyncFinch(AsyncAPIClient):
request_forwarding: resources.AsyncRequestForwarding
jobs: resources.AsyncJobs
sandbox: resources.AsyncSandbox
payroll: resources.AsyncPayroll
with_raw_response: AsyncFinchWithRawResponse
with_streaming_response: AsyncFinchWithStreamedResponse

Expand Down Expand Up @@ -513,6 +516,7 @@ def __init__(
self.request_forwarding = resources.AsyncRequestForwarding(self)
self.jobs = resources.AsyncJobs(self)
self.sandbox = resources.AsyncSandbox(self)
self.payroll = resources.AsyncPayroll(self)
self.with_raw_response = AsyncFinchWithRawResponse(self)
self.with_streaming_response = AsyncFinchWithStreamedResponse(self)

Expand Down Expand Up @@ -760,6 +764,7 @@ def __init__(self, client: Finch) -> None:
self.request_forwarding = resources.RequestForwardingWithRawResponse(client.request_forwarding)
self.jobs = resources.JobsWithRawResponse(client.jobs)
self.sandbox = resources.SandboxWithRawResponse(client.sandbox)
self.payroll = resources.PayrollWithRawResponse(client.payroll)


class AsyncFinchWithRawResponse:
Expand All @@ -771,6 +776,7 @@ def __init__(self, client: AsyncFinch) -> None:
self.request_forwarding = resources.AsyncRequestForwardingWithRawResponse(client.request_forwarding)
self.jobs = resources.AsyncJobsWithRawResponse(client.jobs)
self.sandbox = resources.AsyncSandboxWithRawResponse(client.sandbox)
self.payroll = resources.AsyncPayrollWithRawResponse(client.payroll)


class FinchWithStreamedResponse:
Expand All @@ -782,6 +788,7 @@ def __init__(self, client: Finch) -> None:
self.request_forwarding = resources.RequestForwardingWithStreamingResponse(client.request_forwarding)
self.jobs = resources.JobsWithStreamingResponse(client.jobs)
self.sandbox = resources.SandboxWithStreamingResponse(client.sandbox)
self.payroll = resources.PayrollWithStreamingResponse(client.payroll)


class AsyncFinchWithStreamedResponse:
Expand All @@ -793,6 +800,7 @@ def __init__(self, client: AsyncFinch) -> None:
self.request_forwarding = resources.AsyncRequestForwardingWithStreamingResponse(client.request_forwarding)
self.jobs = resources.AsyncJobsWithStreamingResponse(client.jobs)
self.sandbox = resources.AsyncSandboxWithStreamingResponse(client.sandbox)
self.payroll = resources.AsyncPayrollWithStreamingResponse(client.payroll)


Client = Finch
Expand Down
2 changes: 1 addition & 1 deletion src/finch/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "finch"
__version__ = "0.20.10" # x-release-please-version
__version__ = "0.21.0" # x-release-please-version
14 changes: 14 additions & 0 deletions src/finch/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
AccountWithStreamingResponse,
AsyncAccountWithStreamingResponse,
)
from .payroll import (
Payroll,
AsyncPayroll,
PayrollWithRawResponse,
AsyncPayrollWithRawResponse,
PayrollWithStreamingResponse,
AsyncPayrollWithStreamingResponse,
)
from .sandbox import (
Sandbox,
AsyncSandbox,
Expand Down Expand Up @@ -103,4 +111,10 @@
"AsyncSandboxWithRawResponse",
"SandboxWithStreamingResponse",
"AsyncSandboxWithStreamingResponse",
"Payroll",
"AsyncPayroll",
"PayrollWithRawResponse",
"AsyncPayrollWithRawResponse",
"PayrollWithStreamingResponse",
"AsyncPayrollWithStreamingResponse",
]
33 changes: 33 additions & 0 deletions src/finch/resources/payroll/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .payroll import (
Payroll,
AsyncPayroll,
PayrollWithRawResponse,
AsyncPayrollWithRawResponse,
PayrollWithStreamingResponse,
AsyncPayrollWithStreamingResponse,
)
from .pay_groups import (
PayGroups,
AsyncPayGroups,
PayGroupsWithRawResponse,
AsyncPayGroupsWithRawResponse,
PayGroupsWithStreamingResponse,
AsyncPayGroupsWithStreamingResponse,
)

__all__ = [
"PayGroups",
"AsyncPayGroups",
"PayGroupsWithRawResponse",
"AsyncPayGroupsWithRawResponse",
"PayGroupsWithStreamingResponse",
"AsyncPayGroupsWithStreamingResponse",
"Payroll",
"AsyncPayroll",
"PayrollWithRawResponse",
"AsyncPayrollWithRawResponse",
"PayrollWithStreamingResponse",
"AsyncPayrollWithStreamingResponse",
]
Loading