digicust_types 1.8.138 → 1.8.140

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.
@@ -5,6 +5,7 @@ export interface TariffNumberTreeNode extends CodeModel {
5
5
  description: string;
6
6
  altDescription?: string;
7
7
  altDescriptionShort?: string;
8
+ descriptionEn?: string;
8
9
  layer: number;
9
10
  breadcrumbs: string[];
10
11
  countryCode?: string;
@@ -135,6 +135,8 @@ export interface ExecutionStrategy {
135
135
  * The input JSON object looks like this:
136
136
  *
137
137
  * {
138
+ * "tariffNumber": "1234567890",
139
+ * "quantity": 1234,
138
140
  * "tariffNumberDescription": "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung",
139
141
  * "lineItemDescription": "Orsiro Mission 2.5/9 PTCA-Stents ",
140
142
  * "lineItemDescriptionShort": "Orsiro Mission PTCA-Stents ",
@@ -183,6 +185,30 @@ export interface ExecutionStrategy {
183
185
  * Example Result with JSON input from above: "PCTA-Stents - Orsiro Mission 2.5/9 PTCA-Stents"
184
186
  */
185
187
  descriptionFormatStringJsonAta?: string;
188
+ /**
189
+ * Custom formatting for transforming the (autofixed) customs tariff number into a new tariff number.
190
+ *
191
+ * The input JSON object has the same structure as the descriptionFormatStringJsonAta:
192
+ *
193
+ * {
194
+ * "tariffNumber": "1234567890",
195
+ * "quantity": 1234,
196
+ * "tariffNumberDescription": "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung",
197
+ * "lineItemDescription": "Orsiro Mission 2.5/9 PTCA-Stents ",
198
+ * "lineItemDescriptionShort": "Orsiro Mission PTCA-Stents ",
199
+ * "materialDescription": "PCTA-Stents",
200
+ * "enrichedDescription": "PCTA-Stents",
201
+ * "enrichedDescriptionShort": "Stents",
202
+ * "preferMaterialMasterData": false,
203
+ * "materialMatched": true,
204
+ * "useCustomsTariffNumberDescription": true,
205
+ * "useLineItemDescriptionShortening": true,
206
+ * "materialMatchedByTariffNumber": true,
207
+ * "materialMatchedByMaterialNr": false
208
+ * }
209
+ *
210
+ */
211
+ customsTariffNumberMappingJsonAta?: string;
186
212
  lineItemGrossWeightStrategy?: "default" | "forceToFirstLineItem";
187
213
  forceInvoiceNumberToReferenceNumberUCR?: boolean;
188
214
  forceInvoiceNumberToRegistrationNumberExternal?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.138",
3
+ "version": "1.8.140",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",