digicust_types 1.7.0 → 1.7.5
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/contracts/index.d.ts +13 -13
- package/lib/contracts/index.js +25 -25
- package/lib/contracts/start-dakosy-submission.dto.d.ts +7 -7
- package/lib/contracts/start-dakosy-submission.dto.js +2 -2
- package/lib/contracts/start-data-extraction.dto.d.ts +16 -16
- package/lib/contracts/start-data-extraction.dto.js +2 -2
- package/lib/contracts/start-data-integration.dto.d.ts +7 -7
- package/lib/contracts/start-data-integration.dto.js +2 -2
- package/lib/contracts/start-data-normalization.dto.d.ts +7 -7
- package/lib/contracts/start-data-normalization.dto.js +2 -2
- package/lib/contracts/start-data-validation.dto.d.ts +7 -7
- package/lib/contracts/start-data-validation.dto.js +2 -2
- package/lib/contracts/start-document-classifier.dto.d.ts +7 -7
- package/lib/contracts/start-document-classifier.dto.js +2 -2
- package/lib/contracts/start-document-merger.dto.d.ts +12 -12
- package/lib/contracts/start-document-merger.dto.js +2 -2
- package/lib/contracts/start-document-splitting.dto.d.ts +9 -9
- package/lib/contracts/start-document-splitting.dto.js +2 -2
- package/lib/contracts/start-hs-classification-research.dto.d.ts +5 -5
- package/lib/contracts/start-hs-classification-research.dto.js +2 -2
- package/lib/contracts/start-hs-classifier.dto.d.ts +8 -8
- package/lib/contracts/start-hs-classifier.dto.js +2 -2
- package/lib/contracts/start-ocr.dto.d.ts +9 -9
- package/lib/contracts/start-ocr.dto.js +2 -2
- package/lib/contracts/start-post-processing.dto.d.ts +7 -7
- package/lib/contracts/start-post-processing.dto.js +2 -2
- package/lib/contracts/trigger-event.dto.d.ts +7 -7
- package/lib/contracts/trigger-event.dto.js +2 -2
- package/lib/helpers/cleanObject.d.ts +6 -6
- package/lib/helpers/cleanObject.js +28 -28
- package/lib/index.d.ts +2 -2
- package/lib/index.js +14 -14
- package/lib/models/common/address.model.d.ts +21 -21
- package/lib/models/common/address.model.js +13 -13
- package/lib/models/common/bbox.model.d.ts +22 -22
- package/lib/models/common/bbox.model.js +2 -2
- package/lib/models/common/classification-code.model.d.ts +5 -5
- package/lib/models/common/classification-code.model.js +2 -2
- package/lib/models/common/company.model.d.ts +18 -16
- package/lib/models/common/company.model.js +2 -2
- package/lib/models/common/currency.enum.d.ts +181 -181
- package/lib/models/common/currency.enum.js +185 -185
- package/lib/models/common/customs-tariff-number.model.d.ts +22 -22
- package/lib/models/common/customs-tariff-number.model.js +21 -21
- package/lib/models/common/date.model.d.ts +5 -5
- package/lib/models/common/date.model.js +2 -2
- package/lib/models/common/dialog-window.model.d.ts +6 -6
- package/lib/models/common/dialog-window.model.js +2 -2
- package/lib/models/common/extra-styles.model.d.ts +4 -4
- package/lib/models/common/extra-styles.model.js +2 -2
- package/lib/models/common/field-type.enum.d.ts +10 -10
- package/lib/models/common/field-type.enum.js +14 -14
- package/lib/models/common/filter.enum.d.ts +5 -5
- package/lib/models/common/filter.enum.js +9 -9
- package/lib/models/common/frontend-fields.model.d.ts +11 -11
- package/lib/models/common/frontend-fields.model.js +2 -2
- package/lib/models/common/fuzzy-input.d.ts +4 -4
- package/lib/models/common/fuzzy-input.js +2 -2
- package/lib/models/common/hs-classification-interaction.d.ts +30 -30
- package/lib/models/common/hs-classification-interaction.js +2 -2
- package/lib/models/common/hs-classification-response.d.ts +31 -31
- package/lib/models/common/hs-classification-response.js +2 -2
- package/lib/models/common/hs-code.model.d.ts +11 -11
- package/lib/models/common/hs-code.model.js +2 -2
- package/lib/models/common/index.d.ts +25 -25
- package/lib/models/common/index.js +41 -41
- package/lib/models/common/language.model.d.ts +4 -4
- package/lib/models/common/language.model.js +2 -2
- package/lib/models/common/meta.d.ts +42 -42
- package/lib/models/common/meta.js +9 -9
- package/lib/models/common/money.model.d.ts +11 -11
- package/lib/models/common/money.model.js +16 -16
- package/lib/models/common/multerfile.model.d.ts +12 -12
- package/lib/models/common/multerfile.model.js +2 -2
- package/lib/models/common/package-type.model.d.ts +10 -10
- package/lib/models/common/package-type.model.js +2 -2
- package/lib/models/common/periods.enum.d.ts +5 -5
- package/lib/models/common/periods.enum.js +9 -9
- package/lib/models/common/person.model.d.ts +12 -12
- package/lib/models/common/person.model.js +2 -2
- package/lib/models/common/prefix.enum.d.ts +5 -5
- package/lib/models/common/prefix.enum.js +10 -10
- package/lib/models/common/quantity.model.d.ts +15 -15
- package/lib/models/common/quantity.model.js +10 -10
- package/lib/models/common/section-type.enum.d.ts +12 -10
- package/lib/models/common/section-type.enum.js +16 -14
- package/lib/models/common/sort.enum.d.ts +4 -4
- package/lib/models/common/sort.enum.js +8 -8
- package/lib/models/common/subscription-price.model.d.ts +9 -9
- package/lib/models/common/subscription-price.model.js +2 -2
- package/lib/models/common/uom.enum.d.ts +39 -39
- package/lib/models/common/uom.enum.js +44 -44
- package/lib/models/common/weight-unit.enum.d.ts +9 -9
- package/lib/models/common/weight-unit.enum.js +13 -13
- package/lib/models/common/weight.model.d.ts +7 -7
- package/lib/models/common/weight.model.js +15 -15
- package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +12 -12
- package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
- package/lib/models/digicust/activity.model.d.ts +16 -16
- package/lib/models/digicust/activity.model.js +2 -2
- package/lib/models/digicust/adjustment.model.d.ts +7 -7
- package/lib/models/digicust/adjustment.model.js +2 -2
- package/lib/models/digicust/aggregated-case-data.model.d.ts +64 -59
- package/lib/models/digicust/aggregated-case-data.model.js +22 -22
- package/lib/models/digicust/case-status.enum.d.ts +22 -22
- package/lib/models/digicust/case-status.enum.js +26 -26
- package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
- package/lib/models/digicust/case-submission-transaction.js +19 -19
- package/lib/models/digicust/case-type.enum.d.ts +7 -7
- package/lib/models/digicust/case-type.enum.js +11 -11
- package/lib/models/digicust/case.model.d.ts +48 -49
- package/lib/models/digicust/case.model.js +26 -26
- package/lib/models/digicust/consignment-size.enum.d.ts +4 -4
- package/lib/models/digicust/consignment-size.enum.js +8 -8
- package/lib/models/digicust/container.model.d.ts +7 -7
- package/lib/models/digicust/container.model.js +2 -2
- package/lib/models/digicust/context.model.d.ts +9 -9
- package/lib/models/digicust/context.model.js +2 -2
- package/lib/models/digicust/custom-document.model.d.ts +8 -8
- package/lib/models/digicust/custom-document.model.js +2 -2
- package/lib/models/digicust/customer.model.d.ts +53 -53
- package/lib/models/digicust/customer.model.js +2 -2
- package/lib/models/digicust/customsOffice.model.d.ts +13 -13
- package/lib/models/digicust/customsOffice.model.js +12 -12
- package/lib/models/digicust/declaration.model.d.ts +4 -4
- package/lib/models/digicust/declaration.model.js +2 -2
- package/lib/models/digicust/digicust-document-type.enum.d.ts +10 -10
- package/lib/models/digicust/digicust-document-type.enum.js +14 -14
- package/lib/models/digicust/digicust-document.model.d.ts +42 -42
- package/lib/models/digicust/digicust-document.model.js +35 -35
- package/lib/models/digicust/document-status.enum.d.ts +29 -29
- package/lib/models/digicust/document-status.enum.js +35 -35
- package/lib/models/digicust/event.model.d.ts +42 -42
- package/lib/models/digicust/event.model.js +8 -8
- package/lib/models/digicust/execution-strategy.model.d.ts +53 -53
- package/lib/models/digicust/execution-strategy.model.js +15 -15
- package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
- package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
- package/lib/models/digicust/extractions/extraction.model.d.ts +35 -35
- package/lib/models/digicust/extractions/extraction.model.js +2 -2
- package/lib/models/digicust/extractions/index.d.ts +2 -2
- package/lib/models/digicust/extractions/index.js +14 -14
- package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
- package/lib/models/digicust/frontend-big-section.model.js +2 -2
- package/lib/models/digicust/frontend-group.model.d.ts +6 -6
- package/lib/models/digicust/frontend-group.model.js +2 -2
- package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
- package/lib/models/digicust/frontend-mapping.model.js +2 -2
- package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
- package/lib/models/digicust/frontend-small-section.mode.js +2 -2
- package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
- package/lib/models/digicust/hs-code-mapping.js +2 -2
- package/lib/models/digicust/incoterm.enum.d.ts +17 -17
- package/lib/models/digicust/incoterm.enum.js +21 -21
- package/lib/models/digicust/index.d.ts +43 -43
- package/lib/models/digicust/index.js +63 -63
- package/lib/models/digicust/invoice.model.d.ts +74 -74
- package/lib/models/digicust/invoice.model.js +2 -2
- package/lib/models/digicust/line-item.model.d.ts +80 -80
- package/lib/models/digicust/line-item.model.js +130 -128
- package/lib/models/digicust/load-type.enum.d.ts +14 -14
- package/lib/models/digicust/load-type.enum.js +19 -19
- package/lib/models/digicust/masterdata/index.d.ts +3 -3
- package/lib/models/digicust/masterdata/index.js +15 -15
- package/lib/models/digicust/masterdata/material.model.d.ts +106 -106
- package/lib/models/digicust/masterdata/material.model.js +2 -2
- package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -12
- package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -16
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +16 -16
- package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
- package/lib/models/digicust/mean-of-transportation.model.d.ts +27 -27
- package/lib/models/digicust/mean-of-transportation.model.js +21 -21
- package/lib/models/digicust/membership.model.d.ts +7 -7
- package/lib/models/digicust/membership.model.js +2 -2
- package/lib/models/digicust/module.model.d.ts +62 -62
- package/lib/models/digicust/module.model.js +17 -17
- package/lib/models/digicust/notification.model.d.ts +13 -0
- package/lib/models/digicust/{company.model.js → notification.model.js} +2 -2
- package/lib/models/digicust/notifications.model.d.ts +13 -13
- package/lib/models/digicust/notifications.model.js +2 -2
- package/lib/models/digicust/operationType.enum.d.ts +15 -15
- package/lib/models/digicust/operationType.enum.js +19 -19
- package/lib/models/digicust/package.model.d.ts +12 -12
- package/lib/models/digicust/package.model.js +2 -2
- package/lib/models/digicust/packingList.model.d.ts +33 -33
- package/lib/models/digicust/packingList.model.js +2 -2
- package/lib/models/digicust/procedure.model.d.ts +6 -6
- package/lib/models/digicust/procedure.model.js +2 -2
- package/lib/models/digicust/project.model.d.ts +25 -25
- package/lib/models/digicust/project.model.js +2 -2
- package/lib/models/digicust/queue-fields.model.d.ts +14 -14
- package/lib/models/digicust/queue-fields.model.js +2 -2
- package/lib/models/digicust/queue.model.d.ts +17 -17
- package/lib/models/digicust/queue.model.js +2 -2
- package/lib/models/digicust/report.model.d.ts +5 -5
- package/lib/models/digicust/report.model.js +2 -2
- package/lib/models/digicust/special-measure.model.d.ts +4 -4
- package/lib/models/digicust/special-measure.model.js +2 -2
- package/lib/models/digicust/stats-case.model.d.ts +12 -12
- package/lib/models/digicust/stats-case.model.js +2 -2
- package/lib/models/digicust/subscription-info.model.d.ts +13 -13
- package/lib/models/digicust/subscription-info.model.js +2 -2
- package/lib/models/digicust/subscription.model.d.ts +12 -12
- package/lib/models/digicust/subscription.model.js +2 -2
- package/lib/models/digicust/tax-details.model.d.ts +10 -10
- package/lib/models/digicust/tax-details.model.js +2 -2
- package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
- package/lib/models/digicust/type-of-business.enum.js +48 -48
- package/lib/models/digicust/type-of-business.model.d.ts +9 -9
- package/lib/models/digicust/type-of-business.model.js +2 -2
- package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
- package/lib/models/digicust/uploaded-file.model.js +2 -2
- package/lib/models/digicust/user.model.d.ts +18 -20
- package/lib/models/digicust/user.model.js +2 -20
- package/lib/models/digicust/waybill.model.d.ts +39 -39
- package/lib/models/digicust/waybill.model.js +11 -11
- package/lib/models/index.d.ts +4 -4
- package/lib/models/index.js +16 -16
- package/lib/models/ml/dexter/index.d.ts +1 -1
- package/lib/models/ml/dexter/index.js +13 -13
- package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
- package/lib/models/ml/dexter/text-detection.model.js +2 -2
- package/lib/models/ml/index.d.ts +2 -2
- package/lib/models/ml/index.js +14 -14
- package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
- package/lib/models/ml/machine-learning-model.model.js +2 -2
- package/lib/models/rossum/index.d.ts +12 -12
- package/lib/models/rossum/index.js +24 -24
- package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
- package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
- package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
- package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
- package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
- package/lib/models/rossum/rossum-document-data.model.js +2 -2
- package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
- package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
- package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
- package/lib/models/rossum/rossum-import-status.enum.js +18 -18
- package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
- package/lib/models/rossum/rossum-login-response.model.js +2 -2
- package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
- package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
- package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
- package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
- package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
- package/lib/models/rossum/rossum-pagination.model.js +2 -2
- package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
- package/lib/models/rossum/rossum-result-content.dto.js +2 -2
- package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
- package/lib/models/rossum/rossum-result-node.dto.js +2 -2
- package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
- package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
- package/package.json +35 -35
- package/readme.md +48 -48
- package/lib/models/digicust/activity.mode.d.ts +0 -18
- package/lib/models/digicust/activity.mode.js +0 -2
- package/lib/models/digicust/classification.model.d.ts +0 -14
- package/lib/models/digicust/classification.model.js +0 -10
- package/lib/models/digicust/company.model.d.ts +0 -4
- package/lib/models/digicust/submission-case-model.d.ts +0 -22
- package/lib/models/digicust/submission-case-model.js +0 -12
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Meta } from "../common";
|
|
2
|
-
export interface CustomsOffice extends Meta<any> {
|
|
3
|
-
code?: string;
|
|
4
|
-
officeType?: CustomsOfficeType;
|
|
5
|
-
}
|
|
6
|
-
export declare enum CustomsOfficeType {
|
|
7
|
-
entry = "Entry",
|
|
8
|
-
exit = "Exit",
|
|
9
|
-
export = "Export",
|
|
10
|
-
transit = "Transit",
|
|
11
|
-
import = "Import",
|
|
12
|
-
declaration = "Declaration"
|
|
13
|
-
}
|
|
1
|
+
import { Meta } from "../common";
|
|
2
|
+
export interface CustomsOffice extends Meta<any> {
|
|
3
|
+
code?: string;
|
|
4
|
+
officeType?: CustomsOfficeType;
|
|
5
|
+
}
|
|
6
|
+
export declare enum CustomsOfficeType {
|
|
7
|
+
entry = "Entry",
|
|
8
|
+
exit = "Exit",
|
|
9
|
+
export = "Export",
|
|
10
|
+
transit = "Transit",
|
|
11
|
+
import = "Import",
|
|
12
|
+
declaration = "Declaration"
|
|
13
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomsOfficeType = void 0;
|
|
4
|
-
var CustomsOfficeType;
|
|
5
|
-
(function (CustomsOfficeType) {
|
|
6
|
-
CustomsOfficeType["entry"] = "Entry";
|
|
7
|
-
CustomsOfficeType["exit"] = "Exit";
|
|
8
|
-
CustomsOfficeType["export"] = "Export";
|
|
9
|
-
CustomsOfficeType["transit"] = "Transit";
|
|
10
|
-
CustomsOfficeType["import"] = "Import";
|
|
11
|
-
CustomsOfficeType["declaration"] = "Declaration";
|
|
12
|
-
})(CustomsOfficeType = exports.CustomsOfficeType || (exports.CustomsOfficeType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomsOfficeType = void 0;
|
|
4
|
+
var CustomsOfficeType;
|
|
5
|
+
(function (CustomsOfficeType) {
|
|
6
|
+
CustomsOfficeType["entry"] = "Entry";
|
|
7
|
+
CustomsOfficeType["exit"] = "Exit";
|
|
8
|
+
CustomsOfficeType["export"] = "Export";
|
|
9
|
+
CustomsOfficeType["transit"] = "Transit";
|
|
10
|
+
CustomsOfficeType["import"] = "Import";
|
|
11
|
+
CustomsOfficeType["declaration"] = "Declaration";
|
|
12
|
+
})(CustomsOfficeType = exports.CustomsOfficeType || (exports.CustomsOfficeType = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface Declaration {
|
|
2
|
-
}
|
|
3
|
-
export interface DeclarationType1 extends Declaration {
|
|
4
|
-
}
|
|
1
|
+
export interface Declaration {
|
|
2
|
+
}
|
|
3
|
+
export interface DeclarationType1 extends Declaration {
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Identifies different document types
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DigicustDocumentType {
|
|
5
|
-
Invoice = "invoice",
|
|
6
|
-
Waybill = "waybill",
|
|
7
|
-
PackingList = "packingList",
|
|
8
|
-
TaxInvoice = "taxInvoice",
|
|
9
|
-
CustomDocument = "customDocument"
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Identifies different document types
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DigicustDocumentType {
|
|
5
|
+
Invoice = "invoice",
|
|
6
|
+
Waybill = "waybill",
|
|
7
|
+
PackingList = "packingList",
|
|
8
|
+
TaxInvoice = "taxInvoice",
|
|
9
|
+
CustomDocument = "customDocument"
|
|
10
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DigicustDocumentType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Identifies different document types
|
|
6
|
-
*/
|
|
7
|
-
var DigicustDocumentType;
|
|
8
|
-
(function (DigicustDocumentType) {
|
|
9
|
-
DigicustDocumentType["Invoice"] = "invoice";
|
|
10
|
-
DigicustDocumentType["Waybill"] = "waybill";
|
|
11
|
-
DigicustDocumentType["PackingList"] = "packingList";
|
|
12
|
-
DigicustDocumentType["TaxInvoice"] = "taxInvoice";
|
|
13
|
-
DigicustDocumentType["CustomDocument"] = "customDocument";
|
|
14
|
-
})(DigicustDocumentType = exports.DigicustDocumentType || (exports.DigicustDocumentType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DigicustDocumentType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Identifies different document types
|
|
6
|
+
*/
|
|
7
|
+
var DigicustDocumentType;
|
|
8
|
+
(function (DigicustDocumentType) {
|
|
9
|
+
DigicustDocumentType["Invoice"] = "invoice";
|
|
10
|
+
DigicustDocumentType["Waybill"] = "waybill";
|
|
11
|
+
DigicustDocumentType["PackingList"] = "packingList";
|
|
12
|
+
DigicustDocumentType["TaxInvoice"] = "taxInvoice";
|
|
13
|
+
DigicustDocumentType["CustomDocument"] = "customDocument";
|
|
14
|
+
})(DigicustDocumentType = exports.DigicustDocumentType || (exports.DigicustDocumentType = {}));
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
2
|
-
import { DocumentStatus, SubDocumentStatus, UserDocumentStatus } from "./document-status.enum";
|
|
3
|
-
import { RossumImportStatus } from "../rossum";
|
|
4
|
-
import { DateTimeModel } from "../common";
|
|
5
|
-
import { AnalyzerMetadataModel } from "./AnalyzerMetadataModel.model";
|
|
6
|
-
/**
|
|
7
|
-
* Base model for different types of documents (e.g. waybills, invoices, ...)
|
|
8
|
-
*/
|
|
9
|
-
export interface DigicustDocumentModel {
|
|
10
|
-
id?: string;
|
|
11
|
-
queueId?: string;
|
|
12
|
-
caseId?: string;
|
|
13
|
-
projectId?: string;
|
|
14
|
-
customerId?: string;
|
|
15
|
-
documentType?: DigicustDocumentType;
|
|
16
|
-
documentStatus?: DocumentStatus;
|
|
17
|
-
UserDocumentStatus?: UserDocumentStatus;
|
|
18
|
-
SubDocumentStatus?: SubDocumentStatus;
|
|
19
|
-
recievedAt?: Date;
|
|
20
|
-
code?: string;
|
|
21
|
-
reference?: string;
|
|
22
|
-
issueDate?: DateTimeModel;
|
|
23
|
-
isCondensed?: boolean;
|
|
24
|
-
[customField: string]: any;
|
|
25
|
-
analyzerMetadata?: AnalyzerMetadataModel;
|
|
26
|
-
modifiedBy?: {
|
|
27
|
-
id?: String;
|
|
28
|
-
displayName?: String;
|
|
29
|
-
date?: Date;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated
|
|
33
|
-
*/
|
|
34
|
-
rossumMetadata?: {
|
|
35
|
-
importStatus?: RossumImportStatus;
|
|
36
|
-
annotationId?: string;
|
|
37
|
-
queueId?: number;
|
|
38
|
-
exportOnConfirmed?: boolean;
|
|
39
|
-
};
|
|
40
|
-
fileName?: string;
|
|
41
|
-
}
|
|
42
|
-
export declare const condenseDocument: (document?: DigicustDocumentModel | undefined) => DigicustDocumentModel | null;
|
|
1
|
+
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
2
|
+
import { DocumentStatus, SubDocumentStatus, UserDocumentStatus } from "./document-status.enum";
|
|
3
|
+
import { RossumImportStatus } from "../rossum";
|
|
4
|
+
import { DateTimeModel } from "../common";
|
|
5
|
+
import { AnalyzerMetadataModel } from "./AnalyzerMetadataModel.model";
|
|
6
|
+
/**
|
|
7
|
+
* Base model for different types of documents (e.g. waybills, invoices, ...)
|
|
8
|
+
*/
|
|
9
|
+
export interface DigicustDocumentModel {
|
|
10
|
+
id?: string;
|
|
11
|
+
queueId?: string;
|
|
12
|
+
caseId?: string;
|
|
13
|
+
projectId?: string;
|
|
14
|
+
customerId?: string;
|
|
15
|
+
documentType?: DigicustDocumentType;
|
|
16
|
+
documentStatus?: DocumentStatus;
|
|
17
|
+
UserDocumentStatus?: UserDocumentStatus;
|
|
18
|
+
SubDocumentStatus?: SubDocumentStatus;
|
|
19
|
+
recievedAt?: Date;
|
|
20
|
+
code?: string;
|
|
21
|
+
reference?: string;
|
|
22
|
+
issueDate?: DateTimeModel;
|
|
23
|
+
isCondensed?: boolean;
|
|
24
|
+
[customField: string]: any;
|
|
25
|
+
analyzerMetadata?: AnalyzerMetadataModel;
|
|
26
|
+
modifiedBy?: {
|
|
27
|
+
id?: String;
|
|
28
|
+
displayName?: String;
|
|
29
|
+
date?: Date;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
34
|
+
rossumMetadata?: {
|
|
35
|
+
importStatus?: RossumImportStatus;
|
|
36
|
+
annotationId?: string;
|
|
37
|
+
queueId?: number;
|
|
38
|
+
exportOnConfirmed?: boolean;
|
|
39
|
+
};
|
|
40
|
+
fileName?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare const condenseDocument: (document?: DigicustDocumentModel | undefined) => DigicustDocumentModel | null;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.condenseDocument = void 0;
|
|
4
|
-
var digicust_document_type_enum_1 = require("./digicust-document-type.enum");
|
|
5
|
-
var line_item_model_1 = require("./line-item.model");
|
|
6
|
-
var condenseDocument = function (document) {
|
|
7
|
-
var doc = document
|
|
8
|
-
? {
|
|
9
|
-
id: document.id,
|
|
10
|
-
caseId: document.caseId,
|
|
11
|
-
documentType: document.documentType,
|
|
12
|
-
documentStatus: document.documentStatus,
|
|
13
|
-
code: document.code,
|
|
14
|
-
reference: document.reference,
|
|
15
|
-
issueDate: document.issueDate,
|
|
16
|
-
fileName: document.fileName,
|
|
17
|
-
analyzerMetadata: document.analyzerMetadata,
|
|
18
|
-
isCondensed: true,
|
|
19
|
-
}
|
|
20
|
-
: null;
|
|
21
|
-
if ((doc === null || doc === void 0 ? void 0 : doc.documentType) === digicust_document_type_enum_1.DigicustDocumentType.Invoice) {
|
|
22
|
-
var invoice = doc;
|
|
23
|
-
if (invoice.items) {
|
|
24
|
-
invoice.items = invoice.items.map(function (item) {
|
|
25
|
-
var lineItem = line_item_model_1.condenseLineItem(item);
|
|
26
|
-
if (!lineItem) {
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
|
-
return lineItem;
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return doc;
|
|
34
|
-
};
|
|
35
|
-
exports.condenseDocument = condenseDocument;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseDocument = void 0;
|
|
4
|
+
var digicust_document_type_enum_1 = require("./digicust-document-type.enum");
|
|
5
|
+
var line_item_model_1 = require("./line-item.model");
|
|
6
|
+
var condenseDocument = function (document) {
|
|
7
|
+
var doc = document
|
|
8
|
+
? {
|
|
9
|
+
id: document.id,
|
|
10
|
+
caseId: document.caseId,
|
|
11
|
+
documentType: document.documentType,
|
|
12
|
+
documentStatus: document.documentStatus,
|
|
13
|
+
code: document.code,
|
|
14
|
+
reference: document.reference,
|
|
15
|
+
issueDate: document.issueDate,
|
|
16
|
+
fileName: document.fileName,
|
|
17
|
+
analyzerMetadata: document.analyzerMetadata,
|
|
18
|
+
isCondensed: true,
|
|
19
|
+
}
|
|
20
|
+
: null;
|
|
21
|
+
if ((doc === null || doc === void 0 ? void 0 : doc.documentType) === digicust_document_type_enum_1.DigicustDocumentType.Invoice) {
|
|
22
|
+
var invoice = doc;
|
|
23
|
+
if (invoice.items) {
|
|
24
|
+
invoice.items = invoice.items.map(function (item) {
|
|
25
|
+
var lineItem = (0, line_item_model_1.condenseLineItem)(item);
|
|
26
|
+
if (!lineItem) {
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
return lineItem;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return doc;
|
|
34
|
+
};
|
|
35
|
+
exports.condenseDocument = condenseDocument;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Document Status for case document divided based on the usage
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DocumentStatus {
|
|
5
|
-
Initial = "initial",
|
|
6
|
-
Processing = "processing",
|
|
7
|
-
UserClassifying = "user-classifying",
|
|
8
|
-
Extracting = "extracting",
|
|
9
|
-
UserExtracting = "user-extracting",
|
|
10
|
-
Error = "error",
|
|
11
|
-
Finished = "finished",
|
|
12
|
-
Review = "review"
|
|
13
|
-
}
|
|
14
|
-
export declare enum UserDocumentStatus {
|
|
15
|
-
Aborted = "aborted",
|
|
16
|
-
Postponed = "postponed",
|
|
17
|
-
Confirmed = "confirmed",
|
|
18
|
-
Deleted = "deleted",
|
|
19
|
-
Rejected = "rejected",
|
|
20
|
-
Exported = "exported",
|
|
21
|
-
Testing = "testing",
|
|
22
|
-
Validate = "validate"
|
|
23
|
-
}
|
|
24
|
-
export declare enum SubDocumentStatus {
|
|
25
|
-
manual = "manual",
|
|
26
|
-
inProgress = "In Progress",
|
|
27
|
-
completed = "completed",
|
|
28
|
-
failed = "failed"
|
|
29
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Document Status for case document divided based on the usage
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DocumentStatus {
|
|
5
|
+
Initial = "initial",
|
|
6
|
+
Processing = "processing",
|
|
7
|
+
UserClassifying = "user-classifying",
|
|
8
|
+
Extracting = "extracting",
|
|
9
|
+
UserExtracting = "user-extracting",
|
|
10
|
+
Error = "error",
|
|
11
|
+
Finished = "finished",
|
|
12
|
+
Review = "review"
|
|
13
|
+
}
|
|
14
|
+
export declare enum UserDocumentStatus {
|
|
15
|
+
Aborted = "aborted",
|
|
16
|
+
Postponed = "postponed",
|
|
17
|
+
Confirmed = "confirmed",
|
|
18
|
+
Deleted = "deleted",
|
|
19
|
+
Rejected = "rejected",
|
|
20
|
+
Exported = "exported",
|
|
21
|
+
Testing = "testing",
|
|
22
|
+
Validate = "validate"
|
|
23
|
+
}
|
|
24
|
+
export declare enum SubDocumentStatus {
|
|
25
|
+
manual = "manual",
|
|
26
|
+
inProgress = "In Progress",
|
|
27
|
+
completed = "completed",
|
|
28
|
+
failed = "failed"
|
|
29
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Document Status for case document divided based on the usage
|
|
6
|
-
*/
|
|
7
|
-
var DocumentStatus;
|
|
8
|
-
(function (DocumentStatus) {
|
|
9
|
-
DocumentStatus["Initial"] = "initial";
|
|
10
|
-
DocumentStatus["Processing"] = "processing";
|
|
11
|
-
DocumentStatus["UserClassifying"] = "user-classifying";
|
|
12
|
-
DocumentStatus["Extracting"] = "extracting";
|
|
13
|
-
DocumentStatus["UserExtracting"] = "user-extracting";
|
|
14
|
-
DocumentStatus["Error"] = "error";
|
|
15
|
-
DocumentStatus["Finished"] = "finished";
|
|
16
|
-
DocumentStatus["Review"] = "review";
|
|
17
|
-
})(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
|
|
18
|
-
var UserDocumentStatus;
|
|
19
|
-
(function (UserDocumentStatus) {
|
|
20
|
-
UserDocumentStatus["Aborted"] = "aborted";
|
|
21
|
-
UserDocumentStatus["Postponed"] = "postponed";
|
|
22
|
-
UserDocumentStatus["Confirmed"] = "confirmed";
|
|
23
|
-
UserDocumentStatus["Deleted"] = "deleted";
|
|
24
|
-
UserDocumentStatus["Rejected"] = "rejected";
|
|
25
|
-
UserDocumentStatus["Exported"] = "exported";
|
|
26
|
-
UserDocumentStatus["Testing"] = "testing";
|
|
27
|
-
UserDocumentStatus["Validate"] = "validate";
|
|
28
|
-
})(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
|
|
29
|
-
var SubDocumentStatus;
|
|
30
|
-
(function (SubDocumentStatus) {
|
|
31
|
-
SubDocumentStatus["manual"] = "manual";
|
|
32
|
-
SubDocumentStatus["inProgress"] = "In Progress";
|
|
33
|
-
SubDocumentStatus["completed"] = "completed";
|
|
34
|
-
SubDocumentStatus["failed"] = "failed";
|
|
35
|
-
})(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Document Status for case document divided based on the usage
|
|
6
|
+
*/
|
|
7
|
+
var DocumentStatus;
|
|
8
|
+
(function (DocumentStatus) {
|
|
9
|
+
DocumentStatus["Initial"] = "initial";
|
|
10
|
+
DocumentStatus["Processing"] = "processing";
|
|
11
|
+
DocumentStatus["UserClassifying"] = "user-classifying";
|
|
12
|
+
DocumentStatus["Extracting"] = "extracting";
|
|
13
|
+
DocumentStatus["UserExtracting"] = "user-extracting";
|
|
14
|
+
DocumentStatus["Error"] = "error";
|
|
15
|
+
DocumentStatus["Finished"] = "finished";
|
|
16
|
+
DocumentStatus["Review"] = "review";
|
|
17
|
+
})(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
|
|
18
|
+
var UserDocumentStatus;
|
|
19
|
+
(function (UserDocumentStatus) {
|
|
20
|
+
UserDocumentStatus["Aborted"] = "aborted";
|
|
21
|
+
UserDocumentStatus["Postponed"] = "postponed";
|
|
22
|
+
UserDocumentStatus["Confirmed"] = "confirmed";
|
|
23
|
+
UserDocumentStatus["Deleted"] = "deleted";
|
|
24
|
+
UserDocumentStatus["Rejected"] = "rejected";
|
|
25
|
+
UserDocumentStatus["Exported"] = "exported";
|
|
26
|
+
UserDocumentStatus["Testing"] = "testing";
|
|
27
|
+
UserDocumentStatus["Validate"] = "validate";
|
|
28
|
+
})(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
|
|
29
|
+
var SubDocumentStatus;
|
|
30
|
+
(function (SubDocumentStatus) {
|
|
31
|
+
SubDocumentStatus["manual"] = "manual";
|
|
32
|
+
SubDocumentStatus["inProgress"] = "In Progress";
|
|
33
|
+
SubDocumentStatus["completed"] = "completed";
|
|
34
|
+
SubDocumentStatus["failed"] = "failed";
|
|
35
|
+
})(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base model of an event (e.g. webhook or email)
|
|
3
|
-
*/
|
|
4
|
-
export interface Event {
|
|
5
|
-
checkpoint?: string;
|
|
6
|
-
suppressMultipleExecutions?: boolean;
|
|
7
|
-
type?: "webhook" | "email";
|
|
8
|
-
}
|
|
9
|
-
export declare enum EventType {
|
|
10
|
-
webhook = "webhook",
|
|
11
|
-
mail = "email"
|
|
12
|
-
}
|
|
13
|
-
export interface WebhookEvent extends Event {
|
|
14
|
-
type: "webhook";
|
|
15
|
-
url?: string;
|
|
16
|
-
method?: "get" | "post" | "patch" | "delete" | "put";
|
|
17
|
-
body?: any;
|
|
18
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
19
|
-
bodyMapping?: string;
|
|
20
|
-
contentType?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface EmailEvent extends Event {
|
|
23
|
-
type: "email";
|
|
24
|
-
emailAddress?: string;
|
|
25
|
-
body?: any;
|
|
26
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
27
|
-
bodyMapping?: string;
|
|
28
|
-
attachDocuments?: {
|
|
29
|
-
active?: boolean;
|
|
30
|
-
};
|
|
31
|
-
attachCase?: {
|
|
32
|
-
active?: boolean;
|
|
33
|
-
format?: "JSON" | "CSV" | "XML" | "TXT";
|
|
34
|
-
csvSeparator?: string;
|
|
35
|
-
includeHeaders?: boolean;
|
|
36
|
-
removeAccents?: boolean;
|
|
37
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
38
|
-
fileNameMapping?: string;
|
|
39
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
40
|
-
mapping?: string;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Base model of an event (e.g. webhook or email)
|
|
3
|
+
*/
|
|
4
|
+
export interface Event {
|
|
5
|
+
checkpoint?: string;
|
|
6
|
+
suppressMultipleExecutions?: boolean;
|
|
7
|
+
type?: "webhook" | "email";
|
|
8
|
+
}
|
|
9
|
+
export declare enum EventType {
|
|
10
|
+
webhook = "webhook",
|
|
11
|
+
mail = "email"
|
|
12
|
+
}
|
|
13
|
+
export interface WebhookEvent extends Event {
|
|
14
|
+
type: "webhook";
|
|
15
|
+
url?: string;
|
|
16
|
+
method?: "get" | "post" | "patch" | "delete" | "put";
|
|
17
|
+
body?: any;
|
|
18
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
19
|
+
bodyMapping?: string;
|
|
20
|
+
contentType?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface EmailEvent extends Event {
|
|
23
|
+
type: "email";
|
|
24
|
+
emailAddress?: string;
|
|
25
|
+
body?: any;
|
|
26
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
27
|
+
bodyMapping?: string;
|
|
28
|
+
attachDocuments?: {
|
|
29
|
+
active?: boolean;
|
|
30
|
+
};
|
|
31
|
+
attachCase?: {
|
|
32
|
+
active?: boolean;
|
|
33
|
+
format?: "JSON" | "CSV" | "XML" | "TXT";
|
|
34
|
+
csvSeparator?: string;
|
|
35
|
+
includeHeaders?: boolean;
|
|
36
|
+
removeAccents?: boolean;
|
|
37
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
38
|
+
fileNameMapping?: string;
|
|
39
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
40
|
+
mapping?: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventType = void 0;
|
|
4
|
-
var EventType;
|
|
5
|
-
(function (EventType) {
|
|
6
|
-
EventType["webhook"] = "webhook";
|
|
7
|
-
EventType["mail"] = "email";
|
|
8
|
-
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventType = void 0;
|
|
4
|
+
var EventType;
|
|
5
|
+
(function (EventType) {
|
|
6
|
+
EventType["webhook"] = "webhook";
|
|
7
|
+
EventType["mail"] = "email";
|
|
8
|
+
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
2
|
-
import { Event } from "./event.model";
|
|
3
|
-
/**
|
|
4
|
-
* Execution strategies are customer-configurable plans on how to process a specific case.
|
|
5
|
-
*/
|
|
6
|
-
export interface ExecutionStrategy {
|
|
7
|
-
id?: string;
|
|
8
|
-
alias?: string;
|
|
9
|
-
moduleId?: string;
|
|
10
|
-
customerId?: string;
|
|
11
|
-
projectId?: string;
|
|
12
|
-
isCondensed?: boolean;
|
|
13
|
-
subscriptionId?: string;
|
|
14
|
-
procedureCode?: string;
|
|
15
|
-
whitelistedImportEmails?: string[];
|
|
16
|
-
defaultClassification?: DigicustDocumentType;
|
|
17
|
-
dataExtraction?: {
|
|
18
|
-
active?: boolean;
|
|
19
|
-
classification?: {
|
|
20
|
-
/** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
|
|
21
|
-
automateOnMinConfidence?: boolean;
|
|
22
|
-
/** Value between 1 (very confident) to 0 (no confidence) */
|
|
23
|
-
automateMinConfidence?: number;
|
|
24
|
-
};
|
|
25
|
-
exportOnConfirmedStrategy?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated
|
|
28
|
-
*/
|
|
29
|
-
rossumExportOnConfirmed?: boolean;
|
|
30
|
-
overrideQueues?: {
|
|
31
|
-
documentType: string;
|
|
32
|
-
queue: number;
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
dataNormalization?: {
|
|
36
|
-
active?: boolean;
|
|
37
|
-
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
|
38
|
-
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
|
39
|
-
};
|
|
40
|
-
hsClassification?: {
|
|
41
|
-
active?: boolean;
|
|
42
|
-
research?: boolean;
|
|
43
|
-
};
|
|
44
|
-
dakosySubmission?: {
|
|
45
|
-
active?: boolean;
|
|
46
|
-
};
|
|
47
|
-
dataIntegration?: {
|
|
48
|
-
active?: boolean;
|
|
49
|
-
};
|
|
50
|
-
events: Event[];
|
|
51
|
-
automated?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
|
|
1
|
+
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
2
|
+
import { Event } from "./event.model";
|
|
3
|
+
/**
|
|
4
|
+
* Execution strategies are customer-configurable plans on how to process a specific case.
|
|
5
|
+
*/
|
|
6
|
+
export interface ExecutionStrategy {
|
|
7
|
+
id?: string;
|
|
8
|
+
alias?: string;
|
|
9
|
+
moduleId?: string;
|
|
10
|
+
customerId?: string;
|
|
11
|
+
projectId?: string;
|
|
12
|
+
isCondensed?: boolean;
|
|
13
|
+
subscriptionId?: string;
|
|
14
|
+
procedureCode?: string;
|
|
15
|
+
whitelistedImportEmails?: string[];
|
|
16
|
+
defaultClassification?: DigicustDocumentType;
|
|
17
|
+
dataExtraction?: {
|
|
18
|
+
active?: boolean;
|
|
19
|
+
classification?: {
|
|
20
|
+
/** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
|
|
21
|
+
automateOnMinConfidence?: boolean;
|
|
22
|
+
/** Value between 1 (very confident) to 0 (no confidence) */
|
|
23
|
+
automateMinConfidence?: number;
|
|
24
|
+
};
|
|
25
|
+
exportOnConfirmedStrategy?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated
|
|
28
|
+
*/
|
|
29
|
+
rossumExportOnConfirmed?: boolean;
|
|
30
|
+
overrideQueues?: {
|
|
31
|
+
documentType: string;
|
|
32
|
+
queue: number;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
dataNormalization?: {
|
|
36
|
+
active?: boolean;
|
|
37
|
+
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
|
38
|
+
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
|
39
|
+
};
|
|
40
|
+
hsClassification?: {
|
|
41
|
+
active?: boolean;
|
|
42
|
+
research?: boolean;
|
|
43
|
+
};
|
|
44
|
+
dakosySubmission?: {
|
|
45
|
+
active?: boolean;
|
|
46
|
+
};
|
|
47
|
+
dataIntegration?: {
|
|
48
|
+
active?: boolean;
|
|
49
|
+
};
|
|
50
|
+
events: Event[];
|
|
51
|
+
automated?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.condenseExecutionStrategy = void 0;
|
|
4
|
-
var condenseExecutionStrategy = function (strategy) {
|
|
5
|
-
return strategy
|
|
6
|
-
? {
|
|
7
|
-
id: strategy.id,
|
|
8
|
-
alias: strategy.alias,
|
|
9
|
-
customerId: strategy.customerId,
|
|
10
|
-
subscriptionId: strategy.subscriptionId,
|
|
11
|
-
isCondensed: true,
|
|
12
|
-
}
|
|
13
|
-
: null;
|
|
14
|
-
};
|
|
15
|
-
exports.condenseExecutionStrategy = condenseExecutionStrategy;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseExecutionStrategy = void 0;
|
|
4
|
+
var condenseExecutionStrategy = function (strategy) {
|
|
5
|
+
return strategy
|
|
6
|
+
? {
|
|
7
|
+
id: strategy.id,
|
|
8
|
+
alias: strategy.alias,
|
|
9
|
+
customerId: strategy.customerId,
|
|
10
|
+
subscriptionId: strategy.subscriptionId,
|
|
11
|
+
isCondensed: true,
|
|
12
|
+
}
|
|
13
|
+
: null;
|
|
14
|
+
};
|
|
15
|
+
exports.condenseExecutionStrategy = condenseExecutionStrategy;
|