@one-commerce/sdk-core 1.14.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 +29 -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 +29 -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 +31 -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 +5 -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
|
@@ -463,6 +463,33 @@ var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass6) {
|
|
|
463
463
|
|
|
464
464
|
return BackofficeAuthorization;
|
|
465
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);
|
|
466
493
|
|
|
467
494
|
var Events = /*#__PURE__*/function () {
|
|
468
495
|
function Events() {
|
|
@@ -984,7 +1011,8 @@ var BackofficeSdk = /*#__PURE__*/function (_Sdk) {
|
|
|
984
1011
|
user: new BackofficeUser(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
985
1012
|
tenant: new BackofficeTenant(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
986
1013
|
layout: new BackofficeLayout(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
987
|
-
authorization: new BackofficeAuthorization(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
1014
|
+
authorization: new BackofficeAuthorization(_this5.callFunction.bind(_assertThisInitialized(_this5))),
|
|
1015
|
+
customer: new BackofficeCustomer(_this5.callFunction.bind(_assertThisInitialized(_this5)))
|
|
988
1016
|
});
|
|
989
1017
|
|
|
990
1018
|
return _this5;
|