digicust_types 1.8.256 → 1.8.258

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.256",
3
+ "version": "1.8.258",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",