Update generated code for private-preview #1734
Merged
+14,845
−11,898
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 v2128 and proto spec .
Changelog
V2::Core::AccountPersonToken,V2::Core::AccountToken, andV2::MoneyManagement::CurrencyConversioncreate,list, andretrievemethods on resourceV2::MoneyManagement::CurrencyConversioncreateandretrievemethods on resourcesV2::Core::AccountPersonTokenandV2::Core::AccountTokeneffective_atonInvoiceCreatePreviewParams::ScheduleDetail::Amendment,InvoiceCreatePreviewParams::ScheduleDetail::Phase,QuoteCreateParams::Line,QuoteLine,QuotePreviewSubscriptionSchedule::Phase,QuoteUpdateParams::Line,SubscriptionSchedule::Phase,SubscriptionScheduleAmendParams::Amendment,SubscriptionScheduleCreateParams::Phase, andSubscriptionScheduleUpdateParams::Phasetrial_offeronInvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Add,InvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Set,InvoiceCreatePreviewParams::ScheduleDetail::Phase::Item,QuoteCreateParams::Line::Action::AddItem,QuoteCreateParams::Line::Action::SetItem,QuoteLine::Action::AddItem,QuoteLine::Action::SetItem,QuotePreviewSubscriptionSchedule::Phase::Item,QuoteUpdateParams::Line::Action::AddItem,QuoteUpdateParams::Line::Action::SetItem,SubscriptionSchedule::Phase::Item,SubscriptionScheduleAmendParams::Amendment::ItemAction::Add,SubscriptionScheduleAmendParams::Amendment::ItemAction::Set,SubscriptionScheduleCreateParams::Phase::Item, andSubscriptionScheduleUpdateParams::Phase::ItemDelegatedCheckout::RequestedSession.amount_subtotalfromlongIntegertonullable(longInteger)DelegatedCheckout::RequestedSession.amount_totalfromlongIntegertonullable(longInteger)amount_discount,amount_subtotal,amount_total,unit_amount_after_discount, andunit_discountonDelegatedCheckout::RequestedSession::LineItemDetailamount_subtotal_after_discountonDelegatedCheckout::RequestedSession::LineItemDetailandDelegatedCheckout::RequestedSession::TotalDetailInvoiceCreatePreviewParams::ScheduleDetail.billing_schedulesfromarray(billing_schedules_update_params)toemptyable(array(billing_schedules_update_params))current_trialonInvoiceCreatePreviewParams::SubscriptionDetail::Item,SubscriptionCreateParams::Item,SubscriptionItemCreateParams,SubscriptionItemUpdateParams,SubscriptionItem, andSubscriptionUpdateParams::ItemQuoteCreateParams::SubscriptionDataOverride.billing_schedulesandQuoteCreateParams::SubscriptionDatum.billing_schedulesfromemptyable(array(billing_schedules_create_specs))toarray(billing_schedules_create_specs)Quote::SubscriptionDataOverride.billing_schedulesandQuote::SubscriptionDatum.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(QuotesResourceSubscriptionDataBillingSchedules)Quote::SubscriptionDataOverride.phase_effective_atandQuote::SubscriptionDatum.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'line_start')QuotePreviewSubscriptionSchedule::DefaultSetting.phase_effective_atandSubscriptionSchedule::DefaultSetting.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'phase_start')QuotePreviewSubscriptionSchedule.billing_schedulesandSubscriptionSchedule.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(SubscriptionsResourceBillingSchedules)amendment_start,line_starts_at, andrelativeonSubscription::BillingSchedule::BillFromSubscription::BillingSchedule::BillFrom.computed_timestampfromnullable(DateTime)toDateTimeSubscription::BillingSchedule::BillFrom.typefromenumtoliteral('timestamp')amendment_endandline_ends_atonSubscription::BillingSchedule::BillUntilV2::Billing::ServiceAction::CreditGrant::Amount.monetary,V2::Billing::ServiceAction::CreditGrantPerTenant::Amount.monetary,V2::Billing::ServiceActionCreateParams::CreditGrant::Amount.monetary, andV2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount.monetaryfromamounttoan objectfuture_requirementsonV2::Core::Accountkonbini_paymentsandscript_statement_descriptoronV2::Core::Account::Configuration::Merchant,V2::Core::AccountCreateParams::Configuration::Merchant, andV2::Core::AccountUpdateParams::Configuration::MerchanteuronV2::Core::Account::Configuration::Storer::Capability::HoldsCurrency,V2::Core::AccountCreateParams::Configuration::Storer::Capability::HoldsCurrency, andV2::Core::AccountUpdateParams::Configuration::Storer::Capability::HoldsCurrencyrequirements_collectoronV2::Core::Account::Default::ResponsibilitycollectoronV2::Core::Account::Requirementv1_event_idonV2::Core::Eventamount_detailsandcapture_methodonV2::Payments::OffSessionPaymentCreateParamsandV2::Payments::OffSessionPaymentV2::Payments::OffSessionPayment.amount_capturablefromamounttoan objectV2::Payments::OffSessionPayment.amount_requestedfromamounttoan objectV2::Payments::OffSessionPaymentCreateParams.amountfromamounttoan objectV2::Payments::OffSessionPaymentCreateParams::RetryDetail.retry_strategyto be optionaldestinationonV2::Payments::OffSessionPaymentCaptureParams::TransferDatumV2::Payments::OffSessionPaymentCaptureParams.amount_to_captureto be optionalcreatedonV2::Core::EventListParamsgt,gte,lt, andlteonV2::Core::EventListParamsaccount_tokenonV2::Core::AccountCreateParamsandV2::Core::AccountUpdateParamsperson_tokenonV2::Core::AccountPersonCreateParamsandV2::Core::AccountPersonUpdateParamsimpacted_requests_percentageonEventsV2CoreHealthApiErrorFiringEvent,EventsV2CoreHealthApiErrorResolvedEvent,EventsV2CoreHealthApiLatencyFiringEvent,EventsV2CoreHealthApiLatencyResolvedEvent,EventsV2CoreHealthPaymentMethodErrorFiringEvent, andEventsV2CoreHealthPaymentMethodErrorResolvedEventcontextandrelated_objectonEventsV2CoreHealthEventGenerationFailureResolvedEventaccount,livemode,missing_delivery_attempts, andrelated_object_idonEventsV2CoreHealthEventGenerationFailureResolvedEventEventsV2CoreHealthFraudRateIncreasedEvent.realized_fraud_amountfromamounttoan objectEventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.approved_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.approved_amountfromamounttoan objectEventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.declined_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.declined_amountfromamounttoan objectV2PaymentsOffSessionPaymentAttemptFailedEventandV2PaymentsOffSessionPaymentAttemptStartedEventwith related objectV2::Payments::OffSessionPaymentV1AccountUpdatedEventwith related objectAccountV1ApplicationFeeCreatedEventandV1ApplicationFeeRefundedEventwith related objectApplicationFeeV1BillingPortalConfigurationCreatedEventandV1BillingPortalConfigurationUpdatedEventwith related objectBillingPortal::ConfigurationV1CapabilityUpdatedEventwith related objectCapabilityV1ChargeCapturedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent, andV1ChargeUpdatedEventwith related objectChargeV1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent, andV1ChargeDisputeUpdatedEventwith related objectDisputeV1ChargeRefundUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent, andV1RefundUpdatedEventwith related objectRefundV1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent, andV1CheckoutSessionExpiredEventwith related objectCheckout::SessionV1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent, andV1ClimateOrderProductSubstitutedEventwith related objectClimate::OrderV1ClimateProductCreatedEventandV1ClimateProductPricingUpdatedEventwith related objectClimate::ProductV1CouponCreatedEvent,V1CouponDeletedEvent, andV1CouponUpdatedEventwith related objectCouponV1CreditNoteCreatedEvent,V1CreditNoteUpdatedEvent, andV1CreditNoteVoidedEventwith related objectCreditNoteV1CustomerCreatedEvent,V1CustomerDeletedEvent, andV1CustomerUpdatedEventwith related objectCustomerV1CustomerSubscriptionCreatedEvent,V1CustomerSubscriptionDeletedEvent,V1CustomerSubscriptionPausedEvent,V1CustomerSubscriptionPendingUpdateAppliedEvent,V1CustomerSubscriptionPendingUpdateExpiredEvent,V1CustomerSubscriptionResumedEvent,V1CustomerSubscriptionTrialWillEndEvent, andV1CustomerSubscriptionUpdatedEventwith related objectSubscriptionV1CustomerTaxIdCreatedEvent,V1CustomerTaxIdDeletedEvent, andV1CustomerTaxIdUpdatedEventwith related objectTaxIdV1FileCreatedEventwith related objectFileV1FinancialConnectionsAccountCreatedEvent,V1FinancialConnectionsAccountDeactivatedEvent,V1FinancialConnectionsAccountDisconnectedEvent,V1FinancialConnectionsAccountReactivatedEvent,V1FinancialConnectionsAccountRefreshedBalanceEvent,V1FinancialConnectionsAccountRefreshedOwnershipEvent, andV1FinancialConnectionsAccountRefreshedTransactionsEventwith related objectFinancialConnections::AccountV1IdentityVerificationSessionCanceledEvent,V1IdentityVerificationSessionCreatedEvent,V1IdentityVerificationSessionProcessingEvent,V1IdentityVerificationSessionRedactedEvent,V1IdentityVerificationSessionRequiresInputEvent, andV1IdentityVerificationSessionVerifiedEventwith related objectIdentity::VerificationSessionV1InvoiceCreatedEvent,V1InvoiceDeletedEvent,V1InvoiceFinalizationFailedEvent,V1InvoiceFinalizedEvent,V1InvoiceMarkedUncollectibleEvent,V1InvoiceOverdueEvent,V1InvoiceOverpaidEvent,V1InvoicePaidEvent,V1InvoicePaymentActionRequiredEvent,V1InvoicePaymentFailedEvent,V1InvoicePaymentSucceededEvent,V1InvoiceSentEvent,V1InvoiceUpcomingEvent,V1InvoiceUpdatedEvent,V1InvoiceVoidedEvent, andV1InvoiceWillBeDueEventwith related objectInvoiceV1InvoicePaymentPaidEventwith related objectInvoicePaymentV1InvoiceitemCreatedEventandV1InvoiceitemDeletedEventwith related objectInvoiceItemV1IssuingAuthorizationCreatedEvent,V1IssuingAuthorizationRequestEvent, andV1IssuingAuthorizationUpdatedEventwith related objectIssuing::AuthorizationV1IssuingCardCreatedEventandV1IssuingCardUpdatedEventwith related objectIssuing::CardV1IssuingCardholderCreatedEventandV1IssuingCardholderUpdatedEventwith related objectIssuing::CardholderV1IssuingDisputeClosedEvent,V1IssuingDisputeCreatedEvent,V1IssuingDisputeFundsReinstatedEvent,V1IssuingDisputeFundsRescindedEvent,V1IssuingDisputeSubmittedEvent, andV1IssuingDisputeUpdatedEventwith related objectIssuing::DisputeV1IssuingPersonalizationDesignActivatedEvent,V1IssuingPersonalizationDesignDeactivatedEvent,V1IssuingPersonalizationDesignRejectedEvent, andV1IssuingPersonalizationDesignUpdatedEventwith related objectIssuing::PersonalizationDesignV1IssuingTokenCreatedEventandV1IssuingTokenUpdatedEventwith related objectIssuing::TokenV1IssuingTransactionCreatedEvent,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, andV1IssuingTransactionUpdatedEventwith related objectIssuing::TransactionV1MandateUpdatedEventwith related objectMandateV1PaymentIntentAmountCapturableUpdatedEvent,V1PaymentIntentCanceledEvent,V1PaymentIntentCreatedEvent,V1PaymentIntentPartiallyFundedEvent,V1PaymentIntentPaymentFailedEvent,V1PaymentIntentProcessingEvent,V1PaymentIntentRequiresActionEvent, andV1PaymentIntentSucceededEventwith related objectPaymentIntentV1PaymentLinkCreatedEventandV1PaymentLinkUpdatedEventwith related objectPaymentLinkV1PaymentMethodAttachedEvent,V1PaymentMethodAutomaticallyUpdatedEvent,V1PaymentMethodDetachedEvent, andV1PaymentMethodUpdatedEventwith related objectPaymentMethodV1PayoutCanceledEvent,V1PayoutCreatedEvent,V1PayoutFailedEvent,V1PayoutPaidEvent,V1PayoutReconciliationCompletedEvent, andV1PayoutUpdatedEventwith related objectPayoutV1PersonCreatedEvent,V1PersonDeletedEvent, andV1PersonUpdatedEventwith related objectPersonV1PlanCreatedEvent,V1PlanDeletedEvent, andV1PlanUpdatedEventwith related objectPlanV1PriceCreatedEvent,V1PriceDeletedEvent, andV1PriceUpdatedEventwith related objectPriceV1ProductCreatedEvent,V1ProductDeletedEvent, andV1ProductUpdatedEventwith related objectProductV1PromotionCodeCreatedEventandV1PromotionCodeUpdatedEventwith related objectPromotionCodeV1QuoteAcceptedEvent,V1QuoteCanceledEvent,V1QuoteCreatedEvent, andV1QuoteFinalizedEventwith related objectQuoteV1RadarEarlyFraudWarningCreatedEventandV1RadarEarlyFraudWarningUpdatedEventwith related objectRadar::EarlyFraudWarningV1ReviewClosedEventandV1ReviewOpenedEventwith related objectReviewV1SetupIntentCanceledEvent,V1SetupIntentCreatedEvent,V1SetupIntentRequiresActionEvent,V1SetupIntentSetupFailedEvent, andV1SetupIntentSucceededEventwith related objectSetupIntentV1SigmaScheduledQueryRunCreatedEventwith related objectSigma::ScheduledQueryRunV1SourceCanceledEvent,V1SourceChargeableEvent,V1SourceFailedEvent, andV1SourceRefundAttributesRequiredEventwith related objectSourceV1SubscriptionScheduleAbortedEvent,V1SubscriptionScheduleCanceledEvent,V1SubscriptionScheduleCompletedEvent,V1SubscriptionScheduleCreatedEvent,V1SubscriptionScheduleExpiringEvent,V1SubscriptionScheduleReleasedEvent, andV1SubscriptionScheduleUpdatedEventwith related objectSubscriptionScheduleV1TaxRateCreatedEventandV1TaxRateUpdatedEventwith related objectTaxRateV1TerminalReaderActionFailedEvent,V1TerminalReaderActionSucceededEvent, andV1TerminalReaderActionUpdatedEventwith related objectTerminal::ReaderV1TestHelpersTestClockAdvancingEvent,V1TestHelpersTestClockCreatedEvent,V1TestHelpersTestClockDeletedEvent,V1TestHelpersTestClockInternalFailureEvent, andV1TestHelpersTestClockReadyEventwith related objectTestHelpers::TestClockV1TopupCanceledEvent,V1TopupCreatedEvent,V1TopupFailedEvent,V1TopupReversedEvent, andV1TopupSucceededEventwith related objectTopupV1TransferCreatedEvent,V1TransferReversedEvent, andV1TransferUpdatedEventwith related objectTransfer