Remove types that were marked as deprecated in Feb 2024#2286
Merged
ramya-stripe merged 2 commits intomasterfrom Mar 28, 2025
Merged
Remove types that were marked as deprecated in Feb 2024#2286ramya-stripe merged 2 commits intomasterfrom
ramya-stripe merged 2 commits intomasterfrom
Conversation
xavdid-stripe
approved these changes
Mar 28, 2025
ramya-stripe
added a commit
that referenced
this pull request
Apr 1, 2025
* Add Next.js App Router webhook example that leverages Route Handlers (#2259) * Update generated code (#2256) * Update generated code for v1463 * Update generated code for v1494 * Update generated code for v1495 * Update generated code for v1501 * Update generated code for v1505 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> * Bump version to 17.7.0 * Update actions/cache as v2 is deprecated (#2269) * remove test using soon-to-be-gone endpoint (#2270) * [BREAKING] swap Stripe.webhooks from a factory function to a static property (#2277) swap Stripe.webhooks from a factory function to a static property * Remove tests for endpoints that were removed (#2281) * Remove types that were marked as deprecated in Feb 2024 (#2286) * Remove types that were marked as deprecated in Feb 2024 * remove the test for deprecated type * add Amount interface (#2289) * Update generated code for v1641 * Update generated code for v1641 * Update generated code for v1641 * Update generated code for v1641 * Support for APIs in the new API version 2025-03-31.basil (#2279) Update generated code for v1641 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Update generated code for v1642 * Update generated code for v1642 * Update generated code (#2291) * Update generated code for v1642 * Update generated code for v1642 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Update generated code for v1645 * Update generated code for v1646 --------- Co-authored-by: Jonathan Steele <83410553+jsteele-stripe@users.noreply.github.com> Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com> Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
AccountDebitSourcein favor ofAccountCapabilityListParamsin favor ofAccountListCapabilitiesParamsCapabilityRetrieveParamsin favor ofAccountRetrieveCapabilityParamsCapabilityUpdateParamsin favor ofAccountUpdateCapabilityParamsCashBalanceRetrieveParamsin favor ofCustomerRetrieveCashBalanceParamsCashBalanceUpdateParamsin favor ofCustomerUpdateCashBalanceParamsCreditNoteLineItemListParamsin favor ofCreditNoteListLineItemsParamsCustomerBalanceTransactionCreateParamsin favor ofCustomerCreateBalanceTransactionParamsCustomerBalanceTransactionListParamsin favor ofCustomerListBalanceTransactionsParamsCustomerBalanceTransactionRetrieveParamsin favor ofCustomerRetrieveBalanceTransactionParamsCustomerBalanceTransactionUpdateParamsin favor ofCustomerUpdateBalanceTransactionParamsCustomerCashBalanceTransactionListParamsin favor ofCustomerListCashBalanceTransactionsParamsCustomerCashBalanceTransactionRetrieveParamsin favor ofCustomerRetrieveCashBalanceTransactionParamsCustomerSourceCreateParamsin favor ofCustomerCreateSourceParamsCustomerSourceDeleteParamsin favor ofCustomerDeleteSourceParamsCustomerSourceListParamsin favor ofCustomerListSourcesParamsCustomerSourceRetrieveParamsin favor ofCustomerRetrieveSourceParamsCustomerSourceUpdateParamsin favor ofCustomerUpdateSourceParamsCustomerSourceVerifyParamsin favor ofCustomerVerifySourceParamsExternalAccountCreateParamsin favor ofAccountCreateExternalAccountParamsExternalAccountDeleteParamsin favor ofAccountDeleteExternalAccountParamsExternalAccountListParamsin favor ofAccountListExternalAccountsParamsExternalAccountRetrieveParamsin favor ofAccountRetrieveExternalAccountParamsExternalAccountUpdateParamsin favor ofAccountUpdateExternalAccountParamsFeeRefundCreateParamsin favor ofApplicationFeeCreateRefundParamsFeeRefundListParamsin favor ofApplicationFeeListRefundsParamsFeeRefundRetrieveParamsin favor ofApplicationFeeRetrieveRefundParamsFeeRefundUpdateParamsin favor ofApplicationFeeUpdateRefundParamsInvoiceLineItemListParamsin favor ofInvoiceListLineItemsParamsInvoiceLineItemUpdateParamsin favor ofInvoiceUpdateLineItemParamsLoginLinkCreateParamsin favor ofAccountCreateLoginLinkParamsPersonCreateParamsin favor ofAccountCreatePersonParamsPersonDeleteParamsin favor ofAccountDeletePersonParamsPersonListParamsin favor ofAccountListPersonsParamsPersonRetrieveParamsin favor ofAccountRetrievePersonParamsPersonUpdateParamsin favor ofAccountUpdatePersonParamsTransferReversalCreateParamsin favor ofTransferCreateReversalParamsTransferReversalListParamsin favor ofTransferListReversalsParamsTransferReversalRetrieveParamsin favor ofTransferRetrieveReversalParamsTransferReversalUpdateParamsin favor ofTransferUpdateReversalParamsUsageRecordCreateParamsin favor ofSubscriptionItemCreateUsageRecordParamsUsageRecordSummaryListParamsin favor ofSubscriptionItemListUsageRecordSummariesParams