digicust_types 1.8.415 → 1.8.417

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.
@@ -1,8 +1,4 @@
1
- import { ClassificationTypes, ModuleModel, QueueWorkspaceModel, Rule } from "..";
2
- export declare enum CustomsSystem {
3
- atlas = "atlas",
4
- eZoll = "eZoll"
5
- }
1
+ import { ClassificationTypes, Rule } from "..";
6
2
  export interface MappingObject {
7
3
  sourcePath: string;
8
4
  destinationPath: string;
@@ -35,7 +31,8 @@ export interface BulkUploadFileStatistics {
35
31
  };
36
32
  }
37
33
  export declare enum TariffSystem {
38
- DE = "DE",// DE for Germany and Austria
34
+ DE = "DE",// DE for Germany
35
+ AU = "AU",// AU for Austria
39
36
  XK = "XK",// XK for Kosovo
40
37
  CH = "CH"
41
38
  }
@@ -47,9 +44,6 @@ export interface ProjectModel {
47
44
  customerId?: string;
48
45
  projectId?: string;
49
46
  alias?: string;
50
- modules?: ModuleModel[];
51
- workspaces?: QueueWorkspaceModel[];
52
- customsSystem?: CustomsSystem;
53
47
  tariffNumberTreeSystem?: TariffSystem;
54
48
  mappings?: Mapping[];
55
49
  rules?: Rule[];
@@ -1,14 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TariffSystem = exports.CustomsSystem = void 0;
4
- var CustomsSystem;
5
- (function (CustomsSystem) {
6
- CustomsSystem["atlas"] = "atlas";
7
- CustomsSystem["eZoll"] = "eZoll";
8
- })(CustomsSystem || (exports.CustomsSystem = CustomsSystem = {}));
3
+ exports.TariffSystem = void 0;
9
4
  var TariffSystem;
10
5
  (function (TariffSystem) {
11
6
  TariffSystem["DE"] = "DE";
7
+ TariffSystem["AU"] = "AU";
12
8
  TariffSystem["XK"] = "XK";
13
9
  TariffSystem["CH"] = "CH";
14
10
  })(TariffSystem || (exports.TariffSystem = TariffSystem = {}));
@@ -392,6 +392,9 @@ export interface ExecutionStrategy {
392
392
  * Enable updates of fields in manually created tariff numbers
393
393
  */
394
394
  updateManuallyCreatedTariffNumbers?: boolean;
395
+ /**
396
+ * Immediately confirm master data entries that were created automatically (in technical terms: mark them as user-edited)
397
+ */
395
398
  autoSetPropertiesToUserEdited?: boolean;
396
399
  /**
397
400
  * Matching options for tariff number master data, effectively which properties from the shipment will be used to match the tariff number
@@ -1,3 +1,4 @@
1
+ export type FallBackType = "none" | "paddedNumber" | "emptyShipperCountry" | "emptyDestinationCountry" | "emptyStakeholders" | "paddedNumber-emptyStakeholders" | "emptyShipperCountry-emptyStakeholders" | "emptyDestinationCountry-emptyStakeholders" | "emptyShipperCountry-paddedNumber" | "emptyDestinationCountry-paddedNumber" | "emptyShipperCountry-emptyDestinationCountry" | "emptyShipperCountry-emptyStakeholders-paddedNumber" | "emptyDestinationCountry-emptyStakeholders-paddedNumber";
1
2
  export interface MaterialMatchResult {
2
3
  matchesCode?: boolean;
3
4
  matchesCodeUserEdited?: boolean;
@@ -8,7 +9,7 @@ export interface MaterialMatchResult {
8
9
  matchesBuyerArticleNumberUserEdited?: boolean;
9
10
  matchesShipper?: boolean;
10
11
  hasAnyUserEditedProperties?: boolean;
11
- fallbackSearchUsed?: "none" | "paddedNumber" | "emptyShipperCountry" | "emptyDestinationCountry" | "emptyStakeholders" | "paddedNumber-emptyStakeholders" | "emptyShipperCountry-emptyStakeholders" | "emptyDestinationCountry-emptyStakeholders" | "emptyShipperCountry-paddedNumber" | "emptyDestinationCountry-paddedNumber" | "emptyShipperCountry-emptyDestinationCountry" | "emptyShipperCountry-emptyStakeholders-paddedNumber" | "emptyDestinationCountry-emptyStakeholders-paddedNumber";
12
+ fallbackSearchUsed?: FallBackType;
12
13
  id?: string;
13
14
  shipperId?: string;
14
15
  cacheKey?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  /**
2
3
  * Information about an uploaded file. Used by multer package.
3
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.415",
3
+ "version": "1.8.417",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "build-with-runtime-interfaces": "tsc && `npm bin`/run-for-every-file --src ./lib/ --file '**/*.d.ts' --run \"`npm bin`/ts-interface-builder -i -g -c {{src-file}}\"",
12
12
  "build": "tsc",
13
13
  "build-deploy": "git pull && npm version patch && npm run build && npm publish && git push",
14
- "deploy-docs": "npm i && npx typedoc src/index.ts",
14
+ "deploy-docs": "npm i && npx typedoc /src/index.ts",
15
15
  "lint.fix": "eslint --fix --ext .ts .",
16
16
  "prettier.fix": "prettier --write .",
17
17
  "prepare": "husky install",