digicust_types 1.8.512 → 1.8.513
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/execution-strategy/execution-strategy.model.d.ts +2 -0
- package/lib/models/digicust/execution-strategy/index.d.ts +1 -0
- package/lib/models/digicust/execution-strategy/index.js +1 -0
- package/lib/models/digicust/execution-strategy/merge-line-item-mode.enum.d.ts +8 -0
- package/lib/models/digicust/execution-strategy/merge-line-item-mode.enum.js +18 -0
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, Event,
|
|
2
2
|
import { UserInputTemplate } from "../userInputTemplate";
|
3
3
|
import { Submission } from "./sftp-config.model";
|
4
4
|
import { UploadWidget } from "./uploadWidget";
|
5
|
+
import { MergeLineItemModeEnum } from "./merge-line-item-mode.enum";
|
5
6
|
/**
|
6
7
|
* Execution strategies are customer-configurable plans on how to process a specific case.
|
7
8
|
*/
|
@@ -156,6 +157,7 @@ export interface ExecutionStrategy {
|
|
156
157
|
removeStakeholderContactInformation?: {
|
157
158
|
active?: boolean;
|
158
159
|
};
|
160
|
+
mergeLineItemMode?: MergeLineItemModeEnum;
|
159
161
|
ignoreLineItemsFromInvoice?: boolean;
|
160
162
|
ignoreLineItemsFromTransitDeclaration?: boolean;
|
161
163
|
ignoreLineItemsWithoutInvoice?: boolean;
|
@@ -20,3 +20,4 @@ __exportStar(require("./sftp-config.model"), exports);
|
|
20
20
|
__exportStar(require("./resolved-rule"), exports);
|
21
21
|
__exportStar(require("./ruleCatalogItem"), exports);
|
22
22
|
__exportStar(require("./condition"), exports);
|
23
|
+
__exportStar(require("./merge-line-item-mode.enum"), exports);
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare enum MergeLineItemModeEnum {
|
2
|
+
standard = "standard",
|
3
|
+
extended = "extended",
|
4
|
+
pickInvoiceItems = "pickInvoiceItems",
|
5
|
+
pickPackageListItems = "pickPackageListItems",
|
6
|
+
pickDeliveryNoteItems = "pickDeliveryNoteItems",
|
7
|
+
pickExportDeclarationItems = "pickExportDeclarationItems"
|
8
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MergeLineItemModeEnum = void 0;
|
4
|
+
var MergeLineItemModeEnum;
|
5
|
+
(function (MergeLineItemModeEnum) {
|
6
|
+
// Default behavior, disables merging if exportDeclarations, importDeclarations, transitDeclarations or turkishExportDeclarations exist
|
7
|
+
MergeLineItemModeEnum["standard"] = "standard";
|
8
|
+
// Try to merge even if exportDeclarations, importDeclarations, transitDeclarations or turkishExportDeclarations exist
|
9
|
+
MergeLineItemModeEnum["extended"] = "extended";
|
10
|
+
// Pick only invoice items without merging, if any invoice items exist (else fallback to "standard" behavior)
|
11
|
+
MergeLineItemModeEnum["pickInvoiceItems"] = "pickInvoiceItems";
|
12
|
+
// Pick only packagelist items without merging, if any packinglists exist (else fallback to "standard" behavior)
|
13
|
+
MergeLineItemModeEnum["pickPackageListItems"] = "pickPackageListItems";
|
14
|
+
// Pick only deliverynote items without merging, if any deliverynotes exist (else fallback to "standard" behavior)
|
15
|
+
MergeLineItemModeEnum["pickDeliveryNoteItems"] = "pickDeliveryNoteItems";
|
16
|
+
// Pick only exportDeclaration/turkishExportDeclaration items without merging, if any deliverynotes exist (else fallback to "standard" behavior)
|
17
|
+
MergeLineItemModeEnum["pickExportDeclarationItems"] = "pickExportDeclarationItems";
|
18
|
+
})(MergeLineItemModeEnum || (exports.MergeLineItemModeEnum = MergeLineItemModeEnum = {}));
|