@one-commerce/sdk-backoffice-vue3 1.13.0 → 1.16.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.
@@ -203,6 +203,44 @@ class BackofficeLayout extends BaseCallClass {
203
203
  _defineProperty$2(this, "isAsideOpened", void 0);
204
204
  }
205
205
 
206
+ }
207
+ class BackofficeAuthorization extends BaseCallClass {
208
+ constructor(...args) {
209
+ super(...args);
210
+
211
+ _defineProperty$2(this, "serviceName", 'authorization');
212
+ }
213
+
214
+ getAuthToken() {
215
+ return this.call('getAuthToken');
216
+ }
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
+
230
+ }
231
+ class BackofficePlugin extends BaseCallClass {
232
+ constructor(...args) {
233
+ super(...args);
234
+
235
+ _defineProperty$2(this, "serviceName", 'plugin');
236
+
237
+ _defineProperty$2(this, "id", void 0);
238
+
239
+ _defineProperty$2(this, "srcUrl", void 0);
240
+
241
+ _defineProperty$2(this, "name", void 0);
242
+ }
243
+
206
244
  }
207
245
 
208
246
  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; }
@@ -424,7 +462,10 @@ class BackofficeSdk extends Sdk {
424
462
  catalog: new BackofficeCatalog(this.callFunction.bind(this)),
425
463
  user: new BackofficeUser(this.callFunction.bind(this)),
426
464
  tenant: new BackofficeTenant(this.callFunction.bind(this)),
427
- layout: new BackofficeLayout(this.callFunction.bind(this))
465
+ layout: new BackofficeLayout(this.callFunction.bind(this)),
466
+ authorization: new BackofficeAuthorization(this.callFunction.bind(this)),
467
+ customer: new BackofficeCustomer(this.callFunction.bind(this)),
468
+ plugin: new BackofficePlugin(this.callFunction.bind(this))
428
469
  });
429
470
  }
430
471
 
@@ -462,6 +503,9 @@ var index = {
462
503
  obj.layout.update(payload);
463
504
  obj.catalog.update(payload);
464
505
  obj.orderpath.update(payload);
506
+ obj.authorization.update(payload);
507
+ obj.customer.update(payload);
508
+ obj.plugin.update(payload);
465
509
  };
466
510
 
467
511
  sdk.on(SdkEvents.INIT, function (payload) {