digicust_types 1.7.136 → 1.7.140

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 (324) 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/currency.enum.d.ts +181 -181
  44. package/lib/models/common/currency.enum.js +185 -185
  45. package/lib/models/common/customs-tariff-number.model.d.ts +25 -25
  46. package/lib/models/common/customs-tariff-number.model.js +21 -21
  47. package/lib/models/common/date.model.d.ts +5 -5
  48. package/lib/models/common/date.model.js +2 -2
  49. package/lib/models/common/dialog-window.model.d.ts +6 -6
  50. package/lib/models/common/dialog-window.model.js +2 -2
  51. package/lib/models/common/dimensions-unit.enum.d.ts +7 -7
  52. package/lib/models/common/dimensions-unit.enum.js +11 -11
  53. package/lib/models/common/dimensions.model.d.ts +8 -8
  54. package/lib/models/common/dimensions.model.js +2 -2
  55. package/lib/models/common/extra-styles.model.d.ts +4 -4
  56. package/lib/models/common/extra-styles.model.js +2 -2
  57. package/lib/models/common/field-type.enum.d.ts +10 -10
  58. package/lib/models/common/field-type.enum.js +14 -14
  59. package/lib/models/common/filter.enum.d.ts +5 -5
  60. package/lib/models/common/filter.enum.js +9 -9
  61. package/lib/models/common/frontend-fields.model.d.ts +11 -11
  62. package/lib/models/common/frontend-fields.model.js +2 -2
  63. package/lib/models/common/fuzzy-input.d.ts +4 -4
  64. package/lib/models/common/fuzzy-input.js +2 -2
  65. package/lib/models/common/hs-classification-interaction.d.ts +30 -30
  66. package/lib/models/common/hs-classification-interaction.js +2 -2
  67. package/lib/models/common/hs-classification-response.d.ts +31 -31
  68. package/lib/models/common/hs-classification-response.js +2 -2
  69. package/lib/models/common/hs-code.model.d.ts +11 -11
  70. package/lib/models/common/hs-code.model.js +2 -2
  71. package/lib/models/common/index.d.ts +28 -28
  72. package/lib/models/common/index.js +44 -44
  73. package/lib/models/common/language.model.d.ts +4 -4
  74. package/lib/models/common/language.model.js +2 -2
  75. package/lib/models/common/meta.d.ts +35 -35
  76. package/lib/models/common/meta.js +15 -15
  77. package/lib/models/common/money.model.d.ts +11 -11
  78. package/lib/models/common/money.model.js +16 -16
  79. package/lib/models/common/multerfile.model.d.ts +12 -12
  80. package/lib/models/common/multerfile.model.js +2 -2
  81. package/lib/models/common/package-type.model.d.ts +10 -10
  82. package/lib/models/common/package-type.model.js +2 -2
  83. package/lib/models/common/periods.enum.d.ts +5 -5
  84. package/lib/models/common/periods.enum.js +9 -9
  85. package/lib/models/common/person.model.d.ts +12 -12
  86. package/lib/models/common/person.model.js +2 -2
  87. package/lib/models/common/prefix.enum.d.ts +5 -5
  88. package/lib/models/common/prefix.enum.js +10 -10
  89. package/lib/models/common/quantity.model.d.ts +15 -15
  90. package/lib/models/common/quantity.model.js +10 -10
  91. package/lib/models/common/section-type.enum.d.ts +12 -12
  92. package/lib/models/common/section-type.enum.js +16 -16
  93. package/lib/models/common/sort.enum.d.ts +4 -4
  94. package/lib/models/common/sort.enum.js +8 -8
  95. package/lib/models/common/subscription-price.model.d.ts +9 -9
  96. package/lib/models/common/subscription-price.model.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 +10 -10
  100. package/lib/models/common/weight-unit.enum.js +14 -14
  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 +23 -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/activity.mode.d.ts +16 -18
  108. package/lib/models/digicust/activity.mode.js +2 -2
  109. package/lib/models/digicust/activity.model.d.ts +16 -16
  110. package/lib/models/digicust/activity.model.js +2 -2
  111. package/lib/models/digicust/adjustment.model.d.ts +7 -7
  112. package/lib/models/digicust/adjustment.model.js +2 -2
  113. package/lib/models/digicust/aggregated-case-data.model.d.ts +85 -85
  114. package/lib/models/digicust/aggregated-case-data.model.js +25 -25
  115. package/lib/models/digicust/case-status.enum.d.ts +22 -22
  116. package/lib/models/digicust/case-status.enum.js +26 -26
  117. package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
  118. package/lib/models/digicust/case-submission-transaction.js +19 -19
  119. package/lib/models/digicust/case-type.enum.d.ts +7 -7
  120. package/lib/models/digicust/case-type.enum.js +11 -11
  121. package/lib/models/digicust/case.model.d.ts +47 -47
  122. package/lib/models/digicust/case.model.js +24 -24
  123. package/lib/models/digicust/classification.model.d.ts +14 -0
  124. package/lib/models/digicust/classification.model.js +10 -0
  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 +15 -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 +10 -15
  144. package/lib/models/digicust/digicust-document-type.enum.js +14 -19
  145. package/lib/models/digicust/digicust-document.model.d.ts +40 -45
  146. package/lib/models/digicust/digicust-document.model.js +35 -38
  147. package/lib/models/digicust/document-status.enum.d.ts +21 -38
  148. package/lib/models/digicust/document-status.enum.js +25 -45
  149. package/lib/models/digicust/documents/custom-document.model.d.ts +8 -0
  150. package/lib/models/{common/country.model.js → digicust/documents/custom-document.model.js} +2 -2
  151. package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +15 -0
  152. package/lib/models/digicust/documents/digicust-document-type.enum.js +19 -0
  153. package/lib/models/digicust/documents/digicust-document.model.d.ts +45 -0
  154. package/lib/models/digicust/documents/digicust-document.model.js +38 -0
  155. package/lib/models/digicust/{document-code.model.d.ts → documents/document-code.model.d.ts} +12 -12
  156. package/lib/models/digicust/{document-code.model.js → documents/document-code.model.js} +2 -2
  157. package/lib/models/digicust/documents/document-status.enum.d.ts +38 -0
  158. package/lib/models/digicust/documents/document-status.enum.js +45 -0
  159. package/lib/models/digicust/documents/export-declaration.model.d.ts +28 -0
  160. package/lib/{contracts/start-hs-classification.dto.js → models/digicust/documents/export-declaration.model.js} +2 -2
  161. package/lib/models/digicust/documents/index.d.ts +11 -0
  162. package/lib/models/digicust/documents/index.js +27 -0
  163. package/lib/models/digicust/{invoice-type.model.d.ts → documents/invoice-type.model.d.ts} +9 -9
  164. package/lib/models/digicust/{invoice-type.model.js → documents/invoice-type.model.js} +2 -2
  165. package/lib/models/digicust/documents/invoice.model.d.ts +62 -0
  166. package/lib/models/{common/super.js → digicust/documents/invoice.model.js} +2 -2
  167. package/lib/models/digicust/documents/packing-list.model.d.ts +33 -0
  168. package/lib/models/digicust/{QueueWorkspaceModel.model.js → documents/packing-list.model.js} +2 -2
  169. package/lib/models/digicust/{waybill-type.model.d.ts → documents/waybill-type.model.d.ts} +15 -15
  170. package/lib/models/digicust/{waybill-type.model.js → documents/waybill-type.model.js} +11 -11
  171. package/lib/models/digicust/documents/waybill.model.d.ts +33 -0
  172. package/lib/models/digicust/documents/waybill.model.js +2 -0
  173. package/lib/models/digicust/errors.model.d.ts +8 -8
  174. package/lib/models/digicust/errors.model.js +2 -2
  175. package/lib/models/digicust/event.model.d.ts +59 -59
  176. package/lib/models/digicust/event.model.js +10 -10
  177. package/lib/models/digicust/execution-strategy.model.d.ts +96 -96
  178. package/lib/models/digicust/execution-strategy.model.js +15 -15
  179. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
  180. package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
  181. package/lib/models/digicust/extractions/extraction.model.d.ts +65 -65
  182. package/lib/models/digicust/extractions/extraction.model.js +2 -2
  183. package/lib/models/digicust/extractions/index.d.ts +2 -2
  184. package/lib/models/digicust/extractions/index.js +14 -14
  185. package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
  186. package/lib/models/digicust/frontend-big-section.model.js +2 -2
  187. package/lib/models/digicust/frontend-group.model.d.ts +6 -6
  188. package/lib/models/digicust/frontend-group.model.js +2 -2
  189. package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
  190. package/lib/models/digicust/frontend-mapping.model.js +2 -2
  191. package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
  192. package/lib/models/digicust/frontend-small-section.mode.js +2 -2
  193. package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
  194. package/lib/models/digicust/hs-code-mapping.js +2 -2
  195. package/lib/models/digicust/incoterm.enum.d.ts +17 -17
  196. package/lib/models/digicust/incoterm.enum.js +21 -21
  197. package/lib/models/digicust/incoterm.model.d.ts +25 -25
  198. package/lib/models/digicust/incoterm.model.js +21 -21
  199. package/lib/models/digicust/index.d.ts +41 -49
  200. package/lib/models/digicust/index.js +61 -69
  201. package/lib/models/digicust/invoice.model.d.ts +65 -62
  202. package/lib/models/digicust/invoice.model.js +2 -2
  203. package/lib/models/digicust/line-item.model.d.ts +69 -67
  204. package/lib/models/digicust/line-item.model.js +17 -17
  205. package/lib/models/digicust/load-type.enum.d.ts +14 -14
  206. package/lib/models/digicust/load-type.enum.js +19 -19
  207. package/lib/models/digicust/masterdata/index.d.ts +7 -7
  208. package/lib/models/digicust/masterdata/index.js +19 -19
  209. package/lib/models/digicust/masterdata/matching-metadata.model.d.ts +11 -11
  210. package/lib/models/digicust/masterdata/matching-metadata.model.js +2 -2
  211. package/lib/models/digicust/masterdata/material.model.d.ts +97 -97
  212. package/lib/models/digicust/masterdata/material.model.js +9 -9
  213. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +5 -5
  214. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +9 -9
  215. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +7 -7
  216. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +11 -11
  217. package/lib/models/digicust/masterdata/stakeholder-role.enum.d.ts +12 -12
  218. package/lib/models/digicust/masterdata/stakeholder-role.enum.js +16 -16
  219. package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -12
  220. package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -16
  221. package/lib/models/digicust/masterdata/stakeholder.model.d.ts +23 -23
  222. package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
  223. package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
  224. package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
  225. package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
  226. package/lib/models/digicust/mean-of-transportation.model.js +21 -21
  227. package/lib/models/digicust/membership.model.d.ts +7 -7
  228. package/lib/models/digicust/membership.model.js +2 -2
  229. package/lib/models/digicust/module.model.d.ts +49 -49
  230. package/lib/models/digicust/module.model.js +27 -27
  231. package/lib/models/digicust/notifications.model.d.ts +13 -13
  232. package/lib/models/digicust/notifications.model.js +2 -2
  233. package/lib/models/digicust/operationType.enum.d.ts +15 -15
  234. package/lib/models/digicust/operationType.enum.js +19 -19
  235. package/lib/models/digicust/package.model.d.ts +20 -20
  236. package/lib/models/digicust/package.model.js +2 -2
  237. package/lib/models/digicust/packingList.model.d.ts +33 -33
  238. package/lib/models/digicust/packingList.model.js +2 -2
  239. package/lib/models/digicust/preference-state.model.d.ts +21 -21
  240. package/lib/models/digicust/preference-state.model.js +2 -2
  241. package/lib/models/digicust/procedure.model.d.ts +16 -16
  242. package/lib/models/digicust/procedure.model.js +9 -9
  243. package/lib/models/digicust/project.model.d.ts +25 -25
  244. package/lib/models/digicust/project.model.js +2 -2
  245. package/lib/models/digicust/queue-fields.model.d.ts +15 -15
  246. package/lib/models/digicust/queue-fields.model.js +2 -2
  247. package/lib/models/digicust/queue.model.d.ts +18 -18
  248. package/lib/models/digicust/queue.model.js +2 -2
  249. package/lib/models/digicust/report.model.d.ts +5 -5
  250. package/lib/models/digicust/report.model.js +2 -2
  251. package/lib/models/digicust/special-measure.model.d.ts +4 -4
  252. package/lib/models/digicust/special-measure.model.js +2 -2
  253. package/lib/models/digicust/stats-case.model.d.ts +12 -12
  254. package/lib/models/digicust/stats-case.model.js +2 -2
  255. package/lib/models/digicust/submission-case-model.d.ts +23 -8
  256. package/lib/models/digicust/submission-case-model.js +12 -2
  257. package/lib/models/digicust/subscription-info.model.d.ts +13 -13
  258. package/lib/models/digicust/subscription-info.model.js +2 -2
  259. package/lib/models/digicust/subscription.model.d.ts +11 -11
  260. package/lib/models/digicust/subscription.model.js +2 -2
  261. package/lib/models/digicust/tax-details.model.d.ts +10 -10
  262. package/lib/models/digicust/tax-details.model.js +2 -2
  263. package/lib/models/digicust/transit-item.model.d.ts +30 -30
  264. package/lib/models/digicust/transit-item.model.js +67 -65
  265. package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
  266. package/lib/models/digicust/type-of-business.enum.js +48 -48
  267. package/lib/models/digicust/type-of-business.model.d.ts +11 -11
  268. package/lib/models/digicust/type-of-business.model.js +2 -2
  269. package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
  270. package/lib/models/digicust/uploaded-file.model.js +2 -2
  271. package/lib/models/digicust/user.model.d.ts +18 -18
  272. package/lib/models/digicust/user.model.js +2 -2
  273. package/lib/models/digicust/waybill.model.d.ts +39 -33
  274. package/lib/models/digicust/waybill.model.js +11 -2
  275. package/lib/models/index.d.ts +4 -4
  276. package/lib/models/index.js +16 -16
  277. package/lib/models/ml/dexter/index.d.ts +1 -1
  278. package/lib/models/ml/dexter/index.js +13 -13
  279. package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
  280. package/lib/models/ml/dexter/text-detection.model.js +2 -2
  281. package/lib/models/ml/index.d.ts +2 -2
  282. package/lib/models/ml/index.js +14 -14
  283. package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
  284. package/lib/models/ml/machine-learning-model.model.js +2 -2
  285. package/lib/models/rossum/index.d.ts +12 -12
  286. package/lib/models/rossum/index.js +24 -24
  287. package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
  288. package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
  289. package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
  290. package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
  291. package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
  292. package/lib/models/rossum/rossum-document-data.model.js +2 -2
  293. package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
  294. package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
  295. package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
  296. package/lib/models/rossum/rossum-import-status.enum.js +18 -18
  297. package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
  298. package/lib/models/rossum/rossum-login-response.model.js +2 -2
  299. package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
  300. package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
  301. package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
  302. package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
  303. package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
  304. package/lib/models/rossum/rossum-pagination.model.js +2 -2
  305. package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
  306. package/lib/models/rossum/rossum-result-content.dto.js +2 -2
  307. package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
  308. package/lib/models/rossum/rossum-result-node.dto.js +2 -2
  309. package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
  310. package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
  311. package/package.json +37 -37
  312. package/readme.md +48 -48
  313. package/lib/contracts/start-hs-classification.dto.d.ts +0 -3
  314. package/lib/models/common/checkpoint.model.d.ts +0 -21
  315. package/lib/models/common/checkpoint.model.js +0 -8
  316. package/lib/models/common/country.model.d.ts +0 -4
  317. package/lib/models/common/event.model.d.ts +0 -21
  318. package/lib/models/common/event.model.js +0 -8
  319. package/lib/models/common/super.d.ts +0 -7
  320. package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +0 -12
  321. package/lib/models/digicust/notification.model.d.ts +0 -13
  322. package/lib/models/digicust/notification.model.js +0 -2
  323. package/lib/models/digicust/shipping-type.model.d.ts +0 -25
  324. package/lib/models/digicust/shipping-type.model.js +0 -21
@@ -0,0 +1,33 @@
1
+ import { CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight } from "../../common";
2
+ import { DigicustDocumentModel } from "./digicust-document.model";
3
+ import { LineItemModel } from "../line-item.model";
4
+ export interface PackingListModel extends DigicustDocumentModel {
5
+ shipper?: CompanyModel;
6
+ invoiceRecipient?: CompanyModel;
7
+ consignee?: CompanyModel;
8
+ language?: LanguageModel;
9
+ packingListNumber?: Meta<string>;
10
+ issueDate?: DateTimeModel;
11
+ invoiceNumber?: Meta<string>;
12
+ sellerOrderNumber?: Meta<string>;
13
+ buyerOrderNumber?: Meta<string>;
14
+ referenceNumber?: Meta<string>;
15
+ waybillNumber?: Meta<string>;
16
+ deliveryNote?: Meta<string>;
17
+ totalGrossWeight?: Weight;
18
+ totalNetWeight?: Weight;
19
+ typeOfPackage?: PackageType;
20
+ packageDimensions?: Dimensions;
21
+ amountOfPackages?: Meta<Number>;
22
+ totalExcludingCharges?: Money;
23
+ insuranceCosts?: Money;
24
+ packagingCosts?: Money;
25
+ discount?: Money;
26
+ licenseFee?: Money;
27
+ otherPayments?: Money;
28
+ shippingCosts?: Money;
29
+ totalValue?: Money;
30
+ customsValue?: Money;
31
+ currency?: Meta<Currency>;
32
+ items?: LineItemModel[];
33
+ }
@@ -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,15 +1,15 @@
1
- import { Meta } from "..";
2
- export interface WaybillTypeModel extends Meta<WaybillType> {
3
- NC_24000?: string;
4
- Dokumentenarten?: string;
5
- DE_I0200?: string;
6
- /** Bescheinigungsbereich */
7
- DE_I0200_Bereich?: string;
8
- }
9
- export declare enum WaybillType {
10
- airWaybill = "airWaybill",
11
- seaWaybill = "seaWaybill",
12
- railWaybill = "railWaybill",
13
- roadWaybill = "roadWaybill",
14
- inlandShippingWaybill = "inlandShippingWaybill"
15
- }
1
+ import { Meta } from "../..";
2
+ export interface WaybillTypeModel extends Meta<WaybillType> {
3
+ NC_24000?: string;
4
+ Dokumentenarten?: string;
5
+ DE_I0200?: string;
6
+ /** Bescheinigungsbereich */
7
+ DE_I0200_Bereich?: string;
8
+ }
9
+ export declare enum WaybillType {
10
+ airWaybill = "airWaybill",
11
+ seaWaybill = "seaWaybill",
12
+ railWaybill = "railWaybill",
13
+ roadWaybill = "roadWaybill",
14
+ inlandShippingWaybill = "inlandShippingWaybill"
15
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WaybillType = void 0;
4
- var WaybillType;
5
- (function (WaybillType) {
6
- WaybillType["airWaybill"] = "airWaybill";
7
- WaybillType["seaWaybill"] = "seaWaybill";
8
- WaybillType["railWaybill"] = "railWaybill";
9
- WaybillType["roadWaybill"] = "roadWaybill";
10
- WaybillType["inlandShippingWaybill"] = "inlandShippingWaybill";
11
- })(WaybillType = exports.WaybillType || (exports.WaybillType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WaybillType = void 0;
4
+ var WaybillType;
5
+ (function (WaybillType) {
6
+ WaybillType["airWaybill"] = "airWaybill";
7
+ WaybillType["seaWaybill"] = "seaWaybill";
8
+ WaybillType["railWaybill"] = "railWaybill";
9
+ WaybillType["roadWaybill"] = "roadWaybill";
10
+ WaybillType["inlandShippingWaybill"] = "inlandShippingWaybill";
11
+ })(WaybillType = exports.WaybillType || (exports.WaybillType = {}));
@@ -0,0 +1,33 @@
1
+ import { AddressModel, CompanyModel, Currency, DateTimeModel, Money, Weight } from "../../common";
2
+ import { DigicustDocumentModel } from "./";
3
+ import { Meta } from "../../common/meta";
4
+ import { IncotermModel } from "../incoterm.model";
5
+ import { Package } from "../package.model";
6
+ import { WaybillTypeModel } from "./waybill-type.model";
7
+ /**
8
+ * Identifies a waybill document
9
+ */
10
+ export interface WaybillModel extends DigicustDocumentModel {
11
+ shipper?: CompanyModel;
12
+ recipient?: CompanyModel;
13
+ consignee?: CompanyModel;
14
+ applicant?: CompanyModel;
15
+ waybillNumber?: Meta<string>;
16
+ issueDate?: DateTimeModel;
17
+ waybillType?: WaybillTypeModel;
18
+ referenceNumber?: Meta<string>;
19
+ weight?: Weight;
20
+ totalValue?: Money;
21
+ totalValueExcludingCharges?: Money;
22
+ customsValue?: Money;
23
+ shippingCost?: Money;
24
+ otherPayments?: Money;
25
+ shippingDate?: DateTimeModel;
26
+ incoterm?: IncotermModel;
27
+ placeIncoterm?: AddressModel;
28
+ invoiceNumber?: Meta<string>;
29
+ goodsDescription?: Meta<string>;
30
+ currency?: Meta<Currency>;
31
+ numPackagesShipped?: Meta<number>;
32
+ packages?: Package[];
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
- export interface ValidationError extends Error {
2
- type: "ValidationError";
3
- severity?: "error" | "warning" | "info";
4
- field?: string;
5
- expected?: any;
6
- actual?: any;
7
- reference?: string;
8
- }
1
+ export interface ValidationError extends Error {
2
+ type: "ValidationError";
3
+ severity?: "error" | "warning" | "info";
4
+ field?: string;
5
+ expected?: any;
6
+ actual?: any;
7
+ reference?: string;
8
+ }
@@ -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,59 +1,59 @@
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?: EventType;
8
- }
9
- export declare enum EventType {
10
- webhook = "webhook",
11
- mail = "email",
12
- sftp = "sftp",
13
- mountedSFTP = "mountedSFTP"
14
- }
15
- export interface WebhookEvent extends Event {
16
- type: EventType.webhook;
17
- url?: string;
18
- method?: "get" | "post" | "patch" | "delete" | "put";
19
- body?: any;
20
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
21
- bodyMapping?: string;
22
- contentType?: string;
23
- }
24
- export interface SFTPEvent extends Event {
25
- type: EventType.sftp;
26
- /** How to map the data */
27
- caseFileMapping: CaseFileMapping;
28
- "sftp-password": string;
29
- "sftp-login-name": string;
30
- "sftp-port": string;
31
- "sftp-dns-name": string;
32
- "sftp-path": string;
33
- }
34
- export interface EmailEvent extends Event {
35
- type: EventType.mail;
36
- emailAddress?: string;
37
- body?: any;
38
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
39
- bodyMapping?: string;
40
- attachDocuments?: {
41
- active?: boolean;
42
- };
43
- attachCase?: {
44
- active?: boolean;
45
- } & CaseFileMapping;
46
- }
47
- export interface CaseFileMapping {
48
- format?: "JSON" | "CSV" | "XML" | "TXT";
49
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
50
- fileNameMapping?: string;
51
- /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
52
- mapping?: string;
53
- /** Delimiter for CSV mapping */
54
- csvSeparator?: string;
55
- /** Include headers in CSV */
56
- includeHeaders?: boolean;
57
- /** Remove non-latin symbols */
58
- removeAccents?: boolean;
59
- }
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?: EventType;
8
+ }
9
+ export declare enum EventType {
10
+ webhook = "webhook",
11
+ mail = "email",
12
+ sftp = "sftp",
13
+ mountedSFTP = "mountedSFTP"
14
+ }
15
+ export interface WebhookEvent extends Event {
16
+ type: EventType.webhook;
17
+ url?: string;
18
+ method?: "get" | "post" | "patch" | "delete" | "put";
19
+ body?: any;
20
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
21
+ bodyMapping?: string;
22
+ contentType?: string;
23
+ }
24
+ export interface SFTPEvent extends Event {
25
+ type: EventType.sftp;
26
+ /** How to map the data */
27
+ caseFileMapping: CaseFileMapping;
28
+ "sftp-password": string;
29
+ "sftp-login-name": string;
30
+ "sftp-port": string;
31
+ "sftp-dns-name": string;
32
+ "sftp-path": string;
33
+ }
34
+ export interface EmailEvent extends Event {
35
+ type: EventType.mail;
36
+ emailAddress?: string;
37
+ body?: any;
38
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
39
+ bodyMapping?: string;
40
+ attachDocuments?: {
41
+ active?: boolean;
42
+ };
43
+ attachCase?: {
44
+ active?: boolean;
45
+ } & CaseFileMapping;
46
+ }
47
+ export interface CaseFileMapping {
48
+ format?: "JSON" | "CSV" | "XML" | "TXT";
49
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
50
+ fileNameMapping?: string;
51
+ /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
52
+ mapping?: string;
53
+ /** Delimiter for CSV mapping */
54
+ csvSeparator?: string;
55
+ /** Include headers in CSV */
56
+ includeHeaders?: boolean;
57
+ /** Remove non-latin symbols */
58
+ removeAccents?: boolean;
59
+ }
@@ -1,10 +1,10 @@
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["sftp"] = "sftp";
9
- EventType["mountedSFTP"] = "mountedSFTP";
10
- })(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["sftp"] = "sftp";
9
+ EventType["mountedSFTP"] = "mountedSFTP";
10
+ })(EventType = exports.EventType || (exports.EventType = {}));
@@ -1,96 +1,96 @@
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
- importViaSFTP?: {
16
- active?: boolean;
17
- "sftp-password"?: string;
18
- "sftp-login-name"?: string;
19
- "sftp-port"?: string;
20
- "sftp-dns-name"?: string;
21
- "sftp-inbound"?: string;
22
- "sftp-outbound"?: string;
23
- };
24
- whitelistedImportEmails?: string[];
25
- defaultClassification?: DigicustDocumentType;
26
- dataExtraction?: {
27
- active?: boolean;
28
- exportOnConfirmedStrategy?: boolean;
29
- queueMapping?: {
30
- documentType: DigicustDocumentType;
31
- queueId: string;
32
- }[];
33
- classification?: {
34
- /** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
35
- automateOnMinConfidence?: boolean;
36
- /** Value between 1 (very confident) to 0 (no confidence) */
37
- automateMinConfidence?: number;
38
- };
39
- /**
40
- * @deprecated
41
- */
42
- rossumExportOnConfirmed?: boolean;
43
- /** for rossum */
44
- overrideQueues?: {
45
- documentType: string;
46
- queue: number;
47
- }[];
48
- };
49
- dataNormalization?: {
50
- active?: boolean;
51
- /** Determines how to deal with additional costs like shipping costs, packing, ... */
52
- additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
53
- };
54
- dataValidation?: {
55
- active?: boolean;
56
- };
57
- hsClassification?: {
58
- active?: boolean;
59
- research?: boolean;
60
- };
61
- /** @deprecated */
62
- dakosySubmission?: {
63
- active?: boolean;
64
- };
65
- dataIntegration?: {
66
- active?: boolean;
67
- };
68
- isProcessWithDextor: boolean;
69
- submission?: {
70
- active?: boolean;
71
- vendor?: "dakosy";
72
- config?: {
73
- "sftp-password"?: string;
74
- "sftp-login-name"?: string;
75
- "sftp-port"?: string;
76
- "sftp-dns-name"?: string;
77
- "sftp-inbound"?: string;
78
- "sftp-outbound"?: string;
79
- "partner-id"?: string;
80
- };
81
- } | {
82
- active?: boolean;
83
- vendor?: "aeb";
84
- config?: {
85
- "client-name"?: string;
86
- "user-name"?: string;
87
- password?: string;
88
- endpoint?: string;
89
- "client-system-id"?: string;
90
- "client-ident-code"?: string;
91
- };
92
- };
93
- events: Event[];
94
- automated?: boolean;
95
- }
96
- export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
1
+ import { DigicustDocumentType } from "./";
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
+ importViaSFTP?: {
16
+ active?: boolean;
17
+ "sftp-password"?: string;
18
+ "sftp-login-name"?: string;
19
+ "sftp-port"?: string;
20
+ "sftp-dns-name"?: string;
21
+ "sftp-inbound"?: string;
22
+ "sftp-outbound"?: string;
23
+ };
24
+ whitelistedImportEmails?: string[];
25
+ defaultClassification?: DigicustDocumentType;
26
+ dataExtraction?: {
27
+ active?: boolean;
28
+ exportOnConfirmedStrategy?: boolean;
29
+ queueMapping?: {
30
+ documentType: DigicustDocumentType;
31
+ queueId: string;
32
+ }[];
33
+ classification?: {
34
+ /** Defines whether a classification shall be assumed correct if a specific confidence level is reached */
35
+ automateOnMinConfidence?: boolean;
36
+ /** Value between 1 (very confident) to 0 (no confidence) */
37
+ automateMinConfidence?: number;
38
+ };
39
+ /**
40
+ * @deprecated
41
+ */
42
+ rossumExportOnConfirmed?: boolean;
43
+ /** for rossum */
44
+ overrideQueues?: {
45
+ documentType: string;
46
+ queue: number;
47
+ }[];
48
+ };
49
+ dataNormalization?: {
50
+ active?: boolean;
51
+ /** Determines how to deal with additional costs like shipping costs, packing, ... */
52
+ additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
53
+ };
54
+ dataValidation?: {
55
+ active?: boolean;
56
+ };
57
+ hsClassification?: {
58
+ active?: boolean;
59
+ research?: boolean;
60
+ };
61
+ /** @deprecated */
62
+ dakosySubmission?: {
63
+ active?: boolean;
64
+ };
65
+ dataIntegration?: {
66
+ active?: boolean;
67
+ };
68
+ isProcessWithDextor: boolean;
69
+ submission?: {
70
+ active?: boolean;
71
+ vendor?: "dakosy";
72
+ config?: {
73
+ "sftp-password"?: string;
74
+ "sftp-login-name"?: string;
75
+ "sftp-port"?: string;
76
+ "sftp-dns-name"?: string;
77
+ "sftp-inbound"?: string;
78
+ "sftp-outbound"?: string;
79
+ "partner-id"?: string;
80
+ };
81
+ } | {
82
+ active?: boolean;
83
+ vendor?: "aeb";
84
+ config?: {
85
+ "client-name"?: string;
86
+ "user-name"?: string;
87
+ password?: string;
88
+ endpoint?: string;
89
+ "client-system-id"?: string;
90
+ "client-ident-code"?: string;
91
+ };
92
+ };
93
+ events: Event[];
94
+ automated?: boolean;
95
+ }
96
+ 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 });