Skip to content

release: 0.20.0 #350

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 3 commits into from
Apr 16, 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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: 0.24.0
RYE_INSTALL_OPTION: "--yes"
RYE_INSTALL_OPTION: '--yes'

- name: Install dependencies
run: |
Expand All @@ -39,3 +39,5 @@ jobs:
- name: Ensure importable
run: |
rye run python -c 'import finch'


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.19.1"
".": "0.20.0"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.20.0 (2024-04-12)

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

### Features

* **api:** updates ([#349](https://github.com/Finch-API/finch-api-python/issues/349)) ([c996e4a](https://github.com/Finch-API/finch-api-python/commit/c996e4a6a729b149805e630eeedec6fe29bea09c))


### Chores

* **internal:** formatting ([#351](https://github.com/Finch-API/finch-api-python/issues/351)) ([5a521ad](https://github.com/Finch-API/finch-api-python/commit/5a521ad9b2fe7d758e981bcec18f6bc569a2739a))

## 0.19.1 (2024-04-10)

Full Changelog: [v0.19.0...v0.19.1](https://github.com/Finch-API/finch-api-python/compare/v0.19.0...v0.19.1)
Expand Down
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.19.1"
version = "0.20.0"
description = "The official Python library for the Finch API"
dynamic = ["readme"]
license = "Apache-2.0"
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.19.1" # x-release-please-version
__version__ = "0.20.0" # x-release-please-version
25 changes: 25 additions & 0 deletions src/finch/types/create_access_token_response.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing_extensions import Literal

from .._models import BaseModel

__all__ = ["CreateAccessTokenResponse"]


class CreateAccessTokenResponse(BaseModel):
access_token: str

account_id: str
"""The Finch uuid of the account used to connect this company."""

client_type: Literal["production", "development", "sandbox"]
"""The type of application associated with a token."""

company_id: str
"""The Finch uuid of the company associated with the `access_token`."""

connection_type: Literal["provider", "finch"]
"""The type of the connection associated with the token.

- `provider` - connection to an external provider
- `finch` - finch-generated data.
"""

products: List[str]
"""An array of the authorized products associated with the `access_token`."""

provider_id: str
"""The payroll provider associated with the `access_token`."""