diff --git a/src/rest/verify/v2/service/verificationCheck.ts b/src/rest/verify/v2/service/verificationCheck.ts index 72ef3d065..81ca49b2a 100644 --- a/src/rest/verify/v2/service/verificationCheck.ts +++ b/src/rest/verify/v2/service/verificationCheck.ts @@ -165,7 +165,7 @@ export function VerificationCheckListInstance( return instance; } -interface VerificationCheckPayload extends VerificationCheckResource {} +interface VerificationCheckPayload extends VerificationCheckResource { } interface VerificationCheckResource { sid: string; @@ -173,7 +173,7 @@ interface VerificationCheckResource { account_sid: string; to: string; channel: VerificationCheckChannel; - status: string; + status: 'pending' | 'approved' | 'canceled' | 'max_attempts_reached' | 'deleted' | 'failed' | 'expired'; valid: boolean; amount: string; payee: string; @@ -222,7 +222,7 @@ export class VerificationCheckInstance { /** * The status of the verification. Can be: `pending`, `approved`, `canceled`, `max_attempts_reached`, `deleted`, `failed` or `expired`. */ - status: string; + status: VerificationCheckResource['status']; /** * Use \"status\" instead. Legacy property indicating whether the verification was successful. */