Remove sharing overrides and non-resource root models #1455
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.
Changelog:
Moved classes that were mistakenly generated at root level instead of being inlined into resources:
AutomaticPaymentMethodsPaymentIntentclass toPaymentIntent.AutomaticPaymentMethodsinner classCreditedItemsclass toInvoiceLineItem.CreditedItemsinner classEventDataclass toEvent.Datainner classEventRequestclass toEvent.Requestinner classInvoiceLineItemPeriodclass toInvoiceItem.Periodinner classPackageDimensionsclass toSku.PackageDimensionsandProduct.PackageDimensionsinner classeses.`ProrationDetailsclass toInvoiceLineItem.ProrationDetailsinner classradar.Ruleclass toCharge.Ruleinner classtreasury.FlowDetailsclass toTransactionEntry.FlowDetailsinner classStripeErrorResponseclass that was unused.Adjusted classes to follow naming and nesting rules:
Account.DeclineChargeOntoAccount.SettingsCardPayments.DeclineChargeOnAccount.PayoutScheduletoAccount.SettingsPayouts.PayoutScheduleAccount.SettingsBrandingtoAccount.Settings.BrandingAccount.SettingsCardPaymentstoAccount.Settings.CardPaymentsAccount.SettingsDashboardtoAccount.Settings.DashboardAccount.SettingsPaymentstoAccount.Settings.PaymentsAccount.SettingsPayoutstoAccount.Settings.PayoutsCharge.PaymentMethodDetails.StoretoCharge.PaymentMethodDetails.Konbini.StoreInvoice.PaymentMethodOptionstoInvoice.PaymentSettings.PaymentMethodOptionsInvoice.ThresholdItemReasontoInvoice.ThresholdReason.ItemReasonMandate.AuBecsDebittoMandate.PaymentMethodDetails.AuBecsDebitMandate.BacsDebittoMandate.PaymentMethodDetails.BacsDebitPaymentIntent.PaymentMethodOptions.BlikMandateOptionsOffSessionDetailstoMandate.PaymentMethodDetails.Blik.OffSessionPaymentIntent.PaymentMethodOptions.BankTransfertoPaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransferPaymentIntent.NextActionAlipayHandleRedirecttoPaymentIntent.NextAction.AlipayHandleRedirectPaymentIntent.NextActionCardAwaitNotificationtoPaymentIntent.NextAction.CardAwaitNotificationPaymentIntent.NextActionDisplayBankTransferInstructionstoPaymentIntent.NextAction.DisplayBankTransferInstructionsPaymentIntent.NextActionDisplayBoletoDetailstoPaymentIntent.NextAction.BoletoDisplayDetailsPaymentIntent.NextActionKonbiniDisplayDetailstoPaymentIntent.NextAction.KonbiniDisplayDetailsPaymentIntent.NextActionOxxoDisplayDetailstoPaymentIntent.NextAction.OxxoDisplayDetailsPaymentIntent.NextActionRedirectToUrltoPaymentIntent.NextAction.RedirectToUrlPaymentIntent.PaymentMethodOptions.SepaDebitMandateOptionstoPaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptionsPerson.VerificationDocumenttoPerson.Verification.DocumentPerson.VerificationDocumenttoPerson.Verification.AdditionalDocumentPromotionCode.CurrencyOptiontoPromotionCode.Restrictions.CurrencyOptionQuote.RecurringtoQuote.Computed.RecurringQuote.UpfronttoQuote.Computed.UpfrontRefund.NextActionDisplayDetailstoRefund.NextAction.DisplayDetailsSetupIntent.PaymentMethodOptions.BlikMandateOptionstoSetupIntent.PaymentMethodOptions.Blik.MandateOptionsSetupIntent.NextActionRedirectToUrltoSetupIntent.NextAction.RedirectToUrlSetupIntent.PaymentMethodOptions.SepaDebitMandateOptionstoSetupIntent.PaymentMethodOptions.SepaDebit.MandateOptionsShippingRate.CurrencyOptiontoShippingRate.FixedAmount.CurrencyOptionSource.OrderItemtoSource.Order.OrderItemSubscription.PaymentMethodOptionstoSubscription.PaymentSettings.PaymentMethodOptionsPerson.JapanAddresstoPerson.AddressKanjiAccount.Company.Verification.VerificationDocumenttoAccount.Company.Verification.DocumentSubscriptionSchedule.AddInvoiceItemtoSubscriptionSchedule.Phase.AddInvoiceItemPerson.JapanAddresstoPerson.AddressKanaSubscriptionSchedule.InvoiceSettingstoSubscriptionSchedule.DefaultSettings.InvoiceSettingsSubscriptionSchedule.PhaseItemtoSubscriptionSchedule.Phase.ItemAccount.FutureRequirements.ErrorstoAccount.FutureRequirements.ErrorAccount.Requirements.ErrorstoAccount.Requirements.ErrorAccount.Settings.SettingsCardIssuingtoAccount.Settings.CardIssuingAccount.Settings.SettingsTreasurytoAccount.Settings.TreasuryBalance.MoneytoBalance.AvailableBalance.MoneytoBalance.ConnectReservedBalance.MoneytoBalance.InstantAvailableBalance.DetailstoBalance.IssuingBalance.MoneytoBalance.PendingBalanceTransaction.FeetoBalanceTransaction.FeeDetailCapability.FutureRequirements.ErrorstoCapability.FutureRequirements.ErrorCashBalance.BalanceSettingstoCashBalance.SettingsSession.CustomerDetails.TaxIDtoSession.CustomerDetails.TaxIdSession.PaymentMethodOptions.GrabPaytoSession.PaymentMethodOptions.GrabpaySession.TaxIDCollectiontoSession.TaxIdCollectionCountrySpec.VerificationFields.DetailstoCountrySpec.VerificationFields.CompanyCountrySpec.VerificationFields.DetailstoCountrySpec.VerificationFields.IndividualAccount.Balance.CashBalancetoAccount.Balance.CashAccount.Balance.CreditBalancetoAccount.Balance.CreditVerificationReport.Document.DateOfBirthtoVerificationReport.Document.DobVerificationReport.Document.DocumentCheckErrortoVerificationReport.Document.ErrorVerificationReport.IdNumber.DateOfBirthtoVerificationReport.IdNumber.DobVerificationReport.IdNumber.IdNumberCheckErrortoVerificationReport.IdNumber.ErrorVerificationReport.Selfie.SelfieCheckErrortoVerificationReport.Selfie.ErrorVerificationSession.VerifiedOutputs.DateOfBirthtoVerificationSession.VerifiedOutputs.DobInvoice.DiscountAmounttoInvoice.TotalDiscountAmountInvoice.TaxAmounttoInvoice.TotalTaxAmountCardholder.Individual.DateOfBirthtoCardholder.Individual.DobTransaction.PurchaseDetails.Flight.SegmentstoTransaction.PurchaseDetails.Flight.SegmentPaymentIntent.PaymentMethodOptions.Card.Installments.PlantoPaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlanPaymentMethod.Klarna.DateOfBirthtoPaymentMethod.Klarna.DobPaymentMethod.USBankAccounttoPaymentMethod.UsBankAccountPerson.DateOfBirthtoPerson.DobPerson.FutureRequirements.ErrorstoPerson.FutureRequirements.ErrorReview.LocationtoReview.IpAddressLocationScheduledQueryRun.RunErrortoScheduledQueryRun.ErrorSource.CodeVerificationFlowtoSource.CodeVerificationSource.ReceiverFlowtoSource.ReceiverSource.RedirectFlowtoSource.RedirectSource.OrdertoSource.SourceOrderSourceMandateNotification.AcssDebitDatatoSourceMandateNotification.AcssDebitSourceMandateNotification.BacsDebitDatatoSourceMandateNotification.BacsDebitSourceMandateNotification.SepaDebitDatatoSourceMandateNotification.SepaDebitSourceTransaction.AchCreditTransferDatatoSourceTransaction.AchCreditTransferSourceTransaction.ChfCreditTransferDatatoSourceTransaction.ChfCreditTransferSourceTransaction.GbpCreditTransferDatatoSourceTransaction.GbpCreditTransferSourceTransaction.PaperCheckDatatoSourceTransaction.PaperCheckSourceTransaction.SepaCreditTransferDatatoSourceTransaction.SepaCreditTransferReader.ReaderActiontoReader.ActionFinancialAccountFeatures.FinancialAddresses.Aba.StatusDetailstoFinancialAccountFeatures.FinancialAddresses.Aba.StatusDetailFinancialAccountFeatures.CardIssuing.StatusDetailstoFinancialAccountFeatures.CardIssuing.StatusDetailFinancialAccountFeatures.DepositInsurance.StatusDetailstoFinancialAccountFeatures.DepositInsurance.StatusDetailFinancialAccountFeatures.InboundTransfers.Ach.StatusDetailstoFinancialAccountFeatures.InboundTransfers.Ach.StatusDetailFinancialAccountFeatures.IntraStripeFlows.StatusDetailstoFinancialAccountFeatures.IntraStripeFlows.StatusDetailFinancialAccountFeatures.OutboundPayments.Ach.StatusDetailstoFinancialAccountFeatures.OutboundPayments.Ach.StatusDetailFinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetailstoFinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetailFinancialAccountFeatures.OutboundTransfers.Ach.StatusDetailstoFinancialAccountFeatures.OutboundTransfers.Ach.StatusDetailFinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetailstoFinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail