Skip to content

Update generated code for beta #2060

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 55 commits into from
May 27, 2025
Merged

Update generated code for beta #2060

merged 55 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 BillingMeterErrorReport, GiftCardsCard, GiftCardsTransaction, and PrivacyRedactionJobRootObjects
  • Remove support for Get, List, New, Update, and Validate methods on resource GiftCardsCard
  • Remove support for Cancel, Confirm, Get, List, New, and Update methods on resource GiftCardsTransaction
  • Remove support for Get method on resource PrivacyRedactionJobValidationError
  • Add support for Migrate method on resource Subscription
  • Add support for Distance, PickupLocationName, ReturnLocationName, and VehicleIdentificationNumber on ChargeCapturePaymentDetailsCarRentalParams, ChargePaymentDetailsCarRentalParams, PaymentIntentCapturePaymentDetailsCarRentalParams, PaymentIntentConfirmPaymentDetailsCarRentalParams, PaymentIntentPaymentDetailsCarRentalParams, and PaymentIntentPaymentDetailsCarRental
  • Add support for DriverIdentificationNumber and DriverTaxNumber on ChargeCapturePaymentDetailsCarRentalDriverParams, ChargePaymentDetailsCarRentalDriverParams, PaymentIntentCapturePaymentDetailsCarRentalDriverParams, PaymentIntentConfirmPaymentDetailsCarRentalDriverParams, PaymentIntentPaymentDetailsCarRentalDriverParams, and PaymentIntentPaymentDetailsCarRentalDriver
  • Change type of CheckoutSessionLineItemParams.Quantity from emptyable(longInteger) to longInteger
  • Add support for Institution on FinancialConnectionsAccount
  • Add support for Countries on FinancialConnectionsInstitution
  • Change type of InvoiceCreatePreviewSubscriptionDetailsParams.CancelAt and SubscriptionParams.CancelAt from DateTime to DateTime | enum('max_period_end'|'min_period_end')
  • Remove support for Credits on OrderParams and Order
  • Remove support for AmountRemaining on Order
  • Remove support for AmountCredit on OrderTotalDetails
  • Add support for Location and Reader on PaymentAttemptRecordPaymentMethodDetailsAffirm, PaymentAttemptRecordPaymentMethodDetailsWechatPay, PaymentRecordPaymentMethodDetailsAffirm, and PaymentRecordPaymentMethodDetailsWechatPay
  • Add support for Hooks on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentParams, and PaymentIntent
  • Remove support for AsyncWorkflows on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentParams, and PaymentIntent
  • Add support for CardPresent on PaymentIntentAmountDetailsLineItemPaymentMethodOptions
  • 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 PrivacyRedactionJob
  • Change type of PrivacyRedactionJob.Objects from $Privacy.RedactionJobRootObjects to RedactionResourceRootObjects
  • Change type of PrivacyRedactionJob.Status from string to enum
  • Change type of PrivacyRedactionJob.ValidationBehavior from string to enum('error'|'fix')
  • Change type of PrivacyRedactionJobValidationError.Code from string to enum
  • Change type of PrivacyRedactionJobValidationError.ErroringObject from map(string: string) to RedactionResourceErroringObject
  • Remove support for Provisioning on ProductParams and Product
  • Add support for new values classic and flexible on enums QuotePreviewSubscriptionSchedule.BillingMode, QuoteSubscriptionData.BillingMode, Subscription.BillingMode, and SubscriptionSchedule.BillingMode
  • Remove support for values credits_attributed_to_debits and legacy_prorations from enums QuotePreviewSubscriptionSchedule.BillingMode, QuoteSubscriptionData.BillingMode, Subscription.BillingMode, and SubscriptionSchedule.BillingMode
  • Add support for BillingThresholds on QuotePreviewSubscriptionScheduleDefaultSettings, QuotePreviewSubscriptionSchedulePhaseItem, and QuotePreviewSubscriptionSchedulePhase
  • Add support for BillingModeDetails on Subscription
  • Add support for TaxTransactionAttempts on TaxAssociation
  • Remove support for StatusDetails and Status on TaxAssociation
  • Add support for ConfirmConfig on TerminalReaderActionConfirmPaymentIntent and TerminalReaderConfirmPaymentIntentParams
  • Remove support for snapshot event EventTypeBillingMeterErrorReportTriggered with resource BillingMeterErrorReport
  • Add support for error code forwarding_api_upstream_error on QuotePreviewInvoiceLastFinalizationError
  • Remove support for error codes gift_card_balance_insufficient, gift_card_code_exists, and gift_card_inactive on Error and QuotePreviewInvoiceLastFinalizationError

mbroshi-stripe and others added 5 commits April 30, 2025 18:40
* Update README with stripe.Client

* Update README

* Incorporate feedback

* Use AppEngine context

* Simplify backends examples
Update generated code for v1719

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
@stripe-openapi stripe-openapi bot enabled auto-merge May 1, 2025 23:16
stripe-openapi bot and others added 24 commits May 2, 2025 15:22
adds CONTRIBUTING.md
* Reenable staticcheck U1000

* Fix linting errors
* Rename beta SDKs to public preview SDKs in readme

* clarify more

* Latest beta SDK

* Avoid double set

* Remove the line suggesting use of raw requests for v2 APIs

* Update README.md

Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>

* Update verbiage for specific version

* Fix whitespace

---------

Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>
Co-authored-by: Michael Broshi <mbroshi@stripe.com>
@stripe-openapi stripe-openapi bot merged commit a819cbf into beta May 27, 2025
10 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch May 27, 2025 20:43
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.

3 participants