digicust_types 1.8.280 → 1.8.281

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ import { DigicustDocumentType } from "./digicust-document-type.enum";
2
+ /**
3
+ * Page of a document
4
+ */
5
+ export interface DocumentPage {
6
+ pageNumber?: number;
7
+ classification?: DigicustDocumentType;
8
+ classificationReasoning?: string;
9
+ documentNumber?: string;
10
+ pngURL?: string;
11
+ ocrURL?: string;
12
+ width?: number;
13
+ height?: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  import { DigicustDocumentType, DocumentCode, DocumentStatus, UserDocumentStatus, SubDocumentStatus, ClassificationStatus } from "..";
2
2
  import { ProcessingModel, DateTimeModel, AnalyzerMetadataModel, UploadedFileModel, Meta } from "../..";
3
- import { RossumImportStatus } from "../../..";
3
+ import { DocumentPage } from "../document-page.model";
4
4
  /**
5
5
  * Base model for different types of documents (e.g. waybills, invoices, ...)
6
6
  */
@@ -36,14 +36,6 @@ export interface DigicustDocumentModel {
36
36
  };
37
37
  uploadedFiles?: Array<UploadedFileModel>;
38
38
  sourceMaterialId?: string;
39
- /**
40
- * @deprecated
41
- */
42
- rossumMetadata?: {
43
- importStatus?: RossumImportStatus;
44
- annotationId?: string;
45
- queueId?: number;
46
- exportOnConfirmed?: boolean;
47
- };
39
+ pages?: DocumentPage[];
48
40
  }
49
41
  export declare const condenseDocument: (document?: DigicustDocumentModel) => DigicustDocumentModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.280",
3
+ "version": "1.8.281",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",