@qite/tide-client 1.1.34 → 1.1.36

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
@@ -6601,6 +6601,16 @@ var getColumnFilter = function (
6601
6601
  " le " +
6602
6602
  columnValue[1].toISOString()
6603
6603
  );
6604
+ case "inList":
6605
+ return (
6606
+ "(" +
6607
+ columnValue
6608
+ .map(function (value) {
6609
+ return columnName + " eq " + value;
6610
+ })
6611
+ .join(" or ") +
6612
+ ")"
6613
+ );
6604
6614
  default:
6605
6615
  return "";
6606
6616
  }
@@ -6664,7 +6674,12 @@ var getEntryTotals = function (config, filterItem, gridColumns, signal) {
6664
6674
  };
6665
6675
  var getInvoiceList = function (config, filterItem, gridColumns, signal) {
6666
6676
  var params = createParams(filterItem, false, gridColumns);
6667
- var url = "" + config.host + ENDPOINT$3 + "/invoice/list?" + params;
6677
+ var queryString = Object.keys(params)
6678
+ .map(function (key) {
6679
+ return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
6680
+ })
6681
+ .join("&");
6682
+ var url = "" + config.host + ENDPOINT$3 + "/invoice/list?" + queryString;
6668
6683
  var apiKey = config.apiKey;
6669
6684
  return get(url, apiKey, config.token, signal, true);
6670
6685
  };