@one-commerce/sdk-backoffice-vue3 1.15.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.
- package/lib/bundles/bundle.esm.js +17 -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 +17 -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
|
@@ -227,6 +227,20 @@ class BackofficeCustomer extends BaseCallClass {
|
|
|
227
227
|
_defineProperty$2(this, "name", void 0);
|
|
228
228
|
}
|
|
229
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
|
+
|
|
230
244
|
}
|
|
231
245
|
|
|
232
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; }
|
|
@@ -450,7 +464,8 @@ class BackofficeSdk extends Sdk {
|
|
|
450
464
|
tenant: new BackofficeTenant(this.callFunction.bind(this)),
|
|
451
465
|
layout: new BackofficeLayout(this.callFunction.bind(this)),
|
|
452
466
|
authorization: new BackofficeAuthorization(this.callFunction.bind(this)),
|
|
453
|
-
customer: new BackofficeCustomer(this.callFunction.bind(this))
|
|
467
|
+
customer: new BackofficeCustomer(this.callFunction.bind(this)),
|
|
468
|
+
plugin: new BackofficePlugin(this.callFunction.bind(this))
|
|
454
469
|
});
|
|
455
470
|
}
|
|
456
471
|
|
|
@@ -490,6 +505,7 @@ var index = {
|
|
|
490
505
|
obj.orderpath.update(payload);
|
|
491
506
|
obj.authorization.update(payload);
|
|
492
507
|
obj.customer.update(payload);
|
|
508
|
+
obj.plugin.update(payload);
|
|
493
509
|
};
|
|
494
510
|
|
|
495
511
|
sdk.on(SdkEvents.INIT, function (payload) {
|