Skip to content

Update generated code for beta #2324

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

Merged
merged 41 commits into from
May 27, 2025
Merged

Update generated code for beta #2324

merged 41 commits into from
May 27, 2025

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented May 1, 2025

Codegen for openapi v1773.

Changelog

  • Remove support for resources Billing.MeterErrorReport, GiftCards.Card, and GiftCards.Transaction
  • Remove support for create, list, retrieve, update, and validate methods on resource GiftCards.Card
  • Remove support for cancel, confirm, create, list, retrieve, and update methods on resource GiftCards.Transaction
  • Remove support for retrieve method on resource Privacy.RedactionJobValidationError
  • Add support for migrate method on resource Subscription
  • Add support for distance, pickup_location_name, return_location_name, and vehicle_identification_number on ChargeCaptureParams.payment_details.car_rental, ChargeUpdateParams.payment_details.car_rental, PaymentIntent.payment_details.car_rental, PaymentIntentCaptureParams.payment_details.car_rental, PaymentIntentConfirmParams.payment_details.car_rental, PaymentIntentCreateParams.payment_details.car_rental, and PaymentIntentUpdateParams.payment_details.car_rental
  • Add support for driver_identification_number and driver_tax_number on ChargeCaptureParams.payment_details.car_rental.drivers[], ChargeUpdateParams.payment_details.car_rental.drivers[], PaymentIntent.payment_details.car_rental.drivers[], PaymentIntentCaptureParams.payment_details.car_rental.drivers[], PaymentIntentConfirmParams.payment_details.car_rental.drivers[], PaymentIntentCreateParams.payment_details.car_rental.drivers[], and PaymentIntentUpdateParams.payment_details.car_rental.drivers[]
  • Add support for new values classic and flexible on enums Checkout.SessionCreateParams.subscription_data.billing_mode, InvoiceCreatePreviewParams.schedule_details.billing_mode, InvoiceCreatePreviewParams.subscription_details.billing_mode, Quote.subscription_data.billing_mode, QuoteCreateParams.subscription_data.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, SubscriptionCreateParams.billing_mode, SubscriptionSchedule.billing_mode, and SubscriptionScheduleCreateParams.billing_mode
  • Remove support for values credits_attributed_to_debits and legacy_prorations from enums Checkout.SessionCreateParams.subscription_data.billing_mode, InvoiceCreatePreviewParams.schedule_details.billing_mode, InvoiceCreatePreviewParams.subscription_details.billing_mode, Quote.subscription_data.billing_mode, QuoteCreateParams.subscription_data.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, SubscriptionCreateParams.billing_mode, SubscriptionSchedule.billing_mode, and SubscriptionScheduleCreateParams.billing_mode
  • Change type of Checkout.SessionUpdateParams.line_items[].quantity from emptyable(longInteger) to longInteger
  • Change CreditNote.post_payment_amount to be required
  • Change CreditNote.pre_payment_amount to be required
  • Add support for institution on FinancialConnections.Account
  • Add support for countries on FinancialConnections.Institution
  • Change type of InvoiceCreatePreviewParams.subscription_details.cancel_at, SubscriptionCreateParams.cancel_at, and SubscriptionUpdateParams.cancel_at from DateTime to DateTime | enum('max_period_end'|'min_period_end')
  • Remove support for credits on OrderCreateParams, OrderUpdateParams, and Order
  • Remove support for amount_remaining on Order
  • Remove support for amount_credit on Order.total_details
  • Change type of PaymentAttemptRecord.metadata and PaymentRecord.metadata from map(string: string) | null to map(string: string)
  • Add support for location and reader on PaymentAttemptRecord.payment_method_details.affirm, PaymentAttemptRecord.payment_method_details.wechat_pay, PaymentRecord.payment_method_details.affirm, and PaymentRecord.payment_method_details.wechat_pay
  • Add support for hooks on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntent
  • Remove support for async_workflows on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntent
  • Add support for card_present on PaymentIntentAmountDetailsLineItem.payment_method_options
  • Change type of PaymentRecordReportPaymentAttemptCanceledParams.metadata, PaymentRecordReportPaymentAttemptFailedParams.metadata, PaymentRecordReportPaymentAttemptGuaranteedParams.metadata, PaymentRecordReportPaymentAttemptParams.metadata, and PaymentRecordReportPaymentParams.metadata from map(string: string) to emptyable(map(string: string))
  • Add support for livemode on Privacy.RedactionJob
  • Change type of Privacy.RedactionJob.status from string to enum
  • Change type of Privacy.RedactionJob.validation_behavior from string to enum('error'|'fix')
  • Change type of Privacy.RedactionJobValidationError.code from string to enum
  • Change type of Privacy.RedactionJobValidationError.erroring_object from map(string: string) to RedactionResourceErroringObject
  • Remove support for provisioning on ProductCreateParams and Product
  • Add support for billing_thresholds on QuotePreviewSubscriptionSchedule.default_settings, QuotePreviewSubscriptionSchedule.phases[].items[], and QuotePreviewSubscriptionSchedule.phases[]
  • Add support for billing_mode_details on Subscription
  • Add support for tax_transaction_attempts on Tax.Association
  • Remove support for status_details and status on Tax.Association
  • Add support for confirm_config on Terminal.Reader.action.confirm_payment_intent and Terminal.ReaderConfirmPaymentIntentParams
  • Remove support for snapshot event BillingMeterErrorReportTriggeredEvent with resource Billing.MeterErrorReport
  • Add support for error code forwarding_api_upstream_error on QuotePreviewInvoice.last_finalization_error
  • Remove support for error codes gift_card_balance_insufficient, gift_card_code_exists, and gift_card_inactive on QuotePreviewInvoice.last_finalization_error and StripeError

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner May 1, 2025 23:16
@stripe-openapi stripe-openapi bot requested review from mbroshi-stripe and removed request for a team May 1, 2025 23:16
@stripe-openapi stripe-openapi bot enabled auto-merge May 1, 2025 23:16
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-beta branch from 6d54ae7 to 0d9cab6 Compare May 7, 2025 18:31
@stripe-openapi stripe-openapi bot merged commit 636a972 into beta May 27, 2025
9 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch May 27, 2025 20:42
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.

2 participants