digicust_types 1.7.60 → 1.7.61
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/import-ocr-document-into-graph.dto.d.ts +10 -10
- package/lib/contracts/import-ocr-document-into-graph.dto.js +2 -2
- package/lib/contracts/index.d.ts +14 -14
- package/lib/contracts/index.js +26 -26
- 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 +19 -19
- package/lib/models/common/company.model.js +2 -2
- package/lib/models/common/country.model.d.ts +4 -4
- package/lib/models/common/country.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 +26 -26
- package/lib/models/common/index.js +42 -42
- 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 +38 -38
- package/lib/models/common/meta.js +13 -13
- 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 -12
- package/lib/models/common/section-type.enum.js +16 -16
- 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/super.d.ts +7 -7
- package/lib/models/common/super.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/common/workflow.d.ts +19 -18
- package/lib/models/common/workflow.js +2 -2
- package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +12 -12
- package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
- package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +13 -12
- package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -2
- package/lib/models/digicust/activity.mode.d.ts +18 -18
- package/lib/models/digicust/activity.mode.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 +85 -85
- package/lib/models/digicust/aggregated-case-data.model.js +25 -25
- 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 +45 -45
- package/lib/models/digicust/case.model.js +24 -24
- package/lib/models/digicust/company.model.d.ts +4 -4
- package/lib/models/digicust/company.model.js +2 -2
- 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/cost-intersection.model.d.ts +20 -20
- package/lib/models/digicust/cost-intersection.model.js +16 -16
- 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 +55 -55
- 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 +12 -12
- package/lib/models/digicust/digicust-document-type.enum.js +16 -16
- package/lib/models/digicust/digicust-document.model.d.ts +43 -43
- package/lib/models/digicust/digicust-document.model.js +38 -38
- package/lib/models/digicust/document-code.model.d.ts +10 -10
- package/lib/models/digicust/document-code.model.js +2 -2
- package/lib/models/digicust/document-status.enum.d.ts +38 -38
- package/lib/models/digicust/document-status.enum.js +45 -45
- 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 +75 -75
- 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 +57 -57
- 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/incoterm.model.d.ts +25 -25
- package/lib/models/digicust/incoterm.model.js +21 -21
- package/lib/models/digicust/index.d.ts +47 -47
- package/lib/models/digicust/index.js +67 -67
- package/lib/models/digicust/invoice-type.model.d.ts +7 -7
- package/lib/models/digicust/invoice-type.model.js +2 -2
- package/lib/models/digicust/invoice.model.d.ts +79 -79
- package/lib/models/digicust/invoice.model.js +2 -2
- package/lib/models/digicust/line-item.model.d.ts +69 -69
- package/lib/models/digicust/line-item.model.js +132 -132
- 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 +4 -4
- package/lib/models/digicust/masterdata/index.js +16 -16
- package/lib/models/digicust/masterdata/material.model.d.ts +93 -93
- package/lib/models/digicust/masterdata/material.model.js +2 -2
- package/lib/models/digicust/masterdata/stakeholder-role.enum.d.ts +12 -12
- package/lib/models/digicust/masterdata/stakeholder-role.enum.js +16 -16
- 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 +22 -22
- package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
- package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
- package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
- package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
- 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 +46 -46
- package/lib/models/digicust/module.model.js +26 -26
- 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/preference-state.model.d.ts +20 -20
- package/lib/models/digicust/preference-state.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 +24 -24
- 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/submission-case-model.d.ts +24 -8
- package/lib/models/digicust/submission-case-model.js +12 -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/transit-item.model.d.ts +30 -30
- package/lib/models/digicust/transit-item.model.js +65 -65
- 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 +11 -11
- 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 -18
- package/lib/models/digicust/user.model.js +2 -2
- 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/contracts/start-hs-classification.dto.d.ts +0 -3
- package/lib/contracts/start-hs-classification.dto.js +0 -2
- package/lib/models/common/checkpoint.model.d.ts +0 -21
- package/lib/models/common/checkpoint.model.js +0 -8
- package/lib/models/common/event.model.d.ts +0 -21
- package/lib/models/common/event.model.js +0 -8
- package/lib/models/digicust/notification.model.d.ts +0 -13
- package/lib/models/digicust/notification.model.js +0 -2
- package/lib/models/digicust/shipping-type.model.d.ts +0 -25
- package/lib/models/digicust/shipping-type.model.js +0 -21
|
@@ -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
|
-
import { Meta } from "../common/meta";
|
|
2
|
-
import { Money } from "../common";
|
|
3
|
-
/**
|
|
4
|
-
* Information about VAT on a document
|
|
5
|
-
*/
|
|
6
|
-
export interface TaxDetailsModel {
|
|
7
|
-
vatRate?: Meta<number>;
|
|
8
|
-
vatBase?: Money;
|
|
9
|
-
vatAmount?: Money;
|
|
10
|
-
}
|
|
1
|
+
import { Meta } from "../common/meta";
|
|
2
|
+
import { Money } from "../common";
|
|
3
|
+
/**
|
|
4
|
+
* Information about VAT on a document
|
|
5
|
+
*/
|
|
6
|
+
export interface TaxDetailsModel {
|
|
7
|
+
vatRate?: Meta<number>;
|
|
8
|
+
vatBase?: Money;
|
|
9
|
+
vatAmount?: Money;
|
|
10
|
+
}
|
|
@@ -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,30 +1,30 @@
|
|
|
1
|
-
import { AddressModel, Money, Weight } from "../common";
|
|
2
|
-
import { Meta } from "../common";
|
|
3
|
-
import { CustomsTariffNumber } from "../common";
|
|
4
|
-
import { Container } from "./container.model";
|
|
5
|
-
import { Procedure } from "./procedure.model";
|
|
6
|
-
import { DigicustDocumentModel } from "./digicust-document.model";
|
|
7
|
-
/**
|
|
8
|
-
* Identifies transit items (specific products) listed on a document
|
|
9
|
-
*/
|
|
10
|
-
export interface TransitItemModel {
|
|
11
|
-
id?: string;
|
|
12
|
-
documentId?: string;
|
|
13
|
-
caseId?: string;
|
|
14
|
-
totalValue?: Money;
|
|
15
|
-
customsValue?: Money;
|
|
16
|
-
grossWeight?: Weight;
|
|
17
|
-
customsTariffNumber?: CustomsTariffNumber;
|
|
18
|
-
description?: Meta<string>;
|
|
19
|
-
weight?: Weight;
|
|
20
|
-
netWeight?: Weight;
|
|
21
|
-
packingList?: Meta<string>;
|
|
22
|
-
countryOfOrigin?: AddressModel;
|
|
23
|
-
shipperCountry?: Meta<string>;
|
|
24
|
-
destinationCountry?: Meta<string>;
|
|
25
|
-
procedure?: Procedure;
|
|
26
|
-
containers?: Container[];
|
|
27
|
-
preliminaryDocuments?: DigicustDocumentModel[];
|
|
28
|
-
reference?: Meta<string>;
|
|
29
|
-
}
|
|
30
|
-
export declare const condenseTransitLineItem: (transitItem?: TransitItemModel | undefined) => TransitItemModel | null;
|
|
1
|
+
import { AddressModel, Money, Weight } from "../common";
|
|
2
|
+
import { Meta } from "../common";
|
|
3
|
+
import { CustomsTariffNumber } from "../common";
|
|
4
|
+
import { Container } from "./container.model";
|
|
5
|
+
import { Procedure } from "./procedure.model";
|
|
6
|
+
import { DigicustDocumentModel } from "./digicust-document.model";
|
|
7
|
+
/**
|
|
8
|
+
* Identifies transit items (specific products) listed on a document
|
|
9
|
+
*/
|
|
10
|
+
export interface TransitItemModel {
|
|
11
|
+
id?: string;
|
|
12
|
+
documentId?: string;
|
|
13
|
+
caseId?: string;
|
|
14
|
+
totalValue?: Money;
|
|
15
|
+
customsValue?: Money;
|
|
16
|
+
grossWeight?: Weight;
|
|
17
|
+
customsTariffNumber?: CustomsTariffNumber;
|
|
18
|
+
description?: Meta<string>;
|
|
19
|
+
weight?: Weight;
|
|
20
|
+
netWeight?: Weight;
|
|
21
|
+
packingList?: Meta<string>;
|
|
22
|
+
countryOfOrigin?: AddressModel;
|
|
23
|
+
shipperCountry?: Meta<string>;
|
|
24
|
+
destinationCountry?: Meta<string>;
|
|
25
|
+
procedure?: Procedure;
|
|
26
|
+
containers?: Container[];
|
|
27
|
+
preliminaryDocuments?: DigicustDocumentModel[];
|
|
28
|
+
reference?: Meta<string>;
|
|
29
|
+
}
|
|
30
|
+
export declare const condenseTransitLineItem: (transitItem?: TransitItemModel | undefined) => TransitItemModel | null;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.condenseTransitLineItem = void 0;
|
|
4
|
-
var common_1 = require("../common");
|
|
5
|
-
var cleanObject_1 = require("../../helpers/cleanObject");
|
|
6
|
-
var digicust_document_model_1 = require("./digicust-document.model");
|
|
7
|
-
var condenseTransitLineItem = function (transitItem) {
|
|
8
|
-
var _a, _b;
|
|
9
|
-
if (transitItem) {
|
|
10
|
-
var condensedTransitLineItem = {
|
|
11
|
-
id: transitItem.id,
|
|
12
|
-
documentId: transitItem.documentId,
|
|
13
|
-
caseId: transitItem.caseId,
|
|
14
|
-
description: transitItem.description
|
|
15
|
-
? common_1.condenseMeta(transitItem.description)
|
|
16
|
-
: transitItem.description,
|
|
17
|
-
customsTariffNumber: transitItem.customsTariffNumber
|
|
18
|
-
? common_1.condenseCustomsTariffNumber(transitItem.customsTariffNumber)
|
|
19
|
-
: transitItem.customsTariffNumber,
|
|
20
|
-
totalValue: transitItem.totalValue
|
|
21
|
-
? common_1.condenseMoney(transitItem.totalValue)
|
|
22
|
-
: transitItem.totalValue,
|
|
23
|
-
customsValue: transitItem.customsValue
|
|
24
|
-
? common_1.condenseMoney(transitItem.customsValue)
|
|
25
|
-
: transitItem.customsValue,
|
|
26
|
-
netWeight: transitItem.netWeight
|
|
27
|
-
? common_1.condenseWeight(transitItem.netWeight)
|
|
28
|
-
: transitItem.netWeight,
|
|
29
|
-
grossWeight: transitItem.grossWeight
|
|
30
|
-
? common_1.condenseWeight(transitItem.grossWeight)
|
|
31
|
-
: transitItem.grossWeight,
|
|
32
|
-
weight: transitItem.weight
|
|
33
|
-
? common_1.condenseWeight(transitItem.weight)
|
|
34
|
-
: transitItem.weight,
|
|
35
|
-
packingList: transitItem.packingList
|
|
36
|
-
? common_1.condenseMeta(transitItem.packingList)
|
|
37
|
-
: transitItem.packingList,
|
|
38
|
-
countryOfOrigin: transitItem.countryOfOrigin
|
|
39
|
-
? common_1.condenseAddress(transitItem.countryOfOrigin)
|
|
40
|
-
: transitItem.countryOfOrigin,
|
|
41
|
-
procedure: transitItem.procedure
|
|
42
|
-
? common_1.condenseMeta(transitItem.procedure)
|
|
43
|
-
: transitItem.procedure,
|
|
44
|
-
preliminaryDocuments: transitItem.preliminaryDocuments
|
|
45
|
-
? (_a = transitItem.preliminaryDocuments) === null || _a === void 0 ? void 0 : _a.map(function (document) { return digicust_document_model_1.condenseDocument(document); })
|
|
46
|
-
: transitItem.preliminaryDocuments,
|
|
47
|
-
containers: transitItem.containers
|
|
48
|
-
? (_b = transitItem.containers) === null || _b === void 0 ? void 0 : _b.map(function (container) { return common_1.condenseMeta(container); })
|
|
49
|
-
: transitItem.containers,
|
|
50
|
-
reference: transitItem.reference
|
|
51
|
-
? common_1.condenseMeta(transitItem.reference)
|
|
52
|
-
: transitItem.reference,
|
|
53
|
-
shipperCountry: transitItem.shipperCountry
|
|
54
|
-
? common_1.condenseMeta(transitItem.shipperCountry)
|
|
55
|
-
: transitItem.shipperCountry,
|
|
56
|
-
destinationCountry: transitItem.destinationCountry
|
|
57
|
-
? common_1.condenseMeta(transitItem.destinationCountry)
|
|
58
|
-
: transitItem.destinationCountry
|
|
59
|
-
};
|
|
60
|
-
cleanObject_1.cleanObject(condensedTransitLineItem);
|
|
61
|
-
return condensedTransitLineItem;
|
|
62
|
-
}
|
|
63
|
-
return null;
|
|
64
|
-
};
|
|
65
|
-
exports.condenseTransitLineItem = condenseTransitLineItem;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseTransitLineItem = void 0;
|
|
4
|
+
var common_1 = require("../common");
|
|
5
|
+
var cleanObject_1 = require("../../helpers/cleanObject");
|
|
6
|
+
var digicust_document_model_1 = require("./digicust-document.model");
|
|
7
|
+
var condenseTransitLineItem = function (transitItem) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
if (transitItem) {
|
|
10
|
+
var condensedTransitLineItem = {
|
|
11
|
+
id: transitItem.id,
|
|
12
|
+
documentId: transitItem.documentId,
|
|
13
|
+
caseId: transitItem.caseId,
|
|
14
|
+
description: transitItem.description
|
|
15
|
+
? (0, common_1.condenseMeta)(transitItem.description)
|
|
16
|
+
: transitItem.description,
|
|
17
|
+
customsTariffNumber: transitItem.customsTariffNumber
|
|
18
|
+
? (0, common_1.condenseCustomsTariffNumber)(transitItem.customsTariffNumber)
|
|
19
|
+
: transitItem.customsTariffNumber,
|
|
20
|
+
totalValue: transitItem.totalValue
|
|
21
|
+
? (0, common_1.condenseMoney)(transitItem.totalValue)
|
|
22
|
+
: transitItem.totalValue,
|
|
23
|
+
customsValue: transitItem.customsValue
|
|
24
|
+
? (0, common_1.condenseMoney)(transitItem.customsValue)
|
|
25
|
+
: transitItem.customsValue,
|
|
26
|
+
netWeight: transitItem.netWeight
|
|
27
|
+
? (0, common_1.condenseWeight)(transitItem.netWeight)
|
|
28
|
+
: transitItem.netWeight,
|
|
29
|
+
grossWeight: transitItem.grossWeight
|
|
30
|
+
? (0, common_1.condenseWeight)(transitItem.grossWeight)
|
|
31
|
+
: transitItem.grossWeight,
|
|
32
|
+
weight: transitItem.weight
|
|
33
|
+
? (0, common_1.condenseWeight)(transitItem.weight)
|
|
34
|
+
: transitItem.weight,
|
|
35
|
+
packingList: transitItem.packingList
|
|
36
|
+
? (0, common_1.condenseMeta)(transitItem.packingList)
|
|
37
|
+
: transitItem.packingList,
|
|
38
|
+
countryOfOrigin: transitItem.countryOfOrigin
|
|
39
|
+
? (0, common_1.condenseAddress)(transitItem.countryOfOrigin)
|
|
40
|
+
: transitItem.countryOfOrigin,
|
|
41
|
+
procedure: transitItem.procedure
|
|
42
|
+
? (0, common_1.condenseMeta)(transitItem.procedure)
|
|
43
|
+
: transitItem.procedure,
|
|
44
|
+
preliminaryDocuments: transitItem.preliminaryDocuments
|
|
45
|
+
? (_a = transitItem.preliminaryDocuments) === null || _a === void 0 ? void 0 : _a.map(function (document) { return (0, digicust_document_model_1.condenseDocument)(document); })
|
|
46
|
+
: transitItem.preliminaryDocuments,
|
|
47
|
+
containers: transitItem.containers
|
|
48
|
+
? (_b = transitItem.containers) === null || _b === void 0 ? void 0 : _b.map(function (container) { return (0, common_1.condenseMeta)(container); })
|
|
49
|
+
: transitItem.containers,
|
|
50
|
+
reference: transitItem.reference
|
|
51
|
+
? (0, common_1.condenseMeta)(transitItem.reference)
|
|
52
|
+
: transitItem.reference,
|
|
53
|
+
shipperCountry: transitItem.shipperCountry
|
|
54
|
+
? (0, common_1.condenseMeta)(transitItem.shipperCountry)
|
|
55
|
+
: transitItem.shipperCountry,
|
|
56
|
+
destinationCountry: transitItem.destinationCountry
|
|
57
|
+
? (0, common_1.condenseMeta)(transitItem.destinationCountry)
|
|
58
|
+
: transitItem.destinationCountry
|
|
59
|
+
};
|
|
60
|
+
(0, cleanObject_1.cleanObject)(condensedTransitLineItem);
|
|
61
|
+
return condensedTransitLineItem;
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
};
|
|
65
|
+
exports.condenseTransitLineItem = condenseTransitLineItem;
|
|
@@ -1,44 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,48 +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 = {}));
|
|
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 = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Meta } from "../common/meta";
|
|
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
|
+
import { Meta } from "../common/meta";
|
|
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,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
|
-
* Information about a uploaded document
|
|
3
|
-
*/
|
|
4
|
-
export interface UploadedFileModel {
|
|
5
|
-
fileName?: string;
|
|
6
|
-
originalName?: string;
|
|
7
|
-
storagePath?: string;
|
|
8
|
-
uploadedAt?: Date;
|
|
9
|
-
finished?: boolean;
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Information about a uploaded document
|
|
3
|
+
*/
|
|
4
|
+
export interface UploadedFileModel {
|
|
5
|
+
fileName?: string;
|
|
6
|
+
originalName?: string;
|
|
7
|
+
storagePath?: string;
|
|
8
|
+
uploadedAt?: Date;
|
|
9
|
+
finished?: boolean;
|
|
10
|
+
}
|
|
@@ -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,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Information about a user of Digicust
|
|
3
|
-
*/
|
|
4
|
-
export interface UserModel {
|
|
5
|
-
id?: string;
|
|
6
|
-
surname?: string;
|
|
7
|
-
givenName?: string;
|
|
8
|
-
displayName?: string;
|
|
9
|
-
jobTitle?: string;
|
|
10
|
-
mobilePhone?: string;
|
|
11
|
-
mail?: string;
|
|
12
|
-
department?: string;
|
|
13
|
-
country?: string;
|
|
14
|
-
city?: string;
|
|
15
|
-
streetAddress?: string;
|
|
16
|
-
subscribeToNewsletter?: boolean;
|
|
17
|
-
acceptTerms?: boolean;
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Information about a user of Digicust
|
|
3
|
+
*/
|
|
4
|
+
export interface UserModel {
|
|
5
|
+
id?: string;
|
|
6
|
+
surname?: string;
|
|
7
|
+
givenName?: string;
|
|
8
|
+
displayName?: string;
|
|
9
|
+
jobTitle?: string;
|
|
10
|
+
mobilePhone?: string;
|
|
11
|
+
mail?: string;
|
|
12
|
+
department?: string;
|
|
13
|
+
country?: string;
|
|
14
|
+
city?: string;
|
|
15
|
+
streetAddress?: string;
|
|
16
|
+
subscribeToNewsletter?: boolean;
|
|
17
|
+
acceptTerms?: boolean;
|
|
18
|
+
}
|
|
@@ -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,39 +1,39 @@
|
|
|
1
|
-
import { AddressModel, CompanyModel, Currency, DateTimeModel, Money, Weight } from "../common";
|
|
2
|
-
import { DigicustDocumentModel } from "./digicust-document.model";
|
|
3
|
-
import { Meta } from "../common/meta";
|
|
4
|
-
import { IncotermModel } from "./incoterm.model";
|
|
5
|
-
import { Package } from "./package.model";
|
|
6
|
-
/**
|
|
7
|
-
* Identifies a waybill document
|
|
8
|
-
*/
|
|
9
|
-
export interface WaybillModel extends DigicustDocumentModel {
|
|
10
|
-
shipper?: CompanyModel;
|
|
11
|
-
recipient?: CompanyModel;
|
|
12
|
-
consignee?: CompanyModel;
|
|
13
|
-
applicant?: CompanyModel;
|
|
14
|
-
waybillNumber?: Meta<string>;
|
|
15
|
-
issueDate?: DateTimeModel;
|
|
16
|
-
waybillType?: Meta<WaybillType>;
|
|
17
|
-
referenceNumber?: Meta<string>;
|
|
18
|
-
weight?: Weight;
|
|
19
|
-
totalValue?: Money;
|
|
20
|
-
totalValueExcludingCharges?: Money;
|
|
21
|
-
customsValue?: Money;
|
|
22
|
-
shippingCost?: Money;
|
|
23
|
-
otherPayments?: Money;
|
|
24
|
-
shippingDate?: DateTimeModel;
|
|
25
|
-
incoterm?: IncotermModel;
|
|
26
|
-
placeIncoterm?: AddressModel;
|
|
27
|
-
invoiceNumber?: Meta<string>;
|
|
28
|
-
goodsDescription?: Meta<string>;
|
|
29
|
-
currency?: Meta<Currency>;
|
|
30
|
-
numPackagesShipped?: Meta<number>;
|
|
31
|
-
packages?: Package[];
|
|
32
|
-
}
|
|
33
|
-
export declare enum WaybillType {
|
|
34
|
-
airWaybill = "airWaybill",
|
|
35
|
-
seaWaybill = "seaWaybill",
|
|
36
|
-
railWaybill = "railWaybill",
|
|
37
|
-
roadWaybill = "roadWaybill",
|
|
38
|
-
inlandShippingWaybill = "inlandShippingWaybill"
|
|
39
|
-
}
|
|
1
|
+
import { AddressModel, CompanyModel, Currency, DateTimeModel, Money, Weight } from "../common";
|
|
2
|
+
import { DigicustDocumentModel } from "./digicust-document.model";
|
|
3
|
+
import { Meta } from "../common/meta";
|
|
4
|
+
import { IncotermModel } from "./incoterm.model";
|
|
5
|
+
import { Package } from "./package.model";
|
|
6
|
+
/**
|
|
7
|
+
* Identifies a waybill document
|
|
8
|
+
*/
|
|
9
|
+
export interface WaybillModel extends DigicustDocumentModel {
|
|
10
|
+
shipper?: CompanyModel;
|
|
11
|
+
recipient?: CompanyModel;
|
|
12
|
+
consignee?: CompanyModel;
|
|
13
|
+
applicant?: CompanyModel;
|
|
14
|
+
waybillNumber?: Meta<string>;
|
|
15
|
+
issueDate?: DateTimeModel;
|
|
16
|
+
waybillType?: Meta<WaybillType>;
|
|
17
|
+
referenceNumber?: Meta<string>;
|
|
18
|
+
weight?: Weight;
|
|
19
|
+
totalValue?: Money;
|
|
20
|
+
totalValueExcludingCharges?: Money;
|
|
21
|
+
customsValue?: Money;
|
|
22
|
+
shippingCost?: Money;
|
|
23
|
+
otherPayments?: Money;
|
|
24
|
+
shippingDate?: DateTimeModel;
|
|
25
|
+
incoterm?: IncotermModel;
|
|
26
|
+
placeIncoterm?: AddressModel;
|
|
27
|
+
invoiceNumber?: Meta<string>;
|
|
28
|
+
goodsDescription?: Meta<string>;
|
|
29
|
+
currency?: Meta<Currency>;
|
|
30
|
+
numPackagesShipped?: Meta<number>;
|
|
31
|
+
packages?: Package[];
|
|
32
|
+
}
|
|
33
|
+
export declare enum WaybillType {
|
|
34
|
+
airWaybill = "airWaybill",
|
|
35
|
+
seaWaybill = "seaWaybill",
|
|
36
|
+
railWaybill = "railWaybill",
|
|
37
|
+
roadWaybill = "roadWaybill",
|
|
38
|
+
inlandShippingWaybill = "inlandShippingWaybill"
|
|
39
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WaybillType = void 0;
|
|
4
|
-
var WaybillType;
|
|
5
|
-
(function (WaybillType) {
|
|
6
|
-
WaybillType["airWaybill"] = "airWaybill";
|
|
7
|
-
WaybillType["seaWaybill"] = "seaWaybill";
|
|
8
|
-
WaybillType["railWaybill"] = "railWaybill";
|
|
9
|
-
WaybillType["roadWaybill"] = "roadWaybill";
|
|
10
|
-
WaybillType["inlandShippingWaybill"] = "inlandShippingWaybill";
|
|
11
|
-
})(WaybillType = exports.WaybillType || (exports.WaybillType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WaybillType = void 0;
|
|
4
|
+
var WaybillType;
|
|
5
|
+
(function (WaybillType) {
|
|
6
|
+
WaybillType["airWaybill"] = "airWaybill";
|
|
7
|
+
WaybillType["seaWaybill"] = "seaWaybill";
|
|
8
|
+
WaybillType["railWaybill"] = "railWaybill";
|
|
9
|
+
WaybillType["roadWaybill"] = "roadWaybill";
|
|
10
|
+
WaybillType["inlandShippingWaybill"] = "inlandShippingWaybill";
|
|
11
|
+
})(WaybillType = exports.WaybillType || (exports.WaybillType = {}));
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./digicust";
|
|
2
|
-
export * from "./common";
|
|
3
|
-
export * from "./rossum";
|
|
4
|
-
export * from "./ml";
|
|
1
|
+
export * from "./digicust";
|
|
2
|
+
export * from "./common";
|
|
3
|
+
export * from "./rossum";
|
|
4
|
+
export * from "./ml";
|