@veloceapps/api 3.1.15 → 3.1.16

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.
@@ -1209,9 +1209,14 @@
1209
1209
  this.httpService = httpService;
1210
1210
  this.SERVICE_URL = '/delta';
1211
1211
  }
1212
- DeltaApiService.prototype.calculate$ = function (request, options) {
1212
+ DeltaApiService.prototype.calculate$ = function (request) {
1213
1213
  return this.httpService
1214
- .api(Object.assign({ method: 'post', url: this.SERVICE_URL + "/calculate", body: request }, options))
1214
+ .api({
1215
+ method: 'post',
1216
+ url: this.SERVICE_URL + "/calculate",
1217
+ body: request,
1218
+ skipErrorHandler: true,
1219
+ })
1215
1220
  .pipe(rxjs.map(function (dtos) { return dtos.map(function (dto) { return LineItemDTO.fromDTO(dto); }); }));
1216
1221
  };
1217
1222
  return DeltaApiService;
@@ -1695,8 +1700,13 @@
1695
1700
  this.httpService = httpService;
1696
1701
  this.SERVICE_URL = '/price';
1697
1702
  }
1698
- PriceApiService.prototype.calculate = function (request, options) {
1699
- return this.httpService.api(Object.assign({ method: 'post', url: this.SERVICE_URL + "/calculate", body: request }, options));
1703
+ PriceApiService.prototype.calculate = function (request) {
1704
+ return this.httpService.api({
1705
+ method: 'post',
1706
+ url: this.SERVICE_URL + "/calculate",
1707
+ body: request,
1708
+ skipErrorHandler: true,
1709
+ });
1700
1710
  };
1701
1711
  PriceApiService.prototype.getPriceLists = function () {
1702
1712
  return this.httpService.api({