-
Notifications
You must be signed in to change notification settings - Fork 455
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
Merged
Merged
Conversation
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
* 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>
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
ramya-stripe
approved these changes
Jul 30, 2025
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.preview.
Changelog
billing.MeterUsageRow
,billing.MeterUsage
, andterminal.OnboardingLink
retrieve
method on resourcebilling.MeterUsage
create
method on resourceterminal.OnboardingLink
monthly_payout_days
andweekly_payout_days
onBalanceSettings.ModifyParamsPayoutSchedule
andBalanceSettings.Payout.Schedule
monthly_anchor
andweekly_anchor
onBalanceSettings.ModifyParamsPayoutSchedule
andBalanceSettings.Payout.Schedule
delay_days_override
onBalanceSettings.ModifyParamsSettlementTiming
delay_days
onBalanceSettings.ModifyParamsSettlementTiming
update_discounts
oncheckout.Session.CreateParamsPermission
discounts
andsubscription_data
oncheckout.Session.ModifyParams
smart_disputes
onDispute
upi
onInvoice.CreateParamsPaymentSettingPaymentMethodOption
,Invoice.ModifyParamsPaymentSettingPaymentMethodOption
,Invoice.PaymentSetting.PaymentMethodOption
,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption
,Subscription.CreateParamsPaymentSettingPaymentMethodOption
,Subscription.ModifyParamsPaymentSettingPaymentMethodOption
, andSubscription.PaymentSetting.PaymentMethodOption
upi
on enumsInvoice.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
, andSubscription.PaymentSetting.payment_method_types
transaction_id
onPaymentAttemptRecord.PaymentMethodDetail.Cashapp
andPaymentRecord.PaymentMethodDetail.Cashapp
amount_details
onPaymentIntent.CaptureParams
,PaymentIntent.ConfirmParams
,PaymentIntent.CreateParams
,PaymentIntent.IncrementAuthorizationParams
, andPaymentIntent.ModifyParams
payment_details
onPaymentIntent.IncrementAuthorizationParams
storer
onV2.Core.Account.Identity.Attestation.TermsOfService
,v2.core.Account.CreateParamsIdentityAttestationTermsOfService
, andv2.core.Account.ModifyParamsIdentityAttestationTermsOfService
collection_options
onV2.Core.AccountLink.UseCase.AccountOnboarding
,V2.Core.AccountLink.UseCase.AccountUpdate
,v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding
, andv2.core.AccountLink.CreateParamsUseCaseAccountUpdate
V2.Core.AccountLink.UseCase.AccountOnboarding.configurations
,V2.Core.AccountLink.UseCase.AccountUpdate.configurations
,v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding.configurations
, andv2.core.AccountLink.CreateParamsUseCaseAccountUpdate.configurations
fromliteral('recipient')
toenum('customer'|'merchant'|'recipient'|'storer')
bank_account_type
onV2.MoneyManagement.PayoutMethod.BankAccount
V2CoreAccountLinkReturnedEvent
V2MoneyManagementPayoutMethodUpdatedEvent
with related objectv2.money_management.PayoutMethod
V2CoreAccountLinkCompletedEvent
V2OffSessionPaymentRequiresCaptureEvent
with related objectv2.payments.OffSessionPayment