Update generated code for beta #1680
Merged
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 v2140 and proto spec .
Changelog
reserve.Hold,reserve.Plan, andreserve.Releaselistandretrievemethods on resourcesreserve.Holdandreserve.Releaseretrievemethod on resourcereserve.PlanBilling.CreditBalanceSummary.customer_account,Billing.CreditGrant.customer_account,BillingPortal.Session.customer_account,CashBalance.customer_account,Checkout.Session.customer_account,ConfirmationToken.PaymentMethodPreview.customer_account,CreditNote.customer_account,CustomerBalanceTransaction.customer_account,CustomerCashBalanceTransaction.customer_account,CustomerSession.customer_account,Discount.customer_account,Invoice.customer_account,InvoiceItem.customer_account,PaymentIntent.customer_account,PaymentMethod.customer_account,PromotionCode.customer_account,Quote.customer_account,QuotePreviewInvoice.customer_account,QuotePreviewSubscriptionSchedule.customer_account,SetupAttempt.customer_account,Subscription.customer_account,SubscriptionSchedule.customer_account,TaxId.Owner.customer_account, andTaxId.customer_accountto be requiredV2.FinancialAddressGeneratedMicrodeposits.amountsfromamounttoan objectPaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amountfromlongIntegertoemptyable(longInteger)PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amount_typefromenum('fixed'|'maximum')toemptyable(enum('fixed'|'maximum'))PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.end_datefromstringtoemptyable(string)PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedulefromenumtoemptyable(enum)PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_periodfromlongIntegertoemptyable(longInteger)PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose,PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose,PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose,SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.purposefromenumtoemptyable(enum)SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.start_date,SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.start_date,SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.start_date, andcheckout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.start_datefromstringtoemptyable(string)Identity.VerificationSession.related_customer_accountto be requiredasync_workflowsonPaymentIntentpaytoonQuotePreviewInvoice.PaymentSetting.PaymentMethodOptionpaytoon enumQuotePreviewInvoice.PaymentSetting.payment_method_typesrequestedonV2.Core.Account.Configuration.Customer.Capability.AutomaticIndirectTax,V2.Core.Account.Configuration.Merchant.Capability.AchDebitPayment,V2.Core.Account.Configuration.Merchant.Capability.AcssDebitPayment,V2.Core.Account.Configuration.Merchant.Capability.AffirmPayment,V2.Core.Account.Configuration.Merchant.Capability.AfterpayClearpayPayment,V2.Core.Account.Configuration.Merchant.Capability.AlmaPayment,V2.Core.Account.Configuration.Merchant.Capability.AmazonPayPayment,V2.Core.Account.Configuration.Merchant.Capability.AuBecsDebitPayment,V2.Core.Account.Configuration.Merchant.Capability.BacsDebitPayment,V2.Core.Account.Configuration.Merchant.Capability.BancontactPayment,V2.Core.Account.Configuration.Merchant.Capability.BlikPayment,V2.Core.Account.Configuration.Merchant.Capability.BoletoPayment,V2.Core.Account.Configuration.Merchant.Capability.CardPayment,V2.Core.Account.Configuration.Merchant.Capability.CartesBancairesPayment,V2.Core.Account.Configuration.Merchant.Capability.CashappPayment,V2.Core.Account.Configuration.Merchant.Capability.EpsPayment,V2.Core.Account.Configuration.Merchant.Capability.FpxPayment,V2.Core.Account.Configuration.Merchant.Capability.GbBankTransferPayment,V2.Core.Account.Configuration.Merchant.Capability.GrabpayPayment,V2.Core.Account.Configuration.Merchant.Capability.IdealPayment,V2.Core.Account.Configuration.Merchant.Capability.JcbPayment,V2.Core.Account.Configuration.Merchant.Capability.JpBankTransferPayment,V2.Core.Account.Configuration.Merchant.Capability.KakaoPayPayment,V2.Core.Account.Configuration.Merchant.Capability.KlarnaPayment,V2.Core.Account.Configuration.Merchant.Capability.KonbiniPayment,V2.Core.Account.Configuration.Merchant.Capability.KrCardPayment,V2.Core.Account.Configuration.Merchant.Capability.LinkPayment,V2.Core.Account.Configuration.Merchant.Capability.MobilepayPayment,V2.Core.Account.Configuration.Merchant.Capability.MultibancoPayment,V2.Core.Account.Configuration.Merchant.Capability.MxBankTransferPayment,V2.Core.Account.Configuration.Merchant.Capability.NaverPayPayment,V2.Core.Account.Configuration.Merchant.Capability.OxxoPayment,V2.Core.Account.Configuration.Merchant.Capability.P24Payment,V2.Core.Account.Configuration.Merchant.Capability.PayByBankPayment,V2.Core.Account.Configuration.Merchant.Capability.PaycoPayment,V2.Core.Account.Configuration.Merchant.Capability.PaynowPayment,V2.Core.Account.Configuration.Merchant.Capability.PromptpayPayment,V2.Core.Account.Configuration.Merchant.Capability.RevolutPayPayment,V2.Core.Account.Configuration.Merchant.Capability.SamsungPayPayment,V2.Core.Account.Configuration.Merchant.Capability.SepaBankTransferPayment,V2.Core.Account.Configuration.Merchant.Capability.SepaDebitPayment,V2.Core.Account.Configuration.Merchant.Capability.StripeBalance.Payout,V2.Core.Account.Configuration.Merchant.Capability.SwishPayment,V2.Core.Account.Configuration.Merchant.Capability.TwintPayment,V2.Core.Account.Configuration.Merchant.Capability.UsBankTransferPayment,V2.Core.Account.Configuration.Merchant.Capability.ZipPayment,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Local,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Wire,V2.Core.Account.Configuration.Recipient.Capability.Card,V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.Payout,V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer,V2.Core.Account.Configuration.Storer.Capability.FinancialAddress.BankAccount,V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Eur,V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Gbp,V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Usd,V2.Core.Account.Configuration.Storer.Capability.InboundTransfer.BankAccount,V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.BankAccount,V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.Card,V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.FinancialAccount,V2.Core.Account.Configuration.Storer.Capability.OutboundTransfer.BankAccount, andV2.Core.Account.Configuration.Storer.Capability.OutboundTransfer.FinancialAccountal_bank_account,am_bank_account,bn_bank_account,bw_bank_account,dz_bank_account,gy_bank_account,jm_bank_account,jo_bank_account,kw_bank_account,lk_bank_account,ma_bank_account,om_bank_account, andtz_bank_accounton enumV2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.typeV2.Core.Account.Identity.BusinessDetail.AnnualRevenue.amount,V2.Core.Account.Identity.BusinessDetail.MonthlyEstimatedRevenue.amount,V2.MoneyManagement.Adjustment.amount,V2.MoneyManagement.InboundTransfer.amount,V2.MoneyManagement.OutboundPayment.amount,V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee.amount,V2.MoneyManagement.OutboundPaymentQuote.amount,V2.MoneyManagement.OutboundTransfer.amount,V2.MoneyManagement.ReceivedCredit.amount,V2.MoneyManagement.ReceivedDebit.amount,V2.MoneyManagement.Transaction.amount,v2.FinancialAddressCreditSimulationCreditParams.amount,v2.core.AccountCreateParamsIdentityBusinessDetailAnnualRevenue.amount,v2.core.AccountCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount,v2.core.AccountModifyParamsIdentityBusinessDetailAnnualRevenue.amount,v2.core.AccountModifyParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount,v2.core.AccountTokenCreateParamsIdentityBusinessDetailAnnualRevenue.amount,v2.core.AccountTokenCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount,v2.money_management.InboundTransferCreateParams.amount,v2.money_management.OutboundPaymentCreateParams.amount,v2.money_management.OutboundPaymentQuoteCreateParams.amount, andv2.money_management.OutboundTransferCreateParams.amountfromamounttoan objectat_stn,at_vat,be_vat,bg_vat,ca_gst_hst,cy_he,cy_vat,cz_vat,de_stn,dk_vat,ee_vat,es_vat,fi_vat,fr_rna,gr_afm,gr_vat,hr_mbs,hr_oib,hr_vat,hu_tin,hu_vat,ie_trn,ie_vat,lt_vat,lu_nif,lu_vat,lv_vat,mt_tin,mt_vat,my_itn,nl_rsin,nl_vat,nz_ird,pl_nip,pl_vat,ro_orc,ro_vat,se_vat,si_tin,si_vat,sk_dic, andsk_vaton enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type,v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.typehk_mbsfrom enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type,v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.typear_cuil,at_stn,be_nrn,bg_ucn,bn_nric,ca_sin,ch_oasi,cl_rut,cn_pp,co_nuip,cr_ci,cy_tic,cz_rc,dk_cpr,do_cie,ec_ci,ee_ik,es_nif,fi_hetu,fr_nir,gb_nino,gr_afm,hr_oib,hu_ad,id_nik,ie_ppsn,is_kt,it_cf,jp_inc,ke_pin,li_peid,lt_ak,lu_nif,lv_pk,ng_nin,no_nin,nz_ird,pl_pesel,pt_nif,ro_cnp,se_pin,sk_dic,tr_tin,uy_dni, andza_idon enumsV2.Core.Account.Identity.Individual.IdNumber.type,V2.Core.AccountPerson.IdNumber.type,v2.core.AccountCreateParamsIdentityIndividualIdNumber.type,v2.core.AccountModifyParamsIdentityIndividualIdNumber.type,v2.core.AccountPersonCreateParamsIdNumber.type,v2.core.AccountPersonModifyParamsIdNumber.type,v2.core.AccountPersonTokenCreateParamsIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.typeV2.Core.Account.Default.responsibilitiesto be requiredV2.Core.Account.Default.Responsibility.fees_collectorto be optionalV2.Core.Account.Default.Responsibility.losses_collectorto be optionalfinancial_connections_accountonV2.Core.Vault.UsBankAccountandV2.MoneyManagement.PayoutMethod.BankAccountV2.MoneyManagement.FinancialAccount.Balance.available,V2.MoneyManagement.Transaction.BalanceImpact.available, andV2.MoneyManagement.TransactionEntry.BalanceImpact.availablefromamounttoan objectV2.MoneyManagement.FinancialAccount.Balance.inbound_pending,V2.MoneyManagement.Transaction.BalanceImpact.inbound_pending, andV2.MoneyManagement.TransactionEntry.BalanceImpact.inbound_pendingfromamounttoan objectV2.MoneyManagement.FinancialAccount.Balance.outbound_pending,V2.MoneyManagement.Transaction.BalanceImpact.outbound_pending, andV2.MoneyManagement.TransactionEntry.BalanceImpact.outbound_pendingfromamounttoan objectV2.MoneyManagement.InboundTransfer.From.debited,V2.MoneyManagement.OutboundPayment.From.debited,V2.MoneyManagement.OutboundPaymentQuote.From.debited, andV2.MoneyManagement.OutboundTransfer.From.debitedfromamounttoan objectV2.MoneyManagement.InboundTransfer.To.credited,V2.MoneyManagement.OutboundPayment.To.credited,V2.MoneyManagement.OutboundPaymentQuote.To.credited, andV2.MoneyManagement.OutboundTransfer.To.creditedfromamounttoan objecttransferonV2.MoneyManagement.ReceivedCredit.BalanceTransfertransferon enumV2.MoneyManagement.ReceivedCredit.BalanceTransfer.typev2.core.AccountTokenCreateParams.identityto be optionalv2.core.AccountListParams.applied_configurationsfromstringtoenum('customer'|'merchant'|'recipient'|'storer')V2MoneyManagementPayoutMethodCreatedEventwith related objectv2.money_management.PayoutMethodControlledByAlternateResourceErrorRateLimitErroraccount_token_required_for_v2_accountonQuotePreviewInvoice.LastFinalizationError