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

Open
wants to merge 45 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 v1626.

Changelog

  • Add support for update_shipping_details on Checkout.Session.permissions and Checkout.SessionCreateParams.permissions
  • Add support for provider on Checkout.Session.automatic_tax, Invoice.automatic_tax, Quote.automatic_tax, and QuotePreviewInvoice.automatic_tax
  • Change Checkout.Session.permissions.update to be optional
  • Add support for tax_calculation_reference on CreditNoteLineItem, CreditNotePreviewLines, InvoiceLineItem, LineItem, PaymentLinkLineItem, QuoteComputedUpfrontLineItems, QuoteLineItem, and SessionLineItem
  • Remove support for values repeating and variable from enums Coupon.duration and CouponCreateParams.duration
  • Change CreditNote.refunds to be required
  • Add support for context on Event
  • Change Invoice.amount_overpaid and QuotePreviewInvoice.amount_overpaid to be required
  • Remove support for amount_overpaid on InvoicePayment
  • Change type of InvoicePayment.is_default from boolean | null to boolean
  • Remove support for values out_of_band_payment and payment_record from enum InvoicePayment.payment.type
  • Add support for network_data on Issuing.DisputeSettlementDetail
  • Add support for interchange_fees_amount, net_total_amount, network_fees_amount, other_fees_amount, other_fees_count, and transaction_amount on Issuing.Settlement
  • Remove support for interchange_fees, net_total, network_fees, and transaction_volume on Issuing.Settlement
  • Change OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client and OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.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, billie, 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, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, sepa_credit_transfer, sepa_debit, shopeepay, sofort, stripe_account, swish, twint, us_bank_account, wechat_pay, wechat, and zip on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
  • Change type of PaymentAttemptRecord.payment_method_details.custom and PaymentRecord.payment_method_details.custom from PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails | null to PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
  • Change type of PaymentAttemptRecord.payment_method_details.type and PaymentRecord.payment_method_details.type from literal('custom') to string
  • Change type of PaymentAttemptRecord.payment_record from string to string | null
  • Change PaymentAttemptRecord.payment_method_details.custom and PaymentRecord.payment_method_details.custom to be optional
  • Change PaymentRecordReportPaymentParams.payment_reference to be optional
  • Change type of PaymentRecord.latest_payment_attempt_record from string to string | null
  • Add support for payout_method on PayoutCreateParams and Payout
  • Add support for confirmation_secret, parent, and total_taxes on QuotePreviewInvoice
  • Remove support for application_fee_amount, discount, paid_out_of_band, paid, payment_intent, quote, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on QuotePreviewInvoice
  • Add support for new values forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enum QuotePreviewInvoice.last_finalization_error.code
  • Add support for new values klarna and nz_bank_account on enum QuotePreviewInvoice.payment_settings.payment_method_types
  • Remove support for billing_thresholds on QuotePreviewSubscriptionSchedule.default_settings, QuotePreviewSubscriptionSchedule.phases[].items[], and QuotePreviewSubscriptionSchedule.phases[]
  • Remove support for coupon on QuotePreviewSubscriptionSchedule.phases[]

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner February 7, 2025 22:27
@stripe-openapi stripe-openapi bot removed the request for review from a team February 7, 2025 22:27
@stripe-openapi stripe-openapi bot enabled auto-merge February 7, 2025 22:27
jsteele-stripe and others added 5 commits February 7, 2025 15:05
* 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 <165320323+prathmesh-stripe@users.noreply.github.com>
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-beta branch from 5e252a6 to 57cb5ca Compare March 19, 2025 07:22
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