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 #1997

Merged
merged 29 commits into from
Jan 25, 2024
Merged

Update generated code for beta #1997

merged 29 commits into from
Jan 25, 2024

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Jan 19, 2024

Codegen for openapi v796.

Changelog

  • Add support for create_preview method on resource Invoice
  • Add support for charged_off_at on Capital.FinancingOffer
  • Change Checkout.Session.automatic_tax.liability, Checkout.Session.invoice_creation.invoice_data.issuer, PaymentLink.automatic_tax.liability, PaymentLink.invoice_creation.invoice_data.issuer, PaymentLink.subscription_data.invoice_settings.issuer, PaymentLink.subscription_data.invoice_settings, Quote.automatic_tax.liability, Quote.invoice_settings.issuer, SubscriptionSchedule.default_settings.automatic_tax.liability, SubscriptionSchedule.default_settings.invoice_settings.issuer, SubscriptionSchedule.phases[].automatic_tax.liability, and SubscriptionSchedule.phases[].invoice_settings.issuer to be required
  • Add support for new values disabled and enabled on enums CustomerSession.components.payment_element.features.payment_method_remove, CustomerSession.components.payment_element.features.payment_method_save, CustomerSession.components.payment_element.features.payment_method_set_as_default, CustomerSession.components.payment_element.features.payment_method_update, CustomerSessionCreateParams.components.payment_element.features.payment_method_remove, CustomerSessionCreateParams.components.payment_element.features.payment_method_save, CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default, and CustomerSessionCreateParams.components.payment_element.features.payment_method_update
  • Remove support for values auto and never from enums CustomerSession.components.payment_element.features.payment_method_remove, CustomerSession.components.payment_element.features.payment_method_save, CustomerSession.components.payment_element.features.payment_method_set_as_default, CustomerSession.components.payment_element.features.payment_method_update, CustomerSessionCreateParams.components.payment_element.features.payment_method_remove, CustomerSessionCreateParams.components.payment_element.features.payment_method_save, CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default, and CustomerSessionCreateParams.components.payment_element.features.payment_method_update
  • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
  • Add support for enhanced_eligibility_types on Dispute
  • Add support for enhanced_eligibility on Dispute.evidence_details
  • Add support for promotion_code on InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].add, InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].remove, InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].set, InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].add.discounts[], InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].set.discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].add_invoice_items[].discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].items[].discounts[], InvoiceUpcomingLinesParams.subscription_details.items[].discounts[], InvoiceUpcomingLinesParams.subscription_items[].discounts[], InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].add, InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].remove, InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].set, InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].add.discounts[], InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].set.discounts[], InvoiceUpcomingParams.schedule_details.phases[].add_invoice_items[].discounts[], InvoiceUpcomingParams.schedule_details.phases[].discounts[], InvoiceUpcomingParams.schedule_details.phases[].items[].discounts[], InvoiceUpcomingParams.subscription_details.items[].discounts[], InvoiceUpcomingParams.subscription_items[].discounts[], QuoteCreateParams.lines[].actions[].add_item.discounts[], QuoteCreateParams.lines[].actions[].remove_discount, QuoteCreateParams.lines[].actions[].set_discounts[], QuoteCreateParams.lines[].actions[].set_items[].discounts[], QuoteCreateParams.phases[].discounts[], QuoteLine.actions[].add_discount, QuoteLine.actions[].add_item.discounts[], QuoteLine.actions[].remove_discount, QuoteLine.actions[].set_discounts[], QuoteLine.actions[].set_items[].discounts[], QuoteUpdateParams.lines[].actions[].add_item.discounts[], QuoteUpdateParams.lines[].actions[].remove_discount, QuoteUpdateParams.lines[].actions[].set_discounts[], QuoteUpdateParams.lines[].actions[].set_items[].discounts[], QuoteUpdateParams.phases[].discounts[], SubscriptionCreateParams.add_invoice_items[].discounts[], SubscriptionCreateParams.discounts[], SubscriptionCreateParams.items[].discounts[], SubscriptionItemCreateParams.discounts[], SubscriptionItemUpdateParams.discounts[], SubscriptionSchedule.phases[].add_invoice_items[].discounts[], SubscriptionSchedule.phases[].discounts[], SubscriptionSchedule.phases[].items[].discounts[], SubscriptionScheduleAmendParams.amendments[].discount_actions[].add, SubscriptionScheduleAmendParams.amendments[].discount_actions[].remove, SubscriptionScheduleAmendParams.amendments[].discount_actions[].set, SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[], SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[], SubscriptionScheduleCreateParams.phases[].add_invoice_items[].discounts[], SubscriptionScheduleCreateParams.phases[].discounts[], SubscriptionScheduleCreateParams.phases[].items[].discounts[], SubscriptionScheduleUpdateParams.phases[].add_invoice_items[].discounts[], SubscriptionScheduleUpdateParams.phases[].discounts[], SubscriptionScheduleUpdateParams.phases[].items[].discounts[], SubscriptionUpdateParams.add_invoice_items[].discounts[], SubscriptionUpdateParams.discounts[], and SubscriptionUpdateParams.items[].discounts[]

@stripe-openapi stripe-openapi bot enabled auto-merge January 19, 2024 00:39
stripe-openapi bot and others added 28 commits January 19, 2024 01:19
* Update generated code for v769

* Update generated code for v770

* Update generated code for v771

* Update generated code for v773

* Update generated code for v774

* Update generated code for v775

* Update generated code for v776

* Update generated code for v778

* Update generated code for v779

* Update generated code for v780

* Update generated code for v781

* Update generated code for v782

* Update generated code for v784

* Update generated code for v785

* Update generated code for v786

* Update generated code for v788

* Update generated code for v789

* Update generated code for v790

* Update generated code for v791

* Update generated code for v793

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
@stripe-openapi stripe-openapi bot merged commit 6c387e0 into beta Jan 25, 2024
8 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch January 25, 2024 23:06
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