@one-commerce/sdk-backoffice-vue3 1.14.0 → 1.17.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.
@@ -215,6 +215,32 @@ 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
+
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
+
218
244
  }
219
245
 
220
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; }
@@ -437,7 +463,9 @@ class BackofficeSdk extends Sdk {
437
463
  user: new BackofficeUser(this.callFunction.bind(this)),
438
464
  tenant: new BackofficeTenant(this.callFunction.bind(this)),
439
465
  layout: new BackofficeLayout(this.callFunction.bind(this)),
440
- authorization: new BackofficeAuthorization(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))
441
469
  });
442
470
  }
443
471
 
@@ -476,6 +504,8 @@ var index = {
476
504
  obj.catalog.update(payload);
477
505
  obj.orderpath.update(payload);
478
506
  obj.authorization.update(payload);
507
+ obj.customer.update(payload);
508
+ obj.plugin.update(payload);
479
509
  };
480
510
 
481
511
  sdk.on(SdkEvents.INIT, function (payload) {