Skip to content

Commit

Permalink
Merge upstream and update generated code for v962
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 16, 2024
2 parents ab2175d + b4f1a3c commit 3dae50d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 15.2.0 - 2024-04-16
* [#2064](https://github.com/stripe/stripe-node/pull/2064) Update generated code
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
* Add support for `balances` and `payouts_list` on `AccountSession.components` and `AccountSessionCreateParams.components`
* Change `AccountSession.components.payment_details.features.destination_on_behalf_of_charge_management` and `AccountSession.components.payments.features.destination_on_behalf_of_charge_management` to be required
* Change `Billing.MeterEventCreateParams.timestamp` and `Dispute.payment_method_details.card` to be optional
* Change type of `Dispute.payment_method_details.card` from `DisputePaymentMethodDetailsCard | null` to `DisputePaymentMethodDetailsCard`
* Add support for new value `entitlements.active_entitlement_summary.updated` on enum `Event.type`
* Remove support for `config` on `Forwarding.RequestCreateParams` and `Forwarding.Request`. This field is no longer used by the Forwarding Request API.
* Add support for `capture_method` on `PaymentIntent.payment_method_options.revolut_pay`, `PaymentIntentConfirmParams.payment_method_options.revolut_pay`, `PaymentIntentCreateParams.payment_method_options.revolut_pay`, and `PaymentIntentUpdateParams.payment_method_options.revolut_pay`
* Add support for `swish` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
* Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`

## 15.2.0-beta.1 - 2024-04-11
* [#2058](https://github.com/stripe/stripe-node/pull/2058) Update generated code for beta
* Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v961
v962
42 changes: 42 additions & 0 deletions types/AccountSessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ declare module 'stripe' {
* Configuration for the payouts list embedded component.
*/
payouts_list?: Components.PayoutsList;

/**
* Configuration for the tax registrations embedded component.
*/
tax_registrations?: Components.TaxRegistrations;

/**
* Configuration for the tax settings embedded component.
*/
tax_settings?: Components.TaxSettings;
}

namespace Components {
Expand Down Expand Up @@ -417,6 +427,38 @@ declare module 'stripe' {
namespace PayoutsList {
interface Features {}
}

interface TaxRegistrations {
/**
* Whether the embedded component is enabled.
*/
enabled: boolean;

/**
* The list of features enabled in the embedded component.
*/
features?: TaxRegistrations.Features;
}

namespace TaxRegistrations {
interface Features {}
}

interface TaxSettings {
/**
* Whether the embedded component is enabled.
*/
enabled: boolean;

/**
* The list of features enabled in the embedded component.
*/
features?: TaxSettings.Features;
}

namespace TaxSettings {
interface Features {}
}
}
}

Expand Down

0 comments on commit 3dae50d

Please sign in to comment.