Skip to content

Commit 58f92be

Browse files
Merge pull request #225 from lob/fix-generation
fix: update generation
2 parents 108b35c + 9199e24 commit 58f92be

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

models/card.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ export class Card {
113113
"auto_reorder": boolean;
114114

115115
/**
116-
* The number of cards to be reordered.
116+
* The number of cards to be reordered. Only present when auto_reorder is True.
117117
* @type {number}
118118
* @memberof Card
119119
*/
120-
"reorder_quantity": number | null;
120+
"reorder_quantity"?: number | null;
121121

122122
/**
123123
* The raw URL of the card.

models/check-editable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class CheckEditable {
106106
* @type {any}
107107
* @memberof CheckEditable
108108
*/
109-
"logo"?: any;
109+
"logo"?: any | null;
110110

111111
/**
112112
* 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).

models/letter-editable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class LetterEditable {
139139
* @memberof LetterEditable
140140
*/
141141

142-
"return_envelope"?: string | boolean;
142+
"return_envelope"?: string | boolean | null;
143143

144144
/**
145145
* 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).

models/self-mailer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ export class SelfMailer {
9797
* @memberof SelfMailer
9898
*/
9999

100-
"to"?: string | Models.AddressEditable;
100+
"to"?: string | Models.Address;
101101

102102
/**
103103
* Must either be an address ID or an inline object with correct address parameters.
104104
* @type {string}
105105
* @memberof SelfMailer
106106
*/
107107

108-
"from"?: string | Models.AddressEditable;
108+
"from"?: string | Models.Address;
109109

110110
/**
111111
*

0 commit comments

Comments
 (0)