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

Open
wants to merge 40 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 v1612.

Changelog

  • Remove support for resources SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecord
  • Remove support for create method on resource SubscriptionItemUsageRecord
  • Remove support for list method on resource SubscriptionItemUsageRecordSummary
  • Remove support for upcomingLines and upcoming methods on resource Invoice
  • Add support for billiePayments and satispayPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
  • Add support for hostedPaymentMethodSave on Account.settings.invoices and AccountUpdateParams.settings.invoices
  • Add support for invoices on AccountCreateParams.settings
  • Add support for new value last on enum billing.MeterCreateParams.default_aggregation.formula
  • Add support for presentmentDetails on Charge, Checkout.Session, PaymentIntent, and Refund
  • Remove support for invoice on Charge and PaymentIntent
  • Add support for billie and satispay on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, CustomerPaymentMethod, PaymentAttemptRecord.payment_method_details, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for nzBankAccount on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, CustomerPaymentMethod, Mandate.payment_method_details, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for optionalItems on Checkout.Session, PaymentLinkCreateParams, PaymentLink, and checkout.SessionCreateParams
  • Add support for new values billie and satispay on enum checkout.SessionCreateParams.paymentMethodTypes
  • Add support for updateShippingDetails on Checkout.Session.permissions and checkout.SessionCreateParams.permissions
  • Remove support for shippingDetails on Checkout.Session
  • Remove support for carrier, phone, and trackingNumber on Checkout.Session.collected_information.shipping_details
  • Add support for new values billie, nz_bank_account, and satispay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
  • Add support for buyerId on ConfirmationToken.payment_method_preview.naver_pay, CustomerPaymentMethod.naver_pay, and PaymentMethod.naver_pay
  • Remove support for durationInMonths on CouponCreateParams
  • Remove support for values repeating and variable from enum CouponCreateParams.duration
  • Remove support for refund on CreditNoteCreateParams, CreditNotePreviewLinesListParams, CreditNotePreviewParams, and CreditNote
  • Add support for totalTaxes on CreditNote, Invoice, and QuotePreviewInvoice
  • Remove support for taxAmounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
  • Add support for taxes on CreditNoteLineItem and InvoiceLineItem
  • Remove support for amountExcludingTax and unitAmountExcludingTax on CreditNoteLineItem and InvoiceLineItem
  • Remove support for coupon on CustomerCreateParams, CustomerUpdateParams, InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams, QuotePreviewSubscriptionSchedule.phases[], SubscriptionCreateParams, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.phases[], and SubscriptionUpdateParams
  • Remove support for promotionCode on CustomerCreateParams, CustomerUpdateParams, SubscriptionCreateParams, and SubscriptionUpdateParams
  • Add support for checkoutSession on CustomerBalanceTransaction
  • Add support for new values billie, nz_bank_account, and satispay on enums CustomerPaymentMethodListParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
  • Add support for new values klarna and nz_bank_account on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes
  • Add support for pricing on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]
  • Remove support for price on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]
  • Add support for taxabilityReason on InvoiceAddLinesParams.lines[].tax_amounts[], InvoiceLineItemUpdateParams.tax_amounts[], and InvoiceUpdateLinesParams.lines[].tax_amounts[]
  • Add support for jurisdictionLevel on InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data, InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data, and InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data
  • Remove support for billingThresholds on InvoiceCreatePreviewParams.schedule_details.phases[].items[], InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams.subscription_details.items[], QuotePreviewSubscriptionSchedule.default_settings, QuotePreviewSubscriptionSchedule.phases[].items[], QuotePreviewSubscriptionSchedule.phases[], SubscriptionCreateParams.items[], SubscriptionCreateParams, SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[].items[], SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[].items[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, SubscriptionScheduleUpdateParams.phases[].items[], SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams.items[], SubscriptionUpdateParams, and Subscription
  • Remove support for cancelAtPeriodEnd on InvoiceCreatePreviewParams.subscription_details, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
  • Change type of InvoiceCreatePreviewParams.subscription_details.cancelAt, SubscriptionCreateParams.cancelAt, and SubscriptionUpdateParams.cancelAt from DateTime to DateTime | literal('min_period_end')
  • Add support for parent on InvoiceItem, InvoiceLineItem, Invoice, and QuotePreviewInvoice
  • Remove support for applicationFeeAmount, paidOutOfBand, paid, paymentIntent, quote, subscriptionDetails, subscriptionProrationDate, tax, totalTaxAmounts, and transferData on Invoice and QuotePreviewInvoice
  • Remove support for charge on Invoice
  • Remove support for discount on Invoice, QuotePreviewInvoice, and Subscription
  • Remove support for amountOverpaid on InvoicePayment
  • Remove support for invoiceItem, prorationDetails, proration, taxRates, and type on InvoiceLineItem
  • Remove support for plan and subscriptionItem on InvoiceItem and InvoiceLineItem
  • Remove support for unitAmount on InvoiceItemCreateParams, InvoiceItemUpdateParams, and InvoiceItem
  • Remove support for subscription and unitAmountDecimal on InvoiceItem
  • Add support for new value expired on enum issuing.AuthorizationListParams.status
  • Add support for networkData on Issuing.DisputeSettlementDetail
  • Add support for interchangeFeesAmount, netTotalAmount, networkFeesAmount, otherFeesAmount, otherFeesCount, and transactionAmount on Issuing.Settlement
  • Remove support for interchangeFees, netTotal, networkFees, and transactionVolume on Issuing.Settlement
  • Add support for naverPay on Mandate.payment_method_details, PaymentAttemptRecord.payment_method_details, PaymentRecord.payment_method_details, and SetupAttempt.payment_method_details
  • Change OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client, OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.client, PaymentIntentConfirmParams.payment_method_options.wechat_pay.client, PaymentIntentCreateParams.payment_method_options.wechat_pay.client, and PaymentIntentUpdateParams.payment_method_options.wechat_pay.client to be optional
  • Add support for reportedBy on PaymentAttemptRecord
  • Add support for achCreditTransfer, achDebit, acssDebit, affirm, afterpayClearpay, alipay, alma, amazonPay, auBecsDebit, bacsDebit, bancontact, blik, boleto, cardPresent, card, cashapp, customerBalance, eps, fpx, giropay, gopay, grabpay, idBankTransfer, ideal, interacPresent, kakaoPay, klarna, konbini, krCard, link, mbWay, mobilepay, multibanco, oxxo, p24, payByBank, payco, paynow, paypal, payto, pix, promptpay, qris, rechnung, revolutPay, samsungPay, sepaCreditTransfer, sepaDebit, shopeepay, sofort, stripeAccount, swish, twint, usBankAccount, wechatPay, wechat, and zip on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
  • Change type of PaymentAttemptRecord.payment_method_details.type and PaymentRecord.payment_method_details.type from literal('custom') to string
  • Add support for setupFutureUsage on PaymentIntent.payment_method_options.naver_pay, PaymentIntentConfirmParams.payment_method_options.naver_pay, PaymentIntentCreateParams.payment_method_options.naver_pay, and PaymentIntentUpdateParams.payment_method_options.naver_pay
  • Add support for defaultValue on PaymentLink.custom_fields[].dropdown, PaymentLink.custom_fields[].numeric, PaymentLink.custom_fields[].text, PaymentLinkCreateParams.custom_fields[].dropdown, PaymentLinkCreateParams.custom_fields[].numeric, PaymentLinkCreateParams.custom_fields[].text, PaymentLinkUpdateParams.custom_fields[].dropdown, PaymentLinkUpdateParams.custom_fields[].numeric, and PaymentLinkUpdateParams.custom_fields[].text
  • Add support for new values billie and satispay on enums PaymentLinkCreateParams.paymentMethodTypes and PaymentLinkUpdateParams.paymentMethodTypes
  • Remove support for naverPay on PaymentMethodUpdateParams
  • Change PaymentRecordReportPaymentParams.paymentReference to be optional
  • Add support for payoutMethod on PayoutCreateParams and Payout
  • Remove support for aggregateUsage on PlanCreateParams, Plan, Price.recurring, and PriceCreateParams.recurring
  • Add support for nzBankTransfer on Refund.destination_details
  • Remove support for currentPeriodEnd and currentPeriodStart on Subscription
  • Add support for currentPeriodEnd and currentPeriodStart on SubscriptionItem
  • Add support for wifi on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams
  • Add support for new values 2025-03-01.dashboard and 2025-03-31.basil on enum WebhookEndpointCreateParams.apiVersion

prathmesh-stripe and others added 5 commits January 24, 2025 21:26
* Update generated code for v1441

* Update generated code for v1455

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <[email protected]>
* construct fake response during webhook parsing

* formatting
@stripe-openapi stripe-openapi bot enabled auto-merge February 7, 2025 22:31
@helenye-stripe
Copy link
Contributor

compat is failing due to override to change type back. I am not too concerned

stripe-openapi bot and others added 6 commits February 24, 2025 22:31
* 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 4430b28 to 76da3a4 Compare March 19, 2025 07:25
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.

6 participants