digicust_types 1.8.256 → 1.8.258
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.
|
@@ -237,6 +237,11 @@ export interface ExecutionStrategy {
|
|
|
237
237
|
* Enables experimental feature to use specialized description aggregation for line items, summing up quantities and concatenating lineItemDescriptions with "-" in the special "aggregated.aggregatedDescriptions" map (otherwise this property will remain empty or undefined).
|
|
238
238
|
*/
|
|
239
239
|
useSpecializedDescriptionAggregation?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Experimental: Use specialized formatting for aggregated descriptions. This will be used if useSpecializedDescriptionAggregation is set to true. If not set, uses the default descriptionFormatStringJsonAta and aggregation algorithm.
|
|
242
|
+
* The input for this JSONAta query is an array of lineItemContexts.
|
|
243
|
+
*/
|
|
244
|
+
specializedDescriptionAggregationJsonAta?: string;
|
|
240
245
|
lineItemGrossWeightStrategy?: "default" | "forceToFirstLineItem";
|
|
241
246
|
forceInvoiceNumberToReferenceNumberUCR?: boolean;
|
|
242
247
|
forceInvoiceNumberToRegistrationNumberExternal?: boolean;
|
|
@@ -3,5 +3,8 @@ import { Meta } from "../..";
|
|
|
3
3
|
export interface Weight extends Meta<number> {
|
|
4
4
|
unit?: WeightUnit;
|
|
5
5
|
kgEquivalent?: number;
|
|
6
|
+
derivationFlags?: {
|
|
7
|
+
includesNinetyPercentMultiplier?: boolean;
|
|
8
|
+
};
|
|
6
9
|
}
|
|
7
10
|
export declare const condenseWeight: (weight: Weight) => Weight;
|