From 9199e24259b4954f5386d7cc5840ec00ef12e26f Mon Sep 17 00:00:00 2001 From: BennyKitchell Date: Fri, 22 Jul 2022 12:37:42 -0500 Subject: [PATCH] fix: update generation --- models/card.ts | 4 ++-- models/check-editable.ts | 2 +- models/letter-editable.ts | 2 +- models/self-mailer.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/models/card.ts b/models/card.ts index 7b5c545..57da159 100644 --- a/models/card.ts +++ b/models/card.ts @@ -113,11 +113,11 @@ export class Card { "auto_reorder": boolean; /** - * The number of cards to be reordered. + * The number of cards to be reordered. Only present when auto_reorder is True. * @type {number} * @memberof Card */ - "reorder_quantity": number | null; + "reorder_quantity"?: number | null; /** * The raw URL of the card. diff --git a/models/check-editable.ts b/models/check-editable.ts index f19da87..a6a048d 100644 --- a/models/check-editable.ts +++ b/models/check-editable.ts @@ -106,7 +106,7 @@ export class CheckEditable { * @type {any} * @memberof CheckEditable */ - "logo"?: any; + "logo"?: any | null; /** * The artwork to use on the bottom of the check page. Notes: - HTML merge variables should not include delimiting whitespace. - PDF, PNG, and JPGs must be sized at 8.5\"x11\" at 300 DPI, while supplied HTML will be rendered and trimmed to fit on a 8.5\"x11\" page. - The check bottom will always be printed in black & white. - Must conform to [this template](https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/check_bottom_template.pdf). Need more help? Consult our [HTML examples](#section/HTML-Examples). diff --git a/models/letter-editable.ts b/models/letter-editable.ts index da3f126..566575b 100644 --- a/models/letter-editable.ts +++ b/models/letter-editable.ts @@ -139,7 +139,7 @@ export class LetterEditable { * @memberof LetterEditable */ - "return_envelope"?: string | boolean; + "return_envelope"?: string | boolean | null; /** * Required if `return_envelope` is `true`. The number of the page that should be perforated for use with the return envelope. Must be greater than or equal to `1`. The blank page added by `address_placement=insert_blank_page` will be ignored when considering the perforated page number. To see how perforation will impact your letter design, view our [perforation guide](https://s3-us-west-2.amazonaws.com/public.lob.com/assets/templates/letter_perf_template.pdf). diff --git a/models/self-mailer.ts b/models/self-mailer.ts index c00e73e..9c54b15 100644 --- a/models/self-mailer.ts +++ b/models/self-mailer.ts @@ -97,7 +97,7 @@ export class SelfMailer { * @memberof SelfMailer */ - "to"?: string | Models.AddressEditable; + "to"?: string | Models.Address; /** * Must either be an address ID or an inline object with correct address parameters. @@ -105,7 +105,7 @@ export class SelfMailer { * @memberof SelfMailer */ - "from"?: string | Models.AddressEditable; + "from"?: string | Models.Address; /** *