@one-commerce/sdk-core 2.3.1 → 2.3.3

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.
@@ -373,15 +373,15 @@ var AddToCartContext$1 = /*#__PURE__*/function (_ContextCallClass) {
373
373
 
374
374
  return AddToCartContext;
375
375
  }(ContextCallClass);
376
- var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass2) {
377
- _inherits(EditProductLinesOnCartContext, _ContextCallClass2);
376
+ var DocumentsContext = /*#__PURE__*/function (_ContextCallClass2) {
377
+ _inherits(DocumentsContext, _ContextCallClass2);
378
378
 
379
- var _super2 = _createSuper(EditProductLinesOnCartContext);
379
+ var _super2 = _createSuper(DocumentsContext);
380
380
 
381
- function EditProductLinesOnCartContext() {
381
+ function DocumentsContext() {
382
382
  var _this2;
383
383
 
384
- _classCallCheck(this, EditProductLinesOnCartContext);
384
+ _classCallCheck(this, DocumentsContext);
385
385
 
386
386
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
387
387
  args[_key2] = arguments[_key2];
@@ -389,27 +389,72 @@ var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass2)
389
389
 
390
390
  _this2 = _super2.call.apply(_super2, [this].concat(args));
391
391
 
392
- _defineProperty(_assertThisInitialized(_this2), "productId", void 0);
392
+ _defineProperty(_assertThisInitialized(_this2), "orderDetails", void 0);
393
393
 
394
- _defineProperty(_assertThisInitialized(_this2), "cartId", void 0);
394
+ _defineProperty(_assertThisInitialized(_this2), "invoiceDetails", void 0);
395
395
 
396
- _defineProperty(_assertThisInitialized(_this2), "offerId", void 0);
396
+ _defineProperty(_assertThisInitialized(_this2), "selectedInvoices", void 0);
397
397
 
398
- _defineProperty(_assertThisInitialized(_this2), "warehouses", void 0);
398
+ _defineProperty(_assertThisInitialized(_this2), "clientContextId", void 0);
399
399
 
400
- _defineProperty(_assertThisInitialized(_this2), "warehouseId", void 0);
400
+ _defineProperty(_assertThisInitialized(_this2), "operatorId", void 0);
401
401
 
402
402
  _defineProperty(_assertThisInitialized(_this2), "meta", void 0);
403
403
 
404
- _defineProperty(_assertThisInitialized(_this2), "productLineId", void 0);
404
+ return _this2;
405
+ }
405
406
 
406
- _defineProperty(_assertThisInitialized(_this2), "productLines", void 0);
407
+ _createClass(DocumentsContext, [{
408
+ key: "closePlugin",
409
+ value: function closePlugin() {
410
+ return this.call('closePlugin');
411
+ }
412
+ }, {
413
+ key: "closePluginAndRefreshView",
414
+ value: function closePluginAndRefreshView() {
415
+ return this.call('closePluginAndRefreshView');
416
+ }
417
+ }]);
407
418
 
408
- _defineProperty(_assertThisInitialized(_this2), "pluginProductLines", void 0);
419
+ return DocumentsContext;
420
+ }(ContextCallClass);
421
+ var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass3) {
422
+ _inherits(EditProductLinesOnCartContext, _ContextCallClass3);
409
423
 
410
- _defineProperty(_assertThisInitialized(_this2), "productAmount", void 0);
424
+ var _super3 = _createSuper(EditProductLinesOnCartContext);
411
425
 
412
- return _this2;
426
+ function EditProductLinesOnCartContext() {
427
+ var _this3;
428
+
429
+ _classCallCheck(this, EditProductLinesOnCartContext);
430
+
431
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
432
+ args[_key3] = arguments[_key3];
433
+ }
434
+
435
+ _this3 = _super3.call.apply(_super3, [this].concat(args));
436
+
437
+ _defineProperty(_assertThisInitialized(_this3), "productId", void 0);
438
+
439
+ _defineProperty(_assertThisInitialized(_this3), "cartId", void 0);
440
+
441
+ _defineProperty(_assertThisInitialized(_this3), "offerId", void 0);
442
+
443
+ _defineProperty(_assertThisInitialized(_this3), "warehouses", void 0);
444
+
445
+ _defineProperty(_assertThisInitialized(_this3), "warehouseId", void 0);
446
+
447
+ _defineProperty(_assertThisInitialized(_this3), "meta", void 0);
448
+
449
+ _defineProperty(_assertThisInitialized(_this3), "productLineId", void 0);
450
+
451
+ _defineProperty(_assertThisInitialized(_this3), "productLines", void 0);
452
+
453
+ _defineProperty(_assertThisInitialized(_this3), "pluginProductLines", void 0);
454
+
455
+ _defineProperty(_assertThisInitialized(_this3), "productAmount", void 0);
456
+
457
+ return _this3;
413
458
  }
414
459
 
415
460
  _createClass(EditProductLinesOnCartContext, [{
@@ -1528,5 +1573,5 @@ var ShopSdk = /*#__PURE__*/function (_Sdk2) {
1528
1573
  return _createClass(ShopSdk);
1529
1574
  }(Sdk);
1530
1575
 
1531
- export { AddToCartContext$1 as BackofficeAddToCartContext, EditProductLinesOnCartContext$1 as BackofficeEditProductLinesOnCartContext, BackofficeSdk, SdkEvents, AddToCartContext as ShopAddToCartContext, EditProductLinesOnCartContext as ShopEditProductLinesOnCartContext, ShopSdk };
1576
+ export { AddToCartContext$1 as BackofficeAddToCartContext, DocumentsContext as BackofficeDocumentsContext, EditProductLinesOnCartContext$1 as BackofficeEditProductLinesOnCartContext, BackofficeSdk, SdkEvents, AddToCartContext as ShopAddToCartContext, EditProductLinesOnCartContext as ShopEditProductLinesOnCartContext, ShopSdk };
1532
1577
  //# sourceMappingURL=bundle.esm.js.map