@veloceapps/sdk 3.0.9 → 3.0.10

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.
@@ -1784,8 +1784,8 @@
1784
1784
  switch (params.attributeType) {
1785
1785
  case 'QTY':
1786
1786
  return this.updateQty(rootLineItem, params);
1787
- case 'START_DATE':
1788
- return this.updateStartDate(rootLineItem, params);
1787
+ case 'EFFECTIVE_START_DATE':
1788
+ return this.updateEffectiveStartDate(rootLineItem, params);
1789
1789
  case 'END_DATE':
1790
1790
  return this.updateEndDate(rootLineItem, params);
1791
1791
  case 'PRICE_ADJUSTMENT':
@@ -1813,12 +1813,12 @@
1813
1813
  var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { qty: params.newValue }));
1814
1814
  return updated.li;
1815
1815
  };
1816
- FlowUpdateService.prototype.updateStartDate = function (rootLineItem, params) {
1816
+ FlowUpdateService.prototype.updateEffectiveStartDate = function (rootLineItem, params) {
1817
1817
  var lineItem = findLineItem(params.id, [rootLineItem]);
1818
1818
  if (!lineItem) {
1819
1819
  return rootLineItem;
1820
1820
  }
1821
- var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { effectiveDate: moment__default["default"](params.newValue).format('YYYY-MM-DD') }));
1821
+ var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { effectiveStartDate: moment__default["default"](params.newValue).format('YYYY-MM-DD') }));
1822
1822
  return updated.li;
1823
1823
  };
1824
1824
  FlowUpdateService.prototype.updateEndDate = function (rootLineItem, params) {
@@ -2079,6 +2079,7 @@
2079
2079
  QuoteApiService: i1.QuoteApiService,
2080
2080
  DocumentTemplatesApiService: i1.DocumentTemplatesApiService,
2081
2081
  DocumentAttachmentApiService: i1.DocumentAttachmentApiService,
2082
+ RampApiService: i1.RampApiService,
2082
2083
  },
2083
2084
  '@angular/core': i0__namespace,
2084
2085
  '@angular/forms': angularForms__namespace,