@fiado/type-kit 3.74.0 → 3.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/bin/benefitCenter/dtos/BackofficeLeafOverrideUpsertRequest.d.ts +22 -0
  2. package/bin/benefitCenter/dtos/BackofficeLeafOverrideUpsertRequest.js +91 -0
  3. package/bin/benefitCenter/dtos/FieldOverrideRequest.d.ts +19 -0
  4. package/bin/benefitCenter/dtos/FieldOverrideRequest.js +80 -0
  5. package/bin/benefitCenter/dtos/InputSchemaOverrideRequest.d.ts +9 -0
  6. package/bin/benefitCenter/dtos/InputSchemaOverrideRequest.js +29 -0
  7. package/bin/benefitCenter/enums/LeafOverrideStatusEnum.d.ts +10 -0
  8. package/bin/benefitCenter/enums/LeafOverrideStatusEnum.js +14 -0
  9. package/bin/cognitoBackofficeConnector/dtos/MfaPoolConfig.d.ts +7 -0
  10. package/bin/cognitoBackofficeConnector/dtos/MfaPoolConfig.js +36 -0
  11. package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.d.ts +17 -0
  12. package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.js +39 -0
  13. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.d.ts +13 -0
  14. package/bin/cognitoConnector/dtos/SignUpBackofficeRequest.js +71 -0
  15. package/bin/comission-business/dtos/GenerateReportRequest.d.ts +10 -0
  16. package/bin/comission-business/dtos/GenerateReportRequest.js +2 -0
  17. package/bin/comission-business/dtos/GenerateReportResponse.d.ts +6 -0
  18. package/bin/comission-business/dtos/GenerateReportResponse.js +2 -0
  19. package/bin/comission-business/enums/PaymentStatusEnum.d.ts +5 -0
  20. package/bin/comission-business/enums/PaymentStatusEnum.js +9 -0
  21. package/bin/credit/dtos/CreditBannerStateResponse.d.ts +10 -0
  22. package/bin/credit/dtos/CreditBannerStateResponse.js +6 -0
  23. package/bin/credit/dtos/CreditDetailResponse.d.ts +23 -0
  24. package/bin/credit/dtos/CreditDetailResponse.js +6 -0
  25. package/bin/credit/dtos/CreditEligibilityResponse.d.ts +9 -0
  26. package/bin/credit/dtos/CreditEligibilityResponse.js +6 -0
  27. package/bin/credit/dtos/CreditMovementResponse.d.ts +20 -0
  28. package/bin/credit/dtos/CreditMovementResponse.js +9 -0
  29. package/bin/credit/dtos/CreditRequestCreate.d.ts +4 -0
  30. package/bin/credit/dtos/CreditRequestCreate.js +26 -0
  31. package/bin/credit/dtos/CreditRequestResponse.d.ts +7 -0
  32. package/bin/credit/dtos/CreditRequestResponse.js +6 -0
  33. package/bin/credit/dtos/CreditScheduleResponse.d.ts +18 -0
  34. package/bin/credit/dtos/CreditScheduleResponse.js +9 -0
  35. package/bin/credit/dtos/CreditStatementResponse.d.ts +11 -0
  36. package/bin/credit/dtos/CreditStatementResponse.js +9 -0
  37. package/bin/credit/dtos/EarlyPaymentRequest.d.ts +7 -0
  38. package/bin/credit/dtos/EarlyPaymentRequest.js +37 -0
  39. package/bin/credit/dtos/EarlyPaymentResponse.d.ts +11 -0
  40. package/bin/credit/dtos/EarlyPaymentResponse.js +6 -0
  41. package/bin/credit/dtos/internal/CreditBalanceRequest.d.ts +3 -0
  42. package/bin/credit/dtos/internal/CreditBalanceRequest.js +21 -0
  43. package/bin/credit/dtos/internal/CreditCollectionRequest.d.ts +11 -0
  44. package/bin/credit/dtos/internal/CreditCollectionRequest.js +59 -0
  45. package/bin/credit/dtos/internal/CreditCollectionResponse.d.ts +12 -0
  46. package/bin/credit/dtos/internal/CreditCollectionResponse.js +6 -0
  47. package/bin/credit/dtos/internal/CreditDisbursementRequest.d.ts +7 -0
  48. package/bin/credit/dtos/internal/CreditDisbursementRequest.js +43 -0
  49. package/bin/credit/dtos/internal/CreditDisbursementResponse.d.ts +8 -0
  50. package/bin/credit/dtos/internal/CreditDisbursementResponse.js +6 -0
  51. package/bin/credit/dtos/internal/CreditProfileRequest.d.ts +3 -0
  52. package/bin/credit/dtos/internal/CreditProfileRequest.js +23 -0
  53. package/bin/credit/dtos/internal/CreditReversalRequest.d.ts +5 -0
  54. package/bin/credit/dtos/internal/CreditReversalRequest.js +31 -0
  55. package/bin/credit/dtos/internal/CreditReversalResponse.d.ts +7 -0
  56. package/bin/credit/dtos/internal/CreditReversalResponse.js +6 -0
  57. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.d.ts +8 -0
  58. package/bin/credit/dtos/internal/CreditTransferLoancoRequest.js +46 -0
  59. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.d.ts +8 -0
  60. package/bin/credit/dtos/internal/CreditTransferLoancoResponse.js +6 -0
  61. package/bin/credit/dtos/internal/DocumentSignRequest.d.ts +3 -0
  62. package/bin/credit/dtos/internal/DocumentSignRequest.js +21 -0
  63. package/bin/credit/dtos/internal/LienApplyRequest.d.ts +7 -0
  64. package/bin/credit/dtos/internal/LienApplyRequest.js +45 -0
  65. package/bin/credit/enums/CollectionFrequencyEnum.d.ts +5 -0
  66. package/bin/credit/enums/CollectionFrequencyEnum.js +9 -0
  67. package/bin/credit/enums/CreditOperationEnum.d.ts +11 -0
  68. package/bin/credit/enums/CreditOperationEnum.js +15 -0
  69. package/bin/credit/enums/CreditStatusEnum.d.ts +12 -0
  70. package/bin/credit/enums/CreditStatusEnum.js +16 -0
  71. package/bin/credit/enums/DelinquencyLevelEnum.d.ts +9 -0
  72. package/bin/credit/enums/DelinquencyLevelEnum.js +13 -0
  73. package/bin/credit/enums/DocumentTypeEnum.d.ts +8 -0
  74. package/bin/credit/enums/DocumentTypeEnum.js +12 -0
  75. package/bin/credit/enums/OfferStatusEnum.d.ts +8 -0
  76. package/bin/credit/enums/OfferStatusEnum.js +12 -0
  77. package/bin/credit/enums/PaymentTypeEnum.d.ts +9 -0
  78. package/bin/credit/enums/PaymentTypeEnum.js +13 -0
  79. package/bin/credit/enums/ReconciliationStatusEnum.d.ts +6 -0
  80. package/bin/credit/enums/ReconciliationStatusEnum.js +10 -0
  81. package/bin/credit/enums/TransferStatusEnum.d.ts +8 -0
  82. package/bin/credit/enums/TransferStatusEnum.js +12 -0
  83. package/bin/riskProfile/dtos/private/ClientFinancialHistoryResponse.d.ts +19 -0
  84. package/bin/riskProfile/dtos/private/ClientFinancialHistoryResponse.js +72 -0
  85. package/bin/riskProfile/dtos/private/CreateClientFinancialHistoryRequest.d.ts +18 -0
  86. package/bin/riskProfile/dtos/private/CreateClientFinancialHistoryRequest.js +67 -0
  87. package/bin/riskProfile/dtos/private/ListClientFinancialHistoryResponse.d.ts +9 -0
  88. package/bin/riskProfile/dtos/private/ListClientFinancialHistoryResponse.js +28 -0
  89. package/bin/riskProfile/enums/AlarmType.d.ts +2 -1
  90. package/bin/riskProfile/enums/AlarmType.js +1 -0
  91. package/bin/riskProfile/index.d.ts +3 -0
  92. package/bin/riskProfile/index.js +3 -0
  93. package/docs/superpowers/plans/2026-05-22-http-client-inversify-v8.md +243 -0
  94. package/docs/superpowers/specs/2026-05-22-inversify-v8-migration-design.md +191 -0
  95. package/package.json +1 -1
  96. package/src/riskProfile/dtos/private/ClientFinancialHistoryResponse.ts +21 -0
  97. package/src/riskProfile/dtos/private/CreateClientFinancialHistoryRequest.ts +53 -0
  98. package/src/riskProfile/dtos/private/ListClientFinancialHistoryResponse.ts +11 -0
  99. package/src/riskProfile/enums/AlarmType.ts +2 -1
  100. package/src/riskProfile/index.ts +3 -0
@@ -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,9 @@
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
+ }
@@ -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,8 @@
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
+ }
@@ -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,9 @@
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
+ }
@@ -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,6 @@
1
+ export declare enum ReconciliationStatusEnum {
2
+ PENDING = "PENDING",
3
+ MATCHED = "MATCHED",
4
+ DISCREPANCY = "DISCREPANCY",
5
+ RESOLVED = "RESOLVED"
6
+ }
@@ -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,8 @@
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
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferStatusEnum = void 0;
4
+ var TransferStatusEnum;
5
+ (function (TransferStatusEnum) {
6
+ TransferStatusEnum["PENDING"] = "PENDING";
7
+ TransferStatusEnum["APPROVED"] = "APPROVED";
8
+ TransferStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
9
+ TransferStatusEnum["COMPLETED"] = "COMPLETED";
10
+ TransferStatusEnum["FAILED"] = "FAILED";
11
+ TransferStatusEnum["REJECTED"] = "REJECTED";
12
+ })(TransferStatusEnum || (exports.TransferStatusEnum = TransferStatusEnum = {}));
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Item del historial financiero del perfil (tabla `ClientFinancialHistory_GT`).
3
+ * Shape que consume el Dashboard para reconstruir la timeline del perfil.
4
+ */
5
+ export declare class ClientFinancialHistoryResponse {
6
+ directoryId: string;
7
+ sk: string;
8
+ eventId: string;
9
+ eventType: string;
10
+ field: string;
11
+ before?: number | null;
12
+ after?: number | null;
13
+ triggeredBy: string;
14
+ createdBy: string;
15
+ updatedBy?: string;
16
+ reason?: string;
17
+ tenantId: string;
18
+ createdAt: number;
19
+ }
@@ -0,0 +1,72 @@
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.ClientFinancialHistoryResponse = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ /**
15
+ * Item del historial financiero del perfil (tabla `ClientFinancialHistory_GT`).
16
+ * Shape que consume el Dashboard para reconstruir la timeline del perfil.
17
+ */
18
+ class ClientFinancialHistoryResponse {
19
+ }
20
+ exports.ClientFinancialHistoryResponse = ClientFinancialHistoryResponse;
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", String)
24
+ ], ClientFinancialHistoryResponse.prototype, "directoryId", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], ClientFinancialHistoryResponse.prototype, "sk", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], ClientFinancialHistoryResponse.prototype, "eventId", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", String)
36
+ ], ClientFinancialHistoryResponse.prototype, "eventType", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], ClientFinancialHistoryResponse.prototype, "field", void 0);
41
+ __decorate([
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", Number)
44
+ ], ClientFinancialHistoryResponse.prototype, "before", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", Number)
48
+ ], ClientFinancialHistoryResponse.prototype, "after", void 0);
49
+ __decorate([
50
+ (0, class_transformer_1.Expose)(),
51
+ __metadata("design:type", String)
52
+ ], ClientFinancialHistoryResponse.prototype, "triggeredBy", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
56
+ ], ClientFinancialHistoryResponse.prototype, "createdBy", void 0);
57
+ __decorate([
58
+ (0, class_transformer_1.Expose)(),
59
+ __metadata("design:type", String)
60
+ ], ClientFinancialHistoryResponse.prototype, "updatedBy", void 0);
61
+ __decorate([
62
+ (0, class_transformer_1.Expose)(),
63
+ __metadata("design:type", String)
64
+ ], ClientFinancialHistoryResponse.prototype, "reason", void 0);
65
+ __decorate([
66
+ (0, class_transformer_1.Expose)(),
67
+ __metadata("design:type", String)
68
+ ], ClientFinancialHistoryResponse.prototype, "tenantId", void 0);
69
+ __decorate([
70
+ (0, class_transformer_1.Expose)(),
71
+ __metadata("design:type", Number)
72
+ ], ClientFinancialHistoryResponse.prototype, "createdAt", void 0);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Request para registrar un cambio en el historial financiero del perfil
3
+ * (tabla `ClientFinancialHistory_GT`). Audit log append-only — BO-03,
4
+ * Manual de Cumplimiento sec. 8.25 / Art. 24 (retención 10 años).
5
+ *
6
+ * El caller manda SOLO el cambio de negocio. El servidor deriva los campos
7
+ * meta/audit (`sk`, `eventId`, `eventType`, `triggeredBy`, `createdAt`), de
8
+ * modo que nadie pueda falsificar el timestamp ni el origen.
9
+ */
10
+ export declare class CreateClientFinancialHistoryRequest {
11
+ directoryId: string;
12
+ field: string;
13
+ before?: number | null;
14
+ after: number | null;
15
+ email: string;
16
+ tenantId: string;
17
+ reason?: string;
18
+ }
@@ -0,0 +1,67 @@
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.CreateClientFinancialHistoryRequest = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ /**
16
+ * Request para registrar un cambio en el historial financiero del perfil
17
+ * (tabla `ClientFinancialHistory_GT`). Audit log append-only — BO-03,
18
+ * Manual de Cumplimiento sec. 8.25 / Art. 24 (retención 10 años).
19
+ *
20
+ * El caller manda SOLO el cambio de negocio. El servidor deriva los campos
21
+ * meta/audit (`sk`, `eventId`, `eventType`, `triggeredBy`, `createdAt`), de
22
+ * modo que nadie pueda falsificar el timestamp ni el origen.
23
+ */
24
+ class CreateClientFinancialHistoryRequest {
25
+ }
26
+ exports.CreateClientFinancialHistoryRequest = CreateClientFinancialHistoryRequest;
27
+ __decorate([
28
+ (0, class_transformer_1.Expose)(),
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ __metadata("design:type", String)
32
+ ], CreateClientFinancialHistoryRequest.prototype, "directoryId", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsIn)(["declaredMonthlyIncome", "manualRiskLevel", "customHighAmount", "customMonthlyIncrease"]),
37
+ __metadata("design:type", String)
38
+ ], CreateClientFinancialHistoryRequest.prototype, "field", void 0);
39
+ __decorate([
40
+ (0, class_transformer_1.Expose)(),
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsNumber)(),
43
+ __metadata("design:type", Number)
44
+ ], CreateClientFinancialHistoryRequest.prototype, "before", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, class_validator_1.ValidateIf)((o) => o.after !== null),
48
+ (0, class_validator_1.IsNumber)(),
49
+ __metadata("design:type", Number)
50
+ ], CreateClientFinancialHistoryRequest.prototype, "after", void 0);
51
+ __decorate([
52
+ (0, class_transformer_1.Expose)(),
53
+ (0, class_validator_1.IsEmail)({}, { message: "email debe ser un correo válido" }),
54
+ __metadata("design:type", String)
55
+ ], CreateClientFinancialHistoryRequest.prototype, "email", void 0);
56
+ __decorate([
57
+ (0, class_transformer_1.Expose)(),
58
+ (0, class_validator_1.IsString)(),
59
+ (0, class_validator_1.IsIn)(["PAGOCONFIADO", "FIADOSA"]),
60
+ __metadata("design:type", String)
61
+ ], CreateClientFinancialHistoryRequest.prototype, "tenantId", void 0);
62
+ __decorate([
63
+ (0, class_transformer_1.Expose)(),
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], CreateClientFinancialHistoryRequest.prototype, "reason", void 0);
@@ -0,0 +1,9 @@
1
+ import { ClientFinancialHistoryResponse } from "./ClientFinancialHistoryResponse";
2
+ /**
3
+ * Respuesta paginada del listado por `directoryId`. `continuationToken` es el
4
+ * base64 del `ExclusiveStartKey` de DynamoDB; `null` cuando no hay más páginas.
5
+ */
6
+ export declare class ListClientFinancialHistoryResponse {
7
+ items: ClientFinancialHistoryResponse[];
8
+ continuationToken?: string | null;
9
+ }
@@ -0,0 +1,28 @@
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.ListClientFinancialHistoryResponse = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ /**
15
+ * Respuesta paginada del listado por `directoryId`. `continuationToken` es el
16
+ * base64 del `ExclusiveStartKey` de DynamoDB; `null` cuando no hay más páginas.
17
+ */
18
+ class ListClientFinancialHistoryResponse {
19
+ }
20
+ exports.ListClientFinancialHistoryResponse = ListClientFinancialHistoryResponse;
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", Array)
24
+ ], ListClientFinancialHistoryResponse.prototype, "items", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], ListClientFinancialHistoryResponse.prototype, "continuationToken", void 0);
@@ -1,5 +1,6 @@
1
1
  export declare enum AlarmType {
2
2
  UNUSUAL = "UNUSUAL",
3
3
  PEP = "PEP",
4
- CUSTOM = "CUSTOM"
4
+ CUSTOM = "CUSTOM",
5
+ WORRYING = "WORRYING"
5
6
  }
@@ -6,4 +6,5 @@ var AlarmType;
6
6
  AlarmType["UNUSUAL"] = "UNUSUAL";
7
7
  AlarmType["PEP"] = "PEP";
8
8
  AlarmType["CUSTOM"] = "CUSTOM";
9
+ AlarmType["WORRYING"] = "WORRYING";
9
10
  })(AlarmType || (exports.AlarmType = AlarmType = {}));
@@ -37,3 +37,6 @@ export * from './dtos/private/SetCustomAlarmRequest';
37
37
  export * from './dtos/private/SetCustomAlarmResponse';
38
38
  export * from './dtos/private/SetDeclaredIncomeRequest';
39
39
  export * from './dtos/private/SetDeclaredIncomeResponse';
40
+ export * from './dtos/private/CreateClientFinancialHistoryRequest';
41
+ export * from './dtos/private/ClientFinancialHistoryResponse';
42
+ export * from './dtos/private/ListClientFinancialHistoryResponse';
@@ -55,3 +55,6 @@ __exportStar(require("./dtos/private/SetCustomAlarmRequest"), exports);
55
55
  __exportStar(require("./dtos/private/SetCustomAlarmResponse"), exports);
56
56
  __exportStar(require("./dtos/private/SetDeclaredIncomeRequest"), exports);
57
57
  __exportStar(require("./dtos/private/SetDeclaredIncomeResponse"), exports);
58
+ __exportStar(require("./dtos/private/CreateClientFinancialHistoryRequest"), exports);
59
+ __exportStar(require("./dtos/private/ClientFinancialHistoryResponse"), exports);
60
+ __exportStar(require("./dtos/private/ListClientFinancialHistoryResponse"), exports);