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

Merged
merged 8 commits into from
Jun 24, 2024
Merged

Update generated code #1350

merged 8 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 parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel

Additions

  • Add support for fleet on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetails, stripe.issuing.Authorization.CreateParams, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails, resource stripe.issuing.Authorization, and resource class stripe.issuing.Transaction.PurchaseDetails
  • Add support for new values platform_disabled, paused.inactivity and other on enums Capability.Requirements.disabled_reason and Capability.FutureRequirements.disabled_reason
  • Add support for industry_product_code on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
  • Add support for quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
  • Add support for fuel on parameter class stripe.issuing.Authorization.CreateParams and resource stripe.issuing.Authorization
  • Add support for _cls_finalize_amount on resource stripe.issuing.Authorization
  • Add support for finalize_amount on resource stripe.issuing.Authorization
  • Change type of disabled_reason on stripe.Capability.FutureRequirements and stripe.Capability.Requirements from str to Literal['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']
  • Add support for ch_uid on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
  • Add support for card_canceled, card_expired, cardholder_blocked, insecure_authorization_method and pin_blocked on enum stripe.issuing.Authorization.RequestHistory.reason
  • Add support for charging_minute, imperial_gallon, kilogram, kilowatt_hour, pound, on enums stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
  • Add support for 2024-06-20 on enum stripe.WebhookEndpoint.CreateParams.api_version

@stripe-openapi stripe-openapi bot enabled auto-merge (squash) June 18, 2024 07:17
@stripe-openapi stripe-openapi bot merged commit 60778a9 into master Jun 24, 2024
15 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-master branch June 24, 2024 22:59
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.

1 participant