digicust_types 1.8.140 → 1.8.142

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,7 +64,7 @@ export interface ExecutionStrategy {
64
64
  dataNormalization?: {
65
65
  active?: boolean;
66
66
  /** Determines how to deal with additional costs like shipping costs, packing, ... */
67
- additionalCostsStrategy?: "equalDistribution" | "addToFirstItem" | "splitToAllItems" | "splitToAllItemsByNetWeight" | "splitToAllItemsByTotalValue";
67
+ additionalCostsStrategy?: "ignore" | "equalDistribution" | "addToFirstItem" | "splitToAllItems" | "splitToAllItemsByNetWeight" | "splitToAllItemsByTotalValue";
68
68
  allowDateInOrderNumber?: boolean;
69
69
  eliminateArticleNumberFromDescription?: boolean;
70
70
  alwaysAssumeThreeDigitDecimalForWeights?: boolean;
@@ -187,6 +187,7 @@ export interface ExecutionStrategy {
187
187
  descriptionFormatStringJsonAta?: string;
188
188
  /**
189
189
  * Custom formatting for transforming the (autofixed) customs tariff number into a new tariff number.
190
+ * Default to empty (no mapping used).
190
191
  *
191
192
  * The input JSON object has the same structure as the descriptionFormatStringJsonAta:
192
193
  *
@@ -16,6 +16,7 @@ export interface LineItemModel {
16
16
  materialNumber?: Meta<string>;
17
17
  orderNumber?: Meta<string>;
18
18
  description?: Translatable;
19
+ tariffNumberDescription?: Meta<string>;
19
20
  additionalInformation?: Meta<string>;
20
21
  customsTariffNumber?: CustomsTariffNumber;
21
22
  documentDescription?: Translatable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.140",
3
+ "version": "1.8.142",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",