Skip to content
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 #2072

Merged
merged 14 commits into from May 2, 2024
Merged

Update generated code #2072

merged 14 commits into from May 2, 2024

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Apr 26, 2024

Codegen for openapi v1008.

Changelog

  • Add support for new value shipping_address_invalid on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
  • Fix properties incorrectly marked as required in the OpenAPI spec.
    • Change Apps.Secret.payload, BillingPortal.Configuration.features.subscription_update.products, Charge.refunds, ConfirmationToken.payment_method_preview.klarna.dob, Identity.VerificationReport.document.dob, Identity.VerificationReport.document.expiration_date, Identity.VerificationReport.document.number, Identity.VerificationReport.id_number.dob, Identity.VerificationReport.id_number.id_number, Identity.VerificationSession.provided_details, Identity.VerificationSession.verified_outputs.dob, Identity.VerificationSession.verified_outputs.id_number, Identity.VerificationSession.verified_outputs, Issuing.Dispute.balance_transactions, Issuing.Transaction.purchase_details, PaymentMethod.klarna.dob, Tax.Calculation.line_items, Tax.CalculationLineItem.tax_breakdown, Tax.Transaction.line_items, Treasury.FinancialAccount.financial_addresses[].aba.account_number, Treasury.ReceivedCredit.linked_flows.source_flow_details, Treasury.Transaction.entries, Treasury.Transaction.flow_details, and Treasury.TransactionEntry.flow_details to be optional
  • Add support for paypal on Dispute.payment_method_details
  • Change type of Dispute.payment_method_details.type from literal('card') to enum('card'|'paypal')
  • Change type of Entitlements.FeatureUpdateParams.metadata from map(string: string) to emptyable(map(string: string))
  • Add support for payment_method_types on PaymentIntentConfirmParams
  • Add support for ship_from_details on Tax.CalculationCreateParams, Tax.Calculation, and Tax.Transaction
  • Add support for bh, eg, ge, ke, kz, ng, and om on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options

@stripe-openapi stripe-openapi bot enabled auto-merge (squash) April 26, 2024 10:40
@stripe-openapi stripe-openapi bot merged commit ae8f2c0 into master May 2, 2024
8 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-master branch May 2, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant