@fiado/type-kit 3.1.20 → 3.1.22
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/card/validations/CardUpdateKeyConstraint.js +2 -2
- package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
- package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +13 -0
- package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +71 -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/ExpedienteIdentityResponse.d.ts +40 -0
- package/bin/credit/dtos/ExpedienteIdentityResponse.js +25 -0
- package/bin/credit/dtos/ExpedienteResumenResponse.d.ts +30 -0
- package/bin/credit/dtos/ExpedienteResumenResponse.js +19 -0
- package/bin/credit/dtos/ExpedienteSearchItem.d.ts +12 -0
- package/bin/credit/dtos/ExpedienteSearchItem.js +10 -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/ExpedienteAccessActionEnum.d.ts +20 -0
- package/bin/credit/enums/ExpedienteAccessActionEnum.js +24 -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/credit/index.d.ts +4 -0
- package/bin/credit/index.js +4 -0
- package/bin/index.js +17 -7
- package/package.json +1 -1
- package/src/credit/dtos/ExpedienteIdentityResponse.ts +44 -0
- package/src/credit/dtos/ExpedienteResumenResponse.ts +34 -0
- package/src/credit/dtos/ExpedienteSearchItem.ts +13 -0
- package/src/credit/enums/ExpedienteAccessActionEnum.ts +20 -0
- package/src/credit/index.ts +4 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreditDisbursementRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../../helpers/constans/regex");
|
|
15
|
+
class CreditDisbursementRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.CreditDisbursementRequest = CreditDisbursementRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreditDisbursementRequest.prototype, "creditId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'directoryId must be a valid UUID v4' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreditDisbursementRequest.prototype, "directoryId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], CreditDisbursementRequest.prototype, "amount", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreditDisbursementRequest.prototype, "pagoConfiadoAccountId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreditDisbursementRequest.prototype, "fiadoIncAccountId", void 0);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreditProfileRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../../helpers/constans/regex");
|
|
15
|
+
class CreditProfileRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.CreditProfileRequest = CreditProfileRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'directoryId must be a valid UUID v4' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreditProfileRequest.prototype, "directoryId", void 0);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreditReversalRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreditReversalRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.CreditReversalRequest = CreditReversalRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreditReversalRequest.prototype, "originalTransactionId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreditReversalRequest.prototype, "creditId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreditReversalRequest.prototype, "reason", void 0);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreditTransferLoancoRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreditTransferLoancoRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.CreditTransferLoancoRequest = CreditTransferLoancoRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreditTransferLoancoRequest.prototype, "transferId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreditTransferLoancoRequest.prototype, "creditId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CreditTransferLoancoRequest.prototype, "amount", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreditTransferLoancoRequest.prototype, "fiadoIncAccountId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreditTransferLoancoRequest.prototype, "loancoAccountId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreditTransferLoancoRequest.prototype, "concept", void 0);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.DocumentSignRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DocumentSignRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.DocumentSignRequest = DocumentSignRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], DocumentSignRequest.prototype, "documentId", void 0);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LienApplyRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../../helpers/constans/regex");
|
|
15
|
+
class LienApplyRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.LienApplyRequest = LienApplyRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'directoryId must be a valid UUID v4' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], LienApplyRequest.prototype, "directoryId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LienApplyRequest.prototype, "creditId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsBoolean)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], LienApplyRequest.prototype, "active", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.Min)(1),
|
|
38
|
+
(0, class_validator_1.Max)(100),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], LienApplyRequest.prototype, "percentage", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], LienApplyRequest.prototype, "maxAmount", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CollectionFrequencyEnum = void 0;
|
|
4
|
+
var CollectionFrequencyEnum;
|
|
5
|
+
(function (CollectionFrequencyEnum) {
|
|
6
|
+
CollectionFrequencyEnum["WEEKLY"] = "WEEKLY";
|
|
7
|
+
CollectionFrequencyEnum["BIWEEKLY"] = "BIWEEKLY";
|
|
8
|
+
CollectionFrequencyEnum["MONTHLY"] = "MONTHLY";
|
|
9
|
+
})(CollectionFrequencyEnum || (exports.CollectionFrequencyEnum = CollectionFrequencyEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum CreditOperationEnum {
|
|
2
|
+
DISBURSEMENT = "DISBURSEMENT",
|
|
3
|
+
COLLECTION = "COLLECTION",
|
|
4
|
+
COLLECTION_PARTIAL = "COLLECTION_PARTIAL",
|
|
5
|
+
COLLECTION_LIEN = "COLLECTION_LIEN",
|
|
6
|
+
EARLY_PAYMENT = "EARLY_PAYMENT",
|
|
7
|
+
TRANSFER_LOANCO = "TRANSFER_LOANCO",
|
|
8
|
+
REVERSAL = "REVERSAL",
|
|
9
|
+
INTEREST_ACCRUAL = "INTEREST_ACCRUAL",
|
|
10
|
+
FEE_CHARGE = "FEE_CHARGE"
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditOperationEnum = void 0;
|
|
4
|
+
var CreditOperationEnum;
|
|
5
|
+
(function (CreditOperationEnum) {
|
|
6
|
+
CreditOperationEnum["DISBURSEMENT"] = "DISBURSEMENT";
|
|
7
|
+
CreditOperationEnum["COLLECTION"] = "COLLECTION";
|
|
8
|
+
CreditOperationEnum["COLLECTION_PARTIAL"] = "COLLECTION_PARTIAL";
|
|
9
|
+
CreditOperationEnum["COLLECTION_LIEN"] = "COLLECTION_LIEN";
|
|
10
|
+
CreditOperationEnum["EARLY_PAYMENT"] = "EARLY_PAYMENT";
|
|
11
|
+
CreditOperationEnum["TRANSFER_LOANCO"] = "TRANSFER_LOANCO";
|
|
12
|
+
CreditOperationEnum["REVERSAL"] = "REVERSAL";
|
|
13
|
+
CreditOperationEnum["INTEREST_ACCRUAL"] = "INTEREST_ACCRUAL";
|
|
14
|
+
CreditOperationEnum["FEE_CHARGE"] = "FEE_CHARGE";
|
|
15
|
+
})(CreditOperationEnum || (exports.CreditOperationEnum = CreditOperationEnum = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum CreditStatusEnum {
|
|
2
|
+
PENDING_APPROVAL = "PENDING_APPROVAL",
|
|
3
|
+
APPROVED = "APPROVED",
|
|
4
|
+
ACTIVE = "ACTIVE",
|
|
5
|
+
CURRENT = "CURRENT",
|
|
6
|
+
DELINQUENT = "DELINQUENT",
|
|
7
|
+
DEFAULTED = "DEFAULTED",
|
|
8
|
+
PAID_OFF = "PAID_OFF",
|
|
9
|
+
CANCELLED = "CANCELLED",
|
|
10
|
+
RETURNED_TO_LOANCO = "RETURNED_TO_LOANCO",
|
|
11
|
+
WRITTEN_OFF = "WRITTEN_OFF"
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditStatusEnum = void 0;
|
|
4
|
+
var CreditStatusEnum;
|
|
5
|
+
(function (CreditStatusEnum) {
|
|
6
|
+
CreditStatusEnum["PENDING_APPROVAL"] = "PENDING_APPROVAL";
|
|
7
|
+
CreditStatusEnum["APPROVED"] = "APPROVED";
|
|
8
|
+
CreditStatusEnum["ACTIVE"] = "ACTIVE";
|
|
9
|
+
CreditStatusEnum["CURRENT"] = "CURRENT";
|
|
10
|
+
CreditStatusEnum["DELINQUENT"] = "DELINQUENT";
|
|
11
|
+
CreditStatusEnum["DEFAULTED"] = "DEFAULTED";
|
|
12
|
+
CreditStatusEnum["PAID_OFF"] = "PAID_OFF";
|
|
13
|
+
CreditStatusEnum["CANCELLED"] = "CANCELLED";
|
|
14
|
+
CreditStatusEnum["RETURNED_TO_LOANCO"] = "RETURNED_TO_LOANCO";
|
|
15
|
+
CreditStatusEnum["WRITTEN_OFF"] = "WRITTEN_OFF";
|
|
16
|
+
})(CreditStatusEnum || (exports.CreditStatusEnum = CreditStatusEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DelinquencyLevelEnum = void 0;
|
|
4
|
+
var DelinquencyLevelEnum;
|
|
5
|
+
(function (DelinquencyLevelEnum) {
|
|
6
|
+
DelinquencyLevelEnum["CURRENT"] = "CURRENT";
|
|
7
|
+
DelinquencyLevelEnum["EARLY_1_7"] = "EARLY_1_7";
|
|
8
|
+
DelinquencyLevelEnum["EARLY_8_14"] = "EARLY_8_14";
|
|
9
|
+
DelinquencyLevelEnum["LATE_15_30"] = "LATE_15_30";
|
|
10
|
+
DelinquencyLevelEnum["LATE_31_60"] = "LATE_31_60";
|
|
11
|
+
DelinquencyLevelEnum["SEVERE_61_90"] = "SEVERE_61_90";
|
|
12
|
+
DelinquencyLevelEnum["DEFAULT_90_PLUS"] = "DEFAULT_90_PLUS";
|
|
13
|
+
})(DelinquencyLevelEnum || (exports.DelinquencyLevelEnum = DelinquencyLevelEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum DocumentTypeEnum {
|
|
2
|
+
CREDIT_CONTRACT = "CREDIT_CONTRACT",
|
|
3
|
+
CREDIT_STATEMENT = "CREDIT_STATEMENT",
|
|
4
|
+
CREDIT_AMORTIZATION = "CREDIT_AMORTIZATION",
|
|
5
|
+
CREDIT_COVER_SHEET = "CREDIT_COVER_SHEET",
|
|
6
|
+
ONBOARDING_CONTRACT = "ONBOARDING_CONTRACT",
|
|
7
|
+
ONBOARDING_IFPE = "ONBOARDING_IFPE"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentTypeEnum = void 0;
|
|
4
|
+
var DocumentTypeEnum;
|
|
5
|
+
(function (DocumentTypeEnum) {
|
|
6
|
+
DocumentTypeEnum["CREDIT_CONTRACT"] = "CREDIT_CONTRACT";
|
|
7
|
+
DocumentTypeEnum["CREDIT_STATEMENT"] = "CREDIT_STATEMENT";
|
|
8
|
+
DocumentTypeEnum["CREDIT_AMORTIZATION"] = "CREDIT_AMORTIZATION";
|
|
9
|
+
DocumentTypeEnum["CREDIT_COVER_SHEET"] = "CREDIT_COVER_SHEET";
|
|
10
|
+
DocumentTypeEnum["ONBOARDING_CONTRACT"] = "ONBOARDING_CONTRACT";
|
|
11
|
+
DocumentTypeEnum["ONBOARDING_IFPE"] = "ONBOARDING_IFPE";
|
|
12
|
+
})(DocumentTypeEnum || (exports.DocumentTypeEnum = DocumentTypeEnum = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Acciones auditables sobre el expediente regulatorio (P10).
|
|
3
|
+
* Cada endpoint de /credit/backoffice/expedientes/* registra una entrada en
|
|
4
|
+
* CreditExpedienteAccessLog_GT con uno de estos valores.
|
|
5
|
+
*
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ExpedienteAccessActionEnum {
|
|
9
|
+
VIEW_SEARCH_RESULT = "VIEW_SEARCH_RESULT",
|
|
10
|
+
VIEW_RESUMEN = "VIEW_RESUMEN",
|
|
11
|
+
VIEW_IDENTITY = "VIEW_IDENTITY",
|
|
12
|
+
VIEW_CONTRACTS = "VIEW_CONTRACTS",
|
|
13
|
+
VIEW_CONTRACT_DETAIL = "VIEW_CONTRACT_DETAIL",
|
|
14
|
+
VIEW_DOCUMENT = "VIEW_DOCUMENT",
|
|
15
|
+
VIEW_PROFILE = "VIEW_PROFILE",
|
|
16
|
+
VIEW_OFFERS = "VIEW_OFFERS",
|
|
17
|
+
VIEW_APPLICATIONS = "VIEW_APPLICATIONS",
|
|
18
|
+
VIEW_PAYMENTS = "VIEW_PAYMENTS",
|
|
19
|
+
VIEW_AUDIT_LOG = "VIEW_AUDIT_LOG"
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExpedienteAccessActionEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Acciones auditables sobre el expediente regulatorio (P10).
|
|
6
|
+
* Cada endpoint de /credit/backoffice/expedientes/* registra una entrada en
|
|
7
|
+
* CreditExpedienteAccessLog_GT con uno de estos valores.
|
|
8
|
+
*
|
|
9
|
+
* @enum {string}
|
|
10
|
+
*/
|
|
11
|
+
var ExpedienteAccessActionEnum;
|
|
12
|
+
(function (ExpedienteAccessActionEnum) {
|
|
13
|
+
ExpedienteAccessActionEnum["VIEW_SEARCH_RESULT"] = "VIEW_SEARCH_RESULT";
|
|
14
|
+
ExpedienteAccessActionEnum["VIEW_RESUMEN"] = "VIEW_RESUMEN";
|
|
15
|
+
ExpedienteAccessActionEnum["VIEW_IDENTITY"] = "VIEW_IDENTITY";
|
|
16
|
+
ExpedienteAccessActionEnum["VIEW_CONTRACTS"] = "VIEW_CONTRACTS";
|
|
17
|
+
ExpedienteAccessActionEnum["VIEW_CONTRACT_DETAIL"] = "VIEW_CONTRACT_DETAIL";
|
|
18
|
+
ExpedienteAccessActionEnum["VIEW_DOCUMENT"] = "VIEW_DOCUMENT";
|
|
19
|
+
ExpedienteAccessActionEnum["VIEW_PROFILE"] = "VIEW_PROFILE";
|
|
20
|
+
ExpedienteAccessActionEnum["VIEW_OFFERS"] = "VIEW_OFFERS";
|
|
21
|
+
ExpedienteAccessActionEnum["VIEW_APPLICATIONS"] = "VIEW_APPLICATIONS";
|
|
22
|
+
ExpedienteAccessActionEnum["VIEW_PAYMENTS"] = "VIEW_PAYMENTS";
|
|
23
|
+
ExpedienteAccessActionEnum["VIEW_AUDIT_LOG"] = "VIEW_AUDIT_LOG";
|
|
24
|
+
})(ExpedienteAccessActionEnum || (exports.ExpedienteAccessActionEnum = ExpedienteAccessActionEnum = {}));
|
|
@@ -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 = {}));
|
package/bin/credit/index.d.ts
CHANGED
|
@@ -3,12 +3,16 @@ export * from './enums/BannerStateEnum';
|
|
|
3
3
|
export * from './enums/IncomeFrequencyEnum';
|
|
4
4
|
export * from './enums/IncomeClassificationEnum';
|
|
5
5
|
export * from './enums/CreditOfferStatusEnum';
|
|
6
|
+
export * from './enums/ExpedienteAccessActionEnum';
|
|
6
7
|
export * from './dtos/BannerStateResponse';
|
|
7
8
|
export * from './dtos/EligibilityResponse';
|
|
8
9
|
export * from './dtos/CreditOfferConfigureRequest';
|
|
9
10
|
export * from './dtos/CreditOfferConfigureResponse';
|
|
10
11
|
export * from './dtos/CreditOfferOptionItem';
|
|
11
12
|
export * from './dtos/FinancialProfileResponse';
|
|
13
|
+
export * from './dtos/ExpedienteSearchItem';
|
|
14
|
+
export * from './dtos/ExpedienteResumenResponse';
|
|
15
|
+
export * from './dtos/ExpedienteIdentityResponse';
|
|
12
16
|
export * from './dtos/internal/CreditProfileResponse';
|
|
13
17
|
export * from './dtos/internal/CreditBalanceResponse';
|
|
14
18
|
export * from './dtos/internal/LienStatusResponse';
|
package/bin/credit/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./enums/BannerStateEnum"), exports);
|
|
|
20
20
|
__exportStar(require("./enums/IncomeFrequencyEnum"), exports);
|
|
21
21
|
__exportStar(require("./enums/IncomeClassificationEnum"), exports);
|
|
22
22
|
__exportStar(require("./enums/CreditOfferStatusEnum"), exports);
|
|
23
|
+
__exportStar(require("./enums/ExpedienteAccessActionEnum"), exports);
|
|
23
24
|
// DTOs
|
|
24
25
|
__exportStar(require("./dtos/BannerStateResponse"), exports);
|
|
25
26
|
__exportStar(require("./dtos/EligibilityResponse"), exports);
|
|
@@ -27,6 +28,9 @@ __exportStar(require("./dtos/CreditOfferConfigureRequest"), exports);
|
|
|
27
28
|
__exportStar(require("./dtos/CreditOfferConfigureResponse"), exports);
|
|
28
29
|
__exportStar(require("./dtos/CreditOfferOptionItem"), exports);
|
|
29
30
|
__exportStar(require("./dtos/FinancialProfileResponse"), exports);
|
|
31
|
+
__exportStar(require("./dtos/ExpedienteSearchItem"), exports);
|
|
32
|
+
__exportStar(require("./dtos/ExpedienteResumenResponse"), exports);
|
|
33
|
+
__exportStar(require("./dtos/ExpedienteIdentityResponse"), exports);
|
|
30
34
|
// DTOs internos (inter-service)
|
|
31
35
|
__exportStar(require("./dtos/internal/CreditProfileResponse"), exports);
|
|
32
36
|
__exportStar(require("./dtos/internal/CreditBalanceResponse"), exports);
|