@veloceapps/api 6.0.0-72 → 6.0.0-73

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.
@@ -1462,6 +1462,23 @@
1462
1462
  body: expression,
1463
1463
  });
1464
1464
  };
1465
+ OffersApiService.prototype.fetchOfferProducts$ = function (id) {
1466
+ return this.baseHttpService
1467
+ .api({
1468
+ url: this.serviceUrl + "/" + id + "/products",
1469
+ })
1470
+ .pipe(rxjs.map(function (response) { return response.products; }));
1471
+ };
1472
+ OffersApiService.prototype.upsertOfferProducts$ = function (id, products) {
1473
+ var request = { products: products };
1474
+ return this.baseHttpService
1475
+ .api({
1476
+ url: this.serviceUrl + "/" + id + "/products",
1477
+ method: 'put',
1478
+ body: request,
1479
+ })
1480
+ .pipe(rxjs.map(function (response) { return response.products; }));
1481
+ };
1465
1482
  return OffersApiService;
1466
1483
  }());
1467
1484
  OffersApiService.MAX_RESULTS = 60;