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 #2113

Merged
merged 10 commits into from
Jun 24, 2024
Merged

Update generated code #2113

merged 10 commits into from
Jun 24, 2024

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Jun 18, 2024

Codegen for openapi v1095.

Changelog

This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes

  • Remove the unused resource PlatformTaxFee
  • Rename volume_decimal to quantity_decimal on
    • Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel,
    • Issuing.Transaction.purchase_details.fuel,
    • Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and
    • Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
  • Capabilities.Requirements.disabled_reason and Capabilities.Requirements.disabled_reason are now enums with the below values
    • other
    • paused.inactivity
    • pending.onboarding
    • pending.review
    • platform_disabled
    • platform_paused
    • rejected.inactivity
    • rejected.other
    • rejected.unsupported_business
    • requirements.fields_needed

Additions

  • Add support for new values charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
  • Add support for new values card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked on enum Issuing.Authorization.request_history[].reason
  • Add support for finalize_amount test helper method on resource Issuing.Authorization
  • Add support for new value ch_uid on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
  • Add support for new value ch_uid on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
  • Add support for fleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
  • Add support for fuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorization
  • Add support for industry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
  • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version

@stripe-openapi stripe-openapi bot enabled auto-merge (squash) June 18, 2024 07:16
Copy link

@rondales rondales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😈

@rondales
Copy link

Codegen for openapi v1093.

Changelog

  • Add support for finalize_amount test helper method on resource Issuing.Authorization
  • Add support for fleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
  • Add support for fuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorization
  • Add support for industry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
  • Remove support for volume_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
  • Add support for new values charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
  • Add support for new values card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked on enum Issuing.Authorization.request_history[].reason
  • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version

@stripe-openapi stripe-openapi bot merged commit 654d569 into master Jun 24, 2024
8 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-master branch June 24, 2024 22:47
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