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 @@
{
".": "0.308.0"
".": "0.309.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: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a6d99e6e3e405acf3e592e273aa1c5d519ed4f1157d0f87f1dcf21e7710f59b5.yml
openapi_spec_hash: f1f21c7331c905f2e5549978454059dc
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-7d240ad280fc9ed22a8bbe219835ed737b075963291d84b75efbbb38195eff8b.yml
openapi_spec_hash: f2a2cad4f01bf5ab66e1f3dcb719315a
config_hash: 632b628b59d8f0b717153b3d8133f6cb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.309.0 (2025-08-29)

Full Changelog: [v0.308.0...v0.309.0](https://github.com/Increase/increase-python/compare/v0.308.0...v0.309.0)

### Features

* **api:** api update ([cecd1c1](https://github.com/Increase/increase-python/commit/cecd1c17ec0f8ae46eed2b3230577bf6749ad766))

## 0.308.0 (2025-08-28)

Full Changelog: [v0.307.0...v0.308.0](https://github.com/Increase/increase-python/compare/v0.307.0...v0.308.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 = "increase"
version = "0.308.0"
version = "0.309.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_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__ = "increase"
__version__ = "0.308.0" # x-release-please-version
__version__ = "0.309.0" # x-release-please-version
26 changes: 26 additions & 0 deletions src/increase/resources/simulations/inbound_check_deposits.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from __future__ import annotations

from typing_extensions import Literal

import httpx

from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
Expand Down Expand Up @@ -47,6 +49,7 @@ def create(
account_number_id: str,
amount: int,
check_number: str,
payee_name_analysis: Literal["name_matches", "does_not_match", "not_evaluated"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -71,6 +74,16 @@ def create(

check_number: The check number on the check to be deposited.

payee_name_analysis: Simulate the outcome of
[payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
Defaults to `not_evaluated`.

- `name_matches` - The details on the check match the recipient name of the
check transfer.
- `does_not_match` - The details on the check do not match the recipient name of
the check transfer.
- `not_evaluated` - The payee name analysis was not evaluated.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -88,6 +101,7 @@ def create(
"account_number_id": account_number_id,
"amount": amount,
"check_number": check_number,
"payee_name_analysis": payee_name_analysis,
},
inbound_check_deposit_create_params.InboundCheckDepositCreateParams,
),
Expand Down Expand Up @@ -128,6 +142,7 @@ async def create(
account_number_id: str,
amount: int,
check_number: str,
payee_name_analysis: Literal["name_matches", "does_not_match", "not_evaluated"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -152,6 +167,16 @@ async def create(

check_number: The check number on the check to be deposited.

payee_name_analysis: Simulate the outcome of
[payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
Defaults to `not_evaluated`.

- `name_matches` - The details on the check match the recipient name of the
check transfer.
- `does_not_match` - The details on the check do not match the recipient name of
the check transfer.
- `not_evaluated` - The payee name analysis was not evaluated.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -169,6 +194,7 @@ async def create(
"account_number_id": account_number_id,
"amount": amount,
"check_number": check_number,
"payee_name_analysis": payee_name_analysis,
},
inbound_check_deposit_create_params.InboundCheckDepositCreateParams,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

from typing_extensions import Required, TypedDict
from typing_extensions import Literal, Required, TypedDict

__all__ = ["InboundCheckDepositCreateParams"]

Expand All @@ -16,3 +16,16 @@ class InboundCheckDepositCreateParams(TypedDict, total=False):

check_number: Required[str]
"""The check number on the check to be deposited."""

payee_name_analysis: Literal["name_matches", "does_not_match", "not_evaluated"]
"""
Simulate the outcome of
[payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
Defaults to `not_evaluated`.

- `name_matches` - The details on the check match the recipient name of the
check transfer.
- `does_not_match` - The details on the check do not match the recipient name of
the check transfer.
- `not_evaluated` - The payee name analysis was not evaluated.
"""
20 changes: 20 additions & 0 deletions tests/api_resources/simulations/test_inbound_check_deposits.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ def test_method_create(self, client: Increase) -> None:
)
assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"])

@parametrize
def test_method_create_with_all_params(self, client: Increase) -> None:
inbound_check_deposit = client.simulations.inbound_check_deposits.create(
account_number_id="account_number_v18nkfqm6afpsrvy82b2",
amount=1000,
check_number="1234567890",
payee_name_analysis="name_matches",
)
assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"])

@parametrize
def test_raw_response_create(self, client: Increase) -> None:
response = client.simulations.inbound_check_deposits.with_raw_response.create(
Expand Down Expand Up @@ -69,6 +79,16 @@ async def test_method_create(self, async_client: AsyncIncrease) -> None:
)
assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"])

@parametrize
async def test_method_create_with_all_params(self, async_client: AsyncIncrease) -> None:
inbound_check_deposit = await async_client.simulations.inbound_check_deposits.create(
account_number_id="account_number_v18nkfqm6afpsrvy82b2",
amount=1000,
check_number="1234567890",
payee_name_analysis="name_matches",
)
assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"])

@parametrize
async def test_raw_response_create(self, async_client: AsyncIncrease) -> None:
response = await async_client.simulations.inbound_check_deposits.with_raw_response.create(
Expand Down