Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/rest/verify/v2/service/verificationCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ export function VerificationCheckListInstance(
return instance;
}

interface VerificationCheckPayload extends VerificationCheckResource {}
interface VerificationCheckPayload extends VerificationCheckResource { }

interface VerificationCheckResource {
sid: string;
service_sid: string;
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;
Expand Down Expand Up @@ -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.
*/
Expand Down