Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate stripe-node with breaking changes #1491

Merged
merged 6 commits into from
Jul 27, 2022

Conversation

kamil-stripe
Copy link
Contributor

@kamil-stripe kamil-stripe commented Jul 26, 2022

Changelog

Changed

  • Change type of business_profile, business_type, country, default_currency, and settings properties on Account resource to be nullable.
  • Change type of currency property on Checkout.Session resource from string to 'cad' | 'usd'.
  • Change location of TypeScript definitions for CreditNoteLineItemListPreviewParams, CreditNoteLineItemListPreviewParams.Line, CreditNoteLineItemListPreviewParams.Line.Type, and CreditNoteLineItemListPreviewParams.Line.Reason interfaces from CreditNoteLineItems.d.ts to CreditNotes.d.ts.
  • Change type of address, currency, delinquent, discount, invoice_prefix, name, phone, and preferred_locales properties on Customer resource to be nullable.
  • Rename InvoiceRetrieveUpcomingParams to InvoiceListUpcomingLinesParams.

Removed

  • Remove treasury.received_credit.reversed webhook event constant. Please use treasury.received_credit.returned instead.
  • Remove retrieveDetails method from Issuing.Card resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
  • Remove Issuing.CardDetails definition.
  • Remove CardRetrieveDetailsParams definition.

@kamil-stripe kamil-stripe changed the title [wip] Generate stripe-node with breaking changes Generate stripe-node with breaking changes Jul 27, 2022
@kamil-stripe kamil-stripe merged commit 2aaa897 into sdk-release/next-major Jul 27, 2022
kamil-stripe added a commit that referenced this pull request Aug 1, 2022
* Delete files that are no longer being generated. (#1478)

* Remove deprecated error definitions (#1489)

* Generate stripe-node with breaking changes (#1491)

* Generate stripe-node with breaking changes

* Update CustomerSource enum

* Generate files

* Fix type in test

* Fix tests

Co-authored-by: Dominic Charley-Roy <[email protected]>
Co-authored-by: pakrym-stripe <[email protected]>
@richardm-stripe richardm-stripe deleted the kamil/override-cleanup branch April 4, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant