digicust_types 1.7.229 → 1.7.232
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/activity/activity.model.d.ts +16 -0
- package/lib/models/digicust/activity/activity.model.js +2 -0
- package/lib/models/digicust/activity/index.d.ts +1 -0
- package/lib/models/digicust/activity/index.js +17 -0
- package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.d.ts +13 -0
- package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.js +2 -0
- package/lib/models/digicust/analyzer/index.d.ts +1 -0
- package/lib/models/digicust/analyzer/index.js +17 -0
- package/lib/models/digicust/billing/index.d.ts +4 -0
- package/lib/models/digicust/billing/index.js +20 -0
- package/lib/models/digicust/billing/periods.enum.d.ts +5 -0
- package/lib/models/digicust/billing/periods.enum.js +9 -0
- package/lib/models/digicust/billing/subscription-info.model.d.ts +12 -0
- package/lib/models/digicust/billing/subscription-info.model.js +2 -0
- package/lib/models/digicust/billing/subscription-price.model.d.ts +9 -0
- package/lib/models/digicust/billing/subscription-price.model.js +2 -0
- package/lib/models/digicust/billing/subscription.model.d.ts +11 -0
- package/lib/models/digicust/billing/subscription.model.js +2 -0
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +74 -0
- package/lib/models/digicust/case/aggregated-case-data.model.js +24 -0
- package/lib/models/digicust/case/case-status.enum.d.ts +22 -0
- package/lib/models/digicust/case/case-status.enum.js +26 -0
- package/lib/models/digicust/case/case-submission-transaction.d.ts +29 -0
- package/lib/models/digicust/case/case-submission-transaction.js +19 -0
- package/lib/models/digicust/case/case-type.enum.d.ts +8 -0
- package/lib/models/digicust/case/case-type.enum.js +12 -0
- package/lib/models/digicust/case/case.model.d.ts +50 -0
- package/lib/models/digicust/case/case.model.js +24 -0
- package/lib/models/digicust/case/context.model.d.ts +9 -0
- package/lib/models/digicust/case/context.model.js +2 -0
- package/lib/models/digicust/case/index.d.ts +8 -0
- package/lib/models/digicust/case/index.js +24 -0
- package/lib/models/digicust/case/stats-case.model.d.ts +12 -0
- package/lib/models/digicust/case/stats-case.model.js +2 -0
- package/lib/models/digicust/case/uploaded-file.model.d.ts +10 -0
- package/lib/models/digicust/case/uploaded-file.model.js +2 -0
- package/lib/models/digicust/company/company.model.d.ts +26 -0
- package/lib/models/digicust/company/company.model.js +2 -0
- package/lib/models/digicust/company/index.d.ts +2 -0
- package/lib/models/digicust/company/index.js +18 -0
- package/lib/models/digicust/company/permit-number.model.d.ts +13 -0
- package/lib/models/digicust/company/permit-number.model.js +10 -0
- package/lib/models/digicust/customer/customer.model.d.ts +55 -0
- package/lib/models/digicust/customer/customer.model.js +2 -0
- package/lib/models/digicust/customer/index.d.ts +2 -0
- package/lib/models/digicust/customer/index.js +18 -0
- package/lib/models/digicust/customer/project.model.d.ts +30 -0
- package/lib/models/digicust/customer/project.model.js +8 -0
- package/lib/models/digicust/customs/adjustment.model.d.ts +7 -0
- package/lib/models/digicust/customs/adjustment.model.js +2 -0
- package/lib/models/digicust/customs/consignment-size.enum.d.ts +4 -0
- package/lib/models/digicust/customs/consignment-size.enum.js +8 -0
- package/lib/models/digicust/customs/customsOffice.model.d.ts +18 -0
- package/lib/models/digicust/customs/customsOffice.model.js +12 -0
- package/lib/models/digicust/customs/deferment-account.model.d.ts +15 -0
- package/lib/models/digicust/customs/deferment-account.model.js +2 -0
- package/lib/models/digicust/customs/eori.model.d.ts +8 -0
- package/lib/models/digicust/customs/eori.model.js +2 -0
- package/lib/models/digicust/customs/index.d.ts +13 -0
- package/lib/models/digicust/customs/index.js +29 -0
- package/lib/models/digicust/customs/operation-type.enum.d.ts +15 -0
- package/lib/models/digicust/customs/operation-type.enum.js +19 -0
- package/lib/models/digicust/customs/preference/index.d.ts +1 -0
- package/lib/models/digicust/customs/preference/index.js +17 -0
- package/lib/models/digicust/customs/preference/preference-state.model.d.ts +23 -0
- package/lib/models/digicust/customs/preference/preference-state.model.js +2 -0
- package/lib/models/digicust/customs/procedure.model.d.ts +17 -0
- package/lib/models/digicust/customs/procedure.model.js +10 -0
- package/lib/models/digicust/customs/special-measure.model.d.ts +7 -0
- package/lib/models/digicust/customs/special-measure.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/classification-code.model.d.ts +5 -0
- package/lib/models/digicust/customs/tariff-number/classification-code.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.d.ts +25 -0
- package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.js +21 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.d.ts +30 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-response.d.ts +31 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-response.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-code-mapping.d.ts +26 -0
- package/lib/models/digicust/customs/tariff-number/hs-code-mapping.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-code.model.d.ts +11 -0
- package/lib/models/digicust/customs/tariff-number/hs-code.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/index.d.ts +6 -0
- package/lib/models/digicust/customs/tariff-number/index.js +22 -0
- package/lib/models/digicust/customs/tax-details.model.d.ts +10 -0
- package/lib/models/digicust/customs/tax-details.model.js +2 -0
- package/lib/models/digicust/customs/transit-item.model.d.ts +25 -0
- package/lib/models/digicust/customs/transit-item.model.js +66 -0
- package/lib/models/digicust/customs/type-of-business/index.d.ts +2 -0
- package/lib/models/digicust/customs/type-of-business/index.js +18 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.d.ts +44 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.js +48 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.model.d.ts +11 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.model.js +2 -0
- package/lib/models/digicust/documents/digicust-document.model.d.ts +2 -5
- package/lib/models/digicust/documents/document-code.model.d.ts +7 -1
- package/lib/models/digicust/documents/invoice.model.d.ts +1 -2
- package/lib/models/digicust/documents/line-item-containing-document.d.ts +1 -1
- package/lib/models/digicust/documents/packing-list.model.d.ts +1 -2
- package/lib/models/digicust/event/event.model.d.ts +64 -0
- package/lib/models/digicust/event/event.model.js +10 -0
- package/lib/models/digicust/event/index.d.ts +1 -0
- package/lib/models/digicust/event/index.js +17 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +104 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.js +15 -0
- package/lib/models/digicust/execution-strategy/index.d.ts +1 -0
- package/lib/models/digicust/execution-strategy/index.js +17 -0
- package/lib/models/digicust/frontend/dialog-window.model.d.ts +6 -0
- package/lib/models/digicust/frontend/dialog-window.model.js +2 -0
- package/lib/models/digicust/frontend/extra-styles.model.d.ts +4 -0
- package/lib/models/digicust/frontend/extra-styles.model.js +2 -0
- package/lib/models/digicust/frontend/field-type.enum.d.ts +10 -0
- package/lib/models/digicust/frontend/field-type.enum.js +14 -0
- package/lib/models/digicust/frontend/filter.enum.d.ts +8 -0
- package/lib/models/digicust/frontend/filter.enum.js +12 -0
- package/lib/models/digicust/frontend/frontend-big-section.model.d.ts +13 -0
- package/lib/models/digicust/frontend/frontend-big-section.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-fields.model.d.ts +11 -0
- package/lib/models/digicust/frontend/frontend-fields.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-group.model.d.ts +6 -0
- package/lib/models/digicust/frontend/frontend-group.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-mapping.model.d.ts +4 -0
- package/lib/models/digicust/frontend/frontend-mapping.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-small-section.mode.d.ts +9 -0
- package/lib/models/digicust/frontend/frontend-small-section.mode.js +2 -0
- package/lib/models/digicust/frontend/index.d.ts +12 -0
- package/lib/models/digicust/frontend/index.js +28 -0
- package/lib/models/digicust/frontend/prefix.enum.d.ts +5 -0
- package/lib/models/digicust/frontend/prefix.enum.js +10 -0
- package/lib/models/digicust/frontend/section-type.enum.d.ts +12 -0
- package/lib/models/digicust/frontend/section-type.enum.js +16 -0
- package/lib/models/digicust/frontend/sort.enum.d.ts +4 -0
- package/lib/models/digicust/frontend/sort.enum.js +8 -0
- package/lib/models/digicust/index.d.ts +21 -42
- package/lib/models/digicust/index.js +22 -52
- package/lib/models/digicust/line-item/index.d.ts +1 -0
- package/lib/models/digicust/line-item/index.js +17 -0
- package/lib/models/digicust/line-item/line-item.model.d.ts +78 -0
- package/lib/models/digicust/line-item/line-item.model.js +17 -0
- package/lib/models/digicust/masterdata/material.model.d.ts +1 -2
- package/lib/models/digicust/masterdata/stakeholder-match-input.d.ts +1 -1
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +9 -4
- package/lib/models/digicust/measures/address.model.d.ts +23 -0
- package/lib/models/digicust/measures/address.model.js +13 -0
- package/lib/models/digicust/measures/date.model.d.ts +5 -0
- package/lib/models/digicust/measures/date.model.js +2 -0
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.d.ts +7 -0
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.js +11 -0
- package/lib/models/digicust/measures/dimensions/dimensions.model.d.ts +8 -0
- package/lib/models/digicust/measures/dimensions/dimensions.model.js +2 -0
- package/lib/models/digicust/measures/dimensions/index.d.ts +2 -0
- package/lib/models/digicust/measures/dimensions/index.js +18 -0
- package/lib/models/digicust/measures/index.d.ts +9 -0
- package/lib/models/digicust/measures/index.js +25 -0
- package/lib/models/digicust/measures/language.model.d.ts +4 -0
- package/lib/models/digicust/measures/language.model.js +2 -0
- package/lib/models/digicust/measures/money/currency.enum.d.ts +181 -0
- package/lib/models/digicust/measures/money/currency.enum.js +185 -0
- package/lib/models/digicust/measures/money/index.d.ts +2 -0
- package/lib/models/digicust/measures/money/index.js +18 -0
- package/lib/models/digicust/measures/money/money.model.d.ts +11 -0
- package/lib/models/digicust/measures/money/money.model.js +16 -0
- package/lib/models/digicust/measures/person.model.d.ts +12 -0
- package/lib/models/digicust/measures/person.model.js +2 -0
- package/lib/models/digicust/measures/quantity.model.d.ts +17 -0
- package/lib/models/digicust/measures/quantity.model.js +10 -0
- package/lib/models/digicust/measures/unit-of-measurement/index.d.ts +2 -0
- package/lib/models/digicust/measures/unit-of-measurement/index.js +18 -0
- package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.d.ts +10 -0
- package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.js +2 -0
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.d.ts +39 -0
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.js +44 -0
- package/lib/models/digicust/measures/weight/index.d.ts +2 -0
- package/lib/models/digicust/measures/weight/index.js +18 -0
- package/lib/models/digicust/measures/weight/weight-unit.enum.d.ts +10 -0
- package/lib/models/digicust/measures/weight/weight-unit.enum.js +14 -0
- package/lib/models/digicust/measures/weight/weight.model.d.ts +7 -0
- package/lib/models/digicust/measures/weight/weight.model.js +15 -0
- package/lib/models/digicust/meta/bbox.model.d.ts +22 -0
- package/lib/models/digicust/meta/bbox.model.js +2 -0
- package/lib/models/digicust/meta/fuzzy-input.d.ts +4 -0
- package/lib/models/digicust/meta/fuzzy-input.js +2 -0
- package/lib/models/digicust/meta/index.d.ts +4 -0
- package/lib/models/digicust/meta/index.js +20 -0
- package/lib/models/digicust/meta/meta.d.ts +35 -0
- package/lib/models/digicust/meta/meta.js +13 -0
- package/lib/models/digicust/meta/workflow.d.ts +23 -0
- package/lib/models/digicust/meta/workflow.js +2 -0
- package/lib/models/digicust/module/index.d.ts +1 -0
- package/lib/models/digicust/module/index.js +17 -0
- package/lib/models/digicust/module/module.model.d.ts +49 -0
- package/lib/models/digicust/module/module.model.js +27 -0
- package/lib/models/digicust/multerfile.model.d.ts +12 -0
- package/lib/models/digicust/multerfile.model.js +2 -0
- package/lib/models/digicust/notification/index.d.ts +1 -0
- package/lib/models/digicust/notification/index.js +17 -0
- package/lib/models/digicust/notification/notifications.model.d.ts +13 -0
- package/lib/models/digicust/notification/notifications.model.js +2 -0
- package/lib/models/digicust/queue/extractions/extraction-grid.model.d.ts +22 -0
- package/lib/models/digicust/queue/extractions/extraction-grid.model.js +2 -0
- package/lib/models/digicust/queue/extractions/extraction.model.d.ts +65 -0
- package/lib/models/digicust/queue/extractions/extraction.model.js +2 -0
- package/lib/models/digicust/queue/extractions/index.d.ts +2 -0
- package/lib/models/digicust/queue/extractions/index.js +18 -0
- package/lib/models/digicust/queue/index.d.ts +3 -0
- package/lib/models/digicust/queue/index.js +19 -0
- package/lib/models/digicust/queue/queue-fields.model.d.ts +15 -0
- package/lib/models/digicust/queue/queue-fields.model.js +2 -0
- package/lib/models/digicust/queue/queue.model.d.ts +18 -0
- package/lib/models/digicust/queue/queue.model.js +2 -0
- package/lib/models/digicust/transportation/container.model.d.ts +7 -0
- package/lib/models/digicust/transportation/container.model.js +2 -0
- package/lib/models/digicust/transportation/cost-intersection.model.d.ts +20 -0
- package/lib/models/digicust/transportation/cost-intersection.model.js +16 -0
- package/lib/models/digicust/transportation/incoterm.model.d.ts +25 -0
- package/lib/models/digicust/transportation/incoterm.model.js +21 -0
- package/lib/models/digicust/transportation/index.d.ts +7 -0
- package/lib/models/digicust/transportation/index.js +23 -0
- package/lib/models/digicust/transportation/load-type.enum.d.ts +14 -0
- package/lib/models/digicust/transportation/load-type.enum.js +19 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.d.ts +34 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.js +21 -0
- package/lib/models/digicust/transportation/package-type.model.d.ts +10 -0
- package/lib/models/digicust/transportation/package-type.model.js +2 -0
- package/lib/models/digicust/transportation/package.model.d.ts +17 -0
- package/lib/models/digicust/transportation/package.model.js +2 -0
- package/lib/models/digicust/user/index.d.ts +2 -0
- package/lib/models/digicust/user/index.js +18 -0
- package/lib/models/digicust/user/membership.model.d.ts +7 -0
- package/lib/models/digicust/user/membership.model.js +2 -0
- package/lib/models/digicust/user/user.model.d.ts +18 -0
- package/lib/models/digicust/user/user.model.js +2 -0
- package/lib/models/index.d.ts +0 -1
- package/lib/models/index.js +0 -1
- package/lib/models/ml/machine-learning-model.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseTransitLineItem = void 0;
|
|
4
|
+
var __1 = require("..");
|
|
5
|
+
var cleanObject_1 = require("../../../helpers/cleanObject");
|
|
6
|
+
var condenseTransitLineItem = function (transitItem) {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
if (transitItem) {
|
|
9
|
+
var condensedTransitLineItem = {
|
|
10
|
+
id: transitItem.id,
|
|
11
|
+
documentId: transitItem.documentId,
|
|
12
|
+
caseId: transitItem.caseId,
|
|
13
|
+
description: transitItem.description
|
|
14
|
+
? (0, __1.condenseMeta)(transitItem.description)
|
|
15
|
+
: transitItem.description,
|
|
16
|
+
customsTariffNumber: transitItem.customsTariffNumber
|
|
17
|
+
? (0, __1.condenseCustomsTariffNumber)(transitItem.customsTariffNumber)
|
|
18
|
+
: transitItem.customsTariffNumber,
|
|
19
|
+
totalValue: transitItem.totalValue
|
|
20
|
+
? (0, __1.condenseMoney)(transitItem.totalValue)
|
|
21
|
+
: transitItem.totalValue,
|
|
22
|
+
customsValue: transitItem.customsValue
|
|
23
|
+
? (0, __1.condenseMoney)(transitItem.customsValue)
|
|
24
|
+
: transitItem.customsValue,
|
|
25
|
+
netWeight: transitItem.netWeight
|
|
26
|
+
? (0, __1.condenseWeight)(transitItem.netWeight)
|
|
27
|
+
: transitItem.netWeight,
|
|
28
|
+
grossWeight: transitItem.grossWeight
|
|
29
|
+
? (0, __1.condenseWeight)(transitItem.grossWeight)
|
|
30
|
+
: transitItem.grossWeight,
|
|
31
|
+
weight: transitItem.weight
|
|
32
|
+
? (0, __1.condenseWeight)(transitItem.weight)
|
|
33
|
+
: transitItem.weight,
|
|
34
|
+
packingList: transitItem.packingList
|
|
35
|
+
? (0, __1.condenseMeta)(transitItem.packingList)
|
|
36
|
+
: transitItem.packingList,
|
|
37
|
+
countryOfOrigin: transitItem.countryOfOrigin
|
|
38
|
+
? (0, __1.condenseAddress)(transitItem.countryOfOrigin)
|
|
39
|
+
: transitItem.countryOfOrigin,
|
|
40
|
+
procedure: transitItem.procedure
|
|
41
|
+
? (0, __1.condenseMeta)(transitItem.procedure)
|
|
42
|
+
: transitItem.procedure,
|
|
43
|
+
preliminaryDocuments: transitItem.preliminaryDocuments
|
|
44
|
+
? (_a = transitItem.preliminaryDocuments) === null || _a === void 0 ? void 0 : _a.map(function (document) {
|
|
45
|
+
return (0, __1.condenseDocument)(document);
|
|
46
|
+
})
|
|
47
|
+
: transitItem.preliminaryDocuments,
|
|
48
|
+
containers: transitItem.containers
|
|
49
|
+
? (_b = transitItem.containers) === null || _b === void 0 ? void 0 : _b.map(function (container) { return (0, __1.condenseMeta)(container); })
|
|
50
|
+
: transitItem.containers,
|
|
51
|
+
reference: transitItem.reference
|
|
52
|
+
? (0, __1.condenseMeta)(transitItem.reference)
|
|
53
|
+
: transitItem.reference,
|
|
54
|
+
shipperCountry: transitItem.shipperCountry
|
|
55
|
+
? (0, __1.condenseMeta)(transitItem.shipperCountry)
|
|
56
|
+
: transitItem.shipperCountry,
|
|
57
|
+
destinationCountry: transitItem.destinationCountry
|
|
58
|
+
? (0, __1.condenseMeta)(transitItem.destinationCountry)
|
|
59
|
+
: transitItem.destinationCountry,
|
|
60
|
+
};
|
|
61
|
+
(0, cleanObject_1.cleanObject)(condensedTransitLineItem);
|
|
62
|
+
return condensedTransitLineItem;
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
};
|
|
66
|
+
exports.condenseTransitLineItem = condenseTransitLineItem;
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./type-of-business.enum"), exports);
|
|
18
|
+
__exportStar(require("./type-of-business.model"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare enum TypeOfBusinessType {
|
|
2
|
+
/** Endgültiger Kauf */
|
|
3
|
+
Purchase = "purchase",
|
|
4
|
+
/** probesendung */
|
|
5
|
+
Sample = "sample",
|
|
6
|
+
/** Tauschhandel */
|
|
7
|
+
Barter = "barter",
|
|
8
|
+
/** Mietkauf */
|
|
9
|
+
Leasing = "leasing",
|
|
10
|
+
/** Sonstige Geschäfte mit */
|
|
11
|
+
OtherBusinessWithTransferOfOwnershipOrCompensation = "otherPurchaseWithTransferOfOwnershipOrCompensation",
|
|
12
|
+
/** Rücksendung */
|
|
13
|
+
Return = "return",
|
|
14
|
+
/** Ersatz mit Rücksendung */
|
|
15
|
+
Replacement = "replacement",
|
|
16
|
+
/** Ersatz ohne Rücksendung (z.B. Garantie) */
|
|
17
|
+
Compensation = "compensation",
|
|
18
|
+
/** Sonstige Rücksendungen oder unentgeltliche Lieferungen */
|
|
19
|
+
OtherReplacementsOrCompensations = "otherReplacementOrCompensation",
|
|
20
|
+
/** Sonstige Geschäfte mit Eigentumsübertragung jedoch ohne Gegenleistung */
|
|
21
|
+
OtherBusinessWithTranferOwnershipWithoutCompensation = "otherPurchaseWithTranferOwnershipWithoutCompensation",
|
|
22
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich ins Ausfuhrland zurückkommen */
|
|
23
|
+
ContractProcessingComingBackToOrigin = "contractProcessingComingBackToOrigin",
|
|
24
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich NICHT ins Ausfuhrland zurückkommen */
|
|
25
|
+
ContractProcessingNotComingBackToOrigin = "contractProcessingNotComingBackToOrigin",
|
|
26
|
+
/** Warensendung zur Reparatur oder wartung */
|
|
27
|
+
Repair = "repair",
|
|
28
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich ins Ausfuhrland zurückkommen */
|
|
29
|
+
AfterContractProcessingComingBackToOrigin = "afterContractProcessingComingBackToOrigin",
|
|
30
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich NICHT ins Ausfuhrland zurückkommen */
|
|
31
|
+
AfterContractProcessingNotComingBackToOrigin = "afterContractProcessingNotComingBackToOrigin",
|
|
32
|
+
/** Warensendung zur Reparatur oder wartung */
|
|
33
|
+
AfterRepair = "afterRepair",
|
|
34
|
+
/** Spezielle für nationale Zwecke kodierte Geschäfte */
|
|
35
|
+
SpecialNationalInterests = "specialNationalInterests",
|
|
36
|
+
/** Warensendung im Rahmen gemeinsamer Verteidigungsprogramme oder anderer gemeinsamer zwischenstaatlicher Programme */
|
|
37
|
+
InternationalPrograms = "internationalPrograms",
|
|
38
|
+
/** Lieferung Baumaterial und Ausrüstungen im Rahmen von Bau- und Anlagebauarbeiten als Teil eines Generalvertrages */
|
|
39
|
+
GeneralAgreement = "generalAgreement",
|
|
40
|
+
/** Andere Mietgeschäfte, Leihe und Operate Leasing über mehr als 24 Monate */
|
|
41
|
+
OtherRentalBusiness = "otherRentalBusiness",
|
|
42
|
+
/** Sonstige Geschäfte */
|
|
43
|
+
OtherBusiness = "otherBusiness"
|
|
44
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeOfBusinessType = void 0;
|
|
4
|
+
var TypeOfBusinessType;
|
|
5
|
+
(function (TypeOfBusinessType) {
|
|
6
|
+
/** Endgültiger Kauf */
|
|
7
|
+
TypeOfBusinessType["Purchase"] = "purchase";
|
|
8
|
+
/** probesendung */
|
|
9
|
+
TypeOfBusinessType["Sample"] = "sample";
|
|
10
|
+
/** Tauschhandel */
|
|
11
|
+
TypeOfBusinessType["Barter"] = "barter";
|
|
12
|
+
/** Mietkauf */
|
|
13
|
+
TypeOfBusinessType["Leasing"] = "leasing";
|
|
14
|
+
/** Sonstige Geschäfte mit */
|
|
15
|
+
TypeOfBusinessType["OtherBusinessWithTransferOfOwnershipOrCompensation"] = "otherPurchaseWithTransferOfOwnershipOrCompensation";
|
|
16
|
+
/** Rücksendung */
|
|
17
|
+
TypeOfBusinessType["Return"] = "return";
|
|
18
|
+
/** Ersatz mit Rücksendung */
|
|
19
|
+
TypeOfBusinessType["Replacement"] = "replacement";
|
|
20
|
+
/** Ersatz ohne Rücksendung (z.B. Garantie) */
|
|
21
|
+
TypeOfBusinessType["Compensation"] = "compensation";
|
|
22
|
+
/** Sonstige Rücksendungen oder unentgeltliche Lieferungen */
|
|
23
|
+
TypeOfBusinessType["OtherReplacementsOrCompensations"] = "otherReplacementOrCompensation";
|
|
24
|
+
/** Sonstige Geschäfte mit Eigentumsübertragung jedoch ohne Gegenleistung */
|
|
25
|
+
TypeOfBusinessType["OtherBusinessWithTranferOwnershipWithoutCompensation"] = "otherPurchaseWithTranferOwnershipWithoutCompensation";
|
|
26
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich ins Ausfuhrland zurückkommen */
|
|
27
|
+
TypeOfBusinessType["ContractProcessingComingBackToOrigin"] = "contractProcessingComingBackToOrigin";
|
|
28
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich NICHT ins Ausfuhrland zurückkommen */
|
|
29
|
+
TypeOfBusinessType["ContractProcessingNotComingBackToOrigin"] = "contractProcessingNotComingBackToOrigin";
|
|
30
|
+
/** Warensendung zur Reparatur oder wartung */
|
|
31
|
+
TypeOfBusinessType["Repair"] = "repair";
|
|
32
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich ins Ausfuhrland zurückkommen */
|
|
33
|
+
TypeOfBusinessType["AfterContractProcessingComingBackToOrigin"] = "afterContractProcessingComingBackToOrigin";
|
|
34
|
+
/** Warensendungen zur Lohnveredelung, die voraussichtlich NICHT ins Ausfuhrland zurückkommen */
|
|
35
|
+
TypeOfBusinessType["AfterContractProcessingNotComingBackToOrigin"] = "afterContractProcessingNotComingBackToOrigin";
|
|
36
|
+
/** Warensendung zur Reparatur oder wartung */
|
|
37
|
+
TypeOfBusinessType["AfterRepair"] = "afterRepair";
|
|
38
|
+
/** Spezielle für nationale Zwecke kodierte Geschäfte */
|
|
39
|
+
TypeOfBusinessType["SpecialNationalInterests"] = "specialNationalInterests";
|
|
40
|
+
/** Warensendung im Rahmen gemeinsamer Verteidigungsprogramme oder anderer gemeinsamer zwischenstaatlicher Programme */
|
|
41
|
+
TypeOfBusinessType["InternationalPrograms"] = "internationalPrograms";
|
|
42
|
+
/** Lieferung Baumaterial und Ausrüstungen im Rahmen von Bau- und Anlagebauarbeiten als Teil eines Generalvertrages */
|
|
43
|
+
TypeOfBusinessType["GeneralAgreement"] = "generalAgreement";
|
|
44
|
+
/** Andere Mietgeschäfte, Leihe und Operate Leasing über mehr als 24 Monate */
|
|
45
|
+
TypeOfBusinessType["OtherRentalBusiness"] = "otherRentalBusiness";
|
|
46
|
+
/** Sonstige Geschäfte */
|
|
47
|
+
TypeOfBusinessType["OtherBusiness"] = "otherBusiness";
|
|
48
|
+
})(TypeOfBusinessType = exports.TypeOfBusinessType || (exports.TypeOfBusinessType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from "../..";
|
|
2
|
+
import { TypeOfBusinessType } from "./type-of-business.enum";
|
|
3
|
+
/**
|
|
4
|
+
* Information about type of business
|
|
5
|
+
*/
|
|
6
|
+
export interface TypeOfBusiness extends Meta<TypeOfBusinessType> {
|
|
7
|
+
/** Code Austria */
|
|
8
|
+
NC_25000?: string;
|
|
9
|
+
/** German Code */
|
|
10
|
+
DE_A1150?: string;
|
|
11
|
+
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ClassificationStatus, DigicustDocumentType, DocumentCode, DocumentStatus, SubDocumentStatus, UserDocumentStatus } from "..";
|
|
2
|
-
import {
|
|
3
|
-
import { AnalyzerMetadataModel } from "../AnalyzerMetadataModel.model";
|
|
4
|
-
import { ProcessingModel } from "../extractions/extraction.model";
|
|
5
|
-
import { UploadedFileModel } from "../uploaded-file.model";
|
|
1
|
+
import { ClassificationStatus, DigicustDocumentType, DocumentCode, DocumentStatus, SubDocumentStatus, UserDocumentStatus, DateTimeModel, AnalyzerMetadataModel, ProcessingModel, UploadedFileModel } from "..";
|
|
2
|
+
import { RossumImportStatus } from "../..";
|
|
6
3
|
/**
|
|
7
4
|
* Base model for different types of documents (e.g. waybills, invoices, ...)
|
|
8
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from "
|
|
1
|
+
import { Meta } from "..";
|
|
2
2
|
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
3
3
|
/**
|
|
4
4
|
* Coding of documents
|
|
@@ -9,5 +9,11 @@ export interface DocumentCode extends Meta<DigicustDocumentType> {
|
|
|
9
9
|
DE_I0200?: string;
|
|
10
10
|
/** Bescheinigungsbereich */
|
|
11
11
|
DE_I0200_Bereich?: string;
|
|
12
|
+
/** Unterlagen */
|
|
13
|
+
DE_I0136?: string;
|
|
14
|
+
DE_I0136_Qualifier?: string;
|
|
15
|
+
DE_I0136_Reference?: string;
|
|
16
|
+
DE_I0136_Addition?: string;
|
|
17
|
+
DE_I0136_Detail?: string;
|
|
12
18
|
description?: string;
|
|
13
19
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness } from "..";
|
|
1
|
+
import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness, CustomsTariffNumber } from "..";
|
|
2
2
|
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "../..";
|
|
3
|
-
import { CustomsTariffNumber } from "../../common";
|
|
4
3
|
import { InvoiceLanguage } from "./invoice-language.enum";
|
|
5
4
|
import { LineItemContainingDocument } from "./line-item-containing-document";
|
|
6
5
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight } from "
|
|
1
|
+
import { CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, LineItemModel } from "..";
|
|
2
2
|
import { DigicustDocumentModel } from "./digicust-document.model";
|
|
3
|
-
import { LineItemModel } from "../line-item.model";
|
|
4
3
|
export interface PackingListModel extends DigicustDocumentModel {
|
|
5
4
|
shipper?: CompanyModel;
|
|
6
5
|
invoiceRecipient?: CompanyModel;
|
|
@@ -0,0 +1,64 @@
|
|
|
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?: EventType;
|
|
8
|
+
}
|
|
9
|
+
export declare enum EventType {
|
|
10
|
+
webhook = "webhook",
|
|
11
|
+
mail = "email",
|
|
12
|
+
sftp = "sftp",
|
|
13
|
+
mountedSFTP = "mountedSFTP"
|
|
14
|
+
}
|
|
15
|
+
export interface WebhookEvent extends Event {
|
|
16
|
+
type: EventType.webhook;
|
|
17
|
+
url?: string;
|
|
18
|
+
method?: "get" | "post" | "patch" | "delete" | "put";
|
|
19
|
+
body?: any;
|
|
20
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
21
|
+
bodyMapping?: string;
|
|
22
|
+
contentType?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface SFTPEvent extends Event {
|
|
25
|
+
type: EventType.sftp;
|
|
26
|
+
/** How to map the data */
|
|
27
|
+
caseFileMapping: CaseFileMapping;
|
|
28
|
+
"sftp-password": string;
|
|
29
|
+
"sftp-login-name": string;
|
|
30
|
+
"sftp-port": string;
|
|
31
|
+
"sftp-dns-name": string;
|
|
32
|
+
"sftp-path": string;
|
|
33
|
+
}
|
|
34
|
+
export interface EmailEvent extends Event {
|
|
35
|
+
type: EventType.mail;
|
|
36
|
+
emailAddress?: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
39
|
+
titleMapping?: string;
|
|
40
|
+
body?: any;
|
|
41
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
42
|
+
bodyMapping?: string;
|
|
43
|
+
attachDocuments?: {
|
|
44
|
+
active?: boolean;
|
|
45
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
46
|
+
fileNameMapping?: string;
|
|
47
|
+
};
|
|
48
|
+
attachCase?: {
|
|
49
|
+
active?: boolean;
|
|
50
|
+
} & CaseFileMapping;
|
|
51
|
+
}
|
|
52
|
+
export interface CaseFileMapping {
|
|
53
|
+
format?: "JSON" | "CSV" | "XML" | "TXT";
|
|
54
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
55
|
+
fileNameMapping?: string;
|
|
56
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
57
|
+
mapping?: string;
|
|
58
|
+
/** Delimiter for CSV mapping */
|
|
59
|
+
csvSeparator?: string;
|
|
60
|
+
/** Include headers in CSV */
|
|
61
|
+
includeHeaders?: boolean;
|
|
62
|
+
/** Remove non-latin symbols */
|
|
63
|
+
removeAccents?: boolean;
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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["sftp"] = "sftp";
|
|
9
|
+
EventType["mountedSFTP"] = "mountedSFTP";
|
|
10
|
+
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./event.model";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./event.model"), exports);
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { DigicustDocumentType, Event, ProcedureMode, CustomsTariffNumberNormalizationSettings } from "..";
|
|
2
|
+
/**
|
|
3
|
+
* Execution strategies are customer-configurable plans on how to process a specific case.
|
|
4
|
+
*/
|
|
5
|
+
export interface ExecutionStrategy {
|
|
6
|
+
id?: string;
|
|
7
|
+
alias?: string;
|
|
8
|
+
moduleId?: string;
|
|
9
|
+
customerId?: string;
|
|
10
|
+
projectId?: string;
|
|
11
|
+
isCondensed?: boolean;
|
|
12
|
+
subscriptionId?: string;
|
|
13
|
+
procedureCode?: string;
|
|
14
|
+
importViaSFTP?: {
|
|
15
|
+
active?: boolean;
|
|
16
|
+
"sftp-password"?: string;
|
|
17
|
+
"sftp-login-name"?: string;
|
|
18
|
+
"sftp-port"?: string;
|
|
19
|
+
"sftp-dns-name"?: string;
|
|
20
|
+
"sftp-inbound"?: string;
|
|
21
|
+
"sftp-outbound"?: string;
|
|
22
|
+
};
|
|
23
|
+
whitelistedImportEmails?: string[];
|
|
24
|
+
defaultClassification?: DigicustDocumentType;
|
|
25
|
+
defaultProcedureMode?: ProcedureMode;
|
|
26
|
+
dataExtraction?: {
|
|
27
|
+
active?: boolean;
|
|
28
|
+
exportOnConfirmedStrategy?: boolean;
|
|
29
|
+
queueMapping?: {
|
|
30
|
+
documentType: DigicustDocumentType;
|
|
31
|
+
queueId: string;
|
|
32
|
+
}[];
|
|
33
|
+
classification?: {
|
|
34
|
+
/** Defines whether a classification shall be assumed correct
|
|
35
|
+
* if a specific confidence level is reached */
|
|
36
|
+
automateOnMinConfidence?: boolean;
|
|
37
|
+
/** Value between 1 (very confident) to 0 (no confidence) */
|
|
38
|
+
automateMinConfidence?: number;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated
|
|
42
|
+
*/
|
|
43
|
+
rossumExportOnConfirmed?: boolean;
|
|
44
|
+
/** for rossum */
|
|
45
|
+
overrideQueues?: {
|
|
46
|
+
documentType: string;
|
|
47
|
+
queue: number;
|
|
48
|
+
}[];
|
|
49
|
+
};
|
|
50
|
+
dataNormalization?: {
|
|
51
|
+
active?: boolean;
|
|
52
|
+
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
|
53
|
+
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
|
54
|
+
allowDateInOrderNumber?: boolean;
|
|
55
|
+
customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
|
|
56
|
+
};
|
|
57
|
+
dataValidation?: {
|
|
58
|
+
active?: boolean;
|
|
59
|
+
};
|
|
60
|
+
hsClassification?: {
|
|
61
|
+
active?: boolean;
|
|
62
|
+
research?: boolean;
|
|
63
|
+
};
|
|
64
|
+
/** @deprecated */
|
|
65
|
+
dakosySubmission?: {
|
|
66
|
+
active?: boolean;
|
|
67
|
+
};
|
|
68
|
+
dataIntegration?: {
|
|
69
|
+
active?: boolean;
|
|
70
|
+
};
|
|
71
|
+
pseudonymization?: {
|
|
72
|
+
active?: boolean;
|
|
73
|
+
interval?: number;
|
|
74
|
+
time?: number;
|
|
75
|
+
};
|
|
76
|
+
isProcessWithDextor: boolean;
|
|
77
|
+
submission?: {
|
|
78
|
+
active?: boolean;
|
|
79
|
+
vendor?: "dakosy";
|
|
80
|
+
config?: {
|
|
81
|
+
"sftp-password"?: string;
|
|
82
|
+
"sftp-login-name"?: string;
|
|
83
|
+
"sftp-port"?: string;
|
|
84
|
+
"sftp-dns-name"?: string;
|
|
85
|
+
"sftp-inbound"?: string;
|
|
86
|
+
"sftp-outbound"?: string;
|
|
87
|
+
"partner-id"?: string;
|
|
88
|
+
};
|
|
89
|
+
} | {
|
|
90
|
+
active?: boolean;
|
|
91
|
+
vendor?: "aeb";
|
|
92
|
+
config?: {
|
|
93
|
+
"client-name"?: string;
|
|
94
|
+
"user-name"?: string;
|
|
95
|
+
password?: string;
|
|
96
|
+
endpoint?: string;
|
|
97
|
+
"client-system-id"?: string;
|
|
98
|
+
"client-ident-code"?: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
events: Event[];
|
|
102
|
+
automated?: boolean;
|
|
103
|
+
}
|
|
104
|
+
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
|
|
@@ -0,0 +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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./execution-strategy.model";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./execution-strategy.model"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FieldType = void 0;
|
|
4
|
+
var FieldType;
|
|
5
|
+
(function (FieldType) {
|
|
6
|
+
FieldType["text"] = "text";
|
|
7
|
+
FieldType["date"] = "date";
|
|
8
|
+
FieldType["currency"] = "currency";
|
|
9
|
+
FieldType["weight"] = "weight";
|
|
10
|
+
FieldType["dimensions"] = "dimensions";
|
|
11
|
+
FieldType["phoneNumber"] = "phoneNumber";
|
|
12
|
+
FieldType["email"] = "email";
|
|
13
|
+
FieldType["address"] = "address";
|
|
14
|
+
})(FieldType = exports.FieldType || (exports.FieldType = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterCondition = void 0;
|
|
4
|
+
var FilterCondition;
|
|
5
|
+
(function (FilterCondition) {
|
|
6
|
+
FilterCondition["greaterThan"] = "greaterThan";
|
|
7
|
+
FilterCondition["smallerThan"] = "smallerThan";
|
|
8
|
+
FilterCondition["equals"] = "equals";
|
|
9
|
+
FilterCondition["startsWith"] = "startsWith";
|
|
10
|
+
FilterCondition["endsWith"] = "endsWith";
|
|
11
|
+
FilterCondition["contains"] = "contains";
|
|
12
|
+
})(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DigicustDocumentType } from "..";
|
|
2
|
+
import { FrontendSmallSection } from "./frontend-small-section.mode";
|
|
3
|
+
export interface FrontendBigSection {
|
|
4
|
+
title: String;
|
|
5
|
+
icon: String;
|
|
6
|
+
documentType?: DigicustDocumentType;
|
|
7
|
+
subInfo: Array<{
|
|
8
|
+
title: String;
|
|
9
|
+
boxes: Array<String>;
|
|
10
|
+
}>;
|
|
11
|
+
sections: Array<FrontendSmallSection>;
|
|
12
|
+
pagination: Boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FieldType } from "./field-type.enum";
|
|
2
|
+
import { FieldPrefix } from "./prefix.enum";
|
|
3
|
+
export interface FrontendFields {
|
|
4
|
+
path?: String;
|
|
5
|
+
value?: String;
|
|
6
|
+
label?: String;
|
|
7
|
+
reviewNeeded?: Array<Boolean>;
|
|
8
|
+
type: FieldType;
|
|
9
|
+
format?: String;
|
|
10
|
+
prefix?: FieldPrefix;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DialogWindow, ExtraStyles, FrontendFields, SectionType, FrontendGroup } from "..";
|
|
2
|
+
export interface FrontendSmallSection {
|
|
3
|
+
title: String;
|
|
4
|
+
groups: Array<FrontendGroup>;
|
|
5
|
+
sectionType: SectionType;
|
|
6
|
+
items?: Array<Array<FrontendFields>>;
|
|
7
|
+
extraStyles?: ExtraStyles;
|
|
8
|
+
dialogWindow?: DialogWindow;
|
|
9
|
+
}
|