@rebilly/instruments 8.41.1 → 8.42.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 +37 -2
- package/dist/index.min.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.42.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.41.1...instruments/core-v8.42.0) (2024-02-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **rebilly-js-sdk:** Add RichBillingPortals resource ([#3267](https://github.com/Rebilly/rebilly/issues/3267)) ([fa2b178](https://github.com/Rebilly/rebilly/commit/fa2b1789551f87f74c6a07d3bbc4e40e21f5081a))
|
|
7
|
+
|
|
1
8
|
## [8.41.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.41.0...instruments/core-v8.41.1) (2024-02-05)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -8015,6 +8015,29 @@ function ResourceResource({ apiHandler }) {
|
|
|
8015
8015
|
}
|
|
8016
8016
|
};
|
|
8017
8017
|
}
|
|
8018
|
+
function RichBillingPortalsResource$1({ apiHandler }) {
|
|
8019
|
+
return {
|
|
8020
|
+
getAll({
|
|
8021
|
+
filter: filter2 = null,
|
|
8022
|
+
sort = null,
|
|
8023
|
+
limit = null,
|
|
8024
|
+
offset = null,
|
|
8025
|
+
q = null
|
|
8026
|
+
} = {}) {
|
|
8027
|
+
const params = { filter: filter2, sort, limit, offset, q };
|
|
8028
|
+
return apiHandler.getAll(`rich-billing-portals`, params);
|
|
8029
|
+
},
|
|
8030
|
+
create({ id: id2 = "", data }) {
|
|
8031
|
+
return apiHandler.create(`rich-billing-portals/${id2}`, id2, data);
|
|
8032
|
+
},
|
|
8033
|
+
get({ id: id2 }) {
|
|
8034
|
+
return apiHandler.get(`rich-billing-portals/${id2}`);
|
|
8035
|
+
},
|
|
8036
|
+
update({ id: id2, data }) {
|
|
8037
|
+
return apiHandler.put(`rich-billing-portals/${id2}`, data);
|
|
8038
|
+
}
|
|
8039
|
+
};
|
|
8040
|
+
}
|
|
8018
8041
|
function RiskScoreRulesResource({ apiHandler }) {
|
|
8019
8042
|
return {
|
|
8020
8043
|
getAll() {
|
|
@@ -8666,6 +8689,7 @@ class ApiInstance {
|
|
|
8666
8689
|
this.purchase = PurchaseResource$1({ apiHandler });
|
|
8667
8690
|
this.quotes = QuotesResource$1({ apiHandler });
|
|
8668
8691
|
this.resource = ResourceResource({ apiHandler });
|
|
8692
|
+
this.richBillingPortals = RichBillingPortalsResource$1({ apiHandler });
|
|
8669
8693
|
this.riskScoreRules = RiskScoreRulesResource({ apiHandler });
|
|
8670
8694
|
this.roles = RolesResource({ apiHandler });
|
|
8671
8695
|
this.search = SearchResource({ apiHandler });
|
|
@@ -9303,6 +9327,9 @@ function OrdersResource({ apiHandler }) {
|
|
|
9303
9327
|
const params = { filter: filter2, sort, limit, offset, q };
|
|
9304
9328
|
return apiHandler.getAll(`orders`, params);
|
|
9305
9329
|
},
|
|
9330
|
+
create({ data }) {
|
|
9331
|
+
return apiHandler.post(`orders`, data);
|
|
9332
|
+
},
|
|
9306
9333
|
get({ id: id2 }) {
|
|
9307
9334
|
return apiHandler.get(`orders/${id2}`);
|
|
9308
9335
|
},
|
|
@@ -9450,6 +9477,13 @@ function ReadyToPayoutResource({ apiHandler }) {
|
|
|
9450
9477
|
}
|
|
9451
9478
|
};
|
|
9452
9479
|
}
|
|
9480
|
+
function RichBillingPortalsResource({ apiHandler }) {
|
|
9481
|
+
return {
|
|
9482
|
+
get({ id: id2 }) {
|
|
9483
|
+
return apiHandler.get(`rich-billing-portals/${id2}`);
|
|
9484
|
+
}
|
|
9485
|
+
};
|
|
9486
|
+
}
|
|
9453
9487
|
function TransactionsResource({ apiHandler }) {
|
|
9454
9488
|
return {
|
|
9455
9489
|
getAll({
|
|
@@ -9505,6 +9539,7 @@ class StorefrontApiInstance {
|
|
|
9505
9539
|
this.purchase = PurchaseResource({ apiHandler });
|
|
9506
9540
|
this.quotes = QuotesResource({ apiHandler });
|
|
9507
9541
|
this.readyToPayout = ReadyToPayoutResource({ apiHandler });
|
|
9542
|
+
this.richBillingPortals = RichBillingPortalsResource({ apiHandler });
|
|
9508
9543
|
this.transactions = TransactionsResource({ apiHandler });
|
|
9509
9544
|
this.websites = WebsitesResource({ apiHandler });
|
|
9510
9545
|
this.checkoutForm = this.checkoutForms;
|
|
@@ -23400,7 +23435,7 @@ function handleComputedProperty(options) {
|
|
|
23400
23435
|
var _a;
|
|
23401
23436
|
return Object.assign({}, options, {
|
|
23402
23437
|
_computed: {
|
|
23403
|
-
version: "8.41.
|
|
23438
|
+
version: "8.41.1",
|
|
23404
23439
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
23405
23440
|
}
|
|
23406
23441
|
});
|
|
@@ -26736,7 +26771,7 @@ class RebillyInstrumentsInstance {
|
|
|
26736
26771
|
await show({ componentName, payload });
|
|
26737
26772
|
}
|
|
26738
26773
|
get version() {
|
|
26739
|
-
return `RebillyInstruments Ver.${"8.41.
|
|
26774
|
+
return `RebillyInstruments Ver.${"8.41.1"}`;
|
|
26740
26775
|
}
|
|
26741
26776
|
on(eventName, callback) {
|
|
26742
26777
|
on({ eventName, callback });
|