digicust_types 1.8.107 → 1.8.109

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.
@@ -102,5 +102,8 @@ export interface AggregatedCaseDataModel {
102
102
  domesticInsuranceCosts?: DomesticFreightCosts;
103
103
  statisticalValue?: Money;
104
104
  additionalInformation?: Meta<string>;
105
+ GRN?: Meta<string>;
106
+ GRNAccessCode?: Meta<string>;
107
+ LRN?: Meta<string>;
105
108
  }
106
109
  export declare const condenseAggregated: (aggregated?: AggregatedCaseDataModel) => AggregatedCaseDataModel;
@@ -1,5 +1,5 @@
1
1
  import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, Event, Money, PackageType, ProcedureMode, Rule, StakeholderModel } from "..";
2
- import { AebSftpConfig, AsycudaSftpConfig, DakosySftpConfig, DbhSftpConfig, DhfSftpConfig, LdvSftpConfig } from "./sftp-config.model";
2
+ import { AebSftpConfig, AsycudaSftpConfig, DakosySftpConfig, DbhSftpConfig, DhfSftpConfig, FormatSftpConfig, LdvSftpConfig } from "./sftp-config.model";
3
3
  /**
4
4
  * Execution strategies are customer-configurable plans on how to process a specific case.
5
5
  */
@@ -213,7 +213,7 @@ export interface ExecutionStrategy {
213
213
  time?: number;
214
214
  };
215
215
  isProcessWithDextor: boolean;
216
- submission?: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | LdvSftpConfig | DhfSftpConfig | AsycudaSftpConfig;
216
+ submission?: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | LdvSftpConfig | DhfSftpConfig | AsycudaSftpConfig | FormatSftpConfig;
217
217
  events: Event[];
218
218
  rules: Rule[];
219
219
  automated?: boolean;
@@ -53,6 +53,19 @@ export interface AsycudaSftpConfig {
53
53
  "sftp-inbound"?: string;
54
54
  };
55
55
  }
56
+ export interface FormatSftpConfig {
57
+ active?: boolean;
58
+ vendor?: "format";
59
+ config?: {
60
+ "sftp-password"?: string;
61
+ "sftp-login-name"?: string;
62
+ "sftp-port"?: string;
63
+ "sftp-dns-name"?: string;
64
+ "sftp-inbound"?: string;
65
+ /** Mandantennummer */
66
+ "client-code"?: string;
67
+ };
68
+ }
56
69
  export interface DbhSftpConfig {
57
70
  active?: boolean;
58
71
  vendor?: "dbh";
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.107",
4
- "description": "",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "files": [
8
- "lib/**/*"
9
- ],
10
- "scripts": {
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
- "build": "tsc",
13
- "build-deploy": "git pull && npm version patch && npm run build && npm publish",
14
- "deploy-docs": "npm i && npx typedoc src/index.ts",
15
- "lint.fix": "eslint --fix --ext .ts .",
16
- "prettier.fix": "prettier --write .",
17
- "prepare": "husky install",
18
- "lint-staged": "lint-staged"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/Digicust0406/types.git"
23
- },
24
- "keywords": [],
25
- "author": "Thomas Übellacker",
26
- "license": "Proprietary",
27
- "bugs": {
28
- "url": "https://github.com/Digicust0406/types/issues"
29
- },
30
- "homepage": "https://github.com/Digicust0406/types#readme",
31
- "dependencies": {
32
- "typedoc": "^0.25.4"
33
- },
34
- "devDependencies": {
35
- "@types/node": "^20.10.2",
36
- "@typescript-eslint/eslint-plugin": "^6.13.1",
37
- "@typescript-eslint/parser": "^6.13.1",
38
- "eslint": "^8.55.0",
39
- "eslint-config-airbnb-typescript": "^17.1.0",
40
- "eslint-config-prettier": "^9.1.0",
41
- "eslint-plugin-import": "^2.29.0",
42
- "eslint-plugin-node": "^11.1.0",
43
- "eslint-plugin-prettier": "^5.0.1",
44
- "husky": "^8.0.3",
45
- "lint-staged": "^15.1.0",
46
- "prettier": "^3.1.0",
47
- "typescript": "^5.3.2"
48
- }
49
- }
1
+ {
2
+ "name": "digicust_types",
3
+ "version": "1.8.109",
4
+ "description": "",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib/**/*"
9
+ ],
10
+ "scripts": {
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
+ "build": "tsc",
13
+ "build-deploy": "git pull && npm version patch && npm run build && npm publish",
14
+ "deploy-docs": "npm i && npx typedoc src/index.ts",
15
+ "lint.fix": "eslint --fix --ext .ts .",
16
+ "prettier.fix": "prettier --write .",
17
+ "prepare": "husky install",
18
+ "lint-staged": "lint-staged"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/Digicust0406/types.git"
23
+ },
24
+ "keywords": [],
25
+ "author": "Thomas Übellacker",
26
+ "license": "Proprietary",
27
+ "bugs": {
28
+ "url": "https://github.com/Digicust0406/types/issues"
29
+ },
30
+ "homepage": "https://github.com/Digicust0406/types#readme",
31
+ "dependencies": {
32
+ "typedoc": "^0.25.4"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^20.10.2",
36
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
37
+ "@typescript-eslint/parser": "^6.13.1",
38
+ "eslint": "^8.55.0",
39
+ "eslint-config-airbnb-typescript": "^17.1.0",
40
+ "eslint-config-prettier": "^9.1.0",
41
+ "eslint-plugin-import": "^2.29.0",
42
+ "eslint-plugin-node": "^11.1.0",
43
+ "eslint-plugin-prettier": "^5.0.1",
44
+ "husky": "^8.0.3",
45
+ "lint-staged": "^15.1.0",
46
+ "prettier": "^3.1.0",
47
+ "typescript": "^5.3.2"
48
+ }
49
+ }