Update generated code#1541
Merged
Merged
Conversation
49db462 to
ad0bee7
Compare
ramya-stripe
approved these changes
Jul 30, 2025
ramya-stripe
added a commit
that referenced
this pull request
Aug 27, 2025
* Update generated code for v1868 and 2025-07-30.basil (#1541) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Bump version to 12.4.0 * Introduce V1 namespaces in StripeClient (#1549) * Introduced V1 namespaces * Updated migration guide link * Import available http libraries more efficiently (#1553) * replace import stragety, fix some tests [skip ci] * wip fixing tests [skip ci] * [claude] fix tests * formatting * test cleanup * tests are fast * final cleanup * remove comment * remove accidential files * tweak import logic * Update generated code for v1932 and 2025-08-27.basil (#1544) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> * Trigger CI after workflow update * removed manually maintained RateLimitError class as this is now generated * added private-preview to workflow triggers * removed duplicate ratelimit import --------- Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <ramya@stripe.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Co-authored-by: Michael Broshi <mbroshi@stripe.com> Co-authored-by: Jesse Rosalia <jar@stripe.com>
helenye-stripe
pushed a commit
that referenced
this pull request
Sep 22, 2025
* Update generated code for v1868 and 2025-07-30.basil (#1541) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Bump version to 12.4.0 * Introduce V1 namespaces in StripeClient (#1549) * Introduced V1 namespaces * Updated migration guide link * Import available http libraries more efficiently (#1553) * replace import stragety, fix some tests [skip ci] * wip fixing tests [skip ci] * [claude] fix tests * formatting * test cleanup * tests are fast * final cleanup * remove comment * remove accidential files * tweak import logic * Update generated code for v1932 and 2025-08-27.basil (#1544) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> * Add section on private preview SDKs in readme (#1554) * Bump version to 12.5.0 * Add private-preview branch to CI workflow triggers 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: paginate backwards if `starting_after == None` (#1563) This fixes the case where `starting_after` is present in `_retrieve_params` but is `None` so that the `auto_paging_iter` correctly paginates backwards. closes #1562 * Bump version to 12.5.1 * add support for v2 deleted objects (#1543) * add support for v2 deleted objects * revert event destination return type *⚠️ Build SDK w/ V2 OpenAPI spec (#1565) * generate w/ v2 openapi spec * gen again * gen * Updated stripeclient snippets in Readme.md (#1528) * Don't use mutable default arguments (#1570) * generate default assignments * add mutable args linter and fix errors * type generated args more accurately * only initialize optional params when needed * generate private-preview --------- Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <ramya@stripe.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Co-authored-by: Michael Broshi <mbroshi@stripe.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Ryan Causey <ryan.causey@munipal.io>
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.
Codegen for openapi v1868 and proto spec 2025-07-30.basil.
Changelog
instant_payouts_promotiononAccountSession.ComponentandAccountSession.CreateParamsComponentadjustable_quantityonBillingPortal.Configuration.Feature.SubscriptionUpdate.Product,billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdateProduct, andbilling_portal.Configuration.ModifyParamsFeatureSubscriptionUpdateProductdisabledfrom enumCapability.statustransaction_idonCharge.PaymentMethodDetail.Cashapporigin_contextonCheckout.Sessionandcheckout.Session.CreateParamstemplateonCheckout.Session.InvoiceCreation.InvoiceDatum.RenderingOption,PaymentLink.CreateParamsInvoiceCreationInvoiceDatumRenderingOption,PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption,PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingOption, andcheckout.Session.CreateParamsInvoiceCreationInvoiceDatumRenderingOptionsetup_future_usageonCheckout.Session.PaymentMethodOption.Pixandcheckout.Session.CreateParamsPaymentMethodOptionPixnz_bank_accounton enumcheckout.Session.CreateParams.payment_method_typesIdentity.VerificationSession.RelatedPerson.accountto be requiredIdentity.VerificationSession.RelatedPerson.personto be requireddurationonInvoice.CreatePreviewParamsScheduleDetailPhase,SubscriptionSchedule.CreateParamsPhase, andSubscriptionSchedule.ModifyParamsPhaseInvoice.CreatePreviewParamsSubscriptionDetail.cancel_at,Subscription.CreateParams.cancel_at, andSubscription.ModifyParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end')price_dataonPaymentLink.CreateParamsLineItemPaymentLink.CreateParamsLineItem.priceto be optionalAmerica/Coyhaiqueon enumreporting.ReportRun.CreateParamsParameter.timezonestandardonTax.Registration.CountryOption.Ae,Tax.Registration.CountryOption.Au,Tax.Registration.CountryOption.Ch,Tax.Registration.CountryOption.Gb,Tax.Registration.CountryOption.Jp,Tax.Registration.CountryOption.No,Tax.Registration.CountryOption.Nz,Tax.Registration.CountryOption.Sg,tax.Registration.CreateParamsCountryOptionAe,tax.Registration.CreateParamsCountryOptionAl,tax.Registration.CreateParamsCountryOptionAo,tax.Registration.CreateParamsCountryOptionAu,tax.Registration.CreateParamsCountryOptionAw,tax.Registration.CreateParamsCountryOptionB,tax.Registration.CreateParamsCountryOptionBa,tax.Registration.CreateParamsCountryOptionBb,tax.Registration.CreateParamsCountryOptionBd,tax.Registration.CreateParamsCountryOptionBf,tax.Registration.CreateParamsCountryOptionBh,tax.Registration.CreateParamsCountryOptionCd,tax.Registration.CreateParamsCountryOptionCh,tax.Registration.CreateParamsCountryOptionEt,tax.Registration.CreateParamsCountryOptionGb,tax.Registration.CreateParamsCountryOptionGn,tax.Registration.CreateParamsCountryOptionIs,tax.Registration.CreateParamsCountryOptionJp,tax.Registration.CreateParamsCountryOptionMe,tax.Registration.CreateParamsCountryOptionMk,tax.Registration.CreateParamsCountryOptionMr,tax.Registration.CreateParamsCountryOptionNo,tax.Registration.CreateParamsCountryOptionNz,tax.Registration.CreateParamsCountryOptionOm,tax.Registration.CreateParamsCountryOptionR,tax.Registration.CreateParamsCountryOptionSg,tax.Registration.CreateParamsCountryOptionSr,tax.Registration.CreateParamsCountryOptionUy,tax.Registration.CreateParamsCountryOptionZa, andtax.Registration.CreateParamsCountryOptionZwinbound_goodson enumsTax.Registration.CountryOption.At.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Be.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Bg.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Cy.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Cz.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.De.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Dk.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.E.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Ee.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Fi.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Fr.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Gr.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Hr.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Hu.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Ie.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.It.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Lt.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Lu.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Lv.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Mt.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Nl.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Pl.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Pt.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Ro.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Se.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Si.Standard.place_of_supply_scheme,Tax.Registration.CountryOption.Sk.Standard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionAtStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionBeStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionBgStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionCyStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionCzStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionDeStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionDkStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionEStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionEeStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionFiStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionFrStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionGrStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionHrStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionHuStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionIeStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionItStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionLtStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionLuStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionLvStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionMtStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionNlStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionPlStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionPtStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionRoStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionSeStandard.place_of_supply_scheme,tax.Registration.CreateParamsCountryOptionSiStandard.place_of_supply_scheme, andtax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_schemeaed,bgn,huf, andrononTerminal.Configuration.Tipping,terminal.Configuration.CreateParamsTipping, andterminal.Configuration.ModifyParamsTipping2025-07-30.basilon enumWebhookEndpoint.CreateParams.api_version