digicust_types 1.7.197 → 1.7.201
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 +2 -1
- package/lib/models/common/unit-of-measurement.d.ts +6 -0
- package/lib/models/common/unit-of-measurement.js +2 -0
- package/lib/models/digicust/line-item.model.d.ts +6 -3
- package/lib/models/digicust/masterdata/material.model.d.ts +2 -2
- package/lib/models/digicust/masterdata/material.model.js +7 -7
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AddressModel } from "./address.model";
|
|
2
2
|
import { PersonModel } from "./person.model";
|
|
3
3
|
import { Meta } from "./meta";
|
|
4
|
-
import { MatchingMetadataModel, StakeholderMatchInput, StakeholderMatchResult } from "../digicust/masterdata";
|
|
4
|
+
import { MasterDataCreationType, MatchingMetadataModel, StakeholderMatchInput, StakeholderMatchResult } from "../digicust/masterdata";
|
|
5
5
|
import { DefermentAccount } from "../digicust";
|
|
6
6
|
/**
|
|
7
7
|
* Identifies a company
|
|
@@ -23,5 +23,6 @@ export interface CompanyModel extends Meta<string> {
|
|
|
23
23
|
/** Aufschubkonten */
|
|
24
24
|
defermentAccounts?: DefermentAccount[];
|
|
25
25
|
stakeholderId?: string;
|
|
26
|
+
creationType?: MasterDataCreationType;
|
|
26
27
|
matchingMetadata?: MatchingMetadataModel<StakeholderMatchInput, StakeholderMatchResult>;
|
|
27
28
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure } from ".";
|
|
2
|
-
import { AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity,
|
|
2
|
+
import { AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, Weight, WeightUnit } from "..";
|
|
3
3
|
import { Bbox } from "../common/bbox.model";
|
|
4
|
+
import { UnitOfMeasurement } from "../common/unit-of-measurement";
|
|
5
|
+
import { MasterDataCreationType } from "./masterdata";
|
|
4
6
|
/**
|
|
5
7
|
* Identifies line items (specific products) listed on a document
|
|
6
8
|
*/
|
|
@@ -28,7 +30,7 @@ export interface LineItemModel {
|
|
|
28
30
|
documentDescription?: Meta<string>;
|
|
29
31
|
quantity?: Quantity;
|
|
30
32
|
orderedQuantity?: Quantity;
|
|
31
|
-
unitOfMeasurement?:
|
|
33
|
+
unitOfMeasurement?: UnitOfMeasurement;
|
|
32
34
|
countryOfOrigin?: AddressModel;
|
|
33
35
|
itemValue?: Money;
|
|
34
36
|
totalValue?: Money;
|
|
@@ -45,7 +47,7 @@ export interface LineItemModel {
|
|
|
45
47
|
weightUnit?: Meta<WeightUnit>;
|
|
46
48
|
itemSize?: Meta<string>;
|
|
47
49
|
itemSpecialUnitMeasure?: Meta<number>;
|
|
48
|
-
itemSpecialUnit?:
|
|
50
|
+
itemSpecialUnit?: UnitOfMeasurement;
|
|
49
51
|
buyerArticleNumber?: Meta<string>;
|
|
50
52
|
buyerOrderNumber?: Meta<string>;
|
|
51
53
|
/** Textual Material Description */
|
|
@@ -73,6 +75,7 @@ export interface LineItemModel {
|
|
|
73
75
|
specialRemarks?: Meta<string>[];
|
|
74
76
|
packages?: Package[];
|
|
75
77
|
materialId?: string;
|
|
78
|
+
creationType?: MasterDataCreationType;
|
|
76
79
|
bbox?: Bbox;
|
|
77
80
|
matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
|
|
78
81
|
}
|
|
@@ -30,7 +30,7 @@ export interface Meursing extends Meta<string> {
|
|
|
30
30
|
starch?: Workflow<number>;
|
|
31
31
|
saccharose?: Workflow<number>;
|
|
32
32
|
}
|
|
33
|
-
export declare enum
|
|
33
|
+
export declare enum MasterDataCreationType {
|
|
34
34
|
manual = "manual",
|
|
35
35
|
processed = "processed",
|
|
36
36
|
file = "file"
|
|
@@ -39,7 +39,7 @@ export interface MaterialModel {
|
|
|
39
39
|
id?: string;
|
|
40
40
|
customerId?: string;
|
|
41
41
|
projectId?: string;
|
|
42
|
-
creationType?:
|
|
42
|
+
creationType?: MasterDataCreationType;
|
|
43
43
|
materialNumber?: Workflow<string>;
|
|
44
44
|
code?: Workflow<string>;
|
|
45
45
|
description?: Workflow<string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(
|
|
3
|
+
exports.MasterDataCreationType = void 0;
|
|
4
|
+
var MasterDataCreationType;
|
|
5
|
+
(function (MasterDataCreationType) {
|
|
6
|
+
MasterDataCreationType["manual"] = "manual";
|
|
7
|
+
MasterDataCreationType["processed"] = "processed";
|
|
8
|
+
MasterDataCreationType["file"] = "file";
|
|
9
|
+
})(MasterDataCreationType = exports.MasterDataCreationType || (exports.MasterDataCreationType = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MasterDataCreationType } from ".";
|
|
2
2
|
import { AddressModel, Workflow } from "../../common";
|
|
3
3
|
import { PersonModel } from "../../common/person.model";
|
|
4
4
|
import { DefermentAccount } from "../deferment-account.model";
|
|
@@ -7,7 +7,7 @@ export interface StakeholderModel {
|
|
|
7
7
|
id?: string;
|
|
8
8
|
customerId?: string;
|
|
9
9
|
projectId?: string;
|
|
10
|
-
creationType?:
|
|
10
|
+
creationType?: MasterDataCreationType;
|
|
11
11
|
roles?: StakeholderRole[];
|
|
12
12
|
address?: AddressModel & Workflow<any>;
|
|
13
13
|
name?: Workflow<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "digicust_types",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.201",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"homepage": "https://github.com/Digicust0406/types#readme",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@types/node": "^14.18.12",
|
|
28
|
-
"typedoc": "^0.22.
|
|
28
|
+
"typedoc": "^0.22.12"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|