Skip to content

Commit

Permalink
Update generated code for v1443
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 14, 2025
1 parent 45b9975 commit 2bedd7e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1442
v1443
2 changes: 1 addition & 1 deletion test/resources/generated_examples_test.spec.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions types/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@ declare module 'stripe' {
*/
p24_payments?: Capabilities.P24Payments;

/**
* The status of the pay_by_bank payments capability of the account, or whether the account can directly process pay_by_bank charges.
*/
pay_by_bank_payments?: Capabilities.PayByBankPayments;

/**
* The status of the Payco capability of the account, or whether the account can directly process Payco payments.
*/
Expand Down Expand Up @@ -633,6 +638,8 @@ declare module 'stripe' {

type P24Payments = 'active' | 'inactive' | 'pending';

type PayByBankPayments = 'active' | 'inactive' | 'pending';

type PaycoPayments = 'active' | 'inactive' | 'pending';

type PaynowPayments = 'active' | 'inactive' | 'pending';
Expand Down
24 changes: 24 additions & 0 deletions types/AccountsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@ declare module 'stripe' {
*/
p24_payments?: Capabilities.P24Payments;

/**
* The pay_by_bank_payments capability.
*/
pay_by_bank_payments?: Capabilities.PayByBankPayments;

/**
* The payco_payments capability.
*/
Expand Down Expand Up @@ -823,6 +828,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface PayByBankPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface PaycoPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down Expand Up @@ -2375,6 +2387,11 @@ declare module 'stripe' {
*/
p24_payments?: Capabilities.P24Payments;

/**
* The pay_by_bank_payments capability.
*/
pay_by_bank_payments?: Capabilities.PayByBankPayments;

/**
* The payco_payments capability.
*/
Expand Down Expand Up @@ -2789,6 +2806,13 @@ declare module 'stripe' {
requested?: boolean;
}

interface PayByBankPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
*/
requested?: boolean;
}

interface PaycoPayments {
/**
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
Expand Down

0 comments on commit 2bedd7e

Please sign in to comment.