digicust_types 1.7.42 → 1.7.43
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/digicust/digicust-document.model.d.ts +2 -0
- package/lib/models/digicust/document-code.model.d.ts +10 -0
- package/lib/models/digicust/document-code.model.js +2 -0
- package/lib/models/digicust/index.d.ts +1 -0
- package/lib/models/digicust/index.js +1 -0
- package/lib/models/digicust/invoice-type.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { DocumentStatus, SubDocumentStatus, UserDocumentStatus, ClassificationSt
|
|
|
3
3
|
import { RossumImportStatus } from "../rossum";
|
|
4
4
|
import { DateTimeModel } from "../common";
|
|
5
5
|
import { AnalyzerMetadataModel } from "./AnalyzerMetadataModel.model";
|
|
6
|
+
import { DocumentCode } from "./document-code.model";
|
|
6
7
|
/**
|
|
7
8
|
* Base model for different types of documents (e.g. waybills, invoices, ...)
|
|
8
9
|
*/
|
|
@@ -14,6 +15,7 @@ export interface DigicustDocumentModel {
|
|
|
14
15
|
customerId?: string;
|
|
15
16
|
fileName?: string;
|
|
16
17
|
documentType?: DigicustDocumentType;
|
|
18
|
+
documentCode?: DocumentCode;
|
|
17
19
|
documentStatus?: DocumentStatus;
|
|
18
20
|
userDocumentStatus?: UserDocumentStatus;
|
|
19
21
|
subDocumentStatus?: SubDocumentStatus;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from "../common";
|
|
2
|
+
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
3
|
+
/**
|
|
4
|
+
* Coding of documents
|
|
5
|
+
*/
|
|
6
|
+
export interface DocumentCode extends Meta<DigicustDocumentType> {
|
|
7
|
+
NC_24000?: string;
|
|
8
|
+
Dokumentenarten?: string;
|
|
9
|
+
DE_I0200?: string;
|
|
10
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./document-status.enum";
|
|
|
13
13
|
export * from "./invoice.model";
|
|
14
14
|
export * from "./waybill.model";
|
|
15
15
|
export * from "./packingList.model";
|
|
16
|
+
export * from "./document-code.model";
|
|
16
17
|
export * from "./line-item.model";
|
|
17
18
|
export * from "./tax-details.model";
|
|
18
19
|
export * from "./uploaded-file.model";
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./document-status.enum"), exports); // provides informatio
|
|
|
28
28
|
__exportStar(require("./invoice.model"), exports); // invoice document model -> inherits from digicust-document.model
|
|
29
29
|
__exportStar(require("./waybill.model"), exports); // waybill document model -> inherits from digicust-document.model
|
|
30
30
|
__exportStar(require("./packingList.model"), exports);
|
|
31
|
+
__exportStar(require("./document-code.model"), exports);
|
|
31
32
|
__exportStar(require("./line-item.model"), exports); // line items of customs documents
|
|
32
33
|
__exportStar(require("./tax-details.model"), exports); // Information about VAT on a document
|
|
33
34
|
__exportStar(require("./uploaded-file.model"), exports); // Uploaded files of customs documents
|