Skip to content

Commit f867cc8

Browse files
authored
Merge pull request #120 from lob/fix/check-return-structure
fix/check-return-structure
2 parents 134c137 + f8f43a5 commit f867cc8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

models/check.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import * as Models from "./index";
1616

17+
import { Address } from "./address";
1718
import { BankAccount } from "./bank-account";
1819
import { SendDate } from "./send-date";
1920
import { Thumbnail } from "./thumbnail";
@@ -125,20 +126,18 @@ export class Check {
125126
}
126127

127128
/**
128-
* Must either be an address ID or an inline object with correct address parameters.
129-
* @type {any}
129+
*
130+
* @type {Address}
130131
* @memberof Check
131132
*/
132-
133-
"to"?: string | Models.AddressEditable;
133+
"to"?: Address;
134134

135135
/**
136-
* Must either be an address ID or an inline object with correct address parameters.
137-
* @type {any}
136+
*
137+
* @type {Address}
138138
* @memberof Check
139139
*/
140-
141-
"from"?: string | Models.AddressEditable;
140+
"from"?: Address;
142141

143142
/**
144143
* An internal description that identifies this resource. Must be no longer than 255 characters.

0 commit comments

Comments
 (0)