@veloceapps/api 4.0.13 → 4.0.15

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.
@@ -681,7 +681,7 @@
681
681
  }());
682
682
 
683
683
  var ChargeGroupItemDTO = /** @class */ (function () {
684
- function ChargeGroupItemDTO(chargeType, chargeMethod, properties, id, chargeTypeDisplayValue, frequencyUnit, frequencyDuration, currency, sellingTerm, netPrice, listPrice, netUnitPrice, listUnitPrice, cost, priceAdjustment, priceWaterfalls, enablePriceAdjustment) {
684
+ function ChargeGroupItemDTO(chargeType, chargeMethod, properties, id, chargeTypeDisplayValue, frequencyUnit, frequencyDuration, basePrice, currency, sellingTerm, netPrice, listPrice, netUnitPrice, listUnitPrice, cost, priceAdjustment, priceWaterfalls, priceAdjustmentEnabled, listPriceAdjustmentEnabled) {
685
685
  this.chargeType = chargeType;
686
686
  this.chargeMethod = chargeMethod;
687
687
  this.properties = properties;
@@ -689,6 +689,7 @@
689
689
  this.chargeTypeDisplayValue = chargeTypeDisplayValue;
690
690
  this.frequencyUnit = frequencyUnit;
691
691
  this.frequencyDuration = frequencyDuration;
692
+ this.basePrice = basePrice;
692
693
  this.currency = currency;
693
694
  this.sellingTerm = sellingTerm;
694
695
  this.netPrice = netPrice;
@@ -698,7 +699,8 @@
698
699
  this.cost = cost;
699
700
  this.priceAdjustment = priceAdjustment;
700
701
  this.priceWaterfalls = priceWaterfalls;
701
- this.enablePriceAdjustment = enablePriceAdjustment;
702
+ this.priceAdjustmentEnabled = priceAdjustmentEnabled;
703
+ this.listPriceAdjustmentEnabled = listPriceAdjustmentEnabled;
702
704
  }
703
705
  ChargeGroupItemDTO.fromDTO = function (dto) {
704
706
  var _a;
@@ -709,6 +711,7 @@
709
711
  chargeMethod: dto.chargeMethod,
710
712
  frequencyUnit: dto.frequencyUnit,
711
713
  frequencyDuration: dto.frequencyDuration,
714
+ basePrice: dto.basePrice,
712
715
  currency: dto.currency,
713
716
  sellingTerm: dto.sellingTerm,
714
717
  netPrice: dto.netPrice,
@@ -718,7 +721,8 @@
718
721
  cost: dto.cost,
719
722
  priceAdjustment: dto.priceAdjustment && PriceAdjustmentDTO.fromDTO(dto.priceAdjustment),
720
723
  priceWaterfalls: (_a = dto.priceWaterfalls) === null || _a === void 0 ? void 0 : _a.map(PriceAdjustmentDTO.fromDTO),
721
- enablePriceAdjustment: dto.enablePriceAdjustment,
724
+ priceAdjustmentEnabled: dto.priceAdjustmentEnabled,
725
+ listPriceAdjustmentEnabled: dto.listPriceAdjustmentEnabled,
722
726
  properties: dto.properties,
723
727
  };
724
728
  };