@veloceapps/api 3.0.10 → 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.
- package/bundles/veloce-api.umd.js +6 -2
- package/bundles/veloce-api.umd.js.map +1 -1
- package/esm2015/lib/types/dto/charge-item-dto.types.js +4 -2
- package/esm2015/lib/types/dto/line-item-dto.types.js +4 -2
- package/fesm2015/veloce-api.js +6 -2
- package/fesm2015/veloce-api.js.map +1 -1
- package/lib/types/dto/charge-item-dto.types.d.ts +3 -2
- package/lib/types/dto/line-item-dto.types.d.ts +3 -2
- package/package.json +1 -1
@@ -430,7 +430,7 @@
|
|
430
430
|
}());
|
431
431
|
|
432
432
|
var ChargeItemDTO = /** @class */ (function () {
|
433
|
-
function ChargeItemDTO(id, price, unitPrice, baseListPrice, baseListUnitPrice, listPrice, listUnitPrice, netPrice, netUnitPrice, chargeId, chargeType, chargeMethod, priceItemId, startDate, priceWaterfalls, quantity, properties, chargeTypeDisplayValue, arr, frequencyUnit, frequencyDuration, endDate, sellingTerm, currency, unitCost, cost, minUnitPrice, minPrice, enablePriceAdjustment, enableListPriceAdjustment, listPriceAdjustment, priceAdjustment) {
|
433
|
+
function ChargeItemDTO(id, price, unitPrice, baseListPrice, baseListUnitPrice, listPrice, listUnitPrice, netPrice, netUnitPrice, chargeId, chargeType, chargeMethod, priceItemId, startDate, priceWaterfalls, quantity, properties, chargeTypeDisplayValue, arr, frequencyUnit, frequencyDuration, endDate, sellingTerm, currency, unitCost, cost, minUnitPrice, minPrice, enablePriceAdjustment, enableListPriceAdjustment, listPriceAdjustment, priceAdjustment, requiresApprovals) {
|
434
434
|
this.id = id;
|
435
435
|
this.price = price;
|
436
436
|
this.unitPrice = unitPrice;
|
@@ -463,6 +463,7 @@
|
|
463
463
|
this.enableListPriceAdjustment = enableListPriceAdjustment;
|
464
464
|
this.listPriceAdjustment = listPriceAdjustment;
|
465
465
|
this.priceAdjustment = priceAdjustment;
|
466
|
+
this.requiresApprovals = requiresApprovals;
|
466
467
|
}
|
467
468
|
ChargeItemDTO.fromDTO = function (dto) {
|
468
469
|
return {
|
@@ -498,6 +499,7 @@
|
|
498
499
|
enableListPriceAdjustment: dto.enableListPriceAdjustment,
|
499
500
|
listPriceAdjustment: dto.listPriceAdjustment && PriceAdjustmentDTO.fromDTO(dto.listPriceAdjustment),
|
500
501
|
priceAdjustment: dto.priceAdjustment && PriceAdjustmentDTO.fromDTO(dto.priceAdjustment),
|
502
|
+
requiresApprovals: dto.requiresApprovals,
|
501
503
|
};
|
502
504
|
};
|
503
505
|
return ChargeItemDTO;
|
@@ -603,7 +605,7 @@
|
|
603
605
|
}());
|
604
606
|
|
605
607
|
var LineItemDTO = /** @class */ (function () {
|
606
|
-
function LineItemDTO(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, planId, sellingFrequencyUnit, sellingFrequencyDuration, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable) {
|
608
|
+
function LineItemDTO(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, planId, sellingFrequencyUnit, sellingFrequencyDuration, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable, requiresApprovals) {
|
607
609
|
this.id = id;
|
608
610
|
this.activated = activated;
|
609
611
|
this.attributes = attributes;
|
@@ -644,6 +646,7 @@
|
|
644
646
|
this.rampInstanceId = rampInstanceId;
|
645
647
|
this.enableRamp = enableRamp;
|
646
648
|
this.configurable = configurable;
|
649
|
+
this.requiresApprovals = requiresApprovals;
|
647
650
|
}
|
648
651
|
LineItemDTO.fromDTO = function (dto) {
|
649
652
|
return {
|
@@ -687,6 +690,7 @@
|
|
687
690
|
rampInstanceId: dto.rampInstanceId,
|
688
691
|
enableRamp: dto.enableRamp,
|
689
692
|
configurable: dto.configurable,
|
693
|
+
requiresApprovals: dto.requiresApprovals,
|
690
694
|
};
|
691
695
|
};
|
692
696
|
return LineItemDTO;
|