@one-commerce/sdk-backoffice-vue3 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 +15 -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 +15 -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/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -215,6 +215,18 @@ class BackofficeAuthorization extends BaseCallClass {
|
|
|
215
215
|
return this.call('getAuthToken');
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
}
|
|
219
|
+
class BackofficeCustomer extends BaseCallClass {
|
|
220
|
+
constructor(...args) {
|
|
221
|
+
super(...args);
|
|
222
|
+
|
|
223
|
+
_defineProperty$2(this, "serviceName", 'customer');
|
|
224
|
+
|
|
225
|
+
_defineProperty$2(this, "id", void 0);
|
|
226
|
+
|
|
227
|
+
_defineProperty$2(this, "name", void 0);
|
|
228
|
+
}
|
|
229
|
+
|
|
218
230
|
}
|
|
219
231
|
|
|
220
232
|
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -437,7 +449,8 @@ class BackofficeSdk extends Sdk {
|
|
|
437
449
|
user: new BackofficeUser(this.callFunction.bind(this)),
|
|
438
450
|
tenant: new BackofficeTenant(this.callFunction.bind(this)),
|
|
439
451
|
layout: new BackofficeLayout(this.callFunction.bind(this)),
|
|
440
|
-
authorization: new BackofficeAuthorization(this.callFunction.bind(this))
|
|
452
|
+
authorization: new BackofficeAuthorization(this.callFunction.bind(this)),
|
|
453
|
+
customer: new BackofficeCustomer(this.callFunction.bind(this))
|
|
441
454
|
});
|
|
442
455
|
}
|
|
443
456
|
|
|
@@ -476,6 +489,7 @@ var index = {
|
|
|
476
489
|
obj.catalog.update(payload);
|
|
477
490
|
obj.orderpath.update(payload);
|
|
478
491
|
obj.authorization.update(payload);
|
|
492
|
+
obj.customer.update(payload);
|
|
479
493
|
};
|
|
480
494
|
|
|
481
495
|
sdk.on(SdkEvents.INIT, function (payload) {
|