@veloceapps/api 6.0.0-88 → 6.0.0-89

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.
@@ -1416,8 +1416,8 @@
1416
1416
  type: i0.Injectable
1417
1417
  }], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
1418
1418
 
1419
- var GuidedSellingsApiService = /** @class */ (function () {
1420
- function GuidedSellingsApiService(baseHttpService) {
1419
+ var GuidedSellingsAdminApiService = /** @class */ (function () {
1420
+ function GuidedSellingsAdminApiService(baseHttpService) {
1421
1421
  var _this = this;
1422
1422
  this.baseHttpService = baseHttpService;
1423
1423
  this.serviceUrl = '/guided-sellings';
@@ -1470,12 +1470,35 @@
1470
1470
  });
1471
1471
  };
1472
1472
  }
1473
- return GuidedSellingsApiService;
1473
+ return GuidedSellingsAdminApiService;
1474
1474
  }());
1475
- GuidedSellingsApiService.MAX_RESULTS = 60;
1476
- GuidedSellingsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1477
- GuidedSellingsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsApiService });
1478
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsApiService, decorators: [{
1475
+ GuidedSellingsAdminApiService.MAX_RESULTS = 60;
1476
+ GuidedSellingsAdminApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsAdminApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1477
+ GuidedSellingsAdminApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsAdminApiService });
1478
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingsAdminApiService, decorators: [{
1479
+ type: i0.Injectable
1480
+ }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
1481
+
1482
+ var GuidedSellingApiService = /** @class */ (function () {
1483
+ function GuidedSellingApiService(http) {
1484
+ this.http = http;
1485
+ this.serviceUrl = '/guided-selling';
1486
+ }
1487
+ GuidedSellingApiService.prototype.searchByName$ = function (name, searchParams) {
1488
+ var params = new i4.HttpParams({ fromObject: Object.assign({}, searchParams) });
1489
+ var expression = new i1.Expression(undefined, [{ key: 'name', operator: i1.Operator.EQ, value: name }]);
1490
+ return this.http.api({
1491
+ method: 'post',
1492
+ url: this.serviceUrl + "/search",
1493
+ params: params,
1494
+ body: expression || {},
1495
+ });
1496
+ };
1497
+ return GuidedSellingApiService;
1498
+ }());
1499
+ GuidedSellingApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1500
+ GuidedSellingApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingApiService });
1501
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GuidedSellingApiService, decorators: [{
1479
1502
  type: i0.Injectable
1480
1503
  }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
1481
1504
 
@@ -2758,10 +2781,11 @@
2758
2781
  RulesApiService,
2759
2782
  RuleGroupsApiService,
2760
2783
  FlowsApiService,
2761
- GuidedSellingsApiService,
2784
+ GuidedSellingsAdminApiService,
2762
2785
  ShoppingCartSettingsApiService,
2763
2786
  ProductApiService,
2764
2787
  CatalogAdminApiService,
2788
+ GuidedSellingApiService,
2765
2789
  CatalogApiService,
2766
2790
  DeltaApiService,
2767
2791
  AccountApiService,
@@ -2793,10 +2817,11 @@
2793
2817
  RulesApiService,
2794
2818
  RuleGroupsApiService,
2795
2819
  FlowsApiService,
2796
- GuidedSellingsApiService,
2820
+ GuidedSellingsAdminApiService,
2797
2821
  ShoppingCartSettingsApiService,
2798
2822
  ProductApiService,
2799
2823
  CatalogAdminApiService,
2824
+ GuidedSellingApiService,
2800
2825
  CatalogApiService,
2801
2826
  DeltaApiService,
2802
2827
  AccountApiService,
@@ -2824,7 +2849,8 @@
2824
2849
  exports.DocumentTemplatesApiService = DocumentTemplatesApiService;
2825
2850
  exports.EndpointsApiService = EndpointsApiService;
2826
2851
  exports.FlowsApiService = FlowsApiService;
2827
- exports.GuidedSellingsApiService = GuidedSellingsApiService;
2852
+ exports.GuidedSellingApiService = GuidedSellingApiService;
2853
+ exports.GuidedSellingsAdminApiService = GuidedSellingsAdminApiService;
2828
2854
  exports.OffersApiService = OffersApiService;
2829
2855
  exports.OrgInfoApiService = OrgInfoApiService;
2830
2856
  exports.PicklistsApiService = PicklistsApiService;