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.449.0"
".": "0.450.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: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5444aa15ed771b293975e4ea457bbf96f3fd4268dab9cef1d64fc18efbba3718.yml
openapi_spec_hash: 94be74f7b294a338dd47d95721bb52ae
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f3d22401feb4671870673cb67688b163ee7f26acb6d2f89dcf79b26b0675523f.yml
openapi_spec_hash: 4d6dbce33f5de203d92df4c20a957665
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.450.0 (2026-03-19)

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

### Features

* **api:** api update ([7e47f38](https://github.com/Increase/increase-python/commit/7e47f38865a9511e1dfd4a3fcfb66885a1cb22e5))

## 0.449.0 (2026-03-18)

Full Changelog: [v0.448.0...v0.449.0](https://github.com/Increase/increase-python/compare/v0.448.0...v0.449.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.449.0"
version = "0.450.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.449.0" # x-release-please-version
__version__ = "0.450.0" # x-release-please-version
22 changes: 22 additions & 0 deletions src/increase/resources/wire_drawdown_requests.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 wire_drawdown_request_list_params, wire_drawdown_request_create_params
Expand Down Expand Up @@ -52,6 +54,7 @@ def create(
debtor_address: wire_drawdown_request_create_params.DebtorAddress,
debtor_name: str,
unstructured_remittance_information: str,
charge_bearer: Literal["shared", "debtor", "creditor", "service_level"] | Omit = omit,
debtor_account_number: str | Omit = omit,
debtor_external_account_id: str | Omit = omit,
debtor_routing_number: str | Omit = omit,
Expand Down Expand Up @@ -82,6 +85,14 @@ def create(

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

charge_bearer: Determines who bears the cost of the drawdown request. Defaults to `shared` if
not specified.

- `shared` - Charges are shared between the debtor and creditor.
- `debtor` - Charges are borne by the debtor.
- `creditor` - Charges are borne by the creditor.
- `service_level` - Charges are determined by the service level.

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
Expand Down Expand Up @@ -113,6 +124,7 @@ def create(
"debtor_address": debtor_address,
"debtor_name": debtor_name,
"unstructured_remittance_information": unstructured_remittance_information,
"charge_bearer": charge_bearer,
"debtor_account_number": debtor_account_number,
"debtor_external_account_id": debtor_external_account_id,
"debtor_routing_number": debtor_routing_number,
Expand Down Expand Up @@ -255,6 +267,7 @@ async def create(
debtor_address: wire_drawdown_request_create_params.DebtorAddress,
debtor_name: str,
unstructured_remittance_information: str,
charge_bearer: Literal["shared", "debtor", "creditor", "service_level"] | Omit = omit,
debtor_account_number: str | Omit = omit,
debtor_external_account_id: str | Omit = omit,
debtor_routing_number: str | Omit = omit,
Expand Down Expand Up @@ -285,6 +298,14 @@ async def create(

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

charge_bearer: Determines who bears the cost of the drawdown request. Defaults to `shared` if
not specified.

- `shared` - Charges are shared between the debtor and creditor.
- `debtor` - Charges are borne by the debtor.
- `creditor` - Charges are borne by the creditor.
- `service_level` - Charges are determined by the service level.

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
Expand Down Expand Up @@ -316,6 +337,7 @@ async def create(
"debtor_address": debtor_address,
"debtor_name": debtor_name,
"unstructured_remittance_information": unstructured_remittance_information,
"charge_bearer": charge_bearer,
"debtor_account_number": debtor_account_number,
"debtor_external_account_id": debtor_external_account_id,
"debtor_routing_number": debtor_routing_number,
Expand Down
16 changes: 15 additions & 1 deletion src/increase/types/wire_drawdown_request.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional
from typing import TYPE_CHECKING, Dict, Optional
from datetime import datetime
from typing_extensions import Literal

from pydantic import Field as FieldInfo

from .._models import BaseModel

__all__ = ["WireDrawdownRequest", "CreditorAddress", "DebtorAddress", "Submission"]
Expand Down Expand Up @@ -163,3 +165,15 @@ class WireDrawdownRequest(BaseModel):

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

if TYPE_CHECKING:
# Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
# value to this field, so for compatibility we avoid doing it at runtime.
__pydantic_extra__: Dict[str, object] = FieldInfo(init=False) # pyright: ignore[reportIncompatibleVariableOverride]

# Stub to indicate that arbitrary properties are accepted.
# To access properties that are not valid identifiers you can use `getattr`, e.g.
# `getattr(obj, '$type')`
def __getattr__(self, attr: str) -> object: ...
else:
__pydantic_extra__: Dict[str, object]
13 changes: 12 additions & 1 deletion src/increase/types/wire_drawdown_request_create_params.py
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__ = ["WireDrawdownRequestCreateParams", "CreditorAddress", "DebtorAddress"]

Expand All @@ -29,6 +29,17 @@ class WireDrawdownRequestCreateParams(TypedDict, total=False):
unstructured_remittance_information: Required[str]
"""Remittance information the debtor will see as part of the request."""

charge_bearer: Literal["shared", "debtor", "creditor", "service_level"]
"""Determines who bears the cost of the drawdown request.

Defaults to `shared` if not specified.

- `shared` - Charges are shared between the debtor and creditor.
- `debtor` - Charges are borne by the debtor.
- `creditor` - Charges are borne by the creditor.
- `service_level` - Charges are determined by the service level.
"""

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

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_wire_drawdown_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
},
debtor_name="Ian Crease",
unstructured_remittance_information="Invoice 29582",
charge_bearer="shared",
debtor_account_number="987654321",
debtor_external_account_id="debtor_external_account_id",
debtor_routing_number="101050001",
Expand Down Expand Up @@ -248,6 +249,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
},
debtor_name="Ian Crease",
unstructured_remittance_information="Invoice 29582",
charge_bearer="shared",
debtor_account_number="987654321",
debtor_external_account_id="debtor_external_account_id",
debtor_routing_number="101050001",
Expand Down