@rebilly/instruments 16.168.1 → 16.168.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [16.168.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.168.0...instruments/core-v16.168.1) (2026-08-04)
1
+ ## [16.168.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.168.1...instruments/core-v16.168.2) (2026-08-06)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **framepay:** resolve @babel/runtime from workspace libs, pin iOS target floor ([#24379](https://github.com/Rebilly/rebilly/issues/24379)) ([759f3d6](https://github.com/Rebilly/rebilly/commit/759f3d68a3dd7f97f5f2d8ecdf1b1d99f2f61894))
6
+ * **recomm,rebilly-js-sdk:** Normalize collection sort parameters ([#24405](https://github.com/Rebilly/rebilly/issues/24405)) ([1e851cb](https://github.com/Rebilly/rebilly/commit/1e851cbb378db7520b8286c8639b026a94dbefa4))
package/dist/index.js CHANGED
@@ -5424,23 +5424,23 @@ function te$1() {
5424
5424
  if (Y$1) return x$1;
5425
5425
  Y$1 = 1;
5426
5426
  var t2 = Object.prototype.toString;
5427
- x$1 = function($2) {
5428
- if ($2 === void 0) return "undefined";
5429
- if ($2 === null) return "null";
5430
- var h2 = typeof $2;
5427
+ x$1 = function(p) {
5428
+ if (p === void 0) return "undefined";
5429
+ if (p === null) return "null";
5430
+ var h2 = typeof p;
5431
5431
  if (h2 === "boolean") return "boolean";
5432
5432
  if (h2 === "string") return "string";
5433
5433
  if (h2 === "number") return "number";
5434
5434
  if (h2 === "symbol") return "symbol";
5435
5435
  if (h2 === "function")
5436
- return o2($2) ? "generatorfunction" : "function";
5437
- if (s($2)) return "array";
5438
- if (f($2)) return "buffer";
5439
- if (i($2)) return "arguments";
5440
- if (n2($2)) return "date";
5441
- if (r2($2)) return "error";
5442
- if (u($2)) return "regexp";
5443
- switch (e2($2)) {
5436
+ return o2(p) ? "generatorfunction" : "function";
5437
+ if (s(p)) return "array";
5438
+ if (f(p)) return "buffer";
5439
+ if (i(p)) return "arguments";
5440
+ if (n2(p)) return "date";
5441
+ if (r2(p)) return "error";
5442
+ if (u(p)) return "regexp";
5443
+ switch (e2(p)) {
5444
5444
  case "Symbol":
5445
5445
  return "symbol";
5446
5446
  case "Promise":
@@ -5476,9 +5476,9 @@ function te$1() {
5476
5476
  case "Float64Array":
5477
5477
  return "float64array";
5478
5478
  }
5479
- if (l($2))
5479
+ if (l(p))
5480
5480
  return "generator";
5481
- switch (h2 = t2.call($2), h2) {
5481
+ switch (h2 = t2.call(p), h2) {
5482
5482
  case "[object Object]":
5483
5483
  return "object";
5484
5484
  // iterators
@@ -5493,39 +5493,39 @@ function te$1() {
5493
5493
  }
5494
5494
  return h2.slice(8, -1).toLowerCase().replace(/\s/g, "");
5495
5495
  };
5496
- function e2(a) {
5497
- return typeof a.constructor == "function" ? a.constructor.name : null;
5496
+ function e2(g) {
5497
+ return typeof g.constructor == "function" ? g.constructor.name : null;
5498
5498
  }
5499
- function s(a) {
5500
- return Array.isArray ? Array.isArray(a) : a instanceof Array;
5499
+ function s(g) {
5500
+ return Array.isArray ? Array.isArray(g) : g instanceof Array;
5501
5501
  }
5502
- function r2(a) {
5503
- return a instanceof Error || typeof a.message == "string" && a.constructor && typeof a.constructor.stackTraceLimit == "number";
5502
+ function r2(g) {
5503
+ return g instanceof Error || typeof g.message == "string" && g.constructor && typeof g.constructor.stackTraceLimit == "number";
5504
5504
  }
5505
- function n2(a) {
5506
- return a instanceof Date ? true : typeof a.toDateString == "function" && typeof a.getDate == "function" && typeof a.setDate == "function";
5505
+ function n2(g) {
5506
+ return g instanceof Date ? true : typeof g.toDateString == "function" && typeof g.getDate == "function" && typeof g.setDate == "function";
5507
5507
  }
5508
- function u(a) {
5509
- return a instanceof RegExp ? true : typeof a.flags == "string" && typeof a.ignoreCase == "boolean" && typeof a.multiline == "boolean" && typeof a.global == "boolean";
5508
+ function u(g) {
5509
+ return g instanceof RegExp ? true : typeof g.flags == "string" && typeof g.ignoreCase == "boolean" && typeof g.multiline == "boolean" && typeof g.global == "boolean";
5510
5510
  }
5511
- function o2(a, $2) {
5512
- return e2(a) === "GeneratorFunction";
5511
+ function o2(g, p) {
5512
+ return e2(g) === "GeneratorFunction";
5513
5513
  }
5514
- function l(a) {
5515
- return typeof a.throw == "function" && typeof a.return == "function" && typeof a.next == "function";
5514
+ function l(g) {
5515
+ return typeof g.throw == "function" && typeof g.return == "function" && typeof g.next == "function";
5516
5516
  }
5517
- function i(a) {
5517
+ function i(g) {
5518
5518
  try {
5519
- if (typeof a.length == "number" && typeof a.callee == "function")
5519
+ if (typeof g.length == "number" && typeof g.callee == "function")
5520
5520
  return true;
5521
- } catch ($2) {
5522
- if ($2.message.indexOf("callee") !== -1)
5521
+ } catch (p) {
5522
+ if (p.message.indexOf("callee") !== -1)
5523
5523
  return true;
5524
5524
  }
5525
5525
  return false;
5526
5526
  }
5527
- function f(a) {
5528
- return a.constructor && typeof a.constructor.isBuffer == "function" ? a.constructor.isBuffer(a) : false;
5527
+ function f(g) {
5528
+ return g.constructor && typeof g.constructor.isBuffer == "function" ? g.constructor.isBuffer(g) : false;
5529
5529
  }
5530
5530
  return x$1;
5531
5531
  }
@@ -5577,8 +5577,8 @@ function Se$1() {
5577
5577
  }
5578
5578
  }
5579
5579
  function r2(i) {
5580
- const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0, a = new i.constructor(i.source, f);
5581
- return a.lastIndex = i.lastIndex, a;
5580
+ const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0, g = new i.constructor(i.source, f);
5581
+ return g.lastIndex = i.lastIndex, g;
5582
5582
  }
5583
5583
  function n2(i) {
5584
5584
  const f = new i.constructor(i.byteLength);
@@ -5588,8 +5588,8 @@ function Se$1() {
5588
5588
  return new i.constructor(i.buffer, i.byteOffset, i.length);
5589
5589
  }
5590
5590
  function o2(i) {
5591
- const f = i.length, a = Buffer.allocUnsafe ? Buffer.allocUnsafe(f) : Buffer.from(f);
5592
- return i.copy(a), a;
5591
+ const f = i.length, g = Buffer.allocUnsafe ? Buffer.allocUnsafe(f) : Buffer.from(f);
5592
+ return i.copy(g), g;
5593
5593
  }
5594
5594
  function l(i) {
5595
5595
  return t2 ? Object(t2.call(i)) : {};
@@ -5778,10 +5778,10 @@ function O$1({ options: t2 }) {
5778
5778
  return t2.apiVersion && (c = `${c}/${t2.apiVersion}`), t2.organizationId && (c = `${c}/organizations/${t2.organizationId}`), `${c}`;
5779
5779
  }
5780
5780
  function o2() {
5781
- const g = {
5782
- "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@759f3d6`
5781
+ const a = {
5782
+ "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@1e851cb`
5783
5783
  };
5784
- return t2.apiKey && (g["REB-APIKEY"] = t2.apiKey), g;
5784
+ return t2.apiKey && (a["REB-APIKEY"] = t2.apiKey), a;
5785
5785
  }
5786
5786
  function l() {
5787
5787
  return De$1(e2.defaults.headers);
@@ -5790,38 +5790,38 @@ function O$1({ options: t2 }) {
5790
5790
  t2.requestTimeout = Number(c), e2.defaults.timeout = t2.requestTimeout;
5791
5791
  }
5792
5792
  function f(c = t2.jwt) {
5793
- const g = l();
5794
- t2.apiKey = null, t2.jwt = c, delete g.common["REB-APIKEY"], g.common.Authorization = `Bearer ${c}`, e2.defaults.headers = g;
5793
+ const a = l();
5794
+ t2.apiKey = null, t2.jwt = c, delete a.common["REB-APIKEY"], a.common.Authorization = `Bearer ${c}`, e2.defaults.headers = a;
5795
5795
  }
5796
- function a(c = t2.publishableKey) {
5797
- const g = l();
5798
- t2.publishableKey = c, g.common.Authorization = `${c}`, e2.defaults.headers = g;
5796
+ function g(c = t2.publishableKey) {
5797
+ const a = l();
5798
+ t2.publishableKey = c, a.common.Authorization = `${c}`, e2.defaults.headers = a;
5799
5799
  }
5800
- function $2({ host: c, port: g, auth: m2 }) {
5800
+ function p({ host: c, port: a, auth: m2 }) {
5801
5801
  e2.defaults.proxy = {
5802
5802
  host: c,
5803
- port: g,
5803
+ port: a,
5804
5804
  auth: m2
5805
5805
  };
5806
5806
  }
5807
- function h2({ live: c = null, sandbox: g = null }) {
5808
- c && (t2.apiEndpoints.live = c), g && (t2.apiEndpoints.sandbox = g), e2.defaults.baseURL = u();
5807
+ function h2({ live: c = null, sandbox: a = null }) {
5808
+ c && (t2.apiEndpoints.live = c), a && (t2.apiEndpoints.sandbox = a), e2.defaults.baseURL = u();
5809
5809
  }
5810
- function K2(c, { thenDelegate: g, catchDelegate: m2 = () => {
5810
+ function K2(c, { thenDelegate: a, catchDelegate: m2 = () => {
5811
5811
  } }) {
5812
5812
  return H$1(c) && e2.interceptors[v[c]].use(
5813
- g,
5813
+ a,
5814
5814
  m2
5815
5815
  );
5816
5816
  }
5817
- function N2(c, g) {
5818
- return H$1(c) && e2.interceptors[v[c]].eject(g);
5817
+ function N2(c, a) {
5818
+ return H$1(c) && e2.interceptors[v[c]].eject(a);
5819
5819
  }
5820
- function se2({ thenDelegate: c, catchDelegate: g = () => {
5820
+ function se2({ thenDelegate: c, catchDelegate: a = () => {
5821
5821
  } }) {
5822
5822
  return K2(v.request, {
5823
5823
  thenDelegate: c,
5824
- catchDelegate: g
5824
+ catchDelegate: a
5825
5825
  });
5826
5826
  }
5827
5827
  function re2(c) {
@@ -5829,27 +5829,27 @@ function O$1({ options: t2 }) {
5829
5829
  }
5830
5830
  function ne2({
5831
5831
  thenDelegate: c,
5832
- catchDelegate: g = () => {
5832
+ catchDelegate: a = () => {
5833
5833
  }
5834
5834
  }) {
5835
5835
  return K2(v.response, {
5836
5836
  thenDelegate: c,
5837
- catchDelegate: g
5837
+ catchDelegate: a
5838
5838
  });
5839
5839
  }
5840
5840
  function ue2(c) {
5841
5841
  N2(v.response, c);
5842
5842
  }
5843
- function w({ request: c, isCollection: g, config: m2 }) {
5844
- const p = z2(m2), { id: b, cancelToken: $e2 } = q$1.save();
5845
- p.cancelToken = $e2;
5843
+ function w({ request: c, isCollection: a, config: m2 }) {
5844
+ const $2 = z2(m2), { id: b, cancelToken: $e2 } = q$1.save();
5845
+ $2.cancelToken = $e2;
5846
5846
  const W2 = (async function() {
5847
5847
  try {
5848
- const d = await c(p);
5848
+ const d = await c($2);
5849
5849
  return oe2({
5850
5850
  response: d,
5851
- isCollection: g,
5852
- config: p
5851
+ isCollection: a,
5852
+ config: $2
5853
5853
  });
5854
5854
  } catch (d) {
5855
5855
  return L2({ error: d });
@@ -5859,8 +5859,8 @@ function O$1({ options: t2 }) {
5859
5859
  })();
5860
5860
  return W2.cancel = (d) => I$1.cancelById(b, d), W2;
5861
5861
  }
5862
- function oe2({ response: c, isCollection: g, config: m2 }) {
5863
- return g ? new ye$1(c, m2) : new ee$1(c, m2);
5862
+ function oe2({ response: c, isCollection: a, config: m2 }) {
5863
+ return a ? new ye$1(c, m2) : new ee$1(c, m2);
5864
5864
  }
5865
5865
  function L2({ error: c }) {
5866
5866
  if (axios.isCancel(c))
@@ -5884,59 +5884,65 @@ function O$1({ options: t2 }) {
5884
5884
  }
5885
5885
  function le2(c) {
5886
5886
  return c.params !== void 0 && (c.params = Object.keys(c.params).filter(
5887
- (g) => c.params[g] !== null && c.params[g] !== ""
5888
- ).reduce((g, m2) => (g[m2] = c.params[m2], g), {})), c;
5887
+ (a) => {
5888
+ var m2;
5889
+ return c.params[a] !== null && c.params[a] !== "" && !(a === "sort" && ((m2 = c.params[a]) == null ? void 0 : m2.length) === 0);
5890
+ }
5891
+ ).reduce((a, m2) => {
5892
+ const $2 = c.params[m2];
5893
+ return a[m2] = m2 === "sort" && Array.isArray($2) ? $2.join(",") : $2, a;
5894
+ }, {})), c;
5889
5895
  }
5890
5896
  function z2(c = {}) {
5891
5897
  return { ...le2(c) };
5892
5898
  }
5893
- function U2(c, g = {}) {
5899
+ function U2(c, a = {}) {
5894
5900
  return w({
5895
5901
  request: (m2) => e2.get(c, m2),
5896
- config: { params: g }
5902
+ config: { params: a }
5897
5903
  });
5898
5904
  }
5899
- function ce2(c, g) {
5905
+ function ce2(c, a) {
5900
5906
  return w({
5901
5907
  request: (m2) => e2.get(c, m2),
5902
- config: { params: g },
5908
+ config: { params: a },
5903
5909
  isCollection: true
5904
5910
  });
5905
5911
  }
5906
- function V2(c, g, m2 = {}) {
5907
- let p = {};
5908
- return m2.authenticate === false && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m2.params && (p.params = { ...m2.params }), w({
5909
- request: (b) => e2.post(c, g, b),
5910
- config: p
5912
+ function V2(c, a, m2 = {}) {
5913
+ let $2 = {};
5914
+ return m2.authenticate === false && ($2 = { headers: l() }, delete $2.headers.common["REB-APIKEY"], delete $2.headers.common.Authorization), m2.params && ($2.params = { ...m2.params }), w({
5915
+ request: (b) => e2.post(c, a, b),
5916
+ config: $2
5911
5917
  });
5912
5918
  }
5913
- function J2(c, g, m2 = {}) {
5919
+ function J2(c, a, m2 = {}) {
5914
5920
  return w({
5915
- request: (p) => e2.put(c, g, p),
5921
+ request: ($2) => e2.put(c, a, $2),
5916
5922
  config: { params: m2 }
5917
5923
  });
5918
5924
  }
5919
- function ie2(c, g) {
5925
+ function ie2(c, a) {
5920
5926
  return w({
5921
- request: (m2) => e2.patch(c, g, m2),
5927
+ request: (m2) => e2.patch(c, a, m2),
5922
5928
  config: {}
5923
5929
  });
5924
5930
  }
5925
- function ge(c) {
5931
+ function ae2(c) {
5926
5932
  return w({
5927
- request: (g) => e2.delete(c, g),
5933
+ request: (a) => e2.delete(c, a),
5928
5934
  config: {}
5929
5935
  });
5930
5936
  }
5931
- function ae2(c, g) {
5937
+ function ge(c, a) {
5932
5938
  return w({
5933
5939
  request: (m2) => e2.delete(c, m2),
5934
- config: { data: { ...g } }
5940
+ config: { data: { ...a } }
5935
5941
  });
5936
5942
  }
5937
- async function me2(c, g, m2, p = {}) {
5938
- if (g === "")
5939
- return V2(c, m2, { params: p });
5943
+ async function me2(c, a, m2, $2 = {}) {
5944
+ if (a === "")
5945
+ return V2(c, m2, { params: $2 });
5940
5946
  try {
5941
5947
  if ((await U2(c)).response.status === 200)
5942
5948
  throw new y.RebillyConflictError({
@@ -5944,17 +5950,17 @@ function O$1({ options: t2 }) {
5944
5950
  });
5945
5951
  } catch (b) {
5946
5952
  if (b.name === "RebillyNotFoundError")
5947
- return J2(c, m2, p);
5953
+ return J2(c, m2, $2);
5948
5954
  throw b;
5949
5955
  }
5950
5956
  }
5951
- async function fe2(c, g) {
5952
- const m2 = z2(g);
5957
+ async function fe2(c, a) {
5958
+ const m2 = z2(a);
5953
5959
  try {
5954
- const p = await e2.get(c, m2);
5955
- return new Ae$1(p, m2);
5956
- } catch (p) {
5957
- return L2({ error: p });
5960
+ const $2 = await e2.get(c, m2);
5961
+ return new Ae$1($2, m2);
5962
+ } catch ($2) {
5963
+ return L2({ error: $2 });
5958
5964
  }
5959
5965
  }
5960
5966
  return {
@@ -5964,17 +5970,17 @@ function O$1({ options: t2 }) {
5964
5970
  addResponseInterceptor: ne2,
5965
5971
  removeResponseInterceptor: ue2,
5966
5972
  setTimeout: i,
5967
- setProxyAgent: $2,
5973
+ setProxyAgent: p,
5968
5974
  setSessionToken: f,
5969
- setPublishableKey: a,
5975
+ setPublishableKey: g,
5970
5976
  setEndpoints: h2,
5971
5977
  get: U2,
5972
5978
  getAll: ce2,
5973
5979
  post: V2,
5974
5980
  put: J2,
5975
5981
  patch: ie2,
5976
- delete: ge,
5977
- deleteAll: ae2,
5982
+ delete: ae2,
5983
+ deleteAll: ge,
5978
5984
  create: me2,
5979
5985
  download: fe2
5980
5986
  };
@@ -7016,7 +7022,7 @@ function it$1({ apiHandler: t2 }) {
7016
7022
  }
7017
7023
  };
7018
7024
  }
7019
- function gt$1({ apiHandler: t2 }) {
7025
+ function at$1({ apiHandler: t2 }) {
7020
7026
  return {
7021
7027
  /**
7022
7028
  * @param { rebilly.GetEmailNotificationCollectionRequest } request
@@ -7028,7 +7034,7 @@ function gt$1({ apiHandler: t2 }) {
7028
7034
  }
7029
7035
  };
7030
7036
  }
7031
- function at$1({ apiHandler: t2 }) {
7037
+ function gt$1({ apiHandler: t2 }) {
7032
7038
  return {
7033
7039
  /**
7034
7040
  * @param { rebilly.GetEventCollectionRequest } request
@@ -7333,7 +7339,7 @@ function pt$1({ apiHandler: t2 }) {
7333
7339
  const o2 = this.getAllAttachments(s);
7334
7340
  r2.push(o2);
7335
7341
  const i = (await o2).items.map(
7336
- (a) => this.detach({ id: a.fields.id })
7342
+ (g) => this.detach({ id: g.fields.id })
7337
7343
  );
7338
7344
  r2 = [...r2, i], await Promise.all(i);
7339
7345
  const f = t2.delete(`files/${e2}`);
@@ -9403,7 +9409,7 @@ function is({ apiHandler: t2 }) {
9403
9409
  }
9404
9410
  };
9405
9411
  }
9406
- function gs({ apiHandler: t2 }) {
9412
+ function as({ apiHandler: t2 }) {
9407
9413
  return {
9408
9414
  /**
9409
9415
  * @param { rebilly.GetUsageCollectionRequest } request
@@ -9433,7 +9439,7 @@ function gs({ apiHandler: t2 }) {
9433
9439
  }
9434
9440
  };
9435
9441
  }
9436
- function as({ apiHandler: t2 }) {
9442
+ function gs({ apiHandler: t2 }) {
9437
9443
  return {
9438
9444
  /**
9439
9445
  * @param { rebilly.GetUserCollectionRequest } request
@@ -9556,7 +9562,7 @@ class $s {
9556
9562
  apiHandler: e2
9557
9563
  }), this.account = Be$1({ apiHandler: e2 }), this.allowlists = Ke$1({ apiHandler: e2 }), this.amlChecks = Ne$1({ apiHandler: e2 }), this.amlSettings = Le$1({ apiHandler: e2 }), this.apiKeys = ze$1({ apiHandler: e2 }), this.applicationInstances = Ue$1({ apiHandler: e2 }), this.applications = Ve$1({ apiHandler: e2 }), this.balanceTransactions = Je$1({ apiHandler: e2 }), this.billingPortals = We$1({ apiHandler: e2 }), this.blocklists = Ge$1({ apiHandler: e2 }), this.broadcastMessages = Ye$1({ apiHandler: e2 }), this.cashiers = Qe$1({ apiHandler: e2 }), this.checkoutForms = Xe$1({ apiHandler: e2 }), this.coupons = Ze$1({ apiHandler: e2 }), this.creditMemos = _e$1({ apiHandler: e2 }), this.customDomains = He$1({ apiHandler: e2 }), this.customFields = et$1({ apiHandler: e2 }), this.customerAuthentication = tt$1({ apiHandler: e2 }), this.customers = st$1({ apiHandler: e2 }), this.depositCustomPropertySets = rt$1({
9558
9564
  apiHandler: e2
9559
- }), this.depositRequests = nt$1({ apiHandler: e2 }), this.depositStrategies = ut$1({ apiHandler: e2 }), this.digitalWallets = ot$1({ apiHandler: e2 }), this.disputes = lt$1({ apiHandler: e2 }), this.emailDeliverySettings = ct$1({ apiHandler: e2 }), this.emailMessages = it$1({ apiHandler: e2 }), this.emailNotifications = gt$1({ apiHandler: e2 }), this.events = at$1({ apiHandler: e2 }), this.externalIdentifiers = mt$1({ apiHandler: e2 }), this.externalServicesSettings = ft$1({
9565
+ }), this.depositRequests = nt$1({ apiHandler: e2 }), this.depositStrategies = ut$1({ apiHandler: e2 }), this.digitalWallets = ot$1({ apiHandler: e2 }), this.disputes = lt$1({ apiHandler: e2 }), this.emailDeliverySettings = ct$1({ apiHandler: e2 }), this.emailMessages = it$1({ apiHandler: e2 }), this.emailNotifications = at$1({ apiHandler: e2 }), this.events = gt$1({ apiHandler: e2 }), this.externalIdentifiers = mt$1({ apiHandler: e2 }), this.externalServicesSettings = ft$1({
9560
9566
  apiHandler: e2
9561
9567
  }), this.fees = $t$1({ apiHandler: e2 }), this.files = pt$1({ apiHandler: e2 }), this.gatewayAccounts = ht$1({ apiHandler: e2 }), this.integrations = yt$1({ apiHandler: e2 }), this.invoices = At$1({ apiHandler: e2 }), this.journalAccounts = bt$1({ apiHandler: e2 }), this.journalEntries = Rt$1({ apiHandler: e2 }), this.journalRecords = wt$1({ apiHandler: e2 }), this.kycDocuments = kt$1({ apiHandler: e2 }), this.kycRequests = vt$1({ apiHandler: e2 }), this.kycSettings = qt$1({ apiHandler: e2 }), this.lists = dt$1({ apiHandler: e2 }), this.memberships = Tt$1({ apiHandler: e2 }), this.orderCancellations = It$1({ apiHandler: e2 }), this.orderPauses = St$1({ apiHandler: e2 }), this.orderReactivations = Et$1({ apiHandler: e2 }), this.orders = xt$1({ apiHandler: e2 }), this.organizationExports = Pt$1({ apiHandler: e2 }), this.organizations = Ct$1({ apiHandler: e2 }), this.paymentCardsBankNames = Dt$1({ apiHandler: e2 }), this.paymentInstruments = jt$1({ apiHandler: e2 }), this.paymentMethods = Mt$1({ apiHandler: e2 }), this.paymentTokens = Ot$1({ apiHandler: e2 }), this.payoutRequestAllocations = Ft$1({
9562
9568
  apiHandler: e2
@@ -9564,7 +9570,7 @@ class $s {
9564
9570
  apiHandler: e2
9565
9571
  }), this.subscriptionPauses = rs({ apiHandler: e2 }), this.subscriptionReactivations = ns({
9566
9572
  apiHandler: e2
9567
- }), this.subscriptions = us({ apiHandler: e2 }), this.tags = os({ apiHandler: e2 }), this.tagsRules = ls({ apiHandler: e2 }), this.tracking = cs({ apiHandler: e2 }), this.transactions = is({ apiHandler: e2 }), this.usages = gs({ apiHandler: e2 }), this.users = as({ apiHandler: e2 }), this.webhooks = ms({ apiHandler: e2 }), this.websites = fs({ apiHandler: e2 }), this.addRequestInterceptor = e2.addRequestInterceptor, this.removeRequestInterceptor = e2.removeRequestInterceptor, this.addResponseInterceptor = e2.addResponseInterceptor, this.removeResponseInterceptor = e2.removeResponseInterceptor, this.setTimeout = e2.setTimeout, this.setProxyAgent = e2.setProxyAgent, this.setSessionToken = e2.setSessionToken, this.setPublishableKey = e2.setPublishableKey, this.setEndpoints = e2.setEndpoints, this.getCancellationToken = e2.getCancellationToken, this.generateSignature = e2.generateSignature;
9573
+ }), this.subscriptions = us({ apiHandler: e2 }), this.tags = os({ apiHandler: e2 }), this.tagsRules = ls({ apiHandler: e2 }), this.tracking = cs({ apiHandler: e2 }), this.transactions = is({ apiHandler: e2 }), this.usages = as({ apiHandler: e2 }), this.users = gs({ apiHandler: e2 }), this.webhooks = ms({ apiHandler: e2 }), this.websites = fs({ apiHandler: e2 }), this.addRequestInterceptor = e2.addRequestInterceptor, this.removeRequestInterceptor = e2.removeRequestInterceptor, this.addResponseInterceptor = e2.addResponseInterceptor, this.removeResponseInterceptor = e2.removeResponseInterceptor, this.setTimeout = e2.setTimeout, this.setProxyAgent = e2.setProxyAgent, this.setSessionToken = e2.setSessionToken, this.setPublishableKey = e2.setPublishableKey, this.setEndpoints = e2.setEndpoints, this.getCancellationToken = e2.getCancellationToken, this.generateSignature = e2.generateSignature;
9568
9574
  }
9569
9575
  }
9570
9576
  function ps({ apiHandler: t2 }) {
@@ -9971,7 +9977,7 @@ function As({ apiHandler: t2 }) {
9971
9977
  filter: i = null,
9972
9978
  criteria: f = null
9973
9979
  }) {
9974
- const a = {
9980
+ const g = {
9975
9981
  aggregationField: e2,
9976
9982
  aggregationPeriod: s,
9977
9983
  includeSwitchedSubscriptions: r2,
@@ -9982,7 +9988,7 @@ function As({ apiHandler: t2 }) {
9982
9988
  filter: i,
9983
9989
  criteria: f
9984
9990
  };
9985
- return t2.get("reports/retention-percentage", a);
9991
+ return t2.get("reports/retention-percentage", g);
9986
9992
  },
9987
9993
  /**
9988
9994
  * @returns { rebilly.GetRetentionValueReportResponsePromise } response
@@ -9997,8 +10003,8 @@ function As({ apiHandler: t2 }) {
9997
10003
  limit: l = null,
9998
10004
  offset: i = null,
9999
10005
  filter: f = null,
10000
- sort: a = null,
10001
- criteria: $2 = null
10006
+ sort: g = null,
10007
+ criteria: p = null
10002
10008
  }) {
10003
10009
  const h2 = {
10004
10010
  aggregationField: e2,
@@ -10010,8 +10016,8 @@ function As({ apiHandler: t2 }) {
10010
10016
  limit: l,
10011
10017
  offset: i,
10012
10018
  filter: f,
10013
- sort: a,
10014
- criteria: $2
10019
+ sort: g,
10020
+ criteria: p
10015
10021
  };
10016
10022
  return t2.get("reports/retention-value", h2);
10017
10023
  },