@veloceapps/api 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.
Files changed (54) hide show
  1. package/bundles/veloce-api.umd.js +10 -5
  2. package/bundles/veloce-api.umd.js.map +1 -1
  3. package/esm2015/index.js +2 -1
  4. package/esm2015/lib/services/configuration-api.service.js +2 -2
  5. package/esm2015/lib/services/configuration-settings-api.service.js +4 -5
  6. package/esm2015/lib/services/ramp-api.service.js +1 -1
  7. package/esm2015/lib/services/ui-templates-api.service.js +1 -1
  8. package/esm2015/lib/types/dto/attribute-dto.types.js +21 -0
  9. package/esm2015/lib/types/dto/charge-group-item-dto.types.js +45 -0
  10. package/esm2015/lib/types/dto/charge-item-dto.types.js +76 -0
  11. package/esm2015/lib/types/dto/configuration-dto.types.js +17 -0
  12. package/esm2015/lib/types/dto/configuration-settings-dto.types.js +22 -0
  13. package/esm2015/lib/types/dto/domain-type-dto.types.js +27 -0
  14. package/esm2015/lib/types/dto/line-item-dto.types.js +97 -0
  15. package/esm2015/lib/types/dto/port-domain-dto.types.js +22 -0
  16. package/esm2015/lib/types/dto/price-adjustment-dto.types.js +15 -0
  17. package/esm2015/lib/types/dto/price-dto.types.js +25 -0
  18. package/esm2015/lib/types/dto/recommended-price-dto.types.js +23 -0
  19. package/esm2015/lib/types/dto/ui-template-dto.types.js +2 -0
  20. package/esm2015/lib/types/index.js +3 -0
  21. package/esm2015/lib/types/ramp-request.types.js +2 -0
  22. package/esm2015/lib/utils/ui-template.utils.js +1 -1
  23. package/fesm2015/veloce-api.js +10 -5
  24. package/fesm2015/veloce-api.js.map +1 -1
  25. package/index.d.ts +1 -1
  26. package/lib/services/ramp-api.service.d.ts +2 -1
  27. package/lib/types/{attribute-dto.types.d.ts → dto/attribute-dto.types.d.ts} +0 -0
  28. package/lib/types/{charge-group-item-dto.types.d.ts → dto/charge-group-item-dto.types.d.ts} +0 -0
  29. package/lib/types/{charge-item-dto.types.d.ts → dto/charge-item-dto.types.d.ts} +3 -2
  30. package/lib/types/{configuration-dto.types.d.ts → dto/configuration-dto.types.d.ts} +0 -0
  31. package/lib/types/{configuration-settings-dto.types.d.ts → dto/configuration-settings-dto.types.d.ts} +0 -0
  32. package/lib/types/{domain-type-dto.types.d.ts → dto/domain-type-dto.types.d.ts} +0 -0
  33. package/lib/types/{line-item-dto.types.d.ts → dto/line-item-dto.types.d.ts} +4 -2
  34. package/lib/types/{port-domain-dto.types.d.ts → dto/port-domain-dto.types.d.ts} +0 -0
  35. package/lib/types/{price-adjustment-dto.types.d.ts → dto/price-adjustment-dto.types.d.ts} +0 -0
  36. package/lib/types/{price-dto.types.d.ts → dto/price-dto.types.d.ts} +0 -0
  37. package/lib/types/{recommended-price-dto.types.d.ts → dto/recommended-price-dto.types.d.ts} +0 -0
  38. package/lib/types/{ui-template-dto.types.d.ts → dto/ui-template-dto.types.d.ts} +0 -0
  39. package/lib/types/index.d.ts +2 -0
  40. package/lib/types/ramp-request.types.d.ts +7 -0
  41. package/lib/utils/ui-template.utils.d.ts +1 -1
  42. package/package.json +1 -1
  43. package/esm2015/lib/types/attribute-dto.types.js +0 -21
  44. package/esm2015/lib/types/charge-group-item-dto.types.js +0 -45
  45. package/esm2015/lib/types/charge-item-dto.types.js +0 -74
  46. package/esm2015/lib/types/configuration-dto.types.js +0 -17
  47. package/esm2015/lib/types/configuration-settings-dto.types.js +0 -22
  48. package/esm2015/lib/types/domain-type-dto.types.js +0 -27
  49. package/esm2015/lib/types/line-item-dto.types.js +0 -93
  50. package/esm2015/lib/types/port-domain-dto.types.js +0 -22
  51. package/esm2015/lib/types/price-adjustment-dto.types.js +0 -15
  52. package/esm2015/lib/types/price-dto.types.js +0 -25
  53. package/esm2015/lib/types/recommended-price-dto.types.js +0 -23
  54. package/esm2015/lib/types/ui-template-dto.types.js +0 -2
@@ -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, 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;
@@ -632,6 +634,7 @@
632
634
  this.actionCode = actionCode;
633
635
  this.serviceStartDate = serviceStartDate;
634
636
  this.effectiveDate = effectiveDate;
637
+ this.effectiveStartDate = effectiveStartDate;
635
638
  this.startDate = startDate;
636
639
  this.endDate = endDate;
637
640
  this.planId = planId;
@@ -643,6 +646,7 @@
643
646
  this.rampInstanceId = rampInstanceId;
644
647
  this.enableRamp = enableRamp;
645
648
  this.configurable = configurable;
649
+ this.requiresApprovals = requiresApprovals;
646
650
  }
647
651
  LineItemDTO.fromDTO = function (dto) {
648
652
  return {
@@ -674,6 +678,7 @@
674
678
  actionCode: dto.actionCode,
675
679
  serviceStartDate: dto.serviceStartDate,
676
680
  effectiveDate: dto.effectiveDate,
681
+ effectiveStartDate: dto.effectiveStartDate,
677
682
  startDate: dto.startDate,
678
683
  endDate: dto.endDate,
679
684
  planId: dto.planId,
@@ -685,6 +690,7 @@
685
690
  rampInstanceId: dto.rampInstanceId,
686
691
  enableRamp: dto.enableRamp,
687
692
  configurable: dto.configurable,
693
+ requiresApprovals: dto.requiresApprovals,
688
694
  };
689
695
  };
690
696
  return LineItemDTO;
@@ -862,10 +868,9 @@
862
868
  });
863
869
  };
864
870
  ConfigurationSettingsApiService.prototype.clear = function (name) {
865
- return this.httpService
866
- .api({
871
+ return this.httpService.api({
867
872
  method: 'get',
868
- url: '/cache/evict/' + name
873
+ url: '/cache/evict/' + name,
869
874
  });
870
875
  };
871
876
  return ConfigurationSettingsApiService;