Skip to content
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 @@
{
".": "1.40.0"
".": "1.41.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 46
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-6190639c909b62f2e182a32dc56a80a87ca470e8970efd6ce8d3d7bd659d237c.yml
openapi_spec_hash: c4078fa61a4ab0b480a2c7b40e495104
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-970ab04a97244c68824c0c52e06925cba14fb7dbfc36c03167c1afe74cd1b150.yml
openapi_spec_hash: 315e7859c3f77311261fb824b74a8247
config_hash: f2846563903bf75ab0858872154df0f7
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.41.0 (2025-11-09)

Full Changelog: [v1.40.0...v1.41.0](https://github.com/Finch-API/finch-api-python/compare/v1.40.0...v1.41.0)

### Features

* **api:** api update ([ed4e919](https://github.com/Finch-API/finch-api-python/commit/ed4e9191ba201f5f19afd33f5f1a76bdd80c90e6))

## 1.40.0 (2025-11-04)

Full Changelog: [v1.39.0...v1.40.0](https://github.com/Finch-API/finch-api-python/compare/v1.39.0...v1.40.0)
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 = "1.40.0"
version = "1.41.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__ = "1.40.0" # x-release-please-version
__version__ = "1.41.0" # x-release-please-version
62 changes: 52 additions & 10 deletions src/finch/types/hris/benefits/individual_benefit.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,32 @@

class BodyUnionMember0CompanyContributionUnionMember0(BaseModel):
amount: int
"""Contribution amount in cents."""
"""
Contribution amount in cents (for type=fixed) or basis points (for type=percent,
where 100 = 1%). Not used for type=tiered.
"""

type: Literal["fixed"]
"""Fixed contribution type."""
"""Contribution type.

Supported values: "fixed" (amount in cents), "percent" (amount in basis points),
or "tiered" (multi-tier matching).
"""


class BodyUnionMember0CompanyContributionUnionMember1(BaseModel):
amount: int
"""Contribution amount in basis points (1/100th of a percent)."""
"""
Contribution amount in cents (for type=fixed) or basis points (for type=percent,
where 100 = 1%). Not used for type=tiered.
"""

type: Literal["percent"]
"""Percentage contribution type."""
"""Contribution type.

Supported values: "fixed" (amount in cents), "percent" (amount in basis points),
or "tiered" (multi-tier matching).
"""


class BodyUnionMember0CompanyContributionUnionMember2Tier(BaseModel):
Expand All @@ -47,11 +61,15 @@ class BodyUnionMember0CompanyContributionUnionMember2(BaseModel):
tiers: List[BodyUnionMember0CompanyContributionUnionMember2Tier]
"""
Array of tier objects defining employer match tiers based on employee
contribution thresholds.
contribution thresholds. Required when type=tiered.
"""

type: Literal["tiered"]
"""Tiered contribution type (only valid for company_contribution)."""
"""Contribution type.

Supported values: "fixed" (amount in cents), "percent" (amount in basis points),
or "tiered" (multi-tier matching).
"""


BodyUnionMember0CompanyContribution: TypeAlias = Union[
Expand All @@ -64,18 +82,32 @@ class BodyUnionMember0CompanyContributionUnionMember2(BaseModel):

class BodyUnionMember0EmployeeDeductionUnionMember0(BaseModel):
amount: int
"""Contribution amount in cents."""
"""
Contribution amount in cents (for type=fixed) or basis points (for type=percent,
where 100 = 1%).
"""

type: Literal["fixed"]
"""Fixed contribution type."""
"""Contribution type.

Supported values: "fixed" (amount in cents) or "percent" (amount in basis
points).
"""


class BodyUnionMember0EmployeeDeductionUnionMember1(BaseModel):
amount: int
"""Contribution amount in basis points (1/100th of a percent)."""
"""
Contribution amount in cents (for type=fixed) or basis points (for type=percent,
where 100 = 1%).
"""

type: Literal["percent"]
"""Percentage contribution type."""
"""Contribution type.

Supported values: "fixed" (amount in cents) or "percent" (amount in basis
points).
"""


BodyUnionMember0EmployeeDeduction: TypeAlias = Union[
Expand All @@ -96,8 +128,18 @@ class BodyUnionMember0(BaseModel):
"""

company_contribution: Optional[BodyUnionMember0CompanyContribution] = None
"""Company contribution configuration.

Supports fixed amounts (in cents), percentage-based contributions (in basis
points where 100 = 1%), or tiered matching structures.
"""

employee_deduction: Optional[BodyUnionMember0EmployeeDeduction] = None
"""Employee deduction configuration.

Supports both fixed amounts (in cents) and percentage-based contributions (in
basis points where 100 = 1%).
"""

hsa_contribution_limit: Optional[Literal["individual", "family"]] = None
"""Type for HSA contribution limit if the benefit is a HSA."""
Expand Down
2 changes: 1 addition & 1 deletion src/finch/types/request_forwarding_forward_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Request(BaseModel):
data: Union[str, Dict[str, Optional[object]], None] = None
"""The body that was specified for the forwarded request."""

headers: Optional[Dict[str, Optional[object]]] = None
headers: Optional[Dict[str, str]] = None
"""The HTTP headers that were specified for the forwarded request."""

params: Optional[Dict[str, Optional[object]]] = None
Expand Down