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.19.0"
".": "4.20.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-c075f748a7de8ecdccf11a8f2374682b0efd84f1318147274a838bf2fdd73b58.yml
openapi_spec_hash: ae918b8f348f1b7d3252a59dac36c453
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6ec9a6bf40b74575d917ab145b2413bc61dcd6989bb9d1aa41624bf3437599e.yml
openapi_spec_hash: 53cf9363c3bd9649e0af5f713abdcba7
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.20.0 (2025-09-30)

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

### Features

* **api:** api update ([de58987](https://github.com/orbcorp/orb-python/commit/de58987c3c0f25697813060c8ceeffd36562ae41))

## 4.19.0 (2025-09-29)

Full Changelog: [v4.18.0...v4.19.0](https://github.com/orbcorp/orb-python/compare/v4.18.0...v4.19.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.19.0"
version = "4.20.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.19.0" # x-release-please-version
__version__ = "4.20.0" # x-release-please-version
8 changes: 8 additions & 0 deletions src/orb/resources/subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,9 @@ def list(
cursor: Optional[str] | Omit = omit,
customer_id: Optional[SequenceNotStr[str]] | Omit = omit,
external_customer_id: Optional[SequenceNotStr[str]] | Omit = omit,
external_plan_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
plan_id: Optional[str] | Omit = omit,
status: Optional[Literal["active", "ended", "upcoming"]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -641,7 +643,9 @@ def list(
"cursor": cursor,
"customer_id": customer_id,
"external_customer_id": external_customer_id,
"external_plan_id": external_plan_id,
"limit": limit,
"plan_id": plan_id,
"status": status,
},
subscription_list_params.SubscriptionListParams,
Expand Down Expand Up @@ -2672,7 +2676,9 @@ def list(
cursor: Optional[str] | Omit = omit,
customer_id: Optional[SequenceNotStr[str]] | Omit = omit,
external_customer_id: Optional[SequenceNotStr[str]] | Omit = omit,
external_plan_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
plan_id: Optional[str] | Omit = omit,
status: Optional[Literal["active", "ended", "upcoming"]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -2723,7 +2729,9 @@ def list(
"cursor": cursor,
"customer_id": customer_id,
"external_customer_id": external_customer_id,
"external_plan_id": external_plan_id,
"limit": limit,
"plan_id": plan_id,
"status": status,
},
subscription_list_params.SubscriptionListParams,
Expand Down
4 changes: 4 additions & 0 deletions src/orb/types/subscription_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ class SubscriptionListParams(TypedDict, total=False):

external_customer_id: Optional[SequenceNotStr[str]]

external_plan_id: Optional[str]

limit: int
"""The number of items to fetch. Defaults to 20."""

plan_id: Optional[str]

status: Optional[Literal["active", "ended", "upcoming"]]
4 changes: 4 additions & 0 deletions tests/api_resources/test_subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ def test_method_list_with_all_params(self, client: Orb) -> None:
cursor="cursor",
customer_id=["string"],
external_customer_id=["string"],
external_plan_id="external_plan_id",
limit=1,
plan_id="plan_id",
status="active",
)
assert_matches_type(SyncPage[Subscription], subscription, path=["response"])
Expand Down Expand Up @@ -1674,7 +1676,9 @@ async def test_method_list_with_all_params(self, async_client: AsyncOrb) -> None
cursor="cursor",
customer_id=["string"],
external_customer_id=["string"],
external_plan_id="external_plan_id",
limit=1,
plan_id="plan_id",
status="active",
)
assert_matches_type(AsyncPage[Subscription], subscription, path=["response"])
Expand Down