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 @@
{
".": "4.3.0"
".": "4.4.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: 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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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 = "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"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/orb/_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__ = "orb"
__version__ = "4.3.0" # x-release-please-version
__version__ = "4.4.0" # x-release-please-version
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
7 changes: 7 additions & 0 deletions src/orb/types/customers/credits/ledger_create_entry_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
4 changes: 4 additions & 0 deletions tests/api_resources/customers/credits/test_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down