diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 433ed77a..9183c177 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.46.3" + ".": "4.47.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 10f84eaa..8f4293ee 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-59c57f1cbc067a477f6bf673882c28065e01418b86fcff390bba0d4438c58105.yml -openapi_spec_hash: 4da2681664f766985d1c20df40240cd9 -config_hash: 895e36fb2d717958770fd4cf883f4b74 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml +openapi_spec_hash: a317931a99e6d4a122919135a0363e40 +config_hash: 05c94c0e6dbeab2c9b554c2e0d6371a0 diff --git a/CHANGELOG.md b/CHANGELOG.md index fb25f507..775a94da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 4.47.0 (2026-01-06) + +Full Changelog: [v4.46.3...v4.47.0](https://github.com/orbcorp/orb-python/compare/v4.46.3...v4.47.0) + +### Features + +* **api:** api update ([3685f1a](https://github.com/orbcorp/orb-python/commit/3685f1a5eb5e9d43c96eb0b253c79be02ba32285)) + + +### Chores + +* **internal:** add `--fix` argument to lint script ([a63545c](https://github.com/orbcorp/orb-python/commit/a63545cbdd128e08ca89cdbb9050d28c56e4022f)) +* **internal:** codegen related update ([e46bd76](https://github.com/orbcorp/orb-python/commit/e46bd7631ded1045eedc100118e5329600c3fd7e)) + ## 4.46.3 (2025-12-17) Full Changelog: [v4.46.2...v4.46.3](https://github.com/orbcorp/orb-python/compare/v4.46.2...v4.46.3) diff --git a/LICENSE b/LICENSE index 00b1f9c8..7434159e 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2025 Orb + Copyright 2026 Orb Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pyproject.toml b/pyproject.toml index 1a1da989..f8f576e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "4.46.3" +version = "4.47.0" description = "The official Python library for the orb API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/scripts/lint b/scripts/lint index 38b82fa1..6d6cf944 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,8 +4,13 @@ set -e cd "$(dirname "$0")/.." -echo "==> Running lints" -rye run lint +if [ "$1" = "--fix" ]; then + echo "==> Running lints with --fix" + rye run fix:ruff +else + echo "==> Running lints" + rye run lint +fi echo "==> Making sure it imports" rye run python -c 'import orb' diff --git a/src/orb/_version.py b/src/orb/_version.py index 4a711619..114fe4d7 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.46.3" # x-release-please-version +__version__ = "4.47.0" # x-release-please-version diff --git a/src/orb/types/new_subscription_cumulative_grouped_bulk_price_param.py b/src/orb/types/new_subscription_cumulative_grouped_bulk_price_param.py index 54589a78..67a64863 100644 --- a/src/orb/types/new_subscription_cumulative_grouped_bulk_price_param.py +++ b/src/orb/types/new_subscription_cumulative_grouped_bulk_price_param.py @@ -38,7 +38,6 @@ class CumulativeGroupedBulkConfig(TypedDict, total=False): """Each tier lower bound must have the same group of values.""" group: Required[str] - """Grouping key name""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/new_subscription_grouped_tiered_package_price_param.py b/src/orb/types/new_subscription_grouped_tiered_package_price_param.py index fb6fd9e4..2c6b1dd8 100644 --- a/src/orb/types/new_subscription_grouped_tiered_package_price_param.py +++ b/src/orb/types/new_subscription_grouped_tiered_package_price_param.py @@ -22,10 +22,9 @@ class GroupedTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" per_unit: Required[str] - """Price per package""" + """Per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class GroupedTieredPackageConfig(TypedDict, total=False): @@ -35,7 +34,6 @@ class GroupedTieredPackageConfig(TypedDict, total=False): """The event property used to group before tiering""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[GroupedTieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/new_subscription_grouped_tiered_price_param.py b/src/orb/types/new_subscription_grouped_tiered_price_param.py index e3d963bb..037c2545 100644 --- a/src/orb/types/new_subscription_grouped_tiered_price_param.py +++ b/src/orb/types/new_subscription_grouped_tiered_price_param.py @@ -22,7 +22,6 @@ class GroupedTieredConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/new_subscription_grouped_with_metered_minimum_price_param.py b/src/orb/types/new_subscription_grouped_with_metered_minimum_price_param.py index c34859d0..38e3ea9b 100644 --- a/src/orb/types/new_subscription_grouped_with_metered_minimum_price_param.py +++ b/src/orb/types/new_subscription_grouped_with_metered_minimum_price_param.py @@ -23,17 +23,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(TypedDict, total=False): """Configuration for a scaling factor""" scaling_factor: Required[str] - """Scaling factor""" scaling_value: Required[str] - """Scaling value""" class GroupedWithMeteredMinimumConfigUnitAmount(TypedDict, total=False): """Configuration for a unit amount""" pricing_value: Required[str] - """Pricing value""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/new_subscription_max_group_tiered_package_price_param.py b/src/orb/types/new_subscription_max_group_tiered_package_price_param.py index 41a4869e..3d07778e 100644 --- a/src/orb/types/new_subscription_max_group_tiered_package_price_param.py +++ b/src/orb/types/new_subscription_max_group_tiered_package_price_param.py @@ -22,7 +22,6 @@ class MaxGroupTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -37,7 +36,6 @@ class MaxGroupTieredPackageConfig(TypedDict, total=False): """ package_size: Required[str] - """Package size""" tiers: Required[Iterable[MaxGroupTieredPackageConfigTier]] """Apply tiered pricing to the largest group after grouping with the provided key.""" diff --git a/src/orb/types/new_subscription_package_with_allocation_price_param.py b/src/orb/types/new_subscription_package_with_allocation_price_param.py index a7ed8f9e..7fa6dd67 100644 --- a/src/orb/types/new_subscription_package_with_allocation_price_param.py +++ b/src/orb/types/new_subscription_package_with_allocation_price_param.py @@ -17,13 +17,10 @@ class PackageWithAllocationConfig(TypedDict, total=False): """Configuration for package_with_allocation pricing""" allocation: Required[str] - """Usage allocation""" package_amount: Required[str] - """Price per package""" package_size: Required[str] - """Package size""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/new_subscription_scalable_matrix_with_tiered_pricing_price_param.py b/src/orb/types/new_subscription_scalable_matrix_with_tiered_pricing_price_param.py index b502aa55..68b3e738 100644 --- a/src/orb/types/new_subscription_scalable_matrix_with_tiered_pricing_price_param.py +++ b/src/orb/types/new_subscription_scalable_matrix_with_tiered_pricing_price_param.py @@ -23,23 +23,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(TypedDict, total= """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingConfigTier(TypedDict, total=False): """Configuration for a single tier entry with business logic""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] - """Per unit amount""" class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): @@ -52,7 +47,6 @@ class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): """Apply a scaling factor to each dimension""" tiers: Required[Iterable[ScalableMatrixWithTieredPricingConfigTier]] - """Tier pricing structure""" second_dimension: Optional[str] """Used for the scalable matrix second dimension (optional)""" diff --git a/src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py b/src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py index 5a849ab7..3f8d9176 100644 --- a/src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py +++ b/src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py @@ -22,13 +22,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(TypedDict, total=Fa """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False): diff --git a/src/orb/types/new_subscription_threshold_total_amount_price_param.py b/src/orb/types/new_subscription_threshold_total_amount_price_param.py index 714da2a4..803f28dd 100644 --- a/src/orb/types/new_subscription_threshold_total_amount_price_param.py +++ b/src/orb/types/new_subscription_threshold_total_amount_price_param.py @@ -22,7 +22,6 @@ class ThresholdTotalAmountConfigConsumptionTable(TypedDict, total=False): """Configuration for a single threshold""" threshold: Required[str] - """Quantity threshold""" total_amount: Required[str] """Total amount for this threshold""" diff --git a/src/orb/types/new_subscription_tiered_package_price_param.py b/src/orb/types/new_subscription_tiered_package_price_param.py index d6da3e02..fbc02c22 100644 --- a/src/orb/types/new_subscription_tiered_package_price_param.py +++ b/src/orb/types/new_subscription_tiered_package_price_param.py @@ -25,14 +25,12 @@ class TieredPackageConfigTier(TypedDict, total=False): """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageConfig(TypedDict, total=False): """Configuration for tiered_package pricing""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[TieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/new_subscription_tiered_package_with_minimum_price_param.py b/src/orb/types/new_subscription_tiered_package_with_minimum_price_param.py index 33469ec2..68510951 100644 --- a/src/orb/types/new_subscription_tiered_package_with_minimum_price_param.py +++ b/src/orb/types/new_subscription_tiered_package_with_minimum_price_param.py @@ -22,20 +22,16 @@ class TieredPackageWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" per_unit: Required[str] - """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageWithMinimumConfig(TypedDict, total=False): """Configuration for tiered_package_with_minimum pricing""" package_size: Required[float] - """Package size""" tiers: Required[Iterable[TieredPackageWithMinimumConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/new_subscription_tiered_with_minimum_price_param.py b/src/orb/types/new_subscription_tiered_with_minimum_price_param.py index ce0001ce..9b064e07 100644 --- a/src/orb/types/new_subscription_tiered_with_minimum_price_param.py +++ b/src/orb/types/new_subscription_tiered_with_minimum_price_param.py @@ -22,10 +22,8 @@ class TieredWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/price_create_params.py b/src/orb/types/price_create_params.py index 84385797..10adb48a 100644 --- a/src/orb/types/price_create_params.py +++ b/src/orb/types/price_create_params.py @@ -684,7 +684,6 @@ class NewFloatingThresholdTotalAmountPriceThresholdTotalAmountConfigConsumptionT """Configuration for a single threshold""" threshold: Required[str] - """Quantity threshold""" total_amount: Required[str] """Total amount for this threshold""" @@ -789,14 +788,12 @@ class NewFloatingTieredPackagePriceTieredPackageConfigTier(TypedDict, total=Fals """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class NewFloatingTieredPackagePriceTieredPackageConfig(TypedDict, total=False): """Configuration for tiered_package pricing""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[NewFloatingTieredPackagePriceTieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. @@ -888,10 +885,8 @@ class NewFloatingTieredWithMinimumPriceTieredWithMinimumConfigTier(TypedDict, to """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -994,7 +989,6 @@ class NewFloatingGroupedTieredPriceGroupedTieredConfigTier(TypedDict, total=Fals """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -1094,20 +1088,16 @@ class NewFloatingTieredPackageWithMinimumPriceTieredPackageWithMinimumConfigTier """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" per_unit: Required[str] - """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class NewFloatingTieredPackageWithMinimumPriceTieredPackageWithMinimumConfig(TypedDict, total=False): """Configuration for tiered_package_with_minimum pricing""" package_size: Required[float] - """Package size""" tiers: Required[Iterable[NewFloatingTieredPackageWithMinimumPriceTieredPackageWithMinimumConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. @@ -1197,13 +1187,10 @@ class NewFloatingPackageWithAllocationPricePackageWithAllocationConfig(TypedDict """Configuration for package_with_allocation pricing""" allocation: Required[str] - """Usage allocation""" package_amount: Required[str] - """Price per package""" package_size: Required[str] - """Package size""" NewFloatingPackageWithAllocationPriceConversionRateConfig: TypeAlias = Union[ @@ -1910,17 +1897,14 @@ class NewFloatingGroupedWithMeteredMinimumPriceGroupedWithMeteredMinimumConfigSc """Configuration for a scaling factor""" scaling_factor: Required[str] - """Scaling factor""" scaling_value: Required[str] - """Scaling value""" class NewFloatingGroupedWithMeteredMinimumPriceGroupedWithMeteredMinimumConfigUnitAmount(TypedDict, total=False): """Configuration for a unit amount""" pricing_value: Required[str] - """Pricing value""" unit_amount: Required[str] """Per unit amount""" @@ -2232,10 +2216,9 @@ class NewFloatingGroupedTieredPackagePriceGroupedTieredPackageConfigTier(TypedDi """Configuration for a single tier""" per_unit: Required[str] - """Price per package""" + """Per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class NewFloatingGroupedTieredPackagePriceGroupedTieredPackageConfig(TypedDict, total=False): @@ -2245,7 +2228,6 @@ class NewFloatingGroupedTieredPackagePriceGroupedTieredPackageConfig(TypedDict, """The event property used to group before tiering""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[NewFloatingGroupedTieredPackagePriceGroupedTieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. @@ -2335,7 +2317,6 @@ class NewFloatingMaxGroupTieredPackagePriceMaxGroupTieredPackageConfigTier(Typed """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -2350,7 +2331,6 @@ class NewFloatingMaxGroupTieredPackagePriceMaxGroupTieredPackageConfig(TypedDict """ package_size: Required[str] - """Package size""" tiers: Required[Iterable[NewFloatingMaxGroupTieredPackagePriceMaxGroupTieredPackageConfigTier]] """Apply tiered pricing to the largest group after grouping with the provided key.""" @@ -2441,13 +2421,10 @@ class NewFloatingScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricing """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class NewFloatingScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricingConfig(TypedDict, total=False): @@ -2556,23 +2533,18 @@ class NewFloatingScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPri """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class NewFloatingScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfigTier(TypedDict, total=False): """Configuration for a single tier entry with business logic""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] - """Per unit amount""" class NewFloatingScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfig(TypedDict, total=False): @@ -2589,7 +2561,6 @@ class NewFloatingScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPri """Apply a scaling factor to each dimension""" tiers: Required[Iterable[NewFloatingScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfigTier]] - """Tier pricing structure""" second_dimension: Optional[str] """Used for the scalable matrix second dimension (optional)""" @@ -2692,7 +2663,6 @@ class NewFloatingCumulativeGroupedBulkPriceCumulativeGroupedBulkConfig(TypedDict """Each tier lower bound must have the same group of values.""" group: Required[str] - """Grouping key name""" NewFloatingCumulativeGroupedBulkPriceConversionRateConfig: TypeAlias = Union[ diff --git a/src/orb/types/shared/new_floating_cumulative_grouped_bulk_price.py b/src/orb/types/shared/new_floating_cumulative_grouped_bulk_price.py index 8f834f1e..33762300 100644 --- a/src/orb/types/shared/new_floating_cumulative_grouped_bulk_price.py +++ b/src/orb/types/shared/new_floating_cumulative_grouped_bulk_price.py @@ -40,7 +40,6 @@ class CumulativeGroupedBulkConfig(BaseModel): """Each tier lower bound must have the same group of values.""" group: str - """Grouping key name""" ConversionRateConfig: TypeAlias = Annotated[ diff --git a/src/orb/types/shared/new_floating_grouped_tiered_package_price.py b/src/orb/types/shared/new_floating_grouped_tiered_package_price.py index 93ad98c2..6304876a 100644 --- a/src/orb/types/shared/new_floating_grouped_tiered_package_price.py +++ b/src/orb/types/shared/new_floating_grouped_tiered_package_price.py @@ -24,10 +24,9 @@ class GroupedTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" per_unit: str - """Price per package""" + """Per package""" tier_lower_bound: str - """Tier lower bound""" class GroupedTieredPackageConfig(BaseModel): @@ -37,7 +36,6 @@ class GroupedTieredPackageConfig(BaseModel): """The event property used to group before tiering""" package_size: str - """Package size""" tiers: List[GroupedTieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_floating_grouped_tiered_price.py b/src/orb/types/shared/new_floating_grouped_tiered_price.py index a2b2928c..80ed75b3 100644 --- a/src/orb/types/shared/new_floating_grouped_tiered_price.py +++ b/src/orb/types/shared/new_floating_grouped_tiered_price.py @@ -19,7 +19,6 @@ class GroupedTieredConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/new_floating_grouped_with_metered_minimum_price.py b/src/orb/types/shared/new_floating_grouped_with_metered_minimum_price.py index 5ddc77de..e24daec1 100644 --- a/src/orb/types/shared/new_floating_grouped_with_metered_minimum_price.py +++ b/src/orb/types/shared/new_floating_grouped_with_metered_minimum_price.py @@ -25,17 +25,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(BaseModel): """Configuration for a scaling factor""" scaling_factor: str - """Scaling factor""" scaling_value: str - """Scaling value""" class GroupedWithMeteredMinimumConfigUnitAmount(BaseModel): """Configuration for a unit amount""" pricing_value: str - """Pricing value""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/new_floating_max_group_tiered_package_price.py b/src/orb/types/shared/new_floating_max_group_tiered_package_price.py index eef1239a..7079c64c 100644 --- a/src/orb/types/shared/new_floating_max_group_tiered_package_price.py +++ b/src/orb/types/shared/new_floating_max_group_tiered_package_price.py @@ -24,7 +24,6 @@ class MaxGroupTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" @@ -39,7 +38,6 @@ class MaxGroupTieredPackageConfig(BaseModel): """ package_size: str - """Package size""" tiers: List[MaxGroupTieredPackageConfigTier] """Apply tiered pricing to the largest group after grouping with the provided key.""" diff --git a/src/orb/types/shared/new_floating_package_with_allocation_price.py b/src/orb/types/shared/new_floating_package_with_allocation_price.py index a57f29fd..7837e538 100644 --- a/src/orb/types/shared/new_floating_package_with_allocation_price.py +++ b/src/orb/types/shared/new_floating_package_with_allocation_price.py @@ -19,13 +19,10 @@ class PackageWithAllocationConfig(BaseModel): """Configuration for package_with_allocation pricing""" allocation: str - """Usage allocation""" package_amount: str - """Price per package""" package_size: str - """Package size""" ConversionRateConfig: TypeAlias = Annotated[ diff --git a/src/orb/types/shared/new_floating_scalable_matrix_with_tiered_pricing_price.py b/src/orb/types/shared/new_floating_scalable_matrix_with_tiered_pricing_price.py index 9120aaa3..4deca14a 100644 --- a/src/orb/types/shared/new_floating_scalable_matrix_with_tiered_pricing_price.py +++ b/src/orb/types/shared/new_floating_scalable_matrix_with_tiered_pricing_price.py @@ -25,23 +25,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(BaseModel): """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingConfigTier(BaseModel): """Configuration for a single tier entry with business logic""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str - """Per unit amount""" class ScalableMatrixWithTieredPricingConfig(BaseModel): @@ -54,7 +49,6 @@ class ScalableMatrixWithTieredPricingConfig(BaseModel): """Apply a scaling factor to each dimension""" tiers: List[ScalableMatrixWithTieredPricingConfigTier] - """Tier pricing structure""" second_dimension: Optional[str] = None """Used for the scalable matrix second dimension (optional)""" diff --git a/src/orb/types/shared/new_floating_scalable_matrix_with_unit_pricing_price.py b/src/orb/types/shared/new_floating_scalable_matrix_with_unit_pricing_price.py index a77b4db9..12ead89a 100644 --- a/src/orb/types/shared/new_floating_scalable_matrix_with_unit_pricing_price.py +++ b/src/orb/types/shared/new_floating_scalable_matrix_with_unit_pricing_price.py @@ -24,13 +24,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(BaseModel): """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingConfig(BaseModel): diff --git a/src/orb/types/shared/new_floating_threshold_total_amount_price.py b/src/orb/types/shared/new_floating_threshold_total_amount_price.py index d435b771..02489a47 100644 --- a/src/orb/types/shared/new_floating_threshold_total_amount_price.py +++ b/src/orb/types/shared/new_floating_threshold_total_amount_price.py @@ -24,7 +24,6 @@ class ThresholdTotalAmountConfigConsumptionTable(BaseModel): """Configuration for a single threshold""" threshold: str - """Quantity threshold""" total_amount: str """Total amount for this threshold""" diff --git a/src/orb/types/shared/new_floating_tiered_package_price.py b/src/orb/types/shared/new_floating_tiered_package_price.py index 2e0762a1..123bf1c7 100644 --- a/src/orb/types/shared/new_floating_tiered_package_price.py +++ b/src/orb/types/shared/new_floating_tiered_package_price.py @@ -22,14 +22,12 @@ class TieredPackageConfigTier(BaseModel): """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackageConfig(BaseModel): """Configuration for tiered_package pricing""" package_size: str - """Package size""" tiers: List[TieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_floating_tiered_package_with_minimum_price.py b/src/orb/types/shared/new_floating_tiered_package_with_minimum_price.py index 4bc035cc..5888a105 100644 --- a/src/orb/types/shared/new_floating_tiered_package_with_minimum_price.py +++ b/src/orb/types/shared/new_floating_tiered_package_with_minimum_price.py @@ -24,20 +24,16 @@ class TieredPackageWithMinimumConfigTier(BaseModel): """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" per_unit: str - """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackageWithMinimumConfig(BaseModel): """Configuration for tiered_package_with_minimum pricing""" package_size: float - """Package size""" tiers: List[TieredPackageWithMinimumConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_floating_tiered_with_minimum_price.py b/src/orb/types/shared/new_floating_tiered_with_minimum_price.py index 0d057bac..af16661e 100644 --- a/src/orb/types/shared/new_floating_tiered_with_minimum_price.py +++ b/src/orb/types/shared/new_floating_tiered_with_minimum_price.py @@ -24,10 +24,8 @@ class TieredWithMinimumConfigTier(BaseModel): """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/new_plan_cumulative_grouped_bulk_price.py b/src/orb/types/shared/new_plan_cumulative_grouped_bulk_price.py index 8c40b7c8..5de887a1 100644 --- a/src/orb/types/shared/new_plan_cumulative_grouped_bulk_price.py +++ b/src/orb/types/shared/new_plan_cumulative_grouped_bulk_price.py @@ -40,7 +40,6 @@ class CumulativeGroupedBulkConfig(BaseModel): """Each tier lower bound must have the same group of values.""" group: str - """Grouping key name""" ConversionRateConfig: TypeAlias = Annotated[ diff --git a/src/orb/types/shared/new_plan_grouped_tiered_package_price.py b/src/orb/types/shared/new_plan_grouped_tiered_package_price.py index 465c5d8f..c0efaffc 100644 --- a/src/orb/types/shared/new_plan_grouped_tiered_package_price.py +++ b/src/orb/types/shared/new_plan_grouped_tiered_package_price.py @@ -24,10 +24,9 @@ class GroupedTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" per_unit: str - """Price per package""" + """Per package""" tier_lower_bound: str - """Tier lower bound""" class GroupedTieredPackageConfig(BaseModel): @@ -37,7 +36,6 @@ class GroupedTieredPackageConfig(BaseModel): """The event property used to group before tiering""" package_size: str - """Package size""" tiers: List[GroupedTieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_plan_grouped_tiered_price.py b/src/orb/types/shared/new_plan_grouped_tiered_price.py index 80f1231c..fec17785 100644 --- a/src/orb/types/shared/new_plan_grouped_tiered_price.py +++ b/src/orb/types/shared/new_plan_grouped_tiered_price.py @@ -19,7 +19,6 @@ class GroupedTieredConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/new_plan_grouped_with_metered_minimum_price.py b/src/orb/types/shared/new_plan_grouped_with_metered_minimum_price.py index 1fcb439b..fab165f3 100644 --- a/src/orb/types/shared/new_plan_grouped_with_metered_minimum_price.py +++ b/src/orb/types/shared/new_plan_grouped_with_metered_minimum_price.py @@ -25,17 +25,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(BaseModel): """Configuration for a scaling factor""" scaling_factor: str - """Scaling factor""" scaling_value: str - """Scaling value""" class GroupedWithMeteredMinimumConfigUnitAmount(BaseModel): """Configuration for a unit amount""" pricing_value: str - """Pricing value""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/new_plan_max_group_tiered_package_price.py b/src/orb/types/shared/new_plan_max_group_tiered_package_price.py index f11b210f..7976ecf2 100644 --- a/src/orb/types/shared/new_plan_max_group_tiered_package_price.py +++ b/src/orb/types/shared/new_plan_max_group_tiered_package_price.py @@ -24,7 +24,6 @@ class MaxGroupTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" @@ -39,7 +38,6 @@ class MaxGroupTieredPackageConfig(BaseModel): """ package_size: str - """Package size""" tiers: List[MaxGroupTieredPackageConfigTier] """Apply tiered pricing to the largest group after grouping with the provided key.""" diff --git a/src/orb/types/shared/new_plan_package_with_allocation_price.py b/src/orb/types/shared/new_plan_package_with_allocation_price.py index 9ce311f8..25700f27 100644 --- a/src/orb/types/shared/new_plan_package_with_allocation_price.py +++ b/src/orb/types/shared/new_plan_package_with_allocation_price.py @@ -19,13 +19,10 @@ class PackageWithAllocationConfig(BaseModel): """Configuration for package_with_allocation pricing""" allocation: str - """Usage allocation""" package_amount: str - """Price per package""" package_size: str - """Package size""" ConversionRateConfig: TypeAlias = Annotated[ diff --git a/src/orb/types/shared/new_plan_scalable_matrix_with_tiered_pricing_price.py b/src/orb/types/shared/new_plan_scalable_matrix_with_tiered_pricing_price.py index eaa0a1b4..c0a2fc07 100644 --- a/src/orb/types/shared/new_plan_scalable_matrix_with_tiered_pricing_price.py +++ b/src/orb/types/shared/new_plan_scalable_matrix_with_tiered_pricing_price.py @@ -25,23 +25,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(BaseModel): """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingConfigTier(BaseModel): """Configuration for a single tier entry with business logic""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str - """Per unit amount""" class ScalableMatrixWithTieredPricingConfig(BaseModel): @@ -54,7 +49,6 @@ class ScalableMatrixWithTieredPricingConfig(BaseModel): """Apply a scaling factor to each dimension""" tiers: List[ScalableMatrixWithTieredPricingConfigTier] - """Tier pricing structure""" second_dimension: Optional[str] = None """Used for the scalable matrix second dimension (optional)""" diff --git a/src/orb/types/shared/new_plan_scalable_matrix_with_unit_pricing_price.py b/src/orb/types/shared/new_plan_scalable_matrix_with_unit_pricing_price.py index 17d71383..3059eae8 100644 --- a/src/orb/types/shared/new_plan_scalable_matrix_with_unit_pricing_price.py +++ b/src/orb/types/shared/new_plan_scalable_matrix_with_unit_pricing_price.py @@ -24,13 +24,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(BaseModel): """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingConfig(BaseModel): diff --git a/src/orb/types/shared/new_plan_threshold_total_amount_price.py b/src/orb/types/shared/new_plan_threshold_total_amount_price.py index 24bfdecd..222cd38a 100644 --- a/src/orb/types/shared/new_plan_threshold_total_amount_price.py +++ b/src/orb/types/shared/new_plan_threshold_total_amount_price.py @@ -24,7 +24,6 @@ class ThresholdTotalAmountConfigConsumptionTable(BaseModel): """Configuration for a single threshold""" threshold: str - """Quantity threshold""" total_amount: str """Total amount for this threshold""" diff --git a/src/orb/types/shared/new_plan_tiered_package_price.py b/src/orb/types/shared/new_plan_tiered_package_price.py index bb983558..ed5a9b2d 100644 --- a/src/orb/types/shared/new_plan_tiered_package_price.py +++ b/src/orb/types/shared/new_plan_tiered_package_price.py @@ -22,14 +22,12 @@ class TieredPackageConfigTier(BaseModel): """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackageConfig(BaseModel): """Configuration for tiered_package pricing""" package_size: str - """Package size""" tiers: List[TieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_plan_tiered_package_with_minimum_price.py b/src/orb/types/shared/new_plan_tiered_package_with_minimum_price.py index e813a404..a95deb9b 100644 --- a/src/orb/types/shared/new_plan_tiered_package_with_minimum_price.py +++ b/src/orb/types/shared/new_plan_tiered_package_with_minimum_price.py @@ -24,20 +24,16 @@ class TieredPackageWithMinimumConfigTier(BaseModel): """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" per_unit: str - """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackageWithMinimumConfig(BaseModel): """Configuration for tiered_package_with_minimum pricing""" package_size: float - """Package size""" tiers: List[TieredPackageWithMinimumConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared/new_plan_tiered_with_minimum_price.py b/src/orb/types/shared/new_plan_tiered_with_minimum_price.py index ad4c1ff7..0c091ee2 100644 --- a/src/orb/types/shared/new_plan_tiered_with_minimum_price.py +++ b/src/orb/types/shared/new_plan_tiered_with_minimum_price.py @@ -24,10 +24,8 @@ class TieredWithMinimumConfigTier(BaseModel): """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" diff --git a/src/orb/types/shared/price.py b/src/orb/types/shared/price.py index 077ab399..d6d6d819 100644 --- a/src/orb/types/shared/price.py +++ b/src/orb/types/shared/price.py @@ -756,7 +756,6 @@ class ThresholdTotalAmountPriceThresholdTotalAmountConfigConsumptionTable(BaseMo """Configuration for a single threshold""" threshold: str - """Quantity threshold""" total_amount: str """Total amount for this threshold""" @@ -872,14 +871,12 @@ class TieredPackagePriceTieredPackageConfigTier(BaseModel): """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackagePriceTieredPackageConfig(BaseModel): """Configuration for tiered_package pricing""" package_size: str - """Package size""" tiers: List[TieredPackagePriceTieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. @@ -984,10 +981,8 @@ class TieredWithMinimumPriceTieredWithMinimumConfigTier(BaseModel): """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" @@ -1103,7 +1098,6 @@ class GroupedTieredPriceGroupedTieredConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" @@ -1216,20 +1210,16 @@ class TieredPackageWithMinimumPriceTieredPackageWithMinimumConfigTier(BaseModel) """Configuration for a single tier""" minimum_amount: str - """Minimum amount""" per_unit: str - """Price per package""" tier_lower_bound: str - """Tier lower bound""" class TieredPackageWithMinimumPriceTieredPackageWithMinimumConfig(BaseModel): """Configuration for tiered_package_with_minimum pricing""" package_size: float - """Package size""" tiers: List[TieredPackageWithMinimumPriceTieredPackageWithMinimumConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. @@ -1332,13 +1322,10 @@ class PackageWithAllocationPricePackageWithAllocationConfig(BaseModel): """Configuration for package_with_allocation pricing""" allocation: str - """Usage allocation""" package_amount: str - """Price per package""" package_size: str - """Package size""" class PackageWithAllocationPrice(BaseModel): @@ -2145,17 +2132,14 @@ class GroupedWithMeteredMinimumPriceGroupedWithMeteredMinimumConfigScalingFactor """Configuration for a scaling factor""" scaling_factor: str - """Scaling factor""" scaling_value: str - """Scaling value""" class GroupedWithMeteredMinimumPriceGroupedWithMeteredMinimumConfigUnitAmount(BaseModel): """Configuration for a unit amount""" pricing_value: str - """Pricing value""" unit_amount: str """Per unit amount""" @@ -2502,10 +2486,9 @@ class GroupedTieredPackagePriceGroupedTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" per_unit: str - """Price per package""" + """Per package""" tier_lower_bound: str - """Tier lower bound""" class GroupedTieredPackagePriceGroupedTieredPackageConfig(BaseModel): @@ -2515,7 +2498,6 @@ class GroupedTieredPackagePriceGroupedTieredPackageConfig(BaseModel): """The event property used to group before tiering""" package_size: str - """Package size""" tiers: List[GroupedTieredPackagePriceGroupedTieredPackageConfigTier] """Apply tiered pricing after rounding up the quantity to the package size. @@ -2618,7 +2600,6 @@ class MaxGroupTieredPackagePriceMaxGroupTieredPackageConfigTier(BaseModel): """Configuration for a single tier""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str """Per unit amount""" @@ -2633,7 +2614,6 @@ class MaxGroupTieredPackagePriceMaxGroupTieredPackageConfig(BaseModel): """ package_size: str - """Package size""" tiers: List[MaxGroupTieredPackagePriceMaxGroupTieredPackageConfigTier] """Apply tiered pricing to the largest group after grouping with the provided key.""" @@ -2733,13 +2713,10 @@ class ScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricingConfigMatri """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricingConfig(BaseModel): @@ -2857,23 +2834,18 @@ class ScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfigM """Configuration for a single matrix scaling factor""" first_dimension_value: str - """First dimension value""" scaling_factor: str - """Scaling factor""" second_dimension_value: Optional[str] = None - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfigTier(BaseModel): """Configuration for a single tier entry with business logic""" tier_lower_bound: str - """Tier lower bound""" unit_amount: str - """Per unit amount""" class ScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfig(BaseModel): @@ -2888,7 +2860,6 @@ class ScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfig( """Apply a scaling factor to each dimension""" tiers: List[ScalableMatrixWithTieredPricingPriceScalableMatrixWithTieredPricingConfigTier] - """Tier pricing structure""" second_dimension: Optional[str] = None """Used for the scalable matrix second dimension (optional)""" @@ -3006,7 +2977,6 @@ class CumulativeGroupedBulkPriceCumulativeGroupedBulkConfig(BaseModel): """Each tier lower bound must have the same group of values.""" group: str - """Grouping key name""" class CumulativeGroupedBulkPrice(BaseModel): diff --git a/src/orb/types/shared_params/new_floating_cumulative_grouped_bulk_price.py b/src/orb/types/shared_params/new_floating_cumulative_grouped_bulk_price.py index 9a33588b..fe7e0889 100644 --- a/src/orb/types/shared_params/new_floating_cumulative_grouped_bulk_price.py +++ b/src/orb/types/shared_params/new_floating_cumulative_grouped_bulk_price.py @@ -38,7 +38,6 @@ class CumulativeGroupedBulkConfig(TypedDict, total=False): """Each tier lower bound must have the same group of values.""" group: Required[str] - """Grouping key name""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/shared_params/new_floating_grouped_tiered_package_price.py b/src/orb/types/shared_params/new_floating_grouped_tiered_package_price.py index 8443ce0c..6f1409df 100644 --- a/src/orb/types/shared_params/new_floating_grouped_tiered_package_price.py +++ b/src/orb/types/shared_params/new_floating_grouped_tiered_package_price.py @@ -22,10 +22,9 @@ class GroupedTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" per_unit: Required[str] - """Price per package""" + """Per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class GroupedTieredPackageConfig(TypedDict, total=False): @@ -35,7 +34,6 @@ class GroupedTieredPackageConfig(TypedDict, total=False): """The event property used to group before tiering""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[GroupedTieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_floating_grouped_tiered_price.py b/src/orb/types/shared_params/new_floating_grouped_tiered_price.py index 51225cc0..2fff664f 100644 --- a/src/orb/types/shared_params/new_floating_grouped_tiered_price.py +++ b/src/orb/types/shared_params/new_floating_grouped_tiered_price.py @@ -17,7 +17,6 @@ class GroupedTieredConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/shared_params/new_floating_grouped_with_metered_minimum_price.py b/src/orb/types/shared_params/new_floating_grouped_with_metered_minimum_price.py index dd4d8c37..229adf92 100644 --- a/src/orb/types/shared_params/new_floating_grouped_with_metered_minimum_price.py +++ b/src/orb/types/shared_params/new_floating_grouped_with_metered_minimum_price.py @@ -23,17 +23,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(TypedDict, total=False): """Configuration for a scaling factor""" scaling_factor: Required[str] - """Scaling factor""" scaling_value: Required[str] - """Scaling value""" class GroupedWithMeteredMinimumConfigUnitAmount(TypedDict, total=False): """Configuration for a unit amount""" pricing_value: Required[str] - """Pricing value""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/shared_params/new_floating_max_group_tiered_package_price.py b/src/orb/types/shared_params/new_floating_max_group_tiered_package_price.py index 36e244ed..364fa0eb 100644 --- a/src/orb/types/shared_params/new_floating_max_group_tiered_package_price.py +++ b/src/orb/types/shared_params/new_floating_max_group_tiered_package_price.py @@ -22,7 +22,6 @@ class MaxGroupTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -37,7 +36,6 @@ class MaxGroupTieredPackageConfig(TypedDict, total=False): """ package_size: Required[str] - """Package size""" tiers: Required[Iterable[MaxGroupTieredPackageConfigTier]] """Apply tiered pricing to the largest group after grouping with the provided key.""" diff --git a/src/orb/types/shared_params/new_floating_package_with_allocation_price.py b/src/orb/types/shared_params/new_floating_package_with_allocation_price.py index 98d66bf5..33824199 100644 --- a/src/orb/types/shared_params/new_floating_package_with_allocation_price.py +++ b/src/orb/types/shared_params/new_floating_package_with_allocation_price.py @@ -17,13 +17,10 @@ class PackageWithAllocationConfig(TypedDict, total=False): """Configuration for package_with_allocation pricing""" allocation: Required[str] - """Usage allocation""" package_amount: Required[str] - """Price per package""" package_size: Required[str] - """Package size""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/shared_params/new_floating_scalable_matrix_with_tiered_pricing_price.py b/src/orb/types/shared_params/new_floating_scalable_matrix_with_tiered_pricing_price.py index 41b56031..b7edb78d 100644 --- a/src/orb/types/shared_params/new_floating_scalable_matrix_with_tiered_pricing_price.py +++ b/src/orb/types/shared_params/new_floating_scalable_matrix_with_tiered_pricing_price.py @@ -23,23 +23,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(TypedDict, total= """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingConfigTier(TypedDict, total=False): """Configuration for a single tier entry with business logic""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] - """Per unit amount""" class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): @@ -52,7 +47,6 @@ class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): """Apply a scaling factor to each dimension""" tiers: Required[Iterable[ScalableMatrixWithTieredPricingConfigTier]] - """Tier pricing structure""" second_dimension: Optional[str] """Used for the scalable matrix second dimension (optional)""" diff --git a/src/orb/types/shared_params/new_floating_scalable_matrix_with_unit_pricing_price.py b/src/orb/types/shared_params/new_floating_scalable_matrix_with_unit_pricing_price.py index 9f876992..ca18027c 100644 --- a/src/orb/types/shared_params/new_floating_scalable_matrix_with_unit_pricing_price.py +++ b/src/orb/types/shared_params/new_floating_scalable_matrix_with_unit_pricing_price.py @@ -22,13 +22,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(TypedDict, total=Fa """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False): diff --git a/src/orb/types/shared_params/new_floating_threshold_total_amount_price.py b/src/orb/types/shared_params/new_floating_threshold_total_amount_price.py index d881ec84..e64ee0dd 100644 --- a/src/orb/types/shared_params/new_floating_threshold_total_amount_price.py +++ b/src/orb/types/shared_params/new_floating_threshold_total_amount_price.py @@ -22,7 +22,6 @@ class ThresholdTotalAmountConfigConsumptionTable(TypedDict, total=False): """Configuration for a single threshold""" threshold: Required[str] - """Quantity threshold""" total_amount: Required[str] """Total amount for this threshold""" diff --git a/src/orb/types/shared_params/new_floating_tiered_package_price.py b/src/orb/types/shared_params/new_floating_tiered_package_price.py index 4b013f92..f0c769ef 100644 --- a/src/orb/types/shared_params/new_floating_tiered_package_price.py +++ b/src/orb/types/shared_params/new_floating_tiered_package_price.py @@ -20,14 +20,12 @@ class TieredPackageConfigTier(TypedDict, total=False): """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageConfig(TypedDict, total=False): """Configuration for tiered_package pricing""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[TieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_floating_tiered_package_with_minimum_price.py b/src/orb/types/shared_params/new_floating_tiered_package_with_minimum_price.py index 27dc00a1..3f9af13a 100644 --- a/src/orb/types/shared_params/new_floating_tiered_package_with_minimum_price.py +++ b/src/orb/types/shared_params/new_floating_tiered_package_with_minimum_price.py @@ -22,20 +22,16 @@ class TieredPackageWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" per_unit: Required[str] - """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageWithMinimumConfig(TypedDict, total=False): """Configuration for tiered_package_with_minimum pricing""" package_size: Required[float] - """Package size""" tiers: Required[Iterable[TieredPackageWithMinimumConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_floating_tiered_with_minimum_price.py b/src/orb/types/shared_params/new_floating_tiered_with_minimum_price.py index 8b92b07e..934637cc 100644 --- a/src/orb/types/shared_params/new_floating_tiered_with_minimum_price.py +++ b/src/orb/types/shared_params/new_floating_tiered_with_minimum_price.py @@ -22,10 +22,8 @@ class TieredWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/shared_params/new_plan_cumulative_grouped_bulk_price.py b/src/orb/types/shared_params/new_plan_cumulative_grouped_bulk_price.py index e99df53f..554d80d4 100644 --- a/src/orb/types/shared_params/new_plan_cumulative_grouped_bulk_price.py +++ b/src/orb/types/shared_params/new_plan_cumulative_grouped_bulk_price.py @@ -38,7 +38,6 @@ class CumulativeGroupedBulkConfig(TypedDict, total=False): """Each tier lower bound must have the same group of values.""" group: Required[str] - """Grouping key name""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/shared_params/new_plan_grouped_tiered_package_price.py b/src/orb/types/shared_params/new_plan_grouped_tiered_package_price.py index 61b8e954..8b1b1cd1 100644 --- a/src/orb/types/shared_params/new_plan_grouped_tiered_package_price.py +++ b/src/orb/types/shared_params/new_plan_grouped_tiered_package_price.py @@ -22,10 +22,9 @@ class GroupedTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" per_unit: Required[str] - """Price per package""" + """Per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class GroupedTieredPackageConfig(TypedDict, total=False): @@ -35,7 +34,6 @@ class GroupedTieredPackageConfig(TypedDict, total=False): """The event property used to group before tiering""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[GroupedTieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_plan_grouped_tiered_price.py b/src/orb/types/shared_params/new_plan_grouped_tiered_price.py index 021e5286..a9cc4ae5 100644 --- a/src/orb/types/shared_params/new_plan_grouped_tiered_price.py +++ b/src/orb/types/shared_params/new_plan_grouped_tiered_price.py @@ -17,7 +17,6 @@ class GroupedTieredConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/shared_params/new_plan_grouped_with_metered_minimum_price.py b/src/orb/types/shared_params/new_plan_grouped_with_metered_minimum_price.py index ecf93c84..09d0e5b8 100644 --- a/src/orb/types/shared_params/new_plan_grouped_with_metered_minimum_price.py +++ b/src/orb/types/shared_params/new_plan_grouped_with_metered_minimum_price.py @@ -23,17 +23,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(TypedDict, total=False): """Configuration for a scaling factor""" scaling_factor: Required[str] - """Scaling factor""" scaling_value: Required[str] - """Scaling value""" class GroupedWithMeteredMinimumConfigUnitAmount(TypedDict, total=False): """Configuration for a unit amount""" pricing_value: Required[str] - """Pricing value""" unit_amount: Required[str] """Per unit amount""" diff --git a/src/orb/types/shared_params/new_plan_max_group_tiered_package_price.py b/src/orb/types/shared_params/new_plan_max_group_tiered_package_price.py index 6bda5f79..3122290c 100644 --- a/src/orb/types/shared_params/new_plan_max_group_tiered_package_price.py +++ b/src/orb/types/shared_params/new_plan_max_group_tiered_package_price.py @@ -22,7 +22,6 @@ class MaxGroupTieredPackageConfigTier(TypedDict, total=False): """Configuration for a single tier""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount""" @@ -37,7 +36,6 @@ class MaxGroupTieredPackageConfig(TypedDict, total=False): """ package_size: Required[str] - """Package size""" tiers: Required[Iterable[MaxGroupTieredPackageConfigTier]] """Apply tiered pricing to the largest group after grouping with the provided key.""" diff --git a/src/orb/types/shared_params/new_plan_package_with_allocation_price.py b/src/orb/types/shared_params/new_plan_package_with_allocation_price.py index 496ba702..a26d0d4b 100644 --- a/src/orb/types/shared_params/new_plan_package_with_allocation_price.py +++ b/src/orb/types/shared_params/new_plan_package_with_allocation_price.py @@ -17,13 +17,10 @@ class PackageWithAllocationConfig(TypedDict, total=False): """Configuration for package_with_allocation pricing""" allocation: Required[str] - """Usage allocation""" package_amount: Required[str] - """Price per package""" package_size: Required[str] - """Package size""" ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig] diff --git a/src/orb/types/shared_params/new_plan_scalable_matrix_with_tiered_pricing_price.py b/src/orb/types/shared_params/new_plan_scalable_matrix_with_tiered_pricing_price.py index 878b2c45..7cfa7040 100644 --- a/src/orb/types/shared_params/new_plan_scalable_matrix_with_tiered_pricing_price.py +++ b/src/orb/types/shared_params/new_plan_scalable_matrix_with_tiered_pricing_price.py @@ -23,23 +23,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(TypedDict, total= """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithTieredPricingConfigTier(TypedDict, total=False): """Configuration for a single tier entry with business logic""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] - """Per unit amount""" class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): @@ -52,7 +47,6 @@ class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False): """Apply a scaling factor to each dimension""" tiers: Required[Iterable[ScalableMatrixWithTieredPricingConfigTier]] - """Tier pricing structure""" second_dimension: Optional[str] """Used for the scalable matrix second dimension (optional)""" diff --git a/src/orb/types/shared_params/new_plan_scalable_matrix_with_unit_pricing_price.py b/src/orb/types/shared_params/new_plan_scalable_matrix_with_unit_pricing_price.py index e97cfcc7..7a0b8cbb 100644 --- a/src/orb/types/shared_params/new_plan_scalable_matrix_with_unit_pricing_price.py +++ b/src/orb/types/shared_params/new_plan_scalable_matrix_with_unit_pricing_price.py @@ -22,13 +22,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(TypedDict, total=Fa """Configuration for a single matrix scaling factor""" first_dimension_value: Required[str] - """First dimension value""" scaling_factor: Required[str] - """Scaling factor""" second_dimension_value: Optional[str] - """Second dimension value (optional)""" class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False): diff --git a/src/orb/types/shared_params/new_plan_threshold_total_amount_price.py b/src/orb/types/shared_params/new_plan_threshold_total_amount_price.py index 6d013105..73c235f9 100644 --- a/src/orb/types/shared_params/new_plan_threshold_total_amount_price.py +++ b/src/orb/types/shared_params/new_plan_threshold_total_amount_price.py @@ -22,7 +22,6 @@ class ThresholdTotalAmountConfigConsumptionTable(TypedDict, total=False): """Configuration for a single threshold""" threshold: Required[str] - """Quantity threshold""" total_amount: Required[str] """Total amount for this threshold""" diff --git a/src/orb/types/shared_params/new_plan_tiered_package_price.py b/src/orb/types/shared_params/new_plan_tiered_package_price.py index b5a61c43..7f061a27 100644 --- a/src/orb/types/shared_params/new_plan_tiered_package_price.py +++ b/src/orb/types/shared_params/new_plan_tiered_package_price.py @@ -20,14 +20,12 @@ class TieredPackageConfigTier(TypedDict, total=False): """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageConfig(TypedDict, total=False): """Configuration for tiered_package pricing""" package_size: Required[str] - """Package size""" tiers: Required[Iterable[TieredPackageConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_plan_tiered_package_with_minimum_price.py b/src/orb/types/shared_params/new_plan_tiered_package_with_minimum_price.py index ae6dcea2..c47dec44 100644 --- a/src/orb/types/shared_params/new_plan_tiered_package_with_minimum_price.py +++ b/src/orb/types/shared_params/new_plan_tiered_package_with_minimum_price.py @@ -22,20 +22,16 @@ class TieredPackageWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" per_unit: Required[str] - """Price per package""" tier_lower_bound: Required[str] - """Tier lower bound""" class TieredPackageWithMinimumConfig(TypedDict, total=False): """Configuration for tiered_package_with_minimum pricing""" package_size: Required[float] - """Package size""" tiers: Required[Iterable[TieredPackageWithMinimumConfigTier]] """Apply tiered pricing after rounding up the quantity to the package size. diff --git a/src/orb/types/shared_params/new_plan_tiered_with_minimum_price.py b/src/orb/types/shared_params/new_plan_tiered_with_minimum_price.py index 1b32c6be..27b720fb 100644 --- a/src/orb/types/shared_params/new_plan_tiered_with_minimum_price.py +++ b/src/orb/types/shared_params/new_plan_tiered_with_minimum_price.py @@ -22,10 +22,8 @@ class TieredWithMinimumConfigTier(TypedDict, total=False): """Configuration for a single tier""" minimum_amount: Required[str] - """Minimum amount""" tier_lower_bound: Required[str] - """Tier lower bound""" unit_amount: Required[str] """Per unit amount"""