Skip to content

Commit 51be2e6

Browse files
feat(api): api update
1 parent 68cf312 commit 51be2e6

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
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-d63c8075b48441663736b457f8ad859c58cc3e31dfbffb68db44c3f00562012c.yml
3-
openapi_spec_hash: c47dbff685a0a449bfc1ad729c13a72e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-2c9291de1fd876908ebe56144e90762ab6e390e3f25102da815ab3fca6335d38.yml
3+
openapi_spec_hash: eabe2d8e58ceed1d61d41fe7a44020ca
44
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2

price.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,9 @@ type PriceNewParamsNewFloatingTieredPackagePriceTieredPackageConfig struct {
12741274
// Package size
12751275
PackageSize param.Field[string] `json:"package_size,required"`
12761276
// Apply tiered pricing after rounding up the quantity to the package size. Tiers
1277-
// are defined using exclusive lower bounds.
1277+
// are defined using exclusive lower bounds. The tier bounds are defined based on
1278+
// the total quantity rather than the number of packages, so they must be multiples
1279+
// of the package size.
12781280
Tiers param.Field[[]PriceNewParamsNewFloatingTieredPackagePriceTieredPackageConfigTier] `json:"tiers,required"`
12791281
}
12801282

shared/shared.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6612,7 +6612,9 @@ type NewFloatingTieredPackagePriceTieredPackageConfigParam struct {
66126612
// Package size
66136613
PackageSize param.Field[string] `json:"package_size,required"`
66146614
// Apply tiered pricing after rounding up the quantity to the package size. Tiers
6615-
// are defined using exclusive lower bounds.
6615+
// are defined using exclusive lower bounds. The tier bounds are defined based on
6616+
// the total quantity rather than the number of packages, so they must be multiples
6617+
// of the package size.
66166618
Tiers param.Field[[]NewFloatingTieredPackagePriceTieredPackageConfigTierParam] `json:"tiers,required"`
66176619
}
66186620

@@ -10841,7 +10843,9 @@ type NewPlanTieredPackagePriceTieredPackageConfigParam struct {
1084110843
// Package size
1084210844
PackageSize param.Field[string] `json:"package_size,required"`
1084310845
// Apply tiered pricing after rounding up the quantity to the package size. Tiers
10844-
// are defined using exclusive lower bounds.
10846+
// are defined using exclusive lower bounds. The tier bounds are defined based on
10847+
// the total quantity rather than the number of packages, so they must be multiples
10848+
// of the package size.
1084510849
Tiers param.Field[[]NewPlanTieredPackagePriceTieredPackageConfigTierParam] `json:"tiers,required"`
1084610850
}
1084710851

@@ -14479,7 +14483,9 @@ type PriceTieredPackagePriceTieredPackageConfig struct {
1447914483
// Package size
1448014484
PackageSize string `json:"package_size,required"`
1448114485
// Apply tiered pricing after rounding up the quantity to the package size. Tiers
14482-
// are defined using exclusive lower bounds.
14486+
// are defined using exclusive lower bounds. The tier bounds are defined based on
14487+
// the total quantity rather than the number of packages, so they must be multiples
14488+
// of the package size.
1448314489
Tiers []PriceTieredPackagePriceTieredPackageConfigTier `json:"tiers,required"`
1448414490
JSON priceTieredPackagePriceTieredPackageConfigJSON `json:"-"`
1448514491
}

subscription.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4013,7 +4013,9 @@ type NewSubscriptionTieredPackagePriceTieredPackageConfigParam struct {
40134013
// Package size
40144014
PackageSize param.Field[string] `json:"package_size,required"`
40154015
// Apply tiered pricing after rounding up the quantity to the package size. Tiers
4016-
// are defined using exclusive lower bounds.
4016+
// are defined using exclusive lower bounds. The tier bounds are defined based on
4017+
// the total quantity rather than the number of packages, so they must be multiples
4018+
// of the package size.
40174019
Tiers param.Field[[]NewSubscriptionTieredPackagePriceTieredPackageConfigTierParam] `json:"tiers,required"`
40184020
}
40194021

0 commit comments

Comments
 (0)