@veloceapps/api 3.0.10 → 3.0.12
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
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChargeItem } from '@veloce/core';
|
1
|
+
import { ChargeItem, RequiresApproval } 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,6 +34,7 @@ export declare class ChargeItemDTO {
|
|
34
34
|
enableListPriceAdjustment?: boolean | undefined;
|
35
35
|
listPriceAdjustment?: PriceAdjustmentDTO | undefined;
|
36
36
|
priceAdjustment?: PriceAdjustmentDTO | undefined;
|
37
|
+
requiresApprovals?: RequiresApproval[] | undefined;
|
37
38
|
static fromDTO(dto: ChargeItemDTO): ChargeItem;
|
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);
|
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, requiresApprovals?: RequiresApproval[] | undefined);
|
39
40
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LineItem } from '@veloce/core';
|
1
|
+
import { LineItem, RequiresApproval } 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';
|
@@ -46,6 +46,7 @@ export declare class LineItemDTO {
|
|
46
46
|
rampInstanceId?: string | undefined;
|
47
47
|
enableRamp?: boolean | undefined;
|
48
48
|
configurable?: boolean | undefined;
|
49
|
+
requiresApprovals?: RequiresApproval[] | undefined;
|
49
50
|
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?: string | undefined, effectiveDate?: string | undefined, effectiveStartDate?: string | undefined, startDate?: string | undefined, endDate?: string | 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
|
+
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?: string | undefined, effectiveDate?: string | undefined, effectiveStartDate?: string | undefined, startDate?: string | undefined, endDate?: string | 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, requiresApprovals?: RequiresApproval[] | undefined);
|
51
52
|
}
|