-
Notifications
You must be signed in to change notification settings - Fork 446
Update generated code for beta #1509
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
49
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
* Rename beta SDKs to public preview SDKs in readme * Update README.md
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 v1773.
Changelog
billing.MeterErrorReport
,gift_cards.Card
,gift_cards.Transaction
, andprivacy.RedactionJobRootObjects
create
,list
,modify
,retrieve
, andvalidate
methods on resourcegift_cards.Card
cancel
,confirm
,create
,list
,modify
, andretrieve
methods on resourcegift_cards.Transaction
retrieve
method on resourceprivacy.RedactionJobValidationError
migrate
method on resourceSubscription
distance
,pickup_location_name
,return_location_name
, andvehicle_identification_number
onCharge.CaptureParamsPaymentDetailCarRental
,Charge.ModifyParamsPaymentDetailCarRental
,PaymentIntent.CaptureParamsPaymentDetailCarRental
,PaymentIntent.ConfirmParamsPaymentDetailCarRental
,PaymentIntent.CreateParamsPaymentDetailCarRental
,PaymentIntent.ModifyParamsPaymentDetailCarRental
, andPaymentIntent.PaymentDetail.CarRental
driver_identification_number
anddriver_tax_number
onCharge.CaptureParamsPaymentDetailCarRentalDriver
,Charge.ModifyParamsPaymentDetailCarRentalDriver
,PaymentIntent.CaptureParamsPaymentDetailCarRentalDriver
,PaymentIntent.ConfirmParamsPaymentDetailCarRentalDriver
,PaymentIntent.CreateParamsPaymentDetailCarRentalDriver
,PaymentIntent.ModifyParamsPaymentDetailCarRentalDriver
, andPaymentIntent.PaymentDetail.CarRental.Driver
classic
andflexible
on enumsInvoice.CreatePreviewParamsScheduleDetail.billing_mode
,Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode
,Quote.CreateParamsSubscriptionDatum.billing_mode
,Quote.SubscriptionDatum.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.CreateParams.billing_mode
,Subscription.billing_mode
,SubscriptionSchedule.CreateParams.billing_mode
,SubscriptionSchedule.billing_mode
, andcheckout.Session.CreateParamsSubscriptionDatum.billing_mode
credits_attributed_to_debits
andlegacy_prorations
from enumsInvoice.CreatePreviewParamsScheduleDetail.billing_mode
,Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode
,Quote.CreateParamsSubscriptionDatum.billing_mode
,Quote.SubscriptionDatum.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.CreateParams.billing_mode
,Subscription.billing_mode
,SubscriptionSchedule.CreateParams.billing_mode
,SubscriptionSchedule.billing_mode
, andcheckout.Session.CreateParamsSubscriptionDatum.billing_mode
checkout.Session.ModifyParamsLineItem.quantity
fromemptyable(longInteger)
tolongInteger
CreditNote.post_payment_amount
to be requiredCreditNote.pre_payment_amount
to be requiredinstitution
onFinancialConnections.Account
countries
onFinancialConnections.Institution
Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at
,Subscription.CreateParams.cancel_at
, andSubscription.ModifyParams.cancel_at
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
credits
onOrder.CreateParams
,Order.ModifyParams
, andOrder
amount_remaining
onOrder
amount_credit
onOrder.TotalDetail
PaymentAttemptRecord.metadata
andPaymentRecord.metadata
fromnullable(map(string: string))
tomap(string: string)
location
andreader
onPaymentAttemptRecord.PaymentMethodDetail.Affirm
,PaymentAttemptRecord.PaymentMethodDetail.WechatPay
,PaymentRecord.PaymentMethodDetail.Affirm
, andPaymentRecord.PaymentMethodDetail.WechatPay
hooks
onPaymentIntent.CaptureParams
,PaymentIntent.ConfirmParams
,PaymentIntent.CreateParams
,PaymentIntent.DecrementAuthorizationParams
,PaymentIntent.IncrementAuthorizationParams
,PaymentIntent.ModifyParams
, andPaymentIntent
async_workflows
onPaymentIntent.CaptureParams
,PaymentIntent.ConfirmParams
,PaymentIntent.CreateParams
,PaymentIntent.DecrementAuthorizationParams
,PaymentIntent.IncrementAuthorizationParams
,PaymentIntent.ModifyParams
, andPaymentIntent
card_present
onPaymentIntentAmountDetailsLineItem.PaymentMethodOption
PaymentRecord.ReportPaymentAttemptCanceledParams.metadata
,PaymentRecord.ReportPaymentAttemptFailedParams.metadata
,PaymentRecord.ReportPaymentAttemptGuaranteedParams.metadata
,PaymentRecord.ReportPaymentAttemptParams.metadata
, andPaymentRecord.ReportPaymentParams.metadata
frommap(string: string)
toemptyable(map(string: string))
livemode
onPrivacy.RedactionJob
Privacy.RedactionJob.objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
Privacy.RedactionJob.status
fromstring
toenum
Privacy.RedactionJob.validation_behavior
fromstring
toenum('error'|'fix')
Privacy.RedactionJobValidationError.code
fromstring
toenum
Privacy.RedactionJobValidationError.erroring_object
frommap(string: string)
toRedactionResourceErroringObject
provisioning
onProduct.CreateParams
andProduct
billing_thresholds
onQuotePreviewSubscriptionSchedule.DefaultSetting
,QuotePreviewSubscriptionSchedule.Phase.Item
, andQuotePreviewSubscriptionSchedule.Phase
billing_mode_details
onSubscription
tax_transaction_attempts
onTax.Association
status_details
andstatus
onTax.Association
confirm_config
onTerminal.Reader.Action.ConfirmPaymentIntent
andterminal.Reader.ConfirmPaymentIntentParams
billing.meter_error_report.triggered
with resourcebilling.MeterErrorReport
forwarding_api_upstream_error
onQuotePreviewInvoice.LastFinalizationError
gift_card_balance_insufficient
,gift_card_code_exists
, andgift_card_inactive
onQuotePreviewInvoice.LastFinalizationError
andStripeError