@rebilly/instruments 16.137.0 → 16.139.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.139.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.138.0...instruments/core-v16.139.0) (2026-06-29)
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
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#22984](https://github.com/Rebilly/rebilly/issues/22984)) ([b2250e6](https://github.com/Rebilly/rebilly/commit/b2250e63eeb14c491869c97d92030263a1e4fd43))
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("/")}@b2250e6`
5783
5783
  };
5784
5784
  return e2.apiKey && (g["REB-APIKEY"] = e2.apiKey), g;
5785
5785
  }
@@ -6060,16 +6060,18 @@ function Nt$1({ apiHandler: e2 }) {
6060
6060
  offset: s = null,
6061
6061
  sort: r2 = null,
6062
6062
  filter: n2 = null,
6063
- q: u = null
6063
+ q: u = null,
6064
+ expand: o2 = null
6064
6065
  } = {}) {
6065
- const o2 = { limit: t2, offset: s, sort: r2, filter: n2, q: u };
6066
- return e2.getAll("aml-checks", o2);
6066
+ const l = { limit: t2, offset: s, sort: r2, filter: n2, q: u, expand: o2 };
6067
+ return e2.getAll("aml-checks", l);
6067
6068
  },
6068
6069
  /**
6069
6070
  * @returns { rebilly.GetAmlCheckResponsePromise } response
6070
6071
  */
6071
- get({ id: t2 }) {
6072
- return e2.get(`aml-checks/${t2}`);
6072
+ get({ id: t2, expand: s = null }) {
6073
+ const r2 = { expand: s };
6074
+ return e2.get(`aml-checks/${t2}`, r2);
6073
6075
  },
6074
6076
  startReview({ id: t2 }) {
6075
6077
  return e2.post(`aml-checks/${t2}/start-review`);
@@ -13379,13 +13381,21 @@ const _PayoutRequestModel = class _PayoutRequestModel extends BaseModel {
13379
13381
  super(fields);
13380
13382
  }
13381
13383
  get isAwaitingPaymentInstrumentSelection() {
13382
- return this.status === _PayoutRequestModel.Status.pending && this.paymentInstrumentId == null;
13384
+ return [
13385
+ _PayoutRequestModel.Status.pending,
13386
+ _PayoutRequestModel.Status.ready
13387
+ ].includes(this.status) && this.paymentInstrumentId == null;
13383
13388
  }
13384
13389
  };
13385
13390
  _PayoutRequestModel.Status = {
13386
13391
  pending: "pending",
13392
+ ready: "ready",
13393
+ approved: "approved",
13394
+ inProgress: "in-progress",
13387
13395
  fulfilled: "fulfilled",
13388
- canceled: "canceled"
13396
+ canceled: "canceled",
13397
+ split: "split",
13398
+ merged: "merged"
13389
13399
  };
13390
13400
  let PayoutRequestModel = _PayoutRequestModel;
13391
13401
  async function fetchPayoutRequest(data) {