@qite/tide-client 1.1.76 → 1.1.77
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
|
@@ -6619,6 +6619,17 @@ var getEntryList = function (config, filterItem, gridColumns, signal) {
|
|
|
6619
6619
|
var apiKey = config.apiKey;
|
|
6620
6620
|
return get(url, apiKey, config.token, signal, true);
|
|
6621
6621
|
};
|
|
6622
|
+
var getEntryListv2 = function (config, filterItem, gridColumns, signal) {
|
|
6623
|
+
var params = createParams(filterItem, false, gridColumns);
|
|
6624
|
+
var queryString = Object.keys(params)
|
|
6625
|
+
.map(function (key) {
|
|
6626
|
+
return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
|
|
6627
|
+
})
|
|
6628
|
+
.join("&");
|
|
6629
|
+
var url = "" + config.host + ENDPOINT$3 + "/v2/entry/list?" + queryString;
|
|
6630
|
+
var apiKey = config.apiKey;
|
|
6631
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6632
|
+
};
|
|
6622
6633
|
var getEntryTotals = function (config, filterItem, gridColumns, signal) {
|
|
6623
6634
|
var params = createParams(filterItem, false, gridColumns);
|
|
6624
6635
|
var queryString = Object.keys(params)
|
|
@@ -6820,6 +6831,7 @@ exports.getAllotmentList = getAllotmentList;
|
|
|
6820
6831
|
exports.getCountries = getCountries;
|
|
6821
6832
|
exports.getCustomEntryStatus = getCustomEntryStatus;
|
|
6822
6833
|
exports.getEntryList = getEntryList;
|
|
6834
|
+
exports.getEntryListv2 = getEntryListv2;
|
|
6823
6835
|
exports.getEntryStatus = getEntryStatus;
|
|
6824
6836
|
exports.getEntryTotals = getEntryTotals;
|
|
6825
6837
|
exports.getInvoiceList = getInvoiceList;
|