diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 03d9f9f6..88f43163 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.21.11" + ".": "0.21.12" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1d061290..5c00677f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-d354479cc46ae377d1b32b8896fd1ffdf4abb8a64e1ef49159fa20528e9e1288.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-f07d08f8590304c1e41dce8d97b2a734c04e9f6736ca1266f3669606682439cf.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index ae341c61..6fe6f3a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.21.12 (2024-07-16) + +Full Changelog: [v0.21.11...v0.21.12](https://github.com/Finch-API/finch-api-python/compare/v0.21.11...v0.21.12) + +### Bug Fixes + +* **api:** remove unused fields ([#432](https://github.com/Finch-API/finch-api-python/issues/432)) ([1d00a32](https://github.com/Finch-API/finch-api-python/commit/1d00a3210dee1aaf3c88334c0acbccbd78b1c48f)) + + +### Chores + +* **docs:** minor update to formatting of API link in README ([#434](https://github.com/Finch-API/finch-api-python/issues/434)) ([178f659](https://github.com/Finch-API/finch-api-python/commit/178f659bcd0005c433548fcbc0611c5be5fac464)) +* **internal:** update formatting ([#435](https://github.com/Finch-API/finch-api-python/issues/435)) ([ae16b3a](https://github.com/Finch-API/finch-api-python/commit/ae16b3ae58e2fb9c987b553b27214ef64c66706e)) +* **internal:** update formatting ([#436](https://github.com/Finch-API/finch-api-python/issues/436)) ([67630b3](https://github.com/Finch-API/finch-api-python/commit/67630b392348670c88b3effdd62b8ad132de8b04)) + ## 0.21.11 (2024-07-15) Full Changelog: [v0.21.10...v0.21.11](https://github.com/Finch-API/finch-api-python/compare/v0.21.10...v0.21.11) diff --git a/README.md b/README.md index 55f1486b..88c99b3b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ and offers both synchronous and asynchronous clients powered by [httpx](https:// ## Documentation -The REST API documentation can be found [in the Finch Documentation Center](https://developer.tryfinch.com/). The full API of this library can be found in [api.md](api.md). +The REST API documentation can be found on [developer.tryfinch.com](https://developer.tryfinch.com/). The full API of this library can be found in [api.md](api.md). ## Installation diff --git a/pyproject.toml b/pyproject.toml index 0ea0bd7b..2246203f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-api" -version = "0.21.11" +version = "0.21.12" description = "The official Python library for the Finch API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/finch/_version.py b/src/finch/_version.py index f9d782cf..bc74e3e0 100644 --- a/src/finch/_version.py +++ b/src/finch/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "finch" -__version__ = "0.21.11" # x-release-please-version +__version__ = "0.21.12" # x-release-please-version diff --git a/src/finch/resources/hris/benefits/benefits.py b/src/finch/resources/hris/benefits/benefits.py index 0484a21d..be079297 100644 --- a/src/finch/resources/hris/benefits/benefits.py +++ b/src/finch/resources/hris/benefits/benefits.py @@ -68,6 +68,10 @@ def create( `/providers` endpoint to view available types for each provider. Args: + description: Name of the benefit as it appears in the provider and pay statements. Recommend + limiting this to <30 characters due to limitations in specific providers (e.g. + Justworks). + type: Type of benefit. extra_headers: Send extra headers @@ -237,6 +241,10 @@ async def create( `/providers` endpoint to view available types for each provider. Args: + description: Name of the benefit as it appears in the provider and pay statements. Recommend + limiting this to <30 characters due to limitations in specific providers (e.g. + Justworks). + type: Type of benefit. extra_headers: Send extra headers diff --git a/src/finch/types/hris/benefit_create_params.py b/src/finch/types/hris/benefit_create_params.py index efea46a5..00537cc6 100644 --- a/src/finch/types/hris/benefit_create_params.py +++ b/src/finch/types/hris/benefit_create_params.py @@ -13,6 +13,11 @@ class BenefitCreateParams(TypedDict, total=False): description: str + """Name of the benefit as it appears in the provider and pay statements. + + Recommend limiting this to <30 characters due to limitations in specific + providers (e.g. Justworks). + """ frequency: Optional[BenefitFrequency] diff --git a/src/finch/types/hris/company_benefit.py b/src/finch/types/hris/company_benefit.py index 642642ba..a3eaeb9c 100644 --- a/src/finch/types/hris/company_benefit.py +++ b/src/finch/types/hris/company_benefit.py @@ -5,7 +5,6 @@ from ..._models import BaseModel from .benefit_type import BenefitType from .benefit_frequency import BenefitFrequency -from .benefit_contribution import BenefitContribution __all__ = ["CompanyBenefit"] @@ -13,12 +12,8 @@ class CompanyBenefit(BaseModel): benefit_id: str - company_contribution: Optional[BenefitContribution] = None - description: Optional[str] = None - employee_deduction: Optional[BenefitContribution] = None - frequency: Optional[BenefitFrequency] = None type: Optional[BenefitType] = None