Skip to content

Commit

Permalink
Update generated code for v1006
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 1, 2024
1 parent 208ff2c commit 2d0b3cb
Show file tree
Hide file tree
Showing 13 changed files with 423 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1005
v1006
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 @@ -374,6 +374,11 @@ declare module 'stripe' {
*/
promptpay_payments?: Capabilities.PromptpayPayments;

/**
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
*/
rechnung_payments?: Capabilities.RechnungPayments;

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

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

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

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

type SepaDebitPayments = '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 @@ -359,6 +359,11 @@ declare module 'stripe' {
*/
promptpay_payments?: Capabilities.PromptpayPayments;

/**
* The rechnung_payments capability.
*/
rechnung_payments?: Capabilities.RechnungPayments;

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

interface RechnungPayments {
/**
* 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 RevolutPayPayments {
/**
* 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 @@ -1991,6 +2003,11 @@ declare module 'stripe' {
*/
promptpay_payments?: Capabilities.PromptpayPayments;

/**
* The rechnung_payments capability.
*/
rechnung_payments?: Capabilities.RechnungPayments;

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

interface RechnungPayments {
/**
* 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 RevolutPayPayments {
/**
* 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
4 changes: 4 additions & 0 deletions types/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ declare module 'stripe' {

promptpay?: PaymentMethodDetails.Promptpay;

rechnung?: PaymentMethodDetails.Rechnung;

revolut_pay?: PaymentMethodDetails.RevolutPay;

sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
Expand Down Expand Up @@ -1880,6 +1882,8 @@ declare module 'stripe' {
reference: string | null;
}

interface Rechnung {}

interface RevolutPay {}

interface SepaCreditTransfer {
Expand Down
26 changes: 26 additions & 0 deletions types/ConfirmationTokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ declare module 'stripe' {

promptpay?: PaymentMethodPreview.Promptpay;

rechnung?: PaymentMethodPreview.Rechnung;

revolut_pay?: PaymentMethodPreview.RevolutPay;

sepa_debit?: PaymentMethodPreview.SepaDebit;
Expand Down Expand Up @@ -1001,6 +1003,29 @@ declare module 'stripe' {

interface Promptpay {}

interface Rechnung {
dob?: Rechnung.Dob;
}

namespace Rechnung {
interface Dob {
/**
* The day of birth, between 1 and 31.
*/
day: number;

/**
* The month of birth, between 1 and 12.
*/
month: number;

/**
* The four-digit year of birth.
*/
year: number;
}
}

interface RevolutPay {}

interface SepaDebit {
Expand Down Expand Up @@ -1093,6 +1118,7 @@ declare module 'stripe' {
| 'payto'
| 'pix'
| 'promptpay'
| 'rechnung'
| 'revolut_pay'
| 'sepa_debit'
| 'sofort'
Expand Down
1 change: 1 addition & 0 deletions types/CustomersResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ declare module 'stripe' {
| 'payto'
| 'pix'
| 'promptpay'
| 'rechnung'
| 'revolut_pay'
| 'sepa_debit'
| 'sofort'
Expand Down
9 changes: 9 additions & 0 deletions types/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,8 @@ declare module 'stripe' {

promptpay?: PaymentMethodOptions.Promptpay;

rechnung?: PaymentMethodOptions.Rechnung;

revolut_pay?: PaymentMethodOptions.RevolutPay;

sepa_debit?: PaymentMethodOptions.SepaDebit;
Expand Down Expand Up @@ -2570,6 +2572,13 @@ declare module 'stripe' {
setup_future_usage?: 'none';
}

interface Rechnung {
/**
* A unique identifier that correlates each transaction with the collected risk data.
*/
risk_correlation_id: string | null;
}

interface RevolutPay {
/**
* Controls when the funds will be captured from the customer's account.
Expand Down

0 comments on commit 2d0b3cb

Please sign in to comment.