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.287.0"
".": "0.288.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: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-70837ed2f8d4ade9021fc0f50bf3cd77cdf05f308c4ed75b2b4dcc42f1ec2378.yml
openapi_spec_hash: 09cf1c77dce2927cb41426a287a15437
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b232355836603d9dbb0ca86d4a946b458726531675db3fa1c4feeee10ff41011.yml
openapi_spec_hash: e986bdc1f77192e14e9075a7b1eac0f9
config_hash: b0b366d8c705ea0efe62093bae953e5a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.288.0 (2025-08-18)

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

### Features

* **api:** api update ([5c5cc35](https://github.com/Increase/increase-python/commit/5c5cc35bfa7aac3709c10b36b9313439fc701de7))

## 0.287.0 (2025-08-15)

Full Changelog: [v0.286.0...v0.287.0](https://github.com/Increase/increase-python/compare/v0.286.0...v0.287.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.287.0"
version = "0.288.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.287.0" # x-release-please-version
__version__ = "0.288.0" # x-release-please-version
42 changes: 26 additions & 16 deletions src/increase/resources/wire_drawdown_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ def create(
amount: int,
creditor_address: wire_drawdown_request_create_params.CreditorAddress,
creditor_name: str,
debtor_account_number: str,
debtor_address: wire_drawdown_request_create_params.DebtorAddress,
debtor_name: str,
debtor_routing_number: str,
unstructured_remittance_information: str,
debtor_account_number: str | NotGiven = NOT_GIVEN,
debtor_external_account_id: str | NotGiven = NOT_GIVEN,
debtor_routing_number: str | 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 @@ -74,16 +75,19 @@ def create(

creditor_name: The creditor's name.

debtor_account_number: The debtor's account number.

debtor_address: The debtor's address.

debtor_name: The debtor's name.

debtor_routing_number: The debtor's routing number.

unstructured_remittance_information: Remittance information the debtor will see as part of the request.

debtor_account_number: The debtor's account number.

debtor_external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is
provided, `debtor_account_number` and `debtor_routing_number` must be absent.

debtor_routing_number: The debtor's routing number.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -102,11 +106,12 @@ def create(
"amount": amount,
"creditor_address": creditor_address,
"creditor_name": creditor_name,
"debtor_account_number": debtor_account_number,
"debtor_address": debtor_address,
"debtor_name": debtor_name,
"debtor_routing_number": debtor_routing_number,
"unstructured_remittance_information": unstructured_remittance_information,
"debtor_account_number": debtor_account_number,
"debtor_external_account_id": debtor_external_account_id,
"debtor_routing_number": debtor_routing_number,
},
wire_drawdown_request_create_params.WireDrawdownRequestCreateParams,
),
Expand Down Expand Up @@ -242,11 +247,12 @@ async def create(
amount: int,
creditor_address: wire_drawdown_request_create_params.CreditorAddress,
creditor_name: str,
debtor_account_number: str,
debtor_address: wire_drawdown_request_create_params.DebtorAddress,
debtor_name: str,
debtor_routing_number: str,
unstructured_remittance_information: str,
debtor_account_number: str | NotGiven = NOT_GIVEN,
debtor_external_account_id: str | NotGiven = NOT_GIVEN,
debtor_routing_number: str | 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 @@ -267,16 +273,19 @@ async def create(

creditor_name: The creditor's name.

debtor_account_number: The debtor's account number.

debtor_address: The debtor's address.

debtor_name: The debtor's name.

debtor_routing_number: The debtor's routing number.

unstructured_remittance_information: Remittance information the debtor will see as part of the request.

debtor_account_number: The debtor's account number.

debtor_external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is
provided, `debtor_account_number` and `debtor_routing_number` must be absent.

debtor_routing_number: The debtor's routing number.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -295,11 +304,12 @@ async def create(
"amount": amount,
"creditor_address": creditor_address,
"creditor_name": creditor_name,
"debtor_account_number": debtor_account_number,
"debtor_address": debtor_address,
"debtor_name": debtor_name,
"debtor_routing_number": debtor_routing_number,
"unstructured_remittance_information": unstructured_remittance_information,
"debtor_account_number": debtor_account_number,
"debtor_external_account_id": debtor_external_account_id,
"debtor_routing_number": debtor_routing_number,
},
wire_drawdown_request_create_params.WireDrawdownRequestCreateParams,
),
Expand Down
19 changes: 13 additions & 6 deletions src/increase/types/wire_drawdown_request_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,28 @@ class WireDrawdownRequestCreateParams(TypedDict, total=False):
creditor_name: Required[str]
"""The creditor's name."""

debtor_account_number: Required[str]
"""The debtor's account number."""

debtor_address: Required[DebtorAddress]
"""The debtor's address."""

debtor_name: Required[str]
"""The debtor's name."""

debtor_routing_number: Required[str]
"""The debtor's routing number."""

unstructured_remittance_information: Required[str]
"""Remittance information the debtor will see as part of the request."""

debtor_account_number: str
"""The debtor's account number."""

debtor_external_account_id: str
"""The ID of an External Account to initiate a transfer to.

If this parameter is provided, `debtor_account_number` and
`debtor_routing_number` must be absent.
"""

debtor_routing_number: str
"""The debtor's routing number."""


class CreditorAddress(TypedDict, total=False):
city: Required[str]
Expand Down
22 changes: 6 additions & 16 deletions tests/api_resources/test_wire_drawdown_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ def test_method_create(self, client: Increase) -> None:
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
)
assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"])
Expand All @@ -55,7 +53,6 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
"state": "NY",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
Expand All @@ -65,8 +62,10 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
"state": "NY",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
debtor_account_number="987654321",
debtor_external_account_id="debtor_external_account_id",
debtor_routing_number="101050001",
)
assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"])

Expand All @@ -81,14 +80,12 @@ def test_raw_response_create(self, client: Increase) -> None:
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
)

Expand All @@ -108,14 +105,12 @@ def test_streaming_response_create(self, client: Increase) -> None:
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
) as response:
assert not response.is_closed
Expand Down Expand Up @@ -218,14 +213,12 @@ async def test_method_create(self, async_client: AsyncIncrease) -> None:
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
)
assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"])
Expand All @@ -244,7 +237,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
"state": "NY",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
Expand All @@ -254,8 +246,10 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
"state": "NY",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
debtor_account_number="987654321",
debtor_external_account_id="debtor_external_account_id",
debtor_routing_number="101050001",
)
assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"])

Expand All @@ -270,14 +264,12 @@ async def test_raw_response_create(self, async_client: AsyncIncrease) -> None:
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
)

Expand All @@ -297,14 +289,12 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N
"line1": "33 Liberty Street",
},
creditor_name="National Phonograph Company",
debtor_account_number="987654321",
debtor_address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
debtor_name="Ian Crease",
debtor_routing_number="101050001",
unstructured_remittance_information="Invoice 29582",
) as response:
assert not response.is_closed
Expand Down