@rebilly/instruments 16.216.3 → 16.218.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
@@ -6383,7 +6383,7 @@ E$1(I$1, "cancelAll", async (e) => {
6383
6383
  for (const s of q$1.getAll())
6384
6384
  await s.cancel(e), q$1.deleteById(s.id);
6385
6385
  });
6386
- const ur = {
6386
+ const or = {
6387
6387
  /**
6388
6388
  * @type Cancellation.cancelAll
6389
6389
  */
@@ -6417,7 +6417,7 @@ function O$1({ options: t }) {
6417
6417
  }
6418
6418
  function o() {
6419
6419
  const a = {
6420
- "REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m2) => m2).join("/")}@7104d9b`
6420
+ "REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m2) => m2).join("/")}@c669bc3`
6421
6421
  };
6422
6422
  return t.apiKey && (a["REB-APIKEY"] = t.apiKey), a;
6423
6423
  }
@@ -8565,6 +8565,40 @@ function dt$1({ apiHandler: t }) {
8565
8565
  };
8566
8566
  }
8567
8567
  function Tt$1({ apiHandler: t }) {
8568
+ return {
8569
+ /**
8570
+ * @param { rebilly.GetOrderChangeCollectionRequest } request
8571
+ * @returns { rebilly.GetOrderChangeCollectionResponsePromise } response
8572
+ */
8573
+ getAll({ limit: e = null, offset: s = null, filter: r = null, sort: n = null } = {}) {
8574
+ const u = { limit: e, offset: s, filter: r, sort: n };
8575
+ return t.getAll("order-changes", u);
8576
+ },
8577
+ /**
8578
+ * @param { rebilly.CreateOrderChangeRequest } request
8579
+ * @returns { rebilly.PostOrderChangeResponsePromise } response
8580
+ */
8581
+ create({ id: e = "", data: s }) {
8582
+ return t.create(`order-changes/${e}`, e, s);
8583
+ },
8584
+ /**
8585
+ * @returns { rebilly.GetOrderChangeResponsePromise } response
8586
+ */
8587
+ get({ id: e }) {
8588
+ return t.get(`order-changes/${e}`);
8589
+ },
8590
+ /**
8591
+ * @returns { rebilly.PutOrderChangeResponsePromise } response
8592
+ */
8593
+ update({ id: e, data: s }) {
8594
+ return t.put(`order-changes/${e}`, s);
8595
+ },
8596
+ delete({ id: e }) {
8597
+ return t.delete(`order-changes/${e}`);
8598
+ }
8599
+ };
8600
+ }
8601
+ function It$1({ apiHandler: t }) {
8568
8602
  return {
8569
8603
  /**
8570
8604
  * @param { rebilly.GetOrderPauseCollectionRequest } request
@@ -8598,7 +8632,7 @@ function Tt$1({ apiHandler: t }) {
8598
8632
  }
8599
8633
  };
8600
8634
  }
8601
- function It$1({ apiHandler: t }) {
8635
+ function St$1({ apiHandler: t }) {
8602
8636
  return {
8603
8637
  /**
8604
8638
  * @param { rebilly.GetOrderReactivationCollectionRequest } request
@@ -8619,7 +8653,7 @@ function It$1({ apiHandler: t }) {
8619
8653
  }
8620
8654
  };
8621
8655
  }
8622
- function St$1({ apiHandler: t }) {
8656
+ function Et$1({ apiHandler: t }) {
8623
8657
  return {
8624
8658
  /**
8625
8659
  * @param { rebilly.GetOrderCollectionRequest } request
@@ -8683,7 +8717,7 @@ function St$1({ apiHandler: t }) {
8683
8717
  }
8684
8718
  };
8685
8719
  }
8686
- function Et$1({ apiHandler: t }) {
8720
+ function Pt$1({ apiHandler: t }) {
8687
8721
  return {
8688
8722
  /**
8689
8723
  * @param { rebilly.GetOrganizationExportCollectionRequest } request
@@ -8710,7 +8744,7 @@ function Et$1({ apiHandler: t }) {
8710
8744
  }
8711
8745
  };
8712
8746
  }
8713
- function Pt$1({ apiHandler: t }) {
8747
+ function xt$1({ apiHandler: t }) {
8714
8748
  return {
8715
8749
  /**
8716
8750
  * @param { rebilly.GetOrganizationCollectionRequest } request
@@ -8740,7 +8774,7 @@ function Pt$1({ apiHandler: t }) {
8740
8774
  }
8741
8775
  };
8742
8776
  }
8743
- function xt$1({ apiHandler: t }) {
8777
+ function Ct$1({ apiHandler: t }) {
8744
8778
  return {
8745
8779
  /**
8746
8780
  * @param { rebilly.GetPaymentCardBankNameCollectionRequest } request
@@ -8752,7 +8786,7 @@ function xt$1({ apiHandler: t }) {
8752
8786
  }
8753
8787
  };
8754
8788
  }
8755
- function Ct$1({ apiHandler: t }) {
8789
+ function Dt$1({ apiHandler: t }) {
8756
8790
  return {
8757
8791
  /**
8758
8792
  * @param { rebilly.GetPaymentInstrumentCollectionRequest } request
@@ -8789,7 +8823,7 @@ function Ct$1({ apiHandler: t }) {
8789
8823
  }
8790
8824
  };
8791
8825
  }
8792
- function Dt$1({ apiHandler: t }) {
8826
+ function jt$1({ apiHandler: t }) {
8793
8827
  return {
8794
8828
  /**
8795
8829
  * @param { rebilly.GetPaymentMethodCollectionRequest } request
@@ -8807,7 +8841,7 @@ function Dt$1({ apiHandler: t }) {
8807
8841
  }
8808
8842
  };
8809
8843
  }
8810
- function jt$1({ apiHandler: t }) {
8844
+ function Mt$1({ apiHandler: t }) {
8811
8845
  return {
8812
8846
  /**
8813
8847
  * @param { rebilly.GetTokenCollectionRequest } request
@@ -8828,7 +8862,7 @@ function jt$1({ apiHandler: t }) {
8828
8862
  }
8829
8863
  };
8830
8864
  }
8831
- function Mt$1({ apiHandler: t }) {
8865
+ function Ot$1({ apiHandler: t }) {
8832
8866
  return {
8833
8867
  /**
8834
8868
  * @param { rebilly.GetPayoutRequestAllocationCollectionRequest } request
@@ -8855,28 +8889,28 @@ function Mt$1({ apiHandler: t }) {
8855
8889
  }
8856
8890
  };
8857
8891
  }
8858
- function Ot$1({ apiHandler: t }) {
8892
+ function Ft$1({ apiHandler: t }) {
8859
8893
  return {
8860
8894
  create({ data: e }) {
8861
8895
  return t.post("payout-request-auto-allocations", e);
8862
8896
  }
8863
8897
  };
8864
8898
  }
8865
- function Ft$1({ apiHandler: t }) {
8899
+ function Bt$1({ apiHandler: t }) {
8866
8900
  return {
8867
8901
  create({ data: e }) {
8868
8902
  return t.post("payout-request-batch-operations", e);
8869
8903
  }
8870
8904
  };
8871
8905
  }
8872
- function Bt$1({ apiHandler: t }) {
8906
+ function Kt$1({ apiHandler: t }) {
8873
8907
  return {
8874
8908
  create({ data: e }) {
8875
8909
  return t.post("payout-request-batch-previews", e);
8876
8910
  }
8877
8911
  };
8878
8912
  }
8879
- function Kt$1({ apiHandler: t }) {
8913
+ function Nt$1({ apiHandler: t }) {
8880
8914
  return {
8881
8915
  /**
8882
8916
  * @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
@@ -8940,14 +8974,14 @@ function Kt$1({ apiHandler: t }) {
8940
8974
  }
8941
8975
  };
8942
8976
  }
8943
- function Nt$1({ apiHandler: t }) {
8977
+ function Lt$1({ apiHandler: t }) {
8944
8978
  return {
8945
8979
  create({ data: e }) {
8946
8980
  return t.post("payout-request-splits", e);
8947
8981
  }
8948
8982
  };
8949
8983
  }
8950
- function Lt$1({ apiHandler: t }) {
8984
+ function zt$1({ apiHandler: t }) {
8951
8985
  return {
8952
8986
  /**
8953
8987
  * @param { rebilly.GetPayoutRequestCollectionRequest } request
@@ -9014,14 +9048,14 @@ function Lt$1({ apiHandler: t }) {
9014
9048
  }
9015
9049
  };
9016
9050
  }
9017
- function zt$1({ apiHandler: t }) {
9051
+ function Ut$1({ apiHandler: t }) {
9018
9052
  return {
9019
9053
  create({ data: e }) {
9020
9054
  return t.post("payouts", e);
9021
9055
  }
9022
9056
  };
9023
9057
  }
9024
- function Ut$1({ apiHandler: t }) {
9058
+ function Vt$1({ apiHandler: t }) {
9025
9059
  return {
9026
9060
  /**
9027
9061
  * @param { rebilly.GetPlanCollectionRequest } request
@@ -9061,7 +9095,7 @@ function Ut$1({ apiHandler: t }) {
9061
9095
  }
9062
9096
  };
9063
9097
  }
9064
- function Vt$1({ apiHandler: t }) {
9098
+ function Jt$1({ apiHandler: t }) {
9065
9099
  return {
9066
9100
  order({ data: e }) {
9067
9101
  return t.post("previews/orders", e);
@@ -9074,7 +9108,7 @@ function Vt$1({ apiHandler: t }) {
9074
9108
  }
9075
9109
  };
9076
9110
  }
9077
- function Jt$1({ apiHandler: t }) {
9111
+ function Wt$1({ apiHandler: t }) {
9078
9112
  return {
9079
9113
  /**
9080
9114
  * @param { rebilly.GetProductCollectionRequest } request
@@ -9114,7 +9148,7 @@ function Jt$1({ apiHandler: t }) {
9114
9148
  }
9115
9149
  };
9116
9150
  }
9117
- function Wt$1({ apiHandler: t }) {
9151
+ function Gt$1({ apiHandler: t }) {
9118
9152
  return {
9119
9153
  startPermissionsEmulation({ data: e }) {
9120
9154
  return t.post("permissions-emulation", e);
@@ -9155,14 +9189,14 @@ function Wt$1({ apiHandler: t }) {
9155
9189
  }
9156
9190
  };
9157
9191
  }
9158
- function Gt$1({ apiHandler: t }) {
9192
+ function Yt$1({ apiHandler: t }) {
9159
9193
  return {
9160
9194
  readyToPay({ data: e }) {
9161
9195
  return t.post("ready-to-pay", e);
9162
9196
  }
9163
9197
  };
9164
9198
  }
9165
- function Yt$1({ apiHandler: t }) {
9199
+ function Qt$1({ apiHandler: t }) {
9166
9200
  return {
9167
9201
  /**
9168
9202
  * @param { rebilly.GetQuoteCollectionRequest } request
@@ -9255,7 +9289,7 @@ function Yt$1({ apiHandler: t }) {
9255
9289
  }
9256
9290
  };
9257
9291
  }
9258
- function Qt$1({ apiHandler: t }) {
9292
+ function Xt$1({ apiHandler: t }) {
9259
9293
  return {
9260
9294
  /**
9261
9295
  * @returns { rebilly.GetReleaseFlagsResponsePromise } response
@@ -9265,7 +9299,7 @@ function Qt$1({ apiHandler: t }) {
9265
9299
  }
9266
9300
  };
9267
9301
  }
9268
- function Xt$1({ apiHandler: t }) {
9302
+ function Zt$1({ apiHandler: t }) {
9269
9303
  return {
9270
9304
  /**
9271
9305
  * @returns { rebilly.GetExternalIdentifierResponsePromise } response
@@ -9296,7 +9330,7 @@ function Xt$1({ apiHandler: t }) {
9296
9330
  }
9297
9331
  };
9298
9332
  }
9299
- function Zt$1({ apiHandler: t }) {
9333
+ function _t$1({ apiHandler: t }) {
9300
9334
  return {
9301
9335
  /**
9302
9336
  * @returns { rebilly.GetRiskScoreRulesResponsePromise } response
@@ -9324,7 +9358,7 @@ function Zt$1({ apiHandler: t }) {
9324
9358
  }
9325
9359
  };
9326
9360
  }
9327
- function _t$1({ apiHandler: t }) {
9361
+ function Ht$1({ apiHandler: t }) {
9328
9362
  return {
9329
9363
  /**
9330
9364
  * @param { rebilly.GetRoleCollectionRequest } request
@@ -9366,7 +9400,7 @@ function _t$1({ apiHandler: t }) {
9366
9400
  }
9367
9401
  };
9368
9402
  }
9369
- function Ht$1({ apiHandler: t }) {
9403
+ function es({ apiHandler: t }) {
9370
9404
  return {
9371
9405
  /**
9372
9406
  * @returns { rebilly.GetSearchResponsePromise } response
@@ -9377,7 +9411,7 @@ function Ht$1({ apiHandler: t }) {
9377
9411
  }
9378
9412
  };
9379
9413
  }
9380
- function es({ apiHandler: t }) {
9414
+ function ts({ apiHandler: t }) {
9381
9415
  return {
9382
9416
  /**
9383
9417
  * @param { rebilly.GetGridSegmentCollectionRequest } request
@@ -9417,7 +9451,7 @@ function es({ apiHandler: t }) {
9417
9451
  }
9418
9452
  };
9419
9453
  }
9420
- function ts({ apiHandler: t }) {
9454
+ function ss({ apiHandler: t }) {
9421
9455
  return {
9422
9456
  /**
9423
9457
  * @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
@@ -9427,7 +9461,7 @@ function ts({ apiHandler: t }) {
9427
9461
  }
9428
9462
  };
9429
9463
  }
9430
- function ss({ apiHandler: t }) {
9464
+ function rs({ apiHandler: t }) {
9431
9465
  return {
9432
9466
  /**
9433
9467
  * @param { rebilly.GetServiceCredentialCollectionRequest } request
@@ -9478,7 +9512,7 @@ function ss({ apiHandler: t }) {
9478
9512
  }
9479
9513
  };
9480
9514
  }
9481
- function rs({ apiHandler: t }) {
9515
+ function ns({ apiHandler: t }) {
9482
9516
  return {
9483
9517
  /**
9484
9518
  * @param { rebilly.GetShippingRateCollectionRequest } request
@@ -9518,7 +9552,7 @@ function rs({ apiHandler: t }) {
9518
9552
  }
9519
9553
  };
9520
9554
  }
9521
- function ns({ apiHandler: t }) {
9555
+ function us({ apiHandler: t }) {
9522
9556
  return {
9523
9557
  /**
9524
9558
  * @returns { rebilly.GetStatusResponsePromise } response
@@ -9528,7 +9562,7 @@ function ns({ apiHandler: t }) {
9528
9562
  }
9529
9563
  };
9530
9564
  }
9531
- function us({ apiHandler: t }) {
9565
+ function os({ apiHandler: t }) {
9532
9566
  return {
9533
9567
  /**
9534
9568
  * @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
@@ -9559,7 +9593,7 @@ function us({ apiHandler: t }) {
9559
9593
  }
9560
9594
  };
9561
9595
  }
9562
- function os({ apiHandler: t }) {
9596
+ function ls({ apiHandler: t }) {
9563
9597
  return {
9564
9598
  /**
9565
9599
  * @param { rebilly.GetSubscriptionPauseCollectionRequest } request
@@ -9593,7 +9627,7 @@ function os({ apiHandler: t }) {
9593
9627
  }
9594
9628
  };
9595
9629
  }
9596
- function ls({ apiHandler: t }) {
9630
+ function cs({ apiHandler: t }) {
9597
9631
  return {
9598
9632
  /**
9599
9633
  * @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
@@ -9614,7 +9648,7 @@ function ls({ apiHandler: t }) {
9614
9648
  }
9615
9649
  };
9616
9650
  }
9617
- function cs({ apiHandler: t }) {
9651
+ function is({ apiHandler: t }) {
9618
9652
  return {
9619
9653
  /**
9620
9654
  * @param { rebilly.GetSubscriptionCollectionRequest } request
@@ -9725,7 +9759,7 @@ function cs({ apiHandler: t }) {
9725
9759
  }
9726
9760
  };
9727
9761
  }
9728
- function is({ apiHandler: t }) {
9762
+ function as({ apiHandler: t }) {
9729
9763
  return {
9730
9764
  /**
9731
9765
  * @param { rebilly.GetTagCollectionRequest } request
@@ -9794,7 +9828,7 @@ function is({ apiHandler: t }) {
9794
9828
  }
9795
9829
  };
9796
9830
  }
9797
- function as({ apiHandler: t }) {
9831
+ function gs({ apiHandler: t }) {
9798
9832
  return {
9799
9833
  /**
9800
9834
  * @param { rebilly.GetTagRuleCollectionRequest } request
@@ -9834,7 +9868,7 @@ function as({ apiHandler: t }) {
9834
9868
  }
9835
9869
  };
9836
9870
  }
9837
- function gs({ apiHandler: t }) {
9871
+ function ms({ apiHandler: t }) {
9838
9872
  return {
9839
9873
  /**
9840
9874
  * @param { rebilly.GetTrackingApiCollectionRequest } request
@@ -9916,7 +9950,7 @@ function gs({ apiHandler: t }) {
9916
9950
  }
9917
9951
  };
9918
9952
  }
9919
- function ms({ apiHandler: t }) {
9953
+ function fs({ apiHandler: t }) {
9920
9954
  return {
9921
9955
  /**
9922
9956
  * @param { rebilly.GetTransactionCollectionRequest } request
@@ -9993,7 +10027,7 @@ function ms({ apiHandler: t }) {
9993
10027
  }
9994
10028
  };
9995
10029
  }
9996
- function fs({ apiHandler: t }) {
10030
+ function ps({ apiHandler: t }) {
9997
10031
  return {
9998
10032
  /**
9999
10033
  * @param { rebilly.GetUsageCollectionRequest } request
@@ -10023,7 +10057,7 @@ function fs({ apiHandler: t }) {
10023
10057
  }
10024
10058
  };
10025
10059
  }
10026
- function ps({ apiHandler: t }) {
10060
+ function $s({ apiHandler: t }) {
10027
10061
  return {
10028
10062
  deleteUserMembership({ organizationId: e, userId: s }) {
10029
10063
  return t.delete(`memberships/${e}/${s}`);
@@ -10063,7 +10097,7 @@ function ps({ apiHandler: t }) {
10063
10097
  }
10064
10098
  };
10065
10099
  }
10066
- function $s({ apiHandler: t }) {
10100
+ function hs({ apiHandler: t }) {
10067
10101
  return {
10068
10102
  /**
10069
10103
  * @param { rebilly.GetWebhookCollectionRequest } request
@@ -10097,7 +10131,7 @@ function $s({ apiHandler: t }) {
10097
10131
  }
10098
10132
  };
10099
10133
  }
10100
- function hs({ apiHandler: t }) {
10134
+ function ys({ apiHandler: t }) {
10101
10135
  return {
10102
10136
  /**
10103
10137
  * @param { rebilly.GetWebsiteCollectionRequest } request
@@ -10137,28 +10171,28 @@ function hs({ apiHandler: t }) {
10137
10171
  }
10138
10172
  };
10139
10173
  }
10140
- class ys {
10174
+ class As {
10141
10175
  constructor({ apiHandler: e }) {
10142
10176
  this.account = Fe$1({ apiHandler: e }), this.allowlists = Be$1({ apiHandler: e }), this.amlChecks = Ke$1({ apiHandler: e }), this.amlSettings = Ne$1({ apiHandler: e }), this.apiKeys = Le$1({ apiHandler: e }), this.applicationInstances = ze$1({ apiHandler: e }), this.applications = Ue$1({ apiHandler: e }), this.balanceTransactions = Ve$1({ apiHandler: e }), this.billingPortals = Je$1({ apiHandler: e }), this.blocklists = We$1({ apiHandler: e }), this.broadcastMessages = Ge$1({ apiHandler: e }), this.cashiers = Ye$1({ apiHandler: e }), this.checkoutForms = Qe$1({ apiHandler: e }), this.coupons = Xe$1({ apiHandler: e }), this.creditMemos = Ze$1({ apiHandler: e }), this.customDomains = _e$1({ apiHandler: e }), this.customFields = He$1({ apiHandler: e }), this.customerAuthentication = et$1({ apiHandler: e }), this.customers = tt$1({ apiHandler: e }), this.depositCustomPropertySets = st$1({
10143
10177
  apiHandler: e
10144
10178
  }), this.depositRequests = rt$1({ apiHandler: e }), this.depositStrategies = nt$1({ apiHandler: e }), this.digitalWallets = ut$1({ apiHandler: e }), this.disputes = ot$1({ apiHandler: e }), this.emailDeliverySettings = lt$1({ apiHandler: e }), this.emailMessages = ct$1({ apiHandler: e }), this.emailNotifications = it$1({ apiHandler: e }), this.events = at$1({ apiHandler: e }), this.externalIdentifiers = gt$1({ apiHandler: e }), this.externalServicesSettings = mt$1({
10145
10179
  apiHandler: e
10146
- }), this.fees = ft$1({ apiHandler: e }), this.files = pt$1({ apiHandler: e }), this.gatewayAccounts = $t$1({ apiHandler: e }), this.integrations = ht$1({ apiHandler: e }), this.invoices = yt$1({ apiHandler: e }), this.journalAccounts = At$1({ apiHandler: e }), this.journalEntries = Rt$1({ apiHandler: e }), this.journalRecords = bt$1({ apiHandler: e }), this.kycDocuments = wt$1({ apiHandler: e }), this.kycRequests = kt$1({ apiHandler: e }), this.kycSettings = vt$1({ apiHandler: e }), this.lists = qt$1({ apiHandler: e }), this.orderCancellations = dt$1({ apiHandler: e }), this.orderPauses = Tt$1({ apiHandler: e }), this.orderReactivations = It$1({ apiHandler: e }), this.orders = St$1({ apiHandler: e }), this.organizationExports = Et$1({ apiHandler: e }), this.organizations = Pt$1({ apiHandler: e }), this.paymentCardsBankNames = xt$1({ apiHandler: e }), this.paymentInstruments = Ct$1({ apiHandler: e }), this.paymentMethods = Dt$1({ apiHandler: e }), this.paymentTokens = jt$1({ apiHandler: e }), this.payoutRequestAllocations = Mt$1({
10180
+ }), this.fees = ft$1({ apiHandler: e }), this.files = pt$1({ apiHandler: e }), this.gatewayAccounts = $t$1({ apiHandler: e }), this.integrations = ht$1({ apiHandler: e }), this.invoices = yt$1({ apiHandler: e }), this.journalAccounts = At$1({ apiHandler: e }), this.journalEntries = Rt$1({ apiHandler: e }), this.journalRecords = bt$1({ apiHandler: e }), this.kycDocuments = wt$1({ apiHandler: e }), this.kycRequests = kt$1({ apiHandler: e }), this.kycSettings = vt$1({ apiHandler: e }), this.lists = qt$1({ apiHandler: e }), this.orderCancellations = dt$1({ apiHandler: e }), this.orderChanges = Tt$1({ apiHandler: e }), this.orderPauses = It$1({ apiHandler: e }), this.orderReactivations = St$1({ apiHandler: e }), this.orders = Et$1({ apiHandler: e }), this.organizationExports = Pt$1({ apiHandler: e }), this.organizations = xt$1({ apiHandler: e }), this.paymentCardsBankNames = Ct$1({ apiHandler: e }), this.paymentInstruments = Dt$1({ apiHandler: e }), this.paymentMethods = jt$1({ apiHandler: e }), this.paymentTokens = Mt$1({ apiHandler: e }), this.payoutRequestAllocations = Ot$1({
10147
10181
  apiHandler: e
10148
- }), this.payoutRequestAutoAllocations = Ot$1({
10182
+ }), this.payoutRequestAutoAllocations = Ft$1({
10149
10183
  apiHandler: e
10150
- }), this.payoutRequestBatchOperations = Ft$1({
10184
+ }), this.payoutRequestBatchOperations = Bt$1({
10151
10185
  apiHandler: e
10152
- }), this.payoutRequestBatchPreviews = Bt$1({
10186
+ }), this.payoutRequestBatchPreviews = Kt$1({
10153
10187
  apiHandler: e
10154
- }), this.payoutRequestBatches = Kt$1({ apiHandler: e }), this.payoutRequestSplits = Nt$1({ apiHandler: e }), this.payoutRequests = Lt$1({ apiHandler: e }), this.payouts = zt$1({ apiHandler: e }), this.plans = Ut$1({ apiHandler: e }), this.previews = Vt$1({ apiHandler: e }), this.products = Jt$1({ apiHandler: e }), this.profile = Wt$1({ apiHandler: e }), this.purchase = Gt$1({ apiHandler: e }), this.quotes = Yt$1({ apiHandler: e }), this.releaseFlags = Qt$1({ apiHandler: e }), this.resource = Xt$1({ apiHandler: e }), this.riskScoreRules = Zt$1({ apiHandler: e }), this.roles = _t$1({ apiHandler: e }), this.search = Ht$1({ 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({
10188
+ }), this.payoutRequestBatches = Nt$1({ apiHandler: e }), this.payoutRequestSplits = Lt$1({ apiHandler: e }), this.payoutRequests = zt$1({ apiHandler: e }), this.payouts = Ut$1({ apiHandler: e }), this.plans = Vt$1({ apiHandler: e }), this.previews = Jt$1({ apiHandler: e }), this.products = Wt$1({ apiHandler: e }), this.profile = Gt$1({ apiHandler: e }), this.purchase = Yt$1({ apiHandler: e }), this.quotes = Qt$1({ apiHandler: e }), this.releaseFlags = Xt$1({ apiHandler: e }), this.resource = Zt$1({ apiHandler: e }), this.riskScoreRules = _t$1({ apiHandler: e }), this.roles = Ht$1({ 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({
10155
10189
  apiHandler: e
10156
- }), this.subscriptionPauses = os({ apiHandler: e }), this.subscriptionReactivations = ls({
10190
+ }), this.subscriptionPauses = ls({ apiHandler: e }), this.subscriptionReactivations = cs({
10157
10191
  apiHandler: e
10158
- }), 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 = ps({ apiHandler: e }), this.webhooks = $s({ apiHandler: e }), this.websites = hs({ 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;
10192
+ }), 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;
10159
10193
  }
10160
10194
  }
10161
- function As({ apiHandler: t }) {
10195
+ function Rs({ apiHandler: t }) {
10162
10196
  return {
10163
10197
  /**
10164
10198
  * @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
@@ -10168,7 +10202,7 @@ function As({ apiHandler: t }) {
10168
10202
  }
10169
10203
  };
10170
10204
  }
10171
- function Rs({ apiHandler: t }) {
10205
+ function bs({ apiHandler: t }) {
10172
10206
  return {
10173
10207
  /**
10174
10208
  * @param { rebilly.GetDataExportCollectionRequest } request
@@ -10213,7 +10247,7 @@ function Rs({ apiHandler: t }) {
10213
10247
  }
10214
10248
  };
10215
10249
  }
10216
- function bs({ apiHandler: t }) {
10250
+ function ws({ apiHandler: t }) {
10217
10251
  return {
10218
10252
  /**
10219
10253
  * @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
@@ -10257,7 +10291,7 @@ function bs({ apiHandler: t }) {
10257
10291
  }
10258
10292
  };
10259
10293
  }
10260
- function ws({ apiHandler: t }) {
10294
+ function ks({ apiHandler: t }) {
10261
10295
  return {
10262
10296
  /**
10263
10297
  * @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
@@ -10756,7 +10790,7 @@ function ws({ apiHandler: t }) {
10756
10790
  }
10757
10791
  };
10758
10792
  }
10759
- function ks({ apiHandler: t }) {
10793
+ function vs({ apiHandler: t }) {
10760
10794
  return {
10761
10795
  /**
10762
10796
  * @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
@@ -10766,7 +10800,7 @@ function ks({ apiHandler: t }) {
10766
10800
  }
10767
10801
  };
10768
10802
  }
10769
- function vs({ apiHandler: t }) {
10803
+ function qs({ apiHandler: t }) {
10770
10804
  return {
10771
10805
  getActivityFeed({ eventTypes: e = null, limit: s = 1e3, offset: r = 0 }) {
10772
10806
  const n = {
@@ -10794,7 +10828,7 @@ function vs({ apiHandler: t }) {
10794
10828
  }
10795
10829
  };
10796
10830
  }
10797
- function qs({ apiHandler: t }) {
10831
+ function ds({ apiHandler: t }) {
10798
10832
  return {
10799
10833
  query() {
10800
10834
  return t.get("location");
@@ -10802,15 +10836,15 @@ function qs({ apiHandler: t }) {
10802
10836
  };
10803
10837
  }
10804
10838
  const b = {
10805
- CustomersResource: As,
10806
- DataExportsResource: Rs,
10807
- HistogramsResource: bs,
10808
- ReportsResource: ws,
10809
- SubscriptionsResource: ks,
10810
- TimelinesResource: vs,
10811
- LocationResource: qs
10839
+ CustomersResource: Rs,
10840
+ DataExportsResource: bs,
10841
+ HistogramsResource: ws,
10842
+ ReportsResource: ks,
10843
+ SubscriptionsResource: vs,
10844
+ TimelinesResource: qs,
10845
+ LocationResource: ds
10812
10846
  };
10813
- class ds {
10847
+ class Ts {
10814
10848
  constructor({ apiHandler: e }) {
10815
10849
  this.customers = b.CustomersResource({ apiHandler: e }), this.dataExports = b.DataExportsResource({
10816
10850
  apiHandler: e
@@ -10819,7 +10853,7 @@ class ds {
10819
10853
  }), this.timelines = b.TimelinesResource({ apiHandler: e }), 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;
10820
10854
  }
10821
10855
  }
10822
- function Ts({ apiHandler: t }) {
10856
+ function Is({ apiHandler: t }) {
10823
10857
  return {
10824
10858
  /**
10825
10859
  * @returns { rebilly.StorefrontGetAccountResponsePromise } response
@@ -10851,7 +10885,7 @@ function Ts({ apiHandler: t }) {
10851
10885
  }
10852
10886
  };
10853
10887
  }
10854
- function Is({ apiHandler: t }) {
10888
+ function Ss({ apiHandler: t }) {
10855
10889
  return {
10856
10890
  login({ data: e }) {
10857
10891
  return t.post("login", e);
@@ -10861,7 +10895,7 @@ function Is({ apiHandler: t }) {
10861
10895
  }
10862
10896
  };
10863
10897
  }
10864
- function Ss({ apiHandler: t }) {
10898
+ function Es({ apiHandler: t }) {
10865
10899
  return {
10866
10900
  /**
10867
10901
  * @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
@@ -10871,7 +10905,7 @@ function Ss({ apiHandler: t }) {
10871
10905
  }
10872
10906
  };
10873
10907
  }
10874
- function Es({ apiHandler: t }) {
10908
+ function Ps({ apiHandler: t }) {
10875
10909
  return {
10876
10910
  /**
10877
10911
  * @returns { rebilly.StorefrontGetCashierResponsePromise } response
@@ -10881,7 +10915,7 @@ function Es({ apiHandler: t }) {
10881
10915
  }
10882
10916
  };
10883
10917
  }
10884
- function Ps({ apiHandler: t }) {
10918
+ function xs({ apiHandler: t }) {
10885
10919
  return {
10886
10920
  /**
10887
10921
  * @returns { rebilly.StorefrontGetCheckoutFormResponsePromise } response
@@ -10891,7 +10925,7 @@ function Ps({ apiHandler: t }) {
10891
10925
  }
10892
10926
  };
10893
10927
  }
10894
- function xs({ apiHandler: t }) {
10928
+ function Cs({ apiHandler: t }) {
10895
10929
  return {
10896
10930
  /**
10897
10931
  * @param { rebilly.StorefrontGetCustomFieldCollectionRequest } request
@@ -10903,7 +10937,7 @@ function xs({ apiHandler: t }) {
10903
10937
  }
10904
10938
  };
10905
10939
  }
10906
- function Cs({ apiHandler: t }) {
10940
+ function Ds({ apiHandler: t }) {
10907
10941
  return {
10908
10942
  /**
10909
10943
  * @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
@@ -10914,14 +10948,14 @@ function Cs({ apiHandler: t }) {
10914
10948
  }
10915
10949
  };
10916
10950
  }
10917
- function Ds({ apiHandler: t }) {
10951
+ function js({ apiHandler: t }) {
10918
10952
  return {
10919
10953
  create({ data: e }) {
10920
10954
  return t.post("deposit", e);
10921
10955
  }
10922
10956
  };
10923
10957
  }
10924
- function js({ apiHandler: t }) {
10958
+ function Ms({ apiHandler: t }) {
10925
10959
  return {
10926
10960
  /**
10927
10961
  * @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
@@ -10931,7 +10965,7 @@ function js({ apiHandler: t }) {
10931
10965
  }
10932
10966
  };
10933
10967
  }
10934
- function Ms({ apiHandler: t }) {
10968
+ function Os({ apiHandler: t }) {
10935
10969
  return {
10936
10970
  /**
10937
10971
  * @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
@@ -10967,7 +11001,7 @@ function Ms({ apiHandler: t }) {
10967
11001
  }
10968
11002
  };
10969
11003
  }
10970
- function Os({ apiHandler: t }) {
11004
+ function Fs({ apiHandler: t }) {
10971
11005
  return {
10972
11006
  create({ data: e }) {
10973
11007
  return t.post("kyc-documents", e);
@@ -10983,7 +11017,7 @@ function Os({ apiHandler: t }) {
10983
11017
  }
10984
11018
  };
10985
11019
  }
10986
- function Fs({ apiHandler: t }) {
11020
+ function Bs({ apiHandler: t }) {
10987
11021
  return {
10988
11022
  create({ data: e }) {
10989
11023
  return t.post("kyc-liveness-sessions", e);
@@ -10999,7 +11033,7 @@ function Fs({ apiHandler: t }) {
10999
11033
  }
11000
11034
  };
11001
11035
  }
11002
- function Bs({ apiHandler: t }) {
11036
+ function Ks({ apiHandler: t }) {
11003
11037
  return {
11004
11038
  /**
11005
11039
  * @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
@@ -11010,7 +11044,7 @@ function Bs({ apiHandler: t }) {
11010
11044
  }
11011
11045
  };
11012
11046
  }
11013
- function Ks({ apiHandler: t }) {
11047
+ function Ns({ apiHandler: t }) {
11014
11048
  return {
11015
11049
  /**
11016
11050
  * @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
@@ -11052,7 +11086,7 @@ function Ks({ apiHandler: t }) {
11052
11086
  }
11053
11087
  };
11054
11088
  }
11055
- function Ns({ apiHandler: t }) {
11089
+ function Ls({ apiHandler: t }) {
11056
11090
  return {
11057
11091
  /**
11058
11092
  * @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
@@ -11095,14 +11129,14 @@ function Ns({ apiHandler: t }) {
11095
11129
  }
11096
11130
  };
11097
11131
  }
11098
- function Ls({ apiHandler: t }) {
11132
+ function zs({ apiHandler: t }) {
11099
11133
  return {
11100
11134
  create({ data: e }) {
11101
11135
  return t.post("payout-request-cancellations", e);
11102
11136
  }
11103
11137
  };
11104
11138
  }
11105
- function zs({ apiHandler: t }) {
11139
+ function Us({ apiHandler: t }) {
11106
11140
  return {
11107
11141
  /**
11108
11142
  * @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
@@ -11132,7 +11166,7 @@ function zs({ apiHandler: t }) {
11132
11166
  }
11133
11167
  };
11134
11168
  }
11135
- function Us({ apiHandler: t }) {
11169
+ function Vs({ apiHandler: t }) {
11136
11170
  return {
11137
11171
  /**
11138
11172
  * @param { rebilly.StorefrontGetPlanCollectionRequest } request
@@ -11158,7 +11192,7 @@ function Us({ apiHandler: t }) {
11158
11192
  }
11159
11193
  };
11160
11194
  }
11161
- function Vs({ apiHandler: t }) {
11195
+ function Js({ apiHandler: t }) {
11162
11196
  return {
11163
11197
  /**
11164
11198
  * @param { rebilly.StorefrontGetProductCollectionRequest } request
@@ -11182,7 +11216,7 @@ function Vs({ apiHandler: t }) {
11182
11216
  }
11183
11217
  };
11184
11218
  }
11185
- function Js({ apiHandler: t }) {
11219
+ function Ws({ apiHandler: t }) {
11186
11220
  return {
11187
11221
  payment({ data: e }) {
11188
11222
  return t.post("payment", e);
@@ -11198,7 +11232,7 @@ function Js({ apiHandler: t }) {
11198
11232
  }
11199
11233
  };
11200
11234
  }
11201
- function Ws({ apiHandler: t }) {
11235
+ function Gs({ apiHandler: t }) {
11202
11236
  return {
11203
11237
  /**
11204
11238
  * @returns { rebilly.StorefrontGetQuoteResponsePromise } response
@@ -11222,21 +11256,21 @@ function Ws({ apiHandler: t }) {
11222
11256
  }
11223
11257
  };
11224
11258
  }
11225
- function Gs({ apiHandler: t }) {
11259
+ function Ys({ apiHandler: t }) {
11226
11260
  return {
11227
11261
  readyToPayout({ data: e }) {
11228
11262
  return t.post("ready-to-payout", e);
11229
11263
  }
11230
11264
  };
11231
11265
  }
11232
- function Ys({ apiHandler: t }) {
11266
+ function Qs({ apiHandler: t }) {
11233
11267
  return {
11234
11268
  reactivation({ data: e }) {
11235
11269
  return t.post("subscription-reactivations", e);
11236
11270
  }
11237
11271
  };
11238
11272
  }
11239
- function Qs({ apiHandler: t }) {
11273
+ function Xs({ apiHandler: t }) {
11240
11274
  return {
11241
11275
  changeItems({ id: e, data: s }) {
11242
11276
  return t.post(`subscriptions/${e}/change-items`, s);
@@ -11246,7 +11280,7 @@ function Qs({ apiHandler: t }) {
11246
11280
  }
11247
11281
  };
11248
11282
  }
11249
- function Xs({ apiHandler: t }) {
11283
+ function Zs({ apiHandler: t }) {
11250
11284
  return {
11251
11285
  /**
11252
11286
  * @param { rebilly.StorefrontGetTransactionCollectionRequest } request
@@ -11295,7 +11329,7 @@ function Xs({ apiHandler: t }) {
11295
11329
  }
11296
11330
  };
11297
11331
  }
11298
- function Zs({ apiHandler: t }) {
11332
+ function _s({ apiHandler: t }) {
11299
11333
  return {
11300
11334
  /**
11301
11335
  * @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
@@ -11305,29 +11339,29 @@ function Zs({ apiHandler: t }) {
11305
11339
  }
11306
11340
  };
11307
11341
  }
11308
- class _s {
11342
+ class Hs {
11309
11343
  constructor({ apiHandler: e }) {
11310
- this.account = Ts({ apiHandler: e }), this.authorization = Is({ apiHandler: e }), this.billingPortals = Ss({ apiHandler: e }), this.cashiers = Es({ apiHandler: e }), this.checkoutForms = Ps({ apiHandler: e }), this.customFields = xs({ 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({
11344
+ 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({
11311
11345
  apiHandler: e
11312
- }), 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({
11346
+ }), 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({
11313
11347
  apiHandler: e
11314
- }), 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;
11348
+ }), 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;
11315
11349
  }
11316
11350
  }
11317
- function Hs({ apiHandler: t }) {
11318
- return new ys({ apiHandler: t });
11319
- }
11320
11351
  function er({ apiHandler: t }) {
11321
- return new ds({ apiHandler: t });
11352
+ return new As({ apiHandler: t });
11322
11353
  }
11323
11354
  function tr({ apiHandler: t }) {
11324
- return new _s({ apiHandler: t });
11355
+ return new Ts({ apiHandler: t });
11356
+ }
11357
+ function sr({ apiHandler: t }) {
11358
+ return new Hs({ apiHandler: t });
11325
11359
  }
11326
11360
  const F$1 = {
11327
11361
  live: "https://api.rebilly.com",
11328
11362
  sandbox: "https://api-sandbox.rebilly.com"
11329
11363
  }, B$1 = 6e3;
11330
- function or({
11364
+ function lr({
11331
11365
  apiKey: t = null,
11332
11366
  sandbox: e = false,
11333
11367
  timeout: s = B$1,
@@ -11353,9 +11387,9 @@ function or({
11353
11387
  organizationId: r,
11354
11388
  appName: (u == null ? void 0 : u.appName) ?? null
11355
11389
  }, l = O$1({ options: o });
11356
- return Hs({ apiHandler: l });
11390
+ return er({ apiHandler: l });
11357
11391
  }
11358
- function lr({
11392
+ function cr({
11359
11393
  apiKey: t = null,
11360
11394
  sandbox: e = false,
11361
11395
  timeout: s = B$1,
@@ -11381,9 +11415,9 @@ function lr({
11381
11415
  organizationId: r,
11382
11416
  appName: (u == null ? void 0 : u.appName) ?? null
11383
11417
  }, l = O$1({ options: o });
11384
- return er({ apiHandler: l });
11418
+ return tr({ apiHandler: l });
11385
11419
  }
11386
- function cr({
11420
+ function ir({
11387
11421
  publishableKey: t = null,
11388
11422
  jwt: e = null,
11389
11423
  sandbox: s = false,
@@ -11410,7 +11444,7 @@ function cr({
11410
11444
  organizationId: n,
11411
11445
  appName: (o == null ? void 0 : o.appName) ?? null
11412
11446
  }, i = O$1({ options: l });
11413
- return i.setSessionToken(l.jwt), tr({ apiHandler: i });
11447
+ return i.setSessionToken(l.jwt), sr({ apiHandler: i });
11414
11448
  }
11415
11449
  const TIMEOUT = 6e4;
11416
11450
  function validateStateForStorefront() {
@@ -11451,15 +11485,15 @@ class StorefrontInstance {
11451
11485
  appName: appName ? `${appName}/instruments` : "instruments"
11452
11486
  }
11453
11487
  };
11454
- const api = cr(config);
11488
+ const api = ir(config);
11455
11489
  const rebilly = (
11456
11490
  // @ts-expect-error refactor with above todo
11457
- typeof or.default === "function" ? (
11491
+ typeof lr.default === "function" ? (
11458
11492
  // @ts-expect-error refactor with above todo
11459
- or.default(config)
11460
- ) : or(config)
11493
+ lr.default(config)
11494
+ ) : lr(config)
11461
11495
  );
11462
- const experimental = lr(config);
11496
+ const experimental = cr(config);
11463
11497
  api.setSessionToken(publishableKey || jwt);
11464
11498
  rebilly.setSessionToken(publishableKey || jwt);
11465
11499
  experimental.setSessionToken(publishableKey || jwt);
@@ -15241,7 +15275,7 @@ function handleComputedProperty(options) {
15241
15275
  var _a;
15242
15276
  return Object.assign({}, options, {
15243
15277
  _computed: {
15244
- version: "16.216.3",
15278
+ version: "16.218.0",
15245
15279
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
15246
15280
  }
15247
15281
  });
@@ -18852,7 +18886,7 @@ async function destroy() {
18852
18886
  if (state.form instanceof HTMLElement) {
18853
18887
  state.form.textContent = "";
18854
18888
  }
18855
- await ur.cancelAll();
18889
+ await or.cancelAll();
18856
18890
  state.loader.clearAll();
18857
18891
  }
18858
18892
  async function update({ newOptions = {} } = {}) {
@@ -18893,7 +18927,7 @@ class RebillyInstrumentsInstance {
18893
18927
  await show({ componentName, payload });
18894
18928
  }
18895
18929
  get version() {
18896
- return `RebillyInstruments Ver.${"16.216.3"}`;
18930
+ return `RebillyInstruments Ver.${"16.218.0"}`;
18897
18931
  }
18898
18932
  on(eventName, callback) {
18899
18933
  on({ eventName, callback });