Update generated code#1526
Merged
Merged
Conversation
48f9d15 to
1e06025
Compare
prathmesh-stripe
approved these changes
Jul 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v1819 and proto spec 2025-06-30.basil.
Changelog
migratemethod on resourceSubscriptioncollect_payment_methodandconfirm_payment_intentmethods on resourceterminal.Readercrypto_paymentsonAccount.Capability,Account.CreateParamsCapability, andAccount.ModifyParamsCapabilityproof_of_addressonAccount.CreateParamsDocumentandAccount.ModifyParamsDocumentmonthly_payout_daysandweekly_payout_daysonAccount.CreateParamsSettingPayoutSchedule,Account.ModifyParamsSettingPayoutSchedule, andAccount.Setting.Payout.ScheduleAccount.Setting.Invoice.hosted_payment_method_saveto be requiredcryptoonCharge.PaymentMethodDetail,ConfirmationToken.CreateParamsPaymentMethodDatum,ConfirmationToken.PaymentMethodPreview,PaymentIntent.ConfirmParamsPaymentMethodDatum,PaymentIntent.ConfirmParamsPaymentMethodOption,PaymentIntent.CreateParamsPaymentMethodDatum,PaymentIntent.CreateParamsPaymentMethodOption,PaymentIntent.ModifyParamsPaymentMethodDatum,PaymentIntent.ModifyParamsPaymentMethodOption,PaymentIntent.PaymentMethodOption,PaymentMethod.CreateParams,PaymentMethod,SetupIntent.ConfirmParamsPaymentMethodDatum,SetupIntent.CreateParamsPaymentMethodDatum, andSetupIntent.ModifyParamsPaymentMethodDatumCharge.PaymentMethodDetail.Card.Installment.Plan.type,ConfirmationToken.CreateParamsPaymentMethodOptionCardInstallmentPlan.type,ConfirmationToken.PaymentMethodOption.Card.Installment.Plan.type,Invoice.CreateParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type,Invoice.ModifyParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type,PaymentIntent.ConfirmParamsPaymentMethodOptionCardInstallmentPlan.type,PaymentIntent.CreateParamsPaymentMethodOptionCardInstallmentPlan.type,PaymentIntent.ModifyParamsPaymentMethodOptionCardInstallmentPlan.type,PaymentIntent.PaymentMethodOption.Card.Installment.AvailablePlan.type, andPaymentIntent.PaymentMethodOption.Card.Installment.Plan.typefromliteral('fixed_count')toenum('bonus'|'fixed_count'|'revolving')buuton enumsCharge.PaymentMethodDetail.Ideal.bank,ConfirmationToken.CreateParamsPaymentMethodDatumIdeal.bank,ConfirmationToken.PaymentMethodPreview.Ideal.bank,PaymentIntent.ConfirmParamsPaymentMethodDatumIdeal.bank,PaymentIntent.CreateParamsPaymentMethodDatumIdeal.bank,PaymentIntent.ModifyParamsPaymentMethodDatumIdeal.bank,PaymentMethod.CreateParamsIdeal.bank,PaymentMethod.Ideal.bank,SetupAttempt.PaymentMethodDetail.Ideal.bank,SetupIntent.ConfirmParamsPaymentMethodDatumIdeal.bank,SetupIntent.CreateParamsPaymentMethodDatumIdeal.bank, andSetupIntent.ModifyParamsPaymentMethodDatumIdeal.bankBUUTNL2Aon enumsCharge.PaymentMethodDetail.Ideal.bic,ConfirmationToken.PaymentMethodPreview.Ideal.bic,PaymentMethod.Ideal.bic, andSetupAttempt.PaymentMethodDetail.Ideal.bicsubscriptionsonPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna,PaymentIntent.CreateParamsPaymentMethodOptionKlarna,PaymentIntent.ModifyParamsPaymentMethodOptionKlarna, andcheckout.Session.CreateParamsPaymentMethodOptionKlarnacryptoon enumcheckout.Session.CreateParams.payment_method_typesbilling_modeonInvoice.CreatePreviewParamsScheduleDetail,Invoice.CreatePreviewParamsSubscriptionDetail,Quote.CreateParamsSubscriptionDatum,Quote.SubscriptionDatum,Subscription.CreateParams,SubscriptionSchedule.CreateParams,SubscriptionSchedule,Subscription, andcheckout.Session.CreateParamsSubscriptionDatumcryptoon enumsConfirmationToken.CreateParamsPaymentMethodDatum.type,PaymentIntent.ConfirmParamsPaymentMethodDatum.type,PaymentIntent.CreateParamsPaymentMethodDatum.type,PaymentIntent.ModifyParamsPaymentMethodDatum.type,SetupIntent.ConfirmParamsPaymentMethodDatum.type,SetupIntent.CreateParamsPaymentMethodDatum.type, andSetupIntent.ModifyParamsPaymentMethodDatum.typecryptoon enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.typecryptoon enumsCustomer.ListPaymentMethodsParams.type,PaymentMethod.CreateParams.type, andPaymentMethod.ListParams.typeDispute.enhanced_eligibility_typesfromliteral('visa_compelling_evidence_3')toenum('visa_compelling_evidence_3'|'visa_compliance')complianceon enumDispute.PaymentMethodDetail.Card.case_typeterminal.reader.action_updatedon enumEvent.typerelated_persononIdentity.VerificationSessionandidentity.VerificationSession.CreateParamsmatchingonIdentity.VerificationSession.Optioncryptoon enumsInvoice.CreateParamsPaymentSetting.payment_method_types,Invoice.ModifyParamsPaymentSetting.payment_method_types,Invoice.PaymentSetting.payment_method_types,Subscription.CreateParamsPaymentSetting.payment_method_types,Subscription.ModifyParamsPaymentSetting.payment_method_types, andSubscription.PaymentSetting.payment_method_typesklarnaonMandate.PaymentMethodDetail,SetupIntent.ConfirmParamsPaymentMethodOption,SetupIntent.CreateParamsPaymentMethodOption,SetupIntent.ModifyParamsPaymentMethodOption, andSetupIntent.PaymentMethodOptionon_demandonPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna,PaymentIntent.CreateParamsPaymentMethodOptionKlarna, andPaymentIntent.ModifyParamsPaymentMethodOptionKlarnaPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna.setup_future_usage,PaymentIntent.CreateParamsPaymentMethodOptionKlarna.setup_future_usage,PaymentIntent.ModifyParamsPaymentMethodOptionKlarna.setup_future_usage, andPaymentIntent.PaymentMethodOption.Klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session')uaonTax.Registration.CountryOptionandtax.Registration.CreateParamsCountryOptionterminal.Location.ModifyParams.display_namefromstringtoemptyable(string)collect_payment_methodandconfirm_payment_intentonTerminal.Reader.Actioncollect_payment_methodandconfirm_payment_intenton enumTerminal.Reader.Action.typestatusontreasury.FinancialAccount.ListParamsterminal.reader.action_updatedon enumsWebhookEndpoint.CreateParams.enabled_eventsandWebhookEndpoint.ModifyParams.enabled_events2025-06-30.basilon enumWebhookEndpoint.CreateParams.api_versionterminal.reader.action_updatedwith resourceterminal.Reader