Skip to content

Commit 340aeb5

Browse files
feat(api): api update
1 parent 8c81c68 commit 340aeb5

29 files changed

+43987
-16765
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-9e751a2aefff382af949380b5979a80cb02743eca1583cf5146325fb400ba87f.yml
3-
openapi_spec_hash: 219a1008f47d3293f64f1baebe2d6eb5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-947253d9be505473c1c2cb0193d2602fa6b017e221f482be3f4f374c6156b350.yml
3+
openapi_spec_hash: 1b40d1a85b4b846a1c14634fbbc65da3
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

orb-java-core/src/main/kotlin/com/withorb/api/models/BetaCreatePlanVersionParams.kt

Lines changed: 7499 additions & 3797 deletions
Large diffs are not rendered by default.

orb-java-core/src/main/kotlin/com/withorb/api/models/BetaExternalPlanIdCreatePlanVersionParams.kt

Lines changed: 7499 additions & 3797 deletions
Large diffs are not rendered by default.

orb-java-core/src/main/kotlin/com/withorb/api/models/ChangedSubscriptionResources.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5424,6 +5424,13 @@ private constructor(
54245424
fun price(cumulativeGroupedBulk: Price.CumulativeGroupedBulk) =
54255425
price(Price.ofCumulativeGroupedBulk(cumulativeGroupedBulk))
54265426

5427+
/**
5428+
* Alias for calling [price] with
5429+
* `Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation)`.
5430+
*/
5431+
fun price(cumulativeGroupedAllocation: Price.CumulativeGroupedAllocation) =
5432+
price(Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation))
5433+
54275434
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
54285435
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
54295436

orb-java-core/src/main/kotlin/com/withorb/api/models/Invoice.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4895,6 +4895,13 @@ private constructor(
48954895
fun price(cumulativeGroupedBulk: Price.CumulativeGroupedBulk) =
48964896
price(Price.ofCumulativeGroupedBulk(cumulativeGroupedBulk))
48974897

4898+
/**
4899+
* Alias for calling [price] with
4900+
* `Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation)`.
4901+
*/
4902+
fun price(cumulativeGroupedAllocation: Price.CumulativeGroupedAllocation) =
4903+
price(Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation))
4904+
48984905
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
48994906
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
49004907

orb-java-core/src/main/kotlin/com/withorb/api/models/InvoiceFetchUpcomingResponse.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4889,6 +4889,13 @@ private constructor(
48894889
fun price(cumulativeGroupedBulk: Price.CumulativeGroupedBulk) =
48904890
price(Price.ofCumulativeGroupedBulk(cumulativeGroupedBulk))
48914891

4892+
/**
4893+
* Alias for calling [price] with
4894+
* `Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation)`.
4895+
*/
4896+
fun price(cumulativeGroupedAllocation: Price.CumulativeGroupedAllocation) =
4897+
price(Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation))
4898+
48924899
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
48934900
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
48944901

orb-java-core/src/main/kotlin/com/withorb/api/models/InvoiceLineItemCreateResponse.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,13 @@ private constructor(
819819
fun price(cumulativeGroupedBulk: Price.CumulativeGroupedBulk) =
820820
price(Price.ofCumulativeGroupedBulk(cumulativeGroupedBulk))
821821

822+
/**
823+
* Alias for calling [price] with
824+
* `Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation)`.
825+
*/
826+
fun price(cumulativeGroupedAllocation: Price.CumulativeGroupedAllocation) =
827+
price(Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation))
828+
822829
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
823830
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
824831

orb-java-core/src/main/kotlin/com/withorb/api/models/PerPriceCost.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,13 @@ private constructor(
298298
fun price(cumulativeGroupedBulk: Price.CumulativeGroupedBulk) =
299299
price(Price.ofCumulativeGroupedBulk(cumulativeGroupedBulk))
300300

301+
/**
302+
* Alias for calling [price] with
303+
* `Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation)`.
304+
*/
305+
fun price(cumulativeGroupedAllocation: Price.CumulativeGroupedAllocation) =
306+
price(Price.ofCumulativeGroupedAllocation(cumulativeGroupedAllocation))
307+
301308
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
302309
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
303310

0 commit comments

Comments
 (0)