From 1f6561ccfea58543130f6d70b664a334b92b1a09 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Tue, 28 Apr 2020 12:25:10 -0700 Subject: [PATCH] Codegen for openapi 3b0ec34 --- types/2020-03-02/Checkout/Sessions.d.ts | 4 ++-- types/2020-03-02/InvoiceLineItems.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/2020-03-02/Checkout/Sessions.d.ts b/types/2020-03-02/Checkout/Sessions.d.ts index 9245df7e32..b25aaad878 100644 --- a/types/2020-03-02/Checkout/Sessions.d.ts +++ b/types/2020-03-02/Checkout/Sessions.d.ts @@ -55,7 +55,7 @@ declare module 'stripe' { /** * The line items, plans, or SKUs purchased by the customer. */ - display_items: Array | null; + display_items?: Array; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -614,7 +614,7 @@ declare module 'stripe' { description?: string; /** - * A list of images representing this line item. + * A list of images representing this line item. Each image can be up to 5 MB in size. */ images?: Array; diff --git a/types/2020-03-02/InvoiceLineItems.d.ts b/types/2020-03-02/InvoiceLineItems.d.ts index d712299cd2..883582fe5c 100644 --- a/types/2020-03-02/InvoiceLineItems.d.ts +++ b/types/2020-03-02/InvoiceLineItems.d.ts @@ -203,7 +203,7 @@ declare module 'stripe' { >; /** - * If previewing an update to a subscription, this decides whether the preview will show the result of applying prorations or not. If set, one of `subscription_items` or `subscription`, and one of `subscription_items` or `subscription_trial_end` are required. + * If previewing an update to a subscription, this decides whether the preview will show the result of applying prorations or not. If set, one of `subscription_items` or `subscription`, and one of `subscription_items` or `subscription_trial_end` are required. This field has been deprecated and will be removed in a future API version. Use `subscription_proration_behavior=create_prorations` as a replacement for `subscription_prorate=true` and `subscription_proration_behavior=none` for `subscription_prorate=false`. */ subscription_prorate?: boolean;