-
Notifications
You must be signed in to change notification settings - Fork 451
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
stripe-openapi
wants to merge
31
commits into
beta
Choose a base branch
from
latest-codegen-beta
base: beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
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 v1855 and proto spec 2025-07-30.preview.
Changelog
billing.MeterUsageRow
,billing.MeterUsage
,sigma.Schema
, andterminal.OnboardingLink
retrieve
method on resourcebilling.MeterUsage
list
method on resourcesigma.Schema
create
method on resourceterminal.OnboardingLink
delay_days_override
onBalanceSettings.ModifyParamsSettlementTiming
delay_days
onBalanceSettings.ModifyParamsSettlementTiming
disabled
from enumCapability.status
transaction_id
onCharge.PaymentMethodDetail.Cashapp
,PaymentAttemptRecord.PaymentMethodDetail.Cashapp
, andPaymentRecord.PaymentMethodDetail.Cashapp
origin_context
onCheckout.Session
andcheckout.Session.CreateParams
setup_future_usage
onCheckout.Session.PaymentMethodOption.Pix
andcheckout.Session.CreateParamsPaymentMethodOptionPix
update_discounts
oncheckout.Session.CreateParamsPermission
discounts
andsubscription_data
oncheckout.Session.ModifyParams
smart_disputes
onDispute
Identity.VerificationSession.RelatedPerson.account
to be requiredIdentity.VerificationSession.RelatedPerson.person
to be requiredupi
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
duration
onInvoice.CreatePreviewParamsScheduleDetailPhase
,SubscriptionSchedule.CreateParamsPhase
, andSubscriptionSchedule.ModifyParamsPhase
amount_details
onPaymentIntent.CaptureParams
,PaymentIntent.ConfirmParams
,PaymentIntent.CreateParams
, andPaymentIntent.ModifyParams
price_data
onPaymentLink.CreateParamsLineItem
PaymentLink.CreateParamsLineItem.price
to be optionalAmerica/Coyhaique
on enumreporting.ReportRun.CreateParamsParameter.timezone
standard
onTax.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.CreateParamsCountryOptionZw
inbound_goods
on 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_scheme
bank_account_type
onV2.MoneyManagement.PayoutMethod.BankAccount
V2MoneyManagementPayoutMethodUpdatedEvent
with related objectv2.money_management.PayoutMethod
V2OffSessionPaymentRequiresCaptureEvent
with related objectv2.payments.OffSessionPayment