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

Merged
merged 8 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update generated code for v960
  • Loading branch information
stripe-openapi[bot] committed Apr 15, 2024
commit 96cbab0864e1237f9ffeca3f777513e363d39916
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v958
v960
49 changes: 47 additions & 2 deletions types/AccountSessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ declare module 'stripe' {

account_onboarding: Components.AccountOnboarding;

balances: Components.Balances;

documents: Components.Documents;

notification_banner: Components.NotificationBanner;
Expand All @@ -59,6 +61,8 @@ declare module 'stripe' {
payments: Components.Payments;

payouts: Components.Payouts;

payouts_list: Components.PayoutsList;
}

namespace Components {
Expand Down Expand Up @@ -98,6 +102,34 @@ declare module 'stripe' {
}
}

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

features: Balances.Features;
}

namespace Balances {
interface Features {
/**
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
edit_payout_schedule: boolean;

/**
* Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
instant_payouts: boolean;

/**
* Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
standard_payouts: boolean;
}
}

interface Documents {
/**
* Whether the embedded component is enabled.
Expand Down Expand Up @@ -148,7 +180,7 @@ declare module 'stripe' {
/**
* Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
*/
destination_on_behalf_of_charge_management?: boolean;
destination_on_behalf_of_charge_management: boolean;

/**
* Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
Expand Down Expand Up @@ -181,7 +213,7 @@ declare module 'stripe' {
/**
* Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.
*/
destination_on_behalf_of_charge_management?: boolean;
destination_on_behalf_of_charge_management: boolean;

/**
* Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
Expand Down Expand Up @@ -222,6 +254,19 @@ declare module 'stripe' {
standard_payouts: boolean;
}
}

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

features: PayoutsList.Features;
}

namespace PayoutsList {
interface Features {}
}
}
}
}
Expand Down
57 changes: 57 additions & 0 deletions types/AccountSessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ declare module 'stripe' {
*/
account_onboarding?: Components.AccountOnboarding;

/**
* Configuration for the balances embedded component.
*/
balances?: Components.Balances;

/**
* Configuration for the documents embedded component.
*/
Expand All @@ -55,6 +60,11 @@ declare module 'stripe' {
* Configuration for the payouts embedded component.
*/
payouts?: Components.Payouts;

/**
* Configuration for the payouts list embedded component.
*/
payouts_list?: Components.PayoutsList;
}

namespace Components {
Expand Down Expand Up @@ -100,6 +110,37 @@ declare module 'stripe' {
}
}

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

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

namespace Balances {
interface Features {
/**
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
edit_payout_schedule?: boolean;

/**
* Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
instant_payouts?: boolean;

/**
* Whether to allow creation of standard payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
*/
standard_payouts?: boolean;
}
}

interface Documents {
/**
* Whether the embedded component is enabled.
Expand Down Expand Up @@ -239,6 +280,22 @@ declare module 'stripe' {
standard_payouts?: boolean;
}
}

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

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

namespace PayoutsList {
interface Features {}
}
}
}

Expand Down
Loading