Skip to content

Commit 5a8b088

Browse files
feat(api): api update
1 parent cc760de commit 5a8b088

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

src/resources/prices/prices.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,9 @@ export declare namespace PriceCreateParams {
988988

989989
/**
990990
* Apply tiered pricing after rounding up the quantity to the package size. Tiers
991-
* are defined using exclusive lower bounds.
991+
* are defined using exclusive lower bounds. The tier bounds are defined based on
992+
* the total quantity rather than the number of packages, so they must be multiples
993+
* of the package size.
992994
*/
993995
tiers: Array<TieredPackageConfig.Tier>;
994996
}

src/resources/shared.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4326,7 +4326,9 @@ export namespace NewFloatingTieredPackagePrice {
43264326

43274327
/**
43284328
* Apply tiered pricing after rounding up the quantity to the package size. Tiers
4329-
* are defined using exclusive lower bounds.
4329+
* are defined using exclusive lower bounds. The tier bounds are defined based on
4330+
* the total quantity rather than the number of packages, so they must be multiples
4331+
* of the package size.
43304332
*/
43314333
tiers: Array<TieredPackageConfig.Tier>;
43324334
}
@@ -7741,7 +7743,9 @@ export namespace NewPlanTieredPackagePrice {
77417743

77427744
/**
77437745
* Apply tiered pricing after rounding up the quantity to the package size. Tiers
7744-
* are defined using exclusive lower bounds.
7746+
* are defined using exclusive lower bounds. The tier bounds are defined based on
7747+
* the total quantity rather than the number of packages, so they must be multiples
7748+
* of the package size.
77457749
*/
77467750
tiers: Array<TieredPackageConfig.Tier>;
77477751
}
@@ -9566,7 +9570,9 @@ export namespace Price {
95669570

95679571
/**
95689572
* Apply tiered pricing after rounding up the quantity to the package size. Tiers
9569-
* are defined using exclusive lower bounds.
9573+
* are defined using exclusive lower bounds. The tier bounds are defined based on
9574+
* the total quantity rather than the number of packages, so they must be multiples
9575+
* of the package size.
95709576
*/
95719577
tiers: Array<TieredPackageConfig.Tier>;
95729578
}

src/resources/subscriptions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3551,7 +3551,9 @@ export namespace NewSubscriptionTieredPackagePrice {
35513551

35523552
/**
35533553
* Apply tiered pricing after rounding up the quantity to the package size. Tiers
3554-
* are defined using exclusive lower bounds.
3554+
* are defined using exclusive lower bounds. The tier bounds are defined based on
3555+
* the total quantity rather than the number of packages, so they must be multiples
3556+
* of the package size.
35553557
*/
35563558
tiers: Array<TieredPackageConfig.Tier>;
35573559
}

0 commit comments

Comments
 (0)