@fiado/type-kit 3.16.0 → 3.17.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/bin/benefitCenter/dtos/BackofficeLeafOverrideUpsertRequest.d.ts +22 -0
- package/bin/benefitCenter/dtos/BackofficeLeafOverrideUpsertRequest.js +91 -0
- package/bin/benefitCenter/dtos/FieldOverrideRequest.d.ts +19 -0
- package/bin/benefitCenter/dtos/FieldOverrideRequest.js +80 -0
- package/bin/benefitCenter/dtos/InputSchemaOverrideRequest.d.ts +9 -0
- package/bin/benefitCenter/dtos/InputSchemaOverrideRequest.js +29 -0
- package/bin/benefitCenter/enums/LeafOverrideStatusEnum.d.ts +10 -0
- package/bin/benefitCenter/enums/LeafOverrideStatusEnum.js +14 -0
- package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +13 -0
- package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +71 -0
- package/bin/comission-business/dtos/GenerateReportRequest.d.ts +10 -0
- package/bin/comission-business/dtos/GenerateReportRequest.js +2 -0
- package/bin/comission-business/dtos/GenerateReportResponse.d.ts +6 -0
- package/bin/comission-business/dtos/GenerateReportResponse.js +2 -0
- package/bin/comission-business/enums/PaymentStatusEnum.d.ts +5 -0
- package/bin/comission-business/enums/PaymentStatusEnum.js +9 -0
- package/bin/credit/dtos/CreditBannerStateResponse.d.ts +10 -0
- package/bin/credit/dtos/CreditBannerStateResponse.js +6 -0
- package/bin/credit/dtos/CreditDetailResponse.d.ts +23 -0
- package/bin/credit/dtos/CreditDetailResponse.js +6 -0
- package/bin/credit/dtos/CreditEligibilityResponse.d.ts +9 -0
- package/bin/credit/dtos/CreditEligibilityResponse.js +6 -0
- package/bin/credit/dtos/CreditMovementResponse.d.ts +20 -0
- package/bin/credit/dtos/CreditMovementResponse.js +9 -0
- package/bin/credit/dtos/CreditRequestCreate.d.ts +4 -0
- package/bin/credit/dtos/CreditRequestCreate.js +26 -0
- package/bin/credit/dtos/CreditRequestResponse.d.ts +7 -0
- package/bin/credit/dtos/CreditRequestResponse.js +6 -0
- package/bin/credit/dtos/CreditScheduleResponse.d.ts +18 -0
- package/bin/credit/dtos/CreditScheduleResponse.js +9 -0
- package/bin/credit/dtos/CreditStatementResponse.d.ts +11 -0
- package/bin/credit/dtos/CreditStatementResponse.js +9 -0
- package/bin/credit/dtos/EarlyPaymentRequest.d.ts +7 -0
- package/bin/credit/dtos/EarlyPaymentRequest.js +37 -0
- package/bin/credit/dtos/EarlyPaymentResponse.d.ts +11 -0
- package/bin/credit/dtos/EarlyPaymentResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditBalanceRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/CreditBalanceRequest.js +21 -0
- package/bin/credit/dtos/internal/CreditCollectionRequest.d.ts +11 -0
- package/bin/credit/dtos/internal/CreditCollectionRequest.js +59 -0
- package/bin/credit/dtos/internal/CreditCollectionResponse.d.ts +12 -0
- package/bin/credit/dtos/internal/CreditCollectionResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditDisbursementRequest.d.ts +7 -0
- package/bin/credit/dtos/internal/CreditDisbursementRequest.js +43 -0
- package/bin/credit/dtos/internal/CreditDisbursementResponse.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditDisbursementResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditProfileRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/CreditProfileRequest.js +23 -0
- package/bin/credit/dtos/internal/CreditReversalRequest.d.ts +5 -0
- package/bin/credit/dtos/internal/CreditReversalRequest.js +31 -0
- package/bin/credit/dtos/internal/CreditReversalResponse.d.ts +7 -0
- package/bin/credit/dtos/internal/CreditReversalResponse.js +6 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoRequest.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoRequest.js +46 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoResponse.d.ts +8 -0
- package/bin/credit/dtos/internal/CreditTransferLoancoResponse.js +6 -0
- package/bin/credit/dtos/internal/DocumentSignRequest.d.ts +3 -0
- package/bin/credit/dtos/internal/DocumentSignRequest.js +21 -0
- package/bin/credit/dtos/internal/LienApplyRequest.d.ts +7 -0
- package/bin/credit/dtos/internal/LienApplyRequest.js +45 -0
- package/bin/credit/enums/CollectionFrequencyEnum.d.ts +5 -0
- package/bin/credit/enums/CollectionFrequencyEnum.js +9 -0
- package/bin/credit/enums/CreditOperationEnum.d.ts +11 -0
- package/bin/credit/enums/CreditOperationEnum.js +15 -0
- package/bin/credit/enums/CreditStatusEnum.d.ts +12 -0
- package/bin/credit/enums/CreditStatusEnum.js +16 -0
- package/bin/credit/enums/DelinquencyLevelEnum.d.ts +9 -0
- package/bin/credit/enums/DelinquencyLevelEnum.js +13 -0
- package/bin/credit/enums/DocumentTypeEnum.d.ts +8 -0
- package/bin/credit/enums/DocumentTypeEnum.js +12 -0
- package/bin/credit/enums/OfferStatusEnum.d.ts +8 -0
- package/bin/credit/enums/OfferStatusEnum.js +12 -0
- package/bin/credit/enums/PaymentTypeEnum.d.ts +9 -0
- package/bin/credit/enums/PaymentTypeEnum.js +13 -0
- package/bin/credit/enums/ReconciliationStatusEnum.d.ts +6 -0
- package/bin/credit/enums/ReconciliationStatusEnum.js +10 -0
- package/bin/credit/enums/TransferStatusEnum.d.ts +8 -0
- package/bin/credit/enums/TransferStatusEnum.js +12 -0
- package/bin/identity/dtos/ManualApproval.d.ts +15 -0
- package/bin/identity/dtos/ManualApproval.js +2 -0
- package/bin/identity/dtos/PeopleResponse.d.ts +2 -0
- package/bin/identity/dtos/PeopleUpdateRequest.d.ts +2 -0
- package/bin/identity/index.d.ts +1 -0
- package/bin/identity/index.js +2 -1
- package/package.json +1 -1
- package/src/identity/dtos/ManualApproval.ts +16 -0
- package/src/identity/dtos/PeopleResponse.ts +3 -1
- package/src/identity/dtos/PeopleUpdateRequest.ts +2 -0
- package/src/identity/index.ts +2 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OfferStatusEnum = void 0;
|
|
4
|
+
var OfferStatusEnum;
|
|
5
|
+
(function (OfferStatusEnum) {
|
|
6
|
+
OfferStatusEnum["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
|
|
7
|
+
OfferStatusEnum["PRE_QUALIFIED"] = "PRE_QUALIFIED";
|
|
8
|
+
OfferStatusEnum["OFFER_AVAILABLE"] = "OFFER_AVAILABLE";
|
|
9
|
+
OfferStatusEnum["OFFER_CONFIGURED"] = "OFFER_CONFIGURED";
|
|
10
|
+
OfferStatusEnum["OFFER_ACCEPTED"] = "OFFER_ACCEPTED";
|
|
11
|
+
OfferStatusEnum["OFFER_EXPIRED"] = "OFFER_EXPIRED";
|
|
12
|
+
})(OfferStatusEnum || (exports.OfferStatusEnum = OfferStatusEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentTypeEnum = void 0;
|
|
4
|
+
var PaymentTypeEnum;
|
|
5
|
+
(function (PaymentTypeEnum) {
|
|
6
|
+
PaymentTypeEnum["REGULAR"] = "REGULAR";
|
|
7
|
+
PaymentTypeEnum["PARTIAL"] = "PARTIAL";
|
|
8
|
+
PaymentTypeEnum["EARLY_ANTICIPATED"] = "EARLY_ANTICIPATED";
|
|
9
|
+
PaymentTypeEnum["EARLY_ADVANCED"] = "EARLY_ADVANCED";
|
|
10
|
+
PaymentTypeEnum["EARLY_SETTLEMENT"] = "EARLY_SETTLEMENT";
|
|
11
|
+
PaymentTypeEnum["LIEN"] = "LIEN";
|
|
12
|
+
PaymentTypeEnum["REVERSAL"] = "REVERSAL";
|
|
13
|
+
})(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReconciliationStatusEnum = void 0;
|
|
4
|
+
var ReconciliationStatusEnum;
|
|
5
|
+
(function (ReconciliationStatusEnum) {
|
|
6
|
+
ReconciliationStatusEnum["PENDING"] = "PENDING";
|
|
7
|
+
ReconciliationStatusEnum["MATCHED"] = "MATCHED";
|
|
8
|
+
ReconciliationStatusEnum["DISCREPANCY"] = "DISCREPANCY";
|
|
9
|
+
ReconciliationStatusEnum["RESOLVED"] = "RESOLVED";
|
|
10
|
+
})(ReconciliationStatusEnum || (exports.ReconciliationStatusEnum = ReconciliationStatusEnum = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransferStatusEnum = void 0;
|
|
4
|
+
var TransferStatusEnum;
|
|
5
|
+
(function (TransferStatusEnum) {
|
|
6
|
+
TransferStatusEnum["PENDING"] = "PENDING";
|
|
7
|
+
TransferStatusEnum["APPROVED"] = "APPROVED";
|
|
8
|
+
TransferStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
|
|
9
|
+
TransferStatusEnum["COMPLETED"] = "COMPLETED";
|
|
10
|
+
TransferStatusEnum["FAILED"] = "FAILED";
|
|
11
|
+
TransferStatusEnum["REJECTED"] = "REJECTED";
|
|
12
|
+
})(TransferStatusEnum || (exports.TransferStatusEnum = TransferStatusEnum = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Estructura común para override manual de validaciones (CNBV, blacklist, etc.)
|
|
3
|
+
* por parte de un operador u oficial de cumplimiento.
|
|
4
|
+
*
|
|
5
|
+
* Sólo debe setearse desde un endpoint backoffice autenticado para que
|
|
6
|
+
* `by` venga del JWT del operador y quede traza auditable.
|
|
7
|
+
*/
|
|
8
|
+
export interface ManualApproval {
|
|
9
|
+
/** email del operador que aprobó manualmente, tomado del JWT */
|
|
10
|
+
by: string;
|
|
11
|
+
/** ISO 8601 timestamp del momento de la aprobación */
|
|
12
|
+
at: string;
|
|
13
|
+
/** justificación obligatoria del override */
|
|
14
|
+
reason: string;
|
|
15
|
+
}
|
|
@@ -5,6 +5,7 @@ import { CPStatusEnum } from '../enums/CPStatusEnum';
|
|
|
5
5
|
import { InfoSelfVerifiedStatus } from '../enums/InfoSelfVerifiedStatus';
|
|
6
6
|
import { SexDocument } from '../enums/SexDocument';
|
|
7
7
|
import { IdentificationDocument } from './IdentificationDocument';
|
|
8
|
+
import { ManualApproval } from './ManualApproval';
|
|
8
9
|
export declare class PeopleResponse {
|
|
9
10
|
id: string;
|
|
10
11
|
createDate: string;
|
|
@@ -98,6 +99,7 @@ export declare class PeopleResponse {
|
|
|
98
99
|
SSN_ITINRequired: boolean | null;
|
|
99
100
|
hasSSN_ITIN: boolean | null;
|
|
100
101
|
geoAppproved?: boolean | null;
|
|
102
|
+
cnbvManualApproval?: ManualApproval | null;
|
|
101
103
|
};
|
|
102
104
|
SIN: string | null;
|
|
103
105
|
documentNumber: string;
|
|
@@ -4,6 +4,7 @@ import { CPStatusEnum } from "../enums/CPStatusEnum";
|
|
|
4
4
|
import { InfoSelfVerifiedStatus } from "../enums/InfoSelfVerifiedStatus";
|
|
5
5
|
import { SexDocument } from "../enums/SexDocument";
|
|
6
6
|
import { IdentificationDocument } from "./IdentificationDocument";
|
|
7
|
+
import { ManualApproval } from "./ManualApproval";
|
|
7
8
|
export declare class PeopleUpdateRequest {
|
|
8
9
|
id?: string;
|
|
9
10
|
creationMethod?: string;
|
|
@@ -48,6 +49,7 @@ export declare class PeopleUpdateRequest {
|
|
|
48
49
|
fiadoListApproved?: boolean | null;
|
|
49
50
|
ofacListApproved?: boolean | null;
|
|
50
51
|
cnbvListApproved?: boolean | null;
|
|
52
|
+
cnbvManualApproval?: ManualApproval | null;
|
|
51
53
|
blackListApproved?: boolean | null;
|
|
52
54
|
whiteList?: boolean | null;
|
|
53
55
|
hasOwner?: boolean;
|
package/bin/identity/index.d.ts
CHANGED
package/bin/identity/index.js
CHANGED
|
@@ -14,8 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
//dtos
|
|
17
|
+
//dtos
|
|
18
18
|
__exportStar(require("./dtos/IdentificationDocument"), exports);
|
|
19
|
+
__exportStar(require("./dtos/ManualApproval"), exports);
|
|
19
20
|
__exportStar(require("./dtos/PeopleCreateRequest"), exports);
|
|
20
21
|
__exportStar(require("./dtos/PeopleResponse"), exports);
|
|
21
22
|
__exportStar(require("./dtos/TypeOfDocument"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Estructura común para override manual de validaciones (CNBV, blacklist, etc.)
|
|
4
|
+
* por parte de un operador u oficial de cumplimiento.
|
|
5
|
+
*
|
|
6
|
+
* Sólo debe setearse desde un endpoint backoffice autenticado para que
|
|
7
|
+
* `by` venga del JWT del operador y quede traza auditable.
|
|
8
|
+
*/
|
|
9
|
+
export interface ManualApproval {
|
|
10
|
+
/** email del operador que aprobó manualmente, tomado del JWT */
|
|
11
|
+
by: string;
|
|
12
|
+
/** ISO 8601 timestamp del momento de la aprobación */
|
|
13
|
+
at: string;
|
|
14
|
+
/** justificación obligatoria del override */
|
|
15
|
+
reason: string;
|
|
16
|
+
}
|
|
@@ -6,6 +6,7 @@ import { CPStatusEnum } from '../enums/CPStatusEnum';
|
|
|
6
6
|
import { InfoSelfVerifiedStatus } from '../enums/InfoSelfVerifiedStatus';
|
|
7
7
|
import { SexDocument } from '../enums/SexDocument';
|
|
8
8
|
import { IdentificationDocument } from './IdentificationDocument';
|
|
9
|
+
import { ManualApproval } from './ManualApproval';
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
export class PeopleResponse {
|
|
@@ -101,7 +102,8 @@ export class PeopleResponse {
|
|
|
101
102
|
SSN_ITINRequired:boolean | null;
|
|
102
103
|
hasSSN_ITIN:boolean | null;
|
|
103
104
|
geoAppproved?:boolean | null;
|
|
104
|
-
|
|
105
|
+
cnbvManualApproval?: ManualApproval | null;
|
|
106
|
+
|
|
105
107
|
}
|
|
106
108
|
SIN: string | null;
|
|
107
109
|
documentNumber: string;
|
|
@@ -4,6 +4,7 @@ import { CPStatusEnum } from "../enums/CPStatusEnum";
|
|
|
4
4
|
import { InfoSelfVerifiedStatus } from "../enums/InfoSelfVerifiedStatus";
|
|
5
5
|
import { SexDocument } from "../enums/SexDocument";
|
|
6
6
|
import { IdentificationDocument } from "./IdentificationDocument";
|
|
7
|
+
import { ManualApproval } from "./ManualApproval";
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
export class PeopleUpdateRequest {
|
|
@@ -51,6 +52,7 @@ export class PeopleUpdateRequest {
|
|
|
51
52
|
fiadoListApproved?: boolean | null;
|
|
52
53
|
ofacListApproved?: boolean | null;
|
|
53
54
|
cnbvListApproved?: boolean | null;
|
|
55
|
+
cnbvManualApproval?: ManualApproval | null;
|
|
54
56
|
blackListApproved?: boolean | null;
|
|
55
57
|
whiteList?: boolean | null;
|
|
56
58
|
hasOwner?: boolean;
|
package/src/identity/index.ts
CHANGED