Skip to content

Commit

Permalink
A little bit of autogen churn
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Feb 12, 2020
1 parent 2460eb2 commit b5213c6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions types/2019-12-03/InvoiceLineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.`
Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.`
Expand Down
1 change: 1 addition & 0 deletions types/2019-12-03/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ declare module 'stripe' {
type Type = 'offline' | 'online';
}
}

interface MandateData2 {
/**
* This hash contains details about the customer acceptance of the Mandate.
Expand Down
1 change: 1 addition & 0 deletions types/2019-12-03/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ declare module 'stripe' {
*/
number: string;
}

interface Card2 {
token: string;
}
Expand Down
2 changes: 1 addition & 1 deletion types/2019-12-03/Plans.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
1 change: 1 addition & 0 deletions types/2019-12-03/SetupIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ declare module 'stripe' {
type Type = 'offline' | 'online';
}
}

interface MandateData2 {
/**
* This hash contains details about the customer acceptance of the Mandate.
Expand Down
2 changes: 1 addition & 1 deletion types/2019-12-03/Tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit b5213c6

Please sign in to comment.