Skip to content

Commit

Permalink
Update generated code for v978
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 22, 2024
1 parent 018fc27 commit d57ef67
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v977
v978
21 changes: 21 additions & 0 deletions types/AccountSessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ declare module 'stripe' {
*/
payment_details?: Components.PaymentDetails;

/**
* Configuration for the payment method settings embedded component.
*/
payment_method_settings?: Components.PaymentMethodSettings;

/**
* Configuration for the payments embedded component.
*/
Expand Down Expand Up @@ -366,6 +371,22 @@ declare module 'stripe' {
}
}

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

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

namespace PaymentMethodSettings {
interface Features {}
}

interface Payments {
/**
* Whether the embedded component is enabled.
Expand Down

0 comments on commit d57ef67

Please sign in to comment.