diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 29102aeb..934f2cc0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.3.0" + ".": "4.4.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 4db8fd70..31ac085d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 116 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d4db2933d3d6b8c855e3351dcce658777ec9a413eb78f176b2e63b1e99fddf68.yml -openapi_spec_hash: 858adc7f2e0c8c631ef733dfd8f9ea0a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-0db984d367f9ae04249fb6c72789b0a38ef1785d156b438fe03290fa4e262a7d.yml +openapi_spec_hash: c901c8b4fc2b0399a33b1346f8521850 config_hash: 3c3524be9607afb24d2139ce26ce5389 diff --git a/CHANGELOG.md b/CHANGELOG.md index 427079cd..2ac37aa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 4.4.0 (2025-07-08) + +Full Changelog: [v4.3.0...v4.4.0](https://github.com/orbcorp/orb-python/compare/v4.3.0...v4.4.0) + +### Features + +* **api:** api update ([28ac408](https://github.com/orbcorp/orb-python/commit/28ac408261fe805dffaa9460a9d4697309684d81)) + + +### Chores + +* **internal:** codegen related update ([80cb62d](https://github.com/orbcorp/orb-python/commit/80cb62d0ffe9ce19db93c6fa9bbd1b92acd7b5b3)) + ## 4.3.0 (2025-07-04) Full Changelog: [v4.2.2...v4.3.0](https://github.com/orbcorp/orb-python/compare/v4.2.2...v4.3.0) diff --git a/pyproject.toml b/pyproject.toml index 97113576..ad83c6ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "4.3.0" +version = "4.4.0" description = "The official Python library for the orb API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/requirements-dev.lock b/requirements-dev.lock index 1d85cad8..ddc24491 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -56,7 +56,7 @@ httpx==0.28.1 # via httpx-aiohttp # via orb-billing # via respx -httpx-aiohttp==0.1.6 +httpx-aiohttp==0.1.8 # via orb-billing idna==3.4 # via anyio diff --git a/requirements.lock b/requirements.lock index 949da231..b091c4df 100644 --- a/requirements.lock +++ b/requirements.lock @@ -43,7 +43,7 @@ httpcore==1.0.2 httpx==0.28.1 # via httpx-aiohttp # via orb-billing -httpx-aiohttp==0.1.6 +httpx-aiohttp==0.1.8 # via orb-billing idna==3.4 # via anyio diff --git a/src/orb/_version.py b/src/orb/_version.py index e58a1ea6..020943ea 100644 --- a/src/orb/_version.py +++ b/src/orb/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "orb" -__version__ = "4.3.0" # x-release-please-version +__version__ = "4.4.0" # x-release-please-version diff --git a/src/orb/types/customers/credits/ledger_create_entry_by_external_id_params.py b/src/orb/types/customers/credits/ledger_create_entry_by_external_id_params.py index d3e8d544..16d77a78 100644 --- a/src/orb/types/customers/credits/ledger_create_entry_by_external_id_params.py +++ b/src/orb/types/customers/credits/ledger_create_entry_by_external_id_params.py @@ -88,6 +88,13 @@ class AddIncrementCreditLedgerEntryRequestParamsInvoiceSettings(TypedDict, total to 0. """ + invoice_date: Annotated[Union[Union[str, date], Union[str, datetime], None], PropertyInfo(format="iso8601")] + """ + An ISO 8601 format date that denotes when this invoice should be dated in the + customer's timezone. If not provided, the invoice date will default to the + credit block's effective date. + """ + memo: Optional[str] """An optional memo to display on the invoice.""" diff --git a/src/orb/types/customers/credits/ledger_create_entry_params.py b/src/orb/types/customers/credits/ledger_create_entry_params.py index de066be6..a8c9ce9d 100644 --- a/src/orb/types/customers/credits/ledger_create_entry_params.py +++ b/src/orb/types/customers/credits/ledger_create_entry_params.py @@ -88,6 +88,13 @@ class AddIncrementCreditLedgerEntryRequestParamsInvoiceSettings(TypedDict, total to 0. """ + invoice_date: Annotated[Union[Union[str, date], Union[str, datetime], None], PropertyInfo(format="iso8601")] + """ + An ISO 8601 format date that denotes when this invoice should be dated in the + customer's timezone. If not provided, the invoice date will default to the + credit block's effective date. + """ + memo: Optional[str] """An optional memo to display on the invoice.""" diff --git a/tests/api_resources/customers/credits/test_ledger.py b/tests/api_resources/customers/credits/test_ledger.py index 255b0e65..fcba39b7 100644 --- a/tests/api_resources/customers/credits/test_ledger.py +++ b/tests/api_resources/customers/credits/test_ledger.py @@ -101,6 +101,7 @@ def test_method_create_entry_with_all_params_overload_1(self, client: Orb) -> No invoice_settings={ "auto_collection": True, "net_terms": 0, + "invoice_date": parse_date("2019-12-27"), "memo": "memo", "require_successful_payment": True, }, @@ -414,6 +415,7 @@ def test_method_create_entry_by_external_id_with_all_params_overload_1(self, cli invoice_settings={ "auto_collection": True, "net_terms": 0, + "invoice_date": parse_date("2019-12-27"), "memo": "memo", "require_successful_payment": True, }, @@ -843,6 +845,7 @@ async def test_method_create_entry_with_all_params_overload_1(self, async_client invoice_settings={ "auto_collection": True, "net_terms": 0, + "invoice_date": parse_date("2019-12-27"), "memo": "memo", "require_successful_payment": True, }, @@ -1156,6 +1159,7 @@ async def test_method_create_entry_by_external_id_with_all_params_overload_1(sel invoice_settings={ "auto_collection": True, "net_terms": 0, + "invoice_date": parse_date("2019-12-27"), "memo": "memo", "require_successful_payment": True, },