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.38.2"
".": "4.39.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: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-145c6652d32a05c9305e4674643e2aa7d559073e48dc252d6c3c0fe802ce7ec6.yml
openapi_spec_hash: 6bbbbe1687099b69faee47fda12bf82c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9e751a2aefff382af949380b5979a80cb02743eca1583cf5146325fb400ba87f.yml
openapi_spec_hash: 219a1008f47d3293f64f1baebe2d6eb5
config_hash: e6db17547fe854b1c240407cf4c6dc9e
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.39.0 (2025-11-13)

Full Changelog: [v4.38.2...v4.39.0](https://github.com/orbcorp/orb-python/compare/v4.38.2...v4.39.0)

### Features

* **api:** api update ([3b4c06a](https://github.com/orbcorp/orb-python/commit/3b4c06a2a8359621d3f6c486a95af39954ac3caa))

## 4.38.2 (2025-11-11)

Full Changelog: [v4.38.1...v4.38.2](https://github.com/orbcorp/orb-python/compare/v4.38.1...v4.38.2)
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.38.2"
version = "4.39.0"
description = "The official Python library for the orb API"
dynamic = ["readme"]
license = "Apache-2.0"
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.38.2" # x-release-please-version
__version__ = "4.39.0" # x-release-please-version
16 changes: 0 additions & 16 deletions src/orb/types/invoice_fetch_upcoming_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from .shared.address import Address
from .shared.maximum import Maximum
from .shared.minimum import Minimum
from .shared.discount import Discount
from .shared.tax_amount import TaxAmount
from .shared.invoice_tiny import InvoiceTiny
from .shared.customer_tax_id import CustomerTaxID
Expand Down Expand Up @@ -172,9 +171,6 @@ class LineItem(BaseModel):
credits_applied: str
"""The number of prepaid credits applied."""

discount: Optional[Discount] = None
"""This field is deprecated in favor of `adjustments`"""

end_date: datetime
"""The end date of the range of time applied for this line item's price."""

Expand All @@ -188,18 +184,6 @@ class LineItem(BaseModel):
values for this particular grouping.
"""

maximum: Optional[Maximum] = None
"""This field is deprecated in favor of `adjustments`."""

maximum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

minimum: Optional[Minimum] = None
"""This field is deprecated in favor of `adjustments`."""

minimum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

name: str
"""The name of the price associated with this line item."""

Expand Down
18 changes: 0 additions & 18 deletions src/orb/types/invoice_line_item_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
from .._utils import PropertyInfo
from .._models import BaseModel
from .shared.price import Price
from .shared.maximum import Maximum
from .shared.minimum import Minimum
from .shared.discount import Discount
from .shared.tax_amount import TaxAmount
from .shared.tier_sub_line_item import TierSubLineItem
from .shared.other_sub_line_item import OtherSubLineItem
Expand Down Expand Up @@ -64,9 +61,6 @@ class InvoiceLineItemCreateResponse(BaseModel):
credits_applied: str
"""The number of prepaid credits applied."""

discount: Optional[Discount] = None
"""This field is deprecated in favor of `adjustments`"""

end_date: datetime
"""The end date of the range of time applied for this line item's price."""

Expand All @@ -80,18 +74,6 @@ class InvoiceLineItemCreateResponse(BaseModel):
values for this particular grouping.
"""

maximum: Optional[Maximum] = None
"""This field is deprecated in favor of `adjustments`."""

maximum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

minimum: Optional[Minimum] = None
"""This field is deprecated in favor of `adjustments`."""

minimum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

name: str
"""The name of the price associated with this line item."""

Expand Down
16 changes: 0 additions & 16 deletions src/orb/types/shared/changed_subscription_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from .maximum import Maximum
from .minimum import Minimum
from ..._utils import PropertyInfo
from .discount import Discount
from ..._models import BaseModel
from .tax_amount import TaxAmount
from .credit_note import CreditNote
Expand Down Expand Up @@ -175,9 +174,6 @@ class CreatedInvoiceLineItem(BaseModel):
credits_applied: str
"""The number of prepaid credits applied."""

discount: Optional[Discount] = None
"""This field is deprecated in favor of `adjustments`"""

end_date: datetime
"""The end date of the range of time applied for this line item's price."""

Expand All @@ -191,18 +187,6 @@ class CreatedInvoiceLineItem(BaseModel):
values for this particular grouping.
"""

maximum: Optional[Maximum] = None
"""This field is deprecated in favor of `adjustments`."""

maximum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

minimum: Optional[Minimum] = None
"""This field is deprecated in favor of `adjustments`."""

minimum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

name: str
"""The name of the price associated with this line item."""

Expand Down
16 changes: 0 additions & 16 deletions src/orb/types/shared/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from .maximum import Maximum
from .minimum import Minimum
from ..._utils import PropertyInfo
from .discount import Discount
from ..._models import BaseModel
from .tax_amount import TaxAmount
from .invoice_tiny import InvoiceTiny
Expand Down Expand Up @@ -172,9 +171,6 @@ class LineItem(BaseModel):
credits_applied: str
"""The number of prepaid credits applied."""

discount: Optional[Discount] = None
"""This field is deprecated in favor of `adjustments`"""

end_date: datetime
"""The end date of the range of time applied for this line item's price."""

Expand All @@ -188,18 +184,6 @@ class LineItem(BaseModel):
values for this particular grouping.
"""

maximum: Optional[Maximum] = None
"""This field is deprecated in favor of `adjustments`."""

maximum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

minimum: Optional[Minimum] = None
"""This field is deprecated in favor of `adjustments`."""

minimum_amount: Optional[str] = None
"""This field is deprecated in favor of `adjustments`."""

name: str
"""The name of the price associated with this line item."""

Expand Down