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

Open
wants to merge 31 commits into
base: beta
Choose a base branch
from
Open

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Feb 7, 2025

Codegen for openapi v1565.

Changelog

  • Add support for succeed_input_collection and timeout_input_collection test helper methods on resource Terminal.Reader
  • Add support for hosted_payment_method_save on Account.Setting.Invoice and Account.UpdateParamsSettingInvoice
  • Add support for invoices on Account.CreateParamsSetting
  • Change type of Account.RiskControl.rejected_reason from enum to nullable(enum)
  • Add support for new value setup_intent_mobile_wallet_unsupported on enums Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, QuotePreviewInvoice.LastFinalizationError, SetupAttempt.SetupError, SetupIntent.LastSetupError, and StripeError
  • Remove support for shipping_details on CheckoutSession
  • Remove support for carrier, phone, and tracking_number on CheckoutSession.CollectedInformation.ShippingDetail
  • Change CheckoutSession.CollectedInformation.shipping_details to be required
  • Change CheckoutSession.CollectedInformation.ShippingDetail.address to be required
  • Change CheckoutSession.CollectedInformation.ShippingDetail.name to be required
  • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
  • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
  • Add support for new values checkout_session_subscription_payment_canceled and checkout_session_subscription_payment on enum CustomerBalanceTransaction
  • Remove support for coupon on Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParams, Invoice.UpcomingLinesParamsScheduleDetailPhase, Invoice.UpcomingLinesParams, Invoice.UpcomingParamsScheduleDetailPhase, Invoice.UpcomingParams, QuotePreviewSubscriptionSchedule.Phase, Subscription.CreateParams, Subscription.UpdateParams, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.Phase, and SubscriptionSchedule.UpdateParamsPhase
  • Remove support for discount on Invoice, QuotePreviewInvoice, and Subscription
  • Remove support for plan and price on InvoiceItem and InvoiceLineItem
  • Remove support for tax_rates on InvoiceLineItem
  • Remove support for unit_amount_decimal and unit_amount on InvoiceItem
  • Add support for network_data on IssuingDisputeSettlementDetail
  • Add support for interchange_fees_amount, net_total_amount, network_fees_amount, other_fees_amount, other_fees_count, and transaction_amount on IssuingSettlement
  • Remove support for interchange_fees, net_total, network_fees, and transaction_volume on IssuingSettlement
  • Add support for target_date on Order.CreateParamsPaymentSettingPaymentMethodOptionAcssDebit, Order.CreateParamsPaymentSettingPaymentMethodOptionSepaDebit, Order.Payment.Setting.PaymentMethodOption.AcssDebit, Order.Payment.Setting.PaymentMethodOption.SepaDebit, Order.UpdateParamsPaymentSettingPaymentMethodOptionAcssDebit, and Order.UpdateParamsPaymentSettingPaymentMethodOptionSepaDebit
  • Change Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client, Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client, PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client, PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, and PaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client to be optional
  • Add support for reported_by on PaymentAttemptRecord
  • Add support for ach_credit_transfer, ach_debit, acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, blik, boleto, card_present, card, cashapp, customer_balance, eps, fpx, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, klarna, konbini, kr_card, link, mb_way, mobilepay, multibanco, naver_pay, oxxo, p24, pay_by_bank, payco, paynow, paypal, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, sepa_credit_transfer, sepa_debit, shopeepay, sofort, stripe_account, swish, twint, us_bank_account, wechat_pay, wechat, and zip on PaymentAttemptRecord.PaymentMethodDetail and PaymentRecord.PaymentMethodDetail
  • Change type of PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom from nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodDetailsResourceCustomDetails) to PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
  • Change type of PaymentAttemptRecord.PaymentMethodDetail.type and PaymentRecord.PaymentMethodDetail.type from literal('custom') to string
  • Change type of PaymentAttemptRecord.payment_record from string to nullable(string)
  • Change PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom to be optional
  • Add support for default_value on PaymentLink.CreateParamsCustomFieldDropdown, PaymentLink.CreateParamsCustomFieldNumeric, PaymentLink.CreateParamsCustomFieldText, PaymentLink.CustomField.Dropdown, PaymentLink.CustomField.Numeric, PaymentLink.CustomField.Text, PaymentLink.UpdateParamsCustomFieldDropdown, PaymentLink.UpdateParamsCustomFieldNumeric, and PaymentLink.UpdateParamsCustomFieldText
  • Change PaymentRecord.ReportPaymentParams.payment_reference to be optional
  • Change type of PaymentRecord.latest_payment_attempt_record from string to nullable(string)
  • Remove support for cancel_at_period_end on Subscription.CreateParams, Subscription.UpdateParams, and Subscription
  • Remove support for promotion_code on Subscription.CreateParams and Subscription.UpdateParams
  • Add support for wifi on TerminalConfiguration, terminal.Configuration.CreateParams, and terminal.Configuration.UpdateParams

@stripe-openapi stripe-openapi bot enabled auto-merge February 7, 2025 22:28
xavdid-stripe and others added 7 commits February 12, 2025 16:19
* upgrade ruff version

* remove old comment

* update comment
* Update generated code for v1463

* Update generated code for v1494

* Update generated code for v1495

* Update generated code for v1501

* Update generated code for v1505

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <[email protected]>
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-beta branch from 03fac8d to d04ca8b Compare March 7, 2025 22:18
@stripe-openapi stripe-openapi bot requested a review from a team as a code owner March 7, 2025 22:18
@stripe-openapi stripe-openapi bot requested review from jar-stripe and removed request for a team March 7, 2025 22:18
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.

4 participants