@rebilly/instruments 16.208.0 → 16.210.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/dist/index.js CHANGED
@@ -6082,12 +6082,12 @@ const y = {
6082
6082
  function It$1(e) {
6083
6083
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6084
6084
  }
6085
- var x$1, Q$1;
6085
+ var P, Q$1;
6086
6086
  function st$1() {
6087
- if (Q$1) return x$1;
6087
+ if (Q$1) return P;
6088
6088
  Q$1 = 1;
6089
6089
  var e = Object.prototype.toString;
6090
- x$1 = function($2) {
6090
+ P = function($2) {
6091
6091
  if ($2 === void 0) return "undefined";
6092
6092
  if ($2 === null) return "null";
6093
6093
  var h2 = typeof $2;
@@ -6190,7 +6190,7 @@ function st$1() {
6190
6190
  function f(g) {
6191
6191
  return g.constructor && typeof g.constructor.isBuffer == "function" ? g.constructor.isBuffer(g) : false;
6192
6192
  }
6193
- return x$1;
6193
+ return P;
6194
6194
  }
6195
6195
  /*!
6196
6196
  * shallow-clone <https://github.com/jonschlinkert/shallow-clone>
@@ -6198,9 +6198,9 @@ function st$1() {
6198
6198
  * Copyright (c) 2015-present, Jon Schlinkert.
6199
6199
  * Released under the MIT License.
6200
6200
  */
6201
- var P, X$1;
6201
+ var x$1, X$1;
6202
6202
  function St$1() {
6203
- if (X$1) return P;
6203
+ if (X$1) return x$1;
6204
6204
  X$1 = 1;
6205
6205
  const e = Symbol.prototype.valueOf, t = st$1();
6206
6206
  function s(i, f) {
@@ -6257,7 +6257,7 @@ function St$1() {
6257
6257
  function l(i) {
6258
6258
  return e ? Object(e.call(i)) : {};
6259
6259
  }
6260
- return P = s, P;
6260
+ return x$1 = s, x$1;
6261
6261
  }
6262
6262
  /*!
6263
6263
  * isobject <https://github.com/jonschlinkert/isobject>
@@ -6278,7 +6278,7 @@ function Et$1() {
6278
6278
  * Released under the MIT License.
6279
6279
  */
6280
6280
  var D, _$1;
6281
- function xt$1() {
6281
+ function Pt$1() {
6282
6282
  if (_$1) return D;
6283
6283
  _$1 = 1;
6284
6284
  var e = Et$1();
@@ -6291,10 +6291,10 @@ function xt$1() {
6291
6291
  }, D;
6292
6292
  }
6293
6293
  var j$1, H$1;
6294
- function Pt$1() {
6294
+ function xt$1() {
6295
6295
  if (H$1) return j$1;
6296
6296
  H$1 = 1;
6297
- const e = St$1(), t = st$1(), s = xt$1();
6297
+ const e = St$1(), t = st$1(), s = Pt$1();
6298
6298
  function r(o, l) {
6299
6299
  switch (t(o)) {
6300
6300
  case "object":
@@ -6324,7 +6324,7 @@ function Pt$1() {
6324
6324
  }
6325
6325
  return j$1 = r, j$1;
6326
6326
  }
6327
- var Ct$1 = Pt$1();
6327
+ var Ct$1 = xt$1();
6328
6328
  const Dt$1 = /* @__PURE__ */ It$1(Ct$1);
6329
6329
  let jt$1 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Mt$1 = (e = 21) => {
6330
6330
  let t = "", s = e | 0;
@@ -6408,7 +6408,7 @@ E$1(I$1, "cancelAll", async (t) => {
6408
6408
  for (const s of q$1.getAll())
6409
6409
  await s.cancel(t), q$1.deleteById(s.id);
6410
6410
  });
6411
- const nr = {
6411
+ const ur = {
6412
6412
  /**
6413
6413
  * @type Cancellation.cancelAll
6414
6414
  */
@@ -6442,7 +6442,7 @@ function O$1({ options: e }) {
6442
6442
  }
6443
6443
  function o() {
6444
6444
  const a = {
6445
- "REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@c741e67`
6445
+ "REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@f503b75`
6446
6446
  };
6447
6447
  return e.apiKey && (a["REB-APIKEY"] = e.apiKey), a;
6448
6448
  }
@@ -8742,7 +8742,7 @@ function Ee$1({ apiHandler: e }) {
8742
8742
  }
8743
8743
  };
8744
8744
  }
8745
- function xe$1({ apiHandler: e }) {
8745
+ function Pe$1({ apiHandler: e }) {
8746
8746
  return {
8747
8747
  /**
8748
8748
  * @param { rebilly.GetOrganizationExportCollectionRequest } request
@@ -8769,7 +8769,7 @@ function xe$1({ apiHandler: e }) {
8769
8769
  }
8770
8770
  };
8771
8771
  }
8772
- function Pe$1({ apiHandler: e }) {
8772
+ function xe$1({ apiHandler: e }) {
8773
8773
  return {
8774
8774
  /**
8775
8775
  * @param { rebilly.GetOrganizationCollectionRequest } request
@@ -8922,6 +8922,13 @@ function Fe$1({ apiHandler: e }) {
8922
8922
  };
8923
8923
  }
8924
8924
  function Be$1({ apiHandler: e }) {
8925
+ return {
8926
+ create({ data: t }) {
8927
+ return e.post("payout-request-batch-previews", t);
8928
+ }
8929
+ };
8930
+ }
8931
+ function Ke$1({ apiHandler: e }) {
8925
8932
  return {
8926
8933
  /**
8927
8934
  * @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
@@ -8985,14 +8992,14 @@ function Be$1({ apiHandler: e }) {
8985
8992
  }
8986
8993
  };
8987
8994
  }
8988
- function Ke$1({ apiHandler: e }) {
8995
+ function Ne$1({ apiHandler: e }) {
8989
8996
  return {
8990
8997
  create({ data: t }) {
8991
8998
  return e.post("payout-request-splits", t);
8992
8999
  }
8993
9000
  };
8994
9001
  }
8995
- function Ne$1({ apiHandler: e }) {
9002
+ function Le$1({ apiHandler: e }) {
8996
9003
  return {
8997
9004
  /**
8998
9005
  * @param { rebilly.GetPayoutRequestCollectionRequest } request
@@ -9059,14 +9066,14 @@ function Ne$1({ apiHandler: e }) {
9059
9066
  }
9060
9067
  };
9061
9068
  }
9062
- function Le$1({ apiHandler: e }) {
9069
+ function ze$1({ apiHandler: e }) {
9063
9070
  return {
9064
9071
  create({ data: t }) {
9065
9072
  return e.post("payouts", t);
9066
9073
  }
9067
9074
  };
9068
9075
  }
9069
- function ze$1({ apiHandler: e }) {
9076
+ function Ue$1({ apiHandler: e }) {
9070
9077
  return {
9071
9078
  /**
9072
9079
  * @param { rebilly.GetPlanCollectionRequest } request
@@ -9106,7 +9113,7 @@ function ze$1({ apiHandler: e }) {
9106
9113
  }
9107
9114
  };
9108
9115
  }
9109
- function Ue$1({ apiHandler: e }) {
9116
+ function Ve$1({ apiHandler: e }) {
9110
9117
  return {
9111
9118
  order({ data: t }) {
9112
9119
  return e.post("previews/orders", t);
@@ -9119,7 +9126,7 @@ function Ue$1({ apiHandler: e }) {
9119
9126
  }
9120
9127
  };
9121
9128
  }
9122
- function Ve$1({ apiHandler: e }) {
9129
+ function Je$1({ apiHandler: e }) {
9123
9130
  return {
9124
9131
  /**
9125
9132
  * @param { rebilly.GetProductCollectionRequest } request
@@ -9159,7 +9166,7 @@ function Ve$1({ apiHandler: e }) {
9159
9166
  }
9160
9167
  };
9161
9168
  }
9162
- function Je$1({ apiHandler: e }) {
9169
+ function We$1({ apiHandler: e }) {
9163
9170
  return {
9164
9171
  startPermissionsEmulation({ data: t }) {
9165
9172
  return e.post("permissions-emulation", t);
@@ -9200,14 +9207,14 @@ function Je$1({ apiHandler: e }) {
9200
9207
  }
9201
9208
  };
9202
9209
  }
9203
- function We$1({ apiHandler: e }) {
9210
+ function Ge$1({ apiHandler: e }) {
9204
9211
  return {
9205
9212
  readyToPay({ data: t }) {
9206
9213
  return e.post("ready-to-pay", t);
9207
9214
  }
9208
9215
  };
9209
9216
  }
9210
- function Ge$1({ apiHandler: e }) {
9217
+ function Ye$1({ apiHandler: e }) {
9211
9218
  return {
9212
9219
  /**
9213
9220
  * @param { rebilly.GetQuoteCollectionRequest } request
@@ -9297,7 +9304,7 @@ function Ge$1({ apiHandler: e }) {
9297
9304
  }
9298
9305
  };
9299
9306
  }
9300
- function Ye$1({ apiHandler: e }) {
9307
+ function Qe$1({ apiHandler: e }) {
9301
9308
  return {
9302
9309
  /**
9303
9310
  * @returns { rebilly.GetReleaseFlagsResponsePromise } response
@@ -9307,7 +9314,7 @@ function Ye$1({ apiHandler: e }) {
9307
9314
  }
9308
9315
  };
9309
9316
  }
9310
- function Qe$1({ apiHandler: e }) {
9317
+ function Xe$1({ apiHandler: e }) {
9311
9318
  return {
9312
9319
  /**
9313
9320
  * @returns { rebilly.GetExternalIdentifierResponsePromise } response
@@ -9338,7 +9345,7 @@ function Qe$1({ apiHandler: e }) {
9338
9345
  }
9339
9346
  };
9340
9347
  }
9341
- function Xe$1({ apiHandler: e }) {
9348
+ function Ze$1({ apiHandler: e }) {
9342
9349
  return {
9343
9350
  /**
9344
9351
  * @returns { rebilly.GetRiskScoreRulesResponsePromise } response
@@ -9366,7 +9373,7 @@ function Xe$1({ apiHandler: e }) {
9366
9373
  }
9367
9374
  };
9368
9375
  }
9369
- function Ze$1({ apiHandler: e }) {
9376
+ function _e$1({ apiHandler: e }) {
9370
9377
  return {
9371
9378
  /**
9372
9379
  * @param { rebilly.GetRoleCollectionRequest } request
@@ -9408,7 +9415,7 @@ function Ze$1({ apiHandler: e }) {
9408
9415
  }
9409
9416
  };
9410
9417
  }
9411
- function _e$1({ apiHandler: e }) {
9418
+ function He$1({ apiHandler: e }) {
9412
9419
  return {
9413
9420
  /**
9414
9421
  * @returns { rebilly.GetSearchResponsePromise } response
@@ -9419,7 +9426,7 @@ function _e$1({ apiHandler: e }) {
9419
9426
  }
9420
9427
  };
9421
9428
  }
9422
- function He$1({ apiHandler: e }) {
9429
+ function ts({ apiHandler: e }) {
9423
9430
  return {
9424
9431
  /**
9425
9432
  * @param { rebilly.GetGridSegmentCollectionRequest } request
@@ -9459,7 +9466,7 @@ function He$1({ apiHandler: e }) {
9459
9466
  }
9460
9467
  };
9461
9468
  }
9462
- function ts({ apiHandler: e }) {
9469
+ function es({ apiHandler: e }) {
9463
9470
  return {
9464
9471
  /**
9465
9472
  * @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
@@ -9469,7 +9476,7 @@ function ts({ apiHandler: e }) {
9469
9476
  }
9470
9477
  };
9471
9478
  }
9472
- function es({ apiHandler: e }) {
9479
+ function ss({ apiHandler: e }) {
9473
9480
  return {
9474
9481
  /**
9475
9482
  * @param { rebilly.GetServiceCredentialCollectionRequest } request
@@ -9520,7 +9527,7 @@ function es({ apiHandler: e }) {
9520
9527
  }
9521
9528
  };
9522
9529
  }
9523
- function ss({ apiHandler: e }) {
9530
+ function rs({ apiHandler: e }) {
9524
9531
  return {
9525
9532
  /**
9526
9533
  * @param { rebilly.GetShippingRateCollectionRequest } request
@@ -9560,7 +9567,7 @@ function ss({ apiHandler: e }) {
9560
9567
  }
9561
9568
  };
9562
9569
  }
9563
- function rs({ apiHandler: e }) {
9570
+ function ns({ apiHandler: e }) {
9564
9571
  return {
9565
9572
  /**
9566
9573
  * @returns { rebilly.GetStatusResponsePromise } response
@@ -9570,7 +9577,7 @@ function rs({ apiHandler: e }) {
9570
9577
  }
9571
9578
  };
9572
9579
  }
9573
- function ns({ apiHandler: e }) {
9580
+ function us({ apiHandler: e }) {
9574
9581
  return {
9575
9582
  /**
9576
9583
  * @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
@@ -9601,7 +9608,7 @@ function ns({ apiHandler: e }) {
9601
9608
  }
9602
9609
  };
9603
9610
  }
9604
- function us({ apiHandler: e }) {
9611
+ function os({ apiHandler: e }) {
9605
9612
  return {
9606
9613
  /**
9607
9614
  * @param { rebilly.GetSubscriptionPauseCollectionRequest } request
@@ -9635,7 +9642,7 @@ function us({ apiHandler: e }) {
9635
9642
  }
9636
9643
  };
9637
9644
  }
9638
- function os({ apiHandler: e }) {
9645
+ function ls({ apiHandler: e }) {
9639
9646
  return {
9640
9647
  /**
9641
9648
  * @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
@@ -9656,7 +9663,7 @@ function os({ apiHandler: e }) {
9656
9663
  }
9657
9664
  };
9658
9665
  }
9659
- function ls({ apiHandler: e }) {
9666
+ function cs({ apiHandler: e }) {
9660
9667
  return {
9661
9668
  /**
9662
9669
  * @param { rebilly.GetSubscriptionCollectionRequest } request
@@ -9767,7 +9774,7 @@ function ls({ apiHandler: e }) {
9767
9774
  }
9768
9775
  };
9769
9776
  }
9770
- function cs({ apiHandler: e }) {
9777
+ function is({ apiHandler: e }) {
9771
9778
  return {
9772
9779
  /**
9773
9780
  * @param { rebilly.GetTagCollectionRequest } request
@@ -9836,7 +9843,7 @@ function cs({ apiHandler: e }) {
9836
9843
  }
9837
9844
  };
9838
9845
  }
9839
- function is({ apiHandler: e }) {
9846
+ function as({ apiHandler: e }) {
9840
9847
  return {
9841
9848
  /**
9842
9849
  * @param { rebilly.GetTagRuleCollectionRequest } request
@@ -9876,7 +9883,7 @@ function is({ apiHandler: e }) {
9876
9883
  }
9877
9884
  };
9878
9885
  }
9879
- function as({ apiHandler: e }) {
9886
+ function gs({ apiHandler: e }) {
9880
9887
  return {
9881
9888
  /**
9882
9889
  * @param { rebilly.GetTrackingApiCollectionRequest } request
@@ -9958,7 +9965,7 @@ function as({ apiHandler: e }) {
9958
9965
  }
9959
9966
  };
9960
9967
  }
9961
- function gs({ apiHandler: e }) {
9968
+ function ms({ apiHandler: e }) {
9962
9969
  return {
9963
9970
  /**
9964
9971
  * @param { rebilly.GetTransactionCollectionRequest } request
@@ -10035,7 +10042,7 @@ function gs({ apiHandler: e }) {
10035
10042
  }
10036
10043
  };
10037
10044
  }
10038
- function ms({ apiHandler: e }) {
10045
+ function fs({ apiHandler: e }) {
10039
10046
  return {
10040
10047
  /**
10041
10048
  * @param { rebilly.GetUsageCollectionRequest } request
@@ -10065,7 +10072,7 @@ function ms({ apiHandler: e }) {
10065
10072
  }
10066
10073
  };
10067
10074
  }
10068
- function fs({ apiHandler: e }) {
10075
+ function ps({ apiHandler: e }) {
10069
10076
  return {
10070
10077
  deleteUserMembership({ organizationId: t, userId: s }) {
10071
10078
  return e.delete(`memberships/${t}/${s}`);
@@ -10105,7 +10112,7 @@ function fs({ apiHandler: e }) {
10105
10112
  }
10106
10113
  };
10107
10114
  }
10108
- function ps({ apiHandler: e }) {
10115
+ function $s({ apiHandler: e }) {
10109
10116
  return {
10110
10117
  /**
10111
10118
  * @param { rebilly.GetWebhookCollectionRequest } request
@@ -10139,7 +10146,7 @@ function ps({ apiHandler: e }) {
10139
10146
  }
10140
10147
  };
10141
10148
  }
10142
- function $s({ apiHandler: e }) {
10149
+ function hs({ apiHandler: e }) {
10143
10150
  return {
10144
10151
  /**
10145
10152
  * @param { rebilly.GetWebsiteCollectionRequest } request
@@ -10179,7 +10186,7 @@ function $s({ apiHandler: e }) {
10179
10186
  }
10180
10187
  };
10181
10188
  }
10182
- class hs {
10189
+ class ys {
10183
10190
  constructor({ apiHandler: t }) {
10184
10191
  this.accountRegistrationSettings = Ft$1({
10185
10192
  apiHandler: t
@@ -10187,18 +10194,20 @@ class hs {
10187
10194
  apiHandler: t
10188
10195
  }), this.depositRequests = ne$1({ apiHandler: t }), this.depositStrategies = ue$1({ apiHandler: t }), this.digitalWallets = oe$1({ apiHandler: t }), this.disputes = le$1({ apiHandler: t }), this.emailDeliverySettings = ce$1({ apiHandler: t }), this.emailMessages = ie$1({ apiHandler: t }), this.emailNotifications = ae$1({ apiHandler: t }), this.events = ge({ apiHandler: t }), this.externalIdentifiers = me$1({ apiHandler: t }), this.externalServicesSettings = fe$1({
10189
10196
  apiHandler: t
10190
- }), this.fees = pe$1({ apiHandler: t }), this.files = $e$1({ apiHandler: t }), this.gatewayAccounts = he$1({ apiHandler: t }), this.integrations = ye$1({ apiHandler: t }), this.invoices = Ae$1({ apiHandler: t }), this.journalAccounts = Re$1({ apiHandler: t }), this.journalEntries = be({ apiHandler: t }), this.journalRecords = we$1({ apiHandler: t }), this.kycDocuments = ke$1({ apiHandler: t }), this.kycRequests = ve$1({ apiHandler: t }), this.kycSettings = qe$1({ apiHandler: t }), this.lists = de$1({ apiHandler: t }), this.orderCancellations = Te$1({ apiHandler: t }), this.orderPauses = Ie$1({ apiHandler: t }), this.orderReactivations = Se$1({ apiHandler: t }), this.orders = Ee$1({ apiHandler: t }), this.organizationExports = xe$1({ apiHandler: t }), this.organizations = Pe$1({ apiHandler: t }), this.paymentCardsBankNames = Ce$1({ apiHandler: t }), this.paymentInstruments = De$1({ apiHandler: t }), this.paymentMethods = je$1({ apiHandler: t }), this.paymentTokens = Me$1({ apiHandler: t }), this.payoutRequestAllocations = Oe$1({
10197
+ }), this.fees = pe$1({ apiHandler: t }), this.files = $e$1({ apiHandler: t }), this.gatewayAccounts = he$1({ apiHandler: t }), this.integrations = ye$1({ apiHandler: t }), this.invoices = Ae$1({ apiHandler: t }), this.journalAccounts = Re$1({ apiHandler: t }), this.journalEntries = be({ apiHandler: t }), this.journalRecords = we$1({ apiHandler: t }), this.kycDocuments = ke$1({ apiHandler: t }), this.kycRequests = ve$1({ apiHandler: t }), this.kycSettings = qe$1({ apiHandler: t }), this.lists = de$1({ apiHandler: t }), this.orderCancellations = Te$1({ apiHandler: t }), this.orderPauses = Ie$1({ apiHandler: t }), this.orderReactivations = Se$1({ apiHandler: t }), this.orders = Ee$1({ apiHandler: t }), this.organizationExports = Pe$1({ apiHandler: t }), this.organizations = xe$1({ apiHandler: t }), this.paymentCardsBankNames = Ce$1({ apiHandler: t }), this.paymentInstruments = De$1({ apiHandler: t }), this.paymentMethods = je$1({ apiHandler: t }), this.paymentTokens = Me$1({ apiHandler: t }), this.payoutRequestAllocations = Oe$1({
10191
10198
  apiHandler: t
10192
10199
  }), this.payoutRequestAutoAllocations = Fe$1({
10193
10200
  apiHandler: t
10194
- }), this.payoutRequestBatches = Be$1({ apiHandler: t }), this.payoutRequestSplits = Ke$1({ apiHandler: t }), this.payoutRequests = Ne$1({ apiHandler: t }), this.payouts = Le$1({ apiHandler: t }), this.plans = ze$1({ apiHandler: t }), this.previews = Ue$1({ apiHandler: t }), this.products = Ve$1({ apiHandler: t }), this.profile = Je$1({ apiHandler: t }), this.purchase = We$1({ apiHandler: t }), this.quotes = Ge$1({ apiHandler: t }), this.releaseFlags = Ye$1({ apiHandler: t }), this.resource = Qe$1({ apiHandler: t }), this.riskScoreRules = Xe$1({ apiHandler: t }), this.roles = Ze$1({ apiHandler: t }), this.search = _e$1({ apiHandler: t }), this.segments = He$1({ apiHandler: t }), this.sendThroughAttribution = ts({ apiHandler: t }), this.serviceCredentials = es({ apiHandler: t }), this.shippingRates = ss({ apiHandler: t }), this.status = rs({ apiHandler: t }), this.subscriptionCancellations = ns({
10201
+ }), this.payoutRequestBatchPreviews = Be$1({
10195
10202
  apiHandler: t
10196
- }), this.subscriptionPauses = us({ apiHandler: t }), this.subscriptionReactivations = os({
10203
+ }), this.payoutRequestBatches = Ke$1({ apiHandler: t }), this.payoutRequestSplits = Ne$1({ apiHandler: t }), this.payoutRequests = Le$1({ apiHandler: t }), this.payouts = ze$1({ apiHandler: t }), this.plans = Ue$1({ apiHandler: t }), this.previews = Ve$1({ apiHandler: t }), this.products = Je$1({ apiHandler: t }), this.profile = We$1({ apiHandler: t }), this.purchase = Ge$1({ apiHandler: t }), this.quotes = Ye$1({ apiHandler: t }), this.releaseFlags = Qe$1({ apiHandler: t }), this.resource = Xe$1({ apiHandler: t }), this.riskScoreRules = Ze$1({ apiHandler: t }), this.roles = _e$1({ apiHandler: t }), this.search = He$1({ apiHandler: t }), this.segments = ts({ apiHandler: t }), this.sendThroughAttribution = es({ apiHandler: t }), this.serviceCredentials = ss({ apiHandler: t }), this.shippingRates = rs({ apiHandler: t }), this.status = ns({ apiHandler: t }), this.subscriptionCancellations = us({
10197
10204
  apiHandler: t
10198
- }), this.subscriptions = ls({ apiHandler: t }), this.tags = cs({ apiHandler: t }), this.tagsRules = is({ apiHandler: t }), this.tracking = as({ apiHandler: t }), this.transactions = gs({ apiHandler: t }), this.usages = ms({ apiHandler: t }), this.users = fs({ apiHandler: t }), this.webhooks = ps({ apiHandler: t }), this.websites = $s({ apiHandler: t }), this.addRequestInterceptor = t.addRequestInterceptor, this.removeRequestInterceptor = t.removeRequestInterceptor, this.addResponseInterceptor = t.addResponseInterceptor, this.removeResponseInterceptor = t.removeResponseInterceptor, this.setTimeout = t.setTimeout, this.setProxyAgent = t.setProxyAgent, this.setSessionToken = t.setSessionToken, this.setPublishableKey = t.setPublishableKey, this.setEndpoints = t.setEndpoints, this.getCancellationToken = t.getCancellationToken, this.generateSignature = t.generateSignature;
10205
+ }), this.subscriptionPauses = os({ apiHandler: t }), this.subscriptionReactivations = ls({
10206
+ apiHandler: t
10207
+ }), this.subscriptions = cs({ apiHandler: t }), this.tags = is({ apiHandler: t }), this.tagsRules = as({ apiHandler: t }), this.tracking = gs({ apiHandler: t }), this.transactions = ms({ apiHandler: t }), this.usages = fs({ apiHandler: t }), this.users = ps({ apiHandler: t }), this.webhooks = $s({ apiHandler: t }), this.websites = hs({ apiHandler: t }), this.addRequestInterceptor = t.addRequestInterceptor, this.removeRequestInterceptor = t.removeRequestInterceptor, this.addResponseInterceptor = t.addResponseInterceptor, this.removeResponseInterceptor = t.removeResponseInterceptor, this.setTimeout = t.setTimeout, this.setProxyAgent = t.setProxyAgent, this.setSessionToken = t.setSessionToken, this.setPublishableKey = t.setPublishableKey, this.setEndpoints = t.setEndpoints, this.getCancellationToken = t.getCancellationToken, this.generateSignature = t.generateSignature;
10199
10208
  }
10200
10209
  }
10201
- function ys({ apiHandler: e }) {
10210
+ function As({ apiHandler: e }) {
10202
10211
  return {
10203
10212
  /**
10204
10213
  * @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
@@ -10208,7 +10217,7 @@ function ys({ apiHandler: e }) {
10208
10217
  }
10209
10218
  };
10210
10219
  }
10211
- function As({ apiHandler: e }) {
10220
+ function Rs({ apiHandler: e }) {
10212
10221
  return {
10213
10222
  /**
10214
10223
  * @param { rebilly.GetDataExportCollectionRequest } request
@@ -10253,7 +10262,7 @@ function As({ apiHandler: e }) {
10253
10262
  }
10254
10263
  };
10255
10264
  }
10256
- function Rs({ apiHandler: e }) {
10265
+ function bs({ apiHandler: e }) {
10257
10266
  return {
10258
10267
  /**
10259
10268
  * @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
@@ -10297,7 +10306,7 @@ function Rs({ apiHandler: e }) {
10297
10306
  }
10298
10307
  };
10299
10308
  }
10300
- function bs({ apiHandler: e }) {
10309
+ function ws({ apiHandler: e }) {
10301
10310
  return {
10302
10311
  /**
10303
10312
  * @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
@@ -10796,7 +10805,7 @@ function bs({ apiHandler: e }) {
10796
10805
  }
10797
10806
  };
10798
10807
  }
10799
- function ws({ apiHandler: e }) {
10808
+ function ks({ apiHandler: e }) {
10800
10809
  return {
10801
10810
  /**
10802
10811
  * @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
@@ -10806,7 +10815,7 @@ function ws({ apiHandler: e }) {
10806
10815
  }
10807
10816
  };
10808
10817
  }
10809
- function ks({ apiHandler: e }) {
10818
+ function vs({ apiHandler: e }) {
10810
10819
  return {
10811
10820
  getActivityFeed({ eventTypes: t = null, limit: s = 1e3, offset: r = 0 }) {
10812
10821
  const n = {
@@ -10834,7 +10843,7 @@ function ks({ apiHandler: e }) {
10834
10843
  }
10835
10844
  };
10836
10845
  }
10837
- function vs({ apiHandler: e }) {
10846
+ function qs({ apiHandler: e }) {
10838
10847
  return {
10839
10848
  query() {
10840
10849
  return e.get("location");
@@ -10842,15 +10851,15 @@ function vs({ apiHandler: e }) {
10842
10851
  };
10843
10852
  }
10844
10853
  const b = {
10845
- CustomersResource: ys,
10846
- DataExportsResource: As,
10847
- HistogramsResource: Rs,
10848
- ReportsResource: bs,
10849
- SubscriptionsResource: ws,
10850
- TimelinesResource: ks,
10851
- LocationResource: vs
10854
+ CustomersResource: As,
10855
+ DataExportsResource: Rs,
10856
+ HistogramsResource: bs,
10857
+ ReportsResource: ws,
10858
+ SubscriptionsResource: ks,
10859
+ TimelinesResource: vs,
10860
+ LocationResource: qs
10852
10861
  };
10853
- class qs {
10862
+ class ds {
10854
10863
  constructor({ apiHandler: t }) {
10855
10864
  this.customers = b.CustomersResource({ apiHandler: t }), this.dataExports = b.DataExportsResource({
10856
10865
  apiHandler: t
@@ -10859,7 +10868,7 @@ class qs {
10859
10868
  }), this.timelines = b.TimelinesResource({ apiHandler: t }), this.location = b.LocationResource({ apiHandler: t }), this.addRequestInterceptor = t.addRequestInterceptor, this.removeRequestInterceptor = t.removeRequestInterceptor, this.addResponseInterceptor = t.addResponseInterceptor, this.removeResponseInterceptor = t.removeResponseInterceptor, this.setTimeout = t.setTimeout, this.setProxyAgent = t.setProxyAgent, this.setSessionToken = t.setSessionToken, this.setEndpoints = t.setEndpoints, this.getCancellationToken = t.getCancellationToken;
10860
10869
  }
10861
10870
  }
10862
- function ds({ apiHandler: e }) {
10871
+ function Ts({ apiHandler: e }) {
10863
10872
  return {
10864
10873
  /**
10865
10874
  * @returns { rebilly.StorefrontGetAccountResponsePromise } response
@@ -10891,7 +10900,7 @@ function ds({ apiHandler: e }) {
10891
10900
  }
10892
10901
  };
10893
10902
  }
10894
- function Ts({ apiHandler: e }) {
10903
+ function Is({ apiHandler: e }) {
10895
10904
  return {
10896
10905
  login({ data: t }) {
10897
10906
  return e.post("login", t);
@@ -10901,7 +10910,7 @@ function Ts({ apiHandler: e }) {
10901
10910
  }
10902
10911
  };
10903
10912
  }
10904
- function Is({ apiHandler: e }) {
10913
+ function Ss({ apiHandler: e }) {
10905
10914
  return {
10906
10915
  /**
10907
10916
  * @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
@@ -10911,7 +10920,7 @@ function Is({ apiHandler: e }) {
10911
10920
  }
10912
10921
  };
10913
10922
  }
10914
- function Ss({ apiHandler: e }) {
10923
+ function Es({ apiHandler: e }) {
10915
10924
  return {
10916
10925
  /**
10917
10926
  * @returns { rebilly.StorefrontGetCashierResponsePromise } response
@@ -10921,7 +10930,7 @@ function Ss({ apiHandler: e }) {
10921
10930
  }
10922
10931
  };
10923
10932
  }
10924
- function Es({ apiHandler: e }) {
10933
+ function Ps({ apiHandler: e }) {
10925
10934
  return {
10926
10935
  /**
10927
10936
  * @returns { rebilly.StorefrontGetCheckoutFormResponsePromise } response
@@ -10943,7 +10952,7 @@ function xs({ apiHandler: e }) {
10943
10952
  }
10944
10953
  };
10945
10954
  }
10946
- function Ps({ apiHandler: e }) {
10955
+ function Cs({ apiHandler: e }) {
10947
10956
  return {
10948
10957
  /**
10949
10958
  * @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
@@ -10954,14 +10963,14 @@ function Ps({ apiHandler: e }) {
10954
10963
  }
10955
10964
  };
10956
10965
  }
10957
- function Cs({ apiHandler: e }) {
10966
+ function Ds({ apiHandler: e }) {
10958
10967
  return {
10959
10968
  create({ data: t }) {
10960
10969
  return e.post("deposit", t);
10961
10970
  }
10962
10971
  };
10963
10972
  }
10964
- function Ds({ apiHandler: e }) {
10973
+ function js({ apiHandler: e }) {
10965
10974
  return {
10966
10975
  /**
10967
10976
  * @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
@@ -10971,7 +10980,7 @@ function Ds({ apiHandler: e }) {
10971
10980
  }
10972
10981
  };
10973
10982
  }
10974
- function js({ apiHandler: e }) {
10983
+ function Ms({ apiHandler: e }) {
10975
10984
  return {
10976
10985
  /**
10977
10986
  * @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
@@ -11007,7 +11016,7 @@ function js({ apiHandler: e }) {
11007
11016
  }
11008
11017
  };
11009
11018
  }
11010
- function Ms({ apiHandler: e }) {
11019
+ function Os({ apiHandler: e }) {
11011
11020
  return {
11012
11021
  create({ data: t }) {
11013
11022
  return e.post("kyc-documents", t);
@@ -11023,7 +11032,7 @@ function Ms({ apiHandler: e }) {
11023
11032
  }
11024
11033
  };
11025
11034
  }
11026
- function Os({ apiHandler: e }) {
11035
+ function Fs({ apiHandler: e }) {
11027
11036
  return {
11028
11037
  create({ data: t }) {
11029
11038
  return e.post("kyc-liveness-sessions", t);
@@ -11039,7 +11048,7 @@ function Os({ apiHandler: e }) {
11039
11048
  }
11040
11049
  };
11041
11050
  }
11042
- function Fs({ apiHandler: e }) {
11051
+ function Bs({ apiHandler: e }) {
11043
11052
  return {
11044
11053
  /**
11045
11054
  * @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
@@ -11050,7 +11059,7 @@ function Fs({ apiHandler: e }) {
11050
11059
  }
11051
11060
  };
11052
11061
  }
11053
- function Bs({ apiHandler: e }) {
11062
+ function Ks({ apiHandler: e }) {
11054
11063
  return {
11055
11064
  /**
11056
11065
  * @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
@@ -11092,7 +11101,7 @@ function Bs({ apiHandler: e }) {
11092
11101
  }
11093
11102
  };
11094
11103
  }
11095
- function Ks({ apiHandler: e }) {
11104
+ function Ns({ apiHandler: e }) {
11096
11105
  return {
11097
11106
  /**
11098
11107
  * @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
@@ -11135,14 +11144,14 @@ function Ks({ apiHandler: e }) {
11135
11144
  }
11136
11145
  };
11137
11146
  }
11138
- function Ns({ apiHandler: e }) {
11147
+ function Ls({ apiHandler: e }) {
11139
11148
  return {
11140
11149
  create({ data: t }) {
11141
11150
  return e.post("payout-request-cancellations", t);
11142
11151
  }
11143
11152
  };
11144
11153
  }
11145
- function Ls({ apiHandler: e }) {
11154
+ function zs({ apiHandler: e }) {
11146
11155
  return {
11147
11156
  /**
11148
11157
  * @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
@@ -11172,7 +11181,7 @@ function Ls({ apiHandler: e }) {
11172
11181
  }
11173
11182
  };
11174
11183
  }
11175
- function zs({ apiHandler: e }) {
11184
+ function Us({ apiHandler: e }) {
11176
11185
  return {
11177
11186
  /**
11178
11187
  * @param { rebilly.StorefrontGetPlanCollectionRequest } request
@@ -11198,7 +11207,7 @@ function zs({ apiHandler: e }) {
11198
11207
  }
11199
11208
  };
11200
11209
  }
11201
- function Us({ apiHandler: e }) {
11210
+ function Vs({ apiHandler: e }) {
11202
11211
  return {
11203
11212
  /**
11204
11213
  * @param { rebilly.StorefrontGetProductCollectionRequest } request
@@ -11222,7 +11231,7 @@ function Us({ apiHandler: e }) {
11222
11231
  }
11223
11232
  };
11224
11233
  }
11225
- function Vs({ apiHandler: e }) {
11234
+ function Js({ apiHandler: e }) {
11226
11235
  return {
11227
11236
  payment({ data: t }) {
11228
11237
  return e.post("payment", t);
@@ -11238,7 +11247,7 @@ function Vs({ apiHandler: e }) {
11238
11247
  }
11239
11248
  };
11240
11249
  }
11241
- function Js({ apiHandler: e }) {
11250
+ function Ws({ apiHandler: e }) {
11242
11251
  return {
11243
11252
  /**
11244
11253
  * @returns { rebilly.StorefrontGetQuoteResponsePromise } response
@@ -11262,21 +11271,21 @@ function Js({ apiHandler: e }) {
11262
11271
  }
11263
11272
  };
11264
11273
  }
11265
- function Ws({ apiHandler: e }) {
11274
+ function Gs({ apiHandler: e }) {
11266
11275
  return {
11267
11276
  readyToPayout({ data: t }) {
11268
11277
  return e.post("ready-to-payout", t);
11269
11278
  }
11270
11279
  };
11271
11280
  }
11272
- function Gs({ apiHandler: e }) {
11281
+ function Ys({ apiHandler: e }) {
11273
11282
  return {
11274
11283
  reactivation({ data: t }) {
11275
11284
  return e.post("subscription-reactivations", t);
11276
11285
  }
11277
11286
  };
11278
11287
  }
11279
- function Ys({ apiHandler: e }) {
11288
+ function Qs({ apiHandler: e }) {
11280
11289
  return {
11281
11290
  changeItems({ id: t, data: s }) {
11282
11291
  return e.post(`subscriptions/${t}/change-items`, s);
@@ -11286,7 +11295,7 @@ function Ys({ apiHandler: e }) {
11286
11295
  }
11287
11296
  };
11288
11297
  }
11289
- function Qs({ apiHandler: e }) {
11298
+ function Xs({ apiHandler: e }) {
11290
11299
  return {
11291
11300
  /**
11292
11301
  * @param { rebilly.StorefrontGetTransactionCollectionRequest } request
@@ -11335,7 +11344,7 @@ function Qs({ apiHandler: e }) {
11335
11344
  }
11336
11345
  };
11337
11346
  }
11338
- function Xs({ apiHandler: e }) {
11347
+ function Zs({ apiHandler: e }) {
11339
11348
  return {
11340
11349
  /**
11341
11350
  * @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
@@ -11345,29 +11354,29 @@ function Xs({ apiHandler: e }) {
11345
11354
  }
11346
11355
  };
11347
11356
  }
11348
- class Zs {
11357
+ class _s {
11349
11358
  constructor({ apiHandler: t }) {
11350
- this.account = ds({ apiHandler: t }), this.authorization = Ts({ apiHandler: t }), this.billingPortals = Is({ apiHandler: t }), this.cashiers = Ss({ apiHandler: t }), this.checkoutForms = Es({ apiHandler: t }), this.customFields = xs({ apiHandler: t }), this.depositRequests = Ps({ apiHandler: t }), this.deposit = Cs({ apiHandler: t }), this.depositStrategies = Ds({ apiHandler: t }), this.invoices = js({ apiHandler: t }), this.kycDocuments = Ms({ apiHandler: t }), this.kycLivenessSessions = Os({ apiHandler: t }), this.kycRequests = Fs({ apiHandler: t }), this.orders = Bs({ apiHandler: t }), this.paymentInstruments = Ks({ apiHandler: t }), this.payoutRequestCancellations = Ns({
11359
+ this.account = Ts({ apiHandler: t }), this.authorization = Is({ apiHandler: t }), this.billingPortals = Ss({ apiHandler: t }), this.cashiers = Es({ apiHandler: t }), this.checkoutForms = Ps({ apiHandler: t }), this.customFields = xs({ apiHandler: t }), this.depositRequests = Cs({ apiHandler: t }), this.deposit = Ds({ apiHandler: t }), this.depositStrategies = js({ apiHandler: t }), this.invoices = Ms({ apiHandler: t }), this.kycDocuments = Os({ apiHandler: t }), this.kycLivenessSessions = Fs({ apiHandler: t }), this.kycRequests = Bs({ apiHandler: t }), this.orders = Ks({ apiHandler: t }), this.paymentInstruments = Ns({ apiHandler: t }), this.payoutRequestCancellations = Ls({
11351
11360
  apiHandler: t
11352
- }), this.payoutRequests = Ls({ apiHandler: t }), this.plans = zs({ apiHandler: t }), this.products = Us({ apiHandler: t }), this.purchase = Vs({ apiHandler: t }), this.quotes = Js({ apiHandler: t }), this.readyToPayout = Ws({ apiHandler: t }), this.subscriptionReactivations = Gs({
11361
+ }), this.payoutRequests = zs({ apiHandler: t }), this.plans = Us({ apiHandler: t }), this.products = Vs({ apiHandler: t }), this.purchase = Js({ apiHandler: t }), this.quotes = Ws({ apiHandler: t }), this.readyToPayout = Gs({ apiHandler: t }), this.subscriptionReactivations = Ys({
11353
11362
  apiHandler: t
11354
- }), this.subscriptions = Ys({ apiHandler: t }), this.transactions = Qs({ apiHandler: t }), this.websites = Xs({ apiHandler: t }), this.checkoutForm = this.checkoutForms, this.billingPortal = this.billingPortals, this.addRequestInterceptor = t.addRequestInterceptor, this.removeRequestInterceptor = t.removeRequestInterceptor, this.addResponseInterceptor = t.addResponseInterceptor, this.removeResponseInterceptor = t.removeResponseInterceptor, this.setTimeout = t.setTimeout, this.setProxyAgent = t.setProxyAgent, this.setSessionToken = t.setSessionToken, this.setPublishableKey = t.setPublishableKey, this.setEndpoints = t.setEndpoints, this.getCancellationToken = t.getCancellationToken, this.generateSignature = t.generateSignature;
11363
+ }), this.subscriptions = Qs({ apiHandler: t }), this.transactions = Xs({ apiHandler: t }), this.websites = Zs({ apiHandler: t }), this.checkoutForm = this.checkoutForms, this.billingPortal = this.billingPortals, this.addRequestInterceptor = t.addRequestInterceptor, this.removeRequestInterceptor = t.removeRequestInterceptor, this.addResponseInterceptor = t.addResponseInterceptor, this.removeResponseInterceptor = t.removeResponseInterceptor, this.setTimeout = t.setTimeout, this.setProxyAgent = t.setProxyAgent, this.setSessionToken = t.setSessionToken, this.setPublishableKey = t.setPublishableKey, this.setEndpoints = t.setEndpoints, this.getCancellationToken = t.getCancellationToken, this.generateSignature = t.generateSignature;
11355
11364
  }
11356
11365
  }
11357
- function _s({ apiHandler: e }) {
11358
- return new hs({ apiHandler: e });
11359
- }
11360
11366
  function Hs({ apiHandler: e }) {
11361
- return new qs({ apiHandler: e });
11367
+ return new ys({ apiHandler: e });
11362
11368
  }
11363
11369
  function tr({ apiHandler: e }) {
11364
- return new Zs({ apiHandler: e });
11370
+ return new ds({ apiHandler: e });
11371
+ }
11372
+ function er({ apiHandler: e }) {
11373
+ return new _s({ apiHandler: e });
11365
11374
  }
11366
11375
  const F$1 = {
11367
11376
  live: "https://api.rebilly.com",
11368
11377
  sandbox: "https://api-sandbox.rebilly.com"
11369
11378
  }, B$1 = 6e3;
11370
- function ur({
11379
+ function or({
11371
11380
  apiKey: e = null,
11372
11381
  sandbox: t = false,
11373
11382
  timeout: s = B$1,
@@ -11393,9 +11402,9 @@ function ur({
11393
11402
  organizationId: r,
11394
11403
  appName: (u == null ? void 0 : u.appName) ?? null
11395
11404
  }, l = O$1({ options: o });
11396
- return _s({ apiHandler: l });
11405
+ return Hs({ apiHandler: l });
11397
11406
  }
11398
- function or({
11407
+ function lr({
11399
11408
  apiKey: e = null,
11400
11409
  sandbox: t = false,
11401
11410
  timeout: s = B$1,
@@ -11421,9 +11430,9 @@ function or({
11421
11430
  organizationId: r,
11422
11431
  appName: (u == null ? void 0 : u.appName) ?? null
11423
11432
  }, l = O$1({ options: o });
11424
- return Hs({ apiHandler: l });
11433
+ return tr({ apiHandler: l });
11425
11434
  }
11426
- function lr({
11435
+ function cr({
11427
11436
  publishableKey: e = null,
11428
11437
  jwt: t = null,
11429
11438
  sandbox: s = false,
@@ -11450,7 +11459,7 @@ function lr({
11450
11459
  organizationId: n,
11451
11460
  appName: (o == null ? void 0 : o.appName) ?? null
11452
11461
  }, i = O$1({ options: l });
11453
- return i.setSessionToken(l.jwt), tr({ apiHandler: i });
11462
+ return i.setSessionToken(l.jwt), er({ apiHandler: i });
11454
11463
  }
11455
11464
  const TIMEOUT = 6e4;
11456
11465
  function validateStateForStorefront() {
@@ -11491,15 +11500,15 @@ class StorefrontInstance {
11491
11500
  appName: appName ? `${appName}/instruments` : "instruments"
11492
11501
  }
11493
11502
  };
11494
- const api = lr(config);
11503
+ const api = cr(config);
11495
11504
  const rebilly = (
11496
11505
  // @ts-expect-error refactor with above todo
11497
- typeof ur.default === "function" ? (
11506
+ typeof or.default === "function" ? (
11498
11507
  // @ts-expect-error refactor with above todo
11499
- ur.default(config)
11500
- ) : ur(config)
11508
+ or.default(config)
11509
+ ) : or(config)
11501
11510
  );
11502
- const experimental = or(config);
11511
+ const experimental = lr(config);
11503
11512
  api.setSessionToken(publishableKey || jwt);
11504
11513
  rebilly.setSessionToken(publishableKey || jwt);
11505
11514
  experimental.setSessionToken(publishableKey || jwt);
@@ -15281,7 +15290,7 @@ function handleComputedProperty(options) {
15281
15290
  var _a;
15282
15291
  return Object.assign({}, options, {
15283
15292
  _computed: {
15284
- version: "16.208.0",
15293
+ version: "16.210.0",
15285
15294
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
15286
15295
  }
15287
15296
  });
@@ -18892,7 +18901,7 @@ async function destroy() {
18892
18901
  if (state.form instanceof HTMLElement) {
18893
18902
  state.form.textContent = "";
18894
18903
  }
18895
- await nr.cancelAll();
18904
+ await ur.cancelAll();
18896
18905
  state.loader.clearAll();
18897
18906
  }
18898
18907
  async function update({ newOptions = {} } = {}) {
@@ -18933,7 +18942,7 @@ class RebillyInstrumentsInstance {
18933
18942
  await show({ componentName, payload });
18934
18943
  }
18935
18944
  get version() {
18936
- return `RebillyInstruments Ver.${"16.208.0"}`;
18945
+ return `RebillyInstruments Ver.${"16.210.0"}`;
18937
18946
  }
18938
18947
  on(eventName, callback) {
18939
18948
  on({ eventName, callback });