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:
AutomaticPaymentMethodsPaymentIntent
class toPaymentIntent.AutomaticPaymentMethods
inner classCreditedItems
class toInvoiceLineItem.CreditedItems
inner classEventData
class toEvent.Data
inner classEventRequest
class toEvent.Request
inner classInvoiceLineItemPeriod
class toInvoiceItem.Period
inner classPackageDimensions
class toSku.PackageDimensions
andProduct.PackageDimensions
inner classeses.`ProrationDetails
class toInvoiceLineItem.ProrationDetails
inner classradar.Rule
class toCharge.Rule
inner classtreasury.FlowDetails
class toTransactionEntry.FlowDetails
inner classStripeErrorResponse
class that was unused.Adjusted classes to follow naming and nesting rules:
Account.DeclineChargeOn
toAccount.SettingsCardPayments.DeclineChargeOn
Account.PayoutSchedule
toAccount.SettingsPayouts.PayoutSchedule
Account.SettingsBranding
toAccount.Settings.Branding
Account.SettingsCardPayments
toAccount.Settings.CardPayments
Account.SettingsDashboard
toAccount.Settings.Dashboard
Account.SettingsPayments
toAccount.Settings.Payments
Account.SettingsPayouts
toAccount.Settings.Payouts
Charge.PaymentMethodDetails.Store
toCharge.PaymentMethodDetails.Konbini.Store
Invoice.PaymentMethodOptions
toInvoice.PaymentSettings.PaymentMethodOptions
Invoice.ThresholdItemReason
toInvoice.ThresholdReason.ItemReason
Mandate.AuBecsDebit
toMandate.PaymentMethodDetails.AuBecsDebit
Mandate.BacsDebit
toMandate.PaymentMethodDetails.BacsDebit
PaymentIntent.PaymentMethodOptions.BlikMandateOptionsOffSessionDetails
toMandate.PaymentMethodDetails.Blik.OffSession
PaymentIntent.PaymentMethodOptions.BankTransfer
toPaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer
PaymentIntent.NextActionAlipayHandleRedirect
toPaymentIntent.NextAction.AlipayHandleRedirect
PaymentIntent.NextActionCardAwaitNotification
toPaymentIntent.NextAction.CardAwaitNotification
PaymentIntent.NextActionDisplayBankTransferInstructions
toPaymentIntent.NextAction.DisplayBankTransferInstructions
PaymentIntent.NextActionDisplayBoletoDetails
toPaymentIntent.NextAction.BoletoDisplayDetails
PaymentIntent.NextActionKonbiniDisplayDetails
toPaymentIntent.NextAction.KonbiniDisplayDetails
PaymentIntent.NextActionOxxoDisplayDetails
toPaymentIntent.NextAction.OxxoDisplayDetails
PaymentIntent.NextActionRedirectToUrl
toPaymentIntent.NextAction.RedirectToUrl
PaymentIntent.PaymentMethodOptions.SepaDebitMandateOptions
toPaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions
Person.VerificationDocument
toPerson.Verification.Document
Person.VerificationDocument
toPerson.Verification.AdditionalDocument
PromotionCode.CurrencyOption
toPromotionCode.Restrictions.CurrencyOption
Quote.Recurring
toQuote.Computed.Recurring
Quote.Upfront
toQuote.Computed.Upfront
Refund.NextActionDisplayDetails
toRefund.NextAction.DisplayDetails
SetupIntent.PaymentMethodOptions.BlikMandateOptions
toSetupIntent.PaymentMethodOptions.Blik.MandateOptions
SetupIntent.NextActionRedirectToUrl
toSetupIntent.NextAction.RedirectToUrl
SetupIntent.PaymentMethodOptions.SepaDebitMandateOptions
toSetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions
ShippingRate.CurrencyOption
toShippingRate.FixedAmount.CurrencyOption
Source.OrderItem
toSource.Order.OrderItem
Subscription.PaymentMethodOptions
toSubscription.PaymentSettings.PaymentMethodOptions
Person.JapanAddress
toPerson.AddressKanji
Account.Company.Verification.VerificationDocument
toAccount.Company.Verification.Document
SubscriptionSchedule.AddInvoiceItem
toSubscriptionSchedule.Phase.AddInvoiceItem
Person.JapanAddress
toPerson.AddressKana
SubscriptionSchedule.InvoiceSettings
toSubscriptionSchedule.DefaultSettings.InvoiceSettings
SubscriptionSchedule.PhaseItem
toSubscriptionSchedule.Phase.Item
Account.FutureRequirements.Errors
toAccount.FutureRequirements.Error
Account.Requirements.Errors
toAccount.Requirements.Error
Account.Settings.SettingsCardIssuing
toAccount.Settings.CardIssuing
Account.Settings.SettingsTreasury
toAccount.Settings.Treasury
Balance.Money
toBalance.Available
Balance.Money
toBalance.ConnectReserved
Balance.Money
toBalance.InstantAvailable
Balance.Details
toBalance.Issuing
Balance.Money
toBalance.Pending
BalanceTransaction.Fee
toBalanceTransaction.FeeDetail
Capability.FutureRequirements.Errors
toCapability.FutureRequirements.Error
CashBalance.BalanceSettings
toCashBalance.Settings
Session.CustomerDetails.TaxID
toSession.CustomerDetails.TaxId
Session.PaymentMethodOptions.GrabPay
toSession.PaymentMethodOptions.Grabpay
Session.TaxIDCollection
toSession.TaxIdCollection
CountrySpec.VerificationFields.Details
toCountrySpec.VerificationFields.Company
CountrySpec.VerificationFields.Details
toCountrySpec.VerificationFields.Individual
Account.Balance.CashBalance
toAccount.Balance.Cash
Account.Balance.CreditBalance
toAccount.Balance.Credit
VerificationReport.Document.DateOfBirth
toVerificationReport.Document.Dob
VerificationReport.Document.DocumentCheckError
toVerificationReport.Document.Error
VerificationReport.IdNumber.DateOfBirth
toVerificationReport.IdNumber.Dob
VerificationReport.IdNumber.IdNumberCheckError
toVerificationReport.IdNumber.Error
VerificationReport.Selfie.SelfieCheckError
toVerificationReport.Selfie.Error
VerificationSession.VerifiedOutputs.DateOfBirth
toVerificationSession.VerifiedOutputs.Dob
Invoice.DiscountAmount
toInvoice.TotalDiscountAmount
Invoice.TaxAmount
toInvoice.TotalTaxAmount
Cardholder.Individual.DateOfBirth
toCardholder.Individual.Dob
Transaction.PurchaseDetails.Flight.Segments
toTransaction.PurchaseDetails.Flight.Segment
PaymentIntent.PaymentMethodOptions.Card.Installments.Plan
toPaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan
PaymentMethod.Klarna.DateOfBirth
toPaymentMethod.Klarna.Dob
PaymentMethod.USBankAccount
toPaymentMethod.UsBankAccount
Person.DateOfBirth
toPerson.Dob
Person.FutureRequirements.Errors
toPerson.FutureRequirements.Error
Review.Location
toReview.IpAddressLocation
ScheduledQueryRun.RunError
toScheduledQueryRun.Error
Source.CodeVerificationFlow
toSource.CodeVerification
Source.ReceiverFlow
toSource.Receiver
Source.RedirectFlow
toSource.Redirect
Source.Order
toSource.SourceOrder
SourceMandateNotification.AcssDebitData
toSourceMandateNotification.AcssDebit
SourceMandateNotification.BacsDebitData
toSourceMandateNotification.BacsDebit
SourceMandateNotification.SepaDebitData
toSourceMandateNotification.SepaDebit
SourceTransaction.AchCreditTransferData
toSourceTransaction.AchCreditTransfer
SourceTransaction.ChfCreditTransferData
toSourceTransaction.ChfCreditTransfer
SourceTransaction.GbpCreditTransferData
toSourceTransaction.GbpCreditTransfer
SourceTransaction.PaperCheckData
toSourceTransaction.PaperCheck
SourceTransaction.SepaCreditTransferData
toSourceTransaction.SepaCreditTransfer
Reader.ReaderAction
toReader.Action
FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetails
toFinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail
FinancialAccountFeatures.CardIssuing.StatusDetails
toFinancialAccountFeatures.CardIssuing.StatusDetail
FinancialAccountFeatures.DepositInsurance.StatusDetails
toFinancialAccountFeatures.DepositInsurance.StatusDetail
FinancialAccountFeatures.InboundTransfers.Ach.StatusDetails
toFinancialAccountFeatures.InboundTransfers.Ach.StatusDetail
FinancialAccountFeatures.IntraStripeFlows.StatusDetails
toFinancialAccountFeatures.IntraStripeFlows.StatusDetail
FinancialAccountFeatures.OutboundPayments.Ach.StatusDetails
toFinancialAccountFeatures.OutboundPayments.Ach.StatusDetail
FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetails
toFinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail
FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetails
toFinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail
FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetails
toFinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail