Skip to content

Commit ab79480

Browse files
feat(api): api update
1 parent 0f4e585 commit ab79480

21 files changed

+36709
-13034
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-297c7ce95bc0aa1ac6f324a487515f49b8a30b74eb9d39ca9dcd2d9cf065f0ef.yml
3-
openapi_spec_hash: 29e9af981bc78379336079bb4208c54d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b070c1d97a6e3b400f43d2bce36c22ed89d432345b26374728c55dd0a20f0afa.yml
3+
openapi_spec_hash: dba4ff52c381cda6159fc56d8b77eb32
44
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2

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

Lines changed: 6336 additions & 3056 deletions
Large diffs are not rendered by default.

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

Lines changed: 6336 additions & 3056 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5730,6 +5730,9 @@ private constructor(
57305730
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
57315731
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
57325732

5733+
/** Alias for calling [price] with `Price.ofPercent(percent)`. */
5734+
fun price(percent: Price.Percent) = price(Price.ofPercent(percent))
5735+
57335736
/** Alias for calling [price] with `Price.ofEventOutput(eventOutput)`. */
57345737
fun price(eventOutput: Price.EventOutput) = price(Price.ofEventOutput(eventOutput))
57355738

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5194,6 +5194,9 @@ private constructor(
51945194
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
51955195
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
51965196

5197+
/** Alias for calling [price] with `Price.ofPercent(percent)`. */
5198+
fun price(percent: Price.Percent) = price(Price.ofPercent(percent))
5199+
51975200
/** Alias for calling [price] with `Price.ofEventOutput(eventOutput)`. */
51985201
fun price(eventOutput: Price.EventOutput) = price(Price.ofEventOutput(eventOutput))
51995202

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5188,6 +5188,9 @@ private constructor(
51885188
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
51895189
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
51905190

5191+
/** Alias for calling [price] with `Price.ofPercent(percent)`. */
5192+
fun price(percent: Price.Percent) = price(Price.ofPercent(percent))
5193+
51915194
/** Alias for calling [price] with `Price.ofEventOutput(eventOutput)`. */
51925195
fun price(eventOutput: Price.EventOutput) = price(Price.ofEventOutput(eventOutput))
51935196

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,9 @@ private constructor(
11101110
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
11111111
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
11121112

1113+
/** Alias for calling [price] with `Price.ofPercent(percent)`. */
1114+
fun price(percent: Price.Percent) = price(Price.ofPercent(percent))
1115+
11131116
/** Alias for calling [price] with `Price.ofEventOutput(eventOutput)`. */
11141117
fun price(eventOutput: Price.EventOutput) = price(Price.ofEventOutput(eventOutput))
11151118

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ private constructor(
297297
/** Alias for calling [price] with `Price.ofMinimum(minimum)`. */
298298
fun price(minimum: Price.Minimum) = price(Price.ofMinimum(minimum))
299299

300+
/** Alias for calling [price] with `Price.ofPercent(percent)`. */
301+
fun price(percent: Price.Percent) = price(Price.ofPercent(percent))
302+
300303
/** Alias for calling [price] with `Price.ofEventOutput(eventOutput)`. */
301304
fun price(eventOutput: Price.EventOutput) = price(Price.ofEventOutput(eventOutput))
302305

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,9 @@ private constructor(
12251225
/** Alias for calling [addPrice] with `Price.ofMinimum(minimum)`. */
12261226
fun addPrice(minimum: Price.Minimum) = addPrice(Price.ofMinimum(minimum))
12271227

1228+
/** Alias for calling [addPrice] with `Price.ofPercent(percent)`. */
1229+
fun addPrice(percent: Price.Percent) = addPrice(Price.ofPercent(percent))
1230+
12281231
/** Alias for calling [addPrice] with `Price.ofEventOutput(eventOutput)`. */
12291232
fun addPrice(eventOutput: Price.EventOutput) = addPrice(Price.ofEventOutput(eventOutput))
12301233

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

Lines changed: 1640 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)