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 ce1ed1dab6..d162a4186b 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).