@qite/tide-client 1.1.32 → 1.1.34

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
@@ -6640,20 +6640,30 @@ var print = function (config, request, signal) {
6640
6640
  var body = JSON.stringify(request);
6641
6641
  return post$1(url, apiKey, body, config.token, signal, undefined);
6642
6642
  };
6643
- var getEntryList = function (config, filterItem, signal) {
6644
- var params = createParams(filterItem, false);
6645
- var url = "" + config.host + ENDPOINT$3 + "/entry/list?" + params;
6643
+ var getEntryList = function (config, filterItem, gridColumns, signal) {
6644
+ var params = createParams(filterItem, false, gridColumns);
6645
+ var queryString = Object.keys(params)
6646
+ .map(function (key) {
6647
+ return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
6648
+ })
6649
+ .join("&");
6650
+ var url = "" + config.host + ENDPOINT$3 + "/entry/list?" + queryString;
6646
6651
  var apiKey = config.apiKey;
6647
6652
  return get(url, apiKey, config.token, signal, true);
6648
6653
  };
6649
- var getEntryTotals = function (config, filterItem, signal) {
6650
- var params = createParams(filterItem, false);
6651
- var url = "" + config.host + ENDPOINT$3 + "/entry/total?" + params;
6654
+ var getEntryTotals = function (config, filterItem, gridColumns, signal) {
6655
+ var params = createParams(filterItem, false, gridColumns);
6656
+ var queryString = Object.keys(params)
6657
+ .map(function (key) {
6658
+ return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
6659
+ })
6660
+ .join("&");
6661
+ var url = "" + config.host + ENDPOINT$3 + "/entry/total?" + queryString;
6652
6662
  var apiKey = config.apiKey;
6653
6663
  return get(url, apiKey, config.token, signal, true);
6654
6664
  };
6655
- var getInvoiceList = function (config, filterItem, signal) {
6656
- var params = createParams(filterItem, false);
6665
+ var getInvoiceList = function (config, filterItem, gridColumns, signal) {
6666
+ var params = createParams(filterItem, false, gridColumns);
6657
6667
  var url = "" + config.host + ENDPOINT$3 + "/invoice/list?" + params;
6658
6668
  var apiKey = config.apiKey;
6659
6669
  return get(url, apiKey, config.token, signal, true);