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,55 @@
|
|
|
1
|
+
import { ModuleModel } from "..";
|
|
2
|
+
/**
|
|
3
|
+
* Identifies a specific customer of Digicust
|
|
4
|
+
*/
|
|
5
|
+
export interface CustomerModel {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
modules?: ModuleModel[];
|
|
9
|
+
projectId?: string;
|
|
10
|
+
renewedDateTime?: Date;
|
|
11
|
+
status?: string;
|
|
12
|
+
companyAddress?: string;
|
|
13
|
+
country?: string;
|
|
14
|
+
city?: string;
|
|
15
|
+
zipCode?: string;
|
|
16
|
+
commercialRegistryEntry?: string;
|
|
17
|
+
taxNumber?: string;
|
|
18
|
+
vatNumber?: string;
|
|
19
|
+
eoriNumber?: string;
|
|
20
|
+
contactPerson?: {
|
|
21
|
+
name?: string;
|
|
22
|
+
email?: string;
|
|
23
|
+
address?: string;
|
|
24
|
+
phone?: string;
|
|
25
|
+
};
|
|
26
|
+
inboundContactPerson?: Array<{
|
|
27
|
+
name?: string;
|
|
28
|
+
email?: string;
|
|
29
|
+
}>;
|
|
30
|
+
outboundContactPerson?: Array<{
|
|
31
|
+
name?: string;
|
|
32
|
+
email?: string;
|
|
33
|
+
}>;
|
|
34
|
+
openingHoursInboundDepartment?: Array<{
|
|
35
|
+
dayOfTheWeek?: string;
|
|
36
|
+
open?: boolean;
|
|
37
|
+
startTime?: any;
|
|
38
|
+
endtime?: any;
|
|
39
|
+
}>;
|
|
40
|
+
openingHoursOutboundDepartment?: Array<{
|
|
41
|
+
dayOfTheWeek?: string;
|
|
42
|
+
open?: boolean;
|
|
43
|
+
startTime?: any;
|
|
44
|
+
endtime?: any;
|
|
45
|
+
}>;
|
|
46
|
+
typeOfCompany?: "forwarder" | "customsBroker" | "manufacturingCompany" | "tradingCompany";
|
|
47
|
+
typeOfIndustry?: string;
|
|
48
|
+
companySize?: string;
|
|
49
|
+
numberOfCustomers?: string;
|
|
50
|
+
useOfSoftware?: string;
|
|
51
|
+
importsPerYear?: string;
|
|
52
|
+
exportsPerYear?: string;
|
|
53
|
+
specialProcedures?: Array<string>;
|
|
54
|
+
specialProceduresDeclarationPerYear?: string;
|
|
55
|
+
}
|
|
@@ -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("./customer.model"), exports);
|
|
18
|
+
__exportStar(require("./project.model"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ModuleModel, QueueWorkspaceModel } from "..";
|
|
2
|
+
export declare enum CustomsSystem {
|
|
3
|
+
atlas = "atlas",
|
|
4
|
+
eZoll = "eZoll"
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Project Model provides all the data related to a project and customer
|
|
8
|
+
*/
|
|
9
|
+
export interface ProjectModel {
|
|
10
|
+
id?: string;
|
|
11
|
+
customerId?: string;
|
|
12
|
+
projectId?: string;
|
|
13
|
+
alias?: string;
|
|
14
|
+
modules?: ModuleModel[];
|
|
15
|
+
workspaces?: QueueWorkspaceModel[];
|
|
16
|
+
customsSystem?: CustomsSystem;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Information about a notification Model
|
|
20
|
+
*/
|
|
21
|
+
export interface NotificationModel {
|
|
22
|
+
id?: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
status?: string;
|
|
25
|
+
message?: string;
|
|
26
|
+
link?: string;
|
|
27
|
+
consumer?: string;
|
|
28
|
+
addresseeType?: "customer" | "project" | "user";
|
|
29
|
+
addresseeId?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomsSystem = void 0;
|
|
4
|
+
var CustomsSystem;
|
|
5
|
+
(function (CustomsSystem) {
|
|
6
|
+
CustomsSystem["atlas"] = "atlas";
|
|
7
|
+
CustomsSystem["eZoll"] = "eZoll";
|
|
8
|
+
})(CustomsSystem = exports.CustomsSystem || (exports.CustomsSystem = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, Money } from "..";
|
|
2
|
+
/** adjustments to statistical/duty/VAT value */
|
|
3
|
+
export interface Adjustment extends Meta<any> {
|
|
4
|
+
amountOfMoney?: Money;
|
|
5
|
+
valueType?: "Duty" | "Statistical" | "VAT";
|
|
6
|
+
type?: "Addition_Insurance" | "Addition_Transport" | "Addition_Further" | "Deduction_Insurance" | "Deduction_Transport" | "Deduction_Further";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConsignmentSize = void 0;
|
|
4
|
+
var ConsignmentSize;
|
|
5
|
+
(function (ConsignmentSize) {
|
|
6
|
+
ConsignmentSize["smallConsignment"] = "small";
|
|
7
|
+
ConsignmentSize["bulkConsignment"] = "bulk";
|
|
8
|
+
})(ConsignmentSize = exports.ConsignmentSize || (exports.ConsignmentSize = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MeanOfTransportationMode, AddressModel, Meta } from "..";
|
|
2
|
+
export interface CustomsOffice extends Meta<any> {
|
|
3
|
+
code?: Meta<string>;
|
|
4
|
+
officeType?: CustomsOfficeType;
|
|
5
|
+
address?: AddressModel;
|
|
6
|
+
name?: Meta<string>;
|
|
7
|
+
conditional?: {
|
|
8
|
+
meanOfTransportationMode: MeanOfTransportationMode;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare enum CustomsOfficeType {
|
|
12
|
+
entry = "Entry",
|
|
13
|
+
exit = "Exit",
|
|
14
|
+
export = "Export",
|
|
15
|
+
transit = "Transit",
|
|
16
|
+
import = "Import",
|
|
17
|
+
declaration = "Declaration"
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomsOfficeType = void 0;
|
|
4
|
+
var CustomsOfficeType;
|
|
5
|
+
(function (CustomsOfficeType) {
|
|
6
|
+
CustomsOfficeType["entry"] = "Entry";
|
|
7
|
+
CustomsOfficeType["exit"] = "Exit";
|
|
8
|
+
CustomsOfficeType["export"] = "Export";
|
|
9
|
+
CustomsOfficeType["transit"] = "Transit";
|
|
10
|
+
CustomsOfficeType["import"] = "Import";
|
|
11
|
+
CustomsOfficeType["declaration"] = "Declaration";
|
|
12
|
+
})(CustomsOfficeType = exports.CustomsOfficeType || (exports.CustomsOfficeType = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta } from "..";
|
|
2
|
+
/**
|
|
3
|
+
* Identifies a Deferment Account
|
|
4
|
+
*/
|
|
5
|
+
export interface DefermentAccount extends Meta<string> {
|
|
6
|
+
/** AufschubArt */
|
|
7
|
+
A1190?: "10" | "15" | "20";
|
|
8
|
+
/** ArtAufschubantrag */
|
|
9
|
+
A1080?: "E" | "F";
|
|
10
|
+
EORI?: string;
|
|
11
|
+
/** Kennbuchstaben Aufschub */
|
|
12
|
+
code?: string;
|
|
13
|
+
accountNumber?: string;
|
|
14
|
+
BIN?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./adjustment.model";
|
|
2
|
+
export * from "./consignment-size.enum";
|
|
3
|
+
export * from "./customsOffice.model";
|
|
4
|
+
export * from "./deferment-account.model";
|
|
5
|
+
export * from "./eori.model";
|
|
6
|
+
export * from "./operation-type.enum";
|
|
7
|
+
export * from "./procedure.model";
|
|
8
|
+
export * from "./special-measure.model";
|
|
9
|
+
export * from "./tariff-number";
|
|
10
|
+
export * from "./tax-details.model";
|
|
11
|
+
export * from "./transit-item.model";
|
|
12
|
+
export * from "./type-of-business";
|
|
13
|
+
export * from "./preference";
|
|
@@ -0,0 +1,29 @@
|
|
|
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("./adjustment.model"), exports);
|
|
18
|
+
__exportStar(require("./consignment-size.enum"), exports);
|
|
19
|
+
__exportStar(require("./customsOffice.model"), exports);
|
|
20
|
+
__exportStar(require("./deferment-account.model"), exports);
|
|
21
|
+
__exportStar(require("./eori.model"), exports);
|
|
22
|
+
__exportStar(require("./operation-type.enum"), exports);
|
|
23
|
+
__exportStar(require("./procedure.model"), exports);
|
|
24
|
+
__exportStar(require("./special-measure.model"), exports);
|
|
25
|
+
__exportStar(require("./tariff-number"), exports);
|
|
26
|
+
__exportStar(require("./tax-details.model"), exports);
|
|
27
|
+
__exportStar(require("./transit-item.model"), exports);
|
|
28
|
+
__exportStar(require("./type-of-business"), exports);
|
|
29
|
+
__exportStar(require("./preference"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum OperationType {
|
|
2
|
+
clearanceHomeUse = "ClearanceHomeUse",
|
|
3
|
+
intendedFreeZones = "IntendedFreeZones",
|
|
4
|
+
warehousing = "Warehousing",
|
|
5
|
+
temporaryAdmission = "TemporaryAdmission",
|
|
6
|
+
inwardProcessing = "InwardProcessing",
|
|
7
|
+
inwardTransit = "InwardTransit",
|
|
8
|
+
interiorTransit = "InteriorTransit",
|
|
9
|
+
lowValueClearanceHomeUse = "LowValueClearanceHomeUse",
|
|
10
|
+
exportation = "Exportation",
|
|
11
|
+
temporaryExportation = "TemporaryExportation",
|
|
12
|
+
outwardProcessing = "OutwardProcessing",
|
|
13
|
+
throughTransit = "ThroughTransit",
|
|
14
|
+
outwardTransit = "OutwardTransit"
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationType = void 0;
|
|
4
|
+
var OperationType;
|
|
5
|
+
(function (OperationType) {
|
|
6
|
+
OperationType["clearanceHomeUse"] = "ClearanceHomeUse";
|
|
7
|
+
OperationType["intendedFreeZones"] = "IntendedFreeZones";
|
|
8
|
+
OperationType["warehousing"] = "Warehousing";
|
|
9
|
+
OperationType["temporaryAdmission"] = "TemporaryAdmission";
|
|
10
|
+
OperationType["inwardProcessing"] = "InwardProcessing";
|
|
11
|
+
OperationType["inwardTransit"] = "InwardTransit";
|
|
12
|
+
OperationType["interiorTransit"] = "InteriorTransit";
|
|
13
|
+
OperationType["lowValueClearanceHomeUse"] = "LowValueClearanceHomeUse";
|
|
14
|
+
OperationType["exportation"] = "Exportation";
|
|
15
|
+
OperationType["temporaryExportation"] = "TemporaryExportation";
|
|
16
|
+
OperationType["outwardProcessing"] = "OutwardProcessing";
|
|
17
|
+
OperationType["throughTransit"] = "ThroughTransit";
|
|
18
|
+
OperationType["outwardTransit"] = "OutwardTransit";
|
|
19
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./preference-state.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("./preference-state.model"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta } from "../..";
|
|
2
|
+
export interface PreferenceState extends Meta<boolean> {
|
|
3
|
+
/** defines preference state */
|
|
4
|
+
value?: boolean;
|
|
5
|
+
/** the treaty the preference decision is based on */
|
|
6
|
+
treaty?: string;
|
|
7
|
+
country?: string;
|
|
8
|
+
/** e.g. LDC */
|
|
9
|
+
countryGroup?: string;
|
|
10
|
+
NC_38000?: string;
|
|
11
|
+
DE_A1200?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TradePreference extends Meta<string> {
|
|
14
|
+
/** is trade preference valid? */
|
|
15
|
+
valid?: boolean;
|
|
16
|
+
treaty?: string;
|
|
17
|
+
country?: string;
|
|
18
|
+
NC_38000?: string;
|
|
19
|
+
DE_A1200?: string;
|
|
20
|
+
/** e.g. LDC */
|
|
21
|
+
countryGroup?: string;
|
|
22
|
+
exporterPermitNumber?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta } from "..";
|
|
2
|
+
export interface Procedure extends Meta<ProcedureMode> {
|
|
3
|
+
/** I0100, NC_36000 */
|
|
4
|
+
procedureCodeCombination?: string;
|
|
5
|
+
/** I0100, NC_36100 */
|
|
6
|
+
requestedProcedure?: string;
|
|
7
|
+
/** I0100, NC_36100 */
|
|
8
|
+
previousProcedure?: string;
|
|
9
|
+
/** I0100, NC_37000 */
|
|
10
|
+
additionalProcedure?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare enum ProcedureMode {
|
|
13
|
+
export = "export",
|
|
14
|
+
import = "import",
|
|
15
|
+
intrastat = "intrastat",
|
|
16
|
+
transit = "transit"
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcedureMode = void 0;
|
|
4
|
+
var ProcedureMode;
|
|
5
|
+
(function (ProcedureMode) {
|
|
6
|
+
ProcedureMode["export"] = "export";
|
|
7
|
+
ProcedureMode["import"] = "import";
|
|
8
|
+
ProcedureMode["intrastat"] = "intrastat";
|
|
9
|
+
ProcedureMode["transit"] = "transit";
|
|
10
|
+
})(ProcedureMode = exports.ProcedureMode || (exports.ProcedureMode = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HsCodeModel, Meta, ClassificationCode } from "../..";
|
|
2
|
+
export interface CustomsTariffNumber extends Meta<string> {
|
|
3
|
+
hsCode?: Meta<string>;
|
|
4
|
+
additionalCodes?: Meta<string>[];
|
|
5
|
+
hsCodeInvoice?: Meta<string>;
|
|
6
|
+
customsDescription?: Meta<string>;
|
|
7
|
+
tradeZone?: {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
code?: ClassificationCode;
|
|
10
|
+
countries?: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
code?: ClassificationCode;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
classifier?: {
|
|
18
|
+
default?: HsCodeModel;
|
|
19
|
+
};
|
|
20
|
+
supplementaryUnits?: {
|
|
21
|
+
number?: string;
|
|
22
|
+
typeCode?: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export declare const condenseCustomsTariffNumber: (customsTariffNumber: CustomsTariffNumber) => CustomsTariffNumber;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.condenseCustomsTariffNumber = void 0;
|
|
15
|
+
var condenseCustomsTariffNumber = function (customsTariffNumber) {
|
|
16
|
+
var condensed = __assign({}, customsTariffNumber);
|
|
17
|
+
delete condensed.classifier;
|
|
18
|
+
condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined properties
|
|
19
|
+
return condensed;
|
|
20
|
+
};
|
|
21
|
+
exports.condenseCustomsTariffNumber = condenseCustomsTariffNumber;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Meta } from "../..";
|
|
2
|
+
export interface HsClassificationInteraction extends Meta<string> {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
label: string;
|
|
6
|
+
category: string;
|
|
7
|
+
type: string;
|
|
8
|
+
heading: string;
|
|
9
|
+
headings: string;
|
|
10
|
+
inputType: string;
|
|
11
|
+
selectedString: string;
|
|
12
|
+
selectedDefinition: string;
|
|
13
|
+
ruleMismatch: boolean;
|
|
14
|
+
isAnsweredWithRule: boolean;
|
|
15
|
+
hasOther: boolean;
|
|
16
|
+
language: string;
|
|
17
|
+
semanticAmbiguity: boolean;
|
|
18
|
+
unselectedString: string;
|
|
19
|
+
attrs: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
path: string;
|
|
23
|
+
value: string;
|
|
24
|
+
number: string | number;
|
|
25
|
+
kindOf: string;
|
|
26
|
+
def: string;
|
|
27
|
+
isPart: boolean;
|
|
28
|
+
frequency: number;
|
|
29
|
+
}[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Meta } from "../..";
|
|
2
|
+
import { HsClassificationInteraction } from "./hs-classification-interaction";
|
|
3
|
+
export interface HsClassificationResponse extends Meta<string> {
|
|
4
|
+
id: null;
|
|
5
|
+
txId: string;
|
|
6
|
+
languageCode: string;
|
|
7
|
+
productDescription: string;
|
|
8
|
+
profileId: string;
|
|
9
|
+
currentItemPaths: string[];
|
|
10
|
+
currentItemName: string;
|
|
11
|
+
currentSIP: string;
|
|
12
|
+
currentItemDef: string;
|
|
13
|
+
hsCode: string;
|
|
14
|
+
assumedInteractions: HsClassificationInteraction[];
|
|
15
|
+
currentItemInteraction: string;
|
|
16
|
+
currentQuestionInteraction: HsClassificationInteraction;
|
|
17
|
+
potentialHeadings: string[];
|
|
18
|
+
rational: string | null;
|
|
19
|
+
duration: number;
|
|
20
|
+
systemError: string | null;
|
|
21
|
+
mixedContentError: null;
|
|
22
|
+
multiItemError: string | null;
|
|
23
|
+
itemOutOfScopeError: string | null;
|
|
24
|
+
errorDetail: string | null;
|
|
25
|
+
dataVersion: string;
|
|
26
|
+
dataBuildDate: string;
|
|
27
|
+
schedule: string;
|
|
28
|
+
hsYear: string;
|
|
29
|
+
tariffScheduleSource: string;
|
|
30
|
+
tariffScheduleEffectiveDate: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maps an HS code according to a predefined pattern
|
|
3
|
+
*/
|
|
4
|
+
export interface HSCodeMapping {
|
|
5
|
+
id?: string;
|
|
6
|
+
customerId?: string;
|
|
7
|
+
projectId?: string;
|
|
8
|
+
conditions: {
|
|
9
|
+
materialNumber?: string;
|
|
10
|
+
buyerArticleNumber?: string;
|
|
11
|
+
CAS?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
hsCode?: string;
|
|
14
|
+
countryOfOrigin?: string;
|
|
15
|
+
shipperVAT?: string;
|
|
16
|
+
shipperEORI?: string;
|
|
17
|
+
shipperName?: string;
|
|
18
|
+
code?: string;
|
|
19
|
+
};
|
|
20
|
+
mapTo: {
|
|
21
|
+
hsCode?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
};
|
|
24
|
+
source?: string;
|
|
25
|
+
createdAt?: Date;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HsClassificationInteraction } from "./hs-classification-interaction";
|
|
2
|
+
export interface HsCodeModel {
|
|
3
|
+
value?: string;
|
|
4
|
+
txId?: string;
|
|
5
|
+
languageCode?: string;
|
|
6
|
+
potentialHeadings?: string[];
|
|
7
|
+
currentQuestionInteraction?: HsClassificationInteraction;
|
|
8
|
+
source?: string;
|
|
9
|
+
lastChangedBy?: string;
|
|
10
|
+
modifiedAt?: Date;
|
|
11
|
+
}
|
|
@@ -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("./classification-code.model"), exports);
|
|
18
|
+
__exportStar(require("./customs-tariff-number.model"), exports);
|
|
19
|
+
__exportStar(require("./hs-classification-interaction"), exports);
|
|
20
|
+
__exportStar(require("./hs-classification-response"), exports);
|
|
21
|
+
__exportStar(require("./hs-code-mapping"), exports);
|
|
22
|
+
__exportStar(require("./hs-code.model"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AddressModel, Money, Weight, Meta, CustomsTariffNumber, Container, Procedure, DigicustDocumentModel } from "..";
|
|
2
|
+
/**
|
|
3
|
+
* Identifies transit items (specific products) listed on a document
|
|
4
|
+
*/
|
|
5
|
+
export interface TransitItemModel {
|
|
6
|
+
id?: string;
|
|
7
|
+
documentId?: string;
|
|
8
|
+
caseId?: string;
|
|
9
|
+
totalValue?: Money;
|
|
10
|
+
customsValue?: Money;
|
|
11
|
+
grossWeight?: Weight;
|
|
12
|
+
customsTariffNumber?: CustomsTariffNumber;
|
|
13
|
+
description?: Meta<string>;
|
|
14
|
+
weight?: Weight;
|
|
15
|
+
netWeight?: Weight;
|
|
16
|
+
packingList?: Meta<string>;
|
|
17
|
+
countryOfOrigin?: AddressModel;
|
|
18
|
+
shipperCountry?: Meta<string>;
|
|
19
|
+
destinationCountry?: Meta<string>;
|
|
20
|
+
procedure?: Procedure;
|
|
21
|
+
containers?: Container[];
|
|
22
|
+
preliminaryDocuments?: DigicustDocumentModel[];
|
|
23
|
+
reference?: Meta<string>;
|
|
24
|
+
}
|
|
25
|
+
export declare const condenseTransitLineItem: (transitItem?: TransitItemModel | undefined) => TransitItemModel | null;
|