digicust_types 1.7.152 → 1.7.156

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 (340) 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 +22 -22
  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 +22 -22
  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 +25 -25
  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/dimensions-unit.enum.d.ts +7 -7
  54. package/lib/models/common/dimensions-unit.enum.js +11 -11
  55. package/lib/models/common/dimensions.model.d.ts +8 -8
  56. package/lib/models/common/dimensions.model.js +2 -2
  57. package/lib/models/common/extra-styles.model.d.ts +4 -4
  58. package/lib/models/common/extra-styles.model.js +2 -2
  59. package/lib/models/common/field-type.enum.d.ts +10 -10
  60. package/lib/models/common/field-type.enum.js +14 -14
  61. package/lib/models/common/filter.enum.d.ts +5 -5
  62. package/lib/models/common/filter.enum.js +9 -9
  63. package/lib/models/common/frontend-fields.model.d.ts +11 -11
  64. package/lib/models/common/frontend-fields.model.js +2 -2
  65. package/lib/models/common/fuzzy-input.d.ts +4 -4
  66. package/lib/models/common/fuzzy-input.js +2 -2
  67. package/lib/models/common/hs-classification-interaction.d.ts +30 -30
  68. package/lib/models/common/hs-classification-interaction.js +2 -2
  69. package/lib/models/common/hs-classification-response.d.ts +31 -31
  70. package/lib/models/common/hs-classification-response.js +2 -2
  71. package/lib/models/common/hs-code.model.d.ts +11 -11
  72. package/lib/models/common/hs-code.model.js +2 -2
  73. package/lib/models/common/index.d.ts +28 -28
  74. package/lib/models/common/index.js +44 -44
  75. package/lib/models/common/language.model.d.ts +4 -4
  76. package/lib/models/common/language.model.js +2 -2
  77. package/lib/models/common/meta.d.ts +35 -35
  78. package/lib/models/common/meta.js +15 -15
  79. package/lib/models/common/money.model.d.ts +11 -11
  80. package/lib/models/common/money.model.js +16 -16
  81. package/lib/models/common/multerfile.model.d.ts +12 -12
  82. package/lib/models/common/multerfile.model.js +2 -2
  83. package/lib/models/common/package-type.model.d.ts +10 -10
  84. package/lib/models/common/package-type.model.js +2 -2
  85. package/lib/models/common/periods.enum.d.ts +5 -5
  86. package/lib/models/common/periods.enum.js +9 -9
  87. package/lib/models/common/person.model.d.ts +12 -12
  88. package/lib/models/common/person.model.js +2 -2
  89. package/lib/models/common/prefix.enum.d.ts +5 -5
  90. package/lib/models/common/prefix.enum.js +10 -10
  91. package/lib/models/common/quantity.model.d.ts +15 -15
  92. package/lib/models/common/quantity.model.js +10 -10
  93. package/lib/models/common/section-type.enum.d.ts +12 -12
  94. package/lib/models/common/section-type.enum.js +16 -16
  95. package/lib/models/common/sort.enum.d.ts +4 -4
  96. package/lib/models/common/sort.enum.js +8 -8
  97. package/lib/models/common/subscription-price.model.d.ts +9 -9
  98. package/lib/models/common/subscription-price.model.js +2 -2
  99. package/lib/models/common/super.d.ts +7 -7
  100. package/lib/models/common/super.js +2 -2
  101. package/lib/models/common/uom.enum.d.ts +39 -39
  102. package/lib/models/common/uom.enum.js +44 -44
  103. package/lib/models/common/weight-unit.enum.d.ts +10 -10
  104. package/lib/models/common/weight-unit.enum.js +14 -14
  105. package/lib/models/common/weight.model.d.ts +7 -7
  106. package/lib/models/common/weight.model.js +15 -15
  107. package/lib/models/common/workflow.d.ts +23 -23
  108. package/lib/models/common/workflow.js +2 -2
  109. package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +13 -13
  110. package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
  111. package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +13 -12
  112. package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -2
  113. package/lib/models/digicust/activity.mode.d.ts +18 -18
  114. package/lib/models/digicust/activity.mode.js +2 -2
  115. package/lib/models/digicust/activity.model.d.ts +16 -16
  116. package/lib/models/digicust/activity.model.js +2 -2
  117. package/lib/models/digicust/adjustment.model.d.ts +7 -7
  118. package/lib/models/digicust/adjustment.model.js +2 -2
  119. package/lib/models/digicust/aggregated-case-data.model.d.ts +87 -87
  120. package/lib/models/digicust/aggregated-case-data.model.js +25 -25
  121. package/lib/models/digicust/case-status.enum.d.ts +22 -22
  122. package/lib/models/digicust/case-status.enum.js +26 -26
  123. package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
  124. package/lib/models/digicust/case-submission-transaction.js +19 -19
  125. package/lib/models/digicust/case-type.enum.d.ts +7 -7
  126. package/lib/models/digicust/case-type.enum.js +11 -11
  127. package/lib/models/digicust/case.model.d.ts +47 -47
  128. package/lib/models/digicust/case.model.js +24 -24
  129. package/lib/models/digicust/company.model.d.ts +4 -4
  130. package/lib/models/digicust/company.model.js +2 -2
  131. package/lib/models/digicust/consignment-size.enum.d.ts +4 -4
  132. package/lib/models/digicust/consignment-size.enum.js +8 -8
  133. package/lib/models/digicust/container.model.d.ts +7 -7
  134. package/lib/models/digicust/container.model.js +2 -2
  135. package/lib/models/digicust/context.model.d.ts +9 -9
  136. package/lib/models/digicust/context.model.js +2 -2
  137. package/lib/models/digicust/cost-intersection.model.d.ts +20 -20
  138. package/lib/models/digicust/cost-intersection.model.js +16 -16
  139. package/lib/models/digicust/custom-document.model.d.ts +8 -8
  140. package/lib/models/digicust/custom-document.model.js +2 -2
  141. package/lib/models/digicust/customer.model.d.ts +55 -55
  142. package/lib/models/digicust/customer.model.js +2 -2
  143. package/lib/models/digicust/customsOffice.model.d.ts +15 -15
  144. package/lib/models/digicust/customsOffice.model.js +12 -12
  145. package/lib/models/digicust/declaration.model.d.ts +4 -4
  146. package/lib/models/digicust/declaration.model.js +2 -2
  147. package/lib/models/digicust/digicust-document-type.enum.d.ts +15 -15
  148. package/lib/models/digicust/digicust-document-type.enum.js +19 -19
  149. package/lib/models/digicust/digicust-document.model.d.ts +45 -45
  150. package/lib/models/digicust/digicust-document.model.js +38 -38
  151. package/lib/models/digicust/document-code.model.d.ts +12 -12
  152. package/lib/models/digicust/document-code.model.js +2 -2
  153. package/lib/models/digicust/document-status.enum.d.ts +38 -38
  154. package/lib/models/digicust/document-status.enum.js +45 -45
  155. package/lib/models/digicust/documents/custom-document.model.d.ts +8 -8
  156. package/lib/models/digicust/documents/custom-document.model.js +2 -2
  157. package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +16 -16
  158. package/lib/models/digicust/documents/digicust-document-type.enum.js +20 -20
  159. package/lib/models/digicust/documents/digicust-document.model.d.ts +45 -45
  160. package/lib/models/digicust/documents/digicust-document.model.js +38 -38
  161. package/lib/models/digicust/documents/document-code.model.d.ts +12 -12
  162. package/lib/models/digicust/documents/document-code.model.js +2 -2
  163. package/lib/models/digicust/documents/document-status.enum.d.ts +38 -38
  164. package/lib/models/digicust/documents/document-status.enum.js +45 -45
  165. package/lib/models/digicust/documents/export-declaration.model.d.ts +29 -29
  166. package/lib/models/digicust/documents/export-declaration.model.js +2 -2
  167. package/lib/models/digicust/documents/index.d.ts +11 -11
  168. package/lib/models/digicust/documents/index.js +27 -27
  169. package/lib/models/digicust/documents/invoice-type.model.d.ts +9 -9
  170. package/lib/models/digicust/documents/invoice-type.model.js +2 -2
  171. package/lib/models/digicust/documents/invoice.model.d.ts +62 -62
  172. package/lib/models/digicust/documents/invoice.model.js +2 -2
  173. package/lib/models/digicust/documents/packing-list.model.d.ts +33 -33
  174. package/lib/models/digicust/documents/packing-list.model.js +2 -2
  175. package/lib/models/digicust/documents/waybill-type.model.d.ts +15 -15
  176. package/lib/models/digicust/documents/waybill-type.model.js +11 -11
  177. package/lib/models/digicust/documents/waybill.model.d.ts +33 -33
  178. package/lib/models/digicust/documents/waybill.model.js +2 -2
  179. package/lib/models/digicust/errors.model.d.ts +8 -8
  180. package/lib/models/digicust/errors.model.js +2 -2
  181. package/lib/models/digicust/event.model.d.ts +59 -59
  182. package/lib/models/digicust/event.model.js +10 -10
  183. package/lib/models/digicust/execution-strategy.model.d.ts +96 -96
  184. package/lib/models/digicust/execution-strategy.model.js +15 -15
  185. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
  186. package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
  187. package/lib/models/digicust/extractions/extraction.model.d.ts +65 -65
  188. package/lib/models/digicust/extractions/extraction.model.js +2 -2
  189. package/lib/models/digicust/extractions/index.d.ts +2 -2
  190. package/lib/models/digicust/extractions/index.js +14 -14
  191. package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
  192. package/lib/models/digicust/frontend-big-section.model.js +2 -2
  193. package/lib/models/digicust/frontend-group.model.d.ts +6 -6
  194. package/lib/models/digicust/frontend-group.model.js +2 -2
  195. package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
  196. package/lib/models/digicust/frontend-mapping.model.js +2 -2
  197. package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
  198. package/lib/models/digicust/frontend-small-section.mode.js +2 -2
  199. package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
  200. package/lib/models/digicust/hs-code-mapping.js +2 -2
  201. package/lib/models/digicust/incoterm.enum.d.ts +17 -17
  202. package/lib/models/digicust/incoterm.enum.js +21 -21
  203. package/lib/models/digicust/incoterm.model.d.ts +25 -25
  204. package/lib/models/digicust/incoterm.model.js +21 -21
  205. package/lib/models/digicust/index.d.ts +41 -41
  206. package/lib/models/digicust/index.js +61 -61
  207. package/lib/models/digicust/invoice-type.model.d.ts +9 -9
  208. package/lib/models/digicust/invoice-type.model.js +2 -2
  209. package/lib/models/digicust/invoice.model.d.ts +62 -62
  210. package/lib/models/digicust/invoice.model.js +2 -2
  211. package/lib/models/digicust/line-item.model.d.ts +78 -78
  212. package/lib/models/digicust/line-item.model.js +17 -17
  213. package/lib/models/digicust/load-type.enum.d.ts +14 -14
  214. package/lib/models/digicust/load-type.enum.js +19 -19
  215. package/lib/models/digicust/masterdata/index.d.ts +10 -7
  216. package/lib/models/digicust/masterdata/index.js +22 -19
  217. package/lib/models/digicust/masterdata/matching-metadata.model.d.ts +14 -11
  218. package/lib/models/digicust/masterdata/matching-metadata.model.js +2 -2
  219. package/lib/models/digicust/masterdata/material-match-input.d.ts +8 -0
  220. package/lib/models/digicust/{notification.model.js → masterdata/material-match-input.js} +2 -2
  221. package/lib/models/digicust/masterdata/material-match-result.d.ts +11 -0
  222. package/lib/{contracts/start-hs-classification.dto.js → models/digicust/masterdata/material-match-result.js} +2 -2
  223. package/lib/models/digicust/masterdata/material.model.d.ts +97 -97
  224. package/lib/models/digicust/masterdata/material.model.js +9 -9
  225. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +5 -5
  226. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +9 -9
  227. package/lib/models/digicust/masterdata/stakeholder-match-input.d.ts +6 -0
  228. package/lib/models/digicust/masterdata/stakeholder-match-input.js +2 -0
  229. package/lib/models/digicust/masterdata/stakeholder-match-result.d.ts +6 -0
  230. package/lib/models/digicust/masterdata/stakeholder-match-result.js +2 -0
  231. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +7 -7
  232. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +11 -11
  233. package/lib/models/digicust/masterdata/stakeholder-role.enum.d.ts +12 -12
  234. package/lib/models/digicust/masterdata/stakeholder-role.enum.js +16 -16
  235. package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -12
  236. package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -16
  237. package/lib/models/digicust/masterdata/stakeholder.model.d.ts +26 -24
  238. package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
  239. package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.d.ts +6 -0
  240. package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.js +10 -0
  241. package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
  242. package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
  243. package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
  244. package/lib/models/digicust/mean-of-transportation.model.js +21 -21
  245. package/lib/models/digicust/membership.model.d.ts +7 -7
  246. package/lib/models/digicust/membership.model.js +2 -2
  247. package/lib/models/digicust/module.model.d.ts +49 -49
  248. package/lib/models/digicust/module.model.js +27 -27
  249. package/lib/models/digicust/notifications.model.d.ts +13 -13
  250. package/lib/models/digicust/notifications.model.js +2 -2
  251. package/lib/models/digicust/operationType.enum.d.ts +15 -15
  252. package/lib/models/digicust/operationType.enum.js +19 -19
  253. package/lib/models/digicust/package.model.d.ts +21 -21
  254. package/lib/models/digicust/package.model.js +2 -2
  255. package/lib/models/digicust/packingList.model.d.ts +33 -33
  256. package/lib/models/digicust/packingList.model.js +2 -2
  257. package/lib/models/digicust/preference-state.model.d.ts +21 -21
  258. package/lib/models/digicust/preference-state.model.js +2 -2
  259. package/lib/models/digicust/procedure.model.d.ts +16 -16
  260. package/lib/models/digicust/procedure.model.js +9 -9
  261. package/lib/models/digicust/project.model.d.ts +25 -25
  262. package/lib/models/digicust/project.model.js +2 -2
  263. package/lib/models/digicust/queue-fields.model.d.ts +15 -15
  264. package/lib/models/digicust/queue-fields.model.js +2 -2
  265. package/lib/models/digicust/queue.model.d.ts +18 -18
  266. package/lib/models/digicust/queue.model.js +2 -2
  267. package/lib/models/digicust/report.model.d.ts +5 -5
  268. package/lib/models/digicust/report.model.js +2 -2
  269. package/lib/models/digicust/special-measure.model.d.ts +4 -4
  270. package/lib/models/digicust/special-measure.model.js +2 -2
  271. package/lib/models/digicust/stats-case.model.d.ts +12 -12
  272. package/lib/models/digicust/stats-case.model.js +2 -2
  273. package/lib/models/digicust/submission-case-model.d.ts +24 -8
  274. package/lib/models/digicust/submission-case-model.js +12 -2
  275. package/lib/models/digicust/subscription-info.model.d.ts +13 -13
  276. package/lib/models/digicust/subscription-info.model.js +2 -2
  277. package/lib/models/digicust/subscription.model.d.ts +11 -11
  278. package/lib/models/digicust/subscription.model.js +2 -2
  279. package/lib/models/digicust/tax-details.model.d.ts +10 -10
  280. package/lib/models/digicust/tax-details.model.js +2 -2
  281. package/lib/models/digicust/transit-item.model.d.ts +30 -30
  282. package/lib/models/digicust/transit-item.model.js +67 -67
  283. package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
  284. package/lib/models/digicust/type-of-business.enum.js +48 -48
  285. package/lib/models/digicust/type-of-business.model.d.ts +11 -11
  286. package/lib/models/digicust/type-of-business.model.js +2 -2
  287. package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
  288. package/lib/models/digicust/uploaded-file.model.js +2 -2
  289. package/lib/models/digicust/user.model.d.ts +18 -18
  290. package/lib/models/digicust/user.model.js +2 -2
  291. package/lib/models/digicust/waybill-type.model.d.ts +15 -15
  292. package/lib/models/digicust/waybill-type.model.js +11 -11
  293. package/lib/models/digicust/waybill.model.d.ts +33 -33
  294. package/lib/models/digicust/waybill.model.js +2 -2
  295. package/lib/models/index.d.ts +4 -4
  296. package/lib/models/index.js +16 -16
  297. package/lib/models/ml/dexter/index.d.ts +1 -1
  298. package/lib/models/ml/dexter/index.js +13 -13
  299. package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
  300. package/lib/models/ml/dexter/text-detection.model.js +2 -2
  301. package/lib/models/ml/index.d.ts +2 -2
  302. package/lib/models/ml/index.js +14 -14
  303. package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
  304. package/lib/models/ml/machine-learning-model.model.js +2 -2
  305. package/lib/models/rossum/index.d.ts +12 -12
  306. package/lib/models/rossum/index.js +24 -24
  307. package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
  308. package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
  309. package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
  310. package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
  311. package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
  312. package/lib/models/rossum/rossum-document-data.model.js +2 -2
  313. package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
  314. package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
  315. package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
  316. package/lib/models/rossum/rossum-import-status.enum.js +18 -18
  317. package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
  318. package/lib/models/rossum/rossum-login-response.model.js +2 -2
  319. package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
  320. package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
  321. package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
  322. package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
  323. package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
  324. package/lib/models/rossum/rossum-pagination.model.js +2 -2
  325. package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
  326. package/lib/models/rossum/rossum-result-content.dto.js +2 -2
  327. package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
  328. package/lib/models/rossum/rossum-result-node.dto.js +2 -2
  329. package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
  330. package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
  331. package/package.json +37 -37
  332. package/readme.md +48 -48
  333. package/lib/contracts/start-hs-classification.dto.d.ts +0 -3
  334. package/lib/models/common/checkpoint.model.d.ts +0 -21
  335. package/lib/models/common/checkpoint.model.js +0 -8
  336. package/lib/models/common/event.model.d.ts +0 -21
  337. package/lib/models/common/event.model.js +0 -8
  338. package/lib/models/digicust/notification.model.d.ts +0 -13
  339. package/lib/models/digicust/shipping-type.model.d.ts +0 -25
  340. package/lib/models/digicust/shipping-type.model.js +0 -21
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterCondition = void 0;
4
- var FilterCondition;
5
- (function (FilterCondition) {
6
- FilterCondition["greaterThan"] = "greaterThan";
7
- FilterCondition["smallerThan"] = "smallerThan";
8
- FilterCondition["equals"] = "equals";
9
- })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterCondition = void 0;
4
+ var FilterCondition;
5
+ (function (FilterCondition) {
6
+ FilterCondition["greaterThan"] = "greaterThan";
7
+ FilterCondition["smallerThan"] = "smallerThan";
8
+ FilterCondition["equals"] = "equals";
9
+ })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
@@ -1,11 +1,11 @@
1
- import { FieldType } from "./field-type.enum";
2
- import { FieldPrefix } from "./prefix.enum";
3
- export interface FrontendFields {
4
- path?: String;
5
- value?: String;
6
- label?: String;
7
- reviewNeeded?: Array<Boolean>;
8
- type: FieldType;
9
- format?: String;
10
- prefix?: FieldPrefix;
11
- }
1
+ import { FieldType } from "./field-type.enum";
2
+ import { FieldPrefix } from "./prefix.enum";
3
+ export interface FrontendFields {
4
+ path?: String;
5
+ value?: String;
6
+ label?: String;
7
+ reviewNeeded?: Array<Boolean>;
8
+ type: FieldType;
9
+ format?: String;
10
+ prefix?: FieldPrefix;
11
+ }
@@ -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,4 +1,4 @@
1
- export interface FuzzyInput<T> {
2
- input?: string;
3
- value?: T;
4
- }
1
+ export interface FuzzyInput<T> {
2
+ input?: string;
3
+ value?: T;
4
+ }
@@ -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,30 +1,30 @@
1
- import { Meta } from "./meta";
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
- }
1
+ import { Meta } from "./meta";
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
+ }
@@ -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,31 +1,31 @@
1
- import { Meta } from "./meta";
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
- }
1
+ import { Meta } from "./meta";
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
+ }
@@ -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,11 +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
- }
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
+ }
@@ -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,28 +1,28 @@
1
- export * from "./workflow";
2
- export * from "./meta";
3
- export * from "./fuzzy-input";
4
- export * from "./language.model";
5
- export * from "./currency.enum";
6
- export * from "./money.model";
7
- export * from "./quantity.model";
8
- export * from "./uom.enum";
9
- export * from "./package-type.model";
10
- export * from "./date.model";
11
- export * from "./weight.model";
12
- export * from "./weight-unit.enum";
13
- export * from "./dimensions.model";
14
- export * from "./dimensions-unit.enum";
15
- export * from "./address.model";
16
- export * from "./company.model";
17
- export * from "./multerfile.model";
18
- export * from "./filter.enum";
19
- export * from "./sort.enum";
20
- export * from "./hs-code.model";
21
- export * from "./hs-classification-response";
22
- export * from "./hs-classification-interaction";
23
- export * from "./classification-code.model";
24
- export * from "./customs-tariff-number.model";
25
- export * from "./field-type.enum";
26
- export * from "./prefix.enum";
27
- export * from "./dialog-window.model";
28
- export * from "./section-type.enum";
1
+ export * from "./workflow";
2
+ export * from "./meta";
3
+ export * from "./fuzzy-input";
4
+ export * from "./language.model";
5
+ export * from "./currency.enum";
6
+ export * from "./money.model";
7
+ export * from "./quantity.model";
8
+ export * from "./uom.enum";
9
+ export * from "./package-type.model";
10
+ export * from "./date.model";
11
+ export * from "./weight.model";
12
+ export * from "./weight-unit.enum";
13
+ export * from "./dimensions.model";
14
+ export * from "./dimensions-unit.enum";
15
+ export * from "./address.model";
16
+ export * from "./company.model";
17
+ export * from "./multerfile.model";
18
+ export * from "./filter.enum";
19
+ export * from "./sort.enum";
20
+ export * from "./hs-code.model";
21
+ export * from "./hs-classification-response";
22
+ export * from "./hs-classification-interaction";
23
+ export * from "./classification-code.model";
24
+ export * from "./customs-tariff-number.model";
25
+ export * from "./field-type.enum";
26
+ export * from "./prefix.enum";
27
+ export * from "./dialog-window.model";
28
+ export * from "./section-type.enum";
@@ -1,44 +1,44 @@
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
- // Data Types
14
- __exportStar(require("./workflow"), exports); // the most basic meta information which is also used for
15
- __exportStar(require("./meta"), exports); // provides meta information on a field (eg. extraction confidence, is inherited by most other data types)
16
- __exportStar(require("./fuzzy-input"), exports); // former alternative to META (deprecated)
17
- __exportStar(require("./language.model"), exports); // Language information
18
- __exportStar(require("./currency.enum"), exports); // Currency information
19
- __exportStar(require("./money.model"), exports); // Information about amount of money
20
- __exportStar(require("./quantity.model"), exports); // Information about quantity
21
- __exportStar(require("./uom.enum"), exports); // Unit of measurement
22
- __exportStar(require("./package-type.model"), exports); // Information about package type
23
- __exportStar(require("./date.model"), exports); // Model for date information
24
- __exportStar(require("./weight.model"), exports); // Information about weight
25
- __exportStar(require("./weight-unit.enum"), exports); // Weight unit
26
- __exportStar(require("./dimensions.model"), exports); // Information about dimension
27
- __exportStar(require("./dimensions-unit.enum"), exports); // Dimension unit
28
- __exportStar(require("./address.model"), exports); // Model for geographic addresses
29
- __exportStar(require("./company.model"), exports); // Model for companies
30
- __exportStar(require("./multerfile.model"), exports); // Files as they arrive on our node servers
31
- // Sort and filter
32
- __exportStar(require("./filter.enum"), exports);
33
- __exportStar(require("./sort.enum"), exports);
34
- // HS Classification
35
- __exportStar(require("./hs-code.model"), exports);
36
- __exportStar(require("./hs-classification-response"), exports);
37
- __exportStar(require("./hs-classification-interaction"), exports);
38
- __exportStar(require("./classification-code.model"), exports);
39
- __exportStar(require("./customs-tariff-number.model"), exports);
40
- // Mapping
41
- __exportStar(require("./field-type.enum"), exports);
42
- __exportStar(require("./prefix.enum"), exports);
43
- __exportStar(require("./dialog-window.model"), exports);
44
- __exportStar(require("./section-type.enum"), 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
+ // Data Types
14
+ __exportStar(require("./workflow"), exports); // the most basic meta information which is also used for
15
+ __exportStar(require("./meta"), exports); // provides meta information on a field (eg. extraction confidence, is inherited by most other data types)
16
+ __exportStar(require("./fuzzy-input"), exports); // former alternative to META (deprecated)
17
+ __exportStar(require("./language.model"), exports); // Language information
18
+ __exportStar(require("./currency.enum"), exports); // Currency information
19
+ __exportStar(require("./money.model"), exports); // Information about amount of money
20
+ __exportStar(require("./quantity.model"), exports); // Information about quantity
21
+ __exportStar(require("./uom.enum"), exports); // Unit of measurement
22
+ __exportStar(require("./package-type.model"), exports); // Information about package type
23
+ __exportStar(require("./date.model"), exports); // Model for date information
24
+ __exportStar(require("./weight.model"), exports); // Information about weight
25
+ __exportStar(require("./weight-unit.enum"), exports); // Weight unit
26
+ __exportStar(require("./dimensions.model"), exports); // Information about dimension
27
+ __exportStar(require("./dimensions-unit.enum"), exports); // Dimension unit
28
+ __exportStar(require("./address.model"), exports); // Model for geographic addresses
29
+ __exportStar(require("./company.model"), exports); // Model for companies
30
+ __exportStar(require("./multerfile.model"), exports); // Files as they arrive on our node servers
31
+ // Sort and filter
32
+ __exportStar(require("./filter.enum"), exports);
33
+ __exportStar(require("./sort.enum"), exports);
34
+ // HS Classification
35
+ __exportStar(require("./hs-code.model"), exports);
36
+ __exportStar(require("./hs-classification-response"), exports);
37
+ __exportStar(require("./hs-classification-interaction"), exports);
38
+ __exportStar(require("./classification-code.model"), exports);
39
+ __exportStar(require("./customs-tariff-number.model"), exports);
40
+ // Mapping
41
+ __exportStar(require("./field-type.enum"), exports);
42
+ __exportStar(require("./prefix.enum"), exports);
43
+ __exportStar(require("./dialog-window.model"), exports);
44
+ __exportStar(require("./section-type.enum"), exports);
@@ -1,4 +1,4 @@
1
- import { Meta } from "./meta";
2
- export interface LanguageModel extends Meta<string> {
3
- isoCode?: string;
4
- }
1
+ import { Meta } from "./meta";
2
+ export interface LanguageModel extends Meta<string> {
3
+ isoCode?: string;
4
+ }
@@ -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,35 +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
- };
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
+ };
@@ -1,15 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseMeta = void 0;
4
- var condenseMeta = function (meta, valueOnly) {
5
- return !valueOnly
6
- ? {
7
- value: meta.value,
8
- confidence: meta.confidence,
9
- reviewNeeded: meta.reviewNeeded,
10
- }
11
- : {
12
- value: meta.value,
13
- };
14
- };
15
- exports.condenseMeta = condenseMeta;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.condenseMeta = void 0;
4
+ var condenseMeta = function (meta, valueOnly) {
5
+ return !valueOnly
6
+ ? {
7
+ value: meta.value,
8
+ confidence: meta.confidence,
9
+ reviewNeeded: meta.reviewNeeded,
10
+ }
11
+ : {
12
+ value: meta.value,
13
+ };
14
+ };
15
+ exports.condenseMeta = condenseMeta;
@@ -1,11 +1,11 @@
1
- import { Currency } from "./currency.enum";
2
- import { Meta } from "./meta";
3
- /**
4
- * Identifies an amount of money
5
- */
6
- export interface Money extends Meta<number> {
7
- unit?: Currency;
8
- EUREquivalent?: number;
9
- USDEquivalent?: number;
10
- }
11
- export declare const condenseMoney: (money: Money) => Money;
1
+ import { Currency } from "./currency.enum";
2
+ import { Meta } from "./meta";
3
+ /**
4
+ * Identifies an amount of money
5
+ */
6
+ export interface Money extends Meta<number> {
7
+ unit?: Currency;
8
+ EUREquivalent?: number;
9
+ USDEquivalent?: number;
10
+ }
11
+ export declare const condenseMoney: (money: Money) => Money;
@@ -1,16 +1,16 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseMoney = void 0;
4
- var condenseMoney = function (money) {
5
- var condensed = {
6
- value: money.value,
7
- unit: money.unit,
8
- EUREquivalent: money.EUREquivalent,
9
- USDEquivalent: money.USDEquivalent,
10
- confidence: money.confidence,
11
- reviewNeeded: money.reviewNeeded
12
- };
13
- condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined properties
14
- return condensed;
15
- };
16
- exports.condenseMoney = condenseMoney;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.condenseMoney = void 0;
4
+ var condenseMoney = function (money) {
5
+ var condensed = {
6
+ value: money.value,
7
+ unit: money.unit,
8
+ EUREquivalent: money.EUREquivalent,
9
+ USDEquivalent: money.USDEquivalent,
10
+ confidence: money.confidence,
11
+ reviewNeeded: money.reviewNeeded
12
+ };
13
+ condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined properties
14
+ return condensed;
15
+ };
16
+ exports.condenseMoney = condenseMoney;
@@ -1,12 +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
- }
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
+ }
@@ -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,10 +1,10 @@
1
- import { Meta } from "./meta";
2
- /**
3
- * Identifies a package type
4
- */
5
- export interface PackageType extends Meta<any> {
6
- type?: string;
7
- germanType?: string;
8
- code?: string;
9
- NC_40000?: string;
10
- }
1
+ import { Meta } from "./meta";
2
+ /**
3
+ * Identifies a package type
4
+ */
5
+ export interface PackageType extends Meta<any> {
6
+ type?: string;
7
+ germanType?: string;
8
+ code?: string;
9
+ NC_40000?: string;
10
+ }
@@ -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,5 +1,5 @@
1
- export declare enum BillingPeriods {
2
- monthly = "monthly",
3
- half_yearly = "half_yearly",
4
- anually = "anually"
5
- }
1
+ export declare enum BillingPeriods {
2
+ monthly = "monthly",
3
+ half_yearly = "half_yearly",
4
+ anually = "anually"
5
+ }