Remove types that were marked as deprecated in Feb 2024 #2286
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.
Why?
In #2025 we've renamed params types to make them consistent and allow us to ship TaxIds. As part of it we added a set of deprecated type definitions to preserve old type names and avoid breaking changes.
Now that we are shipping a major version in March, it is time to clean up the deprecated types
What?
Changelog
AccountDebitSource
in favor ofAccount
CapabilityListParams
in favor ofAccountListCapabilitiesParams
CapabilityRetrieveParams
in favor ofAccountRetrieveCapabilityParams
CapabilityUpdateParams
in favor ofAccountUpdateCapabilityParams
CashBalanceRetrieveParams
in favor ofCustomerRetrieveCashBalanceParams
CashBalanceUpdateParams
in favor ofCustomerUpdateCashBalanceParams
CreditNoteLineItemListParams
in favor ofCreditNoteListLineItemsParams
CustomerBalanceTransactionCreateParams
in favor ofCustomerCreateBalanceTransactionParams
CustomerBalanceTransactionListParams
in favor ofCustomerListBalanceTransactionsParams
CustomerBalanceTransactionRetrieveParams
in favor ofCustomerRetrieveBalanceTransactionParams
CustomerBalanceTransactionUpdateParams
in favor ofCustomerUpdateBalanceTransactionParams
CustomerCashBalanceTransactionListParams
in favor ofCustomerListCashBalanceTransactionsParams
CustomerCashBalanceTransactionRetrieveParams
in favor ofCustomerRetrieveCashBalanceTransactionParams
CustomerSourceCreateParams
in favor ofCustomerCreateSourceParams
CustomerSourceDeleteParams
in favor ofCustomerDeleteSourceParams
CustomerSourceListParams
in favor ofCustomerListSourcesParams
CustomerSourceRetrieveParams
in favor ofCustomerRetrieveSourceParams
CustomerSourceUpdateParams
in favor ofCustomerUpdateSourceParams
CustomerSourceVerifyParams
in favor ofCustomerVerifySourceParams
ExternalAccountCreateParams
in favor ofAccountCreateExternalAccountParams
ExternalAccountDeleteParams
in favor ofAccountDeleteExternalAccountParams
ExternalAccountListParams
in favor ofAccountListExternalAccountsParams
ExternalAccountRetrieveParams
in favor ofAccountRetrieveExternalAccountParams
ExternalAccountUpdateParams
in favor ofAccountUpdateExternalAccountParams
FeeRefundCreateParams
in favor ofApplicationFeeCreateRefundParams
FeeRefundListParams
in favor ofApplicationFeeListRefundsParams
FeeRefundRetrieveParams
in favor ofApplicationFeeRetrieveRefundParams
FeeRefundUpdateParams
in favor ofApplicationFeeUpdateRefundParams
InvoiceLineItemListParams
in favor ofInvoiceListLineItemsParams
InvoiceLineItemUpdateParams
in favor ofInvoiceUpdateLineItemParams
LoginLinkCreateParams
in favor ofAccountCreateLoginLinkParams
PersonCreateParams
in favor ofAccountCreatePersonParams
PersonDeleteParams
in favor ofAccountDeletePersonParams
PersonListParams
in favor ofAccountListPersonsParams
PersonRetrieveParams
in favor ofAccountRetrievePersonParams
PersonUpdateParams
in favor ofAccountUpdatePersonParams
TransferReversalCreateParams
in favor ofTransferCreateReversalParams
TransferReversalListParams
in favor ofTransferListReversalsParams
TransferReversalRetrieveParams
in favor ofTransferRetrieveReversalParams
TransferReversalUpdateParams
in favor ofTransferUpdateReversalParams
UsageRecordCreateParams
in favor ofSubscriptionItemCreateUsageRecordParams
UsageRecordSummaryListParams
in favor ofSubscriptionItemListUsageRecordSummariesParams