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.
Files changed (236) hide show
  1. package/lib/models/digicust/activity/activity.model.d.ts +16 -0
  2. package/lib/models/digicust/activity/activity.model.js +2 -0
  3. package/lib/models/digicust/activity/index.d.ts +1 -0
  4. package/lib/models/digicust/activity/index.js +17 -0
  5. package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.d.ts +13 -0
  6. package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.js +2 -0
  7. package/lib/models/digicust/analyzer/index.d.ts +1 -0
  8. package/lib/models/digicust/analyzer/index.js +17 -0
  9. package/lib/models/digicust/billing/index.d.ts +4 -0
  10. package/lib/models/digicust/billing/index.js +20 -0
  11. package/lib/models/digicust/billing/periods.enum.d.ts +5 -0
  12. package/lib/models/digicust/billing/periods.enum.js +9 -0
  13. package/lib/models/digicust/billing/subscription-info.model.d.ts +12 -0
  14. package/lib/models/digicust/billing/subscription-info.model.js +2 -0
  15. package/lib/models/digicust/billing/subscription-price.model.d.ts +9 -0
  16. package/lib/models/digicust/billing/subscription-price.model.js +2 -0
  17. package/lib/models/digicust/billing/subscription.model.d.ts +11 -0
  18. package/lib/models/digicust/billing/subscription.model.js +2 -0
  19. package/lib/models/digicust/case/aggregated-case-data.model.d.ts +74 -0
  20. package/lib/models/digicust/case/aggregated-case-data.model.js +24 -0
  21. package/lib/models/digicust/case/case-status.enum.d.ts +22 -0
  22. package/lib/models/digicust/case/case-status.enum.js +26 -0
  23. package/lib/models/digicust/case/case-submission-transaction.d.ts +29 -0
  24. package/lib/models/digicust/case/case-submission-transaction.js +19 -0
  25. package/lib/models/digicust/case/case-type.enum.d.ts +8 -0
  26. package/lib/models/digicust/case/case-type.enum.js +12 -0
  27. package/lib/models/digicust/case/case.model.d.ts +50 -0
  28. package/lib/models/digicust/case/case.model.js +24 -0
  29. package/lib/models/digicust/case/context.model.d.ts +9 -0
  30. package/lib/models/digicust/case/context.model.js +2 -0
  31. package/lib/models/digicust/case/index.d.ts +8 -0
  32. package/lib/models/digicust/case/index.js +24 -0
  33. package/lib/models/digicust/case/stats-case.model.d.ts +12 -0
  34. package/lib/models/digicust/case/stats-case.model.js +2 -0
  35. package/lib/models/digicust/case/uploaded-file.model.d.ts +10 -0
  36. package/lib/models/digicust/case/uploaded-file.model.js +2 -0
  37. package/lib/models/digicust/company/company.model.d.ts +26 -0
  38. package/lib/models/digicust/company/company.model.js +2 -0
  39. package/lib/models/digicust/company/index.d.ts +2 -0
  40. package/lib/models/digicust/company/index.js +18 -0
  41. package/lib/models/digicust/company/permit-number.model.d.ts +13 -0
  42. package/lib/models/digicust/company/permit-number.model.js +10 -0
  43. package/lib/models/digicust/customer/customer.model.d.ts +55 -0
  44. package/lib/models/digicust/customer/customer.model.js +2 -0
  45. package/lib/models/digicust/customer/index.d.ts +2 -0
  46. package/lib/models/digicust/customer/index.js +18 -0
  47. package/lib/models/digicust/customer/project.model.d.ts +30 -0
  48. package/lib/models/digicust/customer/project.model.js +8 -0
  49. package/lib/models/digicust/customs/adjustment.model.d.ts +7 -0
  50. package/lib/models/digicust/customs/adjustment.model.js +2 -0
  51. package/lib/models/digicust/customs/consignment-size.enum.d.ts +4 -0
  52. package/lib/models/digicust/customs/consignment-size.enum.js +8 -0
  53. package/lib/models/digicust/customs/customsOffice.model.d.ts +18 -0
  54. package/lib/models/digicust/customs/customsOffice.model.js +12 -0
  55. package/lib/models/digicust/customs/deferment-account.model.d.ts +15 -0
  56. package/lib/models/digicust/customs/deferment-account.model.js +2 -0
  57. package/lib/models/digicust/customs/eori.model.d.ts +8 -0
  58. package/lib/models/digicust/customs/eori.model.js +2 -0
  59. package/lib/models/digicust/customs/index.d.ts +13 -0
  60. package/lib/models/digicust/customs/index.js +29 -0
  61. package/lib/models/digicust/customs/operation-type.enum.d.ts +15 -0
  62. package/lib/models/digicust/customs/operation-type.enum.js +19 -0
  63. package/lib/models/digicust/customs/preference/index.d.ts +1 -0
  64. package/lib/models/digicust/customs/preference/index.js +17 -0
  65. package/lib/models/digicust/customs/preference/preference-state.model.d.ts +23 -0
  66. package/lib/models/digicust/customs/preference/preference-state.model.js +2 -0
  67. package/lib/models/digicust/customs/procedure.model.d.ts +17 -0
  68. package/lib/models/digicust/customs/procedure.model.js +10 -0
  69. package/lib/models/digicust/customs/special-measure.model.d.ts +7 -0
  70. package/lib/models/digicust/customs/special-measure.model.js +2 -0
  71. package/lib/models/digicust/customs/tariff-number/classification-code.model.d.ts +5 -0
  72. package/lib/models/digicust/customs/tariff-number/classification-code.model.js +2 -0
  73. package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.d.ts +25 -0
  74. package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.js +21 -0
  75. package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.d.ts +30 -0
  76. package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.js +2 -0
  77. package/lib/models/digicust/customs/tariff-number/hs-classification-response.d.ts +31 -0
  78. package/lib/models/digicust/customs/tariff-number/hs-classification-response.js +2 -0
  79. package/lib/models/digicust/customs/tariff-number/hs-code-mapping.d.ts +26 -0
  80. package/lib/models/digicust/customs/tariff-number/hs-code-mapping.js +2 -0
  81. package/lib/models/digicust/customs/tariff-number/hs-code.model.d.ts +11 -0
  82. package/lib/models/digicust/customs/tariff-number/hs-code.model.js +2 -0
  83. package/lib/models/digicust/customs/tariff-number/index.d.ts +6 -0
  84. package/lib/models/digicust/customs/tariff-number/index.js +22 -0
  85. package/lib/models/digicust/customs/tax-details.model.d.ts +10 -0
  86. package/lib/models/digicust/customs/tax-details.model.js +2 -0
  87. package/lib/models/digicust/customs/transit-item.model.d.ts +25 -0
  88. package/lib/models/digicust/customs/transit-item.model.js +66 -0
  89. package/lib/models/digicust/customs/type-of-business/index.d.ts +2 -0
  90. package/lib/models/digicust/customs/type-of-business/index.js +18 -0
  91. package/lib/models/digicust/customs/type-of-business/type-of-business.enum.d.ts +44 -0
  92. package/lib/models/digicust/customs/type-of-business/type-of-business.enum.js +48 -0
  93. package/lib/models/digicust/customs/type-of-business/type-of-business.model.d.ts +11 -0
  94. package/lib/models/digicust/customs/type-of-business/type-of-business.model.js +2 -0
  95. package/lib/models/digicust/documents/digicust-document.model.d.ts +2 -5
  96. package/lib/models/digicust/documents/document-code.model.d.ts +7 -1
  97. package/lib/models/digicust/documents/invoice.model.d.ts +1 -2
  98. package/lib/models/digicust/documents/line-item-containing-document.d.ts +1 -1
  99. package/lib/models/digicust/documents/packing-list.model.d.ts +1 -2
  100. package/lib/models/digicust/event/event.model.d.ts +64 -0
  101. package/lib/models/digicust/event/event.model.js +10 -0
  102. package/lib/models/digicust/event/index.d.ts +1 -0
  103. package/lib/models/digicust/event/index.js +17 -0
  104. package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +104 -0
  105. package/lib/models/digicust/execution-strategy/execution-strategy.model.js +15 -0
  106. package/lib/models/digicust/execution-strategy/index.d.ts +1 -0
  107. package/lib/models/digicust/execution-strategy/index.js +17 -0
  108. package/lib/models/digicust/frontend/dialog-window.model.d.ts +6 -0
  109. package/lib/models/digicust/frontend/dialog-window.model.js +2 -0
  110. package/lib/models/digicust/frontend/extra-styles.model.d.ts +4 -0
  111. package/lib/models/digicust/frontend/extra-styles.model.js +2 -0
  112. package/lib/models/digicust/frontend/field-type.enum.d.ts +10 -0
  113. package/lib/models/digicust/frontend/field-type.enum.js +14 -0
  114. package/lib/models/digicust/frontend/filter.enum.d.ts +8 -0
  115. package/lib/models/digicust/frontend/filter.enum.js +12 -0
  116. package/lib/models/digicust/frontend/frontend-big-section.model.d.ts +13 -0
  117. package/lib/models/digicust/frontend/frontend-big-section.model.js +2 -0
  118. package/lib/models/digicust/frontend/frontend-fields.model.d.ts +11 -0
  119. package/lib/models/digicust/frontend/frontend-fields.model.js +2 -0
  120. package/lib/models/digicust/frontend/frontend-group.model.d.ts +6 -0
  121. package/lib/models/digicust/frontend/frontend-group.model.js +2 -0
  122. package/lib/models/digicust/frontend/frontend-mapping.model.d.ts +4 -0
  123. package/lib/models/digicust/frontend/frontend-mapping.model.js +2 -0
  124. package/lib/models/digicust/frontend/frontend-small-section.mode.d.ts +9 -0
  125. package/lib/models/digicust/frontend/frontend-small-section.mode.js +2 -0
  126. package/lib/models/digicust/frontend/index.d.ts +12 -0
  127. package/lib/models/digicust/frontend/index.js +28 -0
  128. package/lib/models/digicust/frontend/prefix.enum.d.ts +5 -0
  129. package/lib/models/digicust/frontend/prefix.enum.js +10 -0
  130. package/lib/models/digicust/frontend/section-type.enum.d.ts +12 -0
  131. package/lib/models/digicust/frontend/section-type.enum.js +16 -0
  132. package/lib/models/digicust/frontend/sort.enum.d.ts +4 -0
  133. package/lib/models/digicust/frontend/sort.enum.js +8 -0
  134. package/lib/models/digicust/index.d.ts +21 -42
  135. package/lib/models/digicust/index.js +22 -52
  136. package/lib/models/digicust/line-item/index.d.ts +1 -0
  137. package/lib/models/digicust/line-item/index.js +17 -0
  138. package/lib/models/digicust/line-item/line-item.model.d.ts +78 -0
  139. package/lib/models/digicust/line-item/line-item.model.js +17 -0
  140. package/lib/models/digicust/masterdata/material.model.d.ts +1 -2
  141. package/lib/models/digicust/masterdata/stakeholder-match-input.d.ts +1 -1
  142. package/lib/models/digicust/masterdata/stakeholder.model.d.ts +9 -4
  143. package/lib/models/digicust/measures/address.model.d.ts +23 -0
  144. package/lib/models/digicust/measures/address.model.js +13 -0
  145. package/lib/models/digicust/measures/date.model.d.ts +5 -0
  146. package/lib/models/digicust/measures/date.model.js +2 -0
  147. package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.d.ts +7 -0
  148. package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.js +11 -0
  149. package/lib/models/digicust/measures/dimensions/dimensions.model.d.ts +8 -0
  150. package/lib/models/digicust/measures/dimensions/dimensions.model.js +2 -0
  151. package/lib/models/digicust/measures/dimensions/index.d.ts +2 -0
  152. package/lib/models/digicust/measures/dimensions/index.js +18 -0
  153. package/lib/models/digicust/measures/index.d.ts +9 -0
  154. package/lib/models/digicust/measures/index.js +25 -0
  155. package/lib/models/digicust/measures/language.model.d.ts +4 -0
  156. package/lib/models/digicust/measures/language.model.js +2 -0
  157. package/lib/models/digicust/measures/money/currency.enum.d.ts +181 -0
  158. package/lib/models/digicust/measures/money/currency.enum.js +185 -0
  159. package/lib/models/digicust/measures/money/index.d.ts +2 -0
  160. package/lib/models/digicust/measures/money/index.js +18 -0
  161. package/lib/models/digicust/measures/money/money.model.d.ts +11 -0
  162. package/lib/models/digicust/measures/money/money.model.js +16 -0
  163. package/lib/models/digicust/measures/person.model.d.ts +12 -0
  164. package/lib/models/digicust/measures/person.model.js +2 -0
  165. package/lib/models/digicust/measures/quantity.model.d.ts +17 -0
  166. package/lib/models/digicust/measures/quantity.model.js +10 -0
  167. package/lib/models/digicust/measures/unit-of-measurement/index.d.ts +2 -0
  168. package/lib/models/digicust/measures/unit-of-measurement/index.js +18 -0
  169. package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.d.ts +10 -0
  170. package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.js +2 -0
  171. package/lib/models/digicust/measures/unit-of-measurement/uom.enum.d.ts +39 -0
  172. package/lib/models/digicust/measures/unit-of-measurement/uom.enum.js +44 -0
  173. package/lib/models/digicust/measures/weight/index.d.ts +2 -0
  174. package/lib/models/digicust/measures/weight/index.js +18 -0
  175. package/lib/models/digicust/measures/weight/weight-unit.enum.d.ts +10 -0
  176. package/lib/models/digicust/measures/weight/weight-unit.enum.js +14 -0
  177. package/lib/models/digicust/measures/weight/weight.model.d.ts +7 -0
  178. package/lib/models/digicust/measures/weight/weight.model.js +15 -0
  179. package/lib/models/digicust/meta/bbox.model.d.ts +22 -0
  180. package/lib/models/digicust/meta/bbox.model.js +2 -0
  181. package/lib/models/digicust/meta/fuzzy-input.d.ts +4 -0
  182. package/lib/models/digicust/meta/fuzzy-input.js +2 -0
  183. package/lib/models/digicust/meta/index.d.ts +4 -0
  184. package/lib/models/digicust/meta/index.js +20 -0
  185. package/lib/models/digicust/meta/meta.d.ts +35 -0
  186. package/lib/models/digicust/meta/meta.js +13 -0
  187. package/lib/models/digicust/meta/workflow.d.ts +23 -0
  188. package/lib/models/digicust/meta/workflow.js +2 -0
  189. package/lib/models/digicust/module/index.d.ts +1 -0
  190. package/lib/models/digicust/module/index.js +17 -0
  191. package/lib/models/digicust/module/module.model.d.ts +49 -0
  192. package/lib/models/digicust/module/module.model.js +27 -0
  193. package/lib/models/digicust/multerfile.model.d.ts +12 -0
  194. package/lib/models/digicust/multerfile.model.js +2 -0
  195. package/lib/models/digicust/notification/index.d.ts +1 -0
  196. package/lib/models/digicust/notification/index.js +17 -0
  197. package/lib/models/digicust/notification/notifications.model.d.ts +13 -0
  198. package/lib/models/digicust/notification/notifications.model.js +2 -0
  199. package/lib/models/digicust/queue/extractions/extraction-grid.model.d.ts +22 -0
  200. package/lib/models/digicust/queue/extractions/extraction-grid.model.js +2 -0
  201. package/lib/models/digicust/queue/extractions/extraction.model.d.ts +65 -0
  202. package/lib/models/digicust/queue/extractions/extraction.model.js +2 -0
  203. package/lib/models/digicust/queue/extractions/index.d.ts +2 -0
  204. package/lib/models/digicust/queue/extractions/index.js +18 -0
  205. package/lib/models/digicust/queue/index.d.ts +3 -0
  206. package/lib/models/digicust/queue/index.js +19 -0
  207. package/lib/models/digicust/queue/queue-fields.model.d.ts +15 -0
  208. package/lib/models/digicust/queue/queue-fields.model.js +2 -0
  209. package/lib/models/digicust/queue/queue.model.d.ts +18 -0
  210. package/lib/models/digicust/queue/queue.model.js +2 -0
  211. package/lib/models/digicust/transportation/container.model.d.ts +7 -0
  212. package/lib/models/digicust/transportation/container.model.js +2 -0
  213. package/lib/models/digicust/transportation/cost-intersection.model.d.ts +20 -0
  214. package/lib/models/digicust/transportation/cost-intersection.model.js +16 -0
  215. package/lib/models/digicust/transportation/incoterm.model.d.ts +25 -0
  216. package/lib/models/digicust/transportation/incoterm.model.js +21 -0
  217. package/lib/models/digicust/transportation/index.d.ts +7 -0
  218. package/lib/models/digicust/transportation/index.js +23 -0
  219. package/lib/models/digicust/transportation/load-type.enum.d.ts +14 -0
  220. package/lib/models/digicust/transportation/load-type.enum.js +19 -0
  221. package/lib/models/digicust/transportation/mean-of-transportation.model.d.ts +34 -0
  222. package/lib/models/digicust/transportation/mean-of-transportation.model.js +21 -0
  223. package/lib/models/digicust/transportation/package-type.model.d.ts +10 -0
  224. package/lib/models/digicust/transportation/package-type.model.js +2 -0
  225. package/lib/models/digicust/transportation/package.model.d.ts +17 -0
  226. package/lib/models/digicust/transportation/package.model.js +2 -0
  227. package/lib/models/digicust/user/index.d.ts +2 -0
  228. package/lib/models/digicust/user/index.js +18 -0
  229. package/lib/models/digicust/user/membership.model.d.ts +7 -0
  230. package/lib/models/digicust/user/membership.model.js +2 -0
  231. package/lib/models/digicust/user/user.model.d.ts +18 -0
  232. package/lib/models/digicust/user/user.model.js +2 -0
  233. package/lib/models/index.d.ts +0 -1
  234. package/lib/models/index.js +0 -1
  235. package/lib/models/ml/machine-learning-model.model.d.ts +1 -1
  236. 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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./customer.model";
2
+ export * from "./project.model";
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare enum ConsignmentSize {
2
+ smallConsignment = "small",
3
+ bulkConsignment = "bulk"
4
+ }
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Meta } from "..";
2
+ /** EORI number */
3
+ export interface EORI extends Meta<string> {
4
+ value?: string;
5
+ /** alpha2code */
6
+ nationality?: string;
7
+ valid?: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,7 @@
1
+ /**
2
+ * @deprecated
3
+ */
4
+ export interface SpecialMeasureModel {
5
+ value: number;
6
+ unit: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { Meta } from "../..";
2
+ export interface ClassificationCode extends Meta<string> {
3
+ type: string;
4
+ additionalCodes: string[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export * from "./classification-code.model";
2
+ export * from "./customs-tariff-number.model";
3
+ export * from "./hs-classification-interaction";
4
+ export * from "./hs-classification-response";
5
+ export * from "./hs-code-mapping";
6
+ export * from "./hs-code.model";
@@ -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,10 @@
1
+ import { Meta, Money } from "..";
2
+ /**
3
+ * Information about VAT on a document
4
+ */
5
+ export interface TaxDetailsModel {
6
+ vatRate?: Meta<number>;
7
+ vatBase?: Money;
8
+ vatAmount?: Money;
9
+ vatTotal?: Money;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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;