@fiado/type-kit 3.0.12 → 3.0.14

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.
Files changed (172) hide show
  1. package/bin/account/dtos/AccountUpdateRequest.d.ts +0 -1
  2. package/bin/account/dtos/AccountUpdateRequest.js +0 -5
  3. package/bin/index.d.ts +0 -3
  4. package/bin/index.js +1 -4
  5. package/bin/productCatalog/enums/ProductSubtypeEnum.d.ts +1 -2
  6. package/bin/productCatalog/enums/ProductSubtypeEnum.js +0 -2
  7. package/bin/productCatalog/enums/ProductTypeEnum.d.ts +1 -2
  8. package/bin/productCatalog/enums/ProductTypeEnum.js +0 -1
  9. package/bin/referral-business/enums/AgentRoleEnum.d.ts +1 -2
  10. package/bin/referral-business/enums/AgentRoleEnum.js +0 -1
  11. package/package.json +1 -1
  12. package/src/index.ts +1 -0
  13. package/src/platformErrorEvents/dtos/internal/PlatformErrorEventMessage.ts +15 -0
  14. package/src/platformErrorEvents/enums/ErrorSeverityEnum.ts +6 -0
  15. package/src/platformErrorEvents/enums/ErrorStatusEnum.ts +5 -0
  16. package/src/platformErrorEvents/enums/ResolutionTypeEnum.ts +4 -0
  17. package/src/platformErrorEvents/index.ts +7 -0
  18. package/src/servicePayment/dtos/ServicePaymentRequest.ts +4 -0
  19. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +0 -13
  20. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +0 -71
  21. package/bin/comission-business/dtos/CreatePayableRequest.d.ts +0 -11
  22. package/bin/comission-business/dtos/CreatePayableRequest.js +0 -2
  23. package/bin/comission-business/dtos/CreatePaymentMadeRequest.d.ts +0 -11
  24. package/bin/comission-business/dtos/CreatePaymentMadeRequest.js +0 -2
  25. package/bin/comission-business/dtos/GenerateReportRequest.d.ts +0 -10
  26. package/bin/comission-business/dtos/GenerateReportRequest.js +0 -2
  27. package/bin/comission-business/dtos/GenerateReportResponse.d.ts +0 -6
  28. package/bin/comission-business/dtos/GenerateReportResponse.js +0 -2
  29. package/bin/comission-business/dtos/UpdateDepositRequest.d.ts +0 -7
  30. package/bin/comission-business/dtos/UpdateDepositRequest.js +0 -2
  31. package/bin/comission-business/dtos/UpdatePayableRequest.d.ts +0 -6
  32. package/bin/comission-business/dtos/UpdatePayableRequest.js +0 -2
  33. package/bin/comission-business/dtos/UpdatePaymentMadeRequest.d.ts +0 -13
  34. package/bin/comission-business/dtos/UpdatePaymentMadeRequest.js +0 -2
  35. package/bin/comission-business/enums/DepositStatusEnum.d.ts +0 -6
  36. package/bin/comission-business/enums/DepositStatusEnum.js +0 -10
  37. package/bin/comission-business/enums/PayableStatusEnum.d.ts +0 -6
  38. package/bin/comission-business/enums/PayableStatusEnum.js +0 -10
  39. package/bin/comission-business/enums/PaymentMethodEnum.d.ts +0 -5
  40. package/bin/comission-business/enums/PaymentMethodEnum.js +0 -9
  41. package/bin/comission-business/enums/PaymentStatusEnum.d.ts +0 -4
  42. package/bin/comission-business/enums/PaymentStatusEnum.js +0 -8
  43. package/bin/comission-business/enums/ReportConceptEnum.d.ts +0 -6
  44. package/bin/comission-business/enums/ReportConceptEnum.js +0 -10
  45. package/bin/comission-business/index.d.ts +0 -12
  46. package/bin/comission-business/index.js +0 -14
  47. package/bin/credit/dtos/BannerStateResponse.d.ts +0 -17
  48. package/bin/credit/dtos/BannerStateResponse.js +0 -9
  49. package/bin/credit/dtos/CreditBannerStateResponse.d.ts +0 -10
  50. package/bin/credit/dtos/CreditBannerStateResponse.js +0 -6
  51. package/bin/credit/dtos/CreditDetailResponse.d.ts +0 -23
  52. package/bin/credit/dtos/CreditDetailResponse.js +0 -6
  53. package/bin/credit/dtos/CreditEligibilityResponse.d.ts +0 -9
  54. package/bin/credit/dtos/CreditEligibilityResponse.js +0 -6
  55. package/bin/credit/dtos/CreditMovementResponse.d.ts +0 -20
  56. package/bin/credit/dtos/CreditMovementResponse.js +0 -9
  57. package/bin/credit/dtos/CreditOfferConfigureRequest.d.ts +0 -7
  58. package/bin/credit/dtos/CreditOfferConfigureRequest.js +0 -28
  59. package/bin/credit/dtos/CreditOfferConfigureResponse.d.ts +0 -13
  60. package/bin/credit/dtos/CreditOfferConfigureResponse.js +0 -9
  61. package/bin/credit/dtos/CreditOfferOptionItem.d.ts +0 -12
  62. package/bin/credit/dtos/CreditOfferOptionItem.js +0 -9
  63. package/bin/credit/dtos/CreditRequestCreate.d.ts +0 -4
  64. package/bin/credit/dtos/CreditRequestCreate.js +0 -26
  65. package/bin/credit/dtos/CreditRequestResponse.d.ts +0 -7
  66. package/bin/credit/dtos/CreditRequestResponse.js +0 -6
  67. package/bin/credit/dtos/CreditScheduleResponse.d.ts +0 -18
  68. package/bin/credit/dtos/CreditScheduleResponse.js +0 -9
  69. package/bin/credit/dtos/CreditStatementResponse.d.ts +0 -11
  70. package/bin/credit/dtos/CreditStatementResponse.js +0 -9
  71. package/bin/credit/dtos/EarlyPaymentRequest.d.ts +0 -7
  72. package/bin/credit/dtos/EarlyPaymentRequest.js +0 -37
  73. package/bin/credit/dtos/EarlyPaymentResponse.d.ts +0 -11
  74. package/bin/credit/dtos/EarlyPaymentResponse.js +0 -6
  75. package/bin/credit/dtos/EligibilityResponse.d.ts +0 -13
  76. package/bin/credit/dtos/EligibilityResponse.js +0 -9
  77. package/bin/credit/dtos/FinancialProfileResponse.d.ts +0 -33
  78. package/bin/credit/dtos/FinancialProfileResponse.js +0 -9
  79. package/bin/credit/dtos/internal/CreditBalanceRequest.d.ts +0 -3
  80. package/bin/credit/dtos/internal/CreditBalanceRequest.js +0 -21
  81. package/bin/credit/dtos/internal/CreditBalanceResponse.d.ts +0 -10
  82. package/bin/credit/dtos/internal/CreditBalanceResponse.js +0 -6
  83. package/bin/credit/dtos/internal/CreditCollectionRequest.d.ts +0 -11
  84. package/bin/credit/dtos/internal/CreditCollectionRequest.js +0 -59
  85. package/bin/credit/dtos/internal/CreditCollectionResponse.d.ts +0 -12
  86. package/bin/credit/dtos/internal/CreditCollectionResponse.js +0 -6
  87. package/bin/credit/dtos/internal/CreditDisbursementRequest.d.ts +0 -7
  88. package/bin/credit/dtos/internal/CreditDisbursementRequest.js +0 -43
  89. package/bin/credit/dtos/internal/CreditDisbursementResponse.d.ts +0 -8
  90. package/bin/credit/dtos/internal/CreditDisbursementResponse.js +0 -6
  91. package/bin/credit/dtos/internal/CreditProfileRequest.d.ts +0 -3
  92. package/bin/credit/dtos/internal/CreditProfileRequest.js +0 -23
  93. package/bin/credit/dtos/internal/CreditProfileResponse.d.ts +0 -13
  94. package/bin/credit/dtos/internal/CreditProfileResponse.js +0 -6
  95. package/bin/credit/dtos/internal/CreditQueueMessage.d.ts +0 -9
  96. package/bin/credit/dtos/internal/CreditQueueMessage.js +0 -6
  97. package/bin/credit/dtos/internal/CreditReversalRequest.d.ts +0 -5
  98. package/bin/credit/dtos/internal/CreditReversalRequest.js +0 -31
  99. package/bin/credit/dtos/internal/CreditReversalResponse.d.ts +0 -7
  100. package/bin/credit/dtos/internal/CreditReversalResponse.js +0 -6
  101. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.d.ts +0 -8
  102. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.js +0 -46
  103. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.d.ts +0 -8
  104. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.js +0 -6
  105. package/bin/credit/dtos/internal/DocumentGenerateRequest.d.ts +0 -10
  106. package/bin/credit/dtos/internal/DocumentGenerateRequest.js +0 -53
  107. package/bin/credit/dtos/internal/DocumentGenerateResponse.d.ts +0 -12
  108. package/bin/credit/dtos/internal/DocumentGenerateResponse.js +0 -6
  109. package/bin/credit/dtos/internal/DocumentSignRequest.d.ts +0 -3
  110. package/bin/credit/dtos/internal/DocumentSignRequest.js +0 -21
  111. package/bin/credit/dtos/internal/LienApplyRequest.d.ts +0 -7
  112. package/bin/credit/dtos/internal/LienApplyRequest.js +0 -45
  113. package/bin/credit/dtos/internal/LienStatusResponse.d.ts +0 -9
  114. package/bin/credit/dtos/internal/LienStatusResponse.js +0 -6
  115. package/bin/credit/enums/BannerStateEnum.d.ts +0 -15
  116. package/bin/credit/enums/BannerStateEnum.js +0 -19
  117. package/bin/credit/enums/CollectionFrequencyEnum.d.ts +0 -5
  118. package/bin/credit/enums/CollectionFrequencyEnum.js +0 -9
  119. package/bin/credit/enums/CreditLevelEnum.d.ts +0 -15
  120. package/bin/credit/enums/CreditLevelEnum.js +0 -19
  121. package/bin/credit/enums/CreditOfferStatusEnum.d.ts +0 -17
  122. package/bin/credit/enums/CreditOfferStatusEnum.js +0 -21
  123. package/bin/credit/enums/CreditOperationEnum.d.ts +0 -11
  124. package/bin/credit/enums/CreditOperationEnum.js +0 -15
  125. package/bin/credit/enums/CreditStatusEnum.d.ts +0 -12
  126. package/bin/credit/enums/CreditStatusEnum.js +0 -16
  127. package/bin/credit/enums/DelinquencyLevelEnum.d.ts +0 -9
  128. package/bin/credit/enums/DelinquencyLevelEnum.js +0 -13
  129. package/bin/credit/enums/DocumentTypeEnum.d.ts +0 -8
  130. package/bin/credit/enums/DocumentTypeEnum.js +0 -12
  131. package/bin/credit/enums/IncomeClassificationEnum.d.ts +0 -15
  132. package/bin/credit/enums/IncomeClassificationEnum.js +0 -19
  133. package/bin/credit/enums/IncomeFrequencyEnum.d.ts +0 -17
  134. package/bin/credit/enums/IncomeFrequencyEnum.js +0 -21
  135. package/bin/credit/enums/OfferStatusEnum.d.ts +0 -8
  136. package/bin/credit/enums/OfferStatusEnum.js +0 -12
  137. package/bin/credit/enums/PaymentTypeEnum.d.ts +0 -9
  138. package/bin/credit/enums/PaymentTypeEnum.js +0 -13
  139. package/bin/credit/enums/ReconciliationStatusEnum.d.ts +0 -6
  140. package/bin/credit/enums/ReconciliationStatusEnum.js +0 -10
  141. package/bin/credit/enums/TransferStatusEnum.d.ts +0 -8
  142. package/bin/credit/enums/TransferStatusEnum.js +0 -12
  143. package/bin/credit/index.d.ts +0 -14
  144. package/bin/credit/index.js +0 -33
  145. package/bin/credit/interfaces/IIncomeDetectionMessage.d.ts +0 -9
  146. package/bin/credit/interfaces/IIncomeDetectionMessage.js +0 -2
  147. package/bin/credit/interfaces/IOfferGenerationMessage.d.ts +0 -8
  148. package/bin/credit/interfaces/IOfferGenerationMessage.js +0 -2
  149. package/bin/credit/interfaces/IScoringMessage.d.ts +0 -8
  150. package/bin/credit/interfaces/IScoringMessage.js +0 -2
  151. package/bin/creditEngine/dtos/CreditDetailResponse.d.ts +0 -17
  152. package/bin/creditEngine/dtos/CreditDetailResponse.js +0 -9
  153. package/bin/creditEngine/dtos/CreditOriginationRequest.d.ts +0 -8
  154. package/bin/creditEngine/dtos/CreditOriginationRequest.js +0 -34
  155. package/bin/creditEngine/dtos/CreditOriginationResponse.d.ts +0 -9
  156. package/bin/creditEngine/dtos/CreditOriginationResponse.js +0 -9
  157. package/bin/creditEngine/dtos/CreditSignatureRequest.d.ts +0 -7
  158. package/bin/creditEngine/dtos/CreditSignatureRequest.js +0 -28
  159. package/bin/creditEngine/dtos/DisbursementRequest.d.ts +0 -10
  160. package/bin/creditEngine/dtos/DisbursementRequest.js +0 -44
  161. package/bin/creditEngine/dtos/PaymentScheduleItemResponse.d.ts +0 -13
  162. package/bin/creditEngine/dtos/PaymentScheduleItemResponse.js +0 -9
  163. package/bin/creditEngine/enums/CouponStatusEnum.d.ts +0 -15
  164. package/bin/creditEngine/enums/CouponStatusEnum.js +0 -19
  165. package/bin/creditEngine/enums/CreditApplicationStatusEnum.d.ts +0 -19
  166. package/bin/creditEngine/enums/CreditApplicationStatusEnum.js +0 -23
  167. package/bin/creditEngine/enums/CreditLevelEnum.d.ts +0 -15
  168. package/bin/creditEngine/enums/CreditLevelEnum.js +0 -19
  169. package/bin/creditEngine/enums/CreditStatusEnum.d.ts +0 -17
  170. package/bin/creditEngine/enums/CreditStatusEnum.js +0 -21
  171. package/bin/creditEngine/index.d.ts +0 -10
  172. package/bin/creditEngine/index.js +0 -26
@@ -1,7 +0,0 @@
1
- export declare class CreditReversalResponse {
2
- reversalTransactionId: string;
3
- originalTransactionId: string;
4
- amount: number;
5
- status: 'COMPLETED' | 'FAILED';
6
- timestamp: string;
7
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditReversalResponse = void 0;
4
- class CreditReversalResponse {
5
- }
6
- exports.CreditReversalResponse = CreditReversalResponse;
@@ -1,8 +0,0 @@
1
- export declare class CreditTransferLoancoRequest {
2
- transferId: string;
3
- creditId: string;
4
- amount: number;
5
- fiadoIncAccountId: string;
6
- loancoAccountId: string;
7
- concept: string;
8
- }
@@ -1,46 +0,0 @@
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);
@@ -1,8 +0,0 @@
1
- import { TransferStatusEnum } from "../../enums/TransferStatusEnum";
2
- export declare class CreditTransferLoancoResponse {
3
- transferId: string;
4
- transactionId: string;
5
- amount: number;
6
- status: TransferStatusEnum;
7
- timestamp: string;
8
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditTransferLoancoResponse = void 0;
4
- class CreditTransferLoancoResponse {
5
- }
6
- exports.CreditTransferLoancoResponse = CreditTransferLoancoResponse;
@@ -1,10 +0,0 @@
1
- import { DocumentTypeEnum } from "../../enums/DocumentTypeEnum";
2
- export declare class DocumentGenerateRequest {
3
- templateId: string;
4
- referenceType: DocumentTypeEnum;
5
- referenceId: string;
6
- directoryId: string;
7
- variables: Record<string, any>;
8
- sign?: boolean;
9
- expiresInDays?: number | null;
10
- }
@@ -1,53 +0,0 @@
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.DocumentGenerateRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const regex_1 = require("../../../helpers/constans/regex");
15
- const DocumentTypeEnum_1 = require("../../enums/DocumentTypeEnum");
16
- class DocumentGenerateRequest {
17
- }
18
- exports.DocumentGenerateRequest = DocumentGenerateRequest;
19
- __decorate([
20
- (0, class_validator_1.IsString)(),
21
- (0, class_validator_1.IsNotEmpty)(),
22
- __metadata("design:type", String)
23
- ], DocumentGenerateRequest.prototype, "templateId", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsEnum)(DocumentTypeEnum_1.DocumentTypeEnum),
26
- (0, class_validator_1.IsNotEmpty)(),
27
- __metadata("design:type", String)
28
- ], DocumentGenerateRequest.prototype, "referenceType", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsString)(),
31
- (0, class_validator_1.IsNotEmpty)(),
32
- __metadata("design:type", String)
33
- ], DocumentGenerateRequest.prototype, "referenceId", void 0);
34
- __decorate([
35
- (0, class_validator_1.IsString)(),
36
- (0, class_validator_1.IsNotEmpty)(),
37
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'directoryId must be a valid UUID v4' }),
38
- __metadata("design:type", String)
39
- ], DocumentGenerateRequest.prototype, "directoryId", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsNotEmpty)(),
42
- __metadata("design:type", Object)
43
- ], DocumentGenerateRequest.prototype, "variables", void 0);
44
- __decorate([
45
- (0, class_validator_1.IsBoolean)(),
46
- (0, class_validator_1.IsOptional)(),
47
- __metadata("design:type", Boolean)
48
- ], DocumentGenerateRequest.prototype, "sign", void 0);
49
- __decorate([
50
- (0, class_validator_1.IsNumber)(),
51
- (0, class_validator_1.IsOptional)(),
52
- __metadata("design:type", Number)
53
- ], DocumentGenerateRequest.prototype, "expiresInDays", void 0);
@@ -1,12 +0,0 @@
1
- export declare class DocumentGenerateResponse {
2
- documentId: string;
3
- referenceType: string;
4
- referenceId: string;
5
- directoryId: string;
6
- s3Key: string;
7
- signed: boolean;
8
- signedAt: string | null;
9
- createdAt: string;
10
- expiresAt: string | null;
11
- downloadUrl: string | null;
12
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DocumentGenerateResponse = void 0;
4
- class DocumentGenerateResponse {
5
- }
6
- exports.DocumentGenerateResponse = DocumentGenerateResponse;
@@ -1,3 +0,0 @@
1
- export declare class DocumentSignRequest {
2
- documentId: string;
3
- }
@@ -1,21 +0,0 @@
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);
@@ -1,7 +0,0 @@
1
- export declare class LienApplyRequest {
2
- directoryId: string;
3
- creditId: string;
4
- active: boolean;
5
- percentage?: number;
6
- maxAmount?: number;
7
- }
@@ -1,45 +0,0 @@
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);
@@ -1,9 +0,0 @@
1
- export declare class LienStatusResponse {
2
- directoryId: string;
3
- creditId: string;
4
- lienActive: boolean;
5
- lienPercentage: number;
6
- lienMaxAmount: number | null;
7
- totalCollectedByLien: number;
8
- lastLienDate: string | null;
9
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LienStatusResponse = void 0;
4
- class LienStatusResponse {
5
- }
6
- exports.LienStatusResponse = LienStatusResponse;
@@ -1,15 +0,0 @@
1
- /**
2
- * Estados del banner de nurturing de credito
3
- * @enum {string}
4
- *
5
- * @property {string} NO_PAYROLL - Sin deposito directo
6
- * @property {string} IN_PROGRESS - Perfil en analisis
7
- * @property {string} ELIGIBLE - Elegible para credito
8
- * @property {string} HAS_ACTIVE_CREDIT - Ya tiene credito activo
9
- */
10
- export declare enum BannerStateEnum {
11
- NO_PAYROLL = "NO_PAYROLL",
12
- IN_PROGRESS = "IN_PROGRESS",
13
- ELIGIBLE = "ELIGIBLE",
14
- HAS_ACTIVE_CREDIT = "HAS_ACTIVE_CREDIT"
15
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BannerStateEnum = void 0;
4
- /**
5
- * Estados del banner de nurturing de credito
6
- * @enum {string}
7
- *
8
- * @property {string} NO_PAYROLL - Sin deposito directo
9
- * @property {string} IN_PROGRESS - Perfil en analisis
10
- * @property {string} ELIGIBLE - Elegible para credito
11
- * @property {string} HAS_ACTIVE_CREDIT - Ya tiene credito activo
12
- */
13
- var BannerStateEnum;
14
- (function (BannerStateEnum) {
15
- BannerStateEnum["NO_PAYROLL"] = "NO_PAYROLL";
16
- BannerStateEnum["IN_PROGRESS"] = "IN_PROGRESS";
17
- BannerStateEnum["ELIGIBLE"] = "ELIGIBLE";
18
- BannerStateEnum["HAS_ACTIVE_CREDIT"] = "HAS_ACTIVE_CREDIT";
19
- })(BannerStateEnum || (exports.BannerStateEnum = BannerStateEnum = {}));
@@ -1,5 +0,0 @@
1
- export declare enum CollectionFrequencyEnum {
2
- WEEKLY = "WEEKLY",
3
- BIWEEKLY = "BIWEEKLY",
4
- MONTHLY = "MONTHLY"
5
- }
@@ -1,9 +0,0 @@
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 = {}));
@@ -1,15 +0,0 @@
1
- /**
2
- * Niveles crediticios del modulo de credito
3
- * @enum {string}
4
- *
5
- * @property {string} BRONZE - Nivel inicial
6
- * @property {string} SILVER - Nivel intermedio bajo
7
- * @property {string} GOLD - Nivel intermedio alto
8
- * @property {string} PLATINUM - Nivel maximo
9
- */
10
- export declare enum CreditLevelEnum {
11
- BRONZE = "BRONZE",
12
- SILVER = "SILVER",
13
- GOLD = "GOLD",
14
- PLATINUM = "PLATINUM"
15
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditLevelEnum = void 0;
4
- /**
5
- * Niveles crediticios del modulo de credito
6
- * @enum {string}
7
- *
8
- * @property {string} BRONZE - Nivel inicial
9
- * @property {string} SILVER - Nivel intermedio bajo
10
- * @property {string} GOLD - Nivel intermedio alto
11
- * @property {string} PLATINUM - Nivel maximo
12
- */
13
- var CreditLevelEnum;
14
- (function (CreditLevelEnum) {
15
- CreditLevelEnum["BRONZE"] = "BRONZE";
16
- CreditLevelEnum["SILVER"] = "SILVER";
17
- CreditLevelEnum["GOLD"] = "GOLD";
18
- CreditLevelEnum["PLATINUM"] = "PLATINUM";
19
- })(CreditLevelEnum || (exports.CreditLevelEnum = CreditLevelEnum = {}));
@@ -1,17 +0,0 @@
1
- /**
2
- * Estados de una oferta de credito
3
- * @enum {string}
4
- *
5
- * @property {string} VIEWING - Oferta activa siendo visualizada
6
- * @property {string} ACCEPTED - Oferta aceptada por el cliente
7
- * @property {string} ABANDONED - Oferta abandonada
8
- * @property {string} EXPIRED - Oferta expirada
9
- * @property {string} CONVERTED - Oferta convertida en credito activo
10
- */
11
- export declare enum CreditOfferStatusEnum {
12
- VIEWING = "VIEWING",
13
- ACCEPTED = "ACCEPTED",
14
- ABANDONED = "ABANDONED",
15
- EXPIRED = "EXPIRED",
16
- CONVERTED = "CONVERTED"
17
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditOfferStatusEnum = void 0;
4
- /**
5
- * Estados de una oferta de credito
6
- * @enum {string}
7
- *
8
- * @property {string} VIEWING - Oferta activa siendo visualizada
9
- * @property {string} ACCEPTED - Oferta aceptada por el cliente
10
- * @property {string} ABANDONED - Oferta abandonada
11
- * @property {string} EXPIRED - Oferta expirada
12
- * @property {string} CONVERTED - Oferta convertida en credito activo
13
- */
14
- var CreditOfferStatusEnum;
15
- (function (CreditOfferStatusEnum) {
16
- CreditOfferStatusEnum["VIEWING"] = "VIEWING";
17
- CreditOfferStatusEnum["ACCEPTED"] = "ACCEPTED";
18
- CreditOfferStatusEnum["ABANDONED"] = "ABANDONED";
19
- CreditOfferStatusEnum["EXPIRED"] = "EXPIRED";
20
- CreditOfferStatusEnum["CONVERTED"] = "CONVERTED";
21
- })(CreditOfferStatusEnum || (exports.CreditOfferStatusEnum = CreditOfferStatusEnum = {}));
@@ -1,11 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 = {}));
@@ -1,12 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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 = {}));
@@ -1,9 +0,0 @@
1
- export declare enum DelinquencyLevelEnum {
2
- CURRENT = "CURRENT",
3
- EARLY_1_7 = "EARLY_1_7",
4
- EARLY_8_14 = "EARLY_8_14",
5
- LATE_15_30 = "LATE_15_30",
6
- LATE_31_60 = "LATE_31_60",
7
- SEVERE_61_90 = "SEVERE_61_90",
8
- DEFAULT_90_PLUS = "DEFAULT_90_PLUS"
9
- }
@@ -1,13 +0,0 @@
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 = {}));
@@ -1,8 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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 = {}));
@@ -1,15 +0,0 @@
1
- /**
2
- * Clasificacion de fuentes de ingreso detectadas
3
- * @enum {string}
4
- *
5
- * @property {string} PRIMARY - Fuente principal de ingreso
6
- * @property {string} SECONDARY - Fuente secundaria de ingreso
7
- * @property {string} SPORADIC - Ingreso esporadico
8
- * @property {string} UNIDENTIFIED - Fuente no identificada
9
- */
10
- export declare enum IncomeClassificationEnum {
11
- PRIMARY = "PRIMARY",
12
- SECONDARY = "SECONDARY",
13
- SPORADIC = "SPORADIC",
14
- UNIDENTIFIED = "UNIDENTIFIED"
15
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IncomeClassificationEnum = void 0;
4
- /**
5
- * Clasificacion de fuentes de ingreso detectadas
6
- * @enum {string}
7
- *
8
- * @property {string} PRIMARY - Fuente principal de ingreso
9
- * @property {string} SECONDARY - Fuente secundaria de ingreso
10
- * @property {string} SPORADIC - Ingreso esporadico
11
- * @property {string} UNIDENTIFIED - Fuente no identificada
12
- */
13
- var IncomeClassificationEnum;
14
- (function (IncomeClassificationEnum) {
15
- IncomeClassificationEnum["PRIMARY"] = "PRIMARY";
16
- IncomeClassificationEnum["SECONDARY"] = "SECONDARY";
17
- IncomeClassificationEnum["SPORADIC"] = "SPORADIC";
18
- IncomeClassificationEnum["UNIDENTIFIED"] = "UNIDENTIFIED";
19
- })(IncomeClassificationEnum || (exports.IncomeClassificationEnum = IncomeClassificationEnum = {}));
@@ -1,17 +0,0 @@
1
- /**
2
- * Frecuencias detectadas de depositos de ingreso
3
- * @enum {string}
4
- *
5
- * @property {string} DAILY - Diario (0-4 dias entre depositos)
6
- * @property {string} WEEKLY - Semanal (5-11 dias)
7
- * @property {string} BIWEEKLY - Quincenal (12-24 dias)
8
- * @property {string} MONTHLY - Mensual (25-35 dias)
9
- * @property {string} IRREGULAR - Irregular (36+ dias)
10
- */
11
- export declare enum IncomeFrequencyEnum {
12
- DAILY = "DAILY",
13
- WEEKLY = "WEEKLY",
14
- BIWEEKLY = "BIWEEKLY",
15
- MONTHLY = "MONTHLY",
16
- IRREGULAR = "IRREGULAR"
17
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IncomeFrequencyEnum = void 0;
4
- /**
5
- * Frecuencias detectadas de depositos de ingreso
6
- * @enum {string}
7
- *
8
- * @property {string} DAILY - Diario (0-4 dias entre depositos)
9
- * @property {string} WEEKLY - Semanal (5-11 dias)
10
- * @property {string} BIWEEKLY - Quincenal (12-24 dias)
11
- * @property {string} MONTHLY - Mensual (25-35 dias)
12
- * @property {string} IRREGULAR - Irregular (36+ dias)
13
- */
14
- var IncomeFrequencyEnum;
15
- (function (IncomeFrequencyEnum) {
16
- IncomeFrequencyEnum["DAILY"] = "DAILY";
17
- IncomeFrequencyEnum["WEEKLY"] = "WEEKLY";
18
- IncomeFrequencyEnum["BIWEEKLY"] = "BIWEEKLY";
19
- IncomeFrequencyEnum["MONTHLY"] = "MONTHLY";
20
- IncomeFrequencyEnum["IRREGULAR"] = "IRREGULAR";
21
- })(IncomeFrequencyEnum || (exports.IncomeFrequencyEnum = IncomeFrequencyEnum = {}));
@@ -1,8 +0,0 @@
1
- export declare enum OfferStatusEnum {
2
- NOT_ELIGIBLE = "NOT_ELIGIBLE",
3
- PRE_QUALIFIED = "PRE_QUALIFIED",
4
- OFFER_AVAILABLE = "OFFER_AVAILABLE",
5
- OFFER_CONFIGURED = "OFFER_CONFIGURED",
6
- OFFER_ACCEPTED = "OFFER_ACCEPTED",
7
- OFFER_EXPIRED = "OFFER_EXPIRED"
8
- }
@@ -1,12 +0,0 @@
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 = {}));
@@ -1,9 +0,0 @@
1
- export declare enum PaymentTypeEnum {
2
- REGULAR = "REGULAR",
3
- PARTIAL = "PARTIAL",
4
- EARLY_ANTICIPATED = "EARLY_ANTICIPATED",
5
- EARLY_ADVANCED = "EARLY_ADVANCED",
6
- EARLY_SETTLEMENT = "EARLY_SETTLEMENT",
7
- LIEN = "LIEN",
8
- REVERSAL = "REVERSAL"
9
- }