@fiado/type-kit 3.540.0 → 3.542.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 (141) hide show
  1. package/_test_/unit/rules/populationDtos.test.ts +58 -0
  2. package/_test_/unit/rules/populationMove.test.ts +31 -0
  3. package/bin/card/dtos/CardAuditInfo.d.ts +19 -0
  4. package/bin/card/dtos/CardAuditInfo.js +2 -0
  5. package/bin/card/enums/CardAuditActorType.d.ts +15 -0
  6. package/bin/card/enums/CardAuditActorType.js +19 -0
  7. package/bin/card/index.d.ts +2 -0
  8. package/bin/card/index.js +2 -0
  9. package/bin/rewardsEligibility/constants/SegmentLimits.d.ts +1 -5
  10. package/bin/rewardsEligibility/constants/SegmentLimits.js +15 -6
  11. package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.d.ts +1 -8
  12. package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.js +14 -37
  13. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.d.ts +1 -18
  14. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.js +14 -68
  15. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.d.ts +1 -11
  16. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.js +14 -43
  17. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.d.ts +1 -9
  18. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.js +14 -41
  19. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.d.ts +1 -10
  20. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.js +15 -5
  21. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.d.ts +1 -10
  22. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.js +15 -8
  23. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.d.ts +1 -12
  24. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.js +15 -7
  25. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.d.ts +1 -5
  26. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.js +15 -4
  27. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.d.ts +1 -5
  28. package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.js +14 -28
  29. package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.d.ts +1 -5
  30. package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.js +15 -7
  31. package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.d.ts +1 -4
  32. package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.js +15 -6
  33. package/bin/rewardsEligibility/enums/SegmentMatchEnum.d.ts +1 -4
  34. package/bin/rewardsEligibility/enums/SegmentMatchEnum.js +15 -6
  35. package/bin/rewardsEligibility/enums/SegmentOperatorEnum.d.ts +1 -16
  36. package/bin/rewardsEligibility/enums/SegmentOperatorEnum.js +15 -18
  37. package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.d.ts +1 -5
  38. package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.js +15 -7
  39. package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.d.ts +1 -7
  40. package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.js +15 -9
  41. package/bin/rules/constants/SegmentLimits.d.ts +5 -0
  42. package/bin/rules/constants/SegmentLimits.js +8 -0
  43. package/bin/rules/dtos/population/PopulationCompileRequest.d.ts +6 -0
  44. package/bin/rules/dtos/population/PopulationCompileRequest.js +32 -0
  45. package/bin/rules/dtos/population/PopulationCompileResponse.d.ts +9 -0
  46. package/bin/rules/dtos/population/PopulationCompileResponse.js +6 -0
  47. package/bin/rules/dtos/population/PopulationExecutionPageResponse.d.ts +10 -0
  48. package/bin/rules/dtos/population/PopulationExecutionPageResponse.js +7 -0
  49. package/bin/rules/dtos/population/PopulationExecutionRequest.d.ts +10 -0
  50. package/bin/rules/dtos/population/PopulationExecutionRequest.js +59 -0
  51. package/bin/rules/dtos/population/PopulationExecutionResponse.d.ts +5 -0
  52. package/bin/rules/dtos/population/PopulationExecutionResponse.js +6 -0
  53. package/bin/rules/dtos/population/PopulationSegmentDefinition.d.ts +8 -0
  54. package/bin/rules/dtos/population/PopulationSegmentDefinition.js +40 -0
  55. package/bin/rules/dtos/population/PopulationTestRequest.d.ts +7 -0
  56. package/bin/rules/dtos/population/PopulationTestRequest.js +38 -0
  57. package/bin/rules/dtos/population/PopulationTestResponse.d.ts +26 -0
  58. package/bin/rules/dtos/population/PopulationTestResponse.js +13 -0
  59. package/bin/rules/dtos/population/SegmentAggregateCondition.d.ts +18 -0
  60. package/bin/rules/dtos/population/SegmentAggregateCondition.js +71 -0
  61. package/bin/rules/dtos/population/SegmentColumnCondition.d.ts +11 -0
  62. package/bin/rules/dtos/population/SegmentColumnCondition.js +46 -0
  63. package/bin/rules/dtos/population/SegmentGroup.d.ts +9 -0
  64. package/bin/rules/dtos/population/SegmentGroup.js +44 -0
  65. package/bin/rules/dtos/population/SegmentParam.d.ts +10 -0
  66. package/bin/rules/dtos/population/SegmentParam.js +7 -0
  67. package/bin/rules/dtos/population/SegmentSchemaResponse.d.ts +10 -0
  68. package/bin/rules/dtos/population/SegmentSchemaResponse.js +10 -0
  69. package/bin/rules/dtos/population/SegmentTableSchemaResponse.d.ts +12 -0
  70. package/bin/rules/dtos/population/SegmentTableSchemaResponse.js +9 -0
  71. package/bin/rules/dtos/population/SegmentUsedColumn.d.ts +5 -0
  72. package/bin/rules/dtos/population/SegmentUsedColumn.js +6 -0
  73. package/bin/rules/dtos/population/SegmentWindow.d.ts +5 -0
  74. package/bin/rules/dtos/population/SegmentWindow.js +31 -0
  75. package/bin/rules/enums/PopulationErrorCodeEnum.d.ts +12 -0
  76. package/bin/rules/enums/PopulationErrorCodeEnum.js +16 -0
  77. package/bin/rules/enums/PopulationExecutionStatusEnum.d.ts +6 -0
  78. package/bin/rules/enums/PopulationExecutionStatusEnum.js +10 -0
  79. package/bin/rules/enums/PopulationTestStatusEnum.d.ts +5 -0
  80. package/bin/rules/enums/PopulationTestStatusEnum.js +9 -0
  81. package/bin/rules/enums/SegmentAggregateFnEnum.d.ts +5 -0
  82. package/bin/rules/enums/SegmentAggregateFnEnum.js +9 -0
  83. package/bin/rules/enums/SegmentConditionKindEnum.d.ts +4 -0
  84. package/bin/rules/enums/SegmentConditionKindEnum.js +8 -0
  85. package/bin/rules/enums/SegmentMatchEnum.d.ts +4 -0
  86. package/bin/rules/enums/SegmentMatchEnum.js +8 -0
  87. package/bin/rules/enums/SegmentOperatorEnum.d.ts +16 -0
  88. package/bin/rules/enums/SegmentOperatorEnum.js +20 -0
  89. package/bin/rules/enums/SegmentParamSourceEnum.d.ts +5 -0
  90. package/bin/rules/enums/SegmentParamSourceEnum.js +9 -0
  91. package/bin/rules/enums/SegmentParamTypeEnum.d.ts +7 -0
  92. package/bin/rules/enums/SegmentParamTypeEnum.js +11 -0
  93. package/bin/rules/index.d.ts +26 -0
  94. package/bin/rules/index.js +28 -0
  95. package/package.json +1 -1
  96. package/src/card/dtos/CardAuditInfo.ts +20 -0
  97. package/src/card/enums/CardAuditActorType.ts +15 -0
  98. package/src/card/index.ts +2 -0
  99. package/src/rewardsEligibility/constants/SegmentLimits.ts +1 -5
  100. package/src/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.ts +1 -12
  101. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.ts +1 -22
  102. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.ts +1 -15
  103. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.ts +1 -27
  104. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentParam.ts +1 -11
  105. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.ts +1 -11
  106. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.ts +1 -14
  107. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.ts +1 -5
  108. package/src/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.ts +1 -9
  109. package/src/rewardsEligibility/enums/SegmentAggregateFnEnum.ts +1 -5
  110. package/src/rewardsEligibility/enums/SegmentConditionKindEnum.ts +1 -4
  111. package/src/rewardsEligibility/enums/SegmentMatchEnum.ts +1 -4
  112. package/src/rewardsEligibility/enums/SegmentOperatorEnum.ts +1 -16
  113. package/src/rewardsEligibility/enums/SegmentParamSourceEnum.ts +1 -5
  114. package/src/rewardsEligibility/enums/SegmentParamTypeEnum.ts +1 -7
  115. package/src/rules/constants/SegmentLimits.ts +5 -0
  116. package/src/rules/dtos/population/PopulationCompileRequest.ts +9 -0
  117. package/src/rules/dtos/population/PopulationCompileResponse.ts +10 -0
  118. package/src/rules/dtos/population/PopulationExecutionPageResponse.ts +11 -0
  119. package/src/rules/dtos/population/PopulationExecutionRequest.ts +13 -0
  120. package/src/rules/dtos/population/PopulationExecutionResponse.ts +6 -0
  121. package/src/rules/dtos/population/PopulationSegmentDefinition.ts +12 -0
  122. package/src/rules/dtos/population/PopulationTestRequest.ts +10 -0
  123. package/src/rules/dtos/population/PopulationTestResponse.ts +29 -0
  124. package/src/rules/dtos/population/SegmentAggregateCondition.ts +22 -0
  125. package/src/rules/dtos/population/SegmentColumnCondition.ts +15 -0
  126. package/src/rules/dtos/population/SegmentGroup.ts +27 -0
  127. package/src/rules/dtos/population/SegmentParam.ts +11 -0
  128. package/src/rules/dtos/population/SegmentSchemaResponse.ts +11 -0
  129. package/src/rules/dtos/population/SegmentTableSchemaResponse.ts +14 -0
  130. package/src/rules/dtos/population/SegmentUsedColumn.ts +5 -0
  131. package/src/rules/dtos/population/SegmentWindow.ts +9 -0
  132. package/src/rules/enums/PopulationErrorCodeEnum.ts +12 -0
  133. package/src/rules/enums/PopulationExecutionStatusEnum.ts +6 -0
  134. package/src/rules/enums/PopulationTestStatusEnum.ts +5 -0
  135. package/src/rules/enums/SegmentAggregateFnEnum.ts +5 -0
  136. package/src/rules/enums/SegmentConditionKindEnum.ts +4 -0
  137. package/src/rules/enums/SegmentMatchEnum.ts +4 -0
  138. package/src/rules/enums/SegmentOperatorEnum.ts +16 -0
  139. package/src/rules/enums/SegmentParamSourceEnum.ts +5 -0
  140. package/src/rules/enums/SegmentParamTypeEnum.ts +7 -0
  141. package/src/rules/index.ts +30 -0
@@ -18,3 +18,33 @@ export * from './dtos/GenerateRulesResponse';
18
18
  export * from './dtos/RulesTraceResponse';
19
19
  export * from './dtos/EvaluateRulesRequest';
20
20
  export * from './dtos/EvaluateRulesResponse';
21
+
22
+ //Poblacion (movido desde rewardsEligibility; alli queda re-export)
23
+ export * from './enums/SegmentMatchEnum';
24
+ export * from './enums/SegmentConditionKindEnum';
25
+ export * from './enums/SegmentAggregateFnEnum';
26
+ export * from './enums/SegmentOperatorEnum';
27
+ export * from './enums/SegmentParamTypeEnum';
28
+ export * from './enums/SegmentParamSourceEnum';
29
+ export * from './constants/SegmentLimits';
30
+ export * from './dtos/population/SegmentWindow';
31
+ export * from './dtos/population/SegmentColumnCondition';
32
+ export * from './dtos/population/SegmentAggregateCondition';
33
+ export * from './dtos/population/SegmentGroup';
34
+ export * from './dtos/population/PopulationSegmentDefinition';
35
+ export * from './dtos/population/SegmentParam';
36
+ export * from './dtos/population/SegmentUsedColumn';
37
+ export * from './dtos/population/SegmentSchemaResponse';
38
+ export * from './dtos/population/SegmentTableSchemaResponse';
39
+
40
+ //Poblacion: endpoints del canal /population/*
41
+ export * from './enums/PopulationErrorCodeEnum';
42
+ export * from './enums/PopulationTestStatusEnum';
43
+ export * from './enums/PopulationExecutionStatusEnum';
44
+ export * from './dtos/population/PopulationCompileRequest';
45
+ export * from './dtos/population/PopulationCompileResponse';
46
+ export * from './dtos/population/PopulationTestRequest';
47
+ export * from './dtos/population/PopulationTestResponse';
48
+ export * from './dtos/population/PopulationExecutionRequest';
49
+ export * from './dtos/population/PopulationExecutionResponse';
50
+ export * from './dtos/population/PopulationExecutionPageResponse';