Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v218.
cc @stripe/api-libraries
Changelog
Updated stable APIs to the latest version
Add support for new resource
Tax.Registration
Add support for
create
,list
, andupdate
methods on resourceRegistration
Add support for
controller
onAccountCreateParams
andAccountUpdateParams
Add support for
application
anddashboard
onAccount.controller
Change type of
Quote.subscription_data_overrides[].proration_behavior
fromenum('always_invoice'|'create_prorations'|'none')
toenum('always_invoice'|'create_prorations'|'none') | null
Remove support for
timestamp
onQuoteLine.actions[].add_discount.discount_end
Change type of
QuoteLine.actions[].add_discount.discount_end.type
fromliteral('timestamp')
toliteral('line_ends_at')
Remove support for
index
onQuoteLine.actions[].add_item.discounts[]
,QuoteLine.actions[].remove_discount
,QuoteLine.actions[].set_discounts[]
,QuoteLine.actions[].set_items[].discounts[]
,SubscriptionSchedule.phases[].add_invoice_items[].discounts[]
,SubscriptionSchedule.phases[].discounts[]
, andSubscriptionSchedule.phases[].items[].discounts[]
Change
QuoteLine.actions[].add_discount.index
to be requiredAdd support for new values
quote.accepting
,quote.reestimated
, andquote.stale
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
Change
quote.draft_quote
implementation from hittingPOST /v1/quotes/{quote}/draft
toPOST /v1/quotes/{quote}/mark_draft