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.278.0"
".": "0.279.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aca6b5e100fcf8da7f6fc67bfbf47543f197f1c3fed52d5f1147b7cbad515546.yml
openapi_spec_hash: 369011703600762a5a5d701b4e843f7b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-66fad62aee38079ae7b0574a128763512b551d0b0f107a056bc981123d8e348d.yml
openapi_spec_hash: 299b75e8d2f36e6fe3d2df4c10d2557c
config_hash: a185e9a72778cc4658ea73fb3a7f1354
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.279.0 (2025-08-07)

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

### Features

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

## 0.278.0 (2025-08-06)

Full Changelog: [v0.277.0...v0.278.0](https://github.com/Increase/increase-python/compare/v0.277.0...v0.278.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.278.0"
version = "0.279.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.278.0" # x-release-please-version
__version__ = "0.279.0" # x-release-please-version
4 changes: 4 additions & 0 deletions src/increase/resources/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def create(
*,
file: FileTypes,
purpose: Literal[
"card_dispute_attachment",
"check_image_front",
"check_image_back",
"mailed_check_image",
Expand Down Expand Up @@ -88,6 +89,7 @@ def create(

purpose: What the File will be used for in Increase's systems.

- `card_dispute_attachment` - A file to be attached to a Card Dispute.
- `check_image_front` - An image of the front of a check, used for check
deposits.
- `check_image_back` - An image of the back of a check, used for check deposits.
Expand Down Expand Up @@ -273,6 +275,7 @@ async def create(
*,
file: FileTypes,
purpose: Literal[
"card_dispute_attachment",
"check_image_front",
"check_image_back",
"mailed_check_image",
Expand Down Expand Up @@ -311,6 +314,7 @@ async def create(

purpose: What the File will be used for in Increase's systems.

- `card_dispute_attachment` - A file to be attached to a Card Dispute.
- `check_image_front` - An image of the front of a check, used for check
deposits.
- `check_image_back` - An image of the back of a check, used for check deposits.
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class File(BaseModel):
"""The MIME type of the file."""

purpose: Literal[
"card_dispute_attachment",
"check_image_front",
"check_image_back",
"processed_check_image_front",
Expand Down Expand Up @@ -75,6 +76,7 @@ class File(BaseModel):
We may add additional possible values for this enum over time; your application
should be able to handle such additions gracefully.

- `card_dispute_attachment` - A file to be attached to a Card Dispute.
- `check_image_front` - An image of the front of a check, used for check
deposits.
- `check_image_back` - An image of the back of a check, used for check deposits.
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/file_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class FileCreateParams(TypedDict, total=False):

purpose: Required[
Literal[
"card_dispute_attachment",
"check_image_front",
"check_image_back",
"mailed_check_image",
Expand All @@ -40,6 +41,7 @@ class FileCreateParams(TypedDict, total=False):
]
"""What the File will be used for in Increase's systems.

- `card_dispute_attachment` - A file to be attached to a Card Dispute.
- `check_image_front` - An image of the front of a check, used for check
deposits.
- `check_image_back` - An image of the back of a check, used for check deposits.
Expand Down
1 change: 1 addition & 0 deletions src/increase/types/file_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class CreatedAt(TypedDict, total=False):
{
"in": List[
Literal[
"card_dispute_attachment",
"check_image_front",
"check_image_back",
"processed_check_image_front",
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_method_list_with_all_params(self, client: Increase) -> None:
cursor="cursor",
idempotency_key="x",
limit=1,
purpose={"in": ["check_image_front"]},
purpose={"in": ["card_dispute_attachment"]},
)
assert_matches_type(SyncPage[File], file, path=["response"])

Expand Down Expand Up @@ -245,7 +245,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncIncrease) ->
cursor="cursor",
idempotency_key="x",
limit=1,
purpose={"in": ["check_image_front"]},
purpose={"in": ["card_dispute_attachment"]},
)
assert_matches_type(AsyncPage[File], file, path=["response"])

Expand Down