Skip to content

Update generated code #1450

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

Merged
merged 6 commits into from
Feb 24, 2025
Merged

Update generated code #1450

merged 6 commits into from
Feb 24, 2025

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Jan 27, 2025

Codegen for openapi v1505.

Changelog

  • Add support for target_date on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccount, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAcssDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount and resource classes stripe.PaymentIntent.PaymentMethodOptions.AcssDebit, stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit, stripe.PaymentIntent.PaymentMethodOptions.BacsDebit, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit, stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount, stripe.checkout.Session.PaymentMethodOptions.AcssDebit, stripe.checkout.Session.PaymentMethodOptions.AuBecsDebit, stripe.checkout.Session.PaymentMethodOptions.BacsDebit, stripe.checkout.Session.PaymentMethodOptions.SepaDebit, and stripe.checkout.Session.PaymentMethodOptions.UsBankAccount
  • Add support for metadata on parameter class stripe.Product.CreateParamsDefaultPriceData
  • Add support for prices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scope
  • Add support for priority on parameter class stripe.billing.CreditGrant.CreateParams and resource stripe.billing.CreditGrant
  • Add support for restrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
  • Add support for collected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Session
  • Change type of price_type on stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope from Literal['metered'] to NotRequired[Literal['metered']]
  • Change type of price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]
  • Add support for 2025-02-24.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version

@stripe-openapi stripe-openapi bot enabled auto-merge (squash) January 27, 2025 20:04
@stripe-openapi stripe-openapi bot requested a review from a team as a code owner February 14, 2025 22:03
@stripe-openapi stripe-openapi bot requested review from jar-stripe and removed request for a team February 14, 2025 22:03
@jar-stripe jar-stripe removed their request for review February 19, 2025 17:33
@stripe-openapi stripe-openapi bot merged commit 5d2eccc into master Feb 24, 2025
15 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-master branch February 24, 2025 22:30
ramya-stripe pushed a commit that referenced this pull request Mar 19, 2025
* upgrade ruff version (#1456)

* upgrade ruff version

* remove old comment

* update comment

* add codeowners file (#1457)

* Remove incorrect changelog entry about parse_snapshot_event (#1461)

* Update generated code (#1450)

* 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 11.6.0

* changed the public test api key to match what is currently published on docs.stripe.com (#1466)

* remove test using soon-to-be-gone endpoint (#1468)

---------

Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
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