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.31.0"
".": "4.32.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-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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.31.0"
version = "4.32.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.31.0" # x-release-please-version
__version__ = "4.32.0" # x-release-please-version
17 changes: 15 additions & 2 deletions src/orb/types/customers/credit_list_by_external_id_response.py
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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
Expand Down
17 changes: 15 additions & 2 deletions src/orb/types/customers/credit_list_response.py
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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
Expand Down