b2m-utils 0.0.308 → 0.0.309

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -186,6 +186,7 @@ exports.FeeEnum = void 0;
186
186
  FeeEnum[FeeEnum["COLLECT"] = 151] = "COLLECT";
187
187
  FeeEnum[FeeEnum["COLLECT_PERCENTAGE_TOTAL"] = 152] = "COLLECT_PERCENTAGE_TOTAL";
188
188
  FeeEnum[FeeEnum["COLLECT_REVERSE_PERCENTAGE_TOTAL"] = 153] = "COLLECT_REVERSE_PERCENTAGE_TOTAL";
189
+ FeeEnum[FeeEnum["APPOINTMENT_MIN_VALUE"] = 167] = "APPOINTMENT_MIN_VALUE";
189
190
  FeeEnum[FeeEnum["TRT_PERCENTAGE_TOTAL"] = 169] = "TRT_PERCENTAGE_TOTAL";
190
191
  FeeEnum[FeeEnum["TDA_PERCENTAGE_TOTAL"] = 170] = "TDA_PERCENTAGE_TOTAL";
191
192
  FeeEnum[FeeEnum["TDE_PERCENTAGE_TOTAL"] = 171] = "TDE_PERCENTAGE_TOTAL";
@@ -1252,16 +1253,19 @@ var getFilteredFeesToAudit = function (_a) {
1252
1253
  exports.FeeEnum.SCHEDULING_TAX,
1253
1254
  94,
1254
1255
  ];
1255
- var collectFees = [
1256
+ var collectAndAppointmentFees = [
1256
1257
  exports.FeeEnum.COLLECT_PERCENTAGE_TOTAL,
1257
1258
  exports.FeeEnum.COLLECT_REVERSE_PERCENTAGE_TOTAL,
1259
+ exports.FeeEnum.APPOINTMENT_MIN_VALUE,
1258
1260
  ];
1259
- if (collectFees.includes((_a = i.fee) === null || _a === void 0 ? void 0 : _a.id)) {
1261
+ if (collectAndAppointmentFees.includes((_a = i.fee) === null || _a === void 0 ? void 0 : _a.id)) {
1260
1262
  switch ((_b = i.fee) === null || _b === void 0 ? void 0 : _b.id) {
1261
1263
  case exports.FeeEnum.COLLECT_PERCENTAGE_TOTAL:
1262
1264
  return cte.isCollect;
1263
1265
  case exports.FeeEnum.COLLECT_REVERSE_PERCENTAGE_TOTAL:
1264
1266
  return cte.isCollectReverse;
1267
+ case exports.FeeEnum.APPOINTMENT_MIN_VALUE:
1268
+ return cte.isAppointment;
1265
1269
  }
1266
1270
  }
1267
1271
  var conditionalFeeToVerify;
package/build/index.js.gz CHANGED
Binary file