From 7cddd4f28ab5519e18c1d60f377a524a8bdc1c4a Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Fri, 2 Apr 2021 15:31:10 -0400 Subject: [PATCH] Codegen for openapi 40e735e --- .../BillingPortal/Configurations.d.ts | 33 +++++++++++++++++++ types/2020-08-27/Cards.d.ts | 2 ++ types/2020-08-27/Charges.d.ts | 6 ++++ types/2020-08-27/PaymentMethods.d.ts | 2 ++ 4 files changed, 43 insertions(+) diff --git a/types/2020-08-27/BillingPortal/Configurations.d.ts b/types/2020-08-27/BillingPortal/Configurations.d.ts index 347e487cb6..8b53ec9f71 100644 --- a/types/2020-08-27/BillingPortal/Configurations.d.ts +++ b/types/2020-08-27/BillingPortal/Configurations.d.ts @@ -84,6 +84,8 @@ declare module 'stripe' { subscription_cancel: Features.SubscriptionCancel; + subscription_pause: Features.SubscriptionPause; + subscription_update: Features.SubscriptionUpdate; } @@ -149,6 +151,13 @@ declare module 'stripe' { | 'none'; } + interface SubscriptionPause { + /** + * Whether the feature is enabled. + */ + enabled: boolean; + } + interface SubscriptionUpdate { /** * The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable. @@ -257,6 +266,11 @@ declare module 'stripe' { */ subscription_cancel?: Features.SubscriptionCancel; + /** + * Information about pausing subscriptions in the portal. + */ + subscription_pause?: Features.SubscriptionPause; + /** * Information about updating subscriptions in the portal. */ @@ -327,6 +341,13 @@ declare module 'stripe' { | 'none'; } + interface SubscriptionPause { + /** + * Whether the feature is enabled. + */ + enabled?: boolean; + } + interface SubscriptionUpdate { /** * The types of subscription updates that are supported. When empty, subscriptions are not updateable. @@ -447,6 +468,11 @@ declare module 'stripe' { */ subscription_cancel?: Features.SubscriptionCancel; + /** + * Information about pausing subscriptions in the portal. + */ + subscription_pause?: Features.SubscriptionPause; + /** * Information about updating subscriptions in the portal. */ @@ -517,6 +543,13 @@ declare module 'stripe' { | 'none'; } + interface SubscriptionPause { + /** + * Whether the feature is enabled. + */ + enabled?: boolean; + } + interface SubscriptionUpdate { /** * The types of subscription updates that are supported. When empty, subscriptions are not updateable. diff --git a/types/2020-08-27/Cards.d.ts b/types/2020-08-27/Cards.d.ts index 09940beb07..45426a525d 100644 --- a/types/2020-08-27/Cards.d.ts +++ b/types/2020-08-27/Cards.d.ts @@ -120,6 +120,8 @@ declare module 'stripe' { /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.* */ fingerprint?: string | null; diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 64aa3963a7..ba6652b15f 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -670,6 +670,8 @@ declare module 'stripe' { /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.* */ fingerprint?: string | null; @@ -937,6 +939,8 @@ declare module 'stripe' { /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.* */ fingerprint: string | null; @@ -1263,6 +1267,8 @@ declare module 'stripe' { /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.* */ fingerprint: string | null; diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index a18199c959..565fa61695 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -174,6 +174,8 @@ declare module 'stripe' { /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.* */ fingerprint?: string | null;