@one-commerce/sdk-core 1.13.0 → 1.14.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/lib/bundles/bundle.esm.js +32 -1
- package/lib/bundles/bundle.esm.js.map +1 -1
- package/lib/bundles/bundle.esm.min.js +1 -1
- package/lib/bundles/bundle.esm.min.js.map +1 -1
- package/lib/bundles/bundle.umd.js +32 -1
- package/lib/bundles/bundle.umd.js.map +1 -1
- package/lib/bundles/bundle.umd.min.js +1 -1
- package/lib/bundles/bundle.umd.min.js.map +1 -1
- package/lib/cjs/backofficeServices.js +34 -1
- package/lib/cjs/backofficeServices.js.map +1 -1
- package/lib/cjs/index.js +2 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/backofficeServices.js +12 -0
- package/lib/esm/backofficeServices.js.map +1 -1
- package/lib/esm/index.js +3 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/types/backofficeServices.d.ts +4 -0
- package/lib/types/backofficeServices.d.ts.map +1 -1
- package/lib/types/index.d.ts +3 -1
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -433,6 +433,36 @@ var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass5) {
|
|
|
433
433
|
|
|
434
434
|
return _createClass(BackofficeLayout);
|
|
435
435
|
}(BaseCallClass);
|
|
436
|
+
var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass6) {
|
|
437
|
+
_inherits(BackofficeAuthorization, _BaseCallClass6);
|
|
438
|
+
|
|
439
|
+
var _super6 = _createSuper(BackofficeAuthorization);
|
|
440
|
+
|
|
441
|
+
function BackofficeAuthorization() {
|
|
442
|
+
var _this6;
|
|
443
|
+
|
|
444
|
+
_classCallCheck(this, BackofficeAuthorization);
|
|
445
|
+
|
|
446
|
+
for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
447
|
+
args[_key6] = arguments[_key6];
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
_this6 = _super6.call.apply(_super6, [this].concat(args));
|
|
451
|
+
|
|
452
|
+
_defineProperty(_assertThisInitialized(_this6), "serviceName", 'authorization');
|
|
453
|
+
|
|
454
|
+
return _this6;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
_createClass(BackofficeAuthorization, [{
|
|
458
|
+
key: "getAuthToken",
|
|
459
|
+
value: function getAuthToken() {
|
|
460
|
+
return this.call('getAuthToken');
|
|
461
|
+
}
|
|
462
|
+
}]);
|
|
463
|
+
|
|
464
|
+
return BackofficeAuthorization;
|
|
465
|
+
}(BaseCallClass);
|
|
436
466
|
|
|
437
467
|
var Events = /*#__PURE__*/function () {
|
|
438
468
|
function Events() {
|
|
@@ -953,7 +983,8 @@ var BackofficeSdk = /*#__PURE__*/function (_Sdk) {
|
|
|
953
983
|
catalog: new BackofficeCatalog(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
954
984
|
user: new BackofficeUser(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
955
985
|
tenant: new BackofficeTenant(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
956
|
-
layout: new BackofficeLayout(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
986
|
+
layout: new BackofficeLayout(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
987
|
+
authorization: new BackofficeAuthorization(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
957
988
|
});
|
|
958
989
|
|
|
959
990
|
return _this5;
|