diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 647ed9ca..88e4c443 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.19.0" + ".": "4.20.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b0dfd8e3..4975db47 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-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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ec8604e..7cbb92c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 20eccea2..f33553fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/orb/_version.py b/src/orb/_version.py index a8e32a71..85c0d134 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.19.0" # x-release-please-version +__version__ = "4.20.0" # x-release-please-version diff --git a/src/orb/resources/subscriptions.py b/src/orb/resources/subscriptions.py index 7826e893..e6140f32 100644 --- a/src/orb/resources/subscriptions.py +++ b/src/orb/resources/subscriptions.py @@ -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. @@ -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, @@ -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. @@ -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, diff --git a/src/orb/types/subscription_list_params.py b/src/orb/types/subscription_list_params.py index e43fd79c..08b86f7c 100644 --- a/src/orb/types/subscription_list_params.py +++ b/src/orb/types/subscription_list_params.py @@ -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"]] diff --git a/tests/api_resources/test_subscriptions.py b/tests/api_resources/test_subscriptions.py index 9e57a529..9447539b 100644 --- a/tests/api_resources/test_subscriptions.py +++ b/tests/api_resources/test_subscriptions.py @@ -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"]) @@ -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"])