@fiado/type-kit 3.0.13 → 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 (190) hide show
  1. package/bin/account/dtos/AccountUpdateRequest.d.ts +0 -1
  2. package/bin/account/dtos/AccountUpdateRequest.js +0 -5
  3. package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
  4. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  5. package/bin/index.d.ts +0 -3
  6. package/bin/index.js +18 -11
  7. package/bin/productCatalog/enums/ProductSubtypeEnum.d.ts +1 -2
  8. package/bin/productCatalog/enums/ProductSubtypeEnum.js +0 -2
  9. package/bin/productCatalog/enums/ProductTypeEnum.d.ts +1 -2
  10. package/bin/productCatalog/enums/ProductTypeEnum.js +0 -1
  11. package/bin/referral-business/enums/AgentRoleEnum.d.ts +1 -2
  12. package/bin/referral-business/enums/AgentRoleEnum.js +0 -1
  13. package/bin/servicePayment/dtos/ServicePaymentRequest.d.ts +0 -2
  14. package/package.json +1 -1
  15. package/src/index.ts +1 -0
  16. package/src/platformErrorEvents/dtos/internal/PlatformErrorEventMessage.ts +15 -0
  17. package/src/platformErrorEvents/enums/ErrorSeverityEnum.ts +6 -0
  18. package/src/platformErrorEvents/enums/ErrorStatusEnum.ts +5 -0
  19. package/src/platformErrorEvents/enums/ResolutionTypeEnum.ts +4 -0
  20. package/src/platformErrorEvents/index.ts +7 -0
  21. package/bin/bankAccount/dtos/ExternalAccountType.d.ts +0 -4
  22. package/bin/bankAccount/dtos/ExternalAccountType.js +0 -6
  23. package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.d.ts +0 -6
  24. package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.js +0 -6
  25. package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.d.ts +0 -6
  26. package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.js +0 -6
  27. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +0 -13
  28. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +0 -71
  29. package/bin/comission-business/dtos/CreatePayableRequest.d.ts +0 -11
  30. package/bin/comission-business/dtos/CreatePayableRequest.js +0 -2
  31. package/bin/comission-business/dtos/CreatePaymentMadeRequest.d.ts +0 -11
  32. package/bin/comission-business/dtos/CreatePaymentMadeRequest.js +0 -2
  33. package/bin/comission-business/dtos/GenerateReportRequest.d.ts +0 -10
  34. package/bin/comission-business/dtos/GenerateReportRequest.js +0 -2
  35. package/bin/comission-business/dtos/GenerateReportResponse.d.ts +0 -6
  36. package/bin/comission-business/dtos/GenerateReportResponse.js +0 -2
  37. package/bin/comission-business/dtos/UpdateDepositRequest.d.ts +0 -7
  38. package/bin/comission-business/dtos/UpdateDepositRequest.js +0 -2
  39. package/bin/comission-business/dtos/UpdatePayableRequest.d.ts +0 -6
  40. package/bin/comission-business/dtos/UpdatePayableRequest.js +0 -2
  41. package/bin/comission-business/dtos/UpdatePaymentMadeRequest.d.ts +0 -13
  42. package/bin/comission-business/dtos/UpdatePaymentMadeRequest.js +0 -2
  43. package/bin/comission-business/enums/DepositStatusEnum.d.ts +0 -6
  44. package/bin/comission-business/enums/DepositStatusEnum.js +0 -10
  45. package/bin/comission-business/enums/PayableStatusEnum.d.ts +0 -6
  46. package/bin/comission-business/enums/PayableStatusEnum.js +0 -10
  47. package/bin/comission-business/enums/PaymentMethodEnum.d.ts +0 -5
  48. package/bin/comission-business/enums/PaymentMethodEnum.js +0 -9
  49. package/bin/comission-business/enums/PaymentStatusEnum.d.ts +0 -4
  50. package/bin/comission-business/enums/PaymentStatusEnum.js +0 -8
  51. package/bin/comission-business/enums/ReportConceptEnum.d.ts +0 -6
  52. package/bin/comission-business/enums/ReportConceptEnum.js +0 -10
  53. package/bin/comission-business/index.d.ts +0 -12
  54. package/bin/comission-business/index.js +0 -14
  55. package/bin/credit/dtos/BannerStateResponse.d.ts +0 -17
  56. package/bin/credit/dtos/BannerStateResponse.js +0 -9
  57. package/bin/credit/dtos/CreditBannerStateResponse.d.ts +0 -10
  58. package/bin/credit/dtos/CreditBannerStateResponse.js +0 -6
  59. package/bin/credit/dtos/CreditDetailResponse.d.ts +0 -23
  60. package/bin/credit/dtos/CreditDetailResponse.js +0 -6
  61. package/bin/credit/dtos/CreditEligibilityResponse.d.ts +0 -9
  62. package/bin/credit/dtos/CreditEligibilityResponse.js +0 -6
  63. package/bin/credit/dtos/CreditMovementResponse.d.ts +0 -20
  64. package/bin/credit/dtos/CreditMovementResponse.js +0 -9
  65. package/bin/credit/dtos/CreditOfferConfigureRequest.d.ts +0 -7
  66. package/bin/credit/dtos/CreditOfferConfigureRequest.js +0 -28
  67. package/bin/credit/dtos/CreditOfferConfigureResponse.d.ts +0 -13
  68. package/bin/credit/dtos/CreditOfferConfigureResponse.js +0 -9
  69. package/bin/credit/dtos/CreditOfferOptionItem.d.ts +0 -12
  70. package/bin/credit/dtos/CreditOfferOptionItem.js +0 -9
  71. package/bin/credit/dtos/CreditRequestCreate.d.ts +0 -4
  72. package/bin/credit/dtos/CreditRequestCreate.js +0 -26
  73. package/bin/credit/dtos/CreditRequestResponse.d.ts +0 -7
  74. package/bin/credit/dtos/CreditRequestResponse.js +0 -6
  75. package/bin/credit/dtos/CreditScheduleResponse.d.ts +0 -18
  76. package/bin/credit/dtos/CreditScheduleResponse.js +0 -9
  77. package/bin/credit/dtos/CreditStatementResponse.d.ts +0 -11
  78. package/bin/credit/dtos/CreditStatementResponse.js +0 -9
  79. package/bin/credit/dtos/EarlyPaymentRequest.d.ts +0 -7
  80. package/bin/credit/dtos/EarlyPaymentRequest.js +0 -37
  81. package/bin/credit/dtos/EarlyPaymentResponse.d.ts +0 -11
  82. package/bin/credit/dtos/EarlyPaymentResponse.js +0 -6
  83. package/bin/credit/dtos/EligibilityResponse.d.ts +0 -13
  84. package/bin/credit/dtos/EligibilityResponse.js +0 -9
  85. package/bin/credit/dtos/FinancialProfileResponse.d.ts +0 -33
  86. package/bin/credit/dtos/FinancialProfileResponse.js +0 -9
  87. package/bin/credit/dtos/internal/CreditBalanceRequest.d.ts +0 -3
  88. package/bin/credit/dtos/internal/CreditBalanceRequest.js +0 -21
  89. package/bin/credit/dtos/internal/CreditBalanceResponse.d.ts +0 -10
  90. package/bin/credit/dtos/internal/CreditBalanceResponse.js +0 -6
  91. package/bin/credit/dtos/internal/CreditCollectionRequest.d.ts +0 -11
  92. package/bin/credit/dtos/internal/CreditCollectionRequest.js +0 -59
  93. package/bin/credit/dtos/internal/CreditCollectionResponse.d.ts +0 -12
  94. package/bin/credit/dtos/internal/CreditCollectionResponse.js +0 -6
  95. package/bin/credit/dtos/internal/CreditDisbursementRequest.d.ts +0 -7
  96. package/bin/credit/dtos/internal/CreditDisbursementRequest.js +0 -43
  97. package/bin/credit/dtos/internal/CreditDisbursementResponse.d.ts +0 -8
  98. package/bin/credit/dtos/internal/CreditDisbursementResponse.js +0 -6
  99. package/bin/credit/dtos/internal/CreditProfileRequest.d.ts +0 -3
  100. package/bin/credit/dtos/internal/CreditProfileRequest.js +0 -23
  101. package/bin/credit/dtos/internal/CreditProfileResponse.d.ts +0 -13
  102. package/bin/credit/dtos/internal/CreditProfileResponse.js +0 -6
  103. package/bin/credit/dtos/internal/CreditQueueMessage.d.ts +0 -9
  104. package/bin/credit/dtos/internal/CreditQueueMessage.js +0 -6
  105. package/bin/credit/dtos/internal/CreditReversalRequest.d.ts +0 -5
  106. package/bin/credit/dtos/internal/CreditReversalRequest.js +0 -31
  107. package/bin/credit/dtos/internal/CreditReversalResponse.d.ts +0 -7
  108. package/bin/credit/dtos/internal/CreditReversalResponse.js +0 -6
  109. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.d.ts +0 -8
  110. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.js +0 -46
  111. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.d.ts +0 -8
  112. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.js +0 -6
  113. package/bin/credit/dtos/internal/DocumentGenerateRequest.d.ts +0 -10
  114. package/bin/credit/dtos/internal/DocumentGenerateRequest.js +0 -53
  115. package/bin/credit/dtos/internal/DocumentGenerateResponse.d.ts +0 -12
  116. package/bin/credit/dtos/internal/DocumentGenerateResponse.js +0 -6
  117. package/bin/credit/dtos/internal/DocumentSignRequest.d.ts +0 -3
  118. package/bin/credit/dtos/internal/DocumentSignRequest.js +0 -21
  119. package/bin/credit/dtos/internal/LienApplyRequest.d.ts +0 -7
  120. package/bin/credit/dtos/internal/LienApplyRequest.js +0 -45
  121. package/bin/credit/dtos/internal/LienStatusResponse.d.ts +0 -9
  122. package/bin/credit/dtos/internal/LienStatusResponse.js +0 -6
  123. package/bin/credit/enums/BannerStateEnum.d.ts +0 -15
  124. package/bin/credit/enums/BannerStateEnum.js +0 -19
  125. package/bin/credit/enums/CollectionFrequencyEnum.d.ts +0 -5
  126. package/bin/credit/enums/CollectionFrequencyEnum.js +0 -9
  127. package/bin/credit/enums/CreditLevelEnum.d.ts +0 -15
  128. package/bin/credit/enums/CreditLevelEnum.js +0 -19
  129. package/bin/credit/enums/CreditOfferStatusEnum.d.ts +0 -17
  130. package/bin/credit/enums/CreditOfferStatusEnum.js +0 -21
  131. package/bin/credit/enums/CreditOperationEnum.d.ts +0 -11
  132. package/bin/credit/enums/CreditOperationEnum.js +0 -15
  133. package/bin/credit/enums/CreditStatusEnum.d.ts +0 -12
  134. package/bin/credit/enums/CreditStatusEnum.js +0 -16
  135. package/bin/credit/enums/DelinquencyLevelEnum.d.ts +0 -9
  136. package/bin/credit/enums/DelinquencyLevelEnum.js +0 -13
  137. package/bin/credit/enums/DocumentTypeEnum.d.ts +0 -8
  138. package/bin/credit/enums/DocumentTypeEnum.js +0 -12
  139. package/bin/credit/enums/IncomeClassificationEnum.d.ts +0 -15
  140. package/bin/credit/enums/IncomeClassificationEnum.js +0 -19
  141. package/bin/credit/enums/IncomeFrequencyEnum.d.ts +0 -17
  142. package/bin/credit/enums/IncomeFrequencyEnum.js +0 -21
  143. package/bin/credit/enums/OfferStatusEnum.d.ts +0 -8
  144. package/bin/credit/enums/OfferStatusEnum.js +0 -12
  145. package/bin/credit/enums/PaymentTypeEnum.d.ts +0 -9
  146. package/bin/credit/enums/PaymentTypeEnum.js +0 -13
  147. package/bin/credit/enums/ReconciliationStatusEnum.d.ts +0 -6
  148. package/bin/credit/enums/ReconciliationStatusEnum.js +0 -10
  149. package/bin/credit/enums/TransferStatusEnum.d.ts +0 -8
  150. package/bin/credit/enums/TransferStatusEnum.js +0 -12
  151. package/bin/credit/index.d.ts +0 -14
  152. package/bin/credit/index.js +0 -33
  153. package/bin/credit/interfaces/IIncomeDetectionMessage.d.ts +0 -9
  154. package/bin/credit/interfaces/IIncomeDetectionMessage.js +0 -2
  155. package/bin/credit/interfaces/IOfferGenerationMessage.d.ts +0 -8
  156. package/bin/credit/interfaces/IOfferGenerationMessage.js +0 -2
  157. package/bin/credit/interfaces/IScoringMessage.d.ts +0 -8
  158. package/bin/credit/interfaces/IScoringMessage.js +0 -2
  159. package/bin/creditEngine/dtos/CreditDetailResponse.d.ts +0 -17
  160. package/bin/creditEngine/dtos/CreditDetailResponse.js +0 -9
  161. package/bin/creditEngine/dtos/CreditOriginationRequest.d.ts +0 -8
  162. package/bin/creditEngine/dtos/CreditOriginationRequest.js +0 -34
  163. package/bin/creditEngine/dtos/CreditOriginationResponse.d.ts +0 -9
  164. package/bin/creditEngine/dtos/CreditOriginationResponse.js +0 -9
  165. package/bin/creditEngine/dtos/CreditSignatureRequest.d.ts +0 -7
  166. package/bin/creditEngine/dtos/CreditSignatureRequest.js +0 -28
  167. package/bin/creditEngine/dtos/DisbursementRequest.d.ts +0 -10
  168. package/bin/creditEngine/dtos/DisbursementRequest.js +0 -44
  169. package/bin/creditEngine/dtos/PaymentScheduleItemResponse.d.ts +0 -13
  170. package/bin/creditEngine/dtos/PaymentScheduleItemResponse.js +0 -9
  171. package/bin/creditEngine/enums/CouponStatusEnum.d.ts +0 -15
  172. package/bin/creditEngine/enums/CouponStatusEnum.js +0 -19
  173. package/bin/creditEngine/enums/CreditApplicationStatusEnum.d.ts +0 -19
  174. package/bin/creditEngine/enums/CreditApplicationStatusEnum.js +0 -23
  175. package/bin/creditEngine/enums/CreditLevelEnum.d.ts +0 -15
  176. package/bin/creditEngine/enums/CreditLevelEnum.js +0 -19
  177. package/bin/creditEngine/enums/CreditStatusEnum.d.ts +0 -17
  178. package/bin/creditEngine/enums/CreditStatusEnum.js +0 -21
  179. package/bin/creditEngine/index.d.ts +0 -10
  180. package/bin/creditEngine/index.js +0 -26
  181. package/bin/directorySetting/dtos/DirectorySettingCreateResponse.d.ts +0 -0
  182. package/bin/directorySetting/dtos/DirectorySettingCreateResponse.js +0 -0
  183. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -28
  184. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.js +0 -6
  185. package/bin/services/dtos/GetMembershipListAppResponse.d.ts +0 -4
  186. package/bin/services/dtos/GetMembershipListAppResponse.js +0 -6
  187. package/bin/services/dtos/GetServiceMembershipListAResponse.d.ts +0 -4
  188. package/bin/services/dtos/GetServiceMembershipListAResponse.js +0 -6
  189. package/bin/services/enums/ServiceProviderEnum.d.ts +0 -5
  190. package/bin/services/enums/ServiceProviderEnum.js +0 -9
@@ -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
- }
@@ -1,13 +0,0 @@
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 = {}));
@@ -1,6 +0,0 @@
1
- export declare enum ReconciliationStatusEnum {
2
- PENDING = "PENDING",
3
- MATCHED = "MATCHED",
4
- DISCREPANCY = "DISCREPANCY",
5
- RESOLVED = "RESOLVED"
6
- }
@@ -1,10 +0,0 @@
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 = {}));
@@ -1,8 +0,0 @@
1
- export declare enum TransferStatusEnum {
2
- PENDING = "PENDING",
3
- APPROVED = "APPROVED",
4
- IN_PROGRESS = "IN_PROGRESS",
5
- COMPLETED = "COMPLETED",
6
- FAILED = "FAILED",
7
- REJECTED = "REJECTED"
8
- }
@@ -1,12 +0,0 @@
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 = {}));
@@ -1,14 +0,0 @@
1
- export * from './enums/CreditLevelEnum';
2
- export * from './enums/BannerStateEnum';
3
- export * from './enums/IncomeFrequencyEnum';
4
- export * from './enums/IncomeClassificationEnum';
5
- export * from './enums/CreditOfferStatusEnum';
6
- export * from './dtos/BannerStateResponse';
7
- export * from './dtos/EligibilityResponse';
8
- export * from './dtos/CreditOfferConfigureRequest';
9
- export * from './dtos/CreditOfferConfigureResponse';
10
- export * from './dtos/CreditOfferOptionItem';
11
- export * from './dtos/FinancialProfileResponse';
12
- export * from './interfaces/IIncomeDetectionMessage';
13
- export * from './interfaces/IScoringMessage';
14
- export * from './interfaces/IOfferGenerationMessage';
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- // Enums
18
- __exportStar(require("./enums/CreditLevelEnum"), exports);
19
- __exportStar(require("./enums/BannerStateEnum"), exports);
20
- __exportStar(require("./enums/IncomeFrequencyEnum"), exports);
21
- __exportStar(require("./enums/IncomeClassificationEnum"), exports);
22
- __exportStar(require("./enums/CreditOfferStatusEnum"), exports);
23
- // DTOs
24
- __exportStar(require("./dtos/BannerStateResponse"), exports);
25
- __exportStar(require("./dtos/EligibilityResponse"), exports);
26
- __exportStar(require("./dtos/CreditOfferConfigureRequest"), exports);
27
- __exportStar(require("./dtos/CreditOfferConfigureResponse"), exports);
28
- __exportStar(require("./dtos/CreditOfferOptionItem"), exports);
29
- __exportStar(require("./dtos/FinancialProfileResponse"), exports);
30
- // Interfaces (SQS Messages)
31
- __exportStar(require("./interfaces/IIncomeDetectionMessage"), exports);
32
- __exportStar(require("./interfaces/IScoringMessage"), exports);
33
- __exportStar(require("./interfaces/IOfferGenerationMessage"), exports);
@@ -1,9 +0,0 @@
1
- /**
2
- * Mensaje SQS para la cola de deteccion de ingresos (P1)
3
- * No incluye partnerId porque P1 es agnostico al partner
4
- */
5
- export interface IIncomeDetectionMessage {
6
- directoryId: string;
7
- executionId: string;
8
- windowDays: number;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * Mensaje SQS para la cola de generacion de ofertas (P3)
3
- */
4
- export interface IOfferGenerationMessage {
5
- directoryId: string;
6
- executionId: string;
7
- partnerId: string;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * Mensaje SQS para la cola de scoring (P2)
3
- */
4
- export interface IScoringMessage {
5
- directoryId: string;
6
- executionId: string;
7
- partnerId: string;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- /**
2
- * Response con el detalle completo de un credito LOAN.
3
- */
4
- export declare class CreditDetailResponse {
5
- creditId: string;
6
- applicationId: string;
7
- directoryId: string;
8
- amountMxn: number;
9
- termWeeks: number;
10
- annualRate: number;
11
- weeklyPaymentMxn: number;
12
- status: string;
13
- nextPaymentDate: string;
14
- paidCoupons: number;
15
- totalCoupons: number;
16
- remainingBalanceMxn: number;
17
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditDetailResponse = void 0;
4
- /**
5
- * Response con el detalle completo de un credito LOAN.
6
- */
7
- class CreditDetailResponse {
8
- }
9
- exports.CreditDetailResponse = CreditDetailResponse;
@@ -1,8 +0,0 @@
1
- /**
2
- * Request para solicitar la originacion de un credito LOAN.
3
- */
4
- export declare class CreditOriginationRequest {
5
- directoryId: string;
6
- offerId: string;
7
- selectedTermWeeks: number;
8
- }
@@ -1,34 +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.CreditOriginationRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * Request para solicitar la originacion de un credito LOAN.
16
- */
17
- class CreditOriginationRequest {
18
- }
19
- exports.CreditOriginationRequest = CreditOriginationRequest;
20
- __decorate([
21
- (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsNotEmpty)(),
23
- __metadata("design:type", String)
24
- ], CreditOriginationRequest.prototype, "directoryId", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
- __metadata("design:type", String)
29
- ], CreditOriginationRequest.prototype, "offerId", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsNumber)(),
32
- (0, class_validator_1.Min)(1),
33
- __metadata("design:type", Number)
34
- ], CreditOriginationRequest.prototype, "selectedTermWeeks", void 0);
@@ -1,9 +0,0 @@
1
- /**
2
- * Response de la solicitud de originacion de un credito LOAN.
3
- */
4
- export declare class CreditOriginationResponse {
5
- applicationId: string;
6
- status: string;
7
- contractViewUrl: string;
8
- expiresAt: string;
9
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditOriginationResponse = void 0;
4
- /**
5
- * Response de la solicitud de originacion de un credito LOAN.
6
- */
7
- class CreditOriginationResponse {
8
- }
9
- exports.CreditOriginationResponse = CreditOriginationResponse;
@@ -1,7 +0,0 @@
1
- /**
2
- * Request para firmar o rechazar un contrato de credito LOAN.
3
- */
4
- export declare class CreditSignatureRequest {
5
- directoryId: string;
6
- accepted: boolean;
7
- }
@@ -1,28 +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.CreditSignatureRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * Request para firmar o rechazar un contrato de credito LOAN.
16
- */
17
- class CreditSignatureRequest {
18
- }
19
- exports.CreditSignatureRequest = CreditSignatureRequest;
20
- __decorate([
21
- (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsNotEmpty)(),
23
- __metadata("design:type", String)
24
- ], CreditSignatureRequest.prototype, "directoryId", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsBoolean)(),
27
- __metadata("design:type", Boolean)
28
- ], CreditSignatureRequest.prototype, "accepted", void 0);
@@ -1,10 +0,0 @@
1
- /**
2
- * Request para solicitar el desembolso de un credito via credit-payment-business.
3
- */
4
- export declare class DisbursementRequest {
5
- applicationId: string;
6
- directoryId: string;
7
- amountMxn: number;
8
- creditId: string;
9
- partnerId: string;
10
- }
@@ -1,44 +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.DisbursementRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * Request para solicitar el desembolso de un credito via credit-payment-business.
16
- */
17
- class DisbursementRequest {
18
- }
19
- exports.DisbursementRequest = DisbursementRequest;
20
- __decorate([
21
- (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsNotEmpty)(),
23
- __metadata("design:type", String)
24
- ], DisbursementRequest.prototype, "applicationId", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
- __metadata("design:type", String)
29
- ], DisbursementRequest.prototype, "directoryId", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsNumber)(),
32
- (0, class_validator_1.Min)(0.01),
33
- __metadata("design:type", Number)
34
- ], DisbursementRequest.prototype, "amountMxn", void 0);
35
- __decorate([
36
- (0, class_validator_1.IsString)(),
37
- (0, class_validator_1.IsNotEmpty)(),
38
- __metadata("design:type", String)
39
- ], DisbursementRequest.prototype, "creditId", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsString)(),
42
- (0, class_validator_1.IsNotEmpty)(),
43
- __metadata("design:type", String)
44
- ], DisbursementRequest.prototype, "partnerId", void 0);
@@ -1,13 +0,0 @@
1
- /**
2
- * Response de un item individual del calendario de pagos.
3
- */
4
- export declare class PaymentScheduleItemResponse {
5
- couponNumber: number;
6
- dueDate: string;
7
- principalMxn: number;
8
- interestMxn: number;
9
- totalMxn: number;
10
- status: string;
11
- paidAmountMxn: number;
12
- remainingBalanceMxn: number;
13
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentScheduleItemResponse = void 0;
4
- /**
5
- * Response de un item individual del calendario de pagos.
6
- */
7
- class PaymentScheduleItemResponse {
8
- }
9
- exports.PaymentScheduleItemResponse = PaymentScheduleItemResponse;
@@ -1,15 +0,0 @@
1
- /**
2
- * Estados posibles de un cupon del calendario de pagos.
3
- * @enum {string}
4
- *
5
- * @property {string} PENDING - Cupon pendiente de cobro
6
- * @property {string} PARTIAL - Cupon parcialmente pagado
7
- * @property {string} PAID - Cupon completamente pagado
8
- * @property {string} OVERDUE - Cupon vencido sin pago completo
9
- */
10
- export declare enum CouponStatusEnum {
11
- PENDING = "PENDING",
12
- PARTIAL = "PARTIAL",
13
- PAID = "PAID",
14
- OVERDUE = "OVERDUE"
15
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CouponStatusEnum = void 0;
4
- /**
5
- * Estados posibles de un cupon del calendario de pagos.
6
- * @enum {string}
7
- *
8
- * @property {string} PENDING - Cupon pendiente de cobro
9
- * @property {string} PARTIAL - Cupon parcialmente pagado
10
- * @property {string} PAID - Cupon completamente pagado
11
- * @property {string} OVERDUE - Cupon vencido sin pago completo
12
- */
13
- var CouponStatusEnum;
14
- (function (CouponStatusEnum) {
15
- CouponStatusEnum["PENDING"] = "PENDING";
16
- CouponStatusEnum["PARTIAL"] = "PARTIAL";
17
- CouponStatusEnum["PAID"] = "PAID";
18
- CouponStatusEnum["OVERDUE"] = "OVERDUE";
19
- })(CouponStatusEnum || (exports.CouponStatusEnum = CouponStatusEnum = {}));
@@ -1,19 +0,0 @@
1
- /**
2
- * Estados posibles de una solicitud de credito LOAN.
3
- * @enum {string}
4
- *
5
- * @property {string} CREATED - Solicitud creada, pendiente de firma
6
- * @property {string} PENDING_SIGNATURE - Contrato generado, esperando firma del cliente
7
- * @property {string} SIGNED - Cliente firmo el contrato
8
- * @property {string} DISBURSED - Dinero desembolsado a PagoConfiado
9
- * @property {string} EXPIRED - Solicitud expiro sin firma
10
- * @property {string} CANCELLED - Solicitud cancelada por el cliente
11
- */
12
- export declare enum CreditApplicationStatusEnum {
13
- CREATED = "CREATED",
14
- PENDING_SIGNATURE = "PENDING_SIGNATURE",
15
- SIGNED = "SIGNED",
16
- DISBURSED = "DISBURSED",
17
- EXPIRED = "EXPIRED",
18
- CANCELLED = "CANCELLED"
19
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditApplicationStatusEnum = void 0;
4
- /**
5
- * Estados posibles de una solicitud de credito LOAN.
6
- * @enum {string}
7
- *
8
- * @property {string} CREATED - Solicitud creada, pendiente de firma
9
- * @property {string} PENDING_SIGNATURE - Contrato generado, esperando firma del cliente
10
- * @property {string} SIGNED - Cliente firmo el contrato
11
- * @property {string} DISBURSED - Dinero desembolsado a PagoConfiado
12
- * @property {string} EXPIRED - Solicitud expiro sin firma
13
- * @property {string} CANCELLED - Solicitud cancelada por el cliente
14
- */
15
- var CreditApplicationStatusEnum;
16
- (function (CreditApplicationStatusEnum) {
17
- CreditApplicationStatusEnum["CREATED"] = "CREATED";
18
- CreditApplicationStatusEnum["PENDING_SIGNATURE"] = "PENDING_SIGNATURE";
19
- CreditApplicationStatusEnum["SIGNED"] = "SIGNED";
20
- CreditApplicationStatusEnum["DISBURSED"] = "DISBURSED";
21
- CreditApplicationStatusEnum["EXPIRED"] = "EXPIRED";
22
- CreditApplicationStatusEnum["CANCELLED"] = "CANCELLED";
23
- })(CreditApplicationStatusEnum || (exports.CreditApplicationStatusEnum = CreditApplicationStatusEnum = {}));
@@ -1,15 +0,0 @@
1
- /**
2
- * Niveles de credito del cliente basado en su perfil financiero.
3
- * @enum {string}
4
- *
5
- * @property {string} BRONZE - Nivel basico
6
- * @property {string} SILVER - Nivel intermedio
7
- * @property {string} GOLD - Nivel avanzado
8
- * @property {string} PLATINUM - Nivel premium
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 de credito del cliente basado en su perfil financiero.
6
- * @enum {string}
7
- *
8
- * @property {string} BRONZE - Nivel basico
9
- * @property {string} SILVER - Nivel intermedio
10
- * @property {string} GOLD - Nivel avanzado
11
- * @property {string} PLATINUM - Nivel premium
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 posibles de un credito LOAN activo.
3
- * @enum {string}
4
- *
5
- * @property {string} ACTIVE - Credito vigente con pagos al corriente
6
- * @property {string} DELINQUENT - Credito con pagos atrasados
7
- * @property {string} DEFAULTED - Credito en incumplimiento
8
- * @property {string} RETURNED - Credito devuelto/castigado
9
- * @property {string} PAID_OFF - Credito liquidado completamente
10
- */
11
- export declare enum CreditStatusEnum {
12
- ACTIVE = "ACTIVE",
13
- DELINQUENT = "DELINQUENT",
14
- DEFAULTED = "DEFAULTED",
15
- RETURNED = "RETURNED",
16
- PAID_OFF = "PAID_OFF"
17
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditStatusEnum = void 0;
4
- /**
5
- * Estados posibles de un credito LOAN activo.
6
- * @enum {string}
7
- *
8
- * @property {string} ACTIVE - Credito vigente con pagos al corriente
9
- * @property {string} DELINQUENT - Credito con pagos atrasados
10
- * @property {string} DEFAULTED - Credito en incumplimiento
11
- * @property {string} RETURNED - Credito devuelto/castigado
12
- * @property {string} PAID_OFF - Credito liquidado completamente
13
- */
14
- var CreditStatusEnum;
15
- (function (CreditStatusEnum) {
16
- CreditStatusEnum["ACTIVE"] = "ACTIVE";
17
- CreditStatusEnum["DELINQUENT"] = "DELINQUENT";
18
- CreditStatusEnum["DEFAULTED"] = "DEFAULTED";
19
- CreditStatusEnum["RETURNED"] = "RETURNED";
20
- CreditStatusEnum["PAID_OFF"] = "PAID_OFF";
21
- })(CreditStatusEnum || (exports.CreditStatusEnum = CreditStatusEnum = {}));