@rebilly/instruments 16.195.1 → 16.195.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -2
- package/dist/index.js +115 -139
- package/dist/index.min.js +5 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6406,7 +6406,7 @@ E$1(I$1, "cancelAll", async (t) => {
|
|
|
6406
6406
|
for (const s of q$1.getAll())
|
|
6407
6407
|
await s.cancel(t), q$1.deleteById(s.id);
|
|
6408
6408
|
});
|
|
6409
|
-
const
|
|
6409
|
+
const sr = {
|
|
6410
6410
|
/**
|
|
6411
6411
|
* @type Cancellation.cancelAll
|
|
6412
6412
|
*/
|
|
@@ -6440,7 +6440,7 @@ function O$1({ options: e }) {
|
|
|
6440
6440
|
}
|
|
6441
6441
|
function o() {
|
|
6442
6442
|
const a = {
|
|
6443
|
-
"REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
6443
|
+
"REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@585d804`
|
|
6444
6444
|
};
|
|
6445
6445
|
return e.apiKey && (a["REB-APIKEY"] = e.apiKey), a;
|
|
6446
6446
|
}
|
|
@@ -8585,33 +8585,6 @@ function de$1({ apiHandler: e }) {
|
|
|
8585
8585
|
};
|
|
8586
8586
|
}
|
|
8587
8587
|
function Te$1({ apiHandler: e }) {
|
|
8588
|
-
return {
|
|
8589
|
-
/**
|
|
8590
|
-
* @param { rebilly.GetMembershipCollectionRequest } request
|
|
8591
|
-
* @returns { rebilly.GetMembershipCollectionResponsePromise } response
|
|
8592
|
-
*/
|
|
8593
|
-
getAll({ limit: t = null, offset: s = null, filter: r = null, sort: n = null } = {}) {
|
|
8594
|
-
const u = { limit: t, offset: s, filter: r, sort: n };
|
|
8595
|
-
return e.getAll("memberships", u);
|
|
8596
|
-
},
|
|
8597
|
-
/**
|
|
8598
|
-
* @returns { rebilly.GetMembershipResponsePromise } response
|
|
8599
|
-
*/
|
|
8600
|
-
get({ organizationId: t, userId: s }) {
|
|
8601
|
-
return e.get(`memberships/${t}/${s}`);
|
|
8602
|
-
},
|
|
8603
|
-
/**
|
|
8604
|
-
* @returns { rebilly.PutMembershipResponsePromise } response
|
|
8605
|
-
*/
|
|
8606
|
-
update({ organizationId: t, userId: s, data: r }) {
|
|
8607
|
-
return e.put(`memberships/${t}/${s}`, r);
|
|
8608
|
-
},
|
|
8609
|
-
delete({ organizationId: t, userId: s }) {
|
|
8610
|
-
return e.delete(`memberships/${t}/${s}`);
|
|
8611
|
-
}
|
|
8612
|
-
};
|
|
8613
|
-
}
|
|
8614
|
-
function Ie$1({ apiHandler: e }) {
|
|
8615
8588
|
return {
|
|
8616
8589
|
/**
|
|
8617
8590
|
* @param { rebilly.GetOrderCancellationCollectionRequest } request
|
|
@@ -8648,7 +8621,7 @@ function Ie$1({ apiHandler: e }) {
|
|
|
8648
8621
|
}
|
|
8649
8622
|
};
|
|
8650
8623
|
}
|
|
8651
|
-
function
|
|
8624
|
+
function Ie$1({ apiHandler: e }) {
|
|
8652
8625
|
return {
|
|
8653
8626
|
/**
|
|
8654
8627
|
* @param { rebilly.GetOrderPauseCollectionRequest } request
|
|
@@ -8682,7 +8655,7 @@ function Se$1({ apiHandler: e }) {
|
|
|
8682
8655
|
}
|
|
8683
8656
|
};
|
|
8684
8657
|
}
|
|
8685
|
-
function
|
|
8658
|
+
function Se$1({ apiHandler: e }) {
|
|
8686
8659
|
return {
|
|
8687
8660
|
/**
|
|
8688
8661
|
* @param { rebilly.GetOrderReactivationCollectionRequest } request
|
|
@@ -8703,7 +8676,7 @@ function Ee$1({ apiHandler: e }) {
|
|
|
8703
8676
|
}
|
|
8704
8677
|
};
|
|
8705
8678
|
}
|
|
8706
|
-
function
|
|
8679
|
+
function Ee$1({ apiHandler: e }) {
|
|
8707
8680
|
return {
|
|
8708
8681
|
/**
|
|
8709
8682
|
* @param { rebilly.GetOrderCollectionRequest } request
|
|
@@ -8767,7 +8740,7 @@ function xe$1({ apiHandler: e }) {
|
|
|
8767
8740
|
}
|
|
8768
8741
|
};
|
|
8769
8742
|
}
|
|
8770
|
-
function
|
|
8743
|
+
function xe$1({ apiHandler: e }) {
|
|
8771
8744
|
return {
|
|
8772
8745
|
/**
|
|
8773
8746
|
* @param { rebilly.GetOrganizationExportCollectionRequest } request
|
|
@@ -8794,7 +8767,7 @@ function Pe$1({ apiHandler: e }) {
|
|
|
8794
8767
|
}
|
|
8795
8768
|
};
|
|
8796
8769
|
}
|
|
8797
|
-
function
|
|
8770
|
+
function Pe$1({ apiHandler: e }) {
|
|
8798
8771
|
return {
|
|
8799
8772
|
/**
|
|
8800
8773
|
* @param { rebilly.GetOrganizationCollectionRequest } request
|
|
@@ -8824,7 +8797,7 @@ function Ce$1({ apiHandler: e }) {
|
|
|
8824
8797
|
}
|
|
8825
8798
|
};
|
|
8826
8799
|
}
|
|
8827
|
-
function
|
|
8800
|
+
function Ce$1({ apiHandler: e }) {
|
|
8828
8801
|
return {
|
|
8829
8802
|
/**
|
|
8830
8803
|
* @param { rebilly.GetPaymentCardBankNameCollectionRequest } request
|
|
@@ -8836,7 +8809,7 @@ function De$1({ apiHandler: e }) {
|
|
|
8836
8809
|
}
|
|
8837
8810
|
};
|
|
8838
8811
|
}
|
|
8839
|
-
function
|
|
8812
|
+
function De$1({ apiHandler: e }) {
|
|
8840
8813
|
return {
|
|
8841
8814
|
/**
|
|
8842
8815
|
* @param { rebilly.GetPaymentInstrumentCollectionRequest } request
|
|
@@ -8873,7 +8846,7 @@ function je$1({ apiHandler: e }) {
|
|
|
8873
8846
|
}
|
|
8874
8847
|
};
|
|
8875
8848
|
}
|
|
8876
|
-
function
|
|
8849
|
+
function je$1({ apiHandler: e }) {
|
|
8877
8850
|
return {
|
|
8878
8851
|
/**
|
|
8879
8852
|
* @param { rebilly.GetPaymentMethodCollectionRequest } request
|
|
@@ -8891,7 +8864,7 @@ function Me$1({ apiHandler: e }) {
|
|
|
8891
8864
|
}
|
|
8892
8865
|
};
|
|
8893
8866
|
}
|
|
8894
|
-
function
|
|
8867
|
+
function Me$1({ apiHandler: e }) {
|
|
8895
8868
|
return {
|
|
8896
8869
|
/**
|
|
8897
8870
|
* @param { rebilly.GetTokenCollectionRequest } request
|
|
@@ -8912,7 +8885,7 @@ function Oe$1({ apiHandler: e }) {
|
|
|
8912
8885
|
}
|
|
8913
8886
|
};
|
|
8914
8887
|
}
|
|
8915
|
-
function
|
|
8888
|
+
function Oe$1({ apiHandler: e }) {
|
|
8916
8889
|
return {
|
|
8917
8890
|
/**
|
|
8918
8891
|
* @param { rebilly.GetPayoutRequestAllocationCollectionRequest } request
|
|
@@ -8939,14 +8912,14 @@ function Fe$1({ apiHandler: e }) {
|
|
|
8939
8912
|
}
|
|
8940
8913
|
};
|
|
8941
8914
|
}
|
|
8942
|
-
function
|
|
8915
|
+
function Fe$1({ apiHandler: e }) {
|
|
8943
8916
|
return {
|
|
8944
8917
|
create({ data: t }) {
|
|
8945
8918
|
return e.post("payout-request-auto-allocations", t);
|
|
8946
8919
|
}
|
|
8947
8920
|
};
|
|
8948
8921
|
}
|
|
8949
|
-
function
|
|
8922
|
+
function Be$1({ apiHandler: e }) {
|
|
8950
8923
|
return {
|
|
8951
8924
|
/**
|
|
8952
8925
|
* @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
|
|
@@ -9010,14 +8983,14 @@ function Ke$1({ apiHandler: e }) {
|
|
|
9010
8983
|
}
|
|
9011
8984
|
};
|
|
9012
8985
|
}
|
|
9013
|
-
function
|
|
8986
|
+
function Ke$1({ apiHandler: e }) {
|
|
9014
8987
|
return {
|
|
9015
8988
|
create({ data: t }) {
|
|
9016
8989
|
return e.post("payout-request-splits", t);
|
|
9017
8990
|
}
|
|
9018
8991
|
};
|
|
9019
8992
|
}
|
|
9020
|
-
function
|
|
8993
|
+
function Ne$1({ apiHandler: e }) {
|
|
9021
8994
|
return {
|
|
9022
8995
|
/**
|
|
9023
8996
|
* @param { rebilly.GetPayoutRequestCollectionRequest } request
|
|
@@ -9084,14 +9057,14 @@ function Le$1({ apiHandler: e }) {
|
|
|
9084
9057
|
}
|
|
9085
9058
|
};
|
|
9086
9059
|
}
|
|
9087
|
-
function
|
|
9060
|
+
function Le$1({ apiHandler: e }) {
|
|
9088
9061
|
return {
|
|
9089
9062
|
create({ data: t }) {
|
|
9090
9063
|
return e.post("payouts", t);
|
|
9091
9064
|
}
|
|
9092
9065
|
};
|
|
9093
9066
|
}
|
|
9094
|
-
function
|
|
9067
|
+
function ze$1({ apiHandler: e }) {
|
|
9095
9068
|
return {
|
|
9096
9069
|
/**
|
|
9097
9070
|
* @param { rebilly.GetPlanCollectionRequest } request
|
|
@@ -9131,7 +9104,7 @@ function Ue$1({ apiHandler: e }) {
|
|
|
9131
9104
|
}
|
|
9132
9105
|
};
|
|
9133
9106
|
}
|
|
9134
|
-
function
|
|
9107
|
+
function Ue$1({ apiHandler: e }) {
|
|
9135
9108
|
return {
|
|
9136
9109
|
order({ data: t }) {
|
|
9137
9110
|
return e.post("previews/orders", t);
|
|
@@ -9144,7 +9117,7 @@ function Ve$1({ apiHandler: e }) {
|
|
|
9144
9117
|
}
|
|
9145
9118
|
};
|
|
9146
9119
|
}
|
|
9147
|
-
function
|
|
9120
|
+
function Ve$1({ apiHandler: e }) {
|
|
9148
9121
|
return {
|
|
9149
9122
|
/**
|
|
9150
9123
|
* @param { rebilly.GetProductCollectionRequest } request
|
|
@@ -9184,7 +9157,7 @@ function Je$1({ apiHandler: e }) {
|
|
|
9184
9157
|
}
|
|
9185
9158
|
};
|
|
9186
9159
|
}
|
|
9187
|
-
function
|
|
9160
|
+
function Je$1({ apiHandler: e }) {
|
|
9188
9161
|
return {
|
|
9189
9162
|
startPermissionsEmulation({ data: t }) {
|
|
9190
9163
|
return e.post("permissions-emulation", t);
|
|
@@ -9237,14 +9210,14 @@ function We$1({ apiHandler: e }) {
|
|
|
9237
9210
|
}
|
|
9238
9211
|
};
|
|
9239
9212
|
}
|
|
9240
|
-
function
|
|
9213
|
+
function We$1({ apiHandler: e }) {
|
|
9241
9214
|
return {
|
|
9242
9215
|
readyToPay({ data: t }) {
|
|
9243
9216
|
return e.post("ready-to-pay", t);
|
|
9244
9217
|
}
|
|
9245
9218
|
};
|
|
9246
9219
|
}
|
|
9247
|
-
function
|
|
9220
|
+
function Ge$1({ apiHandler: e }) {
|
|
9248
9221
|
return {
|
|
9249
9222
|
/**
|
|
9250
9223
|
* @param { rebilly.GetQuoteCollectionRequest } request
|
|
@@ -9334,7 +9307,7 @@ function Ye$1({ apiHandler: e }) {
|
|
|
9334
9307
|
}
|
|
9335
9308
|
};
|
|
9336
9309
|
}
|
|
9337
|
-
function
|
|
9310
|
+
function Ye$1({ apiHandler: e }) {
|
|
9338
9311
|
return {
|
|
9339
9312
|
/**
|
|
9340
9313
|
* @returns { rebilly.GetExternalIdentifierResponsePromise } response
|
|
@@ -9365,7 +9338,7 @@ function Qe$1({ apiHandler: e }) {
|
|
|
9365
9338
|
}
|
|
9366
9339
|
};
|
|
9367
9340
|
}
|
|
9368
|
-
function
|
|
9341
|
+
function Qe$1({ apiHandler: e }) {
|
|
9369
9342
|
return {
|
|
9370
9343
|
/**
|
|
9371
9344
|
* @returns { rebilly.GetRiskScoreRulesResponsePromise } response
|
|
@@ -9393,7 +9366,7 @@ function Xe$1({ apiHandler: e }) {
|
|
|
9393
9366
|
}
|
|
9394
9367
|
};
|
|
9395
9368
|
}
|
|
9396
|
-
function
|
|
9369
|
+
function Xe$1({ apiHandler: e }) {
|
|
9397
9370
|
return {
|
|
9398
9371
|
/**
|
|
9399
9372
|
* @param { rebilly.GetRoleCollectionRequest } request
|
|
@@ -9435,7 +9408,7 @@ function Ze$1({ apiHandler: e }) {
|
|
|
9435
9408
|
}
|
|
9436
9409
|
};
|
|
9437
9410
|
}
|
|
9438
|
-
function
|
|
9411
|
+
function Ze$1({ apiHandler: e }) {
|
|
9439
9412
|
return {
|
|
9440
9413
|
/**
|
|
9441
9414
|
* @returns { rebilly.GetSearchResponsePromise } response
|
|
@@ -9446,7 +9419,7 @@ function _e$1({ apiHandler: e }) {
|
|
|
9446
9419
|
}
|
|
9447
9420
|
};
|
|
9448
9421
|
}
|
|
9449
|
-
function
|
|
9422
|
+
function _e$1({ apiHandler: e }) {
|
|
9450
9423
|
return {
|
|
9451
9424
|
/**
|
|
9452
9425
|
* @param { rebilly.GetGridSegmentCollectionRequest } request
|
|
@@ -9486,7 +9459,7 @@ function He$1({ apiHandler: e }) {
|
|
|
9486
9459
|
}
|
|
9487
9460
|
};
|
|
9488
9461
|
}
|
|
9489
|
-
function
|
|
9462
|
+
function He$1({ apiHandler: e }) {
|
|
9490
9463
|
return {
|
|
9491
9464
|
/**
|
|
9492
9465
|
* @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
|
|
@@ -9496,7 +9469,7 @@ function ts({ apiHandler: e }) {
|
|
|
9496
9469
|
}
|
|
9497
9470
|
};
|
|
9498
9471
|
}
|
|
9499
|
-
function
|
|
9472
|
+
function ts({ apiHandler: e }) {
|
|
9500
9473
|
return {
|
|
9501
9474
|
/**
|
|
9502
9475
|
* @param { rebilly.GetServiceCredentialCollectionRequest } request
|
|
@@ -9547,7 +9520,7 @@ function es({ apiHandler: e }) {
|
|
|
9547
9520
|
}
|
|
9548
9521
|
};
|
|
9549
9522
|
}
|
|
9550
|
-
function
|
|
9523
|
+
function es({ apiHandler: e }) {
|
|
9551
9524
|
return {
|
|
9552
9525
|
/**
|
|
9553
9526
|
* @param { rebilly.GetShippingRateCollectionRequest } request
|
|
@@ -9587,7 +9560,7 @@ function ss({ apiHandler: e }) {
|
|
|
9587
9560
|
}
|
|
9588
9561
|
};
|
|
9589
9562
|
}
|
|
9590
|
-
function
|
|
9563
|
+
function ss({ apiHandler: e }) {
|
|
9591
9564
|
return {
|
|
9592
9565
|
/**
|
|
9593
9566
|
* @returns { rebilly.GetStatusResponsePromise } response
|
|
@@ -9597,7 +9570,7 @@ function rs({ apiHandler: e }) {
|
|
|
9597
9570
|
}
|
|
9598
9571
|
};
|
|
9599
9572
|
}
|
|
9600
|
-
function
|
|
9573
|
+
function rs({ apiHandler: e }) {
|
|
9601
9574
|
return {
|
|
9602
9575
|
/**
|
|
9603
9576
|
* @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
|
|
@@ -9628,7 +9601,7 @@ function ns({ apiHandler: e }) {
|
|
|
9628
9601
|
}
|
|
9629
9602
|
};
|
|
9630
9603
|
}
|
|
9631
|
-
function
|
|
9604
|
+
function ns({ apiHandler: e }) {
|
|
9632
9605
|
return {
|
|
9633
9606
|
/**
|
|
9634
9607
|
* @param { rebilly.GetSubscriptionPauseCollectionRequest } request
|
|
@@ -9662,7 +9635,7 @@ function us({ apiHandler: e }) {
|
|
|
9662
9635
|
}
|
|
9663
9636
|
};
|
|
9664
9637
|
}
|
|
9665
|
-
function
|
|
9638
|
+
function us({ apiHandler: e }) {
|
|
9666
9639
|
return {
|
|
9667
9640
|
/**
|
|
9668
9641
|
* @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
|
|
@@ -9683,7 +9656,7 @@ function os({ apiHandler: e }) {
|
|
|
9683
9656
|
}
|
|
9684
9657
|
};
|
|
9685
9658
|
}
|
|
9686
|
-
function
|
|
9659
|
+
function os({ apiHandler: e }) {
|
|
9687
9660
|
return {
|
|
9688
9661
|
/**
|
|
9689
9662
|
* @param { rebilly.GetSubscriptionCollectionRequest } request
|
|
@@ -9794,7 +9767,7 @@ function ls({ apiHandler: e }) {
|
|
|
9794
9767
|
}
|
|
9795
9768
|
};
|
|
9796
9769
|
}
|
|
9797
|
-
function
|
|
9770
|
+
function ls({ apiHandler: e }) {
|
|
9798
9771
|
return {
|
|
9799
9772
|
/**
|
|
9800
9773
|
* @param { rebilly.GetTagCollectionRequest } request
|
|
@@ -9863,7 +9836,7 @@ function cs({ apiHandler: e }) {
|
|
|
9863
9836
|
}
|
|
9864
9837
|
};
|
|
9865
9838
|
}
|
|
9866
|
-
function
|
|
9839
|
+
function cs({ apiHandler: e }) {
|
|
9867
9840
|
return {
|
|
9868
9841
|
/**
|
|
9869
9842
|
* @param { rebilly.GetTagRuleCollectionRequest } request
|
|
@@ -9903,7 +9876,7 @@ function is({ apiHandler: e }) {
|
|
|
9903
9876
|
}
|
|
9904
9877
|
};
|
|
9905
9878
|
}
|
|
9906
|
-
function
|
|
9879
|
+
function is({ apiHandler: e }) {
|
|
9907
9880
|
return {
|
|
9908
9881
|
/**
|
|
9909
9882
|
* @param { rebilly.GetTrackingApiCollectionRequest } request
|
|
@@ -9985,7 +9958,7 @@ function as({ apiHandler: e }) {
|
|
|
9985
9958
|
}
|
|
9986
9959
|
};
|
|
9987
9960
|
}
|
|
9988
|
-
function
|
|
9961
|
+
function as({ apiHandler: e }) {
|
|
9989
9962
|
return {
|
|
9990
9963
|
/**
|
|
9991
9964
|
* @param { rebilly.GetTransactionCollectionRequest } request
|
|
@@ -10062,7 +10035,7 @@ function gs({ apiHandler: e }) {
|
|
|
10062
10035
|
}
|
|
10063
10036
|
};
|
|
10064
10037
|
}
|
|
10065
|
-
function
|
|
10038
|
+
function gs({ apiHandler: e }) {
|
|
10066
10039
|
return {
|
|
10067
10040
|
/**
|
|
10068
10041
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -10092,7 +10065,7 @@ function ms({ apiHandler: e }) {
|
|
|
10092
10065
|
}
|
|
10093
10066
|
};
|
|
10094
10067
|
}
|
|
10095
|
-
function
|
|
10068
|
+
function ms({ apiHandler: e }) {
|
|
10096
10069
|
return {
|
|
10097
10070
|
/**
|
|
10098
10071
|
* @param { rebilly.GetUserCollectionRequest } request
|
|
@@ -10127,6 +10100,9 @@ function fs({ apiHandler: e }) {
|
|
|
10127
10100
|
update({ id: t, data: s }) {
|
|
10128
10101
|
return e.put(`users/${t}`, s);
|
|
10129
10102
|
},
|
|
10103
|
+
deleteUserMembership({ organizationId: t, userId: s }) {
|
|
10104
|
+
return e.delete(`memberships/${t}/${s}`);
|
|
10105
|
+
},
|
|
10130
10106
|
/**
|
|
10131
10107
|
* @returns { rebilly.GetUserMfaResponsePromise } response
|
|
10132
10108
|
*/
|
|
@@ -10135,7 +10111,7 @@ function fs({ apiHandler: e }) {
|
|
|
10135
10111
|
}
|
|
10136
10112
|
};
|
|
10137
10113
|
}
|
|
10138
|
-
function
|
|
10114
|
+
function fs({ apiHandler: e }) {
|
|
10139
10115
|
return {
|
|
10140
10116
|
/**
|
|
10141
10117
|
* @param { rebilly.GetWebhookCollectionRequest } request
|
|
@@ -10169,7 +10145,7 @@ function ps({ apiHandler: e }) {
|
|
|
10169
10145
|
}
|
|
10170
10146
|
};
|
|
10171
10147
|
}
|
|
10172
|
-
function
|
|
10148
|
+
function ps({ apiHandler: e }) {
|
|
10173
10149
|
return {
|
|
10174
10150
|
/**
|
|
10175
10151
|
* @param { rebilly.GetWebsiteCollectionRequest } request
|
|
@@ -10209,7 +10185,7 @@ function $s({ apiHandler: e }) {
|
|
|
10209
10185
|
}
|
|
10210
10186
|
};
|
|
10211
10187
|
}
|
|
10212
|
-
class
|
|
10188
|
+
class $s {
|
|
10213
10189
|
constructor({ apiHandler: t }) {
|
|
10214
10190
|
this.accountRegistrationSettings = Ft$1({
|
|
10215
10191
|
apiHandler: t
|
|
@@ -10217,18 +10193,18 @@ class hs {
|
|
|
10217
10193
|
apiHandler: t
|
|
10218
10194
|
}), 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({
|
|
10219
10195
|
apiHandler: t
|
|
10220
|
-
}), 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.
|
|
10196
|
+
}), 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({
|
|
10221
10197
|
apiHandler: t
|
|
10222
|
-
}), this.payoutRequestAutoAllocations =
|
|
10198
|
+
}), this.payoutRequestAutoAllocations = Fe$1({
|
|
10223
10199
|
apiHandler: t
|
|
10224
|
-
}), this.payoutRequestBatches =
|
|
10200
|
+
}), 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.resource = Ye$1({ apiHandler: t }), this.riskScoreRules = Qe$1({ apiHandler: t }), this.roles = Xe$1({ apiHandler: t }), this.search = Ze$1({ apiHandler: t }), this.segments = _e$1({ apiHandler: t }), this.sendThroughAttribution = He$1({ apiHandler: t }), this.serviceCredentials = ts({ apiHandler: t }), this.shippingRates = es({ apiHandler: t }), this.status = ss({ apiHandler: t }), this.subscriptionCancellations = rs({
|
|
10225
10201
|
apiHandler: t
|
|
10226
|
-
}), this.subscriptionPauses =
|
|
10202
|
+
}), this.subscriptionPauses = ns({ apiHandler: t }), this.subscriptionReactivations = us({
|
|
10227
10203
|
apiHandler: t
|
|
10228
|
-
}), this.subscriptions =
|
|
10204
|
+
}), this.subscriptions = os({ apiHandler: t }), this.tags = ls({ apiHandler: t }), this.tagsRules = cs({ apiHandler: t }), this.tracking = is({ apiHandler: t }), this.transactions = as({ apiHandler: t }), this.usages = gs({ apiHandler: t }), this.users = ms({ apiHandler: t }), this.webhooks = fs({ apiHandler: t }), this.websites = ps({ 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;
|
|
10229
10205
|
}
|
|
10230
10206
|
}
|
|
10231
|
-
function
|
|
10207
|
+
function hs({ apiHandler: e }) {
|
|
10232
10208
|
return {
|
|
10233
10209
|
/**
|
|
10234
10210
|
* @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
|
|
@@ -10238,7 +10214,7 @@ function ys({ apiHandler: e }) {
|
|
|
10238
10214
|
}
|
|
10239
10215
|
};
|
|
10240
10216
|
}
|
|
10241
|
-
function
|
|
10217
|
+
function ys({ apiHandler: e }) {
|
|
10242
10218
|
return {
|
|
10243
10219
|
/**
|
|
10244
10220
|
* @param { rebilly.GetDataExportCollectionRequest } request
|
|
@@ -10283,7 +10259,7 @@ function As({ apiHandler: e }) {
|
|
|
10283
10259
|
}
|
|
10284
10260
|
};
|
|
10285
10261
|
}
|
|
10286
|
-
function
|
|
10262
|
+
function As({ apiHandler: e }) {
|
|
10287
10263
|
return {
|
|
10288
10264
|
/**
|
|
10289
10265
|
* @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
|
|
@@ -10327,7 +10303,7 @@ function Rs({ apiHandler: e }) {
|
|
|
10327
10303
|
}
|
|
10328
10304
|
};
|
|
10329
10305
|
}
|
|
10330
|
-
function
|
|
10306
|
+
function Rs({ apiHandler: e }) {
|
|
10331
10307
|
return {
|
|
10332
10308
|
/**
|
|
10333
10309
|
* @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
|
|
@@ -10826,7 +10802,7 @@ function bs({ apiHandler: e }) {
|
|
|
10826
10802
|
}
|
|
10827
10803
|
};
|
|
10828
10804
|
}
|
|
10829
|
-
function
|
|
10805
|
+
function bs({ apiHandler: e }) {
|
|
10830
10806
|
return {
|
|
10831
10807
|
/**
|
|
10832
10808
|
* @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
|
|
@@ -10836,7 +10812,7 @@ function ws({ apiHandler: e }) {
|
|
|
10836
10812
|
}
|
|
10837
10813
|
};
|
|
10838
10814
|
}
|
|
10839
|
-
function
|
|
10815
|
+
function ws({ apiHandler: e }) {
|
|
10840
10816
|
return {
|
|
10841
10817
|
getActivityFeed({ eventTypes: t = null, limit: s = 1e3, offset: r = 0 }) {
|
|
10842
10818
|
const n = {
|
|
@@ -10864,7 +10840,7 @@ function ks({ apiHandler: e }) {
|
|
|
10864
10840
|
}
|
|
10865
10841
|
};
|
|
10866
10842
|
}
|
|
10867
|
-
function
|
|
10843
|
+
function ks({ apiHandler: e }) {
|
|
10868
10844
|
return {
|
|
10869
10845
|
query() {
|
|
10870
10846
|
return e.get("location");
|
|
@@ -10872,15 +10848,15 @@ function vs({ apiHandler: e }) {
|
|
|
10872
10848
|
};
|
|
10873
10849
|
}
|
|
10874
10850
|
const b = {
|
|
10875
|
-
CustomersResource:
|
|
10876
|
-
DataExportsResource:
|
|
10877
|
-
HistogramsResource:
|
|
10878
|
-
ReportsResource:
|
|
10879
|
-
SubscriptionsResource:
|
|
10880
|
-
TimelinesResource:
|
|
10881
|
-
LocationResource:
|
|
10851
|
+
CustomersResource: hs,
|
|
10852
|
+
DataExportsResource: ys,
|
|
10853
|
+
HistogramsResource: As,
|
|
10854
|
+
ReportsResource: Rs,
|
|
10855
|
+
SubscriptionsResource: bs,
|
|
10856
|
+
TimelinesResource: ws,
|
|
10857
|
+
LocationResource: ks
|
|
10882
10858
|
};
|
|
10883
|
-
class
|
|
10859
|
+
class vs {
|
|
10884
10860
|
constructor({ apiHandler: t }) {
|
|
10885
10861
|
this.customers = b.CustomersResource({ apiHandler: t }), this.dataExports = b.DataExportsResource({
|
|
10886
10862
|
apiHandler: t
|
|
@@ -10889,7 +10865,7 @@ class qs {
|
|
|
10889
10865
|
}), 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;
|
|
10890
10866
|
}
|
|
10891
10867
|
}
|
|
10892
|
-
function
|
|
10868
|
+
function qs({ apiHandler: e }) {
|
|
10893
10869
|
return {
|
|
10894
10870
|
/**
|
|
10895
10871
|
* @returns { rebilly.StorefrontGetAccountResponsePromise } response
|
|
@@ -10921,7 +10897,7 @@ function ds({ apiHandler: e }) {
|
|
|
10921
10897
|
}
|
|
10922
10898
|
};
|
|
10923
10899
|
}
|
|
10924
|
-
function
|
|
10900
|
+
function ds({ apiHandler: e }) {
|
|
10925
10901
|
return {
|
|
10926
10902
|
login({ data: t }) {
|
|
10927
10903
|
return e.post("login", t);
|
|
@@ -10931,7 +10907,7 @@ function Ts({ apiHandler: e }) {
|
|
|
10931
10907
|
}
|
|
10932
10908
|
};
|
|
10933
10909
|
}
|
|
10934
|
-
function
|
|
10910
|
+
function Ts({ apiHandler: e }) {
|
|
10935
10911
|
return {
|
|
10936
10912
|
/**
|
|
10937
10913
|
* @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
|
|
@@ -10941,7 +10917,7 @@ function Is({ apiHandler: e }) {
|
|
|
10941
10917
|
}
|
|
10942
10918
|
};
|
|
10943
10919
|
}
|
|
10944
|
-
function
|
|
10920
|
+
function Is({ apiHandler: e }) {
|
|
10945
10921
|
return {
|
|
10946
10922
|
/**
|
|
10947
10923
|
* @returns { rebilly.StorefrontGetCashierResponsePromise } response
|
|
@@ -10954,7 +10930,7 @@ function Ss({ apiHandler: e }) {
|
|
|
10954
10930
|
}
|
|
10955
10931
|
};
|
|
10956
10932
|
}
|
|
10957
|
-
function
|
|
10933
|
+
function Ss({ apiHandler: e }) {
|
|
10958
10934
|
return {
|
|
10959
10935
|
/**
|
|
10960
10936
|
* @returns { rebilly.StorefrontGetCheckoutFormResponsePromise } response
|
|
@@ -10964,7 +10940,7 @@ function Es({ apiHandler: e }) {
|
|
|
10964
10940
|
}
|
|
10965
10941
|
};
|
|
10966
10942
|
}
|
|
10967
|
-
function
|
|
10943
|
+
function Es({ apiHandler: e }) {
|
|
10968
10944
|
return {
|
|
10969
10945
|
/**
|
|
10970
10946
|
* @param { rebilly.StorefrontGetCustomFieldCollectionRequest } request
|
|
@@ -10976,7 +10952,7 @@ function xs({ apiHandler: e }) {
|
|
|
10976
10952
|
}
|
|
10977
10953
|
};
|
|
10978
10954
|
}
|
|
10979
|
-
function
|
|
10955
|
+
function xs({ apiHandler: e }) {
|
|
10980
10956
|
return {
|
|
10981
10957
|
/**
|
|
10982
10958
|
* @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
|
|
@@ -10987,14 +10963,14 @@ function Ps({ apiHandler: e }) {
|
|
|
10987
10963
|
}
|
|
10988
10964
|
};
|
|
10989
10965
|
}
|
|
10990
|
-
function
|
|
10966
|
+
function Ps({ apiHandler: e }) {
|
|
10991
10967
|
return {
|
|
10992
10968
|
create({ data: t }) {
|
|
10993
10969
|
return e.post("deposit", t);
|
|
10994
10970
|
}
|
|
10995
10971
|
};
|
|
10996
10972
|
}
|
|
10997
|
-
function
|
|
10973
|
+
function Cs({ apiHandler: e }) {
|
|
10998
10974
|
return {
|
|
10999
10975
|
/**
|
|
11000
10976
|
* @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
|
|
@@ -11004,7 +10980,7 @@ function Ds({ apiHandler: e }) {
|
|
|
11004
10980
|
}
|
|
11005
10981
|
};
|
|
11006
10982
|
}
|
|
11007
|
-
function
|
|
10983
|
+
function Ds({ apiHandler: e }) {
|
|
11008
10984
|
return {
|
|
11009
10985
|
/**
|
|
11010
10986
|
* @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
|
|
@@ -11040,7 +11016,7 @@ function js({ apiHandler: e }) {
|
|
|
11040
11016
|
}
|
|
11041
11017
|
};
|
|
11042
11018
|
}
|
|
11043
|
-
function
|
|
11019
|
+
function js({ apiHandler: e }) {
|
|
11044
11020
|
return {
|
|
11045
11021
|
create({ data: t }) {
|
|
11046
11022
|
return e.post("kyc-documents", t);
|
|
@@ -11056,7 +11032,7 @@ function Ms({ apiHandler: e }) {
|
|
|
11056
11032
|
}
|
|
11057
11033
|
};
|
|
11058
11034
|
}
|
|
11059
|
-
function
|
|
11035
|
+
function Ms({ apiHandler: e }) {
|
|
11060
11036
|
return {
|
|
11061
11037
|
create({ data: t }) {
|
|
11062
11038
|
return e.post("kyc-liveness-sessions", t);
|
|
@@ -11072,7 +11048,7 @@ function Os({ apiHandler: e }) {
|
|
|
11072
11048
|
}
|
|
11073
11049
|
};
|
|
11074
11050
|
}
|
|
11075
|
-
function
|
|
11051
|
+
function Os({ apiHandler: e }) {
|
|
11076
11052
|
return {
|
|
11077
11053
|
/**
|
|
11078
11054
|
* @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
|
|
@@ -11083,7 +11059,7 @@ function Fs({ apiHandler: e }) {
|
|
|
11083
11059
|
}
|
|
11084
11060
|
};
|
|
11085
11061
|
}
|
|
11086
|
-
function
|
|
11062
|
+
function Fs({ apiHandler: e }) {
|
|
11087
11063
|
return {
|
|
11088
11064
|
/**
|
|
11089
11065
|
* @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
|
|
@@ -11125,7 +11101,7 @@ function Bs({ apiHandler: e }) {
|
|
|
11125
11101
|
}
|
|
11126
11102
|
};
|
|
11127
11103
|
}
|
|
11128
|
-
function
|
|
11104
|
+
function Bs({ apiHandler: e }) {
|
|
11129
11105
|
return {
|
|
11130
11106
|
/**
|
|
11131
11107
|
* @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
|
|
@@ -11168,7 +11144,7 @@ function Ks({ apiHandler: e }) {
|
|
|
11168
11144
|
}
|
|
11169
11145
|
};
|
|
11170
11146
|
}
|
|
11171
|
-
function
|
|
11147
|
+
function Ks({ apiHandler: e }) {
|
|
11172
11148
|
return {
|
|
11173
11149
|
/**
|
|
11174
11150
|
* @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
|
|
@@ -11198,7 +11174,7 @@ function Ns({ apiHandler: e }) {
|
|
|
11198
11174
|
}
|
|
11199
11175
|
};
|
|
11200
11176
|
}
|
|
11201
|
-
function
|
|
11177
|
+
function Ns({ apiHandler: e }) {
|
|
11202
11178
|
return {
|
|
11203
11179
|
/**
|
|
11204
11180
|
* @param { rebilly.StorefrontGetPlanCollectionRequest } request
|
|
@@ -11224,7 +11200,7 @@ function Ls({ apiHandler: e }) {
|
|
|
11224
11200
|
}
|
|
11225
11201
|
};
|
|
11226
11202
|
}
|
|
11227
|
-
function
|
|
11203
|
+
function Ls({ apiHandler: e }) {
|
|
11228
11204
|
return {
|
|
11229
11205
|
/**
|
|
11230
11206
|
* @param { rebilly.StorefrontGetProductCollectionRequest } request
|
|
@@ -11248,7 +11224,7 @@ function zs({ apiHandler: e }) {
|
|
|
11248
11224
|
}
|
|
11249
11225
|
};
|
|
11250
11226
|
}
|
|
11251
|
-
function
|
|
11227
|
+
function zs({ apiHandler: e }) {
|
|
11252
11228
|
return {
|
|
11253
11229
|
payment({ data: t }) {
|
|
11254
11230
|
return e.post("payment", t);
|
|
@@ -11264,7 +11240,7 @@ function Us({ apiHandler: e }) {
|
|
|
11264
11240
|
}
|
|
11265
11241
|
};
|
|
11266
11242
|
}
|
|
11267
|
-
function
|
|
11243
|
+
function Us({ apiHandler: e }) {
|
|
11268
11244
|
return {
|
|
11269
11245
|
/**
|
|
11270
11246
|
* @returns { rebilly.StorefrontGetQuoteResponsePromise } response
|
|
@@ -11288,21 +11264,21 @@ function Vs({ apiHandler: e }) {
|
|
|
11288
11264
|
}
|
|
11289
11265
|
};
|
|
11290
11266
|
}
|
|
11291
|
-
function
|
|
11267
|
+
function Vs({ apiHandler: e }) {
|
|
11292
11268
|
return {
|
|
11293
11269
|
readyToPayout({ data: t }) {
|
|
11294
11270
|
return e.post("ready-to-payout", t);
|
|
11295
11271
|
}
|
|
11296
11272
|
};
|
|
11297
11273
|
}
|
|
11298
|
-
function
|
|
11274
|
+
function Js({ apiHandler: e }) {
|
|
11299
11275
|
return {
|
|
11300
11276
|
reactivation({ data: t }) {
|
|
11301
11277
|
return e.post("subscription-reactivations", t);
|
|
11302
11278
|
}
|
|
11303
11279
|
};
|
|
11304
11280
|
}
|
|
11305
|
-
function
|
|
11281
|
+
function Ws({ apiHandler: e }) {
|
|
11306
11282
|
return {
|
|
11307
11283
|
changeItems({ id: t, data: s }) {
|
|
11308
11284
|
return e.post(`subscriptions/${t}/change-items`, s);
|
|
@@ -11312,7 +11288,7 @@ function Gs({ apiHandler: e }) {
|
|
|
11312
11288
|
}
|
|
11313
11289
|
};
|
|
11314
11290
|
}
|
|
11315
|
-
function
|
|
11291
|
+
function Gs({ apiHandler: e }) {
|
|
11316
11292
|
return {
|
|
11317
11293
|
/**
|
|
11318
11294
|
* @param { rebilly.StorefrontGetTransactionCollectionRequest } request
|
|
@@ -11361,7 +11337,7 @@ function Ys({ apiHandler: e }) {
|
|
|
11361
11337
|
}
|
|
11362
11338
|
};
|
|
11363
11339
|
}
|
|
11364
|
-
function
|
|
11340
|
+
function Ys({ apiHandler: e }) {
|
|
11365
11341
|
return {
|
|
11366
11342
|
/**
|
|
11367
11343
|
* @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
|
|
@@ -11371,27 +11347,27 @@ function Qs({ apiHandler: e }) {
|
|
|
11371
11347
|
}
|
|
11372
11348
|
};
|
|
11373
11349
|
}
|
|
11374
|
-
class
|
|
11350
|
+
class Qs {
|
|
11375
11351
|
constructor({ apiHandler: t }) {
|
|
11376
|
-
this.account =
|
|
11352
|
+
this.account = qs({ apiHandler: t }), this.authorization = ds({ apiHandler: t }), this.billingPortals = Ts({ apiHandler: t }), this.cashiers = Is({ apiHandler: t }), this.checkoutForms = Ss({ apiHandler: t }), this.customFields = Es({ apiHandler: t }), this.depositRequests = xs({ apiHandler: t }), this.deposit = Ps({ apiHandler: t }), this.depositStrategies = Cs({ apiHandler: t }), this.invoices = Ds({ apiHandler: t }), this.kycDocuments = js({ apiHandler: t }), this.kycLivenessSessions = Ms({ apiHandler: t }), this.kycRequests = Os({ apiHandler: t }), this.orders = Fs({ apiHandler: t }), this.paymentInstruments = Bs({ apiHandler: t }), this.payoutRequests = Ks({ apiHandler: t }), this.plans = Ns({ apiHandler: t }), this.products = Ls({ apiHandler: t }), this.purchase = zs({ apiHandler: t }), this.quotes = Us({ apiHandler: t }), this.readyToPayout = Vs({ apiHandler: t }), this.subscriptionReactivations = Js({
|
|
11377
11353
|
apiHandler: t
|
|
11378
|
-
}), this.subscriptions =
|
|
11354
|
+
}), this.subscriptions = Ws({ apiHandler: t }), this.transactions = Gs({ apiHandler: t }), this.websites = Ys({ 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;
|
|
11379
11355
|
}
|
|
11380
11356
|
}
|
|
11357
|
+
function Xs({ apiHandler: e }) {
|
|
11358
|
+
return new $s({ apiHandler: e });
|
|
11359
|
+
}
|
|
11381
11360
|
function Zs({ apiHandler: e }) {
|
|
11382
|
-
return new
|
|
11361
|
+
return new vs({ apiHandler: e });
|
|
11383
11362
|
}
|
|
11384
11363
|
function _s({ apiHandler: e }) {
|
|
11385
|
-
return new
|
|
11386
|
-
}
|
|
11387
|
-
function Hs({ apiHandler: e }) {
|
|
11388
|
-
return new Xs({ apiHandler: e });
|
|
11364
|
+
return new Qs({ apiHandler: e });
|
|
11389
11365
|
}
|
|
11390
11366
|
const F$1 = {
|
|
11391
11367
|
live: "https://api.rebilly.com",
|
|
11392
11368
|
sandbox: "https://api-sandbox.rebilly.com"
|
|
11393
11369
|
}, B$1 = 6e3;
|
|
11394
|
-
function
|
|
11370
|
+
function rr({
|
|
11395
11371
|
apiKey: e = null,
|
|
11396
11372
|
sandbox: t = false,
|
|
11397
11373
|
timeout: s = B$1,
|
|
@@ -11417,9 +11393,9 @@ function nr({
|
|
|
11417
11393
|
organizationId: r,
|
|
11418
11394
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11419
11395
|
}, l = O$1({ options: o });
|
|
11420
|
-
return
|
|
11396
|
+
return Xs({ apiHandler: l });
|
|
11421
11397
|
}
|
|
11422
|
-
function
|
|
11398
|
+
function nr({
|
|
11423
11399
|
apiKey: e = null,
|
|
11424
11400
|
sandbox: t = false,
|
|
11425
11401
|
timeout: s = B$1,
|
|
@@ -11445,9 +11421,9 @@ function ur({
|
|
|
11445
11421
|
organizationId: r,
|
|
11446
11422
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11447
11423
|
}, l = O$1({ options: o });
|
|
11448
|
-
return
|
|
11424
|
+
return Zs({ apiHandler: l });
|
|
11449
11425
|
}
|
|
11450
|
-
function
|
|
11426
|
+
function ur({
|
|
11451
11427
|
publishableKey: e = null,
|
|
11452
11428
|
jwt: t = null,
|
|
11453
11429
|
sandbox: s = false,
|
|
@@ -11474,7 +11450,7 @@ function or({
|
|
|
11474
11450
|
organizationId: n,
|
|
11475
11451
|
appName: (o == null ? void 0 : o.appName) ?? null
|
|
11476
11452
|
}, i = O$1({ options: l });
|
|
11477
|
-
return i.setSessionToken(l.jwt),
|
|
11453
|
+
return i.setSessionToken(l.jwt), _s({ apiHandler: i });
|
|
11478
11454
|
}
|
|
11479
11455
|
const TIMEOUT = 6e4;
|
|
11480
11456
|
function validateStateForStorefront() {
|
|
@@ -11515,15 +11491,15 @@ class StorefrontInstance {
|
|
|
11515
11491
|
appName: appName ? `${appName}/instruments` : "instruments"
|
|
11516
11492
|
}
|
|
11517
11493
|
};
|
|
11518
|
-
const api =
|
|
11494
|
+
const api = ur(config);
|
|
11519
11495
|
const rebilly = (
|
|
11520
11496
|
// @ts-expect-error refactor with above todo
|
|
11521
|
-
typeof
|
|
11497
|
+
typeof rr.default === "function" ? (
|
|
11522
11498
|
// @ts-expect-error refactor with above todo
|
|
11523
|
-
|
|
11524
|
-
) :
|
|
11499
|
+
rr.default(config)
|
|
11500
|
+
) : rr(config)
|
|
11525
11501
|
);
|
|
11526
|
-
const experimental =
|
|
11502
|
+
const experimental = nr(config);
|
|
11527
11503
|
api.setSessionToken(publishableKey || jwt);
|
|
11528
11504
|
rebilly.setSessionToken(publishableKey || jwt);
|
|
11529
11505
|
experimental.setSessionToken(publishableKey || jwt);
|
|
@@ -15300,7 +15276,7 @@ function handleComputedProperty(options) {
|
|
|
15300
15276
|
var _a;
|
|
15301
15277
|
return Object.assign({}, options, {
|
|
15302
15278
|
_computed: {
|
|
15303
|
-
version: "16.195.
|
|
15279
|
+
version: "16.195.2",
|
|
15304
15280
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
15305
15281
|
}
|
|
15306
15282
|
});
|
|
@@ -18911,7 +18887,7 @@ async function destroy() {
|
|
|
18911
18887
|
if (state.form instanceof HTMLElement) {
|
|
18912
18888
|
state.form.textContent = "";
|
|
18913
18889
|
}
|
|
18914
|
-
await
|
|
18890
|
+
await sr.cancelAll();
|
|
18915
18891
|
state.loader.clearAll();
|
|
18916
18892
|
}
|
|
18917
18893
|
async function update({ newOptions = {} } = {}) {
|
|
@@ -18952,7 +18928,7 @@ class RebillyInstrumentsInstance {
|
|
|
18952
18928
|
await show({ componentName, payload });
|
|
18953
18929
|
}
|
|
18954
18930
|
get version() {
|
|
18955
|
-
return `RebillyInstruments Ver.${"16.195.
|
|
18931
|
+
return `RebillyInstruments Ver.${"16.195.2"}`;
|
|
18956
18932
|
}
|
|
18957
18933
|
on(eventName, callback) {
|
|
18958
18934
|
on({ eventName, callback });
|