@veloceapps/api 3.1.8 → 3.1.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.
- package/bundles/veloce-api.umd.js +14 -2
- package/bundles/veloce-api.umd.js.map +1 -1
- package/esm2015/lib/services/product-api.service.js +10 -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 +14 -2
- package/fesm2015/veloce-api.js.map +1 -1
- package/lib/services/product-api.service.d.ts +1 -0
- package/lib/types/dto/charge-item-dto.types.d.ts +2 -1
- package/lib/types/dto/line-item-dto.types.d.ts +2 -1
- package/package.json +1 -1
@@ -726,7 +726,7 @@
|
|
726
726
|
}());
|
727
727
|
|
728
728
|
var ChargeItemDTO = /** @class */ (function () {
|
729
|
-
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) {
|
729
|
+
function ChargeItemDTO(id, price, unitPrice, baseListPrice, baseListUnitPrice, listPrice, listUnitPrice, netPrice, previousNetPrice, 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) {
|
730
730
|
this.id = id;
|
731
731
|
this.price = price;
|
732
732
|
this.unitPrice = unitPrice;
|
@@ -735,6 +735,7 @@
|
|
735
735
|
this.listPrice = listPrice;
|
736
736
|
this.listUnitPrice = listUnitPrice;
|
737
737
|
this.netPrice = netPrice;
|
738
|
+
this.previousNetPrice = previousNetPrice;
|
738
739
|
this.netUnitPrice = netUnitPrice;
|
739
740
|
this.chargeId = chargeId;
|
740
741
|
this.chargeType = chargeType;
|
@@ -771,6 +772,7 @@
|
|
771
772
|
listPrice: dto.listPrice,
|
772
773
|
listUnitPrice: dto.listUnitPrice,
|
773
774
|
netPrice: dto.netPrice,
|
775
|
+
previousNetPrice: dto.previousNetPrice,
|
774
776
|
netUnitPrice: dto.netUnitPrice,
|
775
777
|
chargeId: dto.chargeId,
|
776
778
|
chargeType: dto.chargeType,
|
@@ -901,7 +903,7 @@
|
|
901
903
|
}());
|
902
904
|
|
903
905
|
var LineItemDTO = /** @class */ (function () {
|
904
|
-
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) {
|
906
|
+
function LineItemDTO(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, integrationId, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, planId, sellingFrequencyUnit, sellingFrequencyDuration, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable, requiresApprovals) {
|
905
907
|
this.id = id;
|
906
908
|
this.activated = activated;
|
907
909
|
this.attributes = attributes;
|
@@ -920,6 +922,7 @@
|
|
920
922
|
this.qty = qty;
|
921
923
|
this.totalPrices = totalPrices;
|
922
924
|
this.type = type;
|
925
|
+
this.integrationId = integrationId;
|
923
926
|
this.productId = productId;
|
924
927
|
this.port = port;
|
925
928
|
this.parentId = parentId;
|
@@ -966,6 +969,7 @@
|
|
966
969
|
type: dto.type,
|
967
970
|
productId: dto.productId,
|
968
971
|
port: dto.port,
|
972
|
+
integrationId: dto.integrationId,
|
969
973
|
parentId: dto.parentId,
|
970
974
|
assetId: dto.assetId,
|
971
975
|
openOrderLineItemId: dto.openOrderLineItemId,
|
@@ -1948,6 +1952,14 @@
|
|
1948
1952
|
url: this.serviceUrl + "/" + productId + "/image",
|
1949
1953
|
});
|
1950
1954
|
};
|
1955
|
+
ProductApiService.prototype.fetchImage$ = function (productId) {
|
1956
|
+
return this.baseHttpService.api({
|
1957
|
+
url: this.getImageUrl(productId),
|
1958
|
+
method: 'get',
|
1959
|
+
responseType: 'blob',
|
1960
|
+
errorHandler: rxjs.noop,
|
1961
|
+
});
|
1962
|
+
};
|
1951
1963
|
ProductApiService.prototype.getImageUrl = function (productId) {
|
1952
1964
|
return this.serviceUrl + "/" + productId + "/image";
|
1953
1965
|
};
|