@veloceapps/api 2.0.24 → 3.0.0
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 +2 -6
- package/bundles/veloce-api.umd.js.map +1 -1
- package/esm2015/lib/types/charge-item-dto.types.js +2 -4
- package/esm2015/lib/types/line-item-dto.types.js +2 -4
- package/fesm2015/veloce-api.js +2 -6
- package/fesm2015/veloce-api.js.map +1 -1
- package/lib/types/charge-item-dto.types.d.ts +2 -3
- package/lib/types/line-item-dto.types.d.ts +2 -3
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChargeItem
|
1
|
+
import { ChargeItem } from '@veloce/core';
|
2
2
|
import { Dictionary } from 'lodash';
|
3
3
|
import { PriceAdjustmentDTO } from './price-adjustment-dto.types';
|
4
4
|
export declare class ChargeItemDTO {
|
@@ -34,7 +34,6 @@ export declare class ChargeItemDTO {
|
|
34
34
|
enableListPriceAdjustment?: boolean | undefined;
|
35
35
|
listPriceAdjustment?: PriceAdjustmentDTO | undefined;
|
36
36
|
priceAdjustment?: PriceAdjustmentDTO | undefined;
|
37
|
-
requiresApprovals?: RequiresApproval[] | undefined;
|
38
37
|
static fromDTO(dto: ChargeItemDTO): ChargeItem;
|
39
|
-
constructor(id: string, price: number, unitPrice: number, baseListPrice: number, baseListUnitPrice: number, listPrice: number, listUnitPrice: number, netPrice: number, netUnitPrice: number, chargeId: string, chargeType: string, chargeMethod: string, priceItemId: string, startDate: string, priceWaterfalls: PriceAdjustmentDTO[], quantity: number, properties: Dictionary<string>, chargeTypeDisplayValue?: string | undefined, arr?: number | undefined, frequencyUnit?: string | undefined, frequencyDuration?: number | undefined, endDate?: string | undefined, sellingTerm?: number | undefined, currency?: string | undefined, unitCost?: number | undefined, cost?: number | undefined, minUnitPrice?: number | undefined, minPrice?: number | undefined, enablePriceAdjustment?: boolean | undefined, enableListPriceAdjustment?: boolean | undefined, listPriceAdjustment?: PriceAdjustmentDTO | undefined, priceAdjustment?: PriceAdjustmentDTO | undefined
|
38
|
+
constructor(id: string, price: number, unitPrice: number, baseListPrice: number, baseListUnitPrice: number, listPrice: number, listUnitPrice: number, netPrice: number, netUnitPrice: number, chargeId: string, chargeType: string, chargeMethod: string, priceItemId: string, startDate: string, priceWaterfalls: PriceAdjustmentDTO[], quantity: number, properties: Dictionary<string>, chargeTypeDisplayValue?: string | undefined, arr?: number | undefined, frequencyUnit?: string | undefined, frequencyDuration?: number | undefined, endDate?: string | undefined, sellingTerm?: number | undefined, currency?: string | undefined, unitCost?: number | undefined, cost?: number | undefined, minUnitPrice?: number | undefined, minPrice?: number | undefined, enablePriceAdjustment?: boolean | undefined, enableListPriceAdjustment?: boolean | undefined, listPriceAdjustment?: PriceAdjustmentDTO | undefined, priceAdjustment?: PriceAdjustmentDTO | undefined);
|
40
39
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LineItem
|
1
|
+
import { LineItem } from '@veloce/core';
|
2
2
|
import { Dictionary } from 'lodash';
|
3
3
|
import { AttributeDTO } from './attribute-dto.types';
|
4
4
|
import { ChargeGroupItemDTO } from './charge-group-item-dto.types';
|
@@ -45,7 +45,6 @@ export declare class LineItemDTO {
|
|
45
45
|
rampInstanceId?: string | undefined;
|
46
46
|
enableRamp?: boolean | undefined;
|
47
47
|
configurable?: boolean | undefined;
|
48
|
-
requiresApprovals?: RequiresApproval[] | undefined;
|
49
48
|
static fromDTO(dto: LineItemDTO): LineItem;
|
50
|
-
constructor(id: string, activated: boolean, attributes: AttributeDTO[], attributeDomains: Dictionary<any[]>, cfgStatus: string, chargeGroupItems: ChargeGroupItemDTO[], chargeItems: ChargeItemDTO[], domainComputations: Dictionary<boolean>, lineItems: LineItem[], messages: string[], name: string, optionalCharges: any[], pending: boolean, portDomains: Dictionary<PortDomainDTO>, properties: Dictionary<string>, qty: number, totalPrices: Dictionary<PriceDTO>, type: string, productId?: string | undefined, port?: string | undefined, parentId?: string | undefined, assetId?: string | undefined, openOrderLineItemId?: string | undefined, productName?: string | undefined, rootId?: string | undefined, actionCode?: string | undefined, serviceStartDate?: Date | undefined, effectiveDate?: Date | undefined, startDate?: Date | undefined, endDate?: Date | undefined, planId?: string | undefined, sellingFrequencyUnit?: string | undefined, sellingFrequencyDuration?: string | undefined, offeringId?: string | undefined, offeringItemId?: string | undefined, offeringInstanceId?: string | undefined, rampInstanceId?: string | undefined, enableRamp?: boolean | undefined, configurable?: boolean | undefined
|
49
|
+
constructor(id: string, activated: boolean, attributes: AttributeDTO[], attributeDomains: Dictionary<any[]>, cfgStatus: string, chargeGroupItems: ChargeGroupItemDTO[], chargeItems: ChargeItemDTO[], domainComputations: Dictionary<boolean>, lineItems: LineItem[], messages: string[], name: string, optionalCharges: any[], pending: boolean, portDomains: Dictionary<PortDomainDTO>, properties: Dictionary<string>, qty: number, totalPrices: Dictionary<PriceDTO>, type: string, productId?: string | undefined, port?: string | undefined, parentId?: string | undefined, assetId?: string | undefined, openOrderLineItemId?: string | undefined, productName?: string | undefined, rootId?: string | undefined, actionCode?: string | undefined, serviceStartDate?: Date | undefined, effectiveDate?: Date | undefined, startDate?: Date | undefined, endDate?: Date | undefined, planId?: string | undefined, sellingFrequencyUnit?: string | undefined, sellingFrequencyDuration?: string | undefined, offeringId?: string | undefined, offeringItemId?: string | undefined, offeringInstanceId?: string | undefined, rampInstanceId?: string | undefined, enableRamp?: boolean | undefined, configurable?: boolean | undefined);
|
51
50
|
}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@veloceapps/api",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^12.2.0",
|
6
6
|
"@angular/core": "^12.2.0",
|
7
|
-
"@veloce/core": "
|
7
|
+
"@veloce/core": "3.0.0",
|
8
8
|
"lodash": "^4.17.21",
|
9
9
|
"moment": "^2.29.1",
|
10
10
|
"rxjs": "^7.3.0",
|