digicust_types 1.7.192 → 1.7.196
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.
- package/lib/models/common/company.model.d.ts +3 -0
- package/lib/models/common/index.d.ts +1 -0
- package/lib/models/common/index.js +1 -0
- package/lib/models/digicust/deferment-account.model.d.ts +15 -0
- package/lib/models/digicust/deferment-account.model.js +2 -0
- package/lib/models/digicust/index.d.ts +1 -0
- package/lib/models/digicust/index.js +2 -0
- package/lib/models/digicust/masterdata/material.model.d.ts +6 -5
- package/lib/models/digicust/masterdata/material.model.js +1 -1
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +2 -0
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { AddressModel } from "./address.model";
|
|
|
2
2
|
import { PersonModel } from "./person.model";
|
|
3
3
|
import { Meta } from "./meta";
|
|
4
4
|
import { MatchingMetadataModel, StakeholderMatchInput, StakeholderMatchResult } from "../digicust/masterdata";
|
|
5
|
+
import { DefermentAccount } from "../digicust";
|
|
5
6
|
/**
|
|
6
7
|
* Identifies a company
|
|
7
8
|
*/
|
|
@@ -19,6 +20,8 @@ export interface CompanyModel extends Meta<string> {
|
|
|
19
20
|
securityNumber?: Meta<string>;
|
|
20
21
|
externalIdentifier?: Meta<string>;
|
|
21
22
|
clientIdentifier?: Meta<string>;
|
|
23
|
+
/** Aufschubkonten */
|
|
24
|
+
defermentAccounts?: DefermentAccount[];
|
|
22
25
|
stakeholderId?: string;
|
|
23
26
|
matchingMetadata?: MatchingMetadataModel<StakeholderMatchInput, StakeholderMatchResult>;
|
|
24
27
|
}
|
|
@@ -42,3 +42,4 @@ __exportStar(require("./field-type.enum"), exports);
|
|
|
42
42
|
__exportStar(require("./prefix.enum"), exports);
|
|
43
43
|
__exportStar(require("./dialog-window.model"), exports);
|
|
44
44
|
__exportStar(require("./section-type.enum"), exports);
|
|
45
|
+
__exportStar(require("./person.model"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta } from "../common";
|
|
2
|
+
/**
|
|
3
|
+
* Identifies a Deferment Account
|
|
4
|
+
*/
|
|
5
|
+
export interface DefermentAccount extends Meta<string> {
|
|
6
|
+
/** AufschubArt */
|
|
7
|
+
A1190?: "10" | "15" | "20";
|
|
8
|
+
/** ArtAufschubantrag */
|
|
9
|
+
A1080?: "E" | "F";
|
|
10
|
+
EORI?: string;
|
|
11
|
+
/** Kennbuchstaben Aufschub */
|
|
12
|
+
code?: string;
|
|
13
|
+
accountNumber?: string;
|
|
14
|
+
BIN?: string;
|
|
15
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { TypeOfBusinessType, TradePreference } from "..";
|
|
1
|
+
import { TypeOfBusinessType, TradePreference, DigicustDocumentType } from "..";
|
|
2
2
|
import { Money, DateTimeModel, Quantity, Workflow, Meta, UOM, Weight, Dimensions, CustomsTariffNumber } from "../..";
|
|
3
|
+
import { DocumentCode } from "../documents";
|
|
4
|
+
import { ProcedureMode } from "../procedure.model";
|
|
3
5
|
export interface ItemPrice {
|
|
4
6
|
price?: Money;
|
|
5
7
|
priceDate?: DateTimeModel;
|
|
@@ -52,11 +54,10 @@ export interface MaterialModel {
|
|
|
52
54
|
buyerOrderNumber?: Workflow<string>;
|
|
53
55
|
dimensions?: Dimensions & Workflow<any>;
|
|
54
56
|
meursing?: Meursing[];
|
|
55
|
-
documentTypeCodes?: ({
|
|
56
|
-
|
|
57
|
+
documentTypeCodes?: (DocumentCode & {
|
|
58
|
+
procedure?: ProcedureMode | "any";
|
|
57
59
|
reference?: string;
|
|
58
|
-
|
|
59
|
-
} & Workflow<string>)[];
|
|
60
|
+
} & Workflow<DigicustDocumentType>)[];
|
|
60
61
|
customsLaw?: {
|
|
61
62
|
customsTariffNumber?: CustomsTariffNumber & Workflow<any>;
|
|
62
63
|
procedure?: Workflow<string>;
|
|
@@ -5,5 +5,5 @@ var MaterialCreationType;
|
|
|
5
5
|
(function (MaterialCreationType) {
|
|
6
6
|
MaterialCreationType["manual"] = "manual";
|
|
7
7
|
MaterialCreationType["processed"] = "processed";
|
|
8
|
-
MaterialCreationType["file"] = "file";
|
|
8
|
+
MaterialCreationType["file"] = "file";
|
|
9
9
|
})(MaterialCreationType = exports.MaterialCreationType || (exports.MaterialCreationType = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MaterialCreationType } from ".";
|
|
2
2
|
import { AddressModel, Workflow } from "../../common";
|
|
3
3
|
import { PersonModel } from "../../common/person.model";
|
|
4
|
+
import { DefermentAccount } from "../deferment-account.model";
|
|
4
5
|
import { StakeholderRole } from "./stakeholder-role.enum";
|
|
5
6
|
export interface StakeholderModel {
|
|
6
7
|
id?: string;
|
|
@@ -18,6 +19,7 @@ export interface StakeholderModel {
|
|
|
18
19
|
externalIdentifier?: Workflow<string>;
|
|
19
20
|
clientIdentifier?: Workflow<string>;
|
|
20
21
|
inputTaxDeduction?: Workflow<boolean>;
|
|
22
|
+
defermentAccounts?: (DefermentAccount & Workflow<any>)[];
|
|
21
23
|
meta?: {
|
|
22
24
|
version?: number;
|
|
23
25
|
userCreated?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "digicust_types",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.196",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/Digicust0406/types#readme",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@types/node": "^14.18.
|
|
27
|
+
"@types/node": "^14.18.12",
|
|
28
28
|
"typedoc": "^0.22.11"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|