@rebilly/instruments 16.205.2 → 16.206.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +100 -90
- package/dist/index.min.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -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
|
|
6411
|
+
const nr = {
|
|
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("/")}@
|
|
6445
|
+
"REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@7aa5edc`
|
|
6446
6446
|
};
|
|
6447
6447
|
return e.apiKey && (a["REB-APIKEY"] = e.apiKey), a;
|
|
6448
6448
|
}
|
|
@@ -9298,6 +9298,16 @@ function Ge$1({ apiHandler: e }) {
|
|
|
9298
9298
|
};
|
|
9299
9299
|
}
|
|
9300
9300
|
function Ye$1({ apiHandler: e }) {
|
|
9301
|
+
return {
|
|
9302
|
+
/**
|
|
9303
|
+
* @returns { rebilly.GetReleaseFlagsResponsePromise } response
|
|
9304
|
+
*/
|
|
9305
|
+
getEnabled() {
|
|
9306
|
+
return e.get("release-flags");
|
|
9307
|
+
}
|
|
9308
|
+
};
|
|
9309
|
+
}
|
|
9310
|
+
function Qe$1({ apiHandler: e }) {
|
|
9301
9311
|
return {
|
|
9302
9312
|
/**
|
|
9303
9313
|
* @returns { rebilly.GetExternalIdentifierResponsePromise } response
|
|
@@ -9328,7 +9338,7 @@ function Ye$1({ apiHandler: e }) {
|
|
|
9328
9338
|
}
|
|
9329
9339
|
};
|
|
9330
9340
|
}
|
|
9331
|
-
function
|
|
9341
|
+
function Xe$1({ apiHandler: e }) {
|
|
9332
9342
|
return {
|
|
9333
9343
|
/**
|
|
9334
9344
|
* @returns { rebilly.GetRiskScoreRulesResponsePromise } response
|
|
@@ -9356,7 +9366,7 @@ function Qe$1({ apiHandler: e }) {
|
|
|
9356
9366
|
}
|
|
9357
9367
|
};
|
|
9358
9368
|
}
|
|
9359
|
-
function
|
|
9369
|
+
function Ze$1({ apiHandler: e }) {
|
|
9360
9370
|
return {
|
|
9361
9371
|
/**
|
|
9362
9372
|
* @param { rebilly.GetRoleCollectionRequest } request
|
|
@@ -9398,7 +9408,7 @@ function Xe$1({ apiHandler: e }) {
|
|
|
9398
9408
|
}
|
|
9399
9409
|
};
|
|
9400
9410
|
}
|
|
9401
|
-
function
|
|
9411
|
+
function _e$1({ apiHandler: e }) {
|
|
9402
9412
|
return {
|
|
9403
9413
|
/**
|
|
9404
9414
|
* @returns { rebilly.GetSearchResponsePromise } response
|
|
@@ -9409,7 +9419,7 @@ function Ze$1({ apiHandler: e }) {
|
|
|
9409
9419
|
}
|
|
9410
9420
|
};
|
|
9411
9421
|
}
|
|
9412
|
-
function
|
|
9422
|
+
function He$1({ apiHandler: e }) {
|
|
9413
9423
|
return {
|
|
9414
9424
|
/**
|
|
9415
9425
|
* @param { rebilly.GetGridSegmentCollectionRequest } request
|
|
@@ -9449,7 +9459,7 @@ function _e$1({ apiHandler: e }) {
|
|
|
9449
9459
|
}
|
|
9450
9460
|
};
|
|
9451
9461
|
}
|
|
9452
|
-
function
|
|
9462
|
+
function ts({ apiHandler: e }) {
|
|
9453
9463
|
return {
|
|
9454
9464
|
/**
|
|
9455
9465
|
* @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
|
|
@@ -9459,7 +9469,7 @@ function He$1({ apiHandler: e }) {
|
|
|
9459
9469
|
}
|
|
9460
9470
|
};
|
|
9461
9471
|
}
|
|
9462
|
-
function
|
|
9472
|
+
function es({ apiHandler: e }) {
|
|
9463
9473
|
return {
|
|
9464
9474
|
/**
|
|
9465
9475
|
* @param { rebilly.GetServiceCredentialCollectionRequest } request
|
|
@@ -9510,7 +9520,7 @@ function ts({ apiHandler: e }) {
|
|
|
9510
9520
|
}
|
|
9511
9521
|
};
|
|
9512
9522
|
}
|
|
9513
|
-
function
|
|
9523
|
+
function ss({ apiHandler: e }) {
|
|
9514
9524
|
return {
|
|
9515
9525
|
/**
|
|
9516
9526
|
* @param { rebilly.GetShippingRateCollectionRequest } request
|
|
@@ -9550,7 +9560,7 @@ function es({ apiHandler: e }) {
|
|
|
9550
9560
|
}
|
|
9551
9561
|
};
|
|
9552
9562
|
}
|
|
9553
|
-
function
|
|
9563
|
+
function rs({ apiHandler: e }) {
|
|
9554
9564
|
return {
|
|
9555
9565
|
/**
|
|
9556
9566
|
* @returns { rebilly.GetStatusResponsePromise } response
|
|
@@ -9560,7 +9570,7 @@ function ss({ apiHandler: e }) {
|
|
|
9560
9570
|
}
|
|
9561
9571
|
};
|
|
9562
9572
|
}
|
|
9563
|
-
function
|
|
9573
|
+
function ns({ apiHandler: e }) {
|
|
9564
9574
|
return {
|
|
9565
9575
|
/**
|
|
9566
9576
|
* @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
|
|
@@ -9591,7 +9601,7 @@ function rs({ apiHandler: e }) {
|
|
|
9591
9601
|
}
|
|
9592
9602
|
};
|
|
9593
9603
|
}
|
|
9594
|
-
function
|
|
9604
|
+
function us({ apiHandler: e }) {
|
|
9595
9605
|
return {
|
|
9596
9606
|
/**
|
|
9597
9607
|
* @param { rebilly.GetSubscriptionPauseCollectionRequest } request
|
|
@@ -9625,7 +9635,7 @@ function ns({ apiHandler: e }) {
|
|
|
9625
9635
|
}
|
|
9626
9636
|
};
|
|
9627
9637
|
}
|
|
9628
|
-
function
|
|
9638
|
+
function os({ apiHandler: e }) {
|
|
9629
9639
|
return {
|
|
9630
9640
|
/**
|
|
9631
9641
|
* @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
|
|
@@ -9646,7 +9656,7 @@ function us({ apiHandler: e }) {
|
|
|
9646
9656
|
}
|
|
9647
9657
|
};
|
|
9648
9658
|
}
|
|
9649
|
-
function
|
|
9659
|
+
function ls({ apiHandler: e }) {
|
|
9650
9660
|
return {
|
|
9651
9661
|
/**
|
|
9652
9662
|
* @param { rebilly.GetSubscriptionCollectionRequest } request
|
|
@@ -9757,7 +9767,7 @@ function os({ apiHandler: e }) {
|
|
|
9757
9767
|
}
|
|
9758
9768
|
};
|
|
9759
9769
|
}
|
|
9760
|
-
function
|
|
9770
|
+
function cs({ apiHandler: e }) {
|
|
9761
9771
|
return {
|
|
9762
9772
|
/**
|
|
9763
9773
|
* @param { rebilly.GetTagCollectionRequest } request
|
|
@@ -9826,7 +9836,7 @@ function ls({ apiHandler: e }) {
|
|
|
9826
9836
|
}
|
|
9827
9837
|
};
|
|
9828
9838
|
}
|
|
9829
|
-
function
|
|
9839
|
+
function is({ apiHandler: e }) {
|
|
9830
9840
|
return {
|
|
9831
9841
|
/**
|
|
9832
9842
|
* @param { rebilly.GetTagRuleCollectionRequest } request
|
|
@@ -9866,7 +9876,7 @@ function cs({ apiHandler: e }) {
|
|
|
9866
9876
|
}
|
|
9867
9877
|
};
|
|
9868
9878
|
}
|
|
9869
|
-
function
|
|
9879
|
+
function as({ apiHandler: e }) {
|
|
9870
9880
|
return {
|
|
9871
9881
|
/**
|
|
9872
9882
|
* @param { rebilly.GetTrackingApiCollectionRequest } request
|
|
@@ -9948,7 +9958,7 @@ function is({ apiHandler: e }) {
|
|
|
9948
9958
|
}
|
|
9949
9959
|
};
|
|
9950
9960
|
}
|
|
9951
|
-
function
|
|
9961
|
+
function gs({ apiHandler: e }) {
|
|
9952
9962
|
return {
|
|
9953
9963
|
/**
|
|
9954
9964
|
* @param { rebilly.GetTransactionCollectionRequest } request
|
|
@@ -10025,7 +10035,7 @@ function as({ apiHandler: e }) {
|
|
|
10025
10035
|
}
|
|
10026
10036
|
};
|
|
10027
10037
|
}
|
|
10028
|
-
function
|
|
10038
|
+
function ms({ apiHandler: e }) {
|
|
10029
10039
|
return {
|
|
10030
10040
|
/**
|
|
10031
10041
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -10055,7 +10065,7 @@ function gs({ apiHandler: e }) {
|
|
|
10055
10065
|
}
|
|
10056
10066
|
};
|
|
10057
10067
|
}
|
|
10058
|
-
function
|
|
10068
|
+
function fs({ apiHandler: e }) {
|
|
10059
10069
|
return {
|
|
10060
10070
|
deleteUserMembership({ organizationId: t, userId: s }) {
|
|
10061
10071
|
return e.delete(`memberships/${t}/${s}`);
|
|
@@ -10095,7 +10105,7 @@ function ms({ apiHandler: e }) {
|
|
|
10095
10105
|
}
|
|
10096
10106
|
};
|
|
10097
10107
|
}
|
|
10098
|
-
function
|
|
10108
|
+
function ps({ apiHandler: e }) {
|
|
10099
10109
|
return {
|
|
10100
10110
|
/**
|
|
10101
10111
|
* @param { rebilly.GetWebhookCollectionRequest } request
|
|
@@ -10129,7 +10139,7 @@ function fs({ apiHandler: e }) {
|
|
|
10129
10139
|
}
|
|
10130
10140
|
};
|
|
10131
10141
|
}
|
|
10132
|
-
function
|
|
10142
|
+
function $s({ apiHandler: e }) {
|
|
10133
10143
|
return {
|
|
10134
10144
|
/**
|
|
10135
10145
|
* @param { rebilly.GetWebsiteCollectionRequest } request
|
|
@@ -10169,7 +10179,7 @@ function ps({ apiHandler: e }) {
|
|
|
10169
10179
|
}
|
|
10170
10180
|
};
|
|
10171
10181
|
}
|
|
10172
|
-
class
|
|
10182
|
+
class hs {
|
|
10173
10183
|
constructor({ apiHandler: t }) {
|
|
10174
10184
|
this.accountRegistrationSettings = Ft$1({
|
|
10175
10185
|
apiHandler: t
|
|
@@ -10181,14 +10191,14 @@ class $s {
|
|
|
10181
10191
|
apiHandler: t
|
|
10182
10192
|
}), this.payoutRequestAutoAllocations = Fe$1({
|
|
10183
10193
|
apiHandler: t
|
|
10184
|
-
}), 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.
|
|
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({
|
|
10185
10195
|
apiHandler: t
|
|
10186
|
-
}), this.subscriptionPauses =
|
|
10196
|
+
}), this.subscriptionPauses = us({ apiHandler: t }), this.subscriptionReactivations = os({
|
|
10187
10197
|
apiHandler: t
|
|
10188
|
-
}), this.subscriptions =
|
|
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;
|
|
10189
10199
|
}
|
|
10190
10200
|
}
|
|
10191
|
-
function
|
|
10201
|
+
function ys({ apiHandler: e }) {
|
|
10192
10202
|
return {
|
|
10193
10203
|
/**
|
|
10194
10204
|
* @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
|
|
@@ -10198,7 +10208,7 @@ function hs({ apiHandler: e }) {
|
|
|
10198
10208
|
}
|
|
10199
10209
|
};
|
|
10200
10210
|
}
|
|
10201
|
-
function
|
|
10211
|
+
function As({ apiHandler: e }) {
|
|
10202
10212
|
return {
|
|
10203
10213
|
/**
|
|
10204
10214
|
* @param { rebilly.GetDataExportCollectionRequest } request
|
|
@@ -10243,7 +10253,7 @@ function ys({ apiHandler: e }) {
|
|
|
10243
10253
|
}
|
|
10244
10254
|
};
|
|
10245
10255
|
}
|
|
10246
|
-
function
|
|
10256
|
+
function Rs({ apiHandler: e }) {
|
|
10247
10257
|
return {
|
|
10248
10258
|
/**
|
|
10249
10259
|
* @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
|
|
@@ -10287,7 +10297,7 @@ function As({ apiHandler: e }) {
|
|
|
10287
10297
|
}
|
|
10288
10298
|
};
|
|
10289
10299
|
}
|
|
10290
|
-
function
|
|
10300
|
+
function bs({ apiHandler: e }) {
|
|
10291
10301
|
return {
|
|
10292
10302
|
/**
|
|
10293
10303
|
* @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
|
|
@@ -10786,7 +10796,7 @@ function Rs({ apiHandler: e }) {
|
|
|
10786
10796
|
}
|
|
10787
10797
|
};
|
|
10788
10798
|
}
|
|
10789
|
-
function
|
|
10799
|
+
function ws({ apiHandler: e }) {
|
|
10790
10800
|
return {
|
|
10791
10801
|
/**
|
|
10792
10802
|
* @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
|
|
@@ -10796,7 +10806,7 @@ function bs({ apiHandler: e }) {
|
|
|
10796
10806
|
}
|
|
10797
10807
|
};
|
|
10798
10808
|
}
|
|
10799
|
-
function
|
|
10809
|
+
function ks({ apiHandler: e }) {
|
|
10800
10810
|
return {
|
|
10801
10811
|
getActivityFeed({ eventTypes: t = null, limit: s = 1e3, offset: r = 0 }) {
|
|
10802
10812
|
const n = {
|
|
@@ -10824,7 +10834,7 @@ function ws({ apiHandler: e }) {
|
|
|
10824
10834
|
}
|
|
10825
10835
|
};
|
|
10826
10836
|
}
|
|
10827
|
-
function
|
|
10837
|
+
function vs({ apiHandler: e }) {
|
|
10828
10838
|
return {
|
|
10829
10839
|
query() {
|
|
10830
10840
|
return e.get("location");
|
|
@@ -10832,15 +10842,15 @@ function ks({ apiHandler: e }) {
|
|
|
10832
10842
|
};
|
|
10833
10843
|
}
|
|
10834
10844
|
const b = {
|
|
10835
|
-
CustomersResource:
|
|
10836
|
-
DataExportsResource:
|
|
10837
|
-
HistogramsResource:
|
|
10838
|
-
ReportsResource:
|
|
10839
|
-
SubscriptionsResource:
|
|
10840
|
-
TimelinesResource:
|
|
10841
|
-
LocationResource:
|
|
10845
|
+
CustomersResource: ys,
|
|
10846
|
+
DataExportsResource: As,
|
|
10847
|
+
HistogramsResource: Rs,
|
|
10848
|
+
ReportsResource: bs,
|
|
10849
|
+
SubscriptionsResource: ws,
|
|
10850
|
+
TimelinesResource: ks,
|
|
10851
|
+
LocationResource: vs
|
|
10842
10852
|
};
|
|
10843
|
-
class
|
|
10853
|
+
class qs {
|
|
10844
10854
|
constructor({ apiHandler: t }) {
|
|
10845
10855
|
this.customers = b.CustomersResource({ apiHandler: t }), this.dataExports = b.DataExportsResource({
|
|
10846
10856
|
apiHandler: t
|
|
@@ -10849,7 +10859,7 @@ class vs {
|
|
|
10849
10859
|
}), 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;
|
|
10850
10860
|
}
|
|
10851
10861
|
}
|
|
10852
|
-
function
|
|
10862
|
+
function ds({ apiHandler: e }) {
|
|
10853
10863
|
return {
|
|
10854
10864
|
/**
|
|
10855
10865
|
* @returns { rebilly.StorefrontGetAccountResponsePromise } response
|
|
@@ -10881,7 +10891,7 @@ function qs({ apiHandler: e }) {
|
|
|
10881
10891
|
}
|
|
10882
10892
|
};
|
|
10883
10893
|
}
|
|
10884
|
-
function
|
|
10894
|
+
function Ts({ apiHandler: e }) {
|
|
10885
10895
|
return {
|
|
10886
10896
|
login({ data: t }) {
|
|
10887
10897
|
return e.post("login", t);
|
|
@@ -10891,7 +10901,7 @@ function ds({ apiHandler: e }) {
|
|
|
10891
10901
|
}
|
|
10892
10902
|
};
|
|
10893
10903
|
}
|
|
10894
|
-
function
|
|
10904
|
+
function Is({ apiHandler: e }) {
|
|
10895
10905
|
return {
|
|
10896
10906
|
/**
|
|
10897
10907
|
* @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
|
|
@@ -10901,7 +10911,7 @@ function Ts({ apiHandler: e }) {
|
|
|
10901
10911
|
}
|
|
10902
10912
|
};
|
|
10903
10913
|
}
|
|
10904
|
-
function
|
|
10914
|
+
function Ss({ apiHandler: e }) {
|
|
10905
10915
|
return {
|
|
10906
10916
|
/**
|
|
10907
10917
|
* @returns { rebilly.StorefrontGetCashierResponsePromise } response
|
|
@@ -10911,7 +10921,7 @@ function Is({ apiHandler: e }) {
|
|
|
10911
10921
|
}
|
|
10912
10922
|
};
|
|
10913
10923
|
}
|
|
10914
|
-
function
|
|
10924
|
+
function Es({ apiHandler: e }) {
|
|
10915
10925
|
return {
|
|
10916
10926
|
/**
|
|
10917
10927
|
* @returns { rebilly.StorefrontGetCheckoutFormResponsePromise } response
|
|
@@ -10921,7 +10931,7 @@ function Ss({ apiHandler: e }) {
|
|
|
10921
10931
|
}
|
|
10922
10932
|
};
|
|
10923
10933
|
}
|
|
10924
|
-
function
|
|
10934
|
+
function xs({ apiHandler: e }) {
|
|
10925
10935
|
return {
|
|
10926
10936
|
/**
|
|
10927
10937
|
* @param { rebilly.StorefrontGetCustomFieldCollectionRequest } request
|
|
@@ -10933,7 +10943,7 @@ function Es({ apiHandler: e }) {
|
|
|
10933
10943
|
}
|
|
10934
10944
|
};
|
|
10935
10945
|
}
|
|
10936
|
-
function
|
|
10946
|
+
function Ps({ apiHandler: e }) {
|
|
10937
10947
|
return {
|
|
10938
10948
|
/**
|
|
10939
10949
|
* @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
|
|
@@ -10944,14 +10954,14 @@ function xs({ apiHandler: e }) {
|
|
|
10944
10954
|
}
|
|
10945
10955
|
};
|
|
10946
10956
|
}
|
|
10947
|
-
function
|
|
10957
|
+
function Cs({ apiHandler: e }) {
|
|
10948
10958
|
return {
|
|
10949
10959
|
create({ data: t }) {
|
|
10950
10960
|
return e.post("deposit", t);
|
|
10951
10961
|
}
|
|
10952
10962
|
};
|
|
10953
10963
|
}
|
|
10954
|
-
function
|
|
10964
|
+
function Ds({ apiHandler: e }) {
|
|
10955
10965
|
return {
|
|
10956
10966
|
/**
|
|
10957
10967
|
* @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
|
|
@@ -10961,7 +10971,7 @@ function Cs({ apiHandler: e }) {
|
|
|
10961
10971
|
}
|
|
10962
10972
|
};
|
|
10963
10973
|
}
|
|
10964
|
-
function
|
|
10974
|
+
function js({ apiHandler: e }) {
|
|
10965
10975
|
return {
|
|
10966
10976
|
/**
|
|
10967
10977
|
* @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
|
|
@@ -10997,7 +11007,7 @@ function Ds({ apiHandler: e }) {
|
|
|
10997
11007
|
}
|
|
10998
11008
|
};
|
|
10999
11009
|
}
|
|
11000
|
-
function
|
|
11010
|
+
function Ms({ apiHandler: e }) {
|
|
11001
11011
|
return {
|
|
11002
11012
|
create({ data: t }) {
|
|
11003
11013
|
return e.post("kyc-documents", t);
|
|
@@ -11013,7 +11023,7 @@ function js({ apiHandler: e }) {
|
|
|
11013
11023
|
}
|
|
11014
11024
|
};
|
|
11015
11025
|
}
|
|
11016
|
-
function
|
|
11026
|
+
function Os({ apiHandler: e }) {
|
|
11017
11027
|
return {
|
|
11018
11028
|
create({ data: t }) {
|
|
11019
11029
|
return e.post("kyc-liveness-sessions", t);
|
|
@@ -11029,7 +11039,7 @@ function Ms({ apiHandler: e }) {
|
|
|
11029
11039
|
}
|
|
11030
11040
|
};
|
|
11031
11041
|
}
|
|
11032
|
-
function
|
|
11042
|
+
function Fs({ apiHandler: e }) {
|
|
11033
11043
|
return {
|
|
11034
11044
|
/**
|
|
11035
11045
|
* @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
|
|
@@ -11040,7 +11050,7 @@ function Os({ apiHandler: e }) {
|
|
|
11040
11050
|
}
|
|
11041
11051
|
};
|
|
11042
11052
|
}
|
|
11043
|
-
function
|
|
11053
|
+
function Bs({ apiHandler: e }) {
|
|
11044
11054
|
return {
|
|
11045
11055
|
/**
|
|
11046
11056
|
* @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
|
|
@@ -11082,7 +11092,7 @@ function Fs({ apiHandler: e }) {
|
|
|
11082
11092
|
}
|
|
11083
11093
|
};
|
|
11084
11094
|
}
|
|
11085
|
-
function
|
|
11095
|
+
function Ks({ apiHandler: e }) {
|
|
11086
11096
|
return {
|
|
11087
11097
|
/**
|
|
11088
11098
|
* @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
|
|
@@ -11125,14 +11135,14 @@ function Bs({ apiHandler: e }) {
|
|
|
11125
11135
|
}
|
|
11126
11136
|
};
|
|
11127
11137
|
}
|
|
11128
|
-
function
|
|
11138
|
+
function Ns({ apiHandler: e }) {
|
|
11129
11139
|
return {
|
|
11130
11140
|
create({ data: t }) {
|
|
11131
11141
|
return e.post("payout-request-cancellations", t);
|
|
11132
11142
|
}
|
|
11133
11143
|
};
|
|
11134
11144
|
}
|
|
11135
|
-
function
|
|
11145
|
+
function Ls({ apiHandler: e }) {
|
|
11136
11146
|
return {
|
|
11137
11147
|
/**
|
|
11138
11148
|
* @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
|
|
@@ -11162,7 +11172,7 @@ function Ns({ apiHandler: e }) {
|
|
|
11162
11172
|
}
|
|
11163
11173
|
};
|
|
11164
11174
|
}
|
|
11165
|
-
function
|
|
11175
|
+
function zs({ apiHandler: e }) {
|
|
11166
11176
|
return {
|
|
11167
11177
|
/**
|
|
11168
11178
|
* @param { rebilly.StorefrontGetPlanCollectionRequest } request
|
|
@@ -11188,7 +11198,7 @@ function Ls({ apiHandler: e }) {
|
|
|
11188
11198
|
}
|
|
11189
11199
|
};
|
|
11190
11200
|
}
|
|
11191
|
-
function
|
|
11201
|
+
function Us({ apiHandler: e }) {
|
|
11192
11202
|
return {
|
|
11193
11203
|
/**
|
|
11194
11204
|
* @param { rebilly.StorefrontGetProductCollectionRequest } request
|
|
@@ -11212,7 +11222,7 @@ function zs({ apiHandler: e }) {
|
|
|
11212
11222
|
}
|
|
11213
11223
|
};
|
|
11214
11224
|
}
|
|
11215
|
-
function
|
|
11225
|
+
function Vs({ apiHandler: e }) {
|
|
11216
11226
|
return {
|
|
11217
11227
|
payment({ data: t }) {
|
|
11218
11228
|
return e.post("payment", t);
|
|
@@ -11228,7 +11238,7 @@ function Us({ apiHandler: e }) {
|
|
|
11228
11238
|
}
|
|
11229
11239
|
};
|
|
11230
11240
|
}
|
|
11231
|
-
function
|
|
11241
|
+
function Js({ apiHandler: e }) {
|
|
11232
11242
|
return {
|
|
11233
11243
|
/**
|
|
11234
11244
|
* @returns { rebilly.StorefrontGetQuoteResponsePromise } response
|
|
@@ -11252,21 +11262,21 @@ function Vs({ apiHandler: e }) {
|
|
|
11252
11262
|
}
|
|
11253
11263
|
};
|
|
11254
11264
|
}
|
|
11255
|
-
function
|
|
11265
|
+
function Ws({ apiHandler: e }) {
|
|
11256
11266
|
return {
|
|
11257
11267
|
readyToPayout({ data: t }) {
|
|
11258
11268
|
return e.post("ready-to-payout", t);
|
|
11259
11269
|
}
|
|
11260
11270
|
};
|
|
11261
11271
|
}
|
|
11262
|
-
function
|
|
11272
|
+
function Gs({ apiHandler: e }) {
|
|
11263
11273
|
return {
|
|
11264
11274
|
reactivation({ data: t }) {
|
|
11265
11275
|
return e.post("subscription-reactivations", t);
|
|
11266
11276
|
}
|
|
11267
11277
|
};
|
|
11268
11278
|
}
|
|
11269
|
-
function
|
|
11279
|
+
function Ys({ apiHandler: e }) {
|
|
11270
11280
|
return {
|
|
11271
11281
|
changeItems({ id: t, data: s }) {
|
|
11272
11282
|
return e.post(`subscriptions/${t}/change-items`, s);
|
|
@@ -11276,7 +11286,7 @@ function Gs({ apiHandler: e }) {
|
|
|
11276
11286
|
}
|
|
11277
11287
|
};
|
|
11278
11288
|
}
|
|
11279
|
-
function
|
|
11289
|
+
function Qs({ apiHandler: e }) {
|
|
11280
11290
|
return {
|
|
11281
11291
|
/**
|
|
11282
11292
|
* @param { rebilly.StorefrontGetTransactionCollectionRequest } request
|
|
@@ -11325,7 +11335,7 @@ function Ys({ apiHandler: e }) {
|
|
|
11325
11335
|
}
|
|
11326
11336
|
};
|
|
11327
11337
|
}
|
|
11328
|
-
function
|
|
11338
|
+
function Xs({ apiHandler: e }) {
|
|
11329
11339
|
return {
|
|
11330
11340
|
/**
|
|
11331
11341
|
* @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
|
|
@@ -11335,29 +11345,29 @@ function Qs({ apiHandler: e }) {
|
|
|
11335
11345
|
}
|
|
11336
11346
|
};
|
|
11337
11347
|
}
|
|
11338
|
-
class
|
|
11348
|
+
class Zs {
|
|
11339
11349
|
constructor({ apiHandler: t }) {
|
|
11340
|
-
this.account =
|
|
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({
|
|
11341
11351
|
apiHandler: t
|
|
11342
|
-
}), this.payoutRequests =
|
|
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({
|
|
11343
11353
|
apiHandler: t
|
|
11344
|
-
}), this.subscriptions =
|
|
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;
|
|
11345
11355
|
}
|
|
11346
11356
|
}
|
|
11347
|
-
function Zs({ apiHandler: e }) {
|
|
11348
|
-
return new $s({ apiHandler: e });
|
|
11349
|
-
}
|
|
11350
11357
|
function _s({ apiHandler: e }) {
|
|
11351
|
-
return new
|
|
11358
|
+
return new hs({ apiHandler: e });
|
|
11352
11359
|
}
|
|
11353
11360
|
function Hs({ apiHandler: e }) {
|
|
11354
|
-
return new
|
|
11361
|
+
return new qs({ apiHandler: e });
|
|
11362
|
+
}
|
|
11363
|
+
function tr({ apiHandler: e }) {
|
|
11364
|
+
return new Zs({ apiHandler: e });
|
|
11355
11365
|
}
|
|
11356
11366
|
const F$1 = {
|
|
11357
11367
|
live: "https://api.rebilly.com",
|
|
11358
11368
|
sandbox: "https://api-sandbox.rebilly.com"
|
|
11359
11369
|
}, B$1 = 6e3;
|
|
11360
|
-
function
|
|
11370
|
+
function ur({
|
|
11361
11371
|
apiKey: e = null,
|
|
11362
11372
|
sandbox: t = false,
|
|
11363
11373
|
timeout: s = B$1,
|
|
@@ -11383,9 +11393,9 @@ function nr({
|
|
|
11383
11393
|
organizationId: r,
|
|
11384
11394
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11385
11395
|
}, l = O$1({ options: o });
|
|
11386
|
-
return
|
|
11396
|
+
return _s({ apiHandler: l });
|
|
11387
11397
|
}
|
|
11388
|
-
function
|
|
11398
|
+
function or({
|
|
11389
11399
|
apiKey: e = null,
|
|
11390
11400
|
sandbox: t = false,
|
|
11391
11401
|
timeout: s = B$1,
|
|
@@ -11411,9 +11421,9 @@ function ur({
|
|
|
11411
11421
|
organizationId: r,
|
|
11412
11422
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11413
11423
|
}, l = O$1({ options: o });
|
|
11414
|
-
return
|
|
11424
|
+
return Hs({ apiHandler: l });
|
|
11415
11425
|
}
|
|
11416
|
-
function
|
|
11426
|
+
function lr({
|
|
11417
11427
|
publishableKey: e = null,
|
|
11418
11428
|
jwt: t = null,
|
|
11419
11429
|
sandbox: s = false,
|
|
@@ -11440,7 +11450,7 @@ function or({
|
|
|
11440
11450
|
organizationId: n,
|
|
11441
11451
|
appName: (o == null ? void 0 : o.appName) ?? null
|
|
11442
11452
|
}, i = O$1({ options: l });
|
|
11443
|
-
return i.setSessionToken(l.jwt),
|
|
11453
|
+
return i.setSessionToken(l.jwt), tr({ apiHandler: i });
|
|
11444
11454
|
}
|
|
11445
11455
|
const TIMEOUT = 6e4;
|
|
11446
11456
|
function validateStateForStorefront() {
|
|
@@ -11481,15 +11491,15 @@ class StorefrontInstance {
|
|
|
11481
11491
|
appName: appName ? `${appName}/instruments` : "instruments"
|
|
11482
11492
|
}
|
|
11483
11493
|
};
|
|
11484
|
-
const api =
|
|
11494
|
+
const api = lr(config);
|
|
11485
11495
|
const rebilly = (
|
|
11486
11496
|
// @ts-expect-error refactor with above todo
|
|
11487
|
-
typeof
|
|
11497
|
+
typeof ur.default === "function" ? (
|
|
11488
11498
|
// @ts-expect-error refactor with above todo
|
|
11489
|
-
|
|
11490
|
-
) :
|
|
11499
|
+
ur.default(config)
|
|
11500
|
+
) : ur(config)
|
|
11491
11501
|
);
|
|
11492
|
-
const experimental =
|
|
11502
|
+
const experimental = or(config);
|
|
11493
11503
|
api.setSessionToken(publishableKey || jwt);
|
|
11494
11504
|
rebilly.setSessionToken(publishableKey || jwt);
|
|
11495
11505
|
experimental.setSessionToken(publishableKey || jwt);
|
|
@@ -15271,7 +15281,7 @@ function handleComputedProperty(options) {
|
|
|
15271
15281
|
var _a;
|
|
15272
15282
|
return Object.assign({}, options, {
|
|
15273
15283
|
_computed: {
|
|
15274
|
-
version: "16.
|
|
15284
|
+
version: "16.206.1",
|
|
15275
15285
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
15276
15286
|
}
|
|
15277
15287
|
});
|
|
@@ -18882,7 +18892,7 @@ async function destroy() {
|
|
|
18882
18892
|
if (state.form instanceof HTMLElement) {
|
|
18883
18893
|
state.form.textContent = "";
|
|
18884
18894
|
}
|
|
18885
|
-
await
|
|
18895
|
+
await nr.cancelAll();
|
|
18886
18896
|
state.loader.clearAll();
|
|
18887
18897
|
}
|
|
18888
18898
|
async function update({ newOptions = {} } = {}) {
|
|
@@ -18923,7 +18933,7 @@ class RebillyInstrumentsInstance {
|
|
|
18923
18933
|
await show({ componentName, payload });
|
|
18924
18934
|
}
|
|
18925
18935
|
get version() {
|
|
18926
|
-
return `RebillyInstruments Ver.${"16.
|
|
18936
|
+
return `RebillyInstruments Ver.${"16.206.1"}`;
|
|
18927
18937
|
}
|
|
18928
18938
|
on(eventName, callback) {
|
|
18929
18939
|
on({ eventName, callback });
|