@@ -50,14 +50,8 @@ export interface SignRequestCreateSigner {
50
50
* If set to true, the signer will need to log in to a Box account
51
51
* before signing the request. If the signer does not have
52
52
* an existing account, they will have the option to create
53
- * a free Box account. Cannot be selected in combination with
54
- * `verification_phone_number`. */
53
+ * a free Box account. */
55
54
readonly loginRequired ?: boolean | null ;
56
- /**
57
- * If set, this phone number will be used to verify the signer
58
- * via two-factor authentication before they are able to sign the document.
59
- * Cannot be selected in combination with `login_required`. */
60
- readonly verificationPhoneNumber ?: string | null ;
61
55
/**
62
56
* If set, the signer is required to enter the password before they are able
63
57
* to sign a document. This field is write only. */
@@ -112,7 +106,6 @@ export function serializeSignRequestCreateSigner(
112
106
[ 'redirect_url' ] : val . redirectUrl ,
113
107
[ 'declined_redirect_url' ] : val . declinedRedirectUrl ,
114
108
[ 'login_required' ] : val . loginRequired ,
115
- [ 'verification_phone_number' ] : val . verificationPhoneNumber ,
116
109
[ 'password' ] : val . password ,
117
110
[ 'signer_group_id' ] : val . signerGroupId ,
118
111
[ 'suppress_notifications' ] : val . suppressNotifications ,
@@ -190,19 +183,6 @@ export function deserializeSignRequestCreateSigner(
190
183
}
191
184
const loginRequired : undefined | boolean =
192
185
val . login_required == void 0 ? void 0 : val . login_required ;
193
- if (
194
- ! ( val . verification_phone_number == void 0 ) &&
195
- ! sdIsString ( val . verification_phone_number )
196
- ) {
197
- throw new BoxSdkError ( {
198
- message :
199
- 'Expecting string for "verification_phone_number" of type "SignRequestCreateSigner"' ,
200
- } ) ;
201
- }
202
- const verificationPhoneNumber : undefined | string =
203
- val . verification_phone_number == void 0
204
- ? void 0
205
- : val . verification_phone_number ;
206
186
if ( ! ( val . password == void 0 ) && ! sdIsString ( val . password ) ) {
207
187
throw new BoxSdkError ( {
208
188
message :
@@ -239,7 +219,6 @@ export function deserializeSignRequestCreateSigner(
239
219
redirectUrl : redirectUrl ,
240
220
declinedRedirectUrl : declinedRedirectUrl ,
241
221
loginRequired : loginRequired ,
242
- verificationPhoneNumber : verificationPhoneNumber ,
243
222
password : password ,
244
223
signerGroupId : signerGroupId ,
245
224
suppressNotifications : suppressNotifications ,
0 commit comments