digicust_types 1.7.223 → 1.7.226
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/index.js +1 -5
- package/lib/contracts/start-hs-classification.dto.d.ts +3 -0
- package/lib/contracts/start-hs-classification.dto.js +2 -0
- package/lib/index.js +1 -5
- package/lib/models/common/checkpoint.model.d.ts +21 -0
- package/lib/models/common/checkpoint.model.js +8 -0
- package/lib/models/common/country.model.d.ts +4 -0
- package/lib/models/common/country.model.js +2 -0
- package/lib/models/common/event.model.d.ts +21 -0
- package/lib/models/common/event.model.js +8 -0
- package/lib/models/common/index.js +1 -5
- package/lib/models/common/super.d.ts +7 -0
- package/lib/models/common/super.js +2 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +12 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -0
- package/lib/models/digicust/activity.mode.d.ts +18 -0
- package/lib/models/digicust/activity.mode.js +2 -0
- package/lib/models/digicust/case.model.d.ts +2 -2
- package/lib/models/digicust/company.model.d.ts +4 -0
- package/lib/models/digicust/company.model.js +2 -0
- package/lib/models/digicust/documents/index.js +1 -5
- package/lib/models/digicust/environment.enum.d.ts +4 -0
- package/lib/models/digicust/environment.enum.js +8 -0
- package/lib/models/digicust/execution-strategy.model.d.ts +2 -0
- package/lib/models/digicust/execution-strategy.model.js +11 -9
- package/lib/models/digicust/extractions/index.js +1 -5
- package/lib/models/digicust/incoterm.enum.d.ts +17 -0
- package/lib/models/digicust/incoterm.enum.js +21 -0
- package/lib/models/digicust/index.d.ts +2 -0
- package/lib/models/digicust/index.js +3 -5
- package/lib/models/digicust/masterdata/index.js +1 -5
- package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -0
- package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -0
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +2 -0
- package/lib/models/digicust/notification.model.d.ts +13 -0
- package/lib/models/digicust/notification.model.js +2 -0
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.d.ts +9 -0
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.js +2 -0
- package/lib/models/digicust/settings/index.d.ts +1 -0
- package/lib/models/digicust/settings/index.js +13 -0
- package/lib/models/digicust/shipping-type.model.d.ts +25 -0
- package/lib/models/digicust/shipping-type.model.js +21 -0
- package/lib/models/digicust/submission-case-model.d.ts +8 -0
- package/lib/models/digicust/submission-case-model.js +2 -0
- package/lib/models/index.js +1 -5
- package/lib/models/ml/dexter/index.js +1 -5
- package/lib/models/ml/index.js +1 -5
- package/lib/models/rossum/index.js +1 -5
- package/package.json +1 -1
package/lib/contracts/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/lib/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Checkpoint {
|
|
2
|
+
id?: string;
|
|
3
|
+
customerId?: string;
|
|
4
|
+
context?: string;
|
|
5
|
+
type?: "webhook" | "email";
|
|
6
|
+
}
|
|
7
|
+
export declare enum CheckPointType {
|
|
8
|
+
webhook = "webhook",
|
|
9
|
+
mail = "email"
|
|
10
|
+
}
|
|
11
|
+
export interface WebhookCheckpoint extends Checkpoint {
|
|
12
|
+
type: "webhook";
|
|
13
|
+
url?: string;
|
|
14
|
+
method?: "GET" | "POST" | "PATCH" | "DELETE" | "PUT";
|
|
15
|
+
body?: any;
|
|
16
|
+
}
|
|
17
|
+
export interface EmailCheckpoint extends Checkpoint {
|
|
18
|
+
type: "email";
|
|
19
|
+
emailAddress?: string;
|
|
20
|
+
body?: any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckPointType = void 0;
|
|
4
|
+
var CheckPointType;
|
|
5
|
+
(function (CheckPointType) {
|
|
6
|
+
CheckPointType["webhook"] = "webhook";
|
|
7
|
+
CheckPointType["mail"] = "email";
|
|
8
|
+
})(CheckPointType = exports.CheckPointType || (exports.CheckPointType = {}));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Event {
|
|
2
|
+
id?: string;
|
|
3
|
+
customerId?: string;
|
|
4
|
+
context?: string;
|
|
5
|
+
type?: "webhook" | "email";
|
|
6
|
+
}
|
|
7
|
+
export declare enum EventType {
|
|
8
|
+
webhook = "webhook",
|
|
9
|
+
mail = "email"
|
|
10
|
+
}
|
|
11
|
+
export interface WebhookEvent extends Event {
|
|
12
|
+
type: "webhook";
|
|
13
|
+
url?: string;
|
|
14
|
+
method?: "GET" | "POST" | "PATCH" | "DELETE" | "PUT";
|
|
15
|
+
body?: any;
|
|
16
|
+
}
|
|
17
|
+
export interface EmailEvent extends Event {
|
|
18
|
+
type: "email";
|
|
19
|
+
emailAddress?: string;
|
|
20
|
+
body?: any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 = exports.EventType || (exports.EventType = {}));
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Money } from "../common";
|
|
2
|
+
/**
|
|
3
|
+
* Used to document usage of the service. Every activity can be tracked using this interface
|
|
4
|
+
*/
|
|
5
|
+
export interface Activity {
|
|
6
|
+
id?: string;
|
|
7
|
+
customerId?: string;
|
|
8
|
+
projectId?: string;
|
|
9
|
+
userId?: string;
|
|
10
|
+
/** An identifier of this type of activity */
|
|
11
|
+
activityName?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
timestamp?: Date;
|
|
14
|
+
caseId?: string;
|
|
15
|
+
subscriptionId?: string;
|
|
16
|
+
paid?: boolean;
|
|
17
|
+
extraCosts?: Money;
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, ExecutionStrategy, ModuleCategory, ModuleType, StatsCaseModel, UploadedFileModel } from ".";
|
|
1
|
+
import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ExecutionStrategy, ModuleCategory, ModuleType, StatsCaseModel, UploadedFileModel } from ".";
|
|
2
2
|
import { Meta } from "..";
|
|
3
3
|
import { ProcedureMode } from "./procedure.model";
|
|
4
4
|
/**
|
|
@@ -9,7 +9,7 @@ export interface CaseModel {
|
|
|
9
9
|
customerId?: string;
|
|
10
10
|
projectId?: string;
|
|
11
11
|
moduleId?: string;
|
|
12
|
-
environment?:
|
|
12
|
+
environment?: Environment;
|
|
13
13
|
module?: ModuleType;
|
|
14
14
|
moduleCategory?: ModuleCategory;
|
|
15
15
|
/** custom flags */
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Environment = void 0;
|
|
4
|
+
var Environment;
|
|
5
|
+
(function (Environment) {
|
|
6
|
+
Environment["development"] = "development";
|
|
7
|
+
Environment["production"] = "production";
|
|
8
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DigicustDocumentType } from ".";
|
|
2
2
|
import { Event } from "./event.model";
|
|
3
3
|
import { ProcedureMode } from "./procedure.model";
|
|
4
|
+
import { CustomsTariffNumberNormalizationSettings } from "./settings";
|
|
4
5
|
/**
|
|
5
6
|
* Execution strategies are customer-configurable plans on how to process a specific case.
|
|
6
7
|
*/
|
|
@@ -54,6 +55,7 @@ export interface ExecutionStrategy {
|
|
|
54
55
|
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
|
55
56
|
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
|
56
57
|
allowDateInOrderNumber?: boolean;
|
|
58
|
+
customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
|
|
57
59
|
};
|
|
58
60
|
dataValidation?: {
|
|
59
61
|
active?: boolean;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.condenseExecutionStrategy = void 0;
|
|
4
|
-
var condenseExecutionStrategy = function (strategy) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
};
|
|
13
15
|
exports.condenseExecutionStrategy = condenseExecutionStrategy;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Incoterms give information on transport conditions in international trade
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Incoterm {
|
|
5
|
+
EXW = "EXW",
|
|
6
|
+
FAS = "FAS",
|
|
7
|
+
FCA = "FCA",
|
|
8
|
+
FOB = "FOB",
|
|
9
|
+
CFR = "CFR",
|
|
10
|
+
CIF = "CIF",
|
|
11
|
+
CIP = "CIP",
|
|
12
|
+
CPT = "CPT",
|
|
13
|
+
DAP = "DAP",
|
|
14
|
+
DPU = "DPU",
|
|
15
|
+
DAT = "DAT",
|
|
16
|
+
DDP = "DDP"
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Incoterm = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Incoterms give information on transport conditions in international trade
|
|
6
|
+
*/
|
|
7
|
+
var Incoterm;
|
|
8
|
+
(function (Incoterm) {
|
|
9
|
+
Incoterm["EXW"] = "EXW";
|
|
10
|
+
Incoterm["FAS"] = "FAS";
|
|
11
|
+
Incoterm["FCA"] = "FCA";
|
|
12
|
+
Incoterm["FOB"] = "FOB";
|
|
13
|
+
Incoterm["CFR"] = "CFR";
|
|
14
|
+
Incoterm["CIF"] = "CIF";
|
|
15
|
+
Incoterm["CIP"] = "CIP";
|
|
16
|
+
Incoterm["CPT"] = "CPT";
|
|
17
|
+
Incoterm["DAP"] = "DAP";
|
|
18
|
+
Incoterm["DPU"] = "DPU";
|
|
19
|
+
Incoterm["DAT"] = "DAT";
|
|
20
|
+
Incoterm["DDP"] = "DDP";
|
|
21
|
+
})(Incoterm = exports.Incoterm || (exports.Incoterm = {}));
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -66,3 +62,5 @@ __exportStar(require("./documents"), exports);
|
|
|
66
62
|
// deferment account
|
|
67
63
|
__exportStar(require("./deferment-account.model"), exports);
|
|
68
64
|
__exportStar(require("./eori.model"), exports);
|
|
65
|
+
__exportStar(require("./settings"), exports);
|
|
66
|
+
__exportStar(require("./environment.enum"), exports);
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum StakeholderType {
|
|
2
|
+
Shipper = "shipper",
|
|
3
|
+
Recipient = "recipient",
|
|
4
|
+
Consignee = "consignee",
|
|
5
|
+
Importer = "importer",
|
|
6
|
+
Declarant = "declarant",
|
|
7
|
+
Agent = "agent",
|
|
8
|
+
Broker = "broker",
|
|
9
|
+
Buyer = "buyer",
|
|
10
|
+
Carrier = "carrier",
|
|
11
|
+
Warehouse = "warehouse"
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StakeholderType = void 0;
|
|
4
|
+
var StakeholderType;
|
|
5
|
+
(function (StakeholderType) {
|
|
6
|
+
StakeholderType["Shipper"] = "shipper";
|
|
7
|
+
StakeholderType["Recipient"] = "recipient";
|
|
8
|
+
StakeholderType["Consignee"] = "consignee";
|
|
9
|
+
StakeholderType["Importer"] = "importer";
|
|
10
|
+
StakeholderType["Declarant"] = "declarant";
|
|
11
|
+
StakeholderType["Agent"] = "agent";
|
|
12
|
+
StakeholderType["Broker"] = "broker";
|
|
13
|
+
StakeholderType["Buyer"] = "buyer";
|
|
14
|
+
StakeholderType["Carrier"] = "carrier";
|
|
15
|
+
StakeholderType["Warehouse"] = "warehouse";
|
|
16
|
+
})(StakeholderType = exports.StakeholderType || (exports.StakeholderType = {}));
|
|
@@ -3,6 +3,7 @@ import { AddressModel, Workflow } from "../../common";
|
|
|
3
3
|
import { PersonModel } from "../../common/person.model";
|
|
4
4
|
import { CustomsOffice } from "../customsOffice.model";
|
|
5
5
|
import { DefermentAccount } from "../deferment-account.model";
|
|
6
|
+
import { CustomsTariffNumberNormalizationSettings } from "../settings";
|
|
6
7
|
import { StakeholderRole } from "./stakeholder-role.enum";
|
|
7
8
|
export interface StakeholderModel {
|
|
8
9
|
id?: string;
|
|
@@ -26,6 +27,7 @@ export interface StakeholderModel {
|
|
|
26
27
|
correctRecipient?: StakeholderModel;
|
|
27
28
|
/** correct goods recipient/consignee, filled with name and stakeholder id */
|
|
28
29
|
correctConsignee?: StakeholderModel;
|
|
30
|
+
customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
|
|
29
31
|
meta?: {
|
|
30
32
|
version?: number;
|
|
31
33
|
userCreated?: boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Information about a notification Model
|
|
3
|
+
*/
|
|
4
|
+
export interface NotificationsModel {
|
|
5
|
+
id?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
link?: string;
|
|
10
|
+
consumer?: string;
|
|
11
|
+
addresseeType?: "customer" | "project" | "user";
|
|
12
|
+
addresseeId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Settings for the extraction and normalization of customs tariff numbers */
|
|
2
|
+
export interface CustomsTariffNumberNormalizationSettings {
|
|
3
|
+
/** Specifies whether to consider customs tariff number from invoice head/the general customs tariff number */
|
|
4
|
+
considerCustomsTariffNumberFromInvoiceHead?: boolean;
|
|
5
|
+
/** Specifies the length in which customs tariff numbers are considered. E.g. `6` would consider only the first 6 digits. */
|
|
6
|
+
customsTariffNumberLength?: number;
|
|
7
|
+
/** Specifies whether to ignore customs tariff numbers from invoices. E.g. `true` would not consider extracted customs tariff numbers */
|
|
8
|
+
ignoreCustomsTariffNumbersFromInvoice?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customsTariffNumberNormalizationSettings";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./customsTariffNumberNormalizationSettings"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Meta } from "../common";
|
|
2
|
+
export interface ShippingType extends Meta<ShippingMode> {
|
|
3
|
+
/** unique identifier of the transportation mean */
|
|
4
|
+
code?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
type?: ShippingTypePlace;
|
|
7
|
+
/** ISO Code of nationality of the mean */
|
|
8
|
+
countryCode?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare enum ShippingMode {
|
|
11
|
+
maritime = "Maritime",
|
|
12
|
+
rail = "Rail",
|
|
13
|
+
road = "Road",
|
|
14
|
+
air = "Air",
|
|
15
|
+
postal = "Postal",
|
|
16
|
+
fixedInstallations = "FixedInstallations",
|
|
17
|
+
inlandWaterway = "InlandWaterway",
|
|
18
|
+
unknown = "Unknown"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ShippingTypePlace {
|
|
21
|
+
border = "Border",
|
|
22
|
+
arrival = "Arrival",
|
|
23
|
+
departure = "Departure",
|
|
24
|
+
inland = "Inland"
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShippingTypePlace = exports.ShippingMode = void 0;
|
|
4
|
+
var ShippingMode;
|
|
5
|
+
(function (ShippingMode) {
|
|
6
|
+
ShippingMode["maritime"] = "Maritime";
|
|
7
|
+
ShippingMode["rail"] = "Rail";
|
|
8
|
+
ShippingMode["road"] = "Road";
|
|
9
|
+
ShippingMode["air"] = "Air";
|
|
10
|
+
ShippingMode["postal"] = "Postal";
|
|
11
|
+
ShippingMode["fixedInstallations"] = "FixedInstallations";
|
|
12
|
+
ShippingMode["inlandWaterway"] = "InlandWaterway";
|
|
13
|
+
ShippingMode["unknown"] = "Unknown";
|
|
14
|
+
})(ShippingMode = exports.ShippingMode || (exports.ShippingMode = {}));
|
|
15
|
+
var ShippingTypePlace;
|
|
16
|
+
(function (ShippingTypePlace) {
|
|
17
|
+
ShippingTypePlace["border"] = "Border";
|
|
18
|
+
ShippingTypePlace["arrival"] = "Arrival";
|
|
19
|
+
ShippingTypePlace["departure"] = "Departure";
|
|
20
|
+
ShippingTypePlace["inland"] = "Inland";
|
|
21
|
+
})(ShippingTypePlace = exports.ShippingTypePlace || (exports.ShippingTypePlace = {}));
|
package/lib/models/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/lib/models/ml/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|