@fiado/type-kit 3.199.0 → 3.202.0
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.
- package/_test_/unit/auth/SignUpProspectRequest.test.ts +32 -0
- package/_test_/unit/auth/SignUpProspectResponse.test.ts +26 -0
- package/_test_/unit/kyc/KycByDirectoryResponse.test.ts +139 -0
- package/_test_/unit/kyc/KycVerificationChangedV1.test.ts +99 -0
- package/_test_/unit/messagesConnector/SendMessageRequest.test.ts +48 -0
- package/bin/auth/dtos/SignUpProspectRequest.d.ts +15 -0
- package/bin/auth/dtos/SignUpProspectRequest.js +44 -0
- package/bin/auth/dtos/SignUpProspectResponse.d.ts +11 -0
- package/bin/auth/dtos/SignUpProspectResponse.js +36 -0
- package/bin/auth/index.d.ts +2 -0
- package/bin/auth/index.js +2 -0
- package/bin/benefitCenter/enums/BenefitFlowEnum.d.ts +11 -0
- package/bin/benefitCenter/enums/BenefitFlowEnum.js +15 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +5 -0
- package/bin/kyc/dtos/responses/KycByDirectoryResponse.d.ts +49 -0
- package/bin/kyc/dtos/responses/KycByDirectoryResponse.js +91 -0
- package/bin/kyc/dtos/responses/KycPersonData.d.ts +11 -0
- package/bin/{loanCredit/dtos/requests/UpdateActivationChecklistRequest.js → kyc/dtos/responses/KycPersonData.js} +23 -18
- package/bin/kyc/enums/KycVerificationStatusEnum.d.ts +18 -0
- package/bin/kyc/enums/KycVerificationStatusEnum.js +22 -0
- package/bin/kyc/events/KycVerificationChangedV1.d.ts +35 -0
- package/bin/kyc/events/KycVerificationChangedV1.js +76 -0
- package/bin/kyc/index.d.ts +4 -0
- package/bin/kyc/index.js +24 -0
- package/bin/loanConfig/enums/ModifiableByRoleEnum.d.ts +11 -0
- package/bin/loanConfig/enums/ModifiableByRoleEnum.js +15 -0
- package/bin/messagesConnector/dtos/SendMessageRequest.js +2 -1
- package/bin/places/dtos/CashInFeeDto.d.ts +17 -0
- package/bin/places/dtos/CashInFeeDto.js +12 -0
- package/bin/platformRbac/dtos/ResendOtpRequest.d.ts +22 -0
- package/bin/platformRbac/dtos/ResendOtpRequest.js +36 -0
- package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.d.ts +11 -0
- package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.js +36 -0
- package/bin/retailCustomer/dtos/RetailCustomer.d.ts +24 -2
- package/bin/retailCustomer/dtos/RetailCustomer.js +64 -1
- package/bin/retailCustomer/dtos/requests/CreateCustomerRequest.d.ts +7 -1
- package/bin/retailCustomer/dtos/requests/CreateCustomerRequest.js +30 -1
- package/bin/retailCustomer/dtos/requests/UpdateCustomerRequest.d.ts +7 -1
- package/bin/retailCustomer/dtos/requests/UpdateCustomerRequest.js +31 -1
- package/bin/retailCustomer/dtos/requests/UpsertCustomerFromKycRequest.d.ts +13 -1
- package/bin/retailCustomer/dtos/requests/UpsertCustomerFromKycRequest.js +41 -1
- package/bin/retailCustomer/dtos/responses/CustomerResponse.d.ts +14 -2
- package/bin/retailCustomer/enums/RetailCustomerStatusEnum.d.ts +10 -0
- package/bin/retailCustomer/enums/RetailCustomerStatusEnum.js +14 -0
- package/bin/retailCustomer/index.d.ts +1 -0
- package/bin/retailCustomer/index.js +1 -0
- package/package.json +1 -1
- package/src/auth/dtos/SignUpProspectRequest.ts +23 -0
- package/src/auth/dtos/SignUpProspectResponse.ts +17 -0
- package/src/auth/index.ts +2 -0
- package/src/index.ts +4 -0
- package/src/kyc/dtos/responses/KycByDirectoryResponse.ts +69 -0
- package/src/kyc/dtos/responses/KycPersonData.ts +23 -0
- package/src/kyc/enums/KycVerificationStatusEnum.ts +18 -0
- package/src/kyc/events/KycVerificationChangedV1.ts +51 -0
- package/src/kyc/index.ts +10 -0
- package/src/messagesConnector/dtos/SendMessageRequest.ts +8 -1
- package/src/retailCustomer/dtos/RetailCustomer.ts +75 -3
- package/src/retailCustomer/dtos/requests/CreateCustomerRequest.ts +26 -2
- package/src/retailCustomer/dtos/requests/UpdateCustomerRequest.ts +28 -2
- package/src/retailCustomer/dtos/requests/UpsertCustomerFromKycRequest.ts +49 -2
- package/src/retailCustomer/dtos/responses/CustomerResponse.ts +14 -2
- package/src/retailCustomer/enums/RetailCustomerStatusEnum.ts +10 -0
- package/src/retailCustomer/index.ts +1 -0
- package/bin/loanCredit/dtos/requests/UpdateActivationChecklistRequest.d.ts +0 -11
- package/bin/loanCredit/enums/ClientLevelEnum.d.ts +0 -11
- package/bin/loanCredit/enums/ClientLevelEnum.js +0 -15
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { Expose, Type } from 'class-transformer';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IsBoolean,
|
|
4
|
+
IsEmail,
|
|
5
|
+
IsEnum,
|
|
6
|
+
IsIn,
|
|
7
|
+
IsNumber,
|
|
8
|
+
IsOptional,
|
|
9
|
+
IsString,
|
|
10
|
+
Matches,
|
|
11
|
+
ValidateNested,
|
|
12
|
+
} from 'class-validator';
|
|
3
13
|
import { regexIso8601, regexIso8601Date } from '../../helpers/constans/regex';
|
|
4
14
|
import { AddressBase } from '../../address/dtos/AddressBase';
|
|
5
15
|
import { AccountStatusEnum } from '../enums/AccountStatusEnum';
|
|
6
16
|
import { KycModalityEnum } from '../enums/KycModalityEnum';
|
|
17
|
+
import { RetailCustomerStatusEnum } from '../enums/RetailCustomerStatusEnum';
|
|
7
18
|
import { RetailKycStatusEnum } from '../enums/RetailKycStatusEnum';
|
|
8
19
|
import { KycReview } from './KycReview';
|
|
9
20
|
|
|
@@ -22,17 +33,50 @@ export class RetailCustomer {
|
|
|
22
33
|
@IsString()
|
|
23
34
|
retailerId!: string;
|
|
24
35
|
|
|
36
|
+
/** Tienda de alta/origen del cliente — hash del GSI `retailerId-originStoreId-index` (F1 §3.5). */
|
|
25
37
|
@Expose()
|
|
26
38
|
@IsString()
|
|
27
|
-
|
|
39
|
+
originStoreId!: string;
|
|
40
|
+
|
|
41
|
+
/** Nombre(s) de pila. Nombre partido por convención Fiado (`PeopleName` del dominio identity), F1 §3.5. */
|
|
42
|
+
@Expose()
|
|
43
|
+
@IsString()
|
|
44
|
+
names!: string;
|
|
45
|
+
|
|
46
|
+
@Expose()
|
|
47
|
+
@IsString()
|
|
48
|
+
paternalLastName!: string;
|
|
49
|
+
|
|
50
|
+
/** Segundo apellido — nullable (F1 §3.5: "el 2º apellido nullable"). */
|
|
51
|
+
@Expose()
|
|
52
|
+
@IsOptional()
|
|
53
|
+
@IsString()
|
|
54
|
+
maternalLastName!: string | null;
|
|
28
55
|
|
|
29
56
|
@Expose()
|
|
30
57
|
@IsString()
|
|
31
58
|
phone!: string;
|
|
32
59
|
|
|
60
|
+
/** Lo pone el OTP del paso 01 del wizard (F1 §3.5). Default false. */
|
|
33
61
|
@Expose()
|
|
62
|
+
@IsBoolean()
|
|
63
|
+
phoneVerified!: boolean;
|
|
64
|
+
|
|
65
|
+
/** null hasta el KYC (F1 §3.5); al capturarse se crea el centinela `UNIQ#CURP#<curp>` en la misma TX. */
|
|
66
|
+
@Expose()
|
|
67
|
+
@IsOptional()
|
|
34
68
|
@IsString()
|
|
35
|
-
curp!: string;
|
|
69
|
+
curp!: string | null;
|
|
70
|
+
|
|
71
|
+
@Expose()
|
|
72
|
+
@IsOptional()
|
|
73
|
+
@IsString()
|
|
74
|
+
rfc!: string | null;
|
|
75
|
+
|
|
76
|
+
@Expose()
|
|
77
|
+
@IsOptional()
|
|
78
|
+
@IsEmail()
|
|
79
|
+
email!: string | null;
|
|
36
80
|
|
|
37
81
|
/** Fecha de nacimiento (ISO 8601, admite fecha sola); se completa con el OCR del KYC. */
|
|
38
82
|
@Expose()
|
|
@@ -112,6 +156,34 @@ export class RetailCustomer {
|
|
|
112
156
|
@Type(() => KycReview)
|
|
113
157
|
kycReview!: KycReview | null;
|
|
114
158
|
|
|
159
|
+
/** Score de confianza que devuelve Metamap con el resultado del KYC (F1 §3.5). */
|
|
160
|
+
@Expose()
|
|
161
|
+
@IsOptional()
|
|
162
|
+
@IsNumber()
|
|
163
|
+
kycScore!: number | null;
|
|
164
|
+
|
|
165
|
+
/** Referencia a la verificación en `kyc-verifications-business` (INT1, F1 §3.5). */
|
|
166
|
+
@Expose()
|
|
167
|
+
@IsOptional()
|
|
168
|
+
@IsString()
|
|
169
|
+
metamapVerificationId!: string | null;
|
|
170
|
+
|
|
171
|
+
/** Alerta PLD (regulatorio, F1 §3.5). Default false. */
|
|
172
|
+
@Expose()
|
|
173
|
+
@IsBoolean()
|
|
174
|
+
pldFlag!: boolean;
|
|
175
|
+
|
|
176
|
+
/** Notas operativas del BO (F1 §3.5). */
|
|
177
|
+
@Expose()
|
|
178
|
+
@IsOptional()
|
|
179
|
+
@IsString()
|
|
180
|
+
notes!: string | null;
|
|
181
|
+
|
|
182
|
+
/** Soft-delete (F1 §3.5). Default ACTIVE. */
|
|
183
|
+
@Expose()
|
|
184
|
+
@IsEnum(RetailCustomerStatusEnum)
|
|
185
|
+
status!: RetailCustomerStatusEnum;
|
|
186
|
+
|
|
115
187
|
@Expose()
|
|
116
188
|
@IsString()
|
|
117
189
|
@Matches(regexIso8601, { message: 'createdAt debe ser una fecha ISO 8601' })
|
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsOptional, IsString, Matches } from 'class-validator';
|
|
2
|
+
import { IsEmail, IsOptional, IsString, Matches } from 'class-validator';
|
|
3
3
|
import { regexIso8601Date } from '../../../helpers/constans/regex';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Alta básica de un cliente retail (identidad comercial mínima; el KYC la enriquece después).
|
|
7
|
+
* Nombre partido por convención Fiado y CURP opcional — "null hasta KYC" (F1 §3.5).
|
|
7
8
|
* SureKeep Fase 2 — pista Retail.
|
|
8
9
|
*/
|
|
9
10
|
export class CreateCustomerRequest {
|
|
10
11
|
@Expose()
|
|
11
12
|
@IsString()
|
|
12
|
-
|
|
13
|
+
originStoreId!: string;
|
|
14
|
+
|
|
15
|
+
@Expose()
|
|
16
|
+
@IsString()
|
|
17
|
+
names!: string;
|
|
18
|
+
|
|
19
|
+
@Expose()
|
|
20
|
+
@IsString()
|
|
21
|
+
paternalLastName!: string;
|
|
22
|
+
|
|
23
|
+
@Expose()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsString()
|
|
26
|
+
maternalLastName?: string;
|
|
13
27
|
|
|
14
28
|
@Expose()
|
|
15
29
|
@IsString()
|
|
@@ -20,6 +34,16 @@ export class CreateCustomerRequest {
|
|
|
20
34
|
@IsString()
|
|
21
35
|
curp?: string;
|
|
22
36
|
|
|
37
|
+
@Expose()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsString()
|
|
40
|
+
rfc?: string;
|
|
41
|
+
|
|
42
|
+
@Expose()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsEmail()
|
|
45
|
+
email?: string;
|
|
46
|
+
|
|
23
47
|
@Expose()
|
|
24
48
|
@IsOptional()
|
|
25
49
|
@IsString()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsOptional, IsString, Matches } from 'class-validator';
|
|
2
|
+
import { IsEmail, IsOptional, IsString, Matches } from 'class-validator';
|
|
3
3
|
import { regexIso8601Date } from '../../../helpers/constans/regex';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -10,7 +10,17 @@ export class UpdateCustomerRequest {
|
|
|
10
10
|
@Expose()
|
|
11
11
|
@IsOptional()
|
|
12
12
|
@IsString()
|
|
13
|
-
|
|
13
|
+
names?: string;
|
|
14
|
+
|
|
15
|
+
@Expose()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsString()
|
|
18
|
+
paternalLastName?: string;
|
|
19
|
+
|
|
20
|
+
@Expose()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsString()
|
|
23
|
+
maternalLastName?: string;
|
|
14
24
|
|
|
15
25
|
@Expose()
|
|
16
26
|
@IsOptional()
|
|
@@ -22,6 +32,22 @@ export class UpdateCustomerRequest {
|
|
|
22
32
|
@IsString()
|
|
23
33
|
curp?: string;
|
|
24
34
|
|
|
35
|
+
@Expose()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsString()
|
|
38
|
+
rfc?: string;
|
|
39
|
+
|
|
40
|
+
@Expose()
|
|
41
|
+
@IsOptional()
|
|
42
|
+
@IsEmail()
|
|
43
|
+
email?: string;
|
|
44
|
+
|
|
45
|
+
/** Notas operativas del BO (F1 §3.5). */
|
|
46
|
+
@Expose()
|
|
47
|
+
@IsOptional()
|
|
48
|
+
@IsString()
|
|
49
|
+
notes?: string;
|
|
50
|
+
|
|
25
51
|
@Expose()
|
|
26
52
|
@IsOptional()
|
|
27
53
|
@IsString()
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { Expose, Transform, Type } from 'class-transformer';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IsEmail,
|
|
4
|
+
IsEnum,
|
|
5
|
+
IsIn,
|
|
6
|
+
IsNumber,
|
|
7
|
+
IsOptional,
|
|
8
|
+
IsString,
|
|
9
|
+
Matches,
|
|
10
|
+
ValidateNested,
|
|
11
|
+
} from 'class-validator';
|
|
3
12
|
import { regexCurp, regexIso8601Date, regexPhoneMx } from '../../../helpers/constans/regex';
|
|
4
13
|
import { AddressBase } from '../../../address/dtos/AddressBase';
|
|
5
14
|
import { KycModalityEnum } from '../../enums/KycModalityEnum';
|
|
@@ -11,9 +20,25 @@ import { RetailKycStatusEnum } from '../../enums/RetailKycStatusEnum';
|
|
|
11
20
|
* SureKeep Fase 2 — pista Retail.
|
|
12
21
|
*/
|
|
13
22
|
export class UpsertCustomerFromKycRequest {
|
|
23
|
+
/** Tienda de alta/origen — del JWT del vendedor dueño de la sesión del wizard (F1 §3.5). */
|
|
14
24
|
@Expose()
|
|
15
25
|
@IsString()
|
|
16
|
-
|
|
26
|
+
originStoreId!: string;
|
|
27
|
+
|
|
28
|
+
/** Nombre partido por convención Fiado (F1 §3.5) — lo entrega el OCR del INE, NO se deriva de un string. */
|
|
29
|
+
@Expose()
|
|
30
|
+
@IsString()
|
|
31
|
+
names!: string;
|
|
32
|
+
|
|
33
|
+
@Expose()
|
|
34
|
+
@IsString()
|
|
35
|
+
paternalLastName!: string;
|
|
36
|
+
|
|
37
|
+
/** Segundo apellido — opcional (F1 §3.5: "el 2º apellido nullable"). */
|
|
38
|
+
@Expose()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsString()
|
|
41
|
+
maternalLastName?: string;
|
|
17
42
|
|
|
18
43
|
// Normalización en el boundary: se strippean espacios/guiones para que centinela de unicidad,
|
|
19
44
|
// lookup y search del BO (que también strippea) usen el MISMO formato de teléfono.
|
|
@@ -37,6 +62,28 @@ export class UpsertCustomerFromKycRequest {
|
|
|
37
62
|
@Matches(regexIso8601Date, { message: 'birthDate debe ser una fecha ISO 8601' })
|
|
38
63
|
birthDate?: string;
|
|
39
64
|
|
|
65
|
+
@Expose()
|
|
66
|
+
@IsOptional()
|
|
67
|
+
@IsString()
|
|
68
|
+
rfc?: string;
|
|
69
|
+
|
|
70
|
+
@Expose()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
@IsEmail()
|
|
73
|
+
email?: string;
|
|
74
|
+
|
|
75
|
+
/** Score de confianza que devuelve Metamap junto con el resultado del KYC (F1 §3.5). */
|
|
76
|
+
@Expose()
|
|
77
|
+
@IsOptional()
|
|
78
|
+
@IsNumber()
|
|
79
|
+
kycScore?: number;
|
|
80
|
+
|
|
81
|
+
/** Referencia a la verificación en `kyc-verifications-business` (INT1, F1 §3.5). */
|
|
82
|
+
@Expose()
|
|
83
|
+
@IsOptional()
|
|
84
|
+
@IsString()
|
|
85
|
+
metamapVerificationId?: string;
|
|
86
|
+
|
|
40
87
|
@Expose()
|
|
41
88
|
@IsString()
|
|
42
89
|
fiadoDirectoryId!: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AddressBase } from '../../../address/dtos/AddressBase';
|
|
2
2
|
import { AccountStatusEnum } from '../../enums/AccountStatusEnum';
|
|
3
3
|
import { KycModalityEnum } from '../../enums/KycModalityEnum';
|
|
4
|
+
import { RetailCustomerStatusEnum } from '../../enums/RetailCustomerStatusEnum';
|
|
4
5
|
import { RetailKycStatusEnum } from '../../enums/RetailKycStatusEnum';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -10,9 +11,15 @@ import { RetailKycStatusEnum } from '../../enums/RetailKycStatusEnum';
|
|
|
10
11
|
export interface CustomerResponse {
|
|
11
12
|
retailCustomerId: string;
|
|
12
13
|
retailerId: string;
|
|
13
|
-
|
|
14
|
+
originStoreId: string;
|
|
15
|
+
names: string;
|
|
16
|
+
paternalLastName: string;
|
|
17
|
+
maternalLastName: string | null;
|
|
14
18
|
phone: string;
|
|
15
|
-
|
|
19
|
+
phoneVerified: boolean;
|
|
20
|
+
curp: string | null;
|
|
21
|
+
rfc: string | null;
|
|
22
|
+
email: string | null;
|
|
16
23
|
birthDate: string | null;
|
|
17
24
|
fiadoDirectoryId: string | null;
|
|
18
25
|
fiadoPeopleId: string | null;
|
|
@@ -26,6 +33,11 @@ export interface CustomerResponse {
|
|
|
26
33
|
addressConfirmed: boolean;
|
|
27
34
|
kycStatus: RetailKycStatusEnum;
|
|
28
35
|
kycModality: KycModalityEnum | null;
|
|
36
|
+
kycScore: number | null;
|
|
37
|
+
metamapVerificationId: string | null;
|
|
38
|
+
pldFlag: boolean;
|
|
39
|
+
notes: string | null;
|
|
40
|
+
status: RetailCustomerStatusEnum;
|
|
29
41
|
createdAt: string;
|
|
30
42
|
updatedAt: string;
|
|
31
43
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Estado de vigencia del cliente retail — soft-delete de la convención F1 (modelo-datos F1 §1-§2:
|
|
3
|
+
* "soft-delete" es obligatorio en todas las entidades del silo). ACTIVE es el default del alta;
|
|
4
|
+
* INACTIVE marca la baja lógica (nunca se borra el ítem, para trazabilidad regulatoria).
|
|
5
|
+
* SureKeep Fase 2 — pista Retail.
|
|
6
|
+
*/
|
|
7
|
+
export enum RetailCustomerStatusEnum {
|
|
8
|
+
ACTIVE = 'ACTIVE',
|
|
9
|
+
INACTIVE = 'INACTIVE',
|
|
10
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from './enums/AccountStatusEnum';
|
|
|
3
3
|
export * from './enums/RetailKycStatusEnum';
|
|
4
4
|
export * from './enums/KycModalityEnum';
|
|
5
5
|
export * from './enums/KycReviewResultEnum';
|
|
6
|
+
export * from './enums/RetailCustomerStatusEnum';
|
|
6
7
|
|
|
7
8
|
// Entidades (planas, con class-validator + @Expose)
|
|
8
9
|
export * from './dtos/KycReview';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Body de PUT /credits/:creditId/checklist (loan-credit-business). Marca condiciones de activación
|
|
3
|
-
* cumplidas. Solo se mandan las que cambian; en F3 las marcarán los flujos de firma de contrato
|
|
4
|
-
* (`downPayment` + `contractSigned`) y de enrolamiento MDM (`imeiEnrolled` + `lockVerified`).
|
|
5
|
-
*/
|
|
6
|
-
export declare class UpdateActivationChecklistRequest {
|
|
7
|
-
downPayment?: boolean;
|
|
8
|
-
contractSigned?: boolean;
|
|
9
|
-
imeiEnrolled?: boolean;
|
|
10
|
-
lockVerified?: boolean;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nivel del cliente según su SCI (M7/05_MOTOR §3.2): 21-60 Bronce · 61-80 Plata · 81-100 Oro.
|
|
3
|
-
* Distinto de `CreditPlanLevelEnum` de loanOfferings (que además tiene `ALL` para planes):
|
|
4
|
-
* un CLIENTE nunca es `ALL`.
|
|
5
|
-
* @enum {string}
|
|
6
|
-
*/
|
|
7
|
-
export declare enum ClientLevelEnum {
|
|
8
|
-
BRONZE = "BRONZE",
|
|
9
|
-
SILVER = "SILVER",
|
|
10
|
-
GOLD = "GOLD"
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClientLevelEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Nivel del cliente según su SCI (M7/05_MOTOR §3.2): 21-60 Bronce · 61-80 Plata · 81-100 Oro.
|
|
6
|
-
* Distinto de `CreditPlanLevelEnum` de loanOfferings (que además tiene `ALL` para planes):
|
|
7
|
-
* un CLIENTE nunca es `ALL`.
|
|
8
|
-
* @enum {string}
|
|
9
|
-
*/
|
|
10
|
-
var ClientLevelEnum;
|
|
11
|
-
(function (ClientLevelEnum) {
|
|
12
|
-
ClientLevelEnum["BRONZE"] = "BRONZE";
|
|
13
|
-
ClientLevelEnum["SILVER"] = "SILVER";
|
|
14
|
-
ClientLevelEnum["GOLD"] = "GOLD";
|
|
15
|
-
})(ClientLevelEnum || (exports.ClientLevelEnum = ClientLevelEnum = {}));
|