digicust_types 1.7.281 → 1.7.282

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.
Files changed (208) hide show
  1. package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +2 -1
  2. package/lib/models/digicust/documents/digicust-document-type.enum.js +1 -0
  3. package/lib/models/digicust/documents/index.d.ts +1 -0
  4. package/lib/models/digicust/documents/index.js +1 -0
  5. package/lib/models/digicust/documents/tariff-classification-input.d.ts +16 -0
  6. package/lib/models/{common/bbox.model.js → digicust/documents/tariff-classification-input.js} +0 -0
  7. package/package.json +1 -1
  8. package/lib/models/common/address.model.d.ts +0 -22
  9. package/lib/models/common/address.model.js +0 -13
  10. package/lib/models/common/bbox.model.d.ts +0 -22
  11. package/lib/models/common/classification-code.model.d.ts +0 -5
  12. package/lib/models/common/classification-code.model.js +0 -2
  13. package/lib/models/common/company.model.d.ts +0 -30
  14. package/lib/models/common/company.model.js +0 -2
  15. package/lib/models/common/currency.enum.d.ts +0 -181
  16. package/lib/models/common/currency.enum.js +0 -185
  17. package/lib/models/common/customs-tariff-number.model.d.ts +0 -25
  18. package/lib/models/common/customs-tariff-number.model.js +0 -21
  19. package/lib/models/common/date.model.d.ts +0 -5
  20. package/lib/models/common/date.model.js +0 -2
  21. package/lib/models/common/dialog-window.model.d.ts +0 -6
  22. package/lib/models/common/dialog-window.model.js +0 -2
  23. package/lib/models/common/dimensions-unit.enum.d.ts +0 -7
  24. package/lib/models/common/dimensions-unit.enum.js +0 -11
  25. package/lib/models/common/dimensions.model.d.ts +0 -8
  26. package/lib/models/common/dimensions.model.js +0 -2
  27. package/lib/models/common/extra-styles.model.d.ts +0 -4
  28. package/lib/models/common/extra-styles.model.js +0 -2
  29. package/lib/models/common/field-type.enum.d.ts +0 -10
  30. package/lib/models/common/field-type.enum.js +0 -14
  31. package/lib/models/common/filter.enum.d.ts +0 -8
  32. package/lib/models/common/filter.enum.js +0 -12
  33. package/lib/models/common/frontend-fields.model.d.ts +0 -11
  34. package/lib/models/common/frontend-fields.model.js +0 -2
  35. package/lib/models/common/fuzzy-input.d.ts +0 -4
  36. package/lib/models/common/fuzzy-input.js +0 -2
  37. package/lib/models/common/hs-classification-interaction.d.ts +0 -30
  38. package/lib/models/common/hs-classification-interaction.js +0 -2
  39. package/lib/models/common/hs-classification-response.d.ts +0 -31
  40. package/lib/models/common/hs-classification-response.js +0 -2
  41. package/lib/models/common/hs-code.model.d.ts +0 -11
  42. package/lib/models/common/hs-code.model.js +0 -2
  43. package/lib/models/common/index.d.ts +0 -29
  44. package/lib/models/common/index.js +0 -49
  45. package/lib/models/common/language.model.d.ts +0 -4
  46. package/lib/models/common/language.model.js +0 -2
  47. package/lib/models/common/meta.d.ts +0 -35
  48. package/lib/models/common/meta.js +0 -13
  49. package/lib/models/common/money.model.d.ts +0 -11
  50. package/lib/models/common/money.model.js +0 -16
  51. package/lib/models/common/multerfile.model.d.ts +0 -12
  52. package/lib/models/common/multerfile.model.js +0 -2
  53. package/lib/models/common/package-type.model.d.ts +0 -10
  54. package/lib/models/common/package-type.model.js +0 -2
  55. package/lib/models/common/periods.enum.d.ts +0 -5
  56. package/lib/models/common/periods.enum.js +0 -9
  57. package/lib/models/common/person.model.d.ts +0 -12
  58. package/lib/models/common/person.model.js +0 -2
  59. package/lib/models/common/prefix.enum.d.ts +0 -5
  60. package/lib/models/common/prefix.enum.js +0 -10
  61. package/lib/models/common/quantity.model.d.ts +0 -16
  62. package/lib/models/common/quantity.model.js +0 -10
  63. package/lib/models/common/section-type.enum.d.ts +0 -12
  64. package/lib/models/common/section-type.enum.js +0 -16
  65. package/lib/models/common/sort.enum.d.ts +0 -4
  66. package/lib/models/common/sort.enum.js +0 -8
  67. package/lib/models/common/subscription-price.model.d.ts +0 -9
  68. package/lib/models/common/subscription-price.model.js +0 -2
  69. package/lib/models/common/unit-of-measurement.d.ts +0 -10
  70. package/lib/models/common/unit-of-measurement.js +0 -2
  71. package/lib/models/common/uom.enum.d.ts +0 -39
  72. package/lib/models/common/uom.enum.js +0 -44
  73. package/lib/models/common/weight-unit.enum.d.ts +0 -10
  74. package/lib/models/common/weight-unit.enum.js +0 -14
  75. package/lib/models/common/weight.model.d.ts +0 -7
  76. package/lib/models/common/weight.model.js +0 -15
  77. package/lib/models/common/workflow.d.ts +0 -23
  78. package/lib/models/common/workflow.js +0 -2
  79. package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +0 -13
  80. package/lib/models/digicust/AnalyzerMetadataModel.model.js +0 -2
  81. package/lib/models/digicust/activity.model.d.ts +0 -16
  82. package/lib/models/digicust/activity.model.js +0 -2
  83. package/lib/models/digicust/adjustment.model.d.ts +0 -7
  84. package/lib/models/digicust/adjustment.model.js +0 -2
  85. package/lib/models/digicust/aggregated-case-data.model.d.ts +0 -76
  86. package/lib/models/digicust/aggregated-case-data.model.js +0 -25
  87. package/lib/models/digicust/case-status.enum.d.ts +0 -22
  88. package/lib/models/digicust/case-status.enum.js +0 -26
  89. package/lib/models/digicust/case-submission-transaction.d.ts +0 -29
  90. package/lib/models/digicust/case-submission-transaction.js +0 -19
  91. package/lib/models/digicust/case-type.enum.d.ts +0 -8
  92. package/lib/models/digicust/case-type.enum.js +0 -12
  93. package/lib/models/digicust/case.model.d.ts +0 -52
  94. package/lib/models/digicust/case.model.js +0 -24
  95. package/lib/models/digicust/consignment-size.enum.d.ts +0 -4
  96. package/lib/models/digicust/consignment-size.enum.js +0 -8
  97. package/lib/models/digicust/container.model.d.ts +0 -7
  98. package/lib/models/digicust/container.model.js +0 -2
  99. package/lib/models/digicust/context.model.d.ts +0 -9
  100. package/lib/models/digicust/context.model.js +0 -2
  101. package/lib/models/digicust/cost-intersection.model.d.ts +0 -20
  102. package/lib/models/digicust/cost-intersection.model.js +0 -16
  103. package/lib/models/digicust/custom-document.model.d.ts +0 -8
  104. package/lib/models/digicust/custom-document.model.js +0 -2
  105. package/lib/models/digicust/customer.model.d.ts +0 -55
  106. package/lib/models/digicust/customer.model.js +0 -2
  107. package/lib/models/digicust/customsOffice.model.d.ts +0 -19
  108. package/lib/models/digicust/customsOffice.model.js +0 -12
  109. package/lib/models/digicust/declaration.model.d.ts +0 -4
  110. package/lib/models/digicust/declaration.model.js +0 -2
  111. package/lib/models/digicust/deferment-account.model.d.ts +0 -15
  112. package/lib/models/digicust/deferment-account.model.js +0 -2
  113. package/lib/models/digicust/digicust-document-type.enum.d.ts +0 -15
  114. package/lib/models/digicust/digicust-document-type.enum.js +0 -19
  115. package/lib/models/digicust/digicust-document.model.d.ts +0 -45
  116. package/lib/models/digicust/digicust-document.model.js +0 -38
  117. package/lib/models/digicust/document-code.model.d.ts +0 -12
  118. package/lib/models/digicust/document-code.model.js +0 -2
  119. package/lib/models/digicust/document-status.enum.d.ts +0 -38
  120. package/lib/models/digicust/document-status.enum.js +0 -45
  121. package/lib/models/digicust/documents/invoice-language.enum.d.ts +0 -13
  122. package/lib/models/digicust/documents/invoice-language.enum.js +0 -17
  123. package/lib/models/digicust/eori.model.d.ts +0 -8
  124. package/lib/models/digicust/eori.model.js +0 -2
  125. package/lib/models/digicust/event.model.d.ts +0 -64
  126. package/lib/models/digicust/event.model.js +0 -10
  127. package/lib/models/digicust/execution-strategy.model.d.ts +0 -105
  128. package/lib/models/digicust/execution-strategy.model.js +0 -13
  129. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +0 -22
  130. package/lib/models/digicust/extractions/extraction-grid.model.js +0 -2
  131. package/lib/models/digicust/extractions/extraction.model.d.ts +0 -65
  132. package/lib/models/digicust/extractions/extraction.model.js +0 -2
  133. package/lib/models/digicust/extractions/index.d.ts +0 -2
  134. package/lib/models/digicust/extractions/index.js +0 -18
  135. package/lib/models/digicust/frontend-big-section.model.d.ts +0 -13
  136. package/lib/models/digicust/frontend-big-section.model.js +0 -2
  137. package/lib/models/digicust/frontend-group.model.d.ts +0 -6
  138. package/lib/models/digicust/frontend-group.model.js +0 -2
  139. package/lib/models/digicust/frontend-mapping.model.d.ts +0 -4
  140. package/lib/models/digicust/frontend-mapping.model.js +0 -2
  141. package/lib/models/digicust/frontend-small-section.mode.d.ts +0 -13
  142. package/lib/models/digicust/frontend-small-section.mode.js +0 -2
  143. package/lib/models/digicust/hs-code-mapping.d.ts +0 -26
  144. package/lib/models/digicust/hs-code-mapping.js +0 -2
  145. package/lib/models/digicust/incoterm.model.d.ts +0 -25
  146. package/lib/models/digicust/incoterm.model.js +0 -21
  147. package/lib/models/digicust/invoice-type.model.d.ts +0 -9
  148. package/lib/models/digicust/invoice-type.model.js +0 -2
  149. package/lib/models/digicust/invoice.model.d.ts +0 -62
  150. package/lib/models/digicust/invoice.model.js +0 -2
  151. package/lib/models/digicust/line-item.model.d.ts +0 -82
  152. package/lib/models/digicust/line-item.model.js +0 -17
  153. package/lib/models/digicust/load-type.enum.d.ts +0 -14
  154. package/lib/models/digicust/load-type.enum.js +0 -19
  155. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +0 -5
  156. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +0 -9
  157. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +0 -7
  158. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +0 -11
  159. package/lib/models/digicust/mean-of-transportation.model.d.ts +0 -30
  160. package/lib/models/digicust/mean-of-transportation.model.js +0 -21
  161. package/lib/models/digicust/membership.model.d.ts +0 -7
  162. package/lib/models/digicust/membership.model.js +0 -2
  163. package/lib/models/digicust/module.model.d.ts +0 -49
  164. package/lib/models/digicust/module.model.js +0 -27
  165. package/lib/models/digicust/notifications.model.d.ts +0 -13
  166. package/lib/models/digicust/notifications.model.js +0 -2
  167. package/lib/models/digicust/operationType.enum.d.ts +0 -15
  168. package/lib/models/digicust/operationType.enum.js +0 -20
  169. package/lib/models/digicust/package.model.d.ts +0 -17
  170. package/lib/models/digicust/package.model.js +0 -2
  171. package/lib/models/digicust/packingList.model.d.ts +0 -33
  172. package/lib/models/digicust/packingList.model.js +0 -2
  173. package/lib/models/digicust/preference-state.model.d.ts +0 -23
  174. package/lib/models/digicust/preference-state.model.js +0 -2
  175. package/lib/models/digicust/procedure.model.d.ts +0 -17
  176. package/lib/models/digicust/procedure.model.js +0 -10
  177. package/lib/models/digicust/project.model.d.ts +0 -30
  178. package/lib/models/digicust/project.model.js +0 -8
  179. package/lib/models/digicust/queue-fields.model.d.ts +0 -15
  180. package/lib/models/digicust/queue-fields.model.js +0 -2
  181. package/lib/models/digicust/queue.model.d.ts +0 -18
  182. package/lib/models/digicust/queue.model.js +0 -2
  183. package/lib/models/digicust/report.model.d.ts +0 -5
  184. package/lib/models/digicust/report.model.js +0 -2
  185. package/lib/models/digicust/special-measure.model.d.ts +0 -7
  186. package/lib/models/digicust/special-measure.model.js +0 -2
  187. package/lib/models/digicust/stats-case.model.d.ts +0 -12
  188. package/lib/models/digicust/stats-case.model.js +0 -2
  189. package/lib/models/digicust/subscription-info.model.d.ts +0 -13
  190. package/lib/models/digicust/subscription-info.model.js +0 -2
  191. package/lib/models/digicust/subscription.model.d.ts +0 -11
  192. package/lib/models/digicust/subscription.model.js +0 -2
  193. package/lib/models/digicust/tax-details.model.d.ts +0 -10
  194. package/lib/models/digicust/tax-details.model.js +0 -2
  195. package/lib/models/digicust/transit-item.model.d.ts +0 -28
  196. package/lib/models/digicust/transit-item.model.js +0 -67
  197. package/lib/models/digicust/type-of-business.enum.d.ts +0 -44
  198. package/lib/models/digicust/type-of-business.enum.js +0 -48
  199. package/lib/models/digicust/type-of-business.model.d.ts +0 -11
  200. package/lib/models/digicust/type-of-business.model.js +0 -2
  201. package/lib/models/digicust/uploaded-file.model.d.ts +0 -10
  202. package/lib/models/digicust/uploaded-file.model.js +0 -2
  203. package/lib/models/digicust/user.model.d.ts +0 -18
  204. package/lib/models/digicust/user.model.js +0 -2
  205. package/lib/models/digicust/waybill-type.model.d.ts +0 -15
  206. package/lib/models/digicust/waybill-type.model.js +0 -11
  207. package/lib/models/digicust/waybill.model.d.ts +0 -33
  208. package/lib/models/digicust/waybill.model.js +0 -2
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseWeight = void 0;
4
- var condenseWeight = function (weight) {
5
- var condensed = {
6
- value: weight.value,
7
- unit: weight.unit,
8
- kgEquivalent: weight.kgEquivalent,
9
- confidence: weight.confidence,
10
- reviewNeeded: weight.reviewNeeded,
11
- };
12
- condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined properties
13
- return condensed;
14
- };
15
- exports.condenseWeight = condenseWeight;
@@ -1,23 +0,0 @@
1
- export interface Workflow<T> {
2
- /**
3
- * The current value of the property
4
- */
5
- value?: T;
6
- /**
7
- * Normalized searchValue, for any related queries.
8
- * Needs to be a string, even if value is of a different type.
9
- */
10
- searchValue?: string;
11
- /**
12
- * Encoded user (username, userId, etc.)
13
- */
14
- lastChangedBy?: String;
15
- /**
16
- * Mark this property as user-edited (as opposed to machine-generated)
17
- */
18
- userEdited?: boolean;
19
- /**
20
- * Last modification date (user or machine), as a UTC unix timestamp
21
- */
22
- modifiedAt?: number;
23
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- import { RossumImportStatus } from "../rossum";
2
- /**
3
- * Base Model for Analyser Metadata (used in case document)
4
- */
5
- export interface AnalyzerMetadataModel {
6
- importStatus?: RossumImportStatus;
7
- annotationId?: string;
8
- queueId?: number;
9
- exportOnConfirmed?: boolean;
10
- splitAnnotationIds?: string[];
11
- parentAnnotationId?: string;
12
- env?: string;
13
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +0,0 @@
1
- /**
2
- * Used to document usage of the service. Every activity can be tracked using this interface
3
- */
4
- export interface Activity {
5
- id?: string;
6
- customerId?: string;
7
- projectId?: string;
8
- userId?: string;
9
- /** An identifier of this type of activity */
10
- activityName?: string;
11
- description?: string;
12
- timestamp?: Date;
13
- caseId?: string;
14
- subscriptionId?: string;
15
- paid?: boolean;
16
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { Meta, Money } from "../common";
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,76 +0,0 @@
1
- import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package } from ".";
2
- import { Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money } from "..";
3
- import { TransitItemModel } from "./transit-item.model";
4
- /**
5
- * Used to store aggregated information of a case
6
- */
7
- export interface AggregatedCaseDataModel {
8
- procedure?: Procedure;
9
- /** commercial reference number, usually assigned by the trader */
10
- referenceNumber?: Meta<string>;
11
- mrnNumber?: Meta<string>;
12
- /** Load Type, e.g. full container load */
13
- loadType?: Meta<LoadType>;
14
- countryOfOrigin?: AddressModel;
15
- fromAddress?: AddressModel;
16
- toAddress?: AddressModel;
17
- transitCountries?: AddressModel[];
18
- arrivalDate?: DateTimeModel;
19
- departureDate?: DateTimeModel;
20
- issueDate?: DateTimeModel;
21
- transferDate?: DateTimeModel;
22
- registrationDate?: DateTimeModel;
23
- duration?: Meta<number>;
24
- consignee?: CompanyModel;
25
- shipper?: CompanyModel;
26
- exporter?: CompanyModel;
27
- importer?: CompanyModel;
28
- declarant?: CompanyModel;
29
- agent?: CompanyModel;
30
- broker?: CompanyModel;
31
- buyer?: CompanyModel;
32
- carrier?: CompanyModel;
33
- warehouse?: CompanyModel;
34
- obligater?: CompanyModel;
35
- /** adjustments to statistical/duty/VAT value */
36
- adjustments?: Adjustment[];
37
- containers?: Container[];
38
- currency?: Meta<Currency>;
39
- waybillType?: WaybillTypeModel;
40
- waybillNumber?: Meta<string>;
41
- weightUnit?: Meta<WeightUnit>;
42
- weight?: Weight;
43
- netWeight?: Weight;
44
- incoterm?: IncotermModel;
45
- placeIncoterm?: AddressModel;
46
- costIntersection?: CostIntersection;
47
- tradePreference?: TradePreference;
48
- customsOffices?: CustomsOffice[];
49
- meansOfTransportation?: MeanOfTransportation[];
50
- typeofBusiness?: TypeOfBusiness;
51
- /** case flow (import, export, ...) */
52
- caseType?: Meta<CaseType>;
53
- items?: LineItemModel[];
54
- numberOfShipments?: Meta<number>;
55
- packages?: Package[];
56
- sealNumber?: Meta<string>;
57
- truckNationality?: Meta<string>;
58
- truckLicensePlate?: Meta<string>;
59
- trailerLicensePlate?: Meta<string>;
60
- destinationCustomOffice?: Meta<string>;
61
- departureCustomOffice?: Meta<string>;
62
- loadingPlace?: Meta<string>;
63
- transitItems?: TransitItemModel[];
64
- totalValueExcludingCharges?: Money;
65
- totalValueWithoutTax?: Money;
66
- totalTax?: Money;
67
- totalValue?: Money;
68
- totalLicenseFee?: Money;
69
- totalOtherPayments?: Money;
70
- totalShippingCost?: Money;
71
- totalPackagingCosts?: Money;
72
- totalCustomsValue?: Money;
73
- totalDiscount?: Money;
74
- totalInsuranceCosts?: Money;
75
- }
76
- export declare const condenseAggregated: (aggregated?: AggregatedCaseDataModel | undefined) => AggregatedCaseDataModel | null;
@@ -1,25 +0,0 @@
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.condenseAggregated = void 0;
15
- var _1 = require(".");
16
- var transit_item_model_1 = require("./transit-item.model");
17
- var condenseAggregated = function (aggregated) {
18
- var _a, _b;
19
- return (aggregated
20
- ? __assign(__assign({}, aggregated), { items: (_a = aggregated.items) === null || _a === void 0 ? void 0 : _a.map(function (item) { return (0, _1.condenseLineItem)(item); }), transitItems: (_b = aggregated.transitItems) === null || _b === void 0 ? void 0 : _b.map(function (item) {
21
- return (0, transit_item_model_1.condenseTransitLineItem)(item);
22
- }) })
23
- : null);
24
- };
25
- exports.condenseAggregated = condenseAggregated;
@@ -1,22 +0,0 @@
1
- /**
2
- * Used to document the processing status of the case.
3
- */
4
- export declare enum CaseStatus {
5
- init = "init",
6
- uploaded = "uploaded",
7
- extracted = "extracted",
8
- normalized = "normalized",
9
- processed = "processed",
10
- checked = "checked",
11
- error = "error",
12
- aborted = "aborted",
13
- toEdit = "toEdit",
14
- inProgress = "inProgress",
15
- errorCustoms = "errorCustoms",
16
- errorInternal = "errorInternal",
17
- documentAnalysis = "documentAnalysis",
18
- physicalControl = "physicalControl",
19
- questionCustoms = "questionCustoms",
20
- firstClearance = "firstClearance",
21
- secondClearance = "secondClearance"
22
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaseStatus = void 0;
4
- /**
5
- * Used to document the processing status of the case.
6
- */
7
- var CaseStatus;
8
- (function (CaseStatus) {
9
- CaseStatus["init"] = "init";
10
- CaseStatus["uploaded"] = "uploaded";
11
- CaseStatus["extracted"] = "extracted";
12
- CaseStatus["normalized"] = "normalized";
13
- CaseStatus["processed"] = "processed";
14
- CaseStatus["checked"] = "checked";
15
- CaseStatus["error"] = "error";
16
- CaseStatus["aborted"] = "aborted";
17
- CaseStatus["toEdit"] = "toEdit";
18
- CaseStatus["inProgress"] = "inProgress";
19
- CaseStatus["errorCustoms"] = "errorCustoms";
20
- CaseStatus["errorInternal"] = "errorInternal";
21
- CaseStatus["documentAnalysis"] = "documentAnalysis";
22
- CaseStatus["physicalControl"] = "physicalControl";
23
- CaseStatus["questionCustoms"] = "questionCustoms";
24
- CaseStatus["firstClearance"] = "firstClearance";
25
- CaseStatus["secondClearance"] = "secondClearance";
26
- })(CaseStatus = exports.CaseStatus || (exports.CaseStatus = {}));
@@ -1,29 +0,0 @@
1
- /**
2
- * Information about the submission at a customs authority
3
- */
4
- export interface CaseSubmissionTransaction {
5
- id?: string;
6
- caseId?: string;
7
- mrn?: string;
8
- accomplishedAt?: Date;
9
- procedure?: CaseSubmissionProcedure;
10
- /** Service that is responsible for this submission */
11
- service?: string;
12
- reference?: string;
13
- dateTime?: Date;
14
- /** Specifies which type of transaction it is (e.g. 'QuittungEingangsverarbeitung') */
15
- transactionType?: string;
16
- content?: any;
17
- xml?: string;
18
- }
19
- export declare enum CaseSubmissionProcedure {
20
- VersandanmeldungNCTSDE = "VersandanmeldungNCTSDE",
21
- EingangsanzeigeNCTSDE = "EingangsanzeigeNCTSDE",
22
- FreierVerkehrAbfertigung = "FreierVerkehrAbfertigung",
23
- ErgaenzendeAnmeldungFVAVUV = "ErgaenzendeAnmeldungFVAVUV"
24
- }
25
- export declare enum CaseSubmissionTransactionType {
26
- FreierVerkehrAbfertigungBestaetigungVorzeitigeAnmeldung = "FreierVerkehrAbfertigungBestaetigungVorzeitigeAnmeldung",
27
- FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung = "FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung",
28
- QuittungEingangsverarbeitung = "QuittungEingangsverarbeitung"
29
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaseSubmissionTransactionType = exports.CaseSubmissionProcedure = void 0;
4
- var CaseSubmissionProcedure;
5
- (function (CaseSubmissionProcedure) {
6
- // NCTS DE
7
- CaseSubmissionProcedure["VersandanmeldungNCTSDE"] = "VersandanmeldungNCTSDE";
8
- CaseSubmissionProcedure["EingangsanzeigeNCTSDE"] = "EingangsanzeigeNCTSDE";
9
- // Freier Verkehr
10
- CaseSubmissionProcedure["FreierVerkehrAbfertigung"] = "FreierVerkehrAbfertigung";
11
- CaseSubmissionProcedure["ErgaenzendeAnmeldungFVAVUV"] = "ErgaenzendeAnmeldungFVAVUV";
12
- })(CaseSubmissionProcedure = exports.CaseSubmissionProcedure || (exports.CaseSubmissionProcedure = {}));
13
- var CaseSubmissionTransactionType;
14
- (function (CaseSubmissionTransactionType) {
15
- // Freier Verkehr
16
- CaseSubmissionTransactionType["FreierVerkehrAbfertigungBestaetigungVorzeitigeAnmeldung"] = "FreierVerkehrAbfertigungBestaetigungVorzeitigeAnmeldung";
17
- CaseSubmissionTransactionType["FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung"] = "FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung";
18
- CaseSubmissionTransactionType["QuittungEingangsverarbeitung"] = "QuittungEingangsverarbeitung";
19
- })(CaseSubmissionTransactionType = exports.CaseSubmissionTransactionType || (exports.CaseSubmissionTransactionType = {}));
@@ -1,8 +0,0 @@
1
- /**
2
- * Identifies the customs procedure
3
- * @deprecated
4
- */
5
- export declare enum CaseType {
6
- import = "import",
7
- export = "export"
8
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaseType = void 0;
4
- /**
5
- * Identifies the customs procedure
6
- * @deprecated
7
- */
8
- var CaseType;
9
- (function (CaseType) {
10
- CaseType["import"] = "import";
11
- CaseType["export"] = "export";
12
- })(CaseType = exports.CaseType || (exports.CaseType = {}));
@@ -1,52 +0,0 @@
1
- import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ExecutionStrategy, ModuleCategory, ModuleType, StatsCaseModel, UploadedFileModel } from ".";
2
- import { Meta } from "..";
3
- import { ProcedureMode } from "./procedure.model";
4
- /**
5
- * Model used for any kind of customs case.
6
- */
7
- export interface CaseModel {
8
- id?: string;
9
- customerId?: string;
10
- projectId?: string;
11
- moduleId?: string;
12
- environment?: Environment;
13
- module?: ModuleType;
14
- moduleCategory?: ModuleCategory;
15
- /** custom flags */
16
- flags?: {
17
- [key: string]: string;
18
- };
19
- contextId?: string;
20
- status?: Meta<CaseStatus>;
21
- createdAt?: Date;
22
- processedAt?: string;
23
- sentAt?: Date;
24
- automatic?: boolean;
25
- isProcessWithDextor?: boolean;
26
- isPseudonymized?: boolean;
27
- mrnNumber?: Meta<string>;
28
- accomplishedAt?: Date;
29
- reference?: string;
30
- modifiedBy?: {
31
- id?: string;
32
- displayName?: string;
33
- date?: Date;
34
- };
35
- /** Case Type */
36
- procedureMode?: ProcedureMode;
37
- /**
38
- * Customs documents (e.g. invoices, waybills, ...)
39
- * Each item could only exist in condensed form
40
- */
41
- documents?: DigicustDocumentModel[];
42
- /** Case level errors (property level errors are stored in property) */
43
- errors?: Array<Error>;
44
- /** Original, uploaded files */
45
- uploadedFiles?: Array<UploadedFileModel>;
46
- /** Aggregated case data */
47
- aggregated?: AggregatedCaseDataModel;
48
- stats?: StatsCaseModel;
49
- /** Information on how the case needs to be processed */
50
- executionStrategy?: ExecutionStrategy;
51
- }
52
- export declare const condenseCaseModel: (caseModel?: CaseModel | undefined) => CaseModel | null;
@@ -1,24 +0,0 @@
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.condenseCaseModel = void 0;
15
- var _1 = require(".");
16
- var condenseCaseModel = function (caseModel) {
17
- var _a;
18
- return (caseModel
19
- ? __assign(__assign({}, caseModel), { documents: (_a = caseModel.documents) === null || _a === void 0 ? void 0 : _a.map(function (document) {
20
- return (0, _1.condenseDocument)(document);
21
- }), executionStrategy: (0, _1.condenseExecutionStrategy)(caseModel.executionStrategy), aggregated: (0, _1.condenseAggregated)(caseModel.aggregated) })
22
- : null);
23
- };
24
- exports.condenseCaseModel = condenseCaseModel;
@@ -1,4 +0,0 @@
1
- export declare enum ConsignmentSize {
2
- smallConsignment = "small",
3
- bulkConsignment = "bulk"
4
- }
@@ -1,8 +0,0 @@
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 = {}));
@@ -1,7 +0,0 @@
1
- import { Meta } from "../common";
2
- export interface Container extends Meta<string> {
3
- /** container number */
4
- value?: string;
5
- /** ISO Size Code */
6
- typeCode?: string;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * Identifies the context of a case.
3
- */
4
- export interface ContextModel {
5
- id?: string;
6
- name?: string;
7
- customerId?: string;
8
- projectId?: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- import { Meta } from "../common";
2
- /**
3
- * Identifies cost intersection
4
- */
5
- export interface CostIntersection extends Meta<CostIntersectionTypes> {
6
- NC_23000?: string;
7
- DE_A1850?: string;
8
- }
9
- export declare enum CostIntersectionTypes {
10
- outsideZoneDutyUnpaid = "outsideZoneDutyUnpaid",
11
- freeBorderDutyUnpaid = "freeBorderDutyUnpaid",
12
- insideZoneDutyUnpaid = "insideZoneDutyUnpaid",
13
- outsideZoneDutyPaid = "outsideZoneDutyPaid",
14
- freeBorderDutyPaid = "freeBorderDutyPaid",
15
- insideZoneDutyPaid = "insideZoneDutyPaid",
16
- outsideZoneDutyPaidExclusiveVat = "outsideZoneDutyPaidExclusiveVat",
17
- freeBorderDutyPaidExclusiveVat = "freeBorderDutyPaidExclusiveVat",
18
- insideZoneDutyPaidExclusiveVat = "insideZoneDutyPaidExclusiveVat",
19
- freeBorderDutyPaidValueEstimated = "freeBorderDutyPaidValueEstimated"
20
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CostIntersectionTypes = void 0;
4
- var CostIntersectionTypes;
5
- (function (CostIntersectionTypes) {
6
- CostIntersectionTypes["outsideZoneDutyUnpaid"] = "outsideZoneDutyUnpaid";
7
- CostIntersectionTypes["freeBorderDutyUnpaid"] = "freeBorderDutyUnpaid";
8
- CostIntersectionTypes["insideZoneDutyUnpaid"] = "insideZoneDutyUnpaid";
9
- CostIntersectionTypes["outsideZoneDutyPaid"] = "outsideZoneDutyPaid";
10
- CostIntersectionTypes["freeBorderDutyPaid"] = "freeBorderDutyPaid";
11
- CostIntersectionTypes["insideZoneDutyPaid"] = "insideZoneDutyPaid";
12
- CostIntersectionTypes["outsideZoneDutyPaidExclusiveVat"] = "outsideZoneDutyPaidExclusiveVat";
13
- CostIntersectionTypes["freeBorderDutyPaidExclusiveVat"] = "freeBorderDutyPaidExclusiveVat";
14
- CostIntersectionTypes["insideZoneDutyPaidExclusiveVat"] = "insideZoneDutyPaidExclusiveVat";
15
- CostIntersectionTypes["freeBorderDutyPaidValueEstimated"] = "freeBorderDutyPaidValueEstimated";
16
- })(CostIntersectionTypes = exports.CostIntersectionTypes || (exports.CostIntersectionTypes = {}));
@@ -1,8 +0,0 @@
1
- import { DigicustDocumentType } from "./digicust-document-type.enum";
2
- import { DigicustDocumentModel } from "./digicust-document.model";
3
- /**
4
- * Identifies a user-specified case document
5
- */
6
- export interface CustomDocumentModel extends DigicustDocumentModel {
7
- documentType: DigicustDocumentType.CustomDocument;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,55 +0,0 @@
1
- import { ModuleModel } from "./module.model";
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- import { MeanOfTransportationMode } from ".";
2
- import { AddressModel, Meta } from "../common";
3
- export interface CustomsOffice extends Meta<any> {
4
- code?: Meta<string>;
5
- officeType?: CustomsOfficeType;
6
- address?: AddressModel;
7
- name?: Meta<string>;
8
- conditional?: {
9
- meanOfTransportationMode: MeanOfTransportationMode;
10
- };
11
- }
12
- export declare enum CustomsOfficeType {
13
- entry = "Entry",
14
- exit = "Exit",
15
- export = "Export",
16
- transit = "Transit",
17
- import = "Import",
18
- declaration = "Declaration"
19
- }
@@ -1,12 +0,0 @@
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 = {}));
@@ -1,4 +0,0 @@
1
- export interface Declaration {
2
- }
3
- export interface DeclarationType1 extends Declaration {
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- import { Meta } from "../common";
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * Identifies different document types
3
- */
4
- export declare enum DigicustDocumentType {
5
- Invoice = "invoice",
6
- Waybill = "waybill",
7
- PackingList = "packingList",
8
- TaxInvoice = "taxInvoice",
9
- CustomDocument = "customDocument",
10
- ItemListing = "itemListing",
11
- CostOverview = "costOverview",
12
- DeclarationOfOrigin = "declarationOfOrigin",
13
- PreferentialProofOfOrigin = "preferentialProofOfOrigin",
14
- ProofOfDirectTransport = "proofOfDirectTransport"
15
- }