Skip to content

Commit

Permalink
Merge pull request #225 from lob/fix-generation
Browse files Browse the repository at this point in the history
fix: update generation
  • Loading branch information
BennyKitchell authored Jul 22, 2022
2 parents 108b35c + 9199e24 commit 58f92be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions models/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion models/check-editable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion models/letter-editable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions models/self-mailer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ 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.
* @type {string}
* @memberof SelfMailer
*/

"from"?: string | Models.AddressEditable;
"from"?: string | Models.Address;

/**
*
Expand Down

0 comments on commit 58f92be

Please sign in to comment.