digicust_types 1.7.60 → 1.7.61

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 (294) hide show
  1. package/lib/contracts/import-ocr-document-into-graph.dto.d.ts +10 -10
  2. package/lib/contracts/import-ocr-document-into-graph.dto.js +2 -2
  3. package/lib/contracts/index.d.ts +14 -14
  4. package/lib/contracts/index.js +26 -26
  5. package/lib/contracts/start-dakosy-submission.dto.d.ts +7 -7
  6. package/lib/contracts/start-dakosy-submission.dto.js +2 -2
  7. package/lib/contracts/start-data-extraction.dto.d.ts +16 -16
  8. package/lib/contracts/start-data-extraction.dto.js +2 -2
  9. package/lib/contracts/start-data-integration.dto.d.ts +7 -7
  10. package/lib/contracts/start-data-integration.dto.js +2 -2
  11. package/lib/contracts/start-data-normalization.dto.d.ts +7 -7
  12. package/lib/contracts/start-data-normalization.dto.js +2 -2
  13. package/lib/contracts/start-data-validation.dto.d.ts +7 -7
  14. package/lib/contracts/start-data-validation.dto.js +2 -2
  15. package/lib/contracts/start-document-classifier.dto.d.ts +7 -7
  16. package/lib/contracts/start-document-classifier.dto.js +2 -2
  17. package/lib/contracts/start-document-merger.dto.d.ts +12 -12
  18. package/lib/contracts/start-document-merger.dto.js +2 -2
  19. package/lib/contracts/start-document-splitting.dto.d.ts +9 -9
  20. package/lib/contracts/start-document-splitting.dto.js +2 -2
  21. package/lib/contracts/start-hs-classification-research.dto.d.ts +5 -5
  22. package/lib/contracts/start-hs-classification-research.dto.js +2 -2
  23. package/lib/contracts/start-hs-classifier.dto.d.ts +8 -8
  24. package/lib/contracts/start-hs-classifier.dto.js +2 -2
  25. package/lib/contracts/start-ocr.dto.d.ts +9 -9
  26. package/lib/contracts/start-ocr.dto.js +2 -2
  27. package/lib/contracts/start-post-processing.dto.d.ts +7 -7
  28. package/lib/contracts/start-post-processing.dto.js +2 -2
  29. package/lib/contracts/trigger-event.dto.d.ts +7 -7
  30. package/lib/contracts/trigger-event.dto.js +2 -2
  31. package/lib/helpers/cleanObject.d.ts +6 -6
  32. package/lib/helpers/cleanObject.js +28 -28
  33. package/lib/index.d.ts +2 -2
  34. package/lib/index.js +14 -14
  35. package/lib/models/common/address.model.d.ts +21 -21
  36. package/lib/models/common/address.model.js +13 -13
  37. package/lib/models/common/bbox.model.d.ts +22 -22
  38. package/lib/models/common/bbox.model.js +2 -2
  39. package/lib/models/common/classification-code.model.d.ts +5 -5
  40. package/lib/models/common/classification-code.model.js +2 -2
  41. package/lib/models/common/company.model.d.ts +19 -19
  42. package/lib/models/common/company.model.js +2 -2
  43. package/lib/models/common/country.model.d.ts +4 -4
  44. package/lib/models/common/country.model.js +2 -2
  45. package/lib/models/common/currency.enum.d.ts +181 -181
  46. package/lib/models/common/currency.enum.js +185 -185
  47. package/lib/models/common/customs-tariff-number.model.d.ts +22 -22
  48. package/lib/models/common/customs-tariff-number.model.js +21 -21
  49. package/lib/models/common/date.model.d.ts +5 -5
  50. package/lib/models/common/date.model.js +2 -2
  51. package/lib/models/common/dialog-window.model.d.ts +6 -6
  52. package/lib/models/common/dialog-window.model.js +2 -2
  53. package/lib/models/common/extra-styles.model.d.ts +4 -4
  54. package/lib/models/common/extra-styles.model.js +2 -2
  55. package/lib/models/common/field-type.enum.d.ts +10 -10
  56. package/lib/models/common/field-type.enum.js +14 -14
  57. package/lib/models/common/filter.enum.d.ts +5 -5
  58. package/lib/models/common/filter.enum.js +9 -9
  59. package/lib/models/common/frontend-fields.model.d.ts +11 -11
  60. package/lib/models/common/frontend-fields.model.js +2 -2
  61. package/lib/models/common/fuzzy-input.d.ts +4 -4
  62. package/lib/models/common/fuzzy-input.js +2 -2
  63. package/lib/models/common/hs-classification-interaction.d.ts +30 -30
  64. package/lib/models/common/hs-classification-interaction.js +2 -2
  65. package/lib/models/common/hs-classification-response.d.ts +31 -31
  66. package/lib/models/common/hs-classification-response.js +2 -2
  67. package/lib/models/common/hs-code.model.d.ts +11 -11
  68. package/lib/models/common/hs-code.model.js +2 -2
  69. package/lib/models/common/index.d.ts +26 -26
  70. package/lib/models/common/index.js +42 -42
  71. package/lib/models/common/language.model.d.ts +4 -4
  72. package/lib/models/common/language.model.js +2 -2
  73. package/lib/models/common/meta.d.ts +38 -38
  74. package/lib/models/common/meta.js +13 -13
  75. package/lib/models/common/money.model.d.ts +11 -11
  76. package/lib/models/common/money.model.js +16 -16
  77. package/lib/models/common/multerfile.model.d.ts +12 -12
  78. package/lib/models/common/multerfile.model.js +2 -2
  79. package/lib/models/common/package-type.model.d.ts +10 -10
  80. package/lib/models/common/package-type.model.js +2 -2
  81. package/lib/models/common/periods.enum.d.ts +5 -5
  82. package/lib/models/common/periods.enum.js +9 -9
  83. package/lib/models/common/person.model.d.ts +12 -12
  84. package/lib/models/common/person.model.js +2 -2
  85. package/lib/models/common/prefix.enum.d.ts +5 -5
  86. package/lib/models/common/prefix.enum.js +10 -10
  87. package/lib/models/common/quantity.model.d.ts +15 -15
  88. package/lib/models/common/quantity.model.js +10 -10
  89. package/lib/models/common/section-type.enum.d.ts +12 -12
  90. package/lib/models/common/section-type.enum.js +16 -16
  91. package/lib/models/common/sort.enum.d.ts +4 -4
  92. package/lib/models/common/sort.enum.js +8 -8
  93. package/lib/models/common/subscription-price.model.d.ts +9 -9
  94. package/lib/models/common/subscription-price.model.js +2 -2
  95. package/lib/models/common/super.d.ts +7 -7
  96. package/lib/models/common/super.js +2 -2
  97. package/lib/models/common/uom.enum.d.ts +39 -39
  98. package/lib/models/common/uom.enum.js +44 -44
  99. package/lib/models/common/weight-unit.enum.d.ts +9 -9
  100. package/lib/models/common/weight-unit.enum.js +13 -13
  101. package/lib/models/common/weight.model.d.ts +7 -7
  102. package/lib/models/common/weight.model.js +15 -15
  103. package/lib/models/common/workflow.d.ts +19 -18
  104. package/lib/models/common/workflow.js +2 -2
  105. package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +12 -12
  106. package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
  107. package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +13 -12
  108. package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -2
  109. package/lib/models/digicust/activity.mode.d.ts +18 -18
  110. package/lib/models/digicust/activity.mode.js +2 -2
  111. package/lib/models/digicust/activity.model.d.ts +16 -16
  112. package/lib/models/digicust/activity.model.js +2 -2
  113. package/lib/models/digicust/adjustment.model.d.ts +7 -7
  114. package/lib/models/digicust/adjustment.model.js +2 -2
  115. package/lib/models/digicust/aggregated-case-data.model.d.ts +85 -85
  116. package/lib/models/digicust/aggregated-case-data.model.js +25 -25
  117. package/lib/models/digicust/case-status.enum.d.ts +22 -22
  118. package/lib/models/digicust/case-status.enum.js +26 -26
  119. package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
  120. package/lib/models/digicust/case-submission-transaction.js +19 -19
  121. package/lib/models/digicust/case-type.enum.d.ts +7 -7
  122. package/lib/models/digicust/case-type.enum.js +11 -11
  123. package/lib/models/digicust/case.model.d.ts +45 -45
  124. package/lib/models/digicust/case.model.js +24 -24
  125. package/lib/models/digicust/company.model.d.ts +4 -4
  126. package/lib/models/digicust/company.model.js +2 -2
  127. package/lib/models/digicust/consignment-size.enum.d.ts +4 -4
  128. package/lib/models/digicust/consignment-size.enum.js +8 -8
  129. package/lib/models/digicust/container.model.d.ts +7 -7
  130. package/lib/models/digicust/container.model.js +2 -2
  131. package/lib/models/digicust/context.model.d.ts +9 -9
  132. package/lib/models/digicust/context.model.js +2 -2
  133. package/lib/models/digicust/cost-intersection.model.d.ts +20 -20
  134. package/lib/models/digicust/cost-intersection.model.js +16 -16
  135. package/lib/models/digicust/custom-document.model.d.ts +8 -8
  136. package/lib/models/digicust/custom-document.model.js +2 -2
  137. package/lib/models/digicust/customer.model.d.ts +55 -55
  138. package/lib/models/digicust/customer.model.js +2 -2
  139. package/lib/models/digicust/customsOffice.model.d.ts +13 -13
  140. package/lib/models/digicust/customsOffice.model.js +12 -12
  141. package/lib/models/digicust/declaration.model.d.ts +4 -4
  142. package/lib/models/digicust/declaration.model.js +2 -2
  143. package/lib/models/digicust/digicust-document-type.enum.d.ts +12 -12
  144. package/lib/models/digicust/digicust-document-type.enum.js +16 -16
  145. package/lib/models/digicust/digicust-document.model.d.ts +43 -43
  146. package/lib/models/digicust/digicust-document.model.js +38 -38
  147. package/lib/models/digicust/document-code.model.d.ts +10 -10
  148. package/lib/models/digicust/document-code.model.js +2 -2
  149. package/lib/models/digicust/document-status.enum.d.ts +38 -38
  150. package/lib/models/digicust/document-status.enum.js +45 -45
  151. package/lib/models/digicust/event.model.d.ts +42 -42
  152. package/lib/models/digicust/event.model.js +8 -8
  153. package/lib/models/digicust/execution-strategy.model.d.ts +75 -75
  154. package/lib/models/digicust/execution-strategy.model.js +15 -15
  155. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
  156. package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
  157. package/lib/models/digicust/extractions/extraction.model.d.ts +57 -57
  158. package/lib/models/digicust/extractions/extraction.model.js +2 -2
  159. package/lib/models/digicust/extractions/index.d.ts +2 -2
  160. package/lib/models/digicust/extractions/index.js +14 -14
  161. package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
  162. package/lib/models/digicust/frontend-big-section.model.js +2 -2
  163. package/lib/models/digicust/frontend-group.model.d.ts +6 -6
  164. package/lib/models/digicust/frontend-group.model.js +2 -2
  165. package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
  166. package/lib/models/digicust/frontend-mapping.model.js +2 -2
  167. package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
  168. package/lib/models/digicust/frontend-small-section.mode.js +2 -2
  169. package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
  170. package/lib/models/digicust/hs-code-mapping.js +2 -2
  171. package/lib/models/digicust/incoterm.enum.d.ts +17 -17
  172. package/lib/models/digicust/incoterm.enum.js +21 -21
  173. package/lib/models/digicust/incoterm.model.d.ts +25 -25
  174. package/lib/models/digicust/incoterm.model.js +21 -21
  175. package/lib/models/digicust/index.d.ts +47 -47
  176. package/lib/models/digicust/index.js +67 -67
  177. package/lib/models/digicust/invoice-type.model.d.ts +7 -7
  178. package/lib/models/digicust/invoice-type.model.js +2 -2
  179. package/lib/models/digicust/invoice.model.d.ts +79 -79
  180. package/lib/models/digicust/invoice.model.js +2 -2
  181. package/lib/models/digicust/line-item.model.d.ts +69 -69
  182. package/lib/models/digicust/line-item.model.js +132 -132
  183. package/lib/models/digicust/load-type.enum.d.ts +14 -14
  184. package/lib/models/digicust/load-type.enum.js +19 -19
  185. package/lib/models/digicust/masterdata/index.d.ts +4 -4
  186. package/lib/models/digicust/masterdata/index.js +16 -16
  187. package/lib/models/digicust/masterdata/material.model.d.ts +93 -93
  188. package/lib/models/digicust/masterdata/material.model.js +2 -2
  189. package/lib/models/digicust/masterdata/stakeholder-role.enum.d.ts +12 -12
  190. package/lib/models/digicust/masterdata/stakeholder-role.enum.js +16 -16
  191. package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -12
  192. package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -16
  193. package/lib/models/digicust/masterdata/stakeholder.model.d.ts +22 -22
  194. package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
  195. package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
  196. package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
  197. package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
  198. package/lib/models/digicust/mean-of-transportation.model.js +21 -21
  199. package/lib/models/digicust/membership.model.d.ts +7 -7
  200. package/lib/models/digicust/membership.model.js +2 -2
  201. package/lib/models/digicust/module.model.d.ts +46 -46
  202. package/lib/models/digicust/module.model.js +26 -26
  203. package/lib/models/digicust/notifications.model.d.ts +13 -13
  204. package/lib/models/digicust/notifications.model.js +2 -2
  205. package/lib/models/digicust/operationType.enum.d.ts +15 -15
  206. package/lib/models/digicust/operationType.enum.js +19 -19
  207. package/lib/models/digicust/package.model.d.ts +12 -12
  208. package/lib/models/digicust/package.model.js +2 -2
  209. package/lib/models/digicust/packingList.model.d.ts +33 -33
  210. package/lib/models/digicust/packingList.model.js +2 -2
  211. package/lib/models/digicust/preference-state.model.d.ts +20 -20
  212. package/lib/models/digicust/preference-state.model.js +2 -2
  213. package/lib/models/digicust/procedure.model.d.ts +6 -6
  214. package/lib/models/digicust/procedure.model.js +2 -2
  215. package/lib/models/digicust/project.model.d.ts +24 -24
  216. package/lib/models/digicust/project.model.js +2 -2
  217. package/lib/models/digicust/queue-fields.model.d.ts +14 -14
  218. package/lib/models/digicust/queue-fields.model.js +2 -2
  219. package/lib/models/digicust/queue.model.d.ts +17 -17
  220. package/lib/models/digicust/queue.model.js +2 -2
  221. package/lib/models/digicust/report.model.d.ts +5 -5
  222. package/lib/models/digicust/report.model.js +2 -2
  223. package/lib/models/digicust/special-measure.model.d.ts +4 -4
  224. package/lib/models/digicust/special-measure.model.js +2 -2
  225. package/lib/models/digicust/stats-case.model.d.ts +12 -12
  226. package/lib/models/digicust/stats-case.model.js +2 -2
  227. package/lib/models/digicust/submission-case-model.d.ts +24 -8
  228. package/lib/models/digicust/submission-case-model.js +12 -2
  229. package/lib/models/digicust/subscription-info.model.d.ts +13 -13
  230. package/lib/models/digicust/subscription-info.model.js +2 -2
  231. package/lib/models/digicust/subscription.model.d.ts +12 -12
  232. package/lib/models/digicust/subscription.model.js +2 -2
  233. package/lib/models/digicust/tax-details.model.d.ts +10 -10
  234. package/lib/models/digicust/tax-details.model.js +2 -2
  235. package/lib/models/digicust/transit-item.model.d.ts +30 -30
  236. package/lib/models/digicust/transit-item.model.js +65 -65
  237. package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
  238. package/lib/models/digicust/type-of-business.enum.js +48 -48
  239. package/lib/models/digicust/type-of-business.model.d.ts +11 -11
  240. package/lib/models/digicust/type-of-business.model.js +2 -2
  241. package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
  242. package/lib/models/digicust/uploaded-file.model.js +2 -2
  243. package/lib/models/digicust/user.model.d.ts +18 -18
  244. package/lib/models/digicust/user.model.js +2 -2
  245. package/lib/models/digicust/waybill.model.d.ts +39 -39
  246. package/lib/models/digicust/waybill.model.js +11 -11
  247. package/lib/models/index.d.ts +4 -4
  248. package/lib/models/index.js +16 -16
  249. package/lib/models/ml/dexter/index.d.ts +1 -1
  250. package/lib/models/ml/dexter/index.js +13 -13
  251. package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
  252. package/lib/models/ml/dexter/text-detection.model.js +2 -2
  253. package/lib/models/ml/index.d.ts +2 -2
  254. package/lib/models/ml/index.js +14 -14
  255. package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
  256. package/lib/models/ml/machine-learning-model.model.js +2 -2
  257. package/lib/models/rossum/index.d.ts +12 -12
  258. package/lib/models/rossum/index.js +24 -24
  259. package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
  260. package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
  261. package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
  262. package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
  263. package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
  264. package/lib/models/rossum/rossum-document-data.model.js +2 -2
  265. package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
  266. package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
  267. package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
  268. package/lib/models/rossum/rossum-import-status.enum.js +18 -18
  269. package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
  270. package/lib/models/rossum/rossum-login-response.model.js +2 -2
  271. package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
  272. package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
  273. package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
  274. package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
  275. package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
  276. package/lib/models/rossum/rossum-pagination.model.js +2 -2
  277. package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
  278. package/lib/models/rossum/rossum-result-content.dto.js +2 -2
  279. package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
  280. package/lib/models/rossum/rossum-result-node.dto.js +2 -2
  281. package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
  282. package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
  283. package/package.json +35 -35
  284. package/readme.md +48 -48
  285. package/lib/contracts/start-hs-classification.dto.d.ts +0 -3
  286. package/lib/contracts/start-hs-classification.dto.js +0 -2
  287. package/lib/models/common/checkpoint.model.d.ts +0 -21
  288. package/lib/models/common/checkpoint.model.js +0 -8
  289. package/lib/models/common/event.model.d.ts +0 -21
  290. package/lib/models/common/event.model.js +0 -8
  291. package/lib/models/digicust/notification.model.d.ts +0 -13
  292. package/lib/models/digicust/notification.model.js +0 -2
  293. package/lib/models/digicust/shipping-type.model.d.ts +0 -25
  294. package/lib/models/digicust/shipping-type.model.js +0 -21
@@ -1,38 +1,38 @@
1
- /**
2
- * Document Status for case document divided based on the usage
3
- */
4
- export declare enum DocumentStatus {
5
- Initial = "initial",
6
- Processing = "processing",
7
- UserClassifying = "user-classifying",
8
- Extracting = "extracting",
9
- UserExtracting = "user-extracting",
10
- Error = "error",
11
- Finished = "finished",
12
- Review = "review"
13
- }
14
- export declare enum UserDocumentStatus {
15
- Aborted = "aborted",
16
- Postponed = "postponed",
17
- Confirmed = "confirmed",
18
- Deleted = "deleted",
19
- Rejected = "rejected",
20
- Exported = "exported",
21
- Testing = "testing",
22
- Validate = "validate"
23
- }
24
- export declare enum SubDocumentStatus {
25
- manual = "manual",
26
- inProgress = "In Progress",
27
- completed = "completed",
28
- failed = "failed"
29
- }
30
- export declare enum ClassificationStatus {
31
- Edit = "edit",
32
- OnHold = "onhold",
33
- Edited = "edited",
34
- Refused = "refused",
35
- Finished = "finished",
36
- Erased = "erased",
37
- OtherDocs = "otherdocs"
38
- }
1
+ /**
2
+ * Document Status for case document divided based on the usage
3
+ */
4
+ export declare enum DocumentStatus {
5
+ Initial = "initial",
6
+ Processing = "processing",
7
+ UserClassifying = "user-classifying",
8
+ Extracting = "extracting",
9
+ UserExtracting = "user-extracting",
10
+ Error = "error",
11
+ Finished = "finished",
12
+ Review = "review"
13
+ }
14
+ export declare enum UserDocumentStatus {
15
+ Aborted = "aborted",
16
+ Postponed = "postponed",
17
+ Confirmed = "confirmed",
18
+ Deleted = "deleted",
19
+ Rejected = "rejected",
20
+ Exported = "exported",
21
+ Testing = "testing",
22
+ Validate = "validate"
23
+ }
24
+ export declare enum SubDocumentStatus {
25
+ manual = "manual",
26
+ inProgress = "In Progress",
27
+ completed = "completed",
28
+ failed = "failed"
29
+ }
30
+ export declare enum ClassificationStatus {
31
+ Edit = "edit",
32
+ OnHold = "onhold",
33
+ Edited = "edited",
34
+ Refused = "refused",
35
+ Finished = "finished",
36
+ Erased = "erased",
37
+ OtherDocs = "otherdocs"
38
+ }
@@ -1,45 +1,45 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClassificationStatus = exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
4
- /**
5
- * Document Status for case document divided based on the usage
6
- */
7
- var DocumentStatus;
8
- (function (DocumentStatus) {
9
- DocumentStatus["Initial"] = "initial";
10
- DocumentStatus["Processing"] = "processing";
11
- DocumentStatus["UserClassifying"] = "user-classifying";
12
- DocumentStatus["Extracting"] = "extracting";
13
- DocumentStatus["UserExtracting"] = "user-extracting";
14
- DocumentStatus["Error"] = "error";
15
- DocumentStatus["Finished"] = "finished";
16
- DocumentStatus["Review"] = "review";
17
- })(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
18
- var UserDocumentStatus;
19
- (function (UserDocumentStatus) {
20
- UserDocumentStatus["Aborted"] = "aborted";
21
- UserDocumentStatus["Postponed"] = "postponed";
22
- UserDocumentStatus["Confirmed"] = "confirmed";
23
- UserDocumentStatus["Deleted"] = "deleted";
24
- UserDocumentStatus["Rejected"] = "rejected";
25
- UserDocumentStatus["Exported"] = "exported";
26
- UserDocumentStatus["Testing"] = "testing";
27
- UserDocumentStatus["Validate"] = "validate";
28
- })(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
29
- var SubDocumentStatus;
30
- (function (SubDocumentStatus) {
31
- SubDocumentStatus["manual"] = "manual";
32
- SubDocumentStatus["inProgress"] = "In Progress";
33
- SubDocumentStatus["completed"] = "completed";
34
- SubDocumentStatus["failed"] = "failed";
35
- })(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
36
- var ClassificationStatus;
37
- (function (ClassificationStatus) {
38
- ClassificationStatus["Edit"] = "edit";
39
- ClassificationStatus["OnHold"] = "onhold";
40
- ClassificationStatus["Edited"] = "edited";
41
- ClassificationStatus["Refused"] = "refused";
42
- ClassificationStatus["Finished"] = "finished";
43
- ClassificationStatus["Erased"] = "erased";
44
- ClassificationStatus["OtherDocs"] = "otherdocs";
45
- })(ClassificationStatus = exports.ClassificationStatus || (exports.ClassificationStatus = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClassificationStatus = exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
4
+ /**
5
+ * Document Status for case document divided based on the usage
6
+ */
7
+ var DocumentStatus;
8
+ (function (DocumentStatus) {
9
+ DocumentStatus["Initial"] = "initial";
10
+ DocumentStatus["Processing"] = "processing";
11
+ DocumentStatus["UserClassifying"] = "user-classifying";
12
+ DocumentStatus["Extracting"] = "extracting";
13
+ DocumentStatus["UserExtracting"] = "user-extracting";
14
+ DocumentStatus["Error"] = "error";
15
+ DocumentStatus["Finished"] = "finished";
16
+ DocumentStatus["Review"] = "review";
17
+ })(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
18
+ var UserDocumentStatus;
19
+ (function (UserDocumentStatus) {
20
+ UserDocumentStatus["Aborted"] = "aborted";
21
+ UserDocumentStatus["Postponed"] = "postponed";
22
+ UserDocumentStatus["Confirmed"] = "confirmed";
23
+ UserDocumentStatus["Deleted"] = "deleted";
24
+ UserDocumentStatus["Rejected"] = "rejected";
25
+ UserDocumentStatus["Exported"] = "exported";
26
+ UserDocumentStatus["Testing"] = "testing";
27
+ UserDocumentStatus["Validate"] = "validate";
28
+ })(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
29
+ var SubDocumentStatus;
30
+ (function (SubDocumentStatus) {
31
+ SubDocumentStatus["manual"] = "manual";
32
+ SubDocumentStatus["inProgress"] = "In Progress";
33
+ SubDocumentStatus["completed"] = "completed";
34
+ SubDocumentStatus["failed"] = "failed";
35
+ })(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
36
+ var ClassificationStatus;
37
+ (function (ClassificationStatus) {
38
+ ClassificationStatus["Edit"] = "edit";
39
+ ClassificationStatus["OnHold"] = "onhold";
40
+ ClassificationStatus["Edited"] = "edited";
41
+ ClassificationStatus["Refused"] = "refused";
42
+ ClassificationStatus["Finished"] = "finished";
43
+ ClassificationStatus["Erased"] = "erased";
44
+ ClassificationStatus["OtherDocs"] = "otherdocs";
45
+ })(ClassificationStatus = exports.ClassificationStatus || (exports.ClassificationStatus = {}));
@@ -1,42 +1,42 @@
1
- /**
2
- * Base model of an event (e.g. webhook or email)
3
- */
4
- export interface Event {
5
- checkpoint?: string;
6
- suppressMultipleExecutions?: boolean;
7
- type?: "webhook" | "email";
8
- }
9
- export declare enum EventType {
10
- webhook = "webhook",
11
- mail = "email"
12
- }
13
- export interface WebhookEvent extends Event {
14
- type: "webhook";
15
- url?: string;
16
- method?: "get" | "post" | "patch" | "delete" | "put";
17
- body?: any;
18
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
19
- bodyMapping?: string;
20
- contentType?: string;
21
- }
22
- export interface EmailEvent extends Event {
23
- type: "email";
24
- emailAddress?: string;
25
- body?: any;
26
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
27
- bodyMapping?: string;
28
- attachDocuments?: {
29
- active?: boolean;
30
- };
31
- attachCase?: {
32
- active?: boolean;
33
- format?: "JSON" | "CSV" | "XML" | "TXT";
34
- csvSeparator?: string;
35
- includeHeaders?: boolean;
36
- removeAccents?: boolean;
37
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
38
- fileNameMapping?: string;
39
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
40
- mapping?: string;
41
- };
42
- }
1
+ /**
2
+ * Base model of an event (e.g. webhook or email)
3
+ */
4
+ export interface Event {
5
+ checkpoint?: string;
6
+ suppressMultipleExecutions?: boolean;
7
+ type?: "webhook" | "email";
8
+ }
9
+ export declare enum EventType {
10
+ webhook = "webhook",
11
+ mail = "email"
12
+ }
13
+ export interface WebhookEvent extends Event {
14
+ type: "webhook";
15
+ url?: string;
16
+ method?: "get" | "post" | "patch" | "delete" | "put";
17
+ body?: any;
18
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
19
+ bodyMapping?: string;
20
+ contentType?: string;
21
+ }
22
+ export interface EmailEvent extends Event {
23
+ type: "email";
24
+ emailAddress?: string;
25
+ body?: any;
26
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
27
+ bodyMapping?: string;
28
+ attachDocuments?: {
29
+ active?: boolean;
30
+ };
31
+ attachCase?: {
32
+ active?: boolean;
33
+ format?: "JSON" | "CSV" | "XML" | "TXT";
34
+ csvSeparator?: string;
35
+ includeHeaders?: boolean;
36
+ removeAccents?: boolean;
37
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
38
+ fileNameMapping?: string;
39
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
40
+ mapping?: string;
41
+ };
42
+ }
@@ -1,8 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventType = void 0;
4
- var EventType;
5
- (function (EventType) {
6
- EventType["webhook"] = "webhook";
7
- EventType["mail"] = "email";
8
- })(EventType = exports.EventType || (exports.EventType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventType = void 0;
4
+ var EventType;
5
+ (function (EventType) {
6
+ EventType["webhook"] = "webhook";
7
+ EventType["mail"] = "email";
8
+ })(EventType = exports.EventType || (exports.EventType = {}));
@@ -1,75 +1,75 @@
1
- import { DigicustDocumentType } from "./digicust-document-type.enum";
2
- import { Event } from "./event.model";
3
- /**
4
- * Execution strategies are customer-configurable plans on how to process a specific case.
5
- */
6
- export interface ExecutionStrategy {
7
- id?: string;
8
- alias?: string;
9
- moduleId?: string;
10
- customerId?: string;
11
- projectId?: string;
12
- isCondensed?: boolean;
13
- subscriptionId?: string;
14
- procedureCode?: string;
15
- whitelistedImportEmails?: string[];
16
- defaultClassification?: DigicustDocumentType;
17
- dataExtraction?: {
18
- active?: boolean;
19
- exportOnConfirmedStrategy?: boolean;
20
- queueMapping?: {
21
- documentType: DigicustDocumentType;
22
- queueId: string;
23
- }[];
24
- classification?: {
25
- /** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
26
- automateOnMinConfidence?: boolean;
27
- /** Value between 1 (very confident) to 0 (no confidence) */
28
- automateMinConfidence?: number;
29
- };
30
- /**
31
- * @deprecated
32
- */
33
- rossumExportOnConfirmed?: boolean;
34
- /** for rossum */
35
- overrideQueues?: {
36
- documentType: string;
37
- queue: number;
38
- }[];
39
- };
40
- dataNormalization?: {
41
- active?: boolean;
42
- /** Determines how to deal with additional costs like shipping costs, packing, ... */
43
- additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
44
- };
45
- dataValidation?: {
46
- active?: boolean;
47
- };
48
- hsClassification?: {
49
- active?: boolean;
50
- research?: boolean;
51
- };
52
- /** @deprecated */
53
- dakosySubmission?: {
54
- active?: boolean;
55
- };
56
- dataIntegration?: {
57
- active?: boolean;
58
- };
59
- submission?: {
60
- active?: boolean;
61
- vendor?: "dakosy";
62
- config?: {
63
- "sftp-password"?: string;
64
- "sftp-login-name"?: string;
65
- "sftp-port"?: string;
66
- "sftp-dns-name"?: string;
67
- "sftp-inbound"?: string;
68
- "sftp-outbound"?: string;
69
- "partner-id"?: string;
70
- };
71
- };
72
- events: Event[];
73
- automated?: boolean;
74
- }
75
- export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
1
+ import { DigicustDocumentType } from "./digicust-document-type.enum";
2
+ import { Event } from "./event.model";
3
+ /**
4
+ * Execution strategies are customer-configurable plans on how to process a specific case.
5
+ */
6
+ export interface ExecutionStrategy {
7
+ id?: string;
8
+ alias?: string;
9
+ moduleId?: string;
10
+ customerId?: string;
11
+ projectId?: string;
12
+ isCondensed?: boolean;
13
+ subscriptionId?: string;
14
+ procedureCode?: string;
15
+ whitelistedImportEmails?: string[];
16
+ defaultClassification?: DigicustDocumentType;
17
+ dataExtraction?: {
18
+ active?: boolean;
19
+ exportOnConfirmedStrategy?: boolean;
20
+ queueMapping?: {
21
+ documentType: DigicustDocumentType;
22
+ queueId: string;
23
+ }[];
24
+ classification?: {
25
+ /** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
26
+ automateOnMinConfidence?: boolean;
27
+ /** Value between 1 (very confident) to 0 (no confidence) */
28
+ automateMinConfidence?: number;
29
+ };
30
+ /**
31
+ * @deprecated
32
+ */
33
+ rossumExportOnConfirmed?: boolean;
34
+ /** for rossum */
35
+ overrideQueues?: {
36
+ documentType: string;
37
+ queue: number;
38
+ }[];
39
+ };
40
+ dataNormalization?: {
41
+ active?: boolean;
42
+ /** Determines how to deal with additional costs like shipping costs, packing, ... */
43
+ additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
44
+ };
45
+ dataValidation?: {
46
+ active?: boolean;
47
+ };
48
+ hsClassification?: {
49
+ active?: boolean;
50
+ research?: boolean;
51
+ };
52
+ /** @deprecated */
53
+ dakosySubmission?: {
54
+ active?: boolean;
55
+ };
56
+ dataIntegration?: {
57
+ active?: boolean;
58
+ };
59
+ submission?: {
60
+ active?: boolean;
61
+ vendor?: "dakosy";
62
+ config?: {
63
+ "sftp-password"?: string;
64
+ "sftp-login-name"?: string;
65
+ "sftp-port"?: string;
66
+ "sftp-dns-name"?: string;
67
+ "sftp-inbound"?: string;
68
+ "sftp-outbound"?: string;
69
+ "partner-id"?: string;
70
+ };
71
+ };
72
+ events: Event[];
73
+ automated?: boolean;
74
+ }
75
+ export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
@@ -1,15 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseExecutionStrategy = void 0;
4
- var condenseExecutionStrategy = function (strategy) {
5
- return strategy
6
- ? {
7
- id: strategy.id,
8
- alias: strategy.alias,
9
- customerId: strategy.customerId,
10
- subscriptionId: strategy.subscriptionId,
11
- isCondensed: true,
12
- }
13
- : null;
14
- };
15
- exports.condenseExecutionStrategy = condenseExecutionStrategy;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.condenseExecutionStrategy = void 0;
4
+ var condenseExecutionStrategy = function (strategy) {
5
+ return strategy
6
+ ? {
7
+ id: strategy.id,
8
+ alias: strategy.alias,
9
+ customerId: strategy.customerId,
10
+ subscriptionId: strategy.subscriptionId,
11
+ isCondensed: true,
12
+ }
13
+ : null;
14
+ };
15
+ exports.condenseExecutionStrategy = condenseExecutionStrategy;
@@ -1,22 +1,22 @@
1
- import { Bbox } from "../../common/bbox.model";
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
- }
1
+ import { Bbox } from "../../common/bbox.model";
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
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,57 +1,57 @@
1
- import { Bbox } from "../../common/bbox.model";
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
- fileName?: string;
17
- documentType?: string;
18
- documentStatus?: string;
19
- userDocumentStatus?: string;
20
- subDocumentStatus?: string;
21
- receivedAt?: string;
22
- code?: string;
23
- reference?: string;
24
- issueDate?: string;
25
- isCondensed?: boolean;
26
- analyzerMetadata?: {
27
- importStatus?: string;
28
- annotationId?: string;
29
- queueId?: string;
30
- exportOnConfirmed?: boolean;
31
- };
32
- queueId?: string;
33
- isLoading?: boolean;
34
- }
35
- export interface ExtractionGroup {
36
- id?: string;
37
- label?: string;
38
- fields?: ExtractionField[];
39
- }
40
- export interface ExtractionField {
41
- id?: string;
42
- label?: string;
43
- confidence?: number;
44
- value?: string;
45
- bbox?: Bbox;
46
- pageId?: string;
47
- name?: string;
48
- active?: boolean;
49
- dataType?: string;
50
- }
51
- export interface ExtractionPage {
52
- id?: string;
53
- width?: number;
54
- height?: number;
55
- /** label of classification */
56
- label?: string;
57
- }
1
+ import { Bbox } from "../../common/bbox.model";
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
+ fileName?: string;
17
+ documentType?: string;
18
+ documentStatus?: string;
19
+ userDocumentStatus?: string;
20
+ subDocumentStatus?: string;
21
+ receivedAt?: string;
22
+ code?: string;
23
+ reference?: string;
24
+ issueDate?: string;
25
+ isCondensed?: boolean;
26
+ analyzerMetadata?: {
27
+ importStatus?: string;
28
+ annotationId?: string;
29
+ queueId?: string;
30
+ exportOnConfirmed?: boolean;
31
+ };
32
+ queueId?: string;
33
+ isLoading?: boolean;
34
+ }
35
+ export interface ExtractionGroup {
36
+ id?: string;
37
+ label?: string;
38
+ fields?: ExtractionField[];
39
+ }
40
+ export interface ExtractionField {
41
+ id?: string;
42
+ label?: string;
43
+ confidence?: number;
44
+ value?: string;
45
+ bbox?: Bbox;
46
+ pageId?: string;
47
+ name?: string;
48
+ active?: boolean;
49
+ dataType?: string;
50
+ }
51
+ export interface ExtractionPage {
52
+ id?: string;
53
+ width?: number;
54
+ height?: number;
55
+ /** label of classification */
56
+ label?: string;
57
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,2 @@
1
- export * from "./extraction.model";
2
- export * from "./extraction-grid.model";
1
+ export * from "./extraction.model";
2
+ export * from "./extraction-grid.model";
@@ -1,14 +1,14 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./extraction.model"), exports);
14
- __exportStar(require("./extraction-grid.model"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./extraction.model"), exports);
14
+ __exportStar(require("./extraction-grid.model"), exports);