tnx-shared 5.0.44 → 5.0.45

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.
@@ -6488,6 +6488,24 @@
6488
6488
  });
6489
6489
  return this.postGridInfo(apiUrl, gridInfo);
6490
6490
  };
6491
+ BaseService.prototype.getAllByFilter = function (filters, fields, sorts, plusUrl) {
6492
+ if (fields === void 0) { fields = ''; }
6493
+ if (sorts === void 0) { sorts = []; }
6494
+ if (plusUrl === void 0) { plusUrl = ''; }
6495
+ var apiUrl = this.apiGetAll;
6496
+ if (plusUrl != null && plusUrl != '')
6497
+ apiUrl += "/" + plusUrl;
6498
+ var gridInfo = new GridInfo({
6499
+ fields: fields,
6500
+ pageInfo: {
6501
+ page: 1,
6502
+ pageSize: 9999
6503
+ },
6504
+ sorts: sorts,
6505
+ filters: filters ? filters : []
6506
+ });
6507
+ return this.postGridInfo(apiUrl, gridInfo);
6508
+ };
6491
6509
  BaseService.prototype.getAllByGridInfo = function (gridInfo, plusUrl) {
6492
6510
  if (plusUrl === void 0) { plusUrl = ''; }
6493
6511
  var apiUrl = this.apiGetAll;