@fiado/type-kit 3.1.22 → 3.1.24
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.
|
@@ -1,21 +1,62 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Respuesta del endpoint GET /credit/backoffice/expedientes/{directoryId}/identity (P10 §4.2).
|
|
3
|
-
* Compone datos del identity-lambda (people + OCR + signed URLs)
|
|
4
|
-
*
|
|
3
|
+
* Compone datos del identity-lambda (people + OCR + signed URLs),
|
|
4
|
+
* address-lambda (dirección mexicana principal) y risk-profile-business (score).
|
|
5
5
|
*/
|
|
6
6
|
export declare class ExpedienteIdentityPersonalData {
|
|
7
7
|
full_name: string;
|
|
8
|
+
phone: string | null;
|
|
9
|
+
email: string | null;
|
|
10
|
+
directory_id: string;
|
|
11
|
+
client_since: string | null;
|
|
12
|
+
wallet_source: string | null;
|
|
13
|
+
curp: string | null;
|
|
8
14
|
rfc: string | null;
|
|
9
15
|
date_of_birth: string | null;
|
|
10
16
|
sex: string | null;
|
|
11
17
|
nationality: string | null;
|
|
12
|
-
|
|
18
|
+
pep_level: string | null;
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
15
|
-
*
|
|
16
|
-
* Combina datos OCR (de people.documents[i]) con la URL firmada S3
|
|
17
|
-
* del archivo correspondiente (imagen/PDF).
|
|
21
|
+
* Verificación KYC extraída del primer documento vigente.
|
|
18
22
|
*/
|
|
23
|
+
export declare class ExpedienteIdentityKyc {
|
|
24
|
+
status: string | null;
|
|
25
|
+
verified_at: string | null;
|
|
26
|
+
verification_id: string | null;
|
|
27
|
+
primary_document_type: string | null;
|
|
28
|
+
document_number: string | null;
|
|
29
|
+
document_expires_at: string | null;
|
|
30
|
+
document_issue_date: string | null;
|
|
31
|
+
document_country_id: string | null;
|
|
32
|
+
document_issue_state: string | null;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Dirección registrada del cliente (típicamente la principal mexicana).
|
|
36
|
+
*/
|
|
37
|
+
export declare class ExpedienteIdentityAddress {
|
|
38
|
+
id: string | null;
|
|
39
|
+
street: string | null;
|
|
40
|
+
address_number: string | null;
|
|
41
|
+
internal_number: string | null;
|
|
42
|
+
neighborhood: string | null;
|
|
43
|
+
municipality: string | null;
|
|
44
|
+
region: string | null;
|
|
45
|
+
postal_code: string | null;
|
|
46
|
+
country_id: string | null;
|
|
47
|
+
additional_information: string | null;
|
|
48
|
+
is_principal: boolean;
|
|
49
|
+
status: string | null;
|
|
50
|
+
valid_from: string | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Listas de cumplimiento regulatorio.
|
|
54
|
+
*/
|
|
55
|
+
export declare class ExpedienteIdentityComplianceLists {
|
|
56
|
+
fiado_list_approved: boolean | null;
|
|
57
|
+
cnbv_list_approved: boolean | null;
|
|
58
|
+
black_list_approved: boolean | null;
|
|
59
|
+
}
|
|
19
60
|
export declare class ExpedienteIdentityDocument {
|
|
20
61
|
key: string;
|
|
21
62
|
signed_url: string;
|
|
@@ -35,6 +76,9 @@ export declare class ExpedienteIdentityRiskProfile {
|
|
|
35
76
|
}
|
|
36
77
|
export declare class ExpedienteIdentityResponse {
|
|
37
78
|
personal_data: ExpedienteIdentityPersonalData;
|
|
38
|
-
|
|
79
|
+
kyc: ExpedienteIdentityKyc | null;
|
|
80
|
+
address: ExpedienteIdentityAddress | null;
|
|
81
|
+
compliance_lists: ExpedienteIdentityComplianceLists | null;
|
|
39
82
|
risk_profile: ExpedienteIdentityRiskProfile | null;
|
|
83
|
+
documents: ExpedienteIdentityDocument[];
|
|
40
84
|
}
|
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Respuesta del endpoint GET /credit/backoffice/expedientes/{directoryId}/identity (P10 §4.2).
|
|
4
|
-
* Compone datos del identity-lambda (people + OCR + signed URLs)
|
|
5
|
-
*
|
|
4
|
+
* Compone datos del identity-lambda (people + OCR + signed URLs),
|
|
5
|
+
* address-lambda (dirección mexicana principal) y risk-profile-business (score).
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ExpedienteIdentityResponse = exports.ExpedienteIdentityRiskProfile = exports.ExpedienteIdentityDocument = exports.ExpedienteIdentityPersonalData = void 0;
|
|
8
|
+
exports.ExpedienteIdentityResponse = exports.ExpedienteIdentityRiskProfile = exports.ExpedienteIdentityDocument = exports.ExpedienteIdentityComplianceLists = exports.ExpedienteIdentityAddress = exports.ExpedienteIdentityKyc = exports.ExpedienteIdentityPersonalData = void 0;
|
|
9
9
|
class ExpedienteIdentityPersonalData {
|
|
10
10
|
}
|
|
11
11
|
exports.ExpedienteIdentityPersonalData = ExpedienteIdentityPersonalData;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* Combina datos OCR (de people.documents[i]) con la URL firmada S3
|
|
15
|
-
* del archivo correspondiente (imagen/PDF).
|
|
13
|
+
* Verificación KYC extraída del primer documento vigente.
|
|
16
14
|
*/
|
|
15
|
+
class ExpedienteIdentityKyc {
|
|
16
|
+
}
|
|
17
|
+
exports.ExpedienteIdentityKyc = ExpedienteIdentityKyc;
|
|
18
|
+
/**
|
|
19
|
+
* Dirección registrada del cliente (típicamente la principal mexicana).
|
|
20
|
+
*/
|
|
21
|
+
class ExpedienteIdentityAddress {
|
|
22
|
+
}
|
|
23
|
+
exports.ExpedienteIdentityAddress = ExpedienteIdentityAddress;
|
|
24
|
+
/**
|
|
25
|
+
* Listas de cumplimiento regulatorio.
|
|
26
|
+
*/
|
|
27
|
+
class ExpedienteIdentityComplianceLists {
|
|
28
|
+
}
|
|
29
|
+
exports.ExpedienteIdentityComplianceLists = ExpedienteIdentityComplianceLists;
|
|
17
30
|
class ExpedienteIdentityDocument {
|
|
18
31
|
}
|
|
19
32
|
exports.ExpedienteIdentityDocument = ExpedienteIdentityDocument;
|
package/package.json
CHANGED
|
@@ -1,28 +1,73 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Respuesta del endpoint GET /credit/backoffice/expedientes/{directoryId}/identity (P10 §4.2).
|
|
3
|
-
* Compone datos del identity-lambda (people + OCR + signed URLs)
|
|
4
|
-
*
|
|
3
|
+
* Compone datos del identity-lambda (people + OCR + signed URLs),
|
|
4
|
+
* address-lambda (dirección mexicana principal) y risk-profile-business (score).
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export class ExpedienteIdentityPersonalData {
|
|
8
|
-
full_name: string;
|
|
8
|
+
full_name: string;
|
|
9
|
+
phone: string | null;
|
|
10
|
+
email: string | null;
|
|
11
|
+
directory_id: string;
|
|
12
|
+
client_since: string | null;
|
|
13
|
+
wallet_source: string | null;
|
|
14
|
+
// Identificación
|
|
15
|
+
curp: string | null;
|
|
9
16
|
rfc: string | null;
|
|
10
17
|
date_of_birth: string | null;
|
|
11
18
|
sex: string | null;
|
|
12
19
|
nationality: string | null;
|
|
13
|
-
|
|
20
|
+
pep_level: string | null;
|
|
14
21
|
}
|
|
15
22
|
|
|
16
23
|
/**
|
|
17
|
-
*
|
|
18
|
-
* Combina datos OCR (de people.documents[i]) con la URL firmada S3
|
|
19
|
-
* del archivo correspondiente (imagen/PDF).
|
|
24
|
+
* Verificación KYC extraída del primer documento vigente.
|
|
20
25
|
*/
|
|
26
|
+
export class ExpedienteIdentityKyc {
|
|
27
|
+
status: string | null;
|
|
28
|
+
verified_at: string | null;
|
|
29
|
+
verification_id: string | null;
|
|
30
|
+
primary_document_type: string | null;
|
|
31
|
+
document_number: string | null;
|
|
32
|
+
document_expires_at: string | null;
|
|
33
|
+
document_issue_date: string | null;
|
|
34
|
+
document_country_id: string | null;
|
|
35
|
+
document_issue_state: string | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Dirección registrada del cliente (típicamente la principal mexicana).
|
|
40
|
+
*/
|
|
41
|
+
export class ExpedienteIdentityAddress {
|
|
42
|
+
id: string | null;
|
|
43
|
+
street: string | null;
|
|
44
|
+
address_number: string | null;
|
|
45
|
+
internal_number: string | null;
|
|
46
|
+
neighborhood: string | null;
|
|
47
|
+
municipality: string | null;
|
|
48
|
+
region: string | null;
|
|
49
|
+
postal_code: string | null;
|
|
50
|
+
country_id: string | null;
|
|
51
|
+
additional_information: string | null;
|
|
52
|
+
is_principal: boolean;
|
|
53
|
+
status: string | null;
|
|
54
|
+
valid_from: string | null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Listas de cumplimiento regulatorio.
|
|
59
|
+
*/
|
|
60
|
+
export class ExpedienteIdentityComplianceLists {
|
|
61
|
+
fiado_list_approved: boolean | null;
|
|
62
|
+
cnbv_list_approved: boolean | null;
|
|
63
|
+
black_list_approved: boolean | null;
|
|
64
|
+
}
|
|
65
|
+
|
|
21
66
|
export class ExpedienteIdentityDocument {
|
|
22
|
-
key: string;
|
|
23
|
-
signed_url: string;
|
|
67
|
+
key: string;
|
|
68
|
+
signed_url: string;
|
|
24
69
|
signed_url_expires_at: string | null;
|
|
25
|
-
type_of_document: string | null;
|
|
70
|
+
type_of_document: string | null;
|
|
26
71
|
document_number: string | null;
|
|
27
72
|
verification_date: string | null;
|
|
28
73
|
country_id: string | null;
|
|
@@ -39,6 +84,9 @@ export class ExpedienteIdentityRiskProfile {
|
|
|
39
84
|
|
|
40
85
|
export class ExpedienteIdentityResponse {
|
|
41
86
|
personal_data: ExpedienteIdentityPersonalData;
|
|
42
|
-
|
|
87
|
+
kyc: ExpedienteIdentityKyc | null;
|
|
88
|
+
address: ExpedienteIdentityAddress | null;
|
|
89
|
+
compliance_lists: ExpedienteIdentityComplianceLists | null;
|
|
43
90
|
risk_profile: ExpedienteIdentityRiskProfile | null;
|
|
91
|
+
documents: ExpedienteIdentityDocument[];
|
|
44
92
|
}
|