diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ed94d9d8..576fef6e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.45.0" + ".": "4.46.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 8fee554b..36221097 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-7936e3f73bbe1d59d27fd7a8a226985927b38fdec1c936c77577381699fb6140.yml -openapi_spec_hash: 1d3f9ed5fbdb0e40d56d6acd9d1736e2 -config_hash: e6db17547fe854b1c240407cf4c6dc9e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-03af7f658aed245cf7e230055de59fe92a78880f3719bf254ed9352bf89bad5e.yml +openapi_spec_hash: c4703d217c25e8c02c248caed9e2d3be +config_hash: 895e36fb2d717958770fd4cf883f4b74 diff --git a/CHANGELOG.md b/CHANGELOG.md index 875c437b..c8d4e34e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.46.0 (2025-12-06) + +Full Changelog: [v4.45.0...v4.46.0](https://github.com/orbcorp/orb-python/compare/v4.45.0...v4.46.0) + +### Features + +* **api:** api update ([a0222a2](https://github.com/orbcorp/orb-python/commit/a0222a2406664b664a79f094c35dcb5af8ace149)) + ## 4.45.0 (2025-12-03) Full Changelog: [v4.44.0...v4.45.0](https://github.com/orbcorp/orb-python/compare/v4.44.0...v4.45.0) diff --git a/pyproject.toml b/pyproject.toml index 43be67d5..f3491ab3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "4.45.0" +version = "4.46.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 0dc31380..76450eb7 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.45.0" # x-release-please-version +__version__ = "4.46.0" # x-release-please-version diff --git a/src/orb/types/subscription_change_apply_response.py b/src/orb/types/subscription_change_apply_response.py index 17127e75..e35c12df 100644 --- a/src/orb/types/subscription_change_apply_response.py +++ b/src/orb/types/subscription_change_apply_response.py @@ -13,6 +13,9 @@ class SubscriptionChangeApplyResponse(BaseModel): id: str + change_type: str + """The type of change (e.g., 'schedule_plan_change', 'create_subscription').""" + expiration_time: datetime """ Subscription change will be cancelled at this time and can no longer be applied. @@ -25,5 +28,20 @@ class SubscriptionChangeApplyResponse(BaseModel): applied_at: Optional[datetime] = None """When this change was applied.""" + billing_cycle_alignment: Optional[str] = None + """Billing cycle alignment for plan changes.""" + cancelled_at: Optional[datetime] = None """When this change was cancelled.""" + + change_option: Optional[str] = None + """ + How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + 'requested_date'). + """ + + effective_date: Optional[datetime] = None + """When this change will take effect.""" + + plan_id: Optional[str] = None + """The target plan ID for plan changes.""" diff --git a/src/orb/types/subscription_change_cancel_response.py b/src/orb/types/subscription_change_cancel_response.py index 5f097370..2be25608 100644 --- a/src/orb/types/subscription_change_cancel_response.py +++ b/src/orb/types/subscription_change_cancel_response.py @@ -13,6 +13,9 @@ class SubscriptionChangeCancelResponse(BaseModel): id: str + change_type: str + """The type of change (e.g., 'schedule_plan_change', 'create_subscription').""" + expiration_time: datetime """ Subscription change will be cancelled at this time and can no longer be applied. @@ -25,5 +28,20 @@ class SubscriptionChangeCancelResponse(BaseModel): applied_at: Optional[datetime] = None """When this change was applied.""" + billing_cycle_alignment: Optional[str] = None + """Billing cycle alignment for plan changes.""" + cancelled_at: Optional[datetime] = None """When this change was cancelled.""" + + change_option: Optional[str] = None + """ + How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + 'requested_date'). + """ + + effective_date: Optional[datetime] = None + """When this change will take effect.""" + + plan_id: Optional[str] = None + """The target plan ID for plan changes.""" diff --git a/src/orb/types/subscription_change_retrieve_response.py b/src/orb/types/subscription_change_retrieve_response.py index 70d8e63f..1e327bba 100644 --- a/src/orb/types/subscription_change_retrieve_response.py +++ b/src/orb/types/subscription_change_retrieve_response.py @@ -13,6 +13,9 @@ class SubscriptionChangeRetrieveResponse(BaseModel): id: str + change_type: str + """The type of change (e.g., 'schedule_plan_change', 'create_subscription').""" + expiration_time: datetime """ Subscription change will be cancelled at this time and can no longer be applied. @@ -25,5 +28,20 @@ class SubscriptionChangeRetrieveResponse(BaseModel): applied_at: Optional[datetime] = None """When this change was applied.""" + billing_cycle_alignment: Optional[str] = None + """Billing cycle alignment for plan changes.""" + cancelled_at: Optional[datetime] = None """When this change was cancelled.""" + + change_option: Optional[str] = None + """ + How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + 'requested_date'). + """ + + effective_date: Optional[datetime] = None + """When this change will take effect.""" + + plan_id: Optional[str] = None + """The target plan ID for plan changes."""