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.1.0"
".": "4.2.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: 116
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9d6e0a988df83c0e2baa559ef57ec96981669a7a294de2188adb2cd6bbc0be8a.yml
openapi_spec_hash: 7f5e7221872d7ee799141f546c394f48
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ff68c7ee2669d61716781d01b93f34186fb7a19ff4ad6fc2c0b8f9f4d9c4a588.yml
openapi_spec_hash: 17bdc6b1ca2531dc884c6d156f404f0c
config_hash: 3c3524be9607afb24d2139ce26ce5389
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.2.0 (2025-06-26)

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

### Features

* **api:** api update ([80e56fb](https://github.com/orbcorp/orb-python/commit/80e56fbdab24c23f26e22cb49b50b4a087522bc9))

## 4.1.0 (2025-06-23)

Full Changelog: [v4.0.1...v4.1.0](https://github.com/orbcorp/orb-python/compare/v4.0.1...v4.1.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.1.0"
version = "4.2.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.1.0" # x-release-please-version
__version__ = "4.2.0" # x-release-please-version
7 changes: 7 additions & 0 deletions src/orb/types/shared/monetary_amount_discount_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class MonetaryAmountDiscountAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/monetary_maximum_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class MonetaryMaximumAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/monetary_minimum_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ class MonetaryMinimumAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class MonetaryPercentageDiscountAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/monetary_usage_discount_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ class MonetaryUsageDiscountAdjustment(BaseModel):
reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""

usage_discount: float
"""
The number of usage units by which to discount the price this adjustment applies
Expand Down
7 changes: 7 additions & 0 deletions src/orb/types/shared/plan_phase_amount_discount_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class PlanPhaseAmountDiscountAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/plan_phase_maximum_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class PlanPhaseMaximumAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/plan_phase_minimum_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ class PlanPhaseMinimumAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ class PlanPhasePercentageDiscountAdjustment(BaseModel):

reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""
7 changes: 7 additions & 0 deletions src/orb/types/shared/plan_phase_usage_discount_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ class PlanPhaseUsageDiscountAdjustment(BaseModel):
reason: Optional[str] = None
"""The reason for the adjustment."""

replaces_adjustment_id: Optional[str] = None
"""The adjustment id this adjustment replaces.

This adjustment will take the place of the replaced adjustment in plan version
migrations.
"""

usage_discount: float
"""
The number of usage units by which to discount the price this adjustment applies
Expand Down
Loading