-
Notifications
You must be signed in to change notification settings - Fork 180
/
VerifySearchResponse.ts
79 lines (65 loc) · 1.67 KB
/
VerifySearchResponse.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import { SearchCheckInformationResponse } from './SearchCheckInformationResponse';
import { SearchEventInformationResponse } from './SearchEventInformationResponse';
import { SearchStatus } from '../../enums';
/**
* Represents the response for a Verify search operation.
*/
export type VerifySearchResponse = {
/**
* The unique identifier for the Verify request.
*/
request_id: string;
/**
* The account ID associated with the request.
*/
account_id: string;
/**
* The status code indicating the outcome of the search operation.
*/
status: SearchStatus;
/**
* The phone number this verification request was used for.
*/
number: string;
/**
* The cost incurred for this verification request.
*/
price: string;
/**
* The currency code.
*/
currency: string;
/**
* The sender ID provided in the Verify request.
*/
sender_id: string;
/**
* The date and time the verification request was submitted.
*/
date_submitted: string;
/**
* The date and time the verification request was completed.
*/
date_finalized: string;
/**
* The time the first verification attempt was made.
*/
first_event_date: string;
/**
* The time the last verification attempt was made.
*/
last_event_date: string;
/**
* The list of checks made for this verification and their outcomes.
*/
checks: SearchCheckInformationResponse[];
/**
* The events that have taken place to verify this number, and their
* unique identifiers.
*/
events: SearchEventInformationResponse[];
/**
* The estimated cost of messages sent for the verification process.
*/
estimated_price_messages_sent: string;
}