From 0d5d13fdf0aa972ad4c1390917c031dc3d784288 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 19 Nov 2020 11:48:02 -0500 Subject: [PATCH] Codegen for openapi 3723465 --- types/2020-08-27/PaymentMethods.d.ts | 2 ++ types/2020-08-27/SetupIntents.d.ts | 41 +++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index 8100543c2b..ef49e2526e 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -519,11 +519,13 @@ declare module 'stripe' { | 'bacs_debit' | 'bancontact' | 'card' + | 'card_present' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' + | 'interac_present' | 'oxxo' | 'p24' | 'sepa_debit' diff --git a/types/2020-08-27/SetupIntents.d.ts b/types/2020-08-27/SetupIntents.d.ts index afe178accd..20658c98c1 100644 --- a/types/2020-08-27/SetupIntents.d.ts +++ b/types/2020-08-27/SetupIntents.d.ts @@ -276,7 +276,13 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic' | 'challenge_only'; } - interface SepaDebit {} + interface SepaDebit { + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } type Status = @@ -438,7 +444,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } interface SingleUse { @@ -539,7 +554,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } } @@ -731,7 +755,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } }