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 for beta #1433

Merged
merged 28 commits into from
Jan 9, 2025
Merged

Update generated code for beta #1433

merged 28 commits into from
Jan 9, 2025

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Dec 12, 2024

Codegen for openapi v1436.

Changelog

  • Add support for directorship_declaration on resource class stripe.Account.Company
  • Add support for ownership_exemption_reason on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
  • Add support for brand_product on resource stripe.Card and resource classes stripe.Source.Card, stripe.Source.CardPresent, and stripe.Source.ThreeDSecure
  • Add support for advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.QuotePreviewInvoice.LastFinalizationError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
  • Add support for country on resource classes stripe.Charge.PaymentMethodDetails.Paypal, stripe.ConfirmationToken.PaymentMethodPreview.Paypal, and stripe.PaymentMethod.Paypal
  • Add support for phone_number_collection on parameter class stripe.PaymentLink.ModifyParams
  • Add support for nickname on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccount
  • Add support for forwarding_settings on parameter class stripe.treasury.FinancialAccount.ModifyParams
  • Add support for _cls_close on resource stripe.treasury.FinancialAccount
  • Add support for close on resource stripe.treasury.FinancialAccount
  • Add support for is_default on resource stripe.treasury.FinancialAccount
  • Add support for destination_payment_method_data on parameter class stripe.treasury.OutboundTransfer.CreateParams
  • Add support for financial_account on resource class stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails
  • Add support for outbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
  • Remove support for always_invoice on enums stripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior, stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior, and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior
  • Add support for al_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
  • Add support for financial_account on enum stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
  • Add support for outbound_transfer on enums stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type and stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
  • Change type of pretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]

@stripe-openapi stripe-openapi bot enabled auto-merge December 12, 2024 23:11
stripe-openapi bot and others added 27 commits December 13, 2024 18:38
* deduplicate querystring using a pre-made url

* fix tests
* Update generated code for v1399

* Update generated code for v1402

* Update generated code for v1409

* Update generated code for v1412

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: jar-stripe <[email protected]>
* fix SSL context with local path

* added live client test class, and added a test specifically for testing https requests thru HTTPXClient

---------

Co-authored-by: Jesse Rosalia <[email protected]>
@stripe-openapi stripe-openapi bot merged commit 2692d87 into beta Jan 9, 2025
15 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch January 9, 2025 21:35
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