From 8b50d3b46e3e43fad604dca8ac75115252ea0143 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Wed, 12 Feb 2020 14:38:52 -0500 Subject: [PATCH] A little bit of autogen churn --- types/2019-12-03/InvoiceLineItems.d.ts | 4 ++-- types/2019-12-03/Invoices.d.ts | 4 ++-- types/2019-12-03/PaymentIntents.d.ts | 1 + types/2019-12-03/PaymentMethods.d.ts | 1 + types/2019-12-03/Plans.d.ts | 2 +- types/2019-12-03/SetupIntents.d.ts | 1 + types/2019-12-03/Tokens.d.ts | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/types/2019-12-03/InvoiceLineItems.d.ts b/types/2019-12-03/InvoiceLineItems.d.ts index 4d75436831..7255472004 100644 --- a/types/2019-12-03/InvoiceLineItems.d.ts +++ b/types/2019-12-03/InvoiceLineItems.d.ts @@ -172,8 +172,8 @@ declare module 'stripe' { * For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. */ subscription_billing_cycle_anchor?: - | number - | InvoiceLineItemListUpcomingParams.SubscriptionBillingCycleAnchor; + | InvoiceLineItemListUpcomingParams.SubscriptionBillingCycleAnchor + | number; /** * Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`.` diff --git a/types/2019-12-03/Invoices.d.ts b/types/2019-12-03/Invoices.d.ts index 66c3b225a7..eb3d4513f5 100644 --- a/types/2019-12-03/Invoices.d.ts +++ b/types/2019-12-03/Invoices.d.ts @@ -850,8 +850,8 @@ declare module 'stripe' { * For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. */ subscription_billing_cycle_anchor?: - | number - | InvoiceRetrieveUpcomingParams.SubscriptionBillingCycleAnchor; + | InvoiceRetrieveUpcomingParams.SubscriptionBillingCycleAnchor + | number; /** * Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`.` diff --git a/types/2019-12-03/PaymentIntents.d.ts b/types/2019-12-03/PaymentIntents.d.ts index 431f365923..0abab716d3 100644 --- a/types/2019-12-03/PaymentIntents.d.ts +++ b/types/2019-12-03/PaymentIntents.d.ts @@ -1141,6 +1141,7 @@ declare module 'stripe' { type Type = 'offline' | 'online'; } } + interface MandateData2 { /** * This hash contains details about the customer acceptance of the Mandate. diff --git a/types/2019-12-03/PaymentMethods.d.ts b/types/2019-12-03/PaymentMethods.d.ts index 71709d9fe0..3c2fe2656f 100644 --- a/types/2019-12-03/PaymentMethods.d.ts +++ b/types/2019-12-03/PaymentMethods.d.ts @@ -524,6 +524,7 @@ declare module 'stripe' { */ number: string; } + interface Card2 { token: string; } diff --git a/types/2019-12-03/Plans.d.ts b/types/2019-12-03/Plans.d.ts index 7d078817d1..2d60026e75 100644 --- a/types/2019-12-03/Plans.d.ts +++ b/types/2019-12-03/Plans.d.ts @@ -243,7 +243,7 @@ declare module 'stripe' { */ nickname?: string; - product?: string | PlanCreateParams.Product; + product?: PlanCreateParams.Product | string; /** * Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. diff --git a/types/2019-12-03/SetupIntents.d.ts b/types/2019-12-03/SetupIntents.d.ts index ca27a69c80..f4d2eb2309 100644 --- a/types/2019-12-03/SetupIntents.d.ts +++ b/types/2019-12-03/SetupIntents.d.ts @@ -557,6 +557,7 @@ declare module 'stripe' { type Type = 'offline' | 'online'; } } + interface MandateData2 { /** * This hash contains details about the customer acceptance of the Mandate. diff --git a/types/2019-12-03/Tokens.d.ts b/types/2019-12-03/Tokens.d.ts index 69938db464..d9485f7e5d 100644 --- a/types/2019-12-03/Tokens.d.ts +++ b/types/2019-12-03/Tokens.d.ts @@ -55,7 +55,7 @@ declare module 'stripe' { */ bank_account?: string | TokenCreateParams.BankAccount; - card?: string | TokenCreateParams.Card; + card?: TokenCreateParams.Card | string; /** * The customer (owned by the application's account) for which to create a token. This can be used only with an [OAuth access token](https://stripe.com/docs/connect/standard-accounts) or [Stripe-Account header](https://stripe.com/docs/connect/authentication). For more details, see [Cloning Saved Payment Methods](https://stripe.com/docs/connect/cloning-saved-payment-methods).