Update generated code for beta #1735
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.customer_account, andTaxId::Owner.customer_accountto be requiredV2::FinancialAddressGeneratedMicrodeposits.amountsfromamounttoan objectCheckout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.amount,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amountfromlongIntegertoemptyable(longInteger)Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount_type,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount_type,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount_type,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount_typefromenum('fixed'|'maximum')toemptyable(enum('fixed'|'maximum'))Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.end_date,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.end_date,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.end_date,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.end_date,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.end_date,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.end_date, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.end_datefromstringtoemptyable(string)Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payment_schedule,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payment_schedule,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payment_schedulefromenumtoemptyable(enum)Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payments_per_period,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payments_per_period,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payments_per_periodfromlongIntegertoemptyable(longInteger)Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.purpose,PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.purpose,PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.purpose,PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.purpose,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.purpose,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.purpose, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.purposefromenumtoemptyable(enum)Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.start_date,SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.start_date,SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.start_date, andSetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.start_datefromstringtoemptyable(string)Identity::VerificationSession.related_customer_accountto be requiredasync_workflowsonPaymentIntentpaytoonQuotePreviewInvoice::PaymentSetting::PaymentMethodOptionrequestedonV2::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::FinancialAccountV2::Core::Account::Identity::BusinessDetail::AnnualRevenue.amount,V2::Core::Account::Identity::BusinessDetail::MonthlyEstimatedRevenue.amount,V2::Core::AccountCreateParams::Identity::BusinessDetail::AnnualRevenue.amount,V2::Core::AccountCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue.amount,V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::AnnualRevenue.amount,V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue.amount,V2::Core::AccountUpdateParams::Identity::BusinessDetail::AnnualRevenue.amount,V2::Core::AccountUpdateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue.amount,V2::FinancialAddressCreditSimulationCreditParams.amount,V2::MoneyManagement::Adjustment.amount,V2::MoneyManagement::InboundTransfer.amount,V2::MoneyManagement::InboundTransferCreateParams.amount,V2::MoneyManagement::OutboundPayment.amount,V2::MoneyManagement::OutboundPaymentCreateParams.amount,V2::MoneyManagement::OutboundPaymentQuote.amount,V2::MoneyManagement::OutboundPaymentQuote::EstimatedFee.amount,V2::MoneyManagement::OutboundPaymentQuoteCreateParams.amount,V2::MoneyManagement::OutboundTransfer.amount,V2::MoneyManagement::OutboundTransferCreateParams.amount,V2::MoneyManagement::ReceivedCredit.amount,V2::MoneyManagement::ReceivedDebit.amount, andV2::MoneyManagement::Transaction.amountfromamounttoan objectV2::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::BalanceTransferV2::Core::AccountTokenCreateParams.identityto be optionalV2MoneyManagementPayoutMethodCreatedEventwith related objectV2::MoneyManagement::PayoutMethodControlledByAlternateResourceErrorRateLimitError