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

Update generated code for beta #2054

Merged
merged 21 commits into from
Apr 4, 2024
Merged

Update generated code for beta #2054

merged 21 commits into from
Apr 4, 2024

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Mar 28, 2024

Codegen for openapi v932.

Changelog

  • Add support for update method on resource Entitlements.Feature
  • Add support for risk_controls on AccountCreateParams, AccountUpdateParams, and Account
  • Change Discount.subscription_item, QuoteLine.actions[].add_discount, QuoteLine.actions[].add_item.discounts, QuoteLine.actions[].remove_discount, QuoteLine.actions[].set_discounts, QuoteLine.actions[].set_items[].discounts, Subscription.discounts, SubscriptionItem.discounts, SubscriptionSchedule.phases[].add_invoice_items[].discounts, SubscriptionSchedule.phases[].discounts, and SubscriptionSchedule.phases[].items[].discounts to be required
  • Add support for promotion_code on InvoiceAddLinesParams.lines[].discounts[], InvoiceUpdateLinesParams.lines[].discounts[], QuoteCreateParams.line_items[].discounts[], QuoteCreateParams.lines[].actions[].add_discount, QuoteCreateParams.phases[].line_items[].discounts[], QuoteUpdateParams.line_items[].discounts[], QuoteUpdateParams.lines[].actions[].add_discount, and QuoteUpdateParams.phases[].line_items[].discounts[]
  • Change type of QuoteLine.actions[].add_item.discounts, QuoteLine.actions[].set_items[].discounts, SubscriptionSchedule.phases[].add_invoice_items[].discounts, SubscriptionSchedule.phases[].discounts, and SubscriptionSchedule.phases[].items[].discounts from array(DiscountsResourceStackableDiscount) | null to array(DiscountsResourceStackableDiscount)
  • Change type of Subscription.discounts and SubscriptionItem.discounts from array(expandable(Discount)) | null to array(expandable(Discount))

@stripe-openapi stripe-openapi bot enabled auto-merge March 28, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant