Skip to content

Commit 3685f1a

Browse files
feat(api): api update
1 parent e46bd76 commit 3685f1a

File tree

63 files changed

+9
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+9
-219
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-647fcb5866bd752a09db1530acb79134f9cc729b2e00d9abecc0b60806183817.yml
3-
openapi_spec_hash: 080cc78660e0a91499a46ef8bf0a3745
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml
3+
openapi_spec_hash: a317931a99e6d4a122919135a0363e40
44
config_hash: 05c94c0e6dbeab2c9b554c2e0d6371a0

src/orb/types/new_subscription_cumulative_grouped_bulk_price_param.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class CumulativeGroupedBulkConfig(TypedDict, total=False):
3838
"""Each tier lower bound must have the same group of values."""
3939

4040
group: Required[str]
41-
"""Grouping key name"""
4241

4342

4443
ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig]

src/orb/types/new_subscription_grouped_tiered_package_price_param.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ class GroupedTieredPackageConfigTier(TypedDict, total=False):
2222
"""Configuration for a single tier"""
2323

2424
per_unit: Required[str]
25-
"""Price per package"""
25+
"""Per package"""
2626

2727
tier_lower_bound: Required[str]
28-
"""Tier lower bound"""
2928

3029

3130
class GroupedTieredPackageConfig(TypedDict, total=False):
@@ -35,7 +34,6 @@ class GroupedTieredPackageConfig(TypedDict, total=False):
3534
"""The event property used to group before tiering"""
3635

3736
package_size: Required[str]
38-
"""Package size"""
3937

4038
tiers: Required[Iterable[GroupedTieredPackageConfigTier]]
4139
"""Apply tiered pricing after rounding up the quantity to the package size.

src/orb/types/new_subscription_grouped_tiered_price_param.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class GroupedTieredConfigTier(TypedDict, total=False):
2222
"""Configuration for a single tier"""
2323

2424
tier_lower_bound: Required[str]
25-
"""Tier lower bound"""
2625

2726
unit_amount: Required[str]
2827
"""Per unit amount"""

src/orb/types/new_subscription_grouped_with_metered_minimum_price_param.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@ class GroupedWithMeteredMinimumConfigScalingFactor(TypedDict, total=False):
2323
"""Configuration for a scaling factor"""
2424

2525
scaling_factor: Required[str]
26-
"""Scaling factor"""
2726

2827
scaling_value: Required[str]
29-
"""Scaling value"""
3028

3129

3230
class GroupedWithMeteredMinimumConfigUnitAmount(TypedDict, total=False):
3331
"""Configuration for a unit amount"""
3432

3533
pricing_value: Required[str]
36-
"""Pricing value"""
3734

3835
unit_amount: Required[str]
3936
"""Per unit amount"""

src/orb/types/new_subscription_max_group_tiered_package_price_param.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class MaxGroupTieredPackageConfigTier(TypedDict, total=False):
2222
"""Configuration for a single tier"""
2323

2424
tier_lower_bound: Required[str]
25-
"""Tier lower bound"""
2625

2726
unit_amount: Required[str]
2827
"""Per unit amount"""
@@ -37,7 +36,6 @@ class MaxGroupTieredPackageConfig(TypedDict, total=False):
3736
"""
3837

3938
package_size: Required[str]
40-
"""Package size"""
4139

4240
tiers: Required[Iterable[MaxGroupTieredPackageConfigTier]]
4341
"""Apply tiered pricing to the largest group after grouping with the provided key."""

src/orb/types/new_subscription_package_with_allocation_price_param.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,10 @@ class PackageWithAllocationConfig(TypedDict, total=False):
1717
"""Configuration for package_with_allocation pricing"""
1818

1919
allocation: Required[str]
20-
"""Usage allocation"""
2120

2221
package_amount: Required[str]
23-
"""Price per package"""
2422

2523
package_size: Required[str]
26-
"""Package size"""
2724

2825

2926
ConversionRateConfig: TypeAlias = Union[UnitConversionRateConfig, TieredConversionRateConfig]

src/orb/types/new_subscription_scalable_matrix_with_tiered_pricing_price_param.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,18 @@ class ScalableMatrixWithTieredPricingConfigMatrixScalingFactor(TypedDict, total=
2323
"""Configuration for a single matrix scaling factor"""
2424

2525
first_dimension_value: Required[str]
26-
"""First dimension value"""
2726

2827
scaling_factor: Required[str]
29-
"""Scaling factor"""
3028

3129
second_dimension_value: Optional[str]
32-
"""Second dimension value (optional)"""
3330

3431

3532
class ScalableMatrixWithTieredPricingConfigTier(TypedDict, total=False):
3633
"""Configuration for a single tier entry with business logic"""
3734

3835
tier_lower_bound: Required[str]
39-
"""Tier lower bound"""
4036

4137
unit_amount: Required[str]
42-
"""Per unit amount"""
4338

4439

4540
class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False):
@@ -52,7 +47,6 @@ class ScalableMatrixWithTieredPricingConfig(TypedDict, total=False):
5247
"""Apply a scaling factor to each dimension"""
5348

5449
tiers: Required[Iterable[ScalableMatrixWithTieredPricingConfigTier]]
55-
"""Tier pricing structure"""
5650

5751
second_dimension: Optional[str]
5852
"""Used for the scalable matrix second dimension (optional)"""

src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ class ScalableMatrixWithUnitPricingConfigMatrixScalingFactor(TypedDict, total=Fa
2222
"""Configuration for a single matrix scaling factor"""
2323

2424
first_dimension_value: Required[str]
25-
"""First dimension value"""
2625

2726
scaling_factor: Required[str]
28-
"""Scaling factor"""
2927

3028
second_dimension_value: Optional[str]
31-
"""Second dimension value (optional)"""
3229

3330

3431
class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False):

src/orb/types/new_subscription_threshold_total_amount_price_param.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class ThresholdTotalAmountConfigConsumptionTable(TypedDict, total=False):
2222
"""Configuration for a single threshold"""
2323

2424
threshold: Required[str]
25-
"""Quantity threshold"""
2625

2726
total_amount: Required[str]
2827
"""Total amount for this threshold"""

0 commit comments

Comments
 (0)