From 7fa4e893f826a6c81fdac3ff756a5a42276ec01b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 21:25:23 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- .../types/card_purchase_supplement.py | 69 ++++++++++++++++++- 2 files changed, 70 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index adad4e2a..1b0c2986 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-950769f1aa8e631ab9c5a65eaa03637d8aad949edbd52cbd30dcf187ef02ae6e.yml -openapi_spec_hash: acd76f6541166d80e09c17c3a5c33981 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-975577349dd6828dad7b3d0675f912a8ce7d3e51cf63da93f5672ece1e22319d.yml +openapi_spec_hash: c353a48be0c9ce57b0f0393b9a3ffcb4 config_hash: ac050010e5453883d5e5fa603554a2e0 diff --git a/src/increase/types/card_purchase_supplement.py b/src/increase/types/card_purchase_supplement.py index 03ef7997..a32256f0 100644 --- a/src/increase/types/card_purchase_supplement.py +++ b/src/increase/types/card_purchase_supplement.py @@ -8,7 +8,7 @@ from .._models import BaseModel -__all__ = ["CardPurchaseSupplement", "Invoice", "LineItem"] +__all__ = ["CardPurchaseSupplement", "Invoice", "LineItem", "Shipping"] class Invoice(BaseModel): @@ -174,6 +174,70 @@ class LineItem(BaseModel): """Code indicating unit of measure (gallons, etc.).""" +class Shipping(BaseModel): + """Shipping information for the purchase.""" + + customer_reference_number: Optional[str] = None + """The customer reference number.""" + + destination_address: Optional[str] = None + """Address of the destination.""" + + destination_country_code: Optional[str] = None + """Country code of the destination.""" + + destination_postal_code: Optional[str] = None + """Postal code of the destination.""" + + destination_receiver_name: Optional[str] = None + """Name of the receiver at the destination.""" + + discount_amount: Optional[int] = None + """Discount amount for the shipment.""" + + net_amount: Optional[int] = None + """Net shipping amount.""" + + number_of_packages: Optional[int] = None + """Number of packages shipped.""" + + origin_address: Optional[str] = None + """Address of the origin.""" + + origin_country_code: Optional[str] = None + """Country code of the origin.""" + + origin_postal_code: Optional[str] = None + """Postal code of the origin.""" + + origin_sender_name: Optional[str] = None + """Name of the sender at the origin.""" + + pick_up_date: Optional[date] = None + """Date the shipment should be picked up.""" + + service_description: Optional[str] = None + """Description of the shipping service.""" + + service_level_code: Optional[str] = None + """Service level code for the shipment.""" + + shipping_courier_name: Optional[str] = None + """Name of the shipping courier.""" + + tax_amount: Optional[int] = None + """Tax amount for the shipment.""" + + tracking_number: Optional[str] = None + """Tracking number for the shipment.""" + + unit_of_measure: Optional[str] = None + """Unit of measure for the shipment weight.""" + + weight: Optional[str] = None + """Weight of the shipment.""" + + class CardPurchaseSupplement(BaseModel): """ Additional information about a card purchase (e.g., settlement or refund), such as level 3 line item data. @@ -191,6 +255,9 @@ class CardPurchaseSupplement(BaseModel): line_items: Optional[List[LineItem]] = None """Line item information, such as individual products purchased.""" + shipping: Optional[Shipping] = None + """Shipping information for the purchase.""" + transaction_id: str """The ID of the transaction.""" From 5d943e9d95755bad5d84a8abaebc3d2fa4724363 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 23:19:37 +0000 Subject: [PATCH 2/2] release: 0.524.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f6550ef3..5d20cc49 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.523.0" + ".": "0.524.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 63e56116..d1d7a16b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.524.0 (2026-05-19) + +Full Changelog: [v0.523.0...v0.524.0](https://github.com/Increase/increase-python/compare/v0.523.0...v0.524.0) + +### Features + +* **api:** api update ([7fa4e89](https://github.com/Increase/increase-python/commit/7fa4e893f826a6c81fdac3ff756a5a42276ec01b)) + ## 0.523.0 (2026-05-18) Full Changelog: [v0.522.0...v0.523.0](https://github.com/Increase/increase-python/compare/v0.522.0...v0.523.0) diff --git a/pyproject.toml b/pyproject.toml index 672186cf..573d705b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.523.0" +version = "0.524.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index 933cc119..16da5386 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.523.0" # x-release-please-version +__version__ = "0.524.0" # x-release-please-version