@rebilly/instruments 16.137.0 → 16.138.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 CHANGED
@@ -1,6 +1,6 @@
1
- ## [16.137.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.136.0...instruments/core-v16.137.0) (2026-06-24)
1
+ ## [16.138.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.137.0...instruments/core-v16.138.0) (2026-06-25)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#22980](https://github.com/Rebilly/rebilly/issues/22980)) ([d36cb4e](https://github.com/Rebilly/rebilly/commit/d36cb4e2b263b5e89de700d336f662c52b1e54a9))
6
+ * **instruments:** allow instrument selection on ready payout requests ([#22783](https://github.com/Rebilly/rebilly/issues/22783)) ([960fbd3](https://github.com/Rebilly/rebilly/commit/960fbd372d3ef1c478137ea8b918b73cc7ca8a44))
package/dist/index.js CHANGED
@@ -5779,7 +5779,7 @@ function O$1({ options: e2 }) {
5779
5779
  }
5780
5780
  function o2() {
5781
5781
  const g = {
5782
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@d36cb4e`
5782
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@960fbd3`
5783
5783
  };
5784
5784
  return e2.apiKey && (g["REB-APIKEY"] = e2.apiKey), g;
5785
5785
  }
@@ -13379,13 +13379,21 @@ const _PayoutRequestModel = class _PayoutRequestModel extends BaseModel {
13379
13379
  super(fields);
13380
13380
  }
13381
13381
  get isAwaitingPaymentInstrumentSelection() {
13382
- return this.status === _PayoutRequestModel.Status.pending && this.paymentInstrumentId == null;
13382
+ return [
13383
+ _PayoutRequestModel.Status.pending,
13384
+ _PayoutRequestModel.Status.ready
13385
+ ].includes(this.status) && this.paymentInstrumentId == null;
13383
13386
  }
13384
13387
  };
13385
13388
  _PayoutRequestModel.Status = {
13386
13389
  pending: "pending",
13390
+ ready: "ready",
13391
+ approved: "approved",
13392
+ inProgress: "in-progress",
13387
13393
  fulfilled: "fulfilled",
13388
- canceled: "canceled"
13394
+ canceled: "canceled",
13395
+ split: "split",
13396
+ merged: "merged"
13389
13397
  };
13390
13398
  let PayoutRequestModel = _PayoutRequestModel;
13391
13399
  async function fetchPayoutRequest(data) {