@one-commerce/sdk-core 1.19.3-alpha.0 → 1.19.4

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.
@@ -456,15 +456,15 @@ var BackofficeTenant = /*#__PURE__*/function (_BaseCallClass3) {
456
456
 
457
457
  return _createClass(BackofficeTenant);
458
458
  }(BaseCallClass);
459
- var BackofficeOrderpath = /*#__PURE__*/function (_BaseCallClass4) {
460
- _inherits(BackofficeOrderpath, _BaseCallClass4);
459
+ var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass4) {
460
+ _inherits(BackofficeLayout, _BaseCallClass4);
461
461
 
462
- var _super4 = _createSuper(BackofficeOrderpath);
462
+ var _super4 = _createSuper(BackofficeLayout);
463
463
 
464
- function BackofficeOrderpath() {
464
+ function BackofficeLayout() {
465
465
  var _this4;
466
466
 
467
- _classCallCheck(this, BackofficeOrderpath);
467
+ _classCallCheck(this, BackofficeLayout);
468
468
 
469
469
  for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
470
470
  args[_key4] = arguments[_key4];
@@ -472,22 +472,24 @@ var BackofficeOrderpath = /*#__PURE__*/function (_BaseCallClass4) {
472
472
 
473
473
  _this4 = _super4.call.apply(_super4, [this].concat(args));
474
474
 
475
- _defineProperty(_assertThisInitialized(_this4), "serviceName", 'orderpath');
475
+ _defineProperty(_assertThisInitialized(_this4), "serviceName", 'layout');
476
+
477
+ _defineProperty(_assertThisInitialized(_this4), "isAsideOpened", void 0);
476
478
 
477
479
  return _this4;
478
480
  }
479
481
 
480
- return _createClass(BackofficeOrderpath);
482
+ return _createClass(BackofficeLayout);
481
483
  }(BaseCallClass);
482
- var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass5) {
483
- _inherits(BackofficeLayout, _BaseCallClass5);
484
+ var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass5) {
485
+ _inherits(BackofficeAuthorization, _BaseCallClass5);
484
486
 
485
- var _super5 = _createSuper(BackofficeLayout);
487
+ var _super5 = _createSuper(BackofficeAuthorization);
486
488
 
487
- function BackofficeLayout() {
489
+ function BackofficeAuthorization() {
488
490
  var _this5;
489
491
 
490
- _classCallCheck(this, BackofficeLayout);
492
+ _classCallCheck(this, BackofficeAuthorization);
491
493
 
492
494
  for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
493
495
  args[_key5] = arguments[_key5];
@@ -495,36 +497,11 @@ var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass5) {
495
497
 
496
498
  _this5 = _super5.call.apply(_super5, [this].concat(args));
497
499
 
498
- _defineProperty(_assertThisInitialized(_this5), "serviceName", 'layout');
499
-
500
- _defineProperty(_assertThisInitialized(_this5), "isAsideOpened", void 0);
500
+ _defineProperty(_assertThisInitialized(_this5), "serviceName", 'authorization');
501
501
 
502
502
  return _this5;
503
503
  }
504
504
 
505
- return _createClass(BackofficeLayout);
506
- }(BaseCallClass);
507
- var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass6) {
508
- _inherits(BackofficeAuthorization, _BaseCallClass6);
509
-
510
- var _super6 = _createSuper(BackofficeAuthorization);
511
-
512
- function BackofficeAuthorization() {
513
- var _this6;
514
-
515
- _classCallCheck(this, BackofficeAuthorization);
516
-
517
- for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
518
- args[_key6] = arguments[_key6];
519
- }
520
-
521
- _this6 = _super6.call.apply(_super6, [this].concat(args));
522
-
523
- _defineProperty(_assertThisInitialized(_this6), "serviceName", 'authorization');
524
-
525
- return _this6;
526
- }
527
-
528
505
  _createClass(BackofficeAuthorization, [{
529
506
  key: "getAuthToken",
530
507
  value: function getAuthToken() {
@@ -534,58 +511,58 @@ var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass6) {
534
511
 
535
512
  return BackofficeAuthorization;
536
513
  }(BaseCallClass);
537
- var BackofficeCustomer = /*#__PURE__*/function (_BaseCallClass7) {
538
- _inherits(BackofficeCustomer, _BaseCallClass7);
514
+ var BackofficeCustomer = /*#__PURE__*/function (_BaseCallClass6) {
515
+ _inherits(BackofficeCustomer, _BaseCallClass6);
539
516
 
540
- var _super7 = _createSuper(BackofficeCustomer);
517
+ var _super6 = _createSuper(BackofficeCustomer);
541
518
 
542
519
  function BackofficeCustomer() {
543
- var _this7;
520
+ var _this6;
544
521
 
545
522
  _classCallCheck(this, BackofficeCustomer);
546
523
 
547
- for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
548
- args[_key7] = arguments[_key7];
524
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
525
+ args[_key6] = arguments[_key6];
549
526
  }
550
527
 
551
- _this7 = _super7.call.apply(_super7, [this].concat(args));
528
+ _this6 = _super6.call.apply(_super6, [this].concat(args));
552
529
 
553
- _defineProperty(_assertThisInitialized(_this7), "serviceName", 'customer');
530
+ _defineProperty(_assertThisInitialized(_this6), "serviceName", 'customer');
554
531
 
555
- _defineProperty(_assertThisInitialized(_this7), "id", void 0);
532
+ _defineProperty(_assertThisInitialized(_this6), "id", void 0);
556
533
 
557
- _defineProperty(_assertThisInitialized(_this7), "name", void 0);
534
+ _defineProperty(_assertThisInitialized(_this6), "name", void 0);
558
535
 
559
- return _this7;
536
+ return _this6;
560
537
  }
561
538
 
562
539
  return _createClass(BackofficeCustomer);
563
540
  }(BaseCallClass);
564
- var BackofficePlugin = /*#__PURE__*/function (_BaseCallClass8) {
565
- _inherits(BackofficePlugin, _BaseCallClass8);
541
+ var BackofficePlugin = /*#__PURE__*/function (_BaseCallClass7) {
542
+ _inherits(BackofficePlugin, _BaseCallClass7);
566
543
 
567
- var _super8 = _createSuper(BackofficePlugin);
544
+ var _super7 = _createSuper(BackofficePlugin);
568
545
 
569
546
  function BackofficePlugin() {
570
- var _this8;
547
+ var _this7;
571
548
 
572
549
  _classCallCheck(this, BackofficePlugin);
573
550
 
574
- for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
575
- args[_key8] = arguments[_key8];
551
+ for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
552
+ args[_key7] = arguments[_key7];
576
553
  }
577
554
 
578
- _this8 = _super8.call.apply(_super8, [this].concat(args));
555
+ _this7 = _super7.call.apply(_super7, [this].concat(args));
579
556
 
580
- _defineProperty(_assertThisInitialized(_this8), "serviceName", 'plugin');
557
+ _defineProperty(_assertThisInitialized(_this7), "serviceName", 'plugin');
581
558
 
582
- _defineProperty(_assertThisInitialized(_this8), "id", void 0);
559
+ _defineProperty(_assertThisInitialized(_this7), "id", void 0);
583
560
 
584
- _defineProperty(_assertThisInitialized(_this8), "srcUrl", void 0);
561
+ _defineProperty(_assertThisInitialized(_this7), "srcUrl", void 0);
585
562
 
586
- _defineProperty(_assertThisInitialized(_this8), "name", void 0);
563
+ _defineProperty(_assertThisInitialized(_this7), "name", void 0);
587
564
 
588
- return _this8;
565
+ return _this7;
589
566
  }
590
567
 
591
568
  return _createClass(BackofficePlugin);
@@ -673,15 +650,15 @@ var ShopCatalog = /*#__PURE__*/function (_BaseCallClass) {
673
650
 
674
651
  return ShopCatalog;
675
652
  }(BaseCallClass);
676
- var ShopAccount = /*#__PURE__*/function (_BaseCallClass2) {
677
- _inherits(ShopAccount, _BaseCallClass2);
653
+ var ShopWishlist = /*#__PURE__*/function (_BaseCallClass2) {
654
+ _inherits(ShopWishlist, _BaseCallClass2);
678
655
 
679
- var _super2 = _createSuper(ShopAccount);
656
+ var _super2 = _createSuper(ShopWishlist);
680
657
 
681
- function ShopAccount() {
658
+ function ShopWishlist() {
682
659
  var _this2;
683
660
 
684
- _classCallCheck(this, ShopAccount);
661
+ _classCallCheck(this, ShopWishlist);
685
662
 
686
663
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
687
664
  args[_key2] = arguments[_key2];
@@ -689,17 +666,57 @@ var ShopAccount = /*#__PURE__*/function (_BaseCallClass2) {
689
666
 
690
667
  _this2 = _super2.call.apply(_super2, [this].concat(args));
691
668
 
692
- _defineProperty(_assertThisInitialized(_this2), "serviceName", 'account');
669
+ _defineProperty(_assertThisInitialized(_this2), "serviceName", 'wishlist');
693
670
 
694
- _defineProperty(_assertThisInitialized(_this2), "client", void 0);
671
+ return _this2;
672
+ }
695
673
 
696
- _defineProperty(_assertThisInitialized(_this2), "isAuthenticated", void 0);
674
+ _createClass(ShopWishlist, [{
675
+ key: "addProductsToWishlist",
676
+ value: function addProductsToWishlist(wishlistId, newProduct) {
677
+ return this.call('addProductsToWishlist', wishlistId, newProduct);
678
+ }
679
+ }, {
680
+ key: "getWishlists",
681
+ value: function getWishlists() {
682
+ return this.call('getWishlists');
683
+ }
684
+ }, {
685
+ key: "createWishlist",
686
+ value: function createWishlist(name) {
687
+ return this.call('createWishlist', name);
688
+ }
689
+ }]);
697
690
 
698
- _defineProperty(_assertThisInitialized(_this2), "user", void 0);
691
+ return ShopWishlist;
692
+ }(BaseCallClass);
693
+ var ShopAccount = /*#__PURE__*/function (_BaseCallClass3) {
694
+ _inherits(ShopAccount, _BaseCallClass3);
699
695
 
700
- _defineProperty(_assertThisInitialized(_this2), "manager", void 0);
696
+ var _super3 = _createSuper(ShopAccount);
701
697
 
702
- return _this2;
698
+ function ShopAccount() {
699
+ var _this3;
700
+
701
+ _classCallCheck(this, ShopAccount);
702
+
703
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
704
+ args[_key3] = arguments[_key3];
705
+ }
706
+
707
+ _this3 = _super3.call.apply(_super3, [this].concat(args));
708
+
709
+ _defineProperty(_assertThisInitialized(_this3), "serviceName", 'account');
710
+
711
+ _defineProperty(_assertThisInitialized(_this3), "client", void 0);
712
+
713
+ _defineProperty(_assertThisInitialized(_this3), "isAuthenticated", void 0);
714
+
715
+ _defineProperty(_assertThisInitialized(_this3), "user", void 0);
716
+
717
+ _defineProperty(_assertThisInitialized(_this3), "manager", void 0);
718
+
719
+ return _this3;
703
720
  }
704
721
 
705
722
  _createClass(ShopAccount, [{
@@ -715,31 +732,31 @@ var ShopAccount = /*#__PURE__*/function (_BaseCallClass2) {
715
732
 
716
733
  return ShopAccount;
717
734
  }(BaseCallClass);
718
- var ShopCart = /*#__PURE__*/function (_BaseCallClass3) {
719
- _inherits(ShopCart, _BaseCallClass3);
735
+ var ShopCart = /*#__PURE__*/function (_BaseCallClass4) {
736
+ _inherits(ShopCart, _BaseCallClass4);
720
737
 
721
- var _super3 = _createSuper(ShopCart);
738
+ var _super4 = _createSuper(ShopCart);
722
739
 
723
740
  function ShopCart() {
724
- var _this3;
741
+ var _this4;
725
742
 
726
743
  _classCallCheck(this, ShopCart);
727
744
 
728
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
729
- args[_key3] = arguments[_key3];
745
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
746
+ args[_key4] = arguments[_key4];
730
747
  }
731
748
 
732
- _this3 = _super3.call.apply(_super3, [this].concat(args));
749
+ _this4 = _super4.call.apply(_super4, [this].concat(args));
733
750
 
734
- _defineProperty(_assertThisInitialized(_this3), "serviceName", 'cart');
751
+ _defineProperty(_assertThisInitialized(_this4), "serviceName", 'cart');
735
752
 
736
- _defineProperty(_assertThisInitialized(_this3), "carts", void 0);
753
+ _defineProperty(_assertThisInitialized(_this4), "carts", void 0);
737
754
 
738
- _defineProperty(_assertThisInitialized(_this3), "currentCart", void 0);
755
+ _defineProperty(_assertThisInitialized(_this4), "currentCart", void 0);
739
756
 
740
- _defineProperty(_assertThisInitialized(_this3), "totalCartPrice", void 0);
757
+ _defineProperty(_assertThisInitialized(_this4), "totalCartPrice", void 0);
741
758
 
742
- return _this3;
759
+ return _this4;
743
760
  }
744
761
 
745
762
  _createClass(ShopCart, [{
@@ -751,25 +768,25 @@ var ShopCart = /*#__PURE__*/function (_BaseCallClass3) {
751
768
 
752
769
  return ShopCart;
753
770
  }(BaseCallClass);
754
- var ShopAuthorization = /*#__PURE__*/function (_BaseCallClass4) {
755
- _inherits(ShopAuthorization, _BaseCallClass4);
771
+ var ShopAuthorization = /*#__PURE__*/function (_BaseCallClass5) {
772
+ _inherits(ShopAuthorization, _BaseCallClass5);
756
773
 
757
- var _super4 = _createSuper(ShopAuthorization);
774
+ var _super5 = _createSuper(ShopAuthorization);
758
775
 
759
776
  function ShopAuthorization() {
760
- var _this4;
777
+ var _this5;
761
778
 
762
779
  _classCallCheck(this, ShopAuthorization);
763
780
 
764
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
765
- args[_key4] = arguments[_key4];
781
+ for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
782
+ args[_key5] = arguments[_key5];
766
783
  }
767
784
 
768
- _this4 = _super4.call.apply(_super4, [this].concat(args));
785
+ _this5 = _super5.call.apply(_super5, [this].concat(args));
769
786
 
770
- _defineProperty(_assertThisInitialized(_this4), "serviceName", 'authorization');
787
+ _defineProperty(_assertThisInitialized(_this5), "serviceName", 'authorization');
771
788
 
772
- return _this4;
789
+ return _this5;
773
790
  }
774
791
 
775
792
  _createClass(ShopAuthorization, [{
@@ -781,41 +798,41 @@ var ShopAuthorization = /*#__PURE__*/function (_BaseCallClass4) {
781
798
 
782
799
  return ShopAuthorization;
783
800
  }(BaseCallClass);
784
- var ShopUtils = /*#__PURE__*/function (_BaseCallClass5) {
785
- _inherits(ShopUtils, _BaseCallClass5);
801
+ var ShopUtils = /*#__PURE__*/function (_BaseCallClass6) {
802
+ _inherits(ShopUtils, _BaseCallClass6);
786
803
 
787
- var _super5 = _createSuper(ShopUtils);
804
+ var _super6 = _createSuper(ShopUtils);
788
805
 
789
806
  function ShopUtils(call) {
790
- var _this5;
807
+ var _this6;
791
808
 
792
809
  _classCallCheck(this, ShopUtils);
793
810
 
794
- _this5 = _super5.call(this, call);
811
+ _this6 = _super6.call(this, call);
795
812
 
796
- _defineProperty(_assertThisInitialized(_this5), "serviceName", 'utils');
813
+ _defineProperty(_assertThisInitialized(_this6), "serviceName", 'utils');
797
814
 
798
- _defineProperty(_assertThisInitialized(_this5), "currency", void 0);
815
+ _defineProperty(_assertThisInitialized(_this6), "currency", void 0);
799
816
 
800
- _defineProperty(_assertThisInitialized(_this5), "isAnonymousAndPurchaseDisabled", void 0);
817
+ _defineProperty(_assertThisInitialized(_this6), "isAnonymousAndPurchaseDisabled", void 0);
801
818
 
802
- _defineProperty(_assertThisInitialized(_this5), "isB2B", void 0);
819
+ _defineProperty(_assertThisInitialized(_this6), "isB2B", void 0);
803
820
 
804
- _defineProperty(_assertThisInitialized(_this5), "isB2BAndPlatformIsNotOpened", void 0);
821
+ _defineProperty(_assertThisInitialized(_this6), "isB2BAndPlatformIsNotOpened", void 0);
805
822
 
806
- _defineProperty(_assertThisInitialized(_this5), "isIndexPage", void 0);
823
+ _defineProperty(_assertThisInitialized(_this6), "isIndexPage", void 0);
807
824
 
808
- _defineProperty(_assertThisInitialized(_this5), "isPurchaseEnabledOrAuthenticated", void 0);
825
+ _defineProperty(_assertThisInitialized(_this6), "isPurchaseEnabledOrAuthenticated", void 0);
809
826
 
810
- _defineProperty(_assertThisInitialized(_this5), "routes", void 0);
827
+ _defineProperty(_assertThisInitialized(_this6), "routes", void 0);
811
828
 
812
- _this5.routes = {
813
- getCategoryPath: _this5.getCategoryPath,
814
- getManufacturerSearchUrl: _this5.getManufacturerSearchUrl,
815
- getProductUrl: _this5.getProductUrl,
816
- isExternalUrl: _this5.isExternalUrl
829
+ _this6.routes = {
830
+ getCategoryPath: _this6.getCategoryPath,
831
+ getManufacturerSearchUrl: _this6.getManufacturerSearchUrl,
832
+ getProductUrl: _this6.getProductUrl,
833
+ isExternalUrl: _this6.isExternalUrl
817
834
  };
818
- return _this5;
835
+ return _this6;
819
836
  }
820
837
 
821
838
  _createClass(ShopUtils, [{
@@ -842,43 +859,43 @@ var ShopUtils = /*#__PURE__*/function (_BaseCallClass5) {
842
859
 
843
860
  return ShopUtils;
844
861
  }(BaseCallClass);
845
- var ShopConfig = /*#__PURE__*/function (_BaseCallClass6) {
846
- _inherits(ShopConfig, _BaseCallClass6);
862
+ var ShopConfig = /*#__PURE__*/function (_BaseCallClass7) {
863
+ _inherits(ShopConfig, _BaseCallClass7);
847
864
 
848
- var _super6 = _createSuper(ShopConfig);
865
+ var _super7 = _createSuper(ShopConfig);
849
866
 
850
867
  function ShopConfig() {
851
- var _this6;
868
+ var _this7;
852
869
 
853
870
  _classCallCheck(this, ShopConfig);
854
871
 
855
- for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
856
- args[_key5] = arguments[_key5];
872
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
873
+ args[_key6] = arguments[_key6];
857
874
  }
858
875
 
859
- _this6 = _super6.call.apply(_super6, [this].concat(args));
876
+ _this7 = _super7.call.apply(_super7, [this].concat(args));
860
877
 
861
- _defineProperty(_assertThisInitialized(_this6), "serviceName", 'config');
878
+ _defineProperty(_assertThisInitialized(_this7), "serviceName", 'config');
862
879
 
863
- _defineProperty(_assertThisInitialized(_this6), "accessMode", void 0);
880
+ _defineProperty(_assertThisInitialized(_this7), "accessMode", void 0);
864
881
 
865
- _defineProperty(_assertThisInitialized(_this6), "isB2CRegistrationEnabled", void 0);
882
+ _defineProperty(_assertThisInitialized(_this7), "isB2CRegistrationEnabled", void 0);
866
883
 
867
- _defineProperty(_assertThisInitialized(_this6), "isCatalogOpened", void 0);
884
+ _defineProperty(_assertThisInitialized(_this7), "isCatalogOpened", void 0);
868
885
 
869
- _defineProperty(_assertThisInitialized(_this6), "isGrossSelected", void 0);
886
+ _defineProperty(_assertThisInitialized(_this7), "isGrossSelected", void 0);
870
887
 
871
- _defineProperty(_assertThisInitialized(_this6), "isPlatformClosed", void 0);
888
+ _defineProperty(_assertThisInitialized(_this7), "isPlatformClosed", void 0);
872
889
 
873
- _defineProperty(_assertThisInitialized(_this6), "isPlatformOpened", void 0);
890
+ _defineProperty(_assertThisInitialized(_this7), "isPlatformOpened", void 0);
874
891
 
875
- _defineProperty(_assertThisInitialized(_this6), "isPurchaseEnabled", void 0);
892
+ _defineProperty(_assertThisInitialized(_this7), "isPurchaseEnabled", void 0);
876
893
 
877
- _defineProperty(_assertThisInitialized(_this6), "isRegistrationEnabled", void 0);
894
+ _defineProperty(_assertThisInitialized(_this7), "isRegistrationEnabled", void 0);
878
895
 
879
- _defineProperty(_assertThisInitialized(_this6), "currency", void 0);
896
+ _defineProperty(_assertThisInitialized(_this7), "currency", void 0);
880
897
 
881
- return _this6;
898
+ return _this7;
882
899
  }
883
900
 
884
901
  return _createClass(ShopConfig);
@@ -989,7 +1006,11 @@ var Sdk = /*#__PURE__*/function (_Events) {
989
1006
  _createClass(Sdk, [{
990
1007
  key: "initializeContextClass",
991
1008
  value: function initializeContextClass() {
992
- return new this.contextClass(this.callFunction.bind(this));
1009
+ if (this.contextClass) {
1010
+ return new this.contextClass(this.callFunction.bind(this));
1011
+ }
1012
+
1013
+ return {};
993
1014
  }
994
1015
  }, {
995
1016
  key: "initializeServiceGetters",
@@ -1074,11 +1095,15 @@ var Sdk = /*#__PURE__*/function (_Events) {
1074
1095
  method: fun,
1075
1096
  payload: payload
1076
1097
  });
1077
- return new Promise(function (resolve) {
1098
+ return new Promise(function (resolve, reject) {
1078
1099
  var onChannelMessage = function onChannelMessage(response) {
1079
1100
  if (response.callId === callId) {
1080
1101
  _this4.channel.unsubscribe(main.Message.METHOD_RESULT, onChannelMessage);
1081
1102
 
1103
+ if (response !== null && response !== void 0 && response.isException) {
1104
+ return reject(response.result);
1105
+ }
1106
+
1082
1107
  return resolve(response.result);
1083
1108
  }
1084
1109
  };
@@ -1145,7 +1170,6 @@ var BackofficeSdk = /*#__PURE__*/function (_Sdk) {
1145
1170
  hash: '',
1146
1171
  query: {}
1147
1172
  },
1148
- orderpath: new BackofficeOrderpath(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1149
1173
  catalog: new BackofficeCatalog(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1150
1174
  user: new BackofficeUser(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1151
1175
  tenant: new BackofficeTenant(_this5.callFunction.bind(_assertThisInitialized(_this5))),
@@ -1187,7 +1211,8 @@ var ShopSdk = /*#__PURE__*/function (_Sdk2) {
1187
1211
  catalog: new ShopCatalog(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1188
1212
  account: new ShopAccount(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1189
1213
  utils: new ShopUtils(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1190
- config: new ShopConfig(_this6.callFunction.bind(_assertThisInitialized(_this6)))
1214
+ config: new ShopConfig(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1215
+ wishlist: new ShopWishlist(_this6.callFunction.bind(_assertThisInitialized(_this6)))
1191
1216
  });
1192
1217
 
1193
1218
  return _this6;