diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a95c8527..263d47d2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.31.0" + ".": "4.32.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 49f0b44f..3fc5d44c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 118 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-faf1f7c723d2762f09e9690ef2ceda58cb0a6ddacf1a79c3754871b90e7db0dc.yml -openapi_spec_hash: 22269f85fae1ec920bdb0b32435a7aa8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-79664fa0b4ea00c978ae2516087d0ee591b0ef92ca8db29557a0424bde520e10.yml +openapi_spec_hash: 1ff6eee9184312a3a0fd21eb589132f9 config_hash: dd4343ce95871032ef6e0735a4ca038c diff --git a/CHANGELOG.md b/CHANGELOG.md index f16bf538..e1d7dfac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.32.0 (2025-10-31) + +Full Changelog: [v4.31.0...v4.32.0](https://github.com/orbcorp/orb-python/compare/v4.31.0...v4.32.0) + +### Features + +* **api:** api update ([9307f54](https://github.com/orbcorp/orb-python/commit/9307f54aa8b8a1553cae017b7deb6da0714005e3)) + ## 4.31.0 (2025-10-30) Full Changelog: [v4.30.0...v4.31.0](https://github.com/orbcorp/orb-python/compare/v4.30.0...v4.31.0) diff --git a/pyproject.toml b/pyproject.toml index 0aac9c48..09297b44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "4.31.0" +version = "4.32.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 1bbda805..07ad4bb4 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.31.0" # x-release-please-version +__version__ = "4.32.0" # x-release-please-version diff --git a/src/orb/types/customers/credit_list_by_external_id_response.py b/src/orb/types/customers/credit_list_by_external_id_response.py index d88e900b..c335247a 100644 --- a/src/orb/types/customers/credit_list_by_external_id_response.py +++ b/src/orb/types/customers/credit_list_by_external_id_response.py @@ -1,12 +1,23 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import Optional +from typing import List, Optional from datetime import datetime from typing_extensions import Literal from ..._models import BaseModel -__all__ = ["CreditListByExternalIDResponse"] +__all__ = ["CreditListByExternalIDResponse", "Filter"] + + +class Filter(BaseModel): + field: Literal["price_id", "item_id", "price_type", "currency", "pricing_unit_id"] + """The property of the price to filter on.""" + + operator: Literal["includes", "excludes"] + """Should prices that match the filter be included or excluded.""" + + values: List[str] + """The IDs or values that match this filter.""" class CreditListByExternalIDResponse(BaseModel): @@ -18,6 +29,8 @@ class CreditListByExternalIDResponse(BaseModel): expiry_date: Optional[datetime] = None + filters: List[Filter] + maximum_initial_balance: Optional[float] = None per_unit_cost_basis: Optional[str] = None diff --git a/src/orb/types/customers/credit_list_response.py b/src/orb/types/customers/credit_list_response.py index 7ccbfcf1..fe0652d5 100644 --- a/src/orb/types/customers/credit_list_response.py +++ b/src/orb/types/customers/credit_list_response.py @@ -1,12 +1,23 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import Optional +from typing import List, Optional from datetime import datetime from typing_extensions import Literal from ..._models import BaseModel -__all__ = ["CreditListResponse"] +__all__ = ["CreditListResponse", "Filter"] + + +class Filter(BaseModel): + field: Literal["price_id", "item_id", "price_type", "currency", "pricing_unit_id"] + """The property of the price to filter on.""" + + operator: Literal["includes", "excludes"] + """Should prices that match the filter be included or excluded.""" + + values: List[str] + """The IDs or values that match this filter.""" class CreditListResponse(BaseModel): @@ -18,6 +29,8 @@ class CreditListResponse(BaseModel): expiry_date: Optional[datetime] = None + filters: List[Filter] + maximum_initial_balance: Optional[float] = None per_unit_cost_basis: Optional[str] = None