Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #52

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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