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

API Updates for beta branch #1653

Merged
merged 7 commits into from
Jan 12, 2023
Merged

API Updates for beta branch #1653

merged 7 commits into from
Jan 12, 2023

Conversation

richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Jan 12, 2023

Codegen for openapi v218.
cc @stripe/api-libraries

Changelog

  • Updated stable APIs to the latest version

  • Add support for new resource Tax.Registration

  • Add support for create, list, and update methods on resource Registration

  • Add support for controller on AccountCreateParams and AccountUpdateParams

  • Add support for application and dashboard on Account.controller

  • Change type of Quote.subscription_data_overrides[].proration_behavior from enum('always_invoice'|'create_prorations'|'none') to enum('always_invoice'|'create_prorations'|'none') | null

  • Remove support for timestamp on QuoteLine.actions[].add_discount.discount_end

  • Change type of QuoteLine.actions[].add_discount.discount_end.type from literal('timestamp') to literal('line_ends_at')

  • Remove support for index on QuoteLine.actions[].add_item.discounts[], QuoteLine.actions[].remove_discount, QuoteLine.actions[].set_discounts[], QuoteLine.actions[].set_items[].discounts[], SubscriptionSchedule.phases[].add_invoice_items[].discounts[], SubscriptionSchedule.phases[].discounts[], and SubscriptionSchedule.phases[].items[].discounts[]

  • Change QuoteLine.actions[].add_discount.index to be required

  • Add support for new values quote.accepting, quote.reestimated, and quote.stale on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

  • Change quote.draft_quote implementation from hitting POST /v1/quotes/{quote}/draft to POST /v1/quotes/{quote}/mark_draft

dependabot bot and others added 7 commits January 5, 2023 19:26
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
* [wip]

* Passes tests, uploads files

* Clean up

* instanceof Uint8Array in flattenAndStringify

* Add webhook test

* reviewer comments pt. 1

* Add tests for Uint8Array

* add type to push(l)

* Reviewer comments round 2

* Update WebhookHeader and WebhookPayload types
@richardm-stripe richardm-stripe merged commit 09c7bdc into beta Jan 12, 2023
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.

3 participants