@rebilly/instruments 16.159.0 → 16.160.0
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/CHANGELOG.md +2 -2
- package/dist/index.js +11 -5
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [16.
|
|
1
|
+
## [16.160.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.159.1...instruments/core-v16.160.0) (2026-07-20)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#23849](https://github.com/Rebilly/rebilly/issues/23849)) ([46cbbe9](https://github.com/Rebilly/rebilly/commit/46cbbe95206b67bdfcf5f8941f694fec14b3ff0c))
|
package/dist/index.js
CHANGED
|
@@ -5779,7 +5779,7 @@ function O$1({ options: t2 }) {
|
|
|
5779
5779
|
}
|
|
5780
5780
|
function o2() {
|
|
5781
5781
|
const a = {
|
|
5782
|
-
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
5782
|
+
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@46cbbe9`
|
|
5783
5783
|
};
|
|
5784
5784
|
return t2.apiKey && (a["REB-APIKEY"] = t2.apiKey), a;
|
|
5785
5785
|
}
|
|
@@ -8291,9 +8291,15 @@ function Bt$1({ apiHandler: t2 }) {
|
|
|
8291
8291
|
* @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
|
|
8292
8292
|
* @returns { rebilly.GetPayoutRequestBatchCollectionResponsePromise } response
|
|
8293
8293
|
*/
|
|
8294
|
-
getAll({
|
|
8295
|
-
|
|
8296
|
-
|
|
8294
|
+
getAll({
|
|
8295
|
+
limit: e2 = null,
|
|
8296
|
+
offset: s = null,
|
|
8297
|
+
q: r2 = null,
|
|
8298
|
+
filter: n2 = null,
|
|
8299
|
+
sort: u = null
|
|
8300
|
+
} = {}) {
|
|
8301
|
+
const o2 = { limit: e2, offset: s, q: r2, filter: n2, sort: u };
|
|
8302
|
+
return t2.getAll("payout-request-batches", o2);
|
|
8297
8303
|
},
|
|
8298
8304
|
create({ data: e2 }) {
|
|
8299
8305
|
return t2.post("payout-request-batches", e2);
|
|
@@ -10865,7 +10871,7 @@ function getQuantityValue(quantity) {
|
|
|
10865
10871
|
function mapItemsQuantities(items) {
|
|
10866
10872
|
return items.map(({ planId, quantity }) => ({
|
|
10867
10873
|
planId,
|
|
10868
|
-
quantity: quantity && getQuantityValue(quantity)
|
|
10874
|
+
quantity: quantity && getQuantityValue(quantity) || defaultOptions.default
|
|
10869
10875
|
}));
|
|
10870
10876
|
}
|
|
10871
10877
|
function createQuantitiesMap(items) {
|