Skip to content

Commit

Permalink
Update generated code for v1374
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 22, 2024
1 parent bb394f1 commit 2dd9154
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 @@
v1373
v1374
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 @@ -249,6 +249,11 @@ declare module 'stripe' {
*/
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;

/**
* The status of the automatic_indirect_tax capability of the account.
*/
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;

/**
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
*/
Expand Down Expand Up @@ -558,6 +563,8 @@ declare module 'stripe' {

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

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

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

type BancontactPayments = '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 @@ -234,6 +234,11 @@ declare module 'stripe' {
*/
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;

/**
* The automatic_indirect_tax capability.
*/
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;

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

interface AutomaticIndirectTax {
/**
* 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 BacsDebitPayments {
/**
* 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 @@ -2180,6 +2192,11 @@ declare module 'stripe' {
*/
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;

/**
* The automatic_indirect_tax capability.
*/
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;

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

interface AutomaticIndirectTax {
/**
* 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 BacsDebitPayments {
/**
* 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 2dd9154

Please sign in to comment.