@rebilly/instruments 8.50.1 → 8.51.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/CHANGELOG.md +7 -0
- package/dist/index.js +17 -38
- package/dist/index.min.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.51.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.50.1...instruments/core-v8.51.0) (2024-02-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **rebilly-js-sdk:** update resources ([#3631](https://github.com/Rebilly/rebilly/issues/3631)) ([cffd19d](https://github.com/Rebilly/rebilly/commit/cffd19da041e4e37ac3cdf1e9a3622a2c4005b8d))
|
|
7
|
+
|
|
1
8
|
## [8.50.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.50.0...instruments/core-v8.50.1) (2024-02-19)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -5996,7 +5996,7 @@ function cloneArrayDeep(val, instanceClone) {
|
|
|
5996
5996
|
return res;
|
|
5997
5997
|
}
|
|
5998
5998
|
var cloneDeep_1 = cloneDeep;
|
|
5999
|
-
const version = "55.23.
|
|
5999
|
+
const version = "55.23.1";
|
|
6000
6000
|
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
6001
6001
|
let nanoid = (size2 = 21) => {
|
|
6002
6002
|
let id2 = "";
|
|
@@ -7814,6 +7814,9 @@ function PayoutRequestsResource$1({ apiHandler }) {
|
|
|
7814
7814
|
update({ id: id2, data }) {
|
|
7815
7815
|
return apiHandler.put(`payout-requests/${id2}`, data);
|
|
7816
7816
|
},
|
|
7817
|
+
cancel({ id: id2, data }) {
|
|
7818
|
+
return apiHandler.post(`payout-requests/${id2}/cancel`, data);
|
|
7819
|
+
},
|
|
7817
7820
|
getPaymentInstruments({ id: id2 }) {
|
|
7818
7821
|
return apiHandler.get(`payout-requests/${id2}/payment-instruments`);
|
|
7819
7822
|
}
|
|
@@ -8017,29 +8020,6 @@ function ResourceResource({ apiHandler }) {
|
|
|
8017
8020
|
}
|
|
8018
8021
|
};
|
|
8019
8022
|
}
|
|
8020
|
-
function RichBillingPortalsResource$1({ apiHandler }) {
|
|
8021
|
-
return {
|
|
8022
|
-
getAll({
|
|
8023
|
-
filter: filter2 = null,
|
|
8024
|
-
sort = null,
|
|
8025
|
-
limit = null,
|
|
8026
|
-
offset = null,
|
|
8027
|
-
q: q2 = null
|
|
8028
|
-
} = {}) {
|
|
8029
|
-
const params = { filter: filter2, sort, limit, offset, q: q2 };
|
|
8030
|
-
return apiHandler.getAll(`rich-billing-portals`, params);
|
|
8031
|
-
},
|
|
8032
|
-
create({ id: id2 = "", data }) {
|
|
8033
|
-
return apiHandler.create(`rich-billing-portals/${id2}`, id2, data);
|
|
8034
|
-
},
|
|
8035
|
-
get({ id: id2 }) {
|
|
8036
|
-
return apiHandler.get(`rich-billing-portals/${id2}`);
|
|
8037
|
-
},
|
|
8038
|
-
update({ id: id2, data }) {
|
|
8039
|
-
return apiHandler.put(`rich-billing-portals/${id2}`, data);
|
|
8040
|
-
}
|
|
8041
|
-
};
|
|
8042
|
-
}
|
|
8043
8023
|
function RiskScoreRulesResource({ apiHandler }) {
|
|
8044
8024
|
return {
|
|
8045
8025
|
getAll() {
|
|
@@ -8283,8 +8263,9 @@ function SubscriptionsResource$2({ apiHandler }) {
|
|
|
8283
8263
|
void({ id: id2 }) {
|
|
8284
8264
|
return apiHandler.post(`subscriptions/${id2}/void`);
|
|
8285
8265
|
},
|
|
8286
|
-
changeItems({ id: id2, data }) {
|
|
8287
|
-
|
|
8266
|
+
changeItems({ id: id2, data, expand = null }) {
|
|
8267
|
+
const params = { expand };
|
|
8268
|
+
return apiHandler.post(`subscriptions/${id2}/change-items`, data, params);
|
|
8288
8269
|
},
|
|
8289
8270
|
updateItem({ id: id2, itemId, data }) {
|
|
8290
8271
|
return apiHandler.patch(`subscriptions/${id2}/items/${itemId}`, data);
|
|
@@ -8691,7 +8672,6 @@ class ApiInstance {
|
|
|
8691
8672
|
this.purchase = PurchaseResource$1({ apiHandler });
|
|
8692
8673
|
this.quotes = QuotesResource$1({ apiHandler });
|
|
8693
8674
|
this.resource = ResourceResource({ apiHandler });
|
|
8694
|
-
this.richBillingPortals = RichBillingPortalsResource$1({ apiHandler });
|
|
8695
8675
|
this.riskScoreRules = RiskScoreRulesResource({ apiHandler });
|
|
8696
8676
|
this.roles = RolesResource({ apiHandler });
|
|
8697
8677
|
this.search = SearchResource({ apiHandler });
|
|
@@ -9251,6 +9231,13 @@ function DepositStrategiesResource({ apiHandler }) {
|
|
|
9251
9231
|
}
|
|
9252
9232
|
};
|
|
9253
9233
|
}
|
|
9234
|
+
function ExperimentalResource({ apiHandler }) {
|
|
9235
|
+
return {
|
|
9236
|
+
get({ slug }) {
|
|
9237
|
+
return apiHandler.get(`experimental/billing-portals/${slug}`);
|
|
9238
|
+
}
|
|
9239
|
+
};
|
|
9240
|
+
}
|
|
9254
9241
|
function InvoicesResource({ apiHandler }) {
|
|
9255
9242
|
return {
|
|
9256
9243
|
getAll({
|
|
@@ -9478,14 +9465,6 @@ function ReadyToPayoutResource({ apiHandler }) {
|
|
|
9478
9465
|
}
|
|
9479
9466
|
};
|
|
9480
9467
|
}
|
|
9481
|
-
function RichBillingPortalsResource({ apiHandler }) {
|
|
9482
|
-
return {
|
|
9483
|
-
get({ id: id2, expand = null }) {
|
|
9484
|
-
const params = { expand };
|
|
9485
|
-
return apiHandler.get(`rich-billing-portals/${id2}`, params);
|
|
9486
|
-
}
|
|
9487
|
-
};
|
|
9488
|
-
}
|
|
9489
9468
|
function SubscriptionsResource({ apiHandler }) {
|
|
9490
9469
|
return {
|
|
9491
9470
|
changeItems({ id: id2, data }) {
|
|
@@ -9539,6 +9518,7 @@ class StorefrontApiInstance {
|
|
|
9539
9518
|
this.depositRequests = DepositRequestsResource({ apiHandler });
|
|
9540
9519
|
this.deposit = DepositResource({ apiHandler });
|
|
9541
9520
|
this.depositStrategies = DepositStrategiesResource({ apiHandler });
|
|
9521
|
+
this.experimental = ExperimentalResource({ apiHandler });
|
|
9542
9522
|
this.invoices = InvoicesResource({ apiHandler });
|
|
9543
9523
|
this.kycDocuments = KycDocumentsResource({ apiHandler });
|
|
9544
9524
|
this.kycLivenessSessions = KycLivenessSessionsResource({ apiHandler });
|
|
@@ -9551,7 +9531,6 @@ class StorefrontApiInstance {
|
|
|
9551
9531
|
this.purchase = PurchaseResource({ apiHandler });
|
|
9552
9532
|
this.quotes = QuotesResource({ apiHandler });
|
|
9553
9533
|
this.readyToPayout = ReadyToPayoutResource({ apiHandler });
|
|
9554
|
-
this.richBillingPortals = RichBillingPortalsResource({ apiHandler });
|
|
9555
9534
|
this.subscriptions = SubscriptionsResource({ apiHandler });
|
|
9556
9535
|
this.transactions = TransactionsResource({ apiHandler });
|
|
9557
9536
|
this.websites = WebsitesResource({ apiHandler });
|
|
@@ -23727,7 +23706,7 @@ function handleComputedProperty(options) {
|
|
|
23727
23706
|
var _a;
|
|
23728
23707
|
return Object.assign({}, options, {
|
|
23729
23708
|
_computed: {
|
|
23730
|
-
version: "8.50.
|
|
23709
|
+
version: "8.50.1",
|
|
23731
23710
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
23732
23711
|
}
|
|
23733
23712
|
});
|
|
@@ -27067,7 +27046,7 @@ class RebillyInstrumentsInstance {
|
|
|
27067
27046
|
await show({ componentName, payload });
|
|
27068
27047
|
}
|
|
27069
27048
|
get version() {
|
|
27070
|
-
return `RebillyInstruments Ver.${"8.50.
|
|
27049
|
+
return `RebillyInstruments Ver.${"8.50.1"}`;
|
|
27071
27050
|
}
|
|
27072
27051
|
on(eventName, callback) {
|
|
27073
27052
|
on({ eventName, callback });
|