@tap-payments/auth-jsconnect 2.1.70-test → 2.1.71-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
id: string;
|
|
3
|
+
status: string;
|
|
4
|
+
created: number;
|
|
5
|
+
names: Names;
|
|
6
|
+
contact: Contact;
|
|
7
|
+
nationality: string;
|
|
8
|
+
gender: string;
|
|
9
|
+
birth: Birth;
|
|
10
|
+
identification: Identification;
|
|
11
|
+
role: Role[];
|
|
12
|
+
is_authorized: boolean;
|
|
13
|
+
verification: Verification;
|
|
14
|
+
source_income: Role[];
|
|
15
|
+
occupation: Role;
|
|
16
|
+
entities: Entity[];
|
|
17
|
+
documents: string[];
|
|
18
|
+
monthly_income: Role;
|
|
19
|
+
employer_country: string;
|
|
20
|
+
is_relative_PEP: boolean;
|
|
21
|
+
is_influencer: boolean;
|
|
22
|
+
is_verified: boolean;
|
|
23
|
+
individual_id: string;
|
|
24
|
+
data_status: DataStatus;
|
|
25
|
+
data_verification: DataVerification;
|
|
26
|
+
}
|
|
27
|
+
interface DataVerification {
|
|
28
|
+
status: string;
|
|
29
|
+
name: string;
|
|
30
|
+
contact: Contact;
|
|
31
|
+
nationality: string;
|
|
32
|
+
birth: Birth2;
|
|
33
|
+
identification: Identification2;
|
|
34
|
+
role: string;
|
|
35
|
+
relation: string;
|
|
36
|
+
occupation: string;
|
|
37
|
+
address: string;
|
|
38
|
+
is_authorized: string;
|
|
39
|
+
source_of_income: string;
|
|
40
|
+
monthly_income: string;
|
|
41
|
+
is_relative_PEP: string;
|
|
42
|
+
is_influencer: string;
|
|
43
|
+
}
|
|
44
|
+
interface Birth2 {
|
|
45
|
+
date: string;
|
|
46
|
+
city: string;
|
|
47
|
+
country: string;
|
|
48
|
+
}
|
|
49
|
+
interface DataStatus {
|
|
50
|
+
status: string;
|
|
51
|
+
name: string;
|
|
52
|
+
contact: Contact;
|
|
53
|
+
nationality: string;
|
|
54
|
+
identification: Identification2;
|
|
55
|
+
role: string;
|
|
56
|
+
relation: string;
|
|
57
|
+
occupation: string;
|
|
58
|
+
address: string;
|
|
59
|
+
is_authorized: string;
|
|
60
|
+
source_of_income: string;
|
|
61
|
+
monthly_income: string;
|
|
62
|
+
is_relative_PEP: string;
|
|
63
|
+
is_influencer: string;
|
|
64
|
+
}
|
|
65
|
+
interface Identification2 {
|
|
66
|
+
id: string;
|
|
67
|
+
type: string;
|
|
68
|
+
expiry: string;
|
|
69
|
+
issuer_country: string;
|
|
70
|
+
}
|
|
71
|
+
interface Entity {
|
|
72
|
+
id: string;
|
|
73
|
+
operator_id: string;
|
|
74
|
+
}
|
|
75
|
+
interface Verification {
|
|
76
|
+
national_id: NationalId;
|
|
77
|
+
identification: NationalId;
|
|
78
|
+
phone: NationalId;
|
|
79
|
+
date_of_birth: NationalId;
|
|
80
|
+
name: NationalId;
|
|
81
|
+
login: NationalId;
|
|
82
|
+
email: Email;
|
|
83
|
+
}
|
|
84
|
+
interface Email {
|
|
85
|
+
type: string;
|
|
86
|
+
is_verified: boolean;
|
|
87
|
+
verified_at: number;
|
|
88
|
+
}
|
|
89
|
+
interface NationalId {
|
|
90
|
+
type: string;
|
|
91
|
+
is_verified: boolean;
|
|
92
|
+
verified_at: number;
|
|
93
|
+
verified_by: string;
|
|
94
|
+
}
|
|
95
|
+
interface Role {
|
|
96
|
+
id: string;
|
|
97
|
+
name: Name;
|
|
98
|
+
}
|
|
99
|
+
interface Name {
|
|
100
|
+
ar: string;
|
|
101
|
+
en: string;
|
|
102
|
+
}
|
|
103
|
+
interface Identification {
|
|
104
|
+
id: string;
|
|
105
|
+
issued_country_code: string;
|
|
106
|
+
type: string;
|
|
107
|
+
expiry: number;
|
|
108
|
+
}
|
|
109
|
+
interface Birth {
|
|
110
|
+
date: number;
|
|
111
|
+
city: string;
|
|
112
|
+
country: string;
|
|
113
|
+
}
|
|
114
|
+
interface Contact {
|
|
115
|
+
email: string;
|
|
116
|
+
phone: Phone;
|
|
117
|
+
}
|
|
118
|
+
interface Phone {
|
|
119
|
+
country_code: string;
|
|
120
|
+
number: string;
|
|
121
|
+
}
|
|
122
|
+
interface Names {
|
|
123
|
+
ar: Ar;
|
|
124
|
+
en: En;
|
|
125
|
+
}
|
|
126
|
+
interface En {
|
|
127
|
+
title: string;
|
|
128
|
+
first: string;
|
|
129
|
+
middle: string;
|
|
130
|
+
last: string;
|
|
131
|
+
third: string;
|
|
132
|
+
}
|
|
133
|
+
interface Ar {
|
|
134
|
+
first: string;
|
|
135
|
+
middle: string;
|
|
136
|
+
last: string;
|
|
137
|
+
third: string;
|
|
138
|
+
}
|
|
139
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -200,10 +200,11 @@ export var updateTaxInfo = createAsyncThunk('updateTaxInfo', function (params, t
|
|
|
200
200
|
return [4, API.entityService.updateDocumentInfo(documentBody)];
|
|
201
201
|
case 2:
|
|
202
202
|
_b.documentData = _h.sent();
|
|
203
|
+
_h.label = 3;
|
|
204
|
+
case 3:
|
|
203
205
|
thunkApi.dispatch(handleNextScreenStep());
|
|
204
206
|
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, requestBody);
|
|
205
|
-
|
|
206
|
-
case 3: return [2, { data: data, formData: params }];
|
|
207
|
+
return [2, { data: data, formData: params }];
|
|
207
208
|
}
|
|
208
209
|
});
|
|
209
210
|
}); });
|