@one-commerce/sdk-core 1.10.1 → 1.11.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 +45 -15
- 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 +45 -15
- 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 +49 -17
- package/lib/cjs/backofficeServices.js.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/backofficeServices.js +14 -0
- package/lib/esm/backofficeServices.js.map +1 -1
- package/lib/esm/index.js +2 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/types/backofficeServices.d.ts +6 -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
|
@@ -354,15 +354,15 @@ var BackofficeUser = /*#__PURE__*/function (_BaseCallClass2) {
|
|
|
354
354
|
|
|
355
355
|
return _createClass(BackofficeUser);
|
|
356
356
|
}(BaseCallClass);
|
|
357
|
-
var
|
|
358
|
-
_inherits(
|
|
357
|
+
var BackofficeTenant = /*#__PURE__*/function (_BaseCallClass3) {
|
|
358
|
+
_inherits(BackofficeTenant, _BaseCallClass3);
|
|
359
359
|
|
|
360
|
-
var _super3 = _createSuper(
|
|
360
|
+
var _super3 = _createSuper(BackofficeTenant);
|
|
361
361
|
|
|
362
|
-
function
|
|
362
|
+
function BackofficeTenant() {
|
|
363
363
|
var _this3;
|
|
364
364
|
|
|
365
|
-
_classCallCheck(this,
|
|
365
|
+
_classCallCheck(this, BackofficeTenant);
|
|
366
366
|
|
|
367
367
|
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
368
368
|
args[_key3] = arguments[_key3];
|
|
@@ -370,22 +370,28 @@ var BackofficeOrderpath = /*#__PURE__*/function (_BaseCallClass3) {
|
|
|
370
370
|
|
|
371
371
|
_this3 = _super3.call.apply(_super3, [this].concat(args));
|
|
372
372
|
|
|
373
|
-
_defineProperty(_assertThisInitialized(_this3), "serviceName", '
|
|
373
|
+
_defineProperty(_assertThisInitialized(_this3), "serviceName", 'tenant');
|
|
374
|
+
|
|
375
|
+
_defineProperty(_assertThisInitialized(_this3), "tenantKey", void 0);
|
|
376
|
+
|
|
377
|
+
_defineProperty(_assertThisInitialized(_this3), "language", void 0);
|
|
378
|
+
|
|
379
|
+
_defineProperty(_assertThisInitialized(_this3), "currency", void 0);
|
|
374
380
|
|
|
375
381
|
return _this3;
|
|
376
382
|
}
|
|
377
383
|
|
|
378
|
-
return _createClass(
|
|
384
|
+
return _createClass(BackofficeTenant);
|
|
379
385
|
}(BaseCallClass);
|
|
380
|
-
var
|
|
381
|
-
_inherits(
|
|
386
|
+
var BackofficeOrderpath = /*#__PURE__*/function (_BaseCallClass4) {
|
|
387
|
+
_inherits(BackofficeOrderpath, _BaseCallClass4);
|
|
382
388
|
|
|
383
|
-
var _super4 = _createSuper(
|
|
389
|
+
var _super4 = _createSuper(BackofficeOrderpath);
|
|
384
390
|
|
|
385
|
-
function
|
|
391
|
+
function BackofficeOrderpath() {
|
|
386
392
|
var _this4;
|
|
387
393
|
|
|
388
|
-
_classCallCheck(this,
|
|
394
|
+
_classCallCheck(this, BackofficeOrderpath);
|
|
389
395
|
|
|
390
396
|
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
391
397
|
args[_key4] = arguments[_key4];
|
|
@@ -393,13 +399,36 @@ var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass4) {
|
|
|
393
399
|
|
|
394
400
|
_this4 = _super4.call.apply(_super4, [this].concat(args));
|
|
395
401
|
|
|
396
|
-
_defineProperty(_assertThisInitialized(_this4), "serviceName", '
|
|
397
|
-
|
|
398
|
-
_defineProperty(_assertThisInitialized(_this4), "isAsideOpened", void 0);
|
|
402
|
+
_defineProperty(_assertThisInitialized(_this4), "serviceName", 'orderpath');
|
|
399
403
|
|
|
400
404
|
return _this4;
|
|
401
405
|
}
|
|
402
406
|
|
|
407
|
+
return _createClass(BackofficeOrderpath);
|
|
408
|
+
}(BaseCallClass);
|
|
409
|
+
var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass5) {
|
|
410
|
+
_inherits(BackofficeLayout, _BaseCallClass5);
|
|
411
|
+
|
|
412
|
+
var _super5 = _createSuper(BackofficeLayout);
|
|
413
|
+
|
|
414
|
+
function BackofficeLayout() {
|
|
415
|
+
var _this5;
|
|
416
|
+
|
|
417
|
+
_classCallCheck(this, BackofficeLayout);
|
|
418
|
+
|
|
419
|
+
for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
420
|
+
args[_key5] = arguments[_key5];
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
_this5 = _super5.call.apply(_super5, [this].concat(args));
|
|
424
|
+
|
|
425
|
+
_defineProperty(_assertThisInitialized(_this5), "serviceName", 'layout');
|
|
426
|
+
|
|
427
|
+
_defineProperty(_assertThisInitialized(_this5), "isAsideOpened", void 0);
|
|
428
|
+
|
|
429
|
+
return _this5;
|
|
430
|
+
}
|
|
431
|
+
|
|
403
432
|
return _createClass(BackofficeLayout);
|
|
404
433
|
}(BaseCallClass);
|
|
405
434
|
|
|
@@ -867,6 +896,7 @@ var BackofficeSdk = /*#__PURE__*/function (_Sdk) {
|
|
|
867
896
|
orderpath: new BackofficeOrderpath(_this4.callFunction.bind(_assertThisInitialized(_this4))),
|
|
868
897
|
catalog: new BackofficeCatalog(_this4.callFunction.bind(_assertThisInitialized(_this4))),
|
|
869
898
|
user: new BackofficeUser(_this4.callFunction.bind(_assertThisInitialized(_this4))),
|
|
899
|
+
tenant: new BackofficeTenant(_this4.callFunction.bind(_assertThisInitialized(_this4))),
|
|
870
900
|
layout: new BackofficeLayout(_this4.callFunction.bind(_assertThisInitialized(_this4)))
|
|
871
901
|
});
|
|
872
902
|
|