rebilly-js-sdk 62.201.0 → 62.201.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.
@@ -1,6 +1,6 @@
1
- var $e = Object.defineProperty;
2
- var he = (t, e, s) => e in t ? $e(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
- var E = (t, e, s) => he(t, typeof e != "symbol" ? e + "" : e, s);
1
+ var he = Object.defineProperty;
2
+ var pe = (t, e, s) => e in t ? he(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
+ var E = (t, e, s) => pe(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  import M from "axios";
5
5
  function S(t, { exclude: e = [] } = {}) {
6
6
  Object.freeze(t);
@@ -122,28 +122,28 @@ const y = {
122
122
  function Ie(t) {
123
123
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
124
124
  }
125
- var P, Q;
125
+ var x, Q;
126
126
  function se() {
127
- if (Q) return P;
127
+ if (Q) return x;
128
128
  Q = 1;
129
129
  var t = Object.prototype.toString;
130
- P = function($) {
131
- if ($ === void 0) return "undefined";
132
- if ($ === null) return "null";
133
- var h = typeof $;
134
- if (h === "boolean") return "boolean";
135
- if (h === "string") return "string";
136
- if (h === "number") return "number";
137
- if (h === "symbol") return "symbol";
138
- if (h === "function")
139
- return o($) ? "generatorfunction" : "function";
140
- if (s($)) return "array";
141
- if (f($)) return "buffer";
142
- if (i($)) return "arguments";
143
- if (n($)) return "date";
144
- if (r($)) return "error";
145
- if (u($)) return "regexp";
146
- switch (e($)) {
130
+ x = function(h) {
131
+ if (h === void 0) return "undefined";
132
+ if (h === null) return "null";
133
+ var p = typeof h;
134
+ if (p === "boolean") return "boolean";
135
+ if (p === "string") return "string";
136
+ if (p === "number") return "number";
137
+ if (p === "symbol") return "symbol";
138
+ if (p === "function")
139
+ return o(h) ? "generatorfunction" : "function";
140
+ if (s(h)) return "array";
141
+ if (f(h)) return "buffer";
142
+ if (i(h)) return "arguments";
143
+ if (n(h)) return "date";
144
+ if (r(h)) return "error";
145
+ if (u(h)) return "regexp";
146
+ switch (e(h)) {
147
147
  case "Symbol":
148
148
  return "symbol";
149
149
  case "Promise":
@@ -179,9 +179,9 @@ function se() {
179
179
  case "Float64Array":
180
180
  return "float64array";
181
181
  }
182
- if (l($))
182
+ if (l(h))
183
183
  return "generator";
184
- switch (h = t.call($), h) {
184
+ switch (p = t.call(h), p) {
185
185
  case "[object Object]":
186
186
  return "object";
187
187
  // iterators
@@ -194,7 +194,7 @@ function se() {
194
194
  case "[object Array Iterator]":
195
195
  return "arrayiterator";
196
196
  }
197
- return h.slice(8, -1).toLowerCase().replace(/\s/g, "");
197
+ return p.slice(8, -1).toLowerCase().replace(/\s/g, "");
198
198
  };
199
199
  function e(g) {
200
200
  return typeof g.constructor == "function" ? g.constructor.name : null;
@@ -211,7 +211,7 @@ function se() {
211
211
  function u(g) {
212
212
  return g instanceof RegExp ? !0 : typeof g.flags == "string" && typeof g.ignoreCase == "boolean" && typeof g.multiline == "boolean" && typeof g.global == "boolean";
213
213
  }
214
- function o(g, $) {
214
+ function o(g, h) {
215
215
  return e(g) === "GeneratorFunction";
216
216
  }
217
217
  function l(g) {
@@ -221,8 +221,8 @@ function se() {
221
221
  try {
222
222
  if (typeof g.length == "number" && typeof g.callee == "function")
223
223
  return !0;
224
- } catch ($) {
225
- if ($.message.indexOf("callee") !== -1)
224
+ } catch (h) {
225
+ if (h.message.indexOf("callee") !== -1)
226
226
  return !0;
227
227
  }
228
228
  return !1;
@@ -230,7 +230,7 @@ function se() {
230
230
  function f(g) {
231
231
  return g.constructor && typeof g.constructor.isBuffer == "function" ? g.constructor.isBuffer(g) : !1;
232
232
  }
233
- return P;
233
+ return x;
234
234
  }
235
235
  /*!
236
236
  * shallow-clone <https://github.com/jonschlinkert/shallow-clone>
@@ -238,9 +238,9 @@ function se() {
238
238
  * Copyright (c) 2015-present, Jon Schlinkert.
239
239
  * Released under the MIT License.
240
240
  */
241
- var x, X;
241
+ var P, X;
242
242
  function Se() {
243
- if (X) return x;
243
+ if (X) return P;
244
244
  X = 1;
245
245
  const t = Symbol.prototype.valueOf, e = se();
246
246
  function s(i, f) {
@@ -297,7 +297,7 @@ function Se() {
297
297
  function l(i) {
298
298
  return t ? Object(t.call(i)) : {};
299
299
  }
300
- return x = s, x;
300
+ return P = s, P;
301
301
  }
302
302
  /*!
303
303
  * isobject <https://github.com/jonschlinkert/isobject>
@@ -318,7 +318,7 @@ function Ee() {
318
318
  * Released under the MIT License.
319
319
  */
320
320
  var D, _;
321
- function Pe() {
321
+ function xe() {
322
322
  if (_) return D;
323
323
  _ = 1;
324
324
  var t = Ee();
@@ -331,10 +331,10 @@ function Pe() {
331
331
  }, D;
332
332
  }
333
333
  var j, H;
334
- function xe() {
334
+ function Pe() {
335
335
  if (H) return j;
336
336
  H = 1;
337
- const t = Se(), e = se(), s = Pe();
337
+ const t = Se(), e = se(), s = xe();
338
338
  function r(o, l) {
339
339
  switch (e(o)) {
340
340
  case "object":
@@ -364,7 +364,7 @@ function xe() {
364
364
  }
365
365
  return j = r, j;
366
366
  }
367
- var Ce = xe();
367
+ var Ce = Pe();
368
368
  const De = /* @__PURE__ */ Ie(Ce);
369
369
  let je = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Me = (t = 21) => {
370
370
  let e = "", s = t | 0;
@@ -455,7 +455,7 @@ E(I, "cancelAll", async (e) => {
455
455
  for (const s of q.getAll())
456
456
  await s.cancel(e), q.deleteById(s.id);
457
457
  });
458
- const or = {
458
+ const ur = {
459
459
  /**
460
460
  * @type Cancellation.cancelAll
461
461
  */
@@ -489,7 +489,7 @@ function O({ options: t }) {
489
489
  }
490
490
  function o() {
491
491
  const a = {
492
- "REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m) => m).join("/")}@7d7b0ad`
492
+ "REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m) => m).join("/")}@a547fe0`
493
493
  };
494
494
  return t.apiKey && (a["REB-APIKEY"] = t.apiKey), a;
495
495
  }
@@ -507,14 +507,14 @@ function O({ options: t }) {
507
507
  const a = l();
508
508
  t.publishableKey = c, a.common.Authorization = `${c}`, e.defaults.headers = a;
509
509
  }
510
- function $({ host: c, port: a, auth: m }) {
510
+ function h({ host: c, port: a, auth: m }) {
511
511
  e.defaults.proxy = {
512
512
  host: c,
513
513
  port: a,
514
514
  auth: m
515
515
  };
516
516
  }
517
- function h({ live: c = null, sandbox: a = null }) {
517
+ function p({ live: c = null, sandbox: a = null }) {
518
518
  c && (t.apiEndpoints.live = c), a && (t.apiEndpoints.sandbox = a), e.defaults.baseURL = u();
519
519
  }
520
520
  function K(c, { thenDelegate: a, catchDelegate: m = () => {
@@ -551,15 +551,15 @@ function O({ options: t }) {
551
551
  N(w.response, c);
552
552
  }
553
553
  function v({ request: c, isCollection: a, config: m }) {
554
- const p = z(m), { id: R, cancelToken: pe } = q.save();
555
- p.cancelToken = pe;
554
+ const $ = z(m), { id: R, cancelToken: $e } = q.save();
555
+ $.cancelToken = $e;
556
556
  const G = async function() {
557
557
  try {
558
- const d = await c(p);
558
+ const d = await c($);
559
559
  return le({
560
560
  response: d,
561
561
  isCollection: a,
562
- config: p
562
+ config: $
563
563
  });
564
564
  } catch (d) {
565
565
  return L({ error: d });
@@ -599,8 +599,8 @@ function O({ options: t }) {
599
599
  return c.params[a] !== null && c.params[a] !== "" && !(a === "sort" && ((m = c.params[a]) == null ? void 0 : m.length) === 0);
600
600
  }
601
601
  ).reduce((a, m) => {
602
- const p = c.params[m];
603
- return a[m] = m === "sort" && Array.isArray(p) ? p.join(",") : p, a;
602
+ const $ = c.params[m];
603
+ return a[m] = m === "sort" && Array.isArray($) ? $.join(",") : $, a;
604
604
  }, {})), c;
605
605
  }
606
606
  function z(c = {}) {
@@ -620,15 +620,15 @@ function O({ options: t }) {
620
620
  });
621
621
  }
622
622
  function V(c, a, m = {}) {
623
- let p = {};
624
- return m.authenticate === !1 && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m.params && (p.params = { ...m.params }), v({
623
+ let $ = {};
624
+ return m.authenticate === !1 && ($ = { headers: l() }, delete $.headers.common["REB-APIKEY"], delete $.headers.common.Authorization), m.params && ($.params = { ...m.params }), v({
625
625
  request: (R) => e.post(c, a, R),
626
- config: p
626
+ config: $
627
627
  });
628
628
  }
629
629
  function J(c, a, m = {}) {
630
630
  return v({
631
- request: (p) => e.put(c, a, p),
631
+ request: ($) => e.put(c, a, $),
632
632
  config: { params: m }
633
633
  });
634
634
  }
@@ -647,9 +647,9 @@ function O({ options: t }) {
647
647
  function ge(c, a) {
648
648
  return W(c, a);
649
649
  }
650
- async function me(c, a, m, p = {}) {
650
+ async function me(c, a, m, $ = {}) {
651
651
  if (a === "")
652
- return V(c, m, { params: p });
652
+ return V(c, m, { params: $ });
653
653
  try {
654
654
  if ((await U(c)).response.status === 200)
655
655
  throw new y.RebillyConflictError({
@@ -657,17 +657,17 @@ function O({ options: t }) {
657
657
  });
658
658
  } catch (R) {
659
659
  if (R.name === "RebillyNotFoundError")
660
- return J(c, m, p);
660
+ return J(c, m, $);
661
661
  throw R;
662
662
  }
663
663
  }
664
664
  async function fe(c, a) {
665
665
  const m = z(a);
666
666
  try {
667
- const p = await e.get(c, m);
668
- return new Ae(p, m);
669
- } catch (p) {
670
- return L({ error: p });
667
+ const $ = await e.get(c, m);
668
+ return new Ae($, m);
669
+ } catch ($) {
670
+ return L({ error: $ });
671
671
  }
672
672
  }
673
673
  return {
@@ -677,10 +677,10 @@ function O({ options: t }) {
677
677
  addResponseInterceptor: ue,
678
678
  removeResponseInterceptor: oe,
679
679
  setTimeout: i,
680
- setProxyAgent: $,
680
+ setProxyAgent: h,
681
681
  setSessionToken: f,
682
682
  setPublishableKey: g,
683
- setEndpoints: h,
683
+ setEndpoints: p,
684
684
  get: U,
685
685
  getAll: ie,
686
686
  post: V,
@@ -1463,40 +1463,6 @@ function tt({ apiHandler: t }) {
1463
1463
  };
1464
1464
  }
1465
1465
  function st({ apiHandler: t }) {
1466
- return {
1467
- /**
1468
- * @param { rebilly.GetDepositCustomPropertySetCollectionRequest } request
1469
- * @returns { rebilly.GetDepositCustomPropertySetCollectionResponsePromise } response
1470
- */
1471
- getAll({ limit: e = null, offset: s = null, filter: r = null, sort: n = null } = {}) {
1472
- const u = { limit: e, offset: s, filter: r, sort: n };
1473
- return t.getAll("deposit-custom-property-sets", u);
1474
- },
1475
- /**
1476
- * @param { rebilly.CreateDepositCustomPropertySetRequest } request
1477
- * @returns { rebilly.PostDepositCustomPropertySetResponsePromise } response
1478
- */
1479
- create({ id: e = "", data: s }) {
1480
- return t.create(`deposit-custom-property-sets/${e}`, e, s);
1481
- },
1482
- /**
1483
- * @returns { rebilly.GetDepositCustomPropertySetResponsePromise } response
1484
- */
1485
- get({ id: e }) {
1486
- return t.get(`deposit-custom-property-sets/${e}`);
1487
- },
1488
- /**
1489
- * @returns { rebilly.PutDepositCustomPropertySetResponsePromise } response
1490
- */
1491
- update({ id: e, data: s }) {
1492
- return t.put(`deposit-custom-property-sets/${e}`, s);
1493
- },
1494
- delete({ id: e }) {
1495
- return t.delete(`deposit-custom-property-sets/${e}`);
1496
- }
1497
- };
1498
- }
1499
- function rt({ apiHandler: t }) {
1500
1466
  return {
1501
1467
  /**
1502
1468
  * @param { rebilly.GetDepositRequestCollectionRequest } request
@@ -1524,7 +1490,7 @@ function rt({ apiHandler: t }) {
1524
1490
  }
1525
1491
  };
1526
1492
  }
1527
- function nt({ apiHandler: t }) {
1493
+ function rt({ apiHandler: t }) {
1528
1494
  return {
1529
1495
  /**
1530
1496
  * @param { rebilly.GetDepositStrategyCollectionRequest } request
@@ -1558,7 +1524,7 @@ function nt({ apiHandler: t }) {
1558
1524
  }
1559
1525
  };
1560
1526
  }
1561
- function ut({ apiHandler: t }) {
1527
+ function nt({ apiHandler: t }) {
1562
1528
  return {
1563
1529
  validate({ data: e }) {
1564
1530
  return t.post("digital-wallets/validation", e);
@@ -1568,7 +1534,7 @@ function ut({ apiHandler: t }) {
1568
1534
  }
1569
1535
  };
1570
1536
  }
1571
- function ot({ apiHandler: t }) {
1537
+ function ut({ apiHandler: t }) {
1572
1538
  return {
1573
1539
  /**
1574
1540
  * @param { rebilly.GetDisputeCollectionRequest } request
@@ -1608,7 +1574,7 @@ function ot({ apiHandler: t }) {
1608
1574
  }
1609
1575
  };
1610
1576
  }
1611
- function lt({ apiHandler: t }) {
1577
+ function ot({ apiHandler: t }) {
1612
1578
  return {
1613
1579
  /**
1614
1580
  * @returns { rebilly.PutEmailDeliverySettingsVerificationResponsePromise } response
@@ -1652,7 +1618,7 @@ function lt({ apiHandler: t }) {
1652
1618
  }
1653
1619
  };
1654
1620
  }
1655
- function ct({ apiHandler: t }) {
1621
+ function lt({ apiHandler: t }) {
1656
1622
  return {
1657
1623
  /**
1658
1624
  * @param { rebilly.GetEmailMessageCollectionRequest } request
@@ -1685,7 +1651,7 @@ function ct({ apiHandler: t }) {
1685
1651
  }
1686
1652
  };
1687
1653
  }
1688
- function it({ apiHandler: t }) {
1654
+ function ct({ apiHandler: t }) {
1689
1655
  return {
1690
1656
  /**
1691
1657
  * @param { rebilly.GetEmailNotificationCollectionRequest } request
@@ -1697,7 +1663,7 @@ function it({ apiHandler: t }) {
1697
1663
  }
1698
1664
  };
1699
1665
  }
1700
- function at({ apiHandler: t }) {
1666
+ function it({ apiHandler: t }) {
1701
1667
  return {
1702
1668
  /**
1703
1669
  * @param { rebilly.GetEventCollectionRequest } request
@@ -1829,7 +1795,7 @@ function at({ apiHandler: t }) {
1829
1795
  }
1830
1796
  };
1831
1797
  }
1832
- function gt({ apiHandler: t }) {
1798
+ function at({ apiHandler: t }) {
1833
1799
  return {
1834
1800
  /**
1835
1801
  * @returns { rebilly.GetExternalIdentifierResponsePromise } response
@@ -1860,7 +1826,7 @@ function gt({ apiHandler: t }) {
1860
1826
  }
1861
1827
  };
1862
1828
  }
1863
- function mt({ apiHandler: t }) {
1829
+ function gt({ apiHandler: t }) {
1864
1830
  return {
1865
1831
  /**
1866
1832
  * @returns { rebilly.GetExternalServiceSettingsResponsePromise } response
@@ -1876,7 +1842,7 @@ function mt({ apiHandler: t }) {
1876
1842
  }
1877
1843
  };
1878
1844
  }
1879
- function ft({ apiHandler: t }) {
1845
+ function mt({ apiHandler: t }) {
1880
1846
  return {
1881
1847
  /**
1882
1848
  * @param { rebilly.GetFeeCollectionRequest } request
@@ -1913,7 +1879,7 @@ function ft({ apiHandler: t }) {
1913
1879
  }
1914
1880
  };
1915
1881
  }
1916
- function pt({ apiHandler: t }) {
1882
+ function ft({ apiHandler: t }) {
1917
1883
  return {
1918
1884
  /**
1919
1885
  * @param { rebilly.GetAttachmentCollectionRequest } request
@@ -2205,7 +2171,7 @@ function ht({ apiHandler: t }) {
2205
2171
  }
2206
2172
  };
2207
2173
  }
2208
- function yt({ apiHandler: t }) {
2174
+ function pt({ apiHandler: t }) {
2209
2175
  return {
2210
2176
  /**
2211
2177
  * @param { rebilly.GetInvoiceCollectionRequest } request
@@ -2336,7 +2302,7 @@ function yt({ apiHandler: t }) {
2336
2302
  }
2337
2303
  };
2338
2304
  }
2339
- function At({ apiHandler: t }) {
2305
+ function yt({ apiHandler: t }) {
2340
2306
  return {
2341
2307
  /**
2342
2308
  * @param { rebilly.GetJournalAccountCollectionRequest } request
@@ -2372,7 +2338,7 @@ function At({ apiHandler: t }) {
2372
2338
  }
2373
2339
  };
2374
2340
  }
2375
- function Rt({ apiHandler: t }) {
2341
+ function At({ apiHandler: t }) {
2376
2342
  return {
2377
2343
  /**
2378
2344
  * @param { rebilly.GetJournalEntryCollectionRequest } request
@@ -2408,7 +2374,7 @@ function Rt({ apiHandler: t }) {
2408
2374
  }
2409
2375
  };
2410
2376
  }
2411
- function bt({ apiHandler: t }) {
2377
+ function Rt({ apiHandler: t }) {
2412
2378
  return {
2413
2379
  /**
2414
2380
  * @param { rebilly.GetJournalRecordCollectionRequest } request
@@ -2448,7 +2414,7 @@ function bt({ apiHandler: t }) {
2448
2414
  }
2449
2415
  };
2450
2416
  }
2451
- function wt({ apiHandler: t }) {
2417
+ function bt({ apiHandler: t }) {
2452
2418
  return {
2453
2419
  /**
2454
2420
  * @param { rebilly.GetKycDocumentCollectionRequest } request
@@ -2503,7 +2469,7 @@ function wt({ apiHandler: t }) {
2503
2469
  }
2504
2470
  };
2505
2471
  }
2506
- function kt({ apiHandler: t }) {
2472
+ function wt({ apiHandler: t }) {
2507
2473
  return {
2508
2474
  /**
2509
2475
  * @param { rebilly.GetKycRequestCollectionRequest } request
@@ -2536,7 +2502,7 @@ function kt({ apiHandler: t }) {
2536
2502
  }
2537
2503
  };
2538
2504
  }
2539
- function vt({ apiHandler: t }) {
2505
+ function kt({ apiHandler: t }) {
2540
2506
  return {
2541
2507
  /**
2542
2508
  * @returns { rebilly.GetKycSettingsResponsePromise } response
@@ -2552,7 +2518,7 @@ function vt({ apiHandler: t }) {
2552
2518
  }
2553
2519
  };
2554
2520
  }
2555
- function qt({ apiHandler: t }) {
2521
+ function vt({ apiHandler: t }) {
2556
2522
  return {
2557
2523
  /**
2558
2524
  * @param { rebilly.GetListCollectionRequest } request
@@ -2599,7 +2565,7 @@ function qt({ apiHandler: t }) {
2599
2565
  }
2600
2566
  };
2601
2567
  }
2602
- function dt({ apiHandler: t }) {
2568
+ function qt({ apiHandler: t }) {
2603
2569
  return {
2604
2570
  /**
2605
2571
  * @param { rebilly.GetOrderCancellationCollectionRequest } request
@@ -2636,7 +2602,7 @@ function dt({ apiHandler: t }) {
2636
2602
  }
2637
2603
  };
2638
2604
  }
2639
- function Tt({ apiHandler: t }) {
2605
+ function dt({ apiHandler: t }) {
2640
2606
  return {
2641
2607
  /**
2642
2608
  * @param { rebilly.GetOrderChangeCollectionRequest } request
@@ -2670,7 +2636,7 @@ function Tt({ apiHandler: t }) {
2670
2636
  }
2671
2637
  };
2672
2638
  }
2673
- function It({ apiHandler: t }) {
2639
+ function Tt({ apiHandler: t }) {
2674
2640
  return {
2675
2641
  /**
2676
2642
  * @param { rebilly.GetOrderPauseCollectionRequest } request
@@ -2704,7 +2670,7 @@ function It({ apiHandler: t }) {
2704
2670
  }
2705
2671
  };
2706
2672
  }
2707
- function St({ apiHandler: t }) {
2673
+ function It({ apiHandler: t }) {
2708
2674
  return {
2709
2675
  /**
2710
2676
  * @param { rebilly.GetOrderReactivationCollectionRequest } request
@@ -2725,7 +2691,7 @@ function St({ apiHandler: t }) {
2725
2691
  }
2726
2692
  };
2727
2693
  }
2728
- function Et({ apiHandler: t }) {
2694
+ function St({ apiHandler: t }) {
2729
2695
  return {
2730
2696
  /**
2731
2697
  * @param { rebilly.GetOrderCollectionRequest } request
@@ -2789,7 +2755,7 @@ function Et({ apiHandler: t }) {
2789
2755
  }
2790
2756
  };
2791
2757
  }
2792
- function Pt({ apiHandler: t }) {
2758
+ function Et({ apiHandler: t }) {
2793
2759
  return {
2794
2760
  /**
2795
2761
  * @param { rebilly.GetOrganizationExportCollectionRequest } request
@@ -2846,7 +2812,7 @@ function xt({ apiHandler: t }) {
2846
2812
  }
2847
2813
  };
2848
2814
  }
2849
- function Ct({ apiHandler: t }) {
2815
+ function Pt({ apiHandler: t }) {
2850
2816
  return {
2851
2817
  /**
2852
2818
  * @param { rebilly.GetPaymentCardBankNameCollectionRequest } request
@@ -2858,7 +2824,7 @@ function Ct({ apiHandler: t }) {
2858
2824
  }
2859
2825
  };
2860
2826
  }
2861
- function Dt({ apiHandler: t }) {
2827
+ function Ct({ apiHandler: t }) {
2862
2828
  return {
2863
2829
  /**
2864
2830
  * @param { rebilly.GetPaymentInstrumentCollectionRequest } request
@@ -2895,7 +2861,7 @@ function Dt({ apiHandler: t }) {
2895
2861
  }
2896
2862
  };
2897
2863
  }
2898
- function jt({ apiHandler: t }) {
2864
+ function Dt({ apiHandler: t }) {
2899
2865
  return {
2900
2866
  /**
2901
2867
  * @param { rebilly.GetPaymentMethodCollectionRequest } request
@@ -2913,7 +2879,7 @@ function jt({ apiHandler: t }) {
2913
2879
  }
2914
2880
  };
2915
2881
  }
2916
- function Mt({ apiHandler: t }) {
2882
+ function jt({ apiHandler: t }) {
2917
2883
  return {
2918
2884
  /**
2919
2885
  * @param { rebilly.GetTokenCollectionRequest } request
@@ -2934,7 +2900,7 @@ function Mt({ apiHandler: t }) {
2934
2900
  }
2935
2901
  };
2936
2902
  }
2937
- function Ot({ apiHandler: t }) {
2903
+ function Mt({ apiHandler: t }) {
2938
2904
  return {
2939
2905
  /**
2940
2906
  * @param { rebilly.GetPayoutRequestAllocationCollectionRequest } request
@@ -2961,28 +2927,28 @@ function Ot({ apiHandler: t }) {
2961
2927
  }
2962
2928
  };
2963
2929
  }
2964
- function Ft({ apiHandler: t }) {
2930
+ function Ot({ apiHandler: t }) {
2965
2931
  return {
2966
2932
  create({ data: e }) {
2967
2933
  return t.post("payout-request-auto-allocations", e);
2968
2934
  }
2969
2935
  };
2970
2936
  }
2971
- function Bt({ apiHandler: t }) {
2937
+ function Ft({ apiHandler: t }) {
2972
2938
  return {
2973
2939
  create({ data: e }) {
2974
2940
  return t.post("payout-request-batch-operations", e);
2975
2941
  }
2976
2942
  };
2977
2943
  }
2978
- function Kt({ apiHandler: t }) {
2944
+ function Bt({ apiHandler: t }) {
2979
2945
  return {
2980
2946
  create({ data: e }) {
2981
2947
  return t.post("payout-request-batch-previews", e);
2982
2948
  }
2983
2949
  };
2984
2950
  }
2985
- function Nt({ apiHandler: t }) {
2951
+ function Kt({ apiHandler: t }) {
2986
2952
  return {
2987
2953
  /**
2988
2954
  * @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
@@ -3039,14 +3005,14 @@ function Nt({ apiHandler: t }) {
3039
3005
  }
3040
3006
  };
3041
3007
  }
3042
- function Lt({ apiHandler: t }) {
3008
+ function Nt({ apiHandler: t }) {
3043
3009
  return {
3044
3010
  create({ data: e }) {
3045
3011
  return t.post("payout-request-splits", e);
3046
3012
  }
3047
3013
  };
3048
3014
  }
3049
- function zt({ apiHandler: t }) {
3015
+ function Lt({ apiHandler: t }) {
3050
3016
  return {
3051
3017
  /**
3052
3018
  * @param { rebilly.GetPayoutRequestCollectionRequest } request
@@ -3113,14 +3079,14 @@ function zt({ apiHandler: t }) {
3113
3079
  }
3114
3080
  };
3115
3081
  }
3116
- function Ut({ apiHandler: t }) {
3082
+ function zt({ apiHandler: t }) {
3117
3083
  return {
3118
3084
  create({ data: e }) {
3119
3085
  return t.post("payouts", e);
3120
3086
  }
3121
3087
  };
3122
3088
  }
3123
- function Vt({ apiHandler: t }) {
3089
+ function Ut({ apiHandler: t }) {
3124
3090
  return {
3125
3091
  /**
3126
3092
  * @param { rebilly.GetPlanCollectionRequest } request
@@ -3160,7 +3126,7 @@ function Vt({ apiHandler: t }) {
3160
3126
  }
3161
3127
  };
3162
3128
  }
3163
- function Jt({ apiHandler: t }) {
3129
+ function Vt({ apiHandler: t }) {
3164
3130
  return {
3165
3131
  order({ data: e }) {
3166
3132
  return t.post("previews/orders", e);
@@ -3173,7 +3139,7 @@ function Jt({ apiHandler: t }) {
3173
3139
  }
3174
3140
  };
3175
3141
  }
3176
- function Wt({ apiHandler: t }) {
3142
+ function Jt({ apiHandler: t }) {
3177
3143
  return {
3178
3144
  /**
3179
3145
  * @param { rebilly.GetProductCollectionRequest } request
@@ -3213,7 +3179,7 @@ function Wt({ apiHandler: t }) {
3213
3179
  }
3214
3180
  };
3215
3181
  }
3216
- function Gt({ apiHandler: t }) {
3182
+ function Wt({ apiHandler: t }) {
3217
3183
  return {
3218
3184
  startPermissionsEmulation({ data: e }) {
3219
3185
  return t.post("permissions-emulation", e);
@@ -3254,14 +3220,14 @@ function Gt({ apiHandler: t }) {
3254
3220
  }
3255
3221
  };
3256
3222
  }
3257
- function Yt({ apiHandler: t }) {
3223
+ function Gt({ apiHandler: t }) {
3258
3224
  return {
3259
3225
  readyToPay({ data: e }) {
3260
3226
  return t.post("ready-to-pay", e);
3261
3227
  }
3262
3228
  };
3263
3229
  }
3264
- function Qt({ apiHandler: t }) {
3230
+ function Yt({ apiHandler: t }) {
3265
3231
  return {
3266
3232
  /**
3267
3233
  * @param { rebilly.GetQuoteCollectionRequest } request
@@ -3354,7 +3320,7 @@ function Qt({ apiHandler: t }) {
3354
3320
  }
3355
3321
  };
3356
3322
  }
3357
- function Xt({ apiHandler: t }) {
3323
+ function Qt({ apiHandler: t }) {
3358
3324
  return {
3359
3325
  /**
3360
3326
  * @returns { rebilly.GetReleaseFlagsResponsePromise } response
@@ -3364,7 +3330,7 @@ function Xt({ apiHandler: t }) {
3364
3330
  }
3365
3331
  };
3366
3332
  }
3367
- function Zt({ apiHandler: t }) {
3333
+ function Xt({ apiHandler: t }) {
3368
3334
  return {
3369
3335
  /**
3370
3336
  * @returns { rebilly.GetExternalIdentifierResponsePromise } response
@@ -3395,7 +3361,7 @@ function Zt({ apiHandler: t }) {
3395
3361
  }
3396
3362
  };
3397
3363
  }
3398
- function _t({ apiHandler: t }) {
3364
+ function Zt({ apiHandler: t }) {
3399
3365
  return {
3400
3366
  /**
3401
3367
  * @returns { rebilly.GetRiskScoreRulesResponsePromise } response
@@ -3423,7 +3389,7 @@ function _t({ apiHandler: t }) {
3423
3389
  }
3424
3390
  };
3425
3391
  }
3426
- function Ht({ apiHandler: t }) {
3392
+ function _t({ apiHandler: t }) {
3427
3393
  return {
3428
3394
  /**
3429
3395
  * @param { rebilly.GetRoleCollectionRequest } request
@@ -3465,7 +3431,7 @@ function Ht({ apiHandler: t }) {
3465
3431
  }
3466
3432
  };
3467
3433
  }
3468
- function es({ apiHandler: t }) {
3434
+ function Ht({ apiHandler: t }) {
3469
3435
  return {
3470
3436
  /**
3471
3437
  * @returns { rebilly.GetSearchResponsePromise } response
@@ -3476,7 +3442,7 @@ function es({ apiHandler: t }) {
3476
3442
  }
3477
3443
  };
3478
3444
  }
3479
- function ts({ apiHandler: t }) {
3445
+ function es({ apiHandler: t }) {
3480
3446
  return {
3481
3447
  /**
3482
3448
  * @param { rebilly.GetGridSegmentCollectionRequest } request
@@ -3516,7 +3482,7 @@ function ts({ apiHandler: t }) {
3516
3482
  }
3517
3483
  };
3518
3484
  }
3519
- function ss({ apiHandler: t }) {
3485
+ function ts({ apiHandler: t }) {
3520
3486
  return {
3521
3487
  /**
3522
3488
  * @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
@@ -3526,7 +3492,7 @@ function ss({ apiHandler: t }) {
3526
3492
  }
3527
3493
  };
3528
3494
  }
3529
- function rs({ apiHandler: t }) {
3495
+ function ss({ apiHandler: t }) {
3530
3496
  return {
3531
3497
  /**
3532
3498
  * @param { rebilly.GetServiceCredentialCollectionRequest } request
@@ -3577,7 +3543,7 @@ function rs({ apiHandler: t }) {
3577
3543
  }
3578
3544
  };
3579
3545
  }
3580
- function ns({ apiHandler: t }) {
3546
+ function rs({ apiHandler: t }) {
3581
3547
  return {
3582
3548
  /**
3583
3549
  * @param { rebilly.GetShippingRateCollectionRequest } request
@@ -3617,7 +3583,7 @@ function ns({ apiHandler: t }) {
3617
3583
  }
3618
3584
  };
3619
3585
  }
3620
- function us({ apiHandler: t }) {
3586
+ function ns({ apiHandler: t }) {
3621
3587
  return {
3622
3588
  /**
3623
3589
  * @returns { rebilly.GetStatusResponsePromise } response
@@ -3627,7 +3593,7 @@ function us({ apiHandler: t }) {
3627
3593
  }
3628
3594
  };
3629
3595
  }
3630
- function os({ apiHandler: t }) {
3596
+ function us({ apiHandler: t }) {
3631
3597
  return {
3632
3598
  /**
3633
3599
  * @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
@@ -3658,7 +3624,7 @@ function os({ apiHandler: t }) {
3658
3624
  }
3659
3625
  };
3660
3626
  }
3661
- function ls({ apiHandler: t }) {
3627
+ function os({ apiHandler: t }) {
3662
3628
  return {
3663
3629
  /**
3664
3630
  * @param { rebilly.GetSubscriptionPauseCollectionRequest } request
@@ -3692,7 +3658,7 @@ function ls({ apiHandler: t }) {
3692
3658
  }
3693
3659
  };
3694
3660
  }
3695
- function cs({ apiHandler: t }) {
3661
+ function ls({ apiHandler: t }) {
3696
3662
  return {
3697
3663
  /**
3698
3664
  * @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
@@ -3713,7 +3679,7 @@ function cs({ apiHandler: t }) {
3713
3679
  }
3714
3680
  };
3715
3681
  }
3716
- function is({ apiHandler: t }) {
3682
+ function cs({ apiHandler: t }) {
3717
3683
  return {
3718
3684
  /**
3719
3685
  * @param { rebilly.GetSubscriptionCollectionRequest } request
@@ -3824,7 +3790,7 @@ function is({ apiHandler: t }) {
3824
3790
  }
3825
3791
  };
3826
3792
  }
3827
- function as({ apiHandler: t }) {
3793
+ function is({ apiHandler: t }) {
3828
3794
  return {
3829
3795
  /**
3830
3796
  * @param { rebilly.GetTagCollectionRequest } request
@@ -3893,7 +3859,7 @@ function as({ apiHandler: t }) {
3893
3859
  }
3894
3860
  };
3895
3861
  }
3896
- function gs({ apiHandler: t }) {
3862
+ function as({ apiHandler: t }) {
3897
3863
  return {
3898
3864
  /**
3899
3865
  * @param { rebilly.GetTagRuleCollectionRequest } request
@@ -3933,7 +3899,7 @@ function gs({ apiHandler: t }) {
3933
3899
  }
3934
3900
  };
3935
3901
  }
3936
- function ms({ apiHandler: t }) {
3902
+ function gs({ apiHandler: t }) {
3937
3903
  return {
3938
3904
  /**
3939
3905
  * @param { rebilly.GetTrackingApiCollectionRequest } request
@@ -4015,7 +3981,7 @@ function ms({ apiHandler: t }) {
4015
3981
  }
4016
3982
  };
4017
3983
  }
4018
- function fs({ apiHandler: t }) {
3984
+ function ms({ apiHandler: t }) {
4019
3985
  return {
4020
3986
  /**
4021
3987
  * @param { rebilly.GetTransactionCollectionRequest } request
@@ -4092,7 +4058,7 @@ function fs({ apiHandler: t }) {
4092
4058
  }
4093
4059
  };
4094
4060
  }
4095
- function ps({ apiHandler: t }) {
4061
+ function fs({ apiHandler: t }) {
4096
4062
  return {
4097
4063
  /**
4098
4064
  * @param { rebilly.GetUsageCollectionRequest } request
@@ -4196,7 +4162,7 @@ function hs({ apiHandler: t }) {
4196
4162
  }
4197
4163
  };
4198
4164
  }
4199
- function ys({ apiHandler: t }) {
4165
+ function ps({ apiHandler: t }) {
4200
4166
  return {
4201
4167
  /**
4202
4168
  * @param { rebilly.GetWebsiteCollectionRequest } request
@@ -4236,28 +4202,26 @@ function ys({ apiHandler: t }) {
4236
4202
  }
4237
4203
  };
4238
4204
  }
4239
- class As {
4205
+ class ys {
4240
4206
  constructor({ apiHandler: e }) {
4241
- this.account = Fe({ apiHandler: e }), this.allowlists = Be({ apiHandler: e }), this.amlChecks = Ke({ apiHandler: e }), this.amlSettings = Ne({ apiHandler: e }), this.apiKeys = Le({ apiHandler: e }), this.applicationInstances = ze({ apiHandler: e }), this.applications = Ue({ apiHandler: e }), this.balanceTransactions = Ve({ apiHandler: e }), this.billingPortals = Je({ apiHandler: e }), this.blocklists = We({ apiHandler: e }), this.broadcastMessages = Ge({ apiHandler: e }), this.cashiers = Ye({ apiHandler: e }), this.checkoutForms = Qe({ apiHandler: e }), this.coupons = Xe({ apiHandler: e }), this.creditMemos = Ze({ apiHandler: e }), this.customDomains = _e({ apiHandler: e }), this.customFields = He({ apiHandler: e }), this.customerAuthentication = et({ apiHandler: e }), this.customers = tt({ apiHandler: e }), this.depositCustomPropertySets = st({
4207
+ this.account = Fe({ apiHandler: e }), this.allowlists = Be({ apiHandler: e }), this.amlChecks = Ke({ apiHandler: e }), this.amlSettings = Ne({ apiHandler: e }), this.apiKeys = Le({ apiHandler: e }), this.applicationInstances = ze({ apiHandler: e }), this.applications = Ue({ apiHandler: e }), this.balanceTransactions = Ve({ apiHandler: e }), this.billingPortals = Je({ apiHandler: e }), this.blocklists = We({ apiHandler: e }), this.broadcastMessages = Ge({ apiHandler: e }), this.cashiers = Ye({ apiHandler: e }), this.checkoutForms = Qe({ apiHandler: e }), this.coupons = Xe({ apiHandler: e }), this.creditMemos = Ze({ apiHandler: e }), this.customDomains = _e({ apiHandler: e }), this.customFields = He({ apiHandler: e }), this.customerAuthentication = et({ apiHandler: e }), this.customers = tt({ apiHandler: e }), this.depositRequests = st({ apiHandler: e }), this.depositStrategies = rt({ apiHandler: e }), this.digitalWallets = nt({ apiHandler: e }), this.disputes = ut({ apiHandler: e }), this.emailDeliverySettings = ot({ apiHandler: e }), this.emailMessages = lt({ apiHandler: e }), this.emailNotifications = ct({ apiHandler: e }), this.events = it({ apiHandler: e }), this.externalIdentifiers = at({ apiHandler: e }), this.externalServicesSettings = gt({
4242
4208
  apiHandler: e
4243
- }), this.depositRequests = rt({ apiHandler: e }), this.depositStrategies = nt({ apiHandler: e }), this.digitalWallets = ut({ apiHandler: e }), this.disputes = ot({ apiHandler: e }), this.emailDeliverySettings = lt({ apiHandler: e }), this.emailMessages = ct({ apiHandler: e }), this.emailNotifications = it({ apiHandler: e }), this.events = at({ apiHandler: e }), this.externalIdentifiers = gt({ apiHandler: e }), this.externalServicesSettings = mt({
4209
+ }), this.fees = mt({ apiHandler: e }), this.files = ft({ apiHandler: e }), this.gatewayAccounts = $t({ apiHandler: e }), this.integrations = ht({ apiHandler: e }), this.invoices = pt({ apiHandler: e }), this.journalAccounts = yt({ apiHandler: e }), this.journalEntries = At({ apiHandler: e }), this.journalRecords = Rt({ apiHandler: e }), this.kycDocuments = bt({ apiHandler: e }), this.kycRequests = wt({ apiHandler: e }), this.kycSettings = kt({ apiHandler: e }), this.lists = vt({ apiHandler: e }), this.orderCancellations = qt({ apiHandler: e }), this.orderChanges = dt({ apiHandler: e }), this.orderPauses = Tt({ apiHandler: e }), this.orderReactivations = It({ apiHandler: e }), this.orders = St({ apiHandler: e }), this.organizationExports = Et({ apiHandler: e }), this.organizations = xt({ apiHandler: e }), this.paymentCardsBankNames = Pt({ apiHandler: e }), this.paymentInstruments = Ct({ apiHandler: e }), this.paymentMethods = Dt({ apiHandler: e }), this.paymentTokens = jt({ apiHandler: e }), this.payoutRequestAllocations = Mt({
4244
4210
  apiHandler: e
4245
- }), this.fees = ft({ apiHandler: e }), this.files = pt({ apiHandler: e }), this.gatewayAccounts = $t({ apiHandler: e }), this.integrations = ht({ apiHandler: e }), this.invoices = yt({ apiHandler: e }), this.journalAccounts = At({ apiHandler: e }), this.journalEntries = Rt({ apiHandler: e }), this.journalRecords = bt({ apiHandler: e }), this.kycDocuments = wt({ apiHandler: e }), this.kycRequests = kt({ apiHandler: e }), this.kycSettings = vt({ apiHandler: e }), this.lists = qt({ apiHandler: e }), this.orderCancellations = dt({ apiHandler: e }), this.orderChanges = Tt({ apiHandler: e }), this.orderPauses = It({ apiHandler: e }), this.orderReactivations = St({ apiHandler: e }), this.orders = Et({ apiHandler: e }), this.organizationExports = Pt({ apiHandler: e }), this.organizations = xt({ apiHandler: e }), this.paymentCardsBankNames = Ct({ apiHandler: e }), this.paymentInstruments = Dt({ apiHandler: e }), this.paymentMethods = jt({ apiHandler: e }), this.paymentTokens = Mt({ apiHandler: e }), this.payoutRequestAllocations = Ot({
4211
+ }), this.payoutRequestAutoAllocations = Ot({
4246
4212
  apiHandler: e
4247
- }), this.payoutRequestAutoAllocations = Ft({
4213
+ }), this.payoutRequestBatchOperations = Ft({
4248
4214
  apiHandler: e
4249
- }), this.payoutRequestBatchOperations = Bt({
4215
+ }), this.payoutRequestBatchPreviews = Bt({
4250
4216
  apiHandler: e
4251
- }), this.payoutRequestBatchPreviews = Kt({
4217
+ }), this.payoutRequestBatches = Kt({ apiHandler: e }), this.payoutRequestSplits = Nt({ apiHandler: e }), this.payoutRequests = Lt({ apiHandler: e }), this.payouts = zt({ apiHandler: e }), this.plans = Ut({ apiHandler: e }), this.previews = Vt({ apiHandler: e }), this.products = Jt({ apiHandler: e }), this.profile = Wt({ apiHandler: e }), this.purchase = Gt({ apiHandler: e }), this.quotes = Yt({ apiHandler: e }), this.releaseFlags = Qt({ apiHandler: e }), this.resource = Xt({ apiHandler: e }), this.riskScoreRules = Zt({ apiHandler: e }), this.roles = _t({ apiHandler: e }), this.search = Ht({ apiHandler: e }), this.segments = es({ apiHandler: e }), this.sendThroughAttribution = ts({ apiHandler: e }), this.serviceCredentials = ss({ apiHandler: e }), this.shippingRates = rs({ apiHandler: e }), this.status = ns({ apiHandler: e }), this.subscriptionCancellations = us({
4252
4218
  apiHandler: e
4253
- }), this.payoutRequestBatches = Nt({ apiHandler: e }), this.payoutRequestSplits = Lt({ apiHandler: e }), this.payoutRequests = zt({ apiHandler: e }), this.payouts = Ut({ apiHandler: e }), this.plans = Vt({ apiHandler: e }), this.previews = Jt({ apiHandler: e }), this.products = Wt({ apiHandler: e }), this.profile = Gt({ apiHandler: e }), this.purchase = Yt({ apiHandler: e }), this.quotes = Qt({ apiHandler: e }), this.releaseFlags = Xt({ apiHandler: e }), this.resource = Zt({ apiHandler: e }), this.riskScoreRules = _t({ apiHandler: e }), this.roles = Ht({ apiHandler: e }), this.search = es({ apiHandler: e }), this.segments = ts({ apiHandler: e }), this.sendThroughAttribution = ss({ apiHandler: e }), this.serviceCredentials = rs({ apiHandler: e }), this.shippingRates = ns({ apiHandler: e }), this.status = us({ apiHandler: e }), this.subscriptionCancellations = os({
4219
+ }), this.subscriptionPauses = os({ apiHandler: e }), this.subscriptionReactivations = ls({
4254
4220
  apiHandler: e
4255
- }), this.subscriptionPauses = ls({ apiHandler: e }), this.subscriptionReactivations = cs({
4256
- apiHandler: e
4257
- }), this.subscriptions = is({ apiHandler: e }), this.tags = as({ apiHandler: e }), this.tagsRules = gs({ apiHandler: e }), this.tracking = ms({ apiHandler: e }), this.transactions = fs({ apiHandler: e }), this.usages = ps({ apiHandler: e }), this.users = $s({ apiHandler: e }), this.webhooks = hs({ apiHandler: e }), this.websites = ys({ apiHandler: e }), this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setPublishableKey = e.setPublishableKey, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken, this.generateSignature = e.generateSignature;
4221
+ }), this.subscriptions = cs({ apiHandler: e }), this.tags = is({ apiHandler: e }), this.tagsRules = as({ apiHandler: e }), this.tracking = gs({ apiHandler: e }), this.transactions = ms({ apiHandler: e }), this.usages = fs({ apiHandler: e }), this.users = $s({ apiHandler: e }), this.webhooks = hs({ apiHandler: e }), this.websites = ps({ apiHandler: e }), this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setPublishableKey = e.setPublishableKey, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken, this.generateSignature = e.generateSignature;
4258
4222
  }
4259
4223
  }
4260
- function Rs({ apiHandler: t }) {
4224
+ function As({ apiHandler: t }) {
4261
4225
  return {
4262
4226
  /**
4263
4227
  * @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
@@ -4267,7 +4231,7 @@ function Rs({ apiHandler: t }) {
4267
4231
  }
4268
4232
  };
4269
4233
  }
4270
- function bs({ apiHandler: t }) {
4234
+ function Rs({ apiHandler: t }) {
4271
4235
  return {
4272
4236
  /**
4273
4237
  * @param { rebilly.GetDataExportCollectionRequest } request
@@ -4312,7 +4276,7 @@ function bs({ apiHandler: t }) {
4312
4276
  }
4313
4277
  };
4314
4278
  }
4315
- function ws({ apiHandler: t }) {
4279
+ function bs({ apiHandler: t }) {
4316
4280
  return {
4317
4281
  /**
4318
4282
  * @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
@@ -4356,7 +4320,7 @@ function ws({ apiHandler: t }) {
4356
4320
  }
4357
4321
  };
4358
4322
  }
4359
- function ks({ apiHandler: t }) {
4323
+ function ws({ apiHandler: t }) {
4360
4324
  return {
4361
4325
  /**
4362
4326
  * @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
@@ -4700,9 +4664,9 @@ function ks({ apiHandler: t }) {
4700
4664
  offset: i = null,
4701
4665
  filter: f = null,
4702
4666
  sort: g = null,
4703
- criteria: $ = null
4667
+ criteria: h = null
4704
4668
  }) {
4705
- const h = {
4669
+ const p = {
4706
4670
  aggregationField: e,
4707
4671
  aggregationPeriod: s,
4708
4672
  includeRefunds: r,
@@ -4713,9 +4677,9 @@ function ks({ apiHandler: t }) {
4713
4677
  offset: i,
4714
4678
  filter: f,
4715
4679
  sort: g,
4716
- criteria: $
4680
+ criteria: h
4717
4681
  };
4718
- return t.get("reports/retention-value", h);
4682
+ return t.get("reports/retention-value", p);
4719
4683
  },
4720
4684
  /**
4721
4685
  * @returns { rebilly.GetRevenueWaterfallReportResponsePromise } response
@@ -4855,7 +4819,7 @@ function ks({ apiHandler: t }) {
4855
4819
  }
4856
4820
  };
4857
4821
  }
4858
- function vs({ apiHandler: t }) {
4822
+ function ks({ apiHandler: t }) {
4859
4823
  return {
4860
4824
  /**
4861
4825
  * @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
@@ -4865,7 +4829,7 @@ function vs({ apiHandler: t }) {
4865
4829
  }
4866
4830
  };
4867
4831
  }
4868
- function qs({ apiHandler: t }) {
4832
+ function vs({ apiHandler: t }) {
4869
4833
  return {
4870
4834
  getActivityFeed({ eventTypes: e = null, limit: s = 1e3, offset: r = 0 }) {
4871
4835
  const n = {
@@ -4898,7 +4862,7 @@ function qs({ apiHandler: t }) {
4898
4862
  }
4899
4863
  };
4900
4864
  }
4901
- function ds({ apiHandler: t }) {
4865
+ function qs({ apiHandler: t }) {
4902
4866
  return {
4903
4867
  query() {
4904
4868
  return t.get("location");
@@ -4906,15 +4870,15 @@ function ds({ apiHandler: t }) {
4906
4870
  };
4907
4871
  }
4908
4872
  const b = {
4909
- CustomersResource: Rs,
4910
- DataExportsResource: bs,
4911
- HistogramsResource: ws,
4912
- ReportsResource: ks,
4913
- SubscriptionsResource: vs,
4914
- TimelinesResource: qs,
4915
- LocationResource: ds
4873
+ CustomersResource: As,
4874
+ DataExportsResource: Rs,
4875
+ HistogramsResource: bs,
4876
+ ReportsResource: ws,
4877
+ SubscriptionsResource: ks,
4878
+ TimelinesResource: vs,
4879
+ LocationResource: qs
4916
4880
  };
4917
- class Ts {
4881
+ class ds {
4918
4882
  constructor({ apiHandler: e }) {
4919
4883
  this.customers = b.CustomersResource({
4920
4884
  apiHandler: e
@@ -4929,7 +4893,7 @@ class Ts {
4929
4893
  }), this.location = b.LocationResource({ apiHandler: e }), this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken;
4930
4894
  }
4931
4895
  }
4932
- function Is({ apiHandler: t }) {
4896
+ function Ts({ apiHandler: t }) {
4933
4897
  return {
4934
4898
  /**
4935
4899
  * @returns { rebilly.StorefrontGetAccountResponsePromise } response
@@ -4961,7 +4925,7 @@ function Is({ apiHandler: t }) {
4961
4925
  }
4962
4926
  };
4963
4927
  }
4964
- function Ss({ apiHandler: t }) {
4928
+ function Is({ apiHandler: t }) {
4965
4929
  return {
4966
4930
  login({ data: e }) {
4967
4931
  return t.post("login", e);
@@ -4971,7 +4935,7 @@ function Ss({ apiHandler: t }) {
4971
4935
  }
4972
4936
  };
4973
4937
  }
4974
- function Es({ apiHandler: t }) {
4938
+ function Ss({ apiHandler: t }) {
4975
4939
  return {
4976
4940
  /**
4977
4941
  * @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
@@ -4981,7 +4945,7 @@ function Es({ apiHandler: t }) {
4981
4945
  }
4982
4946
  };
4983
4947
  }
4984
- function Ps({ apiHandler: t }) {
4948
+ function Es({ apiHandler: t }) {
4985
4949
  return {
4986
4950
  /**
4987
4951
  * @returns { rebilly.StorefrontGetCashierResponsePromise } response
@@ -5001,7 +4965,7 @@ function xs({ apiHandler: t }) {
5001
4965
  }
5002
4966
  };
5003
4967
  }
5004
- function Cs({ apiHandler: t }) {
4968
+ function Ps({ apiHandler: t }) {
5005
4969
  return {
5006
4970
  /**
5007
4971
  * @param { rebilly.StorefrontGetCustomFieldCollectionRequest } request
@@ -5013,7 +4977,7 @@ function Cs({ apiHandler: t }) {
5013
4977
  }
5014
4978
  };
5015
4979
  }
5016
- function Ds({ apiHandler: t }) {
4980
+ function Cs({ apiHandler: t }) {
5017
4981
  return {
5018
4982
  /**
5019
4983
  * @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
@@ -5024,14 +4988,14 @@ function Ds({ apiHandler: t }) {
5024
4988
  }
5025
4989
  };
5026
4990
  }
5027
- function js({ apiHandler: t }) {
4991
+ function Ds({ apiHandler: t }) {
5028
4992
  return {
5029
4993
  create({ data: e }) {
5030
4994
  return t.post("deposit", e);
5031
4995
  }
5032
4996
  };
5033
4997
  }
5034
- function Ms({ apiHandler: t }) {
4998
+ function js({ apiHandler: t }) {
5035
4999
  return {
5036
5000
  /**
5037
5001
  * @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
@@ -5041,7 +5005,7 @@ function Ms({ apiHandler: t }) {
5041
5005
  }
5042
5006
  };
5043
5007
  }
5044
- function Os({ apiHandler: t }) {
5008
+ function Ms({ apiHandler: t }) {
5045
5009
  return {
5046
5010
  /**
5047
5011
  * @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
@@ -5077,7 +5041,7 @@ function Os({ apiHandler: t }) {
5077
5041
  }
5078
5042
  };
5079
5043
  }
5080
- function Fs({ apiHandler: t }) {
5044
+ function Os({ apiHandler: t }) {
5081
5045
  return {
5082
5046
  create({ data: e }) {
5083
5047
  return t.post("kyc-documents", e);
@@ -5093,7 +5057,7 @@ function Fs({ apiHandler: t }) {
5093
5057
  }
5094
5058
  };
5095
5059
  }
5096
- function Bs({ apiHandler: t }) {
5060
+ function Fs({ apiHandler: t }) {
5097
5061
  return {
5098
5062
  create({ data: e }) {
5099
5063
  return t.post("kyc-liveness-sessions", e);
@@ -5109,7 +5073,7 @@ function Bs({ apiHandler: t }) {
5109
5073
  }
5110
5074
  };
5111
5075
  }
5112
- function Ks({ apiHandler: t }) {
5076
+ function Bs({ apiHandler: t }) {
5113
5077
  return {
5114
5078
  /**
5115
5079
  * @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
@@ -5120,7 +5084,7 @@ function Ks({ apiHandler: t }) {
5120
5084
  }
5121
5085
  };
5122
5086
  }
5123
- function Ns({ apiHandler: t }) {
5087
+ function Ks({ apiHandler: t }) {
5124
5088
  return {
5125
5089
  /**
5126
5090
  * @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
@@ -5162,7 +5126,7 @@ function Ns({ apiHandler: t }) {
5162
5126
  }
5163
5127
  };
5164
5128
  }
5165
- function Ls({ apiHandler: t }) {
5129
+ function Ns({ apiHandler: t }) {
5166
5130
  return {
5167
5131
  /**
5168
5132
  * @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
@@ -5205,14 +5169,14 @@ function Ls({ apiHandler: t }) {
5205
5169
  }
5206
5170
  };
5207
5171
  }
5208
- function zs({ apiHandler: t }) {
5172
+ function Ls({ apiHandler: t }) {
5209
5173
  return {
5210
5174
  create({ data: e }) {
5211
5175
  return t.post("payout-request-cancellations", e);
5212
5176
  }
5213
5177
  };
5214
5178
  }
5215
- function Us({ apiHandler: t }) {
5179
+ function zs({ apiHandler: t }) {
5216
5180
  return {
5217
5181
  /**
5218
5182
  * @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
@@ -5242,7 +5206,7 @@ function Us({ apiHandler: t }) {
5242
5206
  }
5243
5207
  };
5244
5208
  }
5245
- function Vs({ apiHandler: t }) {
5209
+ function Us({ apiHandler: t }) {
5246
5210
  return {
5247
5211
  /**
5248
5212
  * @param { rebilly.StorefrontGetPlanCollectionRequest } request
@@ -5268,7 +5232,7 @@ function Vs({ apiHandler: t }) {
5268
5232
  }
5269
5233
  };
5270
5234
  }
5271
- function Js({ apiHandler: t }) {
5235
+ function Vs({ apiHandler: t }) {
5272
5236
  return {
5273
5237
  /**
5274
5238
  * @param { rebilly.StorefrontGetProductCollectionRequest } request
@@ -5292,7 +5256,7 @@ function Js({ apiHandler: t }) {
5292
5256
  }
5293
5257
  };
5294
5258
  }
5295
- function Ws({ apiHandler: t }) {
5259
+ function Js({ apiHandler: t }) {
5296
5260
  return {
5297
5261
  payment({ data: e }) {
5298
5262
  return t.post("payment", e);
@@ -5308,7 +5272,7 @@ function Ws({ apiHandler: t }) {
5308
5272
  }
5309
5273
  };
5310
5274
  }
5311
- function Gs({ apiHandler: t }) {
5275
+ function Ws({ apiHandler: t }) {
5312
5276
  return {
5313
5277
  /**
5314
5278
  * @returns { rebilly.StorefrontGetQuoteResponsePromise } response
@@ -5332,21 +5296,21 @@ function Gs({ apiHandler: t }) {
5332
5296
  }
5333
5297
  };
5334
5298
  }
5335
- function Ys({ apiHandler: t }) {
5299
+ function Gs({ apiHandler: t }) {
5336
5300
  return {
5337
5301
  readyToPayout({ data: e }) {
5338
5302
  return t.post("ready-to-payout", e);
5339
5303
  }
5340
5304
  };
5341
5305
  }
5342
- function Qs({ apiHandler: t }) {
5306
+ function Ys({ apiHandler: t }) {
5343
5307
  return {
5344
5308
  reactivation({ data: e }) {
5345
5309
  return t.post("subscription-reactivations", e);
5346
5310
  }
5347
5311
  };
5348
5312
  }
5349
- function Xs({ apiHandler: t }) {
5313
+ function Qs({ apiHandler: t }) {
5350
5314
  return {
5351
5315
  changeItems({ id: e, data: s }) {
5352
5316
  return t.post(`subscriptions/${e}/change-items`, s);
@@ -5356,7 +5320,7 @@ function Xs({ apiHandler: t }) {
5356
5320
  }
5357
5321
  };
5358
5322
  }
5359
- function Zs({ apiHandler: t }) {
5323
+ function Xs({ apiHandler: t }) {
5360
5324
  return {
5361
5325
  /**
5362
5326
  * @param { rebilly.StorefrontGetTransactionCollectionRequest } request
@@ -5405,7 +5369,7 @@ function Zs({ apiHandler: t }) {
5405
5369
  }
5406
5370
  };
5407
5371
  }
5408
- function _s({ apiHandler: t }) {
5372
+ function Zs({ apiHandler: t }) {
5409
5373
  return {
5410
5374
  /**
5411
5375
  * @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
@@ -5415,29 +5379,29 @@ function _s({ apiHandler: t }) {
5415
5379
  }
5416
5380
  };
5417
5381
  }
5418
- class Hs {
5382
+ class _s {
5419
5383
  constructor({ apiHandler: e }) {
5420
- this.account = Is({ apiHandler: e }), this.authorization = Ss({ apiHandler: e }), this.billingPortals = Es({ apiHandler: e }), this.cashiers = Ps({ apiHandler: e }), this.checkoutForms = xs({ apiHandler: e }), this.customFields = Cs({ apiHandler: e }), this.depositRequests = Ds({ apiHandler: e }), this.deposit = js({ apiHandler: e }), this.depositStrategies = Ms({ apiHandler: e }), this.invoices = Os({ apiHandler: e }), this.kycDocuments = Fs({ apiHandler: e }), this.kycLivenessSessions = Bs({ apiHandler: e }), this.kycRequests = Ks({ apiHandler: e }), this.orders = Ns({ apiHandler: e }), this.paymentInstruments = Ls({ apiHandler: e }), this.payoutRequestCancellations = zs({
5384
+ this.account = Ts({ apiHandler: e }), this.authorization = Is({ apiHandler: e }), this.billingPortals = Ss({ apiHandler: e }), this.cashiers = Es({ apiHandler: e }), this.checkoutForms = xs({ apiHandler: e }), this.customFields = Ps({ apiHandler: e }), this.depositRequests = Cs({ apiHandler: e }), this.deposit = Ds({ apiHandler: e }), this.depositStrategies = js({ apiHandler: e }), this.invoices = Ms({ apiHandler: e }), this.kycDocuments = Os({ apiHandler: e }), this.kycLivenessSessions = Fs({ apiHandler: e }), this.kycRequests = Bs({ apiHandler: e }), this.orders = Ks({ apiHandler: e }), this.paymentInstruments = Ns({ apiHandler: e }), this.payoutRequestCancellations = Ls({
5421
5385
  apiHandler: e
5422
- }), this.payoutRequests = Us({ apiHandler: e }), this.plans = Vs({ apiHandler: e }), this.products = Js({ apiHandler: e }), this.purchase = Ws({ apiHandler: e }), this.quotes = Gs({ apiHandler: e }), this.readyToPayout = Ys({ apiHandler: e }), this.subscriptionReactivations = Qs({
5386
+ }), this.payoutRequests = zs({ apiHandler: e }), this.plans = Us({ apiHandler: e }), this.products = Vs({ apiHandler: e }), this.purchase = Js({ apiHandler: e }), this.quotes = Ws({ apiHandler: e }), this.readyToPayout = Gs({ apiHandler: e }), this.subscriptionReactivations = Ys({
5423
5387
  apiHandler: e
5424
- }), this.subscriptions = Xs({ apiHandler: e }), this.transactions = Zs({ apiHandler: e }), this.websites = _s({ apiHandler: e }), this.checkoutForm = this.checkoutForms, this.billingPortal = this.billingPortals, this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setPublishableKey = e.setPublishableKey, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken, this.generateSignature = e.generateSignature;
5388
+ }), this.subscriptions = Qs({ apiHandler: e }), this.transactions = Xs({ apiHandler: e }), this.websites = Zs({ apiHandler: e }), this.checkoutForm = this.checkoutForms, this.billingPortal = this.billingPortals, this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setPublishableKey = e.setPublishableKey, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken, this.generateSignature = e.generateSignature;
5425
5389
  }
5426
5390
  }
5391
+ function Hs({ apiHandler: t }) {
5392
+ return new ys({ apiHandler: t });
5393
+ }
5427
5394
  function er({ apiHandler: t }) {
5428
- return new As({ apiHandler: t });
5395
+ return new ds({ apiHandler: t });
5429
5396
  }
5430
5397
  function tr({ apiHandler: t }) {
5431
- return new Ts({ apiHandler: t });
5432
- }
5433
- function sr({ apiHandler: t }) {
5434
- return new Hs({ apiHandler: t });
5398
+ return new _s({ apiHandler: t });
5435
5399
  }
5436
5400
  const F = {
5437
5401
  live: "https://api.rebilly.com",
5438
5402
  sandbox: "https://api-sandbox.rebilly.com"
5439
5403
  }, B = 6e3;
5440
- function lr({
5404
+ function or({
5441
5405
  apiKey: t = null,
5442
5406
  sandbox: e = !1,
5443
5407
  timeout: s = B,
@@ -5463,9 +5427,9 @@ function lr({
5463
5427
  organizationId: r,
5464
5428
  appName: (u == null ? void 0 : u.appName) ?? null
5465
5429
  }, l = O({ options: o });
5466
- return er({ apiHandler: l });
5430
+ return Hs({ apiHandler: l });
5467
5431
  }
5468
- function cr({
5432
+ function lr({
5469
5433
  apiKey: t = null,
5470
5434
  sandbox: e = !1,
5471
5435
  timeout: s = B,
@@ -5491,9 +5455,9 @@ function cr({
5491
5455
  organizationId: r,
5492
5456
  appName: (u == null ? void 0 : u.appName) ?? null
5493
5457
  }, l = O({ options: o });
5494
- return tr({ apiHandler: l });
5458
+ return er({ apiHandler: l });
5495
5459
  }
5496
- function ir({
5460
+ function cr({
5497
5461
  publishableKey: t = null,
5498
5462
  jwt: e = null,
5499
5463
  sandbox: s = !1,
@@ -5520,13 +5484,13 @@ function ir({
5520
5484
  organizationId: n,
5521
5485
  appName: (o == null ? void 0 : o.appName) ?? null
5522
5486
  }, i = O({ options: l });
5523
- return i.setSessionToken(l.jwt), sr({ apiHandler: i });
5487
+ return i.setSessionToken(l.jwt), tr({ apiHandler: i });
5524
5488
  }
5525
5489
  export {
5526
- lr as RebillyAPI,
5490
+ or as RebillyAPI,
5527
5491
  y as RebillyErrors,
5528
- cr as RebillyExperimentalAPI,
5529
- ir as RebillyStorefrontAPI,
5530
- or as cancellation,
5531
- lr as default
5492
+ lr as RebillyExperimentalAPI,
5493
+ cr as RebillyStorefrontAPI,
5494
+ ur as cancellation,
5495
+ or as default
5532
5496
  };