@one-commerce/sdk-core 1.12.1-alpha.0 → 1.15.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 +60 -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 +60 -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 +64 -1
- package/lib/cjs/backofficeServices.js.map +1 -1
- package/lib/cjs/index.js +3 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/backofficeServices.js +24 -0
- package/lib/esm/backofficeServices.js.map +1 -1
- package/lib/esm/index.js +4 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/types/backofficeServices.d.ts +9 -0
- package/lib/types/backofficeServices.d.ts.map +1 -1
- package/lib/types/index.d.ts +5 -1
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -433,6 +433,63 @@ 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);
|
|
466
|
+
var BackofficeCustomer = /*#__PURE__*/function (_BaseCallClass7) {
|
|
467
|
+
_inherits(BackofficeCustomer, _BaseCallClass7);
|
|
468
|
+
|
|
469
|
+
var _super7 = _createSuper(BackofficeCustomer);
|
|
470
|
+
|
|
471
|
+
function BackofficeCustomer() {
|
|
472
|
+
var _this7;
|
|
473
|
+
|
|
474
|
+
_classCallCheck(this, BackofficeCustomer);
|
|
475
|
+
|
|
476
|
+
for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
477
|
+
args[_key7] = arguments[_key7];
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
_this7 = _super7.call.apply(_super7, [this].concat(args));
|
|
481
|
+
|
|
482
|
+
_defineProperty(_assertThisInitialized(_this7), "serviceName", 'customer');
|
|
483
|
+
|
|
484
|
+
_defineProperty(_assertThisInitialized(_this7), "id", void 0);
|
|
485
|
+
|
|
486
|
+
_defineProperty(_assertThisInitialized(_this7), "name", void 0);
|
|
487
|
+
|
|
488
|
+
return _this7;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
return _createClass(BackofficeCustomer);
|
|
492
|
+
}(BaseCallClass);
|
|
436
493
|
|
|
437
494
|
var Events = /*#__PURE__*/function () {
|
|
438
495
|
function Events() {
|
|
@@ -953,7 +1010,9 @@ var BackofficeSdk = /*#__PURE__*/function (_Sdk) {
|
|
|
953
1010
|
catalog: new BackofficeCatalog(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
954
1011
|
user: new BackofficeUser(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
955
1012
|
tenant: new BackofficeTenant(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
956
|
-
layout: new BackofficeLayout(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
1013
|
+
layout: new BackofficeLayout(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
1014
|
+
authorization: new BackofficeAuthorization(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
1015
|
+
customer: new BackofficeCustomer(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
957
1016
|
});
|
|
958
1017
|
|
|
959
1018
|
return _this5;
|