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,22 @@
1
+ export interface Bbox {
2
+ /**
3
+ * Top left x
4
+ */
5
+ x1: number;
6
+ /**
7
+ * Top left y
8
+ */
9
+ y1: number;
10
+ /**
11
+ * Bottom right x
12
+ */
13
+ x2: number;
14
+ /**
15
+ * Bottom right y
16
+ */
17
+ y2: number;
18
+ /**
19
+ * Optional page reference
20
+ */
21
+ page?: number;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface FuzzyInput<T> {
2
+ input?: string;
3
+ value?: T;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./bbox.model";
2
+ export * from "./fuzzy-input";
3
+ export * from "./meta";
4
+ export * from "./workflow";
@@ -0,0 +1,20 @@
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("./bbox.model"), exports);
18
+ __exportStar(require("./fuzzy-input"), exports);
19
+ __exportStar(require("./meta"), exports);
20
+ __exportStar(require("./workflow"), exports);
@@ -0,0 +1,35 @@
1
+ import { Bbox } from "./bbox.model";
2
+ import { Workflow } from "./workflow";
3
+ /**
4
+ * Encapsulates typed und untyped workflow metadata for case properties
5
+ */
6
+ export interface Meta<T> extends Workflow<T> {
7
+ /**
8
+ * The input value which was initially supplied for the property
9
+ */
10
+ input?: string;
11
+ /**
12
+ * Confidence supplied by data extraction or 1.0 if entered by human
13
+ */
14
+ confidence?: number;
15
+ /**
16
+ * Bounding box of extracted value
17
+ */
18
+ bbox?: Bbox;
19
+ options?: T[];
20
+ source?: String;
21
+ reviewNeeded?: boolean;
22
+ display?: boolean;
23
+ required?: boolean;
24
+ /** could be validation errors */
25
+ errors?: Error[];
26
+ }
27
+ export declare const condenseMeta: <T>(meta: Meta<T>, valueOnly?: boolean | undefined) => {
28
+ value: T | undefined;
29
+ confidence: number | undefined;
30
+ reviewNeeded: boolean | undefined;
31
+ } | {
32
+ value: T | undefined;
33
+ confidence?: undefined;
34
+ reviewNeeded?: undefined;
35
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.condenseMeta = void 0;
4
+ var condenseMeta = function (meta, valueOnly) { return (!valueOnly
5
+ ? {
6
+ value: meta.value,
7
+ confidence: meta.confidence,
8
+ reviewNeeded: meta.reviewNeeded,
9
+ }
10
+ : {
11
+ value: meta.value,
12
+ }); };
13
+ exports.condenseMeta = condenseMeta;
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./module.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("./module.model"), exports);
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Identifies a module. Modules are different "programs" in the frontend
3
+ */
4
+ export interface ModuleModel {
5
+ id?: string;
6
+ alias?: string;
7
+ type?: ModuleType;
8
+ active?: boolean;
9
+ executionStrategies?: {
10
+ Default?: ModuleExecStrategy;
11
+ Declaration?: ModuleExecStrategy;
12
+ PreDeclaration?: ModuleExecStrategy;
13
+ SimplifiedProcedure?: ModuleExecStrategy;
14
+ WriteupProcedure?: ModuleExecStrategy;
15
+ T1Transit?: ModuleExecStrategy;
16
+ T2Transit?: ModuleExecStrategy;
17
+ MasterData?: ModuleExecStrategy;
18
+ StakeHolderData?: ModuleExecStrategy;
19
+ };
20
+ }
21
+ interface ModuleExecStrategy {
22
+ title?: string;
23
+ executionStrategyId?: string;
24
+ alias?: string;
25
+ active?: boolean;
26
+ }
27
+ export declare enum ModuleType {
28
+ import = "Import",
29
+ export = "Export",
30
+ warehouseProcedure = "Warehouse Procedure",
31
+ transitProcedure = "Transit Procedure",
32
+ dataExtraction = "Data Extraction",
33
+ documentClassification = "Document Classification",
34
+ productClassification = "Product Classification",
35
+ statistics = "Statistics",
36
+ masterModule = "Master Module"
37
+ }
38
+ export declare enum ModuleCategory {
39
+ default = "Default",
40
+ declaration = "Declaration",
41
+ preDeclaration = "Pre Declaration",
42
+ simplifiedProcedure = "Simplified Procedure",
43
+ writeupProcedure = "Writeup Procedure",
44
+ t1Transit = "T1 Transit",
45
+ t2Transit = "T2 Transit",
46
+ masterData = "Master Data",
47
+ stakeHolderData = "StakeHolder Data"
48
+ }
49
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModuleCategory = exports.ModuleType = void 0;
4
+ var ModuleType;
5
+ (function (ModuleType) {
6
+ ModuleType["import"] = "Import";
7
+ ModuleType["export"] = "Export";
8
+ ModuleType["warehouseProcedure"] = "Warehouse Procedure";
9
+ ModuleType["transitProcedure"] = "Transit Procedure";
10
+ ModuleType["dataExtraction"] = "Data Extraction";
11
+ ModuleType["documentClassification"] = "Document Classification";
12
+ ModuleType["productClassification"] = "Product Classification";
13
+ ModuleType["statistics"] = "Statistics";
14
+ ModuleType["masterModule"] = "Master Module";
15
+ })(ModuleType = exports.ModuleType || (exports.ModuleType = {}));
16
+ var ModuleCategory;
17
+ (function (ModuleCategory) {
18
+ ModuleCategory["default"] = "Default";
19
+ ModuleCategory["declaration"] = "Declaration";
20
+ ModuleCategory["preDeclaration"] = "Pre Declaration";
21
+ ModuleCategory["simplifiedProcedure"] = "Simplified Procedure";
22
+ ModuleCategory["writeupProcedure"] = "Writeup Procedure";
23
+ ModuleCategory["t1Transit"] = "T1 Transit";
24
+ ModuleCategory["t2Transit"] = "T2 Transit";
25
+ ModuleCategory["masterData"] = "Master Data";
26
+ ModuleCategory["stakeHolderData"] = "StakeHolder Data";
27
+ })(ModuleCategory = exports.ModuleCategory || (exports.ModuleCategory = {}));
@@ -0,0 +1,12 @@
1
+ /// <reference types="node" />
2
+ /**
3
+ * Information about an uploaded file. Used by multer package.
4
+ */
5
+ export interface MulterFile {
6
+ key?: string;
7
+ path?: string;
8
+ mimetype?: string;
9
+ originalname: string;
10
+ size?: number;
11
+ buffer: Buffer;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./notifications.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("./notifications.model"), exports);
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ import { Bbox } from "../..";
2
+ import { ExtractionField } from ".";
3
+ export interface ExtractionGrid {
4
+ id?: string;
5
+ label?: string;
6
+ bbox?: Bbox;
7
+ pageId?: string;
8
+ columns?: ExtractionGridColumn[];
9
+ items?: ExtractionGridItem[];
10
+ /** Groups multiple grids that belong together */
11
+ gridGroupId?: string;
12
+ }
13
+ export interface ExtractionGridItem {
14
+ id?: string;
15
+ fields?: ExtractionField[];
16
+ bbox?: Bbox;
17
+ }
18
+ export interface ExtractionGridColumn {
19
+ id?: string;
20
+ label?: string;
21
+ bbox?: Bbox;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,65 @@
1
+ import { Bbox } from "../..";
2
+ import { ExtractionGrid } from ".";
3
+ /**
4
+ * Output of the data extraction
5
+ */
6
+ export interface Extraction {
7
+ id?: string;
8
+ customerId?: string;
9
+ projectId?: string;
10
+ caseId?: string;
11
+ documentId?: string;
12
+ pages?: ExtractionPage[];
13
+ groups?: ExtractionGroup[];
14
+ grids?: ExtractionGrid[];
15
+ errors?: Array<Error>;
16
+ originalFileName?: string;
17
+ fileName?: string;
18
+ documentType?: string;
19
+ documentStatus?: string;
20
+ userDocumentStatus?: string;
21
+ subDocumentStatus?: string;
22
+ receivedAt?: string;
23
+ code?: string;
24
+ reference?: string;
25
+ issueDate?: string;
26
+ isCondensed?: boolean;
27
+ processing?: ProcessingModel;
28
+ analyzerMetadata?: {
29
+ importStatus?: string;
30
+ annotationId?: string;
31
+ queueId?: string;
32
+ exportOnConfirmed?: boolean;
33
+ };
34
+ queueId?: string;
35
+ isLoading?: boolean;
36
+ }
37
+ export interface ProcessingModel {
38
+ status?: "done" | "inprocess" | "error";
39
+ percentage?: number;
40
+ date?: Date;
41
+ errorMessage?: string;
42
+ }
43
+ export interface ExtractionGroup {
44
+ id?: string;
45
+ label?: string;
46
+ fields?: ExtractionField[];
47
+ }
48
+ export interface ExtractionField {
49
+ id?: string;
50
+ label?: string;
51
+ confidence?: number;
52
+ value?: string;
53
+ bbox?: Bbox;
54
+ pageId?: string;
55
+ name?: string;
56
+ active?: boolean;
57
+ dataType?: string;
58
+ }
59
+ export interface ExtractionPage {
60
+ id?: string;
61
+ width?: number;
62
+ height?: number;
63
+ /** label of classification */
64
+ label?: string;
65
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./extraction.model";
2
+ export * from "./extraction-grid.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("./extraction.model"), exports);
18
+ __exportStar(require("./extraction-grid.model"), exports);
@@ -0,0 +1,3 @@
1
+ export * from "./extractions";
2
+ export * from "./queue-fields.model";
3
+ export * from "./queue.model";
@@ -0,0 +1,19 @@
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("./extractions"), exports);
18
+ __exportStar(require("./queue-fields.model"), exports);
19
+ __exportStar(require("./queue.model"), exports);
@@ -0,0 +1,15 @@
1
+ export interface QueueFieldsModel {
2
+ name?: string;
3
+ type?: string;
4
+ active?: boolean;
5
+ fields?: [
6
+ {
7
+ name?: string;
8
+ label?: string;
9
+ dataType?: string;
10
+ pretrainedModel?: string;
11
+ active?: boolean;
12
+ rowLength?: number;
13
+ }
14
+ ];
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { QueueFieldsModel } from "./queue-fields.model";
2
+ export interface QueueWorkspaceModel {
3
+ id?: string;
4
+ name?: string;
5
+ active?: boolean;
6
+ }
7
+ export interface DigicustQueueModel {
8
+ workspaceId?: string;
9
+ id?: string;
10
+ projectId?: string;
11
+ customerId?: string;
12
+ alias?: string;
13
+ documentType?: string;
14
+ automated?: boolean;
15
+ fields?: Array<QueueFieldsModel>;
16
+ createdAt?: Date;
17
+ errors?: Error[];
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { Meta } from "..";
2
+ export interface Container extends Meta<string> {
3
+ /** container number */
4
+ value?: string;
5
+ /** ISO Size Code */
6
+ typeCode?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import { Meta } from "..";
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
+ }
@@ -0,0 +1,16 @@
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 = {}));
@@ -0,0 +1,25 @@
1
+ import { Meta } from "..";
2
+ /**
3
+ * Incoterms give information on transport conditions in international trade
4
+ */
5
+ export interface IncotermModel extends Meta<Incoterm> {
6
+ /** Incoterm written out */
7
+ text?: string;
8
+ }
9
+ /**
10
+ * Incoterms give information on transport conditions in international trade
11
+ */
12
+ export declare enum Incoterm {
13
+ EXW = "EXW",
14
+ FAS = "FAS",
15
+ FCA = "FCA",
16
+ FOB = "FOB",
17
+ CFR = "CFR",
18
+ CIF = "CIF",
19
+ CIP = "CIP",
20
+ CPT = "CPT",
21
+ DAP = "DAP",
22
+ DPU = "DPU",
23
+ DAT = "DAT",
24
+ DDP = "DDP"
25
+ }
@@ -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 = {}));
@@ -0,0 +1,7 @@
1
+ export * from "./container.model";
2
+ export * from "./cost-intersection.model";
3
+ export * from "./incoterm.model";
4
+ export * from "./load-type.enum";
5
+ export * from "./mean-of-transportation.model";
6
+ export * from "./package-type.model";
7
+ export * from "./package.model";
@@ -0,0 +1,23 @@
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("./container.model"), exports);
18
+ __exportStar(require("./cost-intersection.model"), exports);
19
+ __exportStar(require("./incoterm.model"), exports);
20
+ __exportStar(require("./load-type.enum"), exports);
21
+ __exportStar(require("./mean-of-transportation.model"), exports);
22
+ __exportStar(require("./package-type.model"), exports);
23
+ __exportStar(require("./package.model"), exports);
@@ -0,0 +1,14 @@
1
+ export declare enum LoadType {
2
+ /** Courier Express and Parcel */
3
+ CEP = "CEP",
4
+ /** Full Container Load */
5
+ FCL = "FCL",
6
+ /** Less-Than-Container Load */
7
+ LCL = "LCL",
8
+ /** Full Truck Load */
9
+ FTL = "FTL",
10
+ /** Less-Than-Truck Load */
11
+ LTL = "LTL",
12
+ /** Bulk Cargo */
13
+ Bulk = "Bulk"
14
+ }