@one-commerce/sdk-backoffice-vue3 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 +16 -0
- 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 +16 -0
- 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
|
@@ -169,6 +169,20 @@ class BackofficeUser extends BaseCallClass {
|
|
|
169
169
|
_defineProperty$2(this, "authorities", void 0);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
}
|
|
173
|
+
class BackofficeTenant extends BaseCallClass {
|
|
174
|
+
constructor(...args) {
|
|
175
|
+
super(...args);
|
|
176
|
+
|
|
177
|
+
_defineProperty$2(this, "serviceName", 'tenant');
|
|
178
|
+
|
|
179
|
+
_defineProperty$2(this, "tenantKey", void 0);
|
|
180
|
+
|
|
181
|
+
_defineProperty$2(this, "language", void 0);
|
|
182
|
+
|
|
183
|
+
_defineProperty$2(this, "currency", void 0);
|
|
184
|
+
}
|
|
185
|
+
|
|
172
186
|
}
|
|
173
187
|
class BackofficeOrderpath extends BaseCallClass {
|
|
174
188
|
constructor(...args) {
|
|
@@ -359,6 +373,7 @@ class BackofficeSdk extends Sdk {
|
|
|
359
373
|
orderpath: new BackofficeOrderpath(this.callFunction.bind(this)),
|
|
360
374
|
catalog: new BackofficeCatalog(this.callFunction.bind(this)),
|
|
361
375
|
user: new BackofficeUser(this.callFunction.bind(this)),
|
|
376
|
+
tenant: new BackofficeTenant(this.callFunction.bind(this)),
|
|
362
377
|
layout: new BackofficeLayout(this.callFunction.bind(this))
|
|
363
378
|
});
|
|
364
379
|
}
|
|
@@ -393,6 +408,7 @@ var index = {
|
|
|
393
408
|
var updateInstances = function updateInstances(payload) {
|
|
394
409
|
obj.route = payload.route;
|
|
395
410
|
obj.user.update(payload);
|
|
411
|
+
obj.tenant.update(payload);
|
|
396
412
|
obj.layout.update(payload);
|
|
397
413
|
obj.catalog.update(payload);
|
|
398
414
|
obj.orderpath.update(payload);
|