@qite/tide-client 1.1.134 → 1.1.136
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
|
@@ -6520,6 +6520,9 @@ var ENDPOINT_COUNTRIES = ENDPOINT$4 + "/countries";
|
|
|
6520
6520
|
var ENDPOINT_REGIONS = ENDPOINT$4 + "/regions";
|
|
6521
6521
|
var ENDPOINT_OORDS = ENDPOINT$4 + "/oords";
|
|
6522
6522
|
var ENDPOINT_LOCATIONS$1 = ENDPOINT$4 + "/locations";
|
|
6523
|
+
var ENDPOINT_PORTAL = function (portalId) {
|
|
6524
|
+
return ENDPOINT$4 + "/portal/" + portalId;
|
|
6525
|
+
};
|
|
6523
6526
|
/**
|
|
6524
6527
|
* api/search/countries
|
|
6525
6528
|
* Gets all Countries
|
|
@@ -6562,6 +6565,11 @@ var searchLocations = function (config, searchTerm, signal) {
|
|
|
6562
6565
|
var url = "" + config.host + ENDPOINT_LOCATIONS$1 + "?" + filter;
|
|
6563
6566
|
return get(url, apiKey, config.token, signal, true);
|
|
6564
6567
|
};
|
|
6568
|
+
var getPortal = function (config, portalId, signal) {
|
|
6569
|
+
var url = "" + config.host + ENDPOINT_PORTAL(portalId);
|
|
6570
|
+
var apiKey = config.apiKey;
|
|
6571
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6572
|
+
};
|
|
6565
6573
|
|
|
6566
6574
|
var createParams = function (filter, all, gridColumns, mode, forceToLower) {
|
|
6567
6575
|
var params = {};
|
|
@@ -7007,6 +7015,7 @@ exports.getEntryTotals = getEntryTotals;
|
|
|
7007
7015
|
exports.getInvoiceList = getInvoiceList;
|
|
7008
7016
|
exports.getLocations = getLocations;
|
|
7009
7017
|
exports.getMolliePayment = getMolliePayment;
|
|
7018
|
+
exports.getPortal = getPortal;
|
|
7010
7019
|
exports.getPrintActions = getPrintActions;
|
|
7011
7020
|
exports.getTranslationDictionary = getTranslationDictionary;
|
|
7012
7021
|
exports.login = login;
|