-
Notifications
You must be signed in to change notification settings - Fork 365
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 #1947
Open
stripe-openapi
wants to merge
40
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
* Update generated code for v1441 * Update generated code for v1455 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: helenye-stripe <[email protected]>
* construct fake response during webhook parsing * formatting
compat is failing due to override to change type back. I am not too concerned |
* 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]>
This reverts commit 1444581.
4430b28
to
76da3a4
Compare
…1958) * removed test that expected error when setting context on v1 request * added support for StripeAccount in StripeClient builder (#1952) removed v1 limitation on using StripeContext --------- Co-authored-by: Jesse Rosalia <[email protected]>
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 v1612.
Changelog
SubscriptionItemUsageRecordSummary
andSubscriptionItemUsageRecord
create
method on resourceSubscriptionItemUsageRecord
list
method on resourceSubscriptionItemUsageRecordSummary
upcomingLines
andupcoming
methods on resourceInvoice
billiePayments
andsatispayPayments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
hostedPaymentMethodSave
onAccount.settings.invoices
andAccountUpdateParams.settings.invoices
invoices
onAccountCreateParams.settings
last
on enumbilling.MeterCreateParams.default_aggregation.formula
presentmentDetails
onCharge
,Checkout.Session
,PaymentIntent
, andRefund
invoice
onCharge
andPaymentIntent
billie
andsatispay
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,CustomerPaymentMethod
,PaymentAttemptRecord.payment_method_details
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,PaymentRecord.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
nzBankAccount
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,CustomerPaymentMethod
,Mandate.payment_method_details
,PaymentAttemptRecord.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,PaymentRecord.payment_method_details
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
optionalItems
onCheckout.Session
,PaymentLinkCreateParams
,PaymentLink
, andcheckout.SessionCreateParams
billie
andsatispay
on enumcheckout.SessionCreateParams.paymentMethodTypes
updateShippingDetails
onCheckout.Session.permissions
andcheckout.SessionCreateParams.permissions
shippingDetails
onCheckout.Session
carrier
,phone
, andtrackingNumber
onCheckout.Session.collected_information.shipping_details
billie
,nz_bank_account
, andsatispay
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
buyerId
onConfirmationToken.payment_method_preview.naver_pay
,CustomerPaymentMethod.naver_pay
, andPaymentMethod.naver_pay
durationInMonths
onCouponCreateParams
repeating
andvariable
from enumCouponCreateParams.duration
refund
onCreditNoteCreateParams
,CreditNotePreviewLinesListParams
,CreditNotePreviewParams
, andCreditNote
totalTaxes
onCreditNote
,Invoice
, andQuotePreviewInvoice
taxAmounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
taxes
onCreditNoteLineItem
andInvoiceLineItem
amountExcludingTax
andunitAmountExcludingTax
onCreditNoteLineItem
andInvoiceLineItem
coupon
onCustomerCreateParams
,CustomerUpdateParams
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams
,QuotePreviewSubscriptionSchedule.phases[]
,SubscriptionCreateParams
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[]
, andSubscriptionUpdateParams
promotionCode
onCustomerCreateParams
,CustomerUpdateParams
,SubscriptionCreateParams
, andSubscriptionUpdateParams
checkoutSession
onCustomerBalanceTransaction
billie
,nz_bank_account
, andsatispay
on enumsCustomerPaymentMethodListParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
klarna
andnz_bank_account
on enumsInvoiceCreateParams.payment_settings.paymentMethodTypes
,InvoiceUpdateParams.payment_settings.paymentMethodTypes
,SubscriptionCreateParams.payment_settings.paymentMethodTypes
, andSubscriptionUpdateParams.payment_settings.paymentMethodTypes
pricing
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]
price
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]
taxabilityReason
onInvoiceAddLinesParams.lines[].tax_amounts[]
,InvoiceLineItemUpdateParams.tax_amounts[]
, andInvoiceUpdateLinesParams.lines[].tax_amounts[]
jurisdictionLevel
onInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data
,InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data
, andInvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data
billingThresholds
onInvoiceCreatePreviewParams.schedule_details.phases[].items[]
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams.subscription_details.items[]
,QuotePreviewSubscriptionSchedule.default_settings
,QuotePreviewSubscriptionSchedule.phases[].items[]
,QuotePreviewSubscriptionSchedule.phases[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
cancelAtPeriodEnd
onInvoiceCreatePreviewParams.subscription_details
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
InvoiceCreatePreviewParams.subscription_details.cancelAt
,SubscriptionCreateParams.cancelAt
, andSubscriptionUpdateParams.cancelAt
fromDateTime
toDateTime | literal('min_period_end')
parent
onInvoiceItem
,InvoiceLineItem
,Invoice
, andQuotePreviewInvoice
applicationFeeAmount
,paidOutOfBand
,paid
,paymentIntent
,quote
,subscriptionDetails
,subscriptionProrationDate
,tax
,totalTaxAmounts
, andtransferData
onInvoice
andQuotePreviewInvoice
charge
onInvoice
discount
onInvoice
,QuotePreviewInvoice
, andSubscription
amountOverpaid
onInvoicePayment
invoiceItem
,prorationDetails
,proration
,taxRates
, andtype
onInvoiceLineItem
plan
andsubscriptionItem
onInvoiceItem
andInvoiceLineItem
unitAmount
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
, andInvoiceItem
subscription
andunitAmountDecimal
onInvoiceItem
expired
on enumissuing.AuthorizationListParams.status
networkData
onIssuing.DisputeSettlementDetail
interchangeFeesAmount
,netTotalAmount
,networkFeesAmount
,otherFeesAmount
,otherFeesCount
, andtransactionAmount
onIssuing.Settlement
interchangeFees
,netTotal
,networkFees
, andtransactionVolume
onIssuing.Settlement
naverPay
onMandate.payment_method_details
,PaymentAttemptRecord.payment_method_details
,PaymentRecord.payment_method_details
, andSetupAttempt.payment_method_details
OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client
,OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.client
,PaymentIntentConfirmParams.payment_method_options.wechat_pay.client
,PaymentIntentCreateParams.payment_method_options.wechat_pay.client
, andPaymentIntentUpdateParams.payment_method_options.wechat_pay.client
to be optionalreportedBy
onPaymentAttemptRecord
achCreditTransfer
,achDebit
,acssDebit
,affirm
,afterpayClearpay
,alipay
,alma
,amazonPay
,auBecsDebit
,bacsDebit
,bancontact
,blik
,boleto
,cardPresent
,card
,cashapp
,customerBalance
,eps
,fpx
,giropay
,gopay
,grabpay
,idBankTransfer
,ideal
,interacPresent
,kakaoPay
,klarna
,konbini
,krCard
,link
,mbWay
,mobilepay
,multibanco
,oxxo
,p24
,payByBank
,payco
,paynow
,paypal
,payto
,pix
,promptpay
,qris
,rechnung
,revolutPay
,samsungPay
,sepaCreditTransfer
,sepaDebit
,shopeepay
,sofort
,stripeAccount
,swish
,twint
,usBankAccount
,wechatPay
,wechat
, andzip
onPaymentAttemptRecord.payment_method_details
andPaymentRecord.payment_method_details
PaymentAttemptRecord.payment_method_details.type
andPaymentRecord.payment_method_details.type
fromliteral('custom')
tostring
setupFutureUsage
onPaymentIntent.payment_method_options.naver_pay
,PaymentIntentConfirmParams.payment_method_options.naver_pay
,PaymentIntentCreateParams.payment_method_options.naver_pay
, andPaymentIntentUpdateParams.payment_method_options.naver_pay
defaultValue
onPaymentLink.custom_fields[].dropdown
,PaymentLink.custom_fields[].numeric
,PaymentLink.custom_fields[].text
,PaymentLinkCreateParams.custom_fields[].dropdown
,PaymentLinkCreateParams.custom_fields[].numeric
,PaymentLinkCreateParams.custom_fields[].text
,PaymentLinkUpdateParams.custom_fields[].dropdown
,PaymentLinkUpdateParams.custom_fields[].numeric
, andPaymentLinkUpdateParams.custom_fields[].text
billie
andsatispay
on enumsPaymentLinkCreateParams.paymentMethodTypes
andPaymentLinkUpdateParams.paymentMethodTypes
naverPay
onPaymentMethodUpdateParams
PaymentRecordReportPaymentParams.paymentReference
to be optionalpayoutMethod
onPayoutCreateParams
andPayout
aggregateUsage
onPlanCreateParams
,Plan
,Price.recurring
, andPriceCreateParams.recurring
nzBankTransfer
onRefund.destination_details
currentPeriodEnd
andcurrentPeriodStart
onSubscription
currentPeriodEnd
andcurrentPeriodStart
onSubscriptionItem
wifi
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
2025-03-01.dashboard
and2025-03-31.basil
on enumWebhookEndpointCreateParams.apiVersion