@veloceapps/sdk 2.0.18 → 2.0.19

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.
@@ -1373,7 +1373,7 @@
1373
1373
  }
1374
1374
  QuoteService.prototype.init = function (quoteId, params) {
1375
1375
  var _this = this;
1376
- return rxjs.zip(this.quoteApiService.getQuote(quoteId, params), this.priceApiService.getPriceLists(), this.contextService.resolve$().pipe(rxjsOperators.filter(Boolean), rxjsOperators.map(function (context) { return context; }))).pipe(rxjsOperators.tap(function (_a) {
1376
+ return rxjs.zip(this.quoteApiService.getQuoteDraft(quoteId, params), this.priceApiService.getPriceLists(), this.contextService.resolve$().pipe(rxjsOperators.filter(Boolean), rxjsOperators.map(function (context) { return context; }))).pipe(rxjsOperators.tap(function (_a) {
1377
1377
  var _b = __read(_a, 3), quote = _b[0], priceLists = _b[1], configurationContext = _b[2];
1378
1378
  _this.quote.next(quote);
1379
1379
  _this.priceLists = priceLists;
@@ -1413,7 +1413,6 @@
1413
1413
  type: i0.Injectable,
1414
1414
  args: [{ providedIn: 'root' }]
1415
1415
  }], ctorParameters: function () { return [{ type: ContextService }, { type: i1__namespace.QuoteApiService }, { type: i1__namespace.PriceApiService }]; } });
1416
- "";
1417
1416
 
1418
1417
  var ShoppingCartService = /** @class */ (function () {
1419
1418
  function ShoppingCartService(priceApiService, contextService, quoteService) {
@@ -3076,7 +3075,7 @@
3076
3075
  this.runtimeService = runtimeService;
3077
3076
  }
3078
3077
  VlQuoteDirective.prototype.getQuote = function (quoteId) {
3079
- return this.quoteApiService.getQuote(quoteId).toPromise();
3078
+ return this.quoteApiService.getQuoteDraft(quoteId).toPromise();
3080
3079
  };
3081
3080
  VlQuoteDirective.prototype.upsertQuote = function (quoteDraft) {
3082
3081
  return this.quoteApiService.upsertQuote(quoteDraft).toPromise();