@veloceapps/sdk 3.0.9 → 3.0.11

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.
@@ -1240,6 +1240,20 @@
1240
1240
  ConfigurationService.prototype.getRuntimeContext = function () {
1241
1241
  return this.runtimeService.runtimeContext;
1242
1242
  };
1243
+ Object.defineProperty(ConfigurationService.prototype, "contextSnapshot", {
1244
+ get: function () {
1245
+ return this.contextService.resolve();
1246
+ },
1247
+ enumerable: false,
1248
+ configurable: true
1249
+ });
1250
+ Object.defineProperty(ConfigurationService.prototype, "context$", {
1251
+ get: function () {
1252
+ return this.contextService.resolve$();
1253
+ },
1254
+ enumerable: false,
1255
+ configurable: true
1256
+ });
1243
1257
  Object.defineProperty(ConfigurationService.prototype, "charges$", {
1244
1258
  get: function () {
1245
1259
  return this.charges.asObservable();
@@ -1784,8 +1798,8 @@
1784
1798
  switch (params.attributeType) {
1785
1799
  case 'QTY':
1786
1800
  return this.updateQty(rootLineItem, params);
1787
- case 'START_DATE':
1788
- return this.updateStartDate(rootLineItem, params);
1801
+ case 'EFFECTIVE_START_DATE':
1802
+ return this.updateEffectiveStartDate(rootLineItem, params);
1789
1803
  case 'END_DATE':
1790
1804
  return this.updateEndDate(rootLineItem, params);
1791
1805
  case 'PRICE_ADJUSTMENT':
@@ -1813,12 +1827,12 @@
1813
1827
  var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { qty: params.newValue }));
1814
1828
  return updated.li;
1815
1829
  };
1816
- FlowUpdateService.prototype.updateStartDate = function (rootLineItem, params) {
1830
+ FlowUpdateService.prototype.updateEffectiveStartDate = function (rootLineItem, params) {
1817
1831
  var lineItem = findLineItem(params.id, [rootLineItem]);
1818
1832
  if (!lineItem) {
1819
1833
  return rootLineItem;
1820
1834
  }
1821
- var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { effectiveDate: moment__default["default"](params.newValue).format('YYYY-MM-DD') }));
1835
+ var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { effectiveStartDate: moment__default["default"](params.newValue).format('YYYY-MM-DD') }));
1822
1836
  return updated.li;
1823
1837
  };
1824
1838
  FlowUpdateService.prototype.updateEndDate = function (rootLineItem, params) {
@@ -2079,6 +2093,7 @@
2079
2093
  QuoteApiService: i1.QuoteApiService,
2080
2094
  DocumentTemplatesApiService: i1.DocumentTemplatesApiService,
2081
2095
  DocumentAttachmentApiService: i1.DocumentAttachmentApiService,
2096
+ RampApiService: i1.RampApiService,
2082
2097
  },
2083
2098
  '@angular/core': i0__namespace,
2084
2099
  '@angular/forms': angularForms__namespace,