Skip to content

Update generated code for beta #1535

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

Open
wants to merge 31 commits into
base: beta
Choose a base branch
from
Open

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Jul 2, 2025

Codegen for openapi v1855 and proto spec 2025-07-30.preview.

Changelog

  • Add support for new resources billing.MeterUsageRow, billing.MeterUsage, sigma.Schema, and terminal.OnboardingLink
  • Add support for retrieve method on resource billing.MeterUsage
  • Add support for list method on resource sigma.Schema
  • Add support for create method on resource terminal.OnboardingLink
  • Add support for delay_days_override on BalanceSettings.ModifyParamsSettlementTiming
  • Remove support for delay_days on BalanceSettings.ModifyParamsSettlementTiming
  • Remove support for value disabled from enum Capability.status
  • Add support for transaction_id on Charge.PaymentMethodDetail.Cashapp, PaymentAttemptRecord.PaymentMethodDetail.Cashapp, and PaymentRecord.PaymentMethodDetail.Cashapp
  • Add support for origin_context on Checkout.Session and checkout.Session.CreateParams
  • Add support for setup_future_usage on Checkout.Session.PaymentMethodOption.Pix and checkout.Session.CreateParamsPaymentMethodOptionPix
  • Add support for update_discounts on checkout.Session.CreateParamsPermission
  • Add support for discounts and subscription_data on checkout.Session.ModifyParams
  • Add support for smart_disputes on Dispute
  • Change Identity.VerificationSession.RelatedPerson.account to be required
  • Change Identity.VerificationSession.RelatedPerson.person to be required
  • Add support for upi on Invoice.CreateParamsPaymentSettingPaymentMethodOption, Invoice.ModifyParamsPaymentSettingPaymentMethodOption, Invoice.PaymentSetting.PaymentMethodOption, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption, Subscription.CreateParamsPaymentSettingPaymentMethodOption, Subscription.ModifyParamsPaymentSettingPaymentMethodOption, and Subscription.PaymentSetting.PaymentMethodOption
  • Add support for new value upi on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.ModifyParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.ModifyParamsPaymentSetting.payment_method_types, and Subscription.PaymentSetting.payment_method_types
  • Add support for duration on Invoice.CreatePreviewParamsScheduleDetailPhase, SubscriptionSchedule.CreateParamsPhase, and SubscriptionSchedule.ModifyParamsPhase
  • Add support for amount_details on PaymentIntent.CaptureParams, PaymentIntent.ConfirmParams, PaymentIntent.CreateParams, and PaymentIntent.ModifyParams
  • Add support for price_data on PaymentLink.CreateParamsLineItem
  • Change PaymentLink.CreateParamsLineItem.price to be optional
  • Add support for new value America/Coyhaique on enum reporting.ReportRun.CreateParamsParameter.timezone
  • Add support for standard on Tax.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, and tax.Registration.CreateParamsCountryOptionZw
  • Add support for new value inbound_goods on enums Tax.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, and tax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_scheme
  • Add support for bank_account_type on V2.MoneyManagement.PayoutMethod.BankAccount
  • Add support for thin event V2MoneyManagementPayoutMethodUpdatedEvent with related object v2.money_management.PayoutMethod
  • Remove support for thin event V2OffSessionPaymentRequiresCaptureEvent with related object v2.payments.OffSessionPayment

stripe-openapi bot and others added 3 commits July 1, 2025 20:07
* Update generated code for v1789 and 2025-05-28.basil

* Update generated code for v1789 and 2025-05-28.basil

* Update generated code for v1796 and 2025-05-28.basil

* Update generated code for v1800 and 2025-05-28.basil

* Removed generated deprecated method

* Ignore deprecated import

* Update generated code for v1819 and 2025-06-30.basil

* Update generated code for v1819 and 2025-06-30.basil

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
@stripe-openapi stripe-openapi bot requested a review from a team as a code owner July 2, 2025 13:42
@stripe-openapi stripe-openapi bot requested review from xavdid-stripe and removed request for a team July 2, 2025 13:42
@stripe-openapi stripe-openapi bot enabled auto-merge July 2, 2025 13:42
stripe-openapi bot and others added 23 commits July 7, 2025 16:13
The `RequestsClient`'s `__init__` method incorrectly typed the `timeout`
parameter as `int`. The underlying `requests` library accepts a float
for a total timeout or a `(connect_timeout, read_timeout)` tuple.

This commit updates the type hint to `Union[float, Tuple[float, float]]`
to accurately reflect the timeout in the requests library.

https://github.com/psf/requests/blob/91a3eabd3dcc4d7f36dd8249e4777a90ef9b4305/src/requests/sessions.py#L538
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy