@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.
@@ -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);