-
Notifications
You must be signed in to change notification settings - Fork 441
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
Update generated code for beta #1455
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 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
* upgrade ruff version * remove old comment * update comment
* 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 <[email protected]>
…on docs.stripe.com (#1466)
03fac8d
to
d04ca8b
Compare
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 v1565.
Changelog
succeed_input_collection
andtimeout_input_collection
test helper methods on resourceTerminal.Reader
hosted_payment_method_save
onAccount.Setting.Invoice
andAccount.UpdateParamsSettingInvoice
invoices
onAccount.CreateParamsSetting
Account.RiskControl.rejected_reason
fromenum
tonullable(enum)
setup_intent_mobile_wallet_unsupported
on enumsInvoice.LastFinalizationError
,PaymentIntent.LastPaymentError
,QuotePreviewInvoice.LastFinalizationError
,SetupAttempt.SetupError
,SetupIntent.LastSetupError
, andStripeError
shipping_details
onCheckoutSession
carrier
,phone
, andtracking_number
onCheckoutSession.CollectedInformation.ShippingDetail
CheckoutSession.CollectedInformation.shipping_details
to be requiredCheckoutSession.CollectedInformation.ShippingDetail.address
to be requiredCheckoutSession.CollectedInformation.ShippingDetail.name
to be requiredtax_amounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
amount_excluding_tax
andunit_amount_excluding_tax
onCreditNoteLineItem
andInvoiceLineItem
checkout_session_subscription_payment_canceled
andcheckout_session_subscription_payment
on enumCustomerBalanceTransaction
coupon
onInvoice.CreatePreviewParamsScheduleDetailPhase
,Invoice.CreatePreviewParams
,Invoice.UpcomingLinesParamsScheduleDetailPhase
,Invoice.UpcomingLinesParams
,Invoice.UpcomingParamsScheduleDetailPhase
,Invoice.UpcomingParams
,QuotePreviewSubscriptionSchedule.Phase
,Subscription.CreateParams
,Subscription.UpdateParams
,SubscriptionSchedule.CreateParamsPhase
,SubscriptionSchedule.Phase
, andSubscriptionSchedule.UpdateParamsPhase
discount
onInvoice
,QuotePreviewInvoice
, andSubscription
plan
andprice
onInvoiceItem
andInvoiceLineItem
tax_rates
onInvoiceLineItem
unit_amount_decimal
andunit_amount
onInvoiceItem
network_data
onIssuingDisputeSettlementDetail
interchange_fees_amount
,net_total_amount
,network_fees_amount
,other_fees_amount
,other_fees_count
, andtransaction_amount
onIssuingSettlement
interchange_fees
,net_total
,network_fees
, andtransaction_volume
onIssuingSettlement
target_date
onOrder.CreateParamsPaymentSettingPaymentMethodOptionAcssDebit
,Order.CreateParamsPaymentSettingPaymentMethodOptionSepaDebit
,Order.Payment.Setting.PaymentMethodOption.AcssDebit
,Order.Payment.Setting.PaymentMethodOption.SepaDebit
,Order.UpdateParamsPaymentSettingPaymentMethodOptionAcssDebit
, andOrder.UpdateParamsPaymentSettingPaymentMethodOptionSepaDebit
Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client
,Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client
,PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client
,PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client
, andPaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client
to be optionalreported_by
onPaymentAttemptRecord
ach_credit_transfer
,ach_debit
,acss_debit
,affirm
,afterpay_clearpay
,alipay
,alma
,amazon_pay
,au_becs_debit
,bacs_debit
,bancontact
,blik
,boleto
,card_present
,card
,cashapp
,customer_balance
,eps
,fpx
,giropay
,gopay
,grabpay
,id_bank_transfer
,ideal
,interac_present
,kakao_pay
,klarna
,konbini
,kr_card
,link
,mb_way
,mobilepay
,multibanco
,naver_pay
,oxxo
,p24
,pay_by_bank
,payco
,paynow
,paypal
,payto
,pix
,promptpay
,qris
,rechnung
,revolut_pay
,samsung_pay
,sepa_credit_transfer
,sepa_debit
,shopeepay
,sofort
,stripe_account
,swish
,twint
,us_bank_account
,wechat_pay
,wechat
, andzip
onPaymentAttemptRecord.PaymentMethodDetail
andPaymentRecord.PaymentMethodDetail
PaymentAttemptRecord.PaymentMethodDetail.custom
andPaymentRecord.PaymentMethodDetail.custom
fromnullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodDetailsResourceCustomDetails)
toPaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
PaymentAttemptRecord.PaymentMethodDetail.type
andPaymentRecord.PaymentMethodDetail.type
fromliteral('custom')
tostring
PaymentAttemptRecord.payment_record
fromstring
tonullable(string)
PaymentAttemptRecord.PaymentMethodDetail.custom
andPaymentRecord.PaymentMethodDetail.custom
to be optionaldefault_value
onPaymentLink.CreateParamsCustomFieldDropdown
,PaymentLink.CreateParamsCustomFieldNumeric
,PaymentLink.CreateParamsCustomFieldText
,PaymentLink.CustomField.Dropdown
,PaymentLink.CustomField.Numeric
,PaymentLink.CustomField.Text
,PaymentLink.UpdateParamsCustomFieldDropdown
,PaymentLink.UpdateParamsCustomFieldNumeric
, andPaymentLink.UpdateParamsCustomFieldText
PaymentRecord.ReportPaymentParams.payment_reference
to be optionalPaymentRecord.latest_payment_attempt_record
fromstring
tonullable(string)
cancel_at_period_end
onSubscription.CreateParams
,Subscription.UpdateParams
, andSubscription
promotion_code
onSubscription.CreateParams
andSubscription.UpdateParams
wifi
onTerminalConfiguration
,terminal.Configuration.CreateParams
, andterminal.Configuration.UpdateParams