hollaex-node-lib 2.19.1 → 2.19.2
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/kit.js +12 -0
- package/package.json +1 -1
package/kit.js
CHANGED
|
@@ -1737,6 +1737,9 @@ class HollaExKit {
|
|
|
1737
1737
|
* @param {string} opts.search - The search text to filter by, pass undefined to receive data on all fields
|
|
1738
1738
|
* @param {boolean} opts.pending - The pending field to filter by, pass undefined to receive all data
|
|
1739
1739
|
* @param {string} opts.pendingType - Th pending type info to filter by, pass undefined to receive data
|
|
1740
|
+
* @param {string} opts.bank_key - bank query key to fetch specific bank
|
|
1741
|
+
* @param {string} opts.bank_value - bank query value to fetch specific bank
|
|
1742
|
+
* @param {boolean} opts.activated - bank activated query
|
|
1740
1743
|
* @param {number} opts.limit - Amount of users per page. Maximum: 50. Default: 50
|
|
1741
1744
|
* @param {number} opts.page - Page of user data. Default: 1
|
|
1742
1745
|
* @param {string} opts.orderBy - The field to order data by e.g. amount, id.
|
|
@@ -1758,6 +1761,9 @@ class HollaExKit {
|
|
|
1758
1761
|
page: null,
|
|
1759
1762
|
orderBy: null,
|
|
1760
1763
|
order: null,
|
|
1764
|
+
bank_key: null,
|
|
1765
|
+
bank_value: null,
|
|
1766
|
+
activated: null,
|
|
1761
1767
|
startDate: null,
|
|
1762
1768
|
endDate: null,
|
|
1763
1769
|
format: null
|
|
@@ -1791,6 +1797,12 @@ class HollaExKit {
|
|
|
1791
1797
|
params += `&pending_type=${opts.pendingType}`;
|
|
1792
1798
|
}
|
|
1793
1799
|
|
|
1800
|
+
if (isString(opts.bank_key) && isString(opts.bank_value)) {
|
|
1801
|
+
params += `&${opts.bank_key}=${opts.bank_value}`;
|
|
1802
|
+
}
|
|
1803
|
+
if (isBoolean(opts.activated)) {
|
|
1804
|
+
params += `&activated=${opts.activated}`;
|
|
1805
|
+
}
|
|
1794
1806
|
if (isNumber(opts.limit)) {
|
|
1795
1807
|
params += `&limit=${opts.limit}`;
|
|
1796
1808
|
}
|