Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Aug 30, 2024
1 parent 94a7a7f commit 9cb978e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 93
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-15ce5857138c8d5d61dfcfca1b028427d9501531fa5fc8ac36a84b6fdb648783.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-90a52a59bc88bb7c8ae95cd1f8d2e0d69e48320d5481068fe1fbc54f539fd8db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import java.util.Objects
import java.util.Optional

/**
* A coupon represents a reusable discount configuration that can be applied either as a fixed
* currency amount or as a percentage of the usage cost. Coupons are activated using a redemption
* code, which applies the discount to a subscription or invoice. The duration of a coupon
* determines how long it remains available for use by end users.
* A coupon represents a reusable discount configuration that can be applied either as a fixed or
* percentage amount to an invoice or subscription. Coupons are activated using a redemption code,
* which applies the discount to a subscription or invoice. The duration of a coupon determines how
* long it remains available for use by end users.
*
* ## How to use coupons
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,8 @@ interface SubscriptionServiceAsync {
/**
* This endpoint can be used to clear scheduled updates to the quantity for a fixed fee.
*
* If there are no updates scheduled, this endpoint is a no-op.
* If there are no updates scheduled, a request validation error will be returned with a 400
* status code.
*/
@JvmOverloads
fun unscheduleFixedFeeQuantityUpdates(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,8 @@ constructor(
/**
* This endpoint can be used to clear scheduled updates to the quantity for a fixed fee.
*
* If there are no updates scheduled, this endpoint is a no-op.
* If there are no updates scheduled, a request validation error will be returned with a 400
* status code.
*/
override fun unscheduleFixedFeeQuantityUpdates(
params: SubscriptionUnscheduleFixedFeeQuantityUpdatesParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,8 @@ interface SubscriptionService {
/**
* This endpoint can be used to clear scheduled updates to the quantity for a fixed fee.
*
* If there are no updates scheduled, this endpoint is a no-op.
* If there are no updates scheduled, a request validation error will be returned with a 400
* status code.
*/
@JvmOverloads
fun unscheduleFixedFeeQuantityUpdates(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,8 @@ constructor(
/**
* This endpoint can be used to clear scheduled updates to the quantity for a fixed fee.
*
* If there are no updates scheduled, this endpoint is a no-op.
* If there are no updates scheduled, a request validation error will be returned with a 400
* status code.
*/
override fun unscheduleFixedFeeQuantityUpdates(
params: SubscriptionUnscheduleFixedFeeQuantityUpdatesParams,
Expand Down

0 comments on commit 9cb978e

Please sign in to comment.