digicust_types 1.8.349 → 1.8.351
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/cognitive-search/cosmos-metadata.d.ts +6 -0
- package/lib/models/cognitive-search/cosmos-metadata.js +2 -0
- package/lib/models/cognitive-search/index.d.ts +6 -0
- package/lib/models/cognitive-search/index.js +22 -0
- package/lib/models/cognitive-search/material-number-search-document.d.ts +21 -0
- package/lib/models/cognitive-search/material-number-search-document.js +2 -0
- package/lib/models/cognitive-search/searchable-string-field.d.ts +7 -0
- package/lib/models/cognitive-search/searchable-string-field.js +2 -0
- package/lib/models/cognitive-search/tariff-number-field.d.ts +8 -0
- package/lib/models/cognitive-search/tariff-number-field.js +2 -0
- package/lib/models/cognitive-search/tariff-number-search-document.d.ts +33 -0
- package/lib/models/cognitive-search/tariff-number-search-document.js +2 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +17 -33
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.js +1 -0
- package/package.json +1 -1
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./cosmos-metadata"), exports);
|
18
|
+
__exportStar(require("./searchable-string-field"), exports);
|
19
|
+
__exportStar(require("./material-number-search-document"), exports);
|
20
|
+
__exportStar(require("./searchable-string-field"), exports);
|
21
|
+
__exportStar(require("./tariff-number-field"), exports);
|
22
|
+
__exportStar(require("./tariff-number-search-document"), exports);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { CosmosMetadata } from "./cosmos-metadata";
|
2
|
+
import { SearchableStringField } from "./searchable-string-field";
|
3
|
+
export interface MaterialNumberSearchDocument extends CosmosMetadata {
|
4
|
+
id: string;
|
5
|
+
customerId?: string;
|
6
|
+
projectId?: string;
|
7
|
+
shipperId?: string;
|
8
|
+
description?: {
|
9
|
+
value: string | null;
|
10
|
+
};
|
11
|
+
buyerOrderNumber: {
|
12
|
+
userEditedSearchValue: string | null;
|
13
|
+
userEditedValue: string | null;
|
14
|
+
userEdited: boolean;
|
15
|
+
};
|
16
|
+
buyerArticleNumber: SearchableStringField;
|
17
|
+
code: SearchableStringField;
|
18
|
+
materialNumber: SearchableStringField;
|
19
|
+
matchingType: "materialNumber";
|
20
|
+
hasAnyUserEditedProperties?: boolean;
|
21
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { CosmosMetadata } from "./cosmos-metadata";
|
2
|
+
import { TariffNumberField } from "./tariff-number-field";
|
3
|
+
export interface TariffNumberSearchDocument extends CosmosMetadata {
|
4
|
+
id: string;
|
5
|
+
customerId?: string;
|
6
|
+
projectId?: string;
|
7
|
+
shipperId?: string;
|
8
|
+
consigneeId?: string;
|
9
|
+
recipientId?: string;
|
10
|
+
beneficiaryId?: string;
|
11
|
+
applicantId?: string;
|
12
|
+
declarantId?: string;
|
13
|
+
importerId?: string;
|
14
|
+
exporterId?: string;
|
15
|
+
buyerId?: string;
|
16
|
+
agentId?: string;
|
17
|
+
brokerId?: string;
|
18
|
+
carrierId?: string;
|
19
|
+
warehouseId?: string;
|
20
|
+
obligaterId?: string;
|
21
|
+
recipients?: {
|
22
|
+
id: string;
|
23
|
+
name: string;
|
24
|
+
}[];
|
25
|
+
description?: {
|
26
|
+
value: string | null;
|
27
|
+
};
|
28
|
+
customsTariffNumber: TariffNumberField;
|
29
|
+
matchingType: "tariffNumber";
|
30
|
+
shipperCountry: string;
|
31
|
+
destinationCountry: string;
|
32
|
+
hasAnyUserEditedProperties?: boolean;
|
33
|
+
}
|
@@ -398,6 +398,10 @@ export interface ExecutionStrategy {
|
|
398
398
|
* If update mode is active, the descriptions will be replaced on each update (except if the new description is empty)
|
399
399
|
*/
|
400
400
|
persistItemDescriptions?: boolean;
|
401
|
+
/**
|
402
|
+
* This is always persisted for tariff number based master data, but needs to be explicitly enabled for material based master data
|
403
|
+
*/
|
404
|
+
persistCustomsTariffNumbersForMaterialBasedMasterData?: boolean;
|
401
405
|
/**
|
402
406
|
* Controls how history data is configured and managed
|
403
407
|
*/
|
@@ -406,11 +410,6 @@ export interface ExecutionStrategy {
|
|
406
410
|
* Maximum number of entries to keep in each history. Default: 10
|
407
411
|
*/
|
408
412
|
maxHistoryEntries?: number;
|
409
|
-
/**
|
410
|
-
* If true, identical consecutive entries will be merged to save space
|
411
|
-
* Default: false
|
412
|
-
*/
|
413
|
-
mergeIdenticalEntries?: boolean;
|
414
413
|
/**
|
415
414
|
* If true, recipients will be tracked in the history with NO limit(!). Needs to be true for useRecipientOrImporter to work for matching
|
416
415
|
*/
|
@@ -428,15 +427,15 @@ export interface ExecutionStrategy {
|
|
428
427
|
*/
|
429
428
|
prices?: boolean;
|
430
429
|
};
|
430
|
+
};
|
431
|
+
/**
|
432
|
+
* Controls document code integration from different sources.
|
433
|
+
*/
|
434
|
+
documentCodeIntegration?: {
|
431
435
|
/**
|
432
|
-
*
|
436
|
+
* Allowed sources for document code derivation
|
433
437
|
*/
|
434
|
-
|
435
|
-
/**
|
436
|
-
* Allowed sources for document code derivation
|
437
|
-
*/
|
438
|
-
allowedSources?: DocumentCodeSource[];
|
439
|
-
};
|
438
|
+
allowedSources?: DocumentCodeSource[];
|
440
439
|
};
|
441
440
|
/**
|
442
441
|
* Controls how additional material properties are handled
|
@@ -459,30 +458,15 @@ export interface ExecutionStrategy {
|
|
459
458
|
*/
|
460
459
|
updateUnitOfMeasurement?: boolean;
|
461
460
|
/**
|
462
|
-
*
|
461
|
+
* If true, net weights from items will update material net weight
|
462
|
+
* Default: true
|
463
463
|
*/
|
464
|
-
|
465
|
-
/**
|
466
|
-
* If true, net weights from items will update material net weight
|
467
|
-
* Default: true
|
468
|
-
*/
|
469
|
-
updateNetWeight?: boolean;
|
470
|
-
/**
|
471
|
-
* If true, gross weights from items will update material gross weight
|
472
|
-
* Default: true
|
473
|
-
*/
|
474
|
-
updateGrossWeight?: boolean;
|
475
|
-
};
|
476
|
-
};
|
477
|
-
/**
|
478
|
-
* Quality requirements for material master data
|
479
|
-
*/
|
480
|
-
materialQualityRequirements?: {
|
464
|
+
updateNetWeight?: boolean;
|
481
465
|
/**
|
482
|
-
*
|
483
|
-
*
|
466
|
+
* If true, gross weights from items will update material gross weight
|
467
|
+
* Default: true
|
484
468
|
*/
|
485
|
-
|
469
|
+
updateGrossWeight?: boolean;
|
486
470
|
};
|
487
471
|
};
|
488
472
|
};
|
package/lib/models/index.d.ts
CHANGED
package/lib/models/index.js
CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./digicust"), exports);
|
18
|
+
__exportStar(require("./cognitive-search"), exports);
|
18
19
|
__exportStar(require("./rossum"), exports);
|
19
20
|
__exportStar(require("./ml"), exports);
|
20
21
|
__exportStar(require("./taric"), exports);
|