diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9127b1bd..25709d1b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.9.0" + ".": "3.10.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index da919d93..5776427f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d4f03b16daf0bae33be634c959dafb0e21b0bcb156beb162f8235394dca88e7c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c8fc7d0bf70bf7ed91a141f346a02929e4d25a6fac7b59f58b68136ed6ff024f.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 6733da71..3ed609d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.10.0 (2025-03-01) + +Full Changelog: [v3.9.0...v3.10.0](https://github.com/orbcorp/orb-python/compare/v3.9.0...v3.10.0) + +### Features + +* **api:** api update ([#561](https://github.com/orbcorp/orb-python/issues/561)) ([52612af](https://github.com/orbcorp/orb-python/commit/52612afe670d53aaf3849acc06629be2f8c54d05)) + ## 3.9.0 (2025-02-27) Full Changelog: [v3.8.0...v3.9.0](https://github.com/orbcorp/orb-python/compare/v3.8.0...v3.9.0) diff --git a/pyproject.toml b/pyproject.toml index b91ec64a..fe770b38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "3.9.0" +version = "3.10.0" description = "The official Python library for the orb API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/orb/_version.py b/src/orb/_version.py index e0ba2562..393cacd0 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__ = "3.9.0" # x-release-please-version +__version__ = "3.10.0" # x-release-please-version diff --git a/src/orb/types/invoice.py b/src/orb/types/invoice.py index d30fa9a2..ebc09d4e 100644 --- a/src/orb/types/invoice.py +++ b/src/orb/types/invoice.py @@ -621,6 +621,9 @@ class LineItem(BaseModel): end_date: datetime """The end date of the range of time applied for this line item's price.""" + filter: Optional[str] = None + """An additional filter that was used to calculate the usage for this line item.""" + grouping: Optional[str] = None """ [DEPRECATED] For configured prices that are split by a grouping key, this will @@ -681,6 +684,11 @@ class LineItem(BaseModel): Empty if no tax integration is configured. """ + usage_customer_ids: Optional[List[str]] = None + """ + A list of customer ids that were used to calculate the usage for this line item. + """ + class Maximum(BaseModel): applies_to_price_ids: List[str] diff --git a/src/orb/types/invoice_fetch_upcoming_response.py b/src/orb/types/invoice_fetch_upcoming_response.py index fefafb59..ca7af8dc 100644 --- a/src/orb/types/invoice_fetch_upcoming_response.py +++ b/src/orb/types/invoice_fetch_upcoming_response.py @@ -621,6 +621,9 @@ class LineItem(BaseModel): end_date: datetime """The end date of the range of time applied for this line item's price.""" + filter: Optional[str] = None + """An additional filter that was used to calculate the usage for this line item.""" + grouping: Optional[str] = None """ [DEPRECATED] For configured prices that are split by a grouping key, this will @@ -681,6 +684,11 @@ class LineItem(BaseModel): Empty if no tax integration is configured. """ + usage_customer_ids: Optional[List[str]] = None + """ + A list of customer ids that were used to calculate the usage for this line item. + """ + class Maximum(BaseModel): applies_to_price_ids: List[str] diff --git a/src/orb/types/invoice_line_item_create_response.py b/src/orb/types/invoice_line_item_create_response.py index 06d85b10..b046e206 100644 --- a/src/orb/types/invoice_line_item_create_response.py +++ b/src/orb/types/invoice_line_item_create_response.py @@ -325,6 +325,9 @@ class InvoiceLineItemCreateResponse(BaseModel): end_date: datetime """The end date of the range of time applied for this line item's price.""" + filter: Optional[str] = None + """An additional filter that was used to calculate the usage for this line item.""" + grouping: Optional[str] = None """ [DEPRECATED] For configured prices that are split by a grouping key, this will @@ -384,3 +387,8 @@ class InvoiceLineItemCreateResponse(BaseModel): Empty if no tax integration is configured. """ + + usage_customer_ids: Optional[List[str]] = None + """ + A list of customer ids that were used to calculate the usage for this line item. + """