@veloceapps/api 6.0.0-93 → 6.0.0-95
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/bundles/veloceapps-api.umd.js +5 -5
- package/bundles/veloceapps-api.umd.js.map +1 -1
- package/esm2015/lib/services/guided-sellings-admin-api.service.js +6 -7
- package/fesm2015/veloceapps-api.js +5 -5
- package/fesm2015/veloceapps-api.js.map +1 -1
- package/lib/services/guided-sellings-admin-api.service.d.ts +1 -0
- package/package.json +1 -1
@@ -1420,14 +1420,11 @@
|
|
1420
1420
|
function GuidedSellingsAdminApiService(baseHttpService) {
|
1421
1421
|
var _this = this;
|
1422
1422
|
this.baseHttpService = baseHttpService;
|
1423
|
-
this.serviceUrl = '/guided-
|
1423
|
+
this.serviceUrl = '/admin/guided-selling';
|
1424
1424
|
this.fetchGuidedSellings$ = function (searchParams) {
|
1425
|
-
|
1426
|
-
return rxjs.of([{ id: '1', name: 'test', description: 'test', configurationJson: '[]' }]);
|
1427
|
-
// return this.baseHttpService.api({ url: `${this.serviceUrl}`, params });
|
1425
|
+
return _this.searchGuidedSellings$(searchParams);
|
1428
1426
|
};
|
1429
1427
|
this.searchGuidedSellings$ = function (searchParams, expression) {
|
1430
|
-
return rxjs.of([{ id: '1', name: 'test', description: 'test', configurationJson: '[]' }]);
|
1431
1428
|
var params = new i4.HttpParams({ fromObject: Object.assign({}, searchParams) });
|
1432
1429
|
return _this.baseHttpService.api({
|
1433
1430
|
method: 'post',
|
@@ -1436,6 +1433,9 @@
|
|
1436
1433
|
body: expression || {},
|
1437
1434
|
});
|
1438
1435
|
};
|
1436
|
+
this.fetchGuidedSelling$ = function (id) {
|
1437
|
+
return _this.baseHttpService.api({ url: _this.serviceUrl + "/" + id });
|
1438
|
+
};
|
1439
1439
|
this.createNewGuidedSelling$ = function (guidedSelling) {
|
1440
1440
|
return _this.baseHttpService.api({
|
1441
1441
|
url: "" + _this.serviceUrl,
|