- #1293 Update generated code for beta
- Add support for
risk_controls
on parameter classstripe.Account.CreateParams
and resourcestripe.Account
- Add support for
promotion_code
on parameter classesstripe.Invoice.AddLinesParamsLineDiscount
,stripe.Invoice.CreateParamsDiscount
,stripe.Invoice.ModifyParamsDiscount
,stripe.Invoice.UpdateLinesParamsLineDiscount
,stripe.InvoiceItem.CreateParamsDiscount
,stripe.InvoiceItem.ModifyParamsDiscount
,stripe.InvoiceLineItem.ModifyParamsDiscount
,stripe.Quote.CreateParamsDiscount
,stripe.Quote.CreateParamsLineActionAddDiscount
,stripe.Quote.CreateParamsLineItemDiscount
,stripe.Quote.CreateParamsPhaseLineItemDiscount
,stripe.Quote.ModifyParamsDiscount
,stripe.Quote.ModifyParamsLineActionAddDiscount
,stripe.Quote.ModifyParamsLineItemDiscount
, andstripe.Quote.ModifyParamsPhaseLineItemDiscount
- Add support for
zip
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
offline
on resource classstripe.SetupAttempt.PaymentMethodDetails.CardPresent
- Add support for
card_present
on parameter classesstripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
, andstripe.SetupIntent.ModifyParamsPaymentMethodOptions
and resource classstripe.SetupIntent.PaymentMethodOptions
- Add support for
modify
on resourcestripe.entitlements.Feature
- Add support for
email
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
- Add support for
phone
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
- Add support for
verification_flow
on resourcesstripe.identity.VerificationReport
andstripe.identity.VerificationSession
and parameter classstripe.identity.VerificationSession.CreateParams
- Add support for
provided_details
on parameter classesstripe.identity.VerificationSession.CreateParams
andstripe.identity.VerificationSession.ModifyParams
and resourcestripe.identity.VerificationSession
- Add support for
allowed_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
- Add support for
blocked_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
- Change type of field
stripe.checkout.Session.CreateParamsPaymentMethodOptionsSwish
fromLiteral['']|str
tostr
ofreference
- Add support for
verification_flow
on enumsstripe.identity.VerificationReport.type
andstripe.identity.VerificationSession.type
- Add support for
email_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
- Add support for
email_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
- Add support for
phone_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
- Add support for
phone_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
- Add support for
mobile_phone_reader
on enumsstripe.terminal.Reader.device_type
andstripe.terminal.Reader.ListParams.device_type
- Change type of field
stripe.identity.VerificationSession.CreateParams
fromLiteral['document', 'id_number']
toNotRequired[Literal['document', 'id_number']]
oftype
- Change type of fields
stripe.Invoice
,stripe.InvoiceLineItem
,stripe.QuotePreviewInvoice
,stripe.Subscription
, andstripe.SubscriptionItem
fromOptional[List[ExpandableField[Discount]]]
toList[ExpandableField[Discount]]
ofdiscounts
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofdata
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_png
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_svg
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofhosted_instructions_url
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofmobile_auth_url
- Change type of field
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[QrCode]
toQrCode
ofqr_code
- Change type of fields
stripe.QuoteLine.Action.AddItem
,stripe.QuoteLine.Action.SetItem
,stripe.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem
,stripe.QuotePreviewSubscriptionSchedule.Phase.Item
,stripe.QuotePreviewSubscriptionSchedule.Phase
,stripe.SubscriptionSchedule.Phase.AddInvoiceItem
,stripe.SubscriptionSchedule.Phase.Item
, andstripe.SubscriptionSchedule.Phase
fromOptional[List[Discount]]
toList[Discount]
ofdiscounts
- Add support for