@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.
@@ -379,15 +379,15 @@
379
379
 
380
380
  return AddToCartContext;
381
381
  }(ContextCallClass);
382
- var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass2) {
383
- _inherits(EditProductLinesOnCartContext, _ContextCallClass2);
382
+ var DocumentsContext = /*#__PURE__*/function (_ContextCallClass2) {
383
+ _inherits(DocumentsContext, _ContextCallClass2);
384
384
 
385
- var _super2 = _createSuper(EditProductLinesOnCartContext);
385
+ var _super2 = _createSuper(DocumentsContext);
386
386
 
387
- function EditProductLinesOnCartContext() {
387
+ function DocumentsContext() {
388
388
  var _this2;
389
389
 
390
- _classCallCheck(this, EditProductLinesOnCartContext);
390
+ _classCallCheck(this, DocumentsContext);
391
391
 
392
392
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
393
393
  args[_key2] = arguments[_key2];
@@ -395,27 +395,72 @@
395
395
 
396
396
  _this2 = _super2.call.apply(_super2, [this].concat(args));
397
397
 
398
- _defineProperty(_assertThisInitialized(_this2), "productId", void 0);
398
+ _defineProperty(_assertThisInitialized(_this2), "orderDetails", void 0);
399
399
 
400
- _defineProperty(_assertThisInitialized(_this2), "cartId", void 0);
400
+ _defineProperty(_assertThisInitialized(_this2), "invoiceDetails", void 0);
401
401
 
402
- _defineProperty(_assertThisInitialized(_this2), "offerId", void 0);
402
+ _defineProperty(_assertThisInitialized(_this2), "selectedInvoices", void 0);
403
403
 
404
- _defineProperty(_assertThisInitialized(_this2), "warehouses", void 0);
404
+ _defineProperty(_assertThisInitialized(_this2), "clientContextId", void 0);
405
405
 
406
- _defineProperty(_assertThisInitialized(_this2), "warehouseId", void 0);
406
+ _defineProperty(_assertThisInitialized(_this2), "operatorId", void 0);
407
407
 
408
408
  _defineProperty(_assertThisInitialized(_this2), "meta", void 0);
409
409
 
410
- _defineProperty(_assertThisInitialized(_this2), "productLineId", void 0);
410
+ return _this2;
411
+ }
411
412
 
412
- _defineProperty(_assertThisInitialized(_this2), "productLines", void 0);
413
+ _createClass(DocumentsContext, [{
414
+ key: "closePlugin",
415
+ value: function closePlugin() {
416
+ return this.call('closePlugin');
417
+ }
418
+ }, {
419
+ key: "closePluginAndRefreshView",
420
+ value: function closePluginAndRefreshView() {
421
+ return this.call('closePluginAndRefreshView');
422
+ }
423
+ }]);
413
424
 
414
- _defineProperty(_assertThisInitialized(_this2), "pluginProductLines", void 0);
425
+ return DocumentsContext;
426
+ }(ContextCallClass);
427
+ var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass3) {
428
+ _inherits(EditProductLinesOnCartContext, _ContextCallClass3);
415
429
 
416
- _defineProperty(_assertThisInitialized(_this2), "productAmount", void 0);
430
+ var _super3 = _createSuper(EditProductLinesOnCartContext);
417
431
 
418
- return _this2;
432
+ function EditProductLinesOnCartContext() {
433
+ var _this3;
434
+
435
+ _classCallCheck(this, EditProductLinesOnCartContext);
436
+
437
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
438
+ args[_key3] = arguments[_key3];
439
+ }
440
+
441
+ _this3 = _super3.call.apply(_super3, [this].concat(args));
442
+
443
+ _defineProperty(_assertThisInitialized(_this3), "productId", void 0);
444
+
445
+ _defineProperty(_assertThisInitialized(_this3), "cartId", void 0);
446
+
447
+ _defineProperty(_assertThisInitialized(_this3), "offerId", void 0);
448
+
449
+ _defineProperty(_assertThisInitialized(_this3), "warehouses", void 0);
450
+
451
+ _defineProperty(_assertThisInitialized(_this3), "warehouseId", void 0);
452
+
453
+ _defineProperty(_assertThisInitialized(_this3), "meta", void 0);
454
+
455
+ _defineProperty(_assertThisInitialized(_this3), "productLineId", void 0);
456
+
457
+ _defineProperty(_assertThisInitialized(_this3), "productLines", void 0);
458
+
459
+ _defineProperty(_assertThisInitialized(_this3), "pluginProductLines", void 0);
460
+
461
+ _defineProperty(_assertThisInitialized(_this3), "productAmount", void 0);
462
+
463
+ return _this3;
419
464
  }
420
465
 
421
466
  _createClass(EditProductLinesOnCartContext, [{
@@ -1535,6 +1580,7 @@
1535
1580
  }(Sdk);
1536
1581
 
1537
1582
  exports.BackofficeAddToCartContext = AddToCartContext$1;
1583
+ exports.BackofficeDocumentsContext = DocumentsContext;
1538
1584
  exports.BackofficeEditProductLinesOnCartContext = EditProductLinesOnCartContext$1;
1539
1585
  exports.BackofficeSdk = BackofficeSdk;
1540
1586
  exports.ShopAddToCartContext = AddToCartContext;