digicust_types 1.7.40 → 1.7.44

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 (270) 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 +18 -18
  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 +22 -22
  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/extra-styles.model.d.ts +4 -4
  52. package/lib/models/common/extra-styles.model.js +2 -2
  53. package/lib/models/common/field-type.enum.d.ts +10 -10
  54. package/lib/models/common/field-type.enum.js +14 -14
  55. package/lib/models/common/filter.enum.d.ts +5 -5
  56. package/lib/models/common/filter.enum.js +9 -9
  57. package/lib/models/common/frontend-fields.model.d.ts +11 -11
  58. package/lib/models/common/frontend-fields.model.js +2 -2
  59. package/lib/models/common/fuzzy-input.d.ts +4 -4
  60. package/lib/models/common/fuzzy-input.js +2 -2
  61. package/lib/models/common/hs-classification-interaction.d.ts +30 -30
  62. package/lib/models/common/hs-classification-interaction.js +2 -2
  63. package/lib/models/common/hs-classification-response.d.ts +31 -31
  64. package/lib/models/common/hs-classification-response.js +2 -2
  65. package/lib/models/common/hs-code.model.d.ts +11 -11
  66. package/lib/models/common/hs-code.model.js +2 -2
  67. package/lib/models/common/index.d.ts +25 -25
  68. package/lib/models/common/index.js +41 -41
  69. package/lib/models/common/language.model.d.ts +4 -4
  70. package/lib/models/common/language.model.js +2 -2
  71. package/lib/models/common/meta.d.ts +42 -42
  72. package/lib/models/common/meta.js +9 -9
  73. package/lib/models/common/money.model.d.ts +11 -11
  74. package/lib/models/common/money.model.js +16 -16
  75. package/lib/models/common/multerfile.model.d.ts +12 -12
  76. package/lib/models/common/multerfile.model.js +2 -2
  77. package/lib/models/common/package-type.model.d.ts +10 -10
  78. package/lib/models/common/package-type.model.js +2 -2
  79. package/lib/models/common/periods.enum.d.ts +5 -5
  80. package/lib/models/common/periods.enum.js +9 -9
  81. package/lib/models/common/person.model.d.ts +12 -12
  82. package/lib/models/common/person.model.js +2 -2
  83. package/lib/models/common/prefix.enum.d.ts +5 -5
  84. package/lib/models/common/prefix.enum.js +10 -10
  85. package/lib/models/common/quantity.model.d.ts +15 -15
  86. package/lib/models/common/quantity.model.js +10 -10
  87. package/lib/models/common/section-type.enum.d.ts +12 -12
  88. package/lib/models/common/section-type.enum.js +16 -16
  89. package/lib/models/common/sort.enum.d.ts +4 -4
  90. package/lib/models/common/sort.enum.js +8 -8
  91. package/lib/models/common/subscription-price.model.d.ts +9 -9
  92. package/lib/models/common/subscription-price.model.js +2 -2
  93. package/lib/models/common/uom.enum.d.ts +39 -39
  94. package/lib/models/common/uom.enum.js +44 -44
  95. package/lib/models/common/weight-unit.enum.d.ts +9 -9
  96. package/lib/models/common/weight-unit.enum.js +13 -13
  97. package/lib/models/common/weight.model.d.ts +7 -7
  98. package/lib/models/common/weight.model.js +15 -15
  99. package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +12 -12
  100. package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
  101. package/lib/models/digicust/activity.model.d.ts +16 -16
  102. package/lib/models/digicust/activity.model.js +2 -2
  103. package/lib/models/digicust/adjustment.model.d.ts +7 -7
  104. package/lib/models/digicust/adjustment.model.js +2 -2
  105. package/lib/models/digicust/aggregated-case-data.model.d.ts +85 -85
  106. package/lib/models/digicust/aggregated-case-data.model.js +25 -25
  107. package/lib/models/digicust/case-status.enum.d.ts +22 -22
  108. package/lib/models/digicust/case-status.enum.js +26 -26
  109. package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
  110. package/lib/models/digicust/case-submission-transaction.js +19 -19
  111. package/lib/models/digicust/case-type.enum.d.ts +7 -7
  112. package/lib/models/digicust/case-type.enum.js +11 -11
  113. package/lib/models/digicust/case.model.d.ts +51 -51
  114. package/lib/models/digicust/case.model.js +26 -26
  115. package/lib/models/digicust/consignment-size.enum.d.ts +4 -4
  116. package/lib/models/digicust/consignment-size.enum.js +8 -8
  117. package/lib/models/digicust/container.model.d.ts +7 -7
  118. package/lib/models/digicust/container.model.js +2 -2
  119. package/lib/models/digicust/context.model.d.ts +9 -9
  120. package/lib/models/digicust/context.model.js +2 -2
  121. package/lib/models/digicust/cost-intersection.model.d.ts +20 -20
  122. package/lib/models/digicust/cost-intersection.model.js +16 -16
  123. package/lib/models/digicust/custom-document.model.d.ts +8 -8
  124. package/lib/models/digicust/custom-document.model.js +2 -2
  125. package/lib/models/digicust/customer.model.d.ts +55 -55
  126. package/lib/models/digicust/customer.model.js +2 -2
  127. package/lib/models/digicust/customsOffice.model.d.ts +13 -13
  128. package/lib/models/digicust/customsOffice.model.js +12 -12
  129. package/lib/models/digicust/declaration.model.d.ts +4 -4
  130. package/lib/models/digicust/declaration.model.js +2 -2
  131. package/lib/models/digicust/digicust-document-type.enum.d.ts +12 -12
  132. package/lib/models/digicust/digicust-document-type.enum.js +16 -16
  133. package/lib/models/digicust/digicust-document.model.d.ts +45 -44
  134. package/lib/models/digicust/digicust-document.model.js +39 -39
  135. package/lib/models/digicust/document-code.model.d.ts +10 -0
  136. package/lib/models/digicust/document-code.model.js +2 -0
  137. package/lib/models/digicust/document-status.enum.d.ts +38 -38
  138. package/lib/models/digicust/document-status.enum.js +45 -45
  139. package/lib/models/digicust/event.model.d.ts +42 -42
  140. package/lib/models/digicust/event.model.js +8 -8
  141. package/lib/models/digicust/execution-strategy.model.d.ts +70 -67
  142. package/lib/models/digicust/execution-strategy.model.js +15 -15
  143. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
  144. package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
  145. package/lib/models/digicust/extractions/extraction.model.d.ts +35 -36
  146. package/lib/models/digicust/extractions/extraction.model.js +2 -2
  147. package/lib/models/digicust/extractions/index.d.ts +2 -2
  148. package/lib/models/digicust/extractions/index.js +14 -14
  149. package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
  150. package/lib/models/digicust/frontend-big-section.model.js +2 -2
  151. package/lib/models/digicust/frontend-group.model.d.ts +6 -6
  152. package/lib/models/digicust/frontend-group.model.js +2 -2
  153. package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
  154. package/lib/models/digicust/frontend-mapping.model.js +2 -2
  155. package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
  156. package/lib/models/digicust/frontend-small-section.mode.js +2 -2
  157. package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
  158. package/lib/models/digicust/hs-code-mapping.js +2 -2
  159. package/lib/models/digicust/incoterm.enum.d.ts +17 -0
  160. package/lib/models/digicust/incoterm.enum.js +21 -0
  161. package/lib/models/digicust/incoterm.model.d.ts +25 -25
  162. package/lib/models/digicust/incoterm.model.js +21 -21
  163. package/lib/models/digicust/index.d.ts +47 -46
  164. package/lib/models/digicust/index.js +67 -66
  165. package/lib/models/digicust/invoice-type.model.d.ts +7 -5
  166. package/lib/models/digicust/invoice-type.model.js +2 -2
  167. package/lib/models/digicust/invoice.model.d.ts +75 -75
  168. package/lib/models/digicust/invoice.model.js +2 -2
  169. package/lib/models/digicust/line-item.model.d.ts +73 -73
  170. package/lib/models/digicust/line-item.model.js +132 -132
  171. package/lib/models/digicust/load-type.enum.d.ts +14 -14
  172. package/lib/models/digicust/load-type.enum.js +19 -19
  173. package/lib/models/digicust/masterdata/index.d.ts +4 -4
  174. package/lib/models/digicust/masterdata/index.js +16 -16
  175. package/lib/models/digicust/masterdata/material.model.d.ts +108 -108
  176. package/lib/models/digicust/masterdata/material.model.js +2 -2
  177. package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -12
  178. package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -16
  179. package/lib/models/digicust/masterdata/stakeholder.model.d.ts +23 -23
  180. package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
  181. package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
  182. package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
  183. package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
  184. package/lib/models/digicust/mean-of-transportation.model.js +21 -21
  185. package/lib/models/digicust/membership.model.d.ts +7 -7
  186. package/lib/models/digicust/membership.model.js +2 -2
  187. package/lib/models/digicust/module.model.d.ts +75 -75
  188. package/lib/models/digicust/module.model.js +26 -26
  189. package/lib/models/digicust/notification.model.d.ts +13 -0
  190. package/lib/models/digicust/notification.model.js +2 -0
  191. package/lib/models/digicust/notifications.model.d.ts +13 -13
  192. package/lib/models/digicust/notifications.model.js +2 -2
  193. package/lib/models/digicust/operationType.enum.d.ts +15 -15
  194. package/lib/models/digicust/operationType.enum.js +19 -19
  195. package/lib/models/digicust/package.model.d.ts +12 -12
  196. package/lib/models/digicust/package.model.js +2 -2
  197. package/lib/models/digicust/packingList.model.d.ts +33 -33
  198. package/lib/models/digicust/packingList.model.js +2 -2
  199. package/lib/models/digicust/preference-state.model.d.ts +20 -19
  200. package/lib/models/digicust/preference-state.model.js +2 -2
  201. package/lib/models/digicust/procedure.model.d.ts +6 -6
  202. package/lib/models/digicust/procedure.model.js +2 -2
  203. package/lib/models/digicust/project.model.d.ts +25 -25
  204. package/lib/models/digicust/project.model.js +2 -2
  205. package/lib/models/digicust/queue-fields.model.d.ts +14 -14
  206. package/lib/models/digicust/queue-fields.model.js +2 -2
  207. package/lib/models/digicust/queue.model.d.ts +17 -17
  208. package/lib/models/digicust/queue.model.js +2 -2
  209. package/lib/models/digicust/report.model.d.ts +5 -5
  210. package/lib/models/digicust/report.model.js +2 -2
  211. package/lib/models/digicust/special-measure.model.d.ts +4 -4
  212. package/lib/models/digicust/special-measure.model.js +2 -2
  213. package/lib/models/digicust/stats-case.model.d.ts +12 -12
  214. package/lib/models/digicust/stats-case.model.js +2 -2
  215. package/lib/models/digicust/subscription-info.model.d.ts +13 -13
  216. package/lib/models/digicust/subscription-info.model.js +2 -2
  217. package/lib/models/digicust/subscription.model.d.ts +12 -12
  218. package/lib/models/digicust/subscription.model.js +2 -2
  219. package/lib/models/digicust/tax-details.model.d.ts +10 -10
  220. package/lib/models/digicust/tax-details.model.js +2 -2
  221. package/lib/models/digicust/transit-item.model.d.ts +30 -30
  222. package/lib/models/digicust/transit-item.model.js +65 -65
  223. package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
  224. package/lib/models/digicust/type-of-business.enum.js +48 -48
  225. package/lib/models/digicust/type-of-business.model.d.ts +11 -11
  226. package/lib/models/digicust/type-of-business.model.js +2 -2
  227. package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
  228. package/lib/models/digicust/uploaded-file.model.js +2 -2
  229. package/lib/models/digicust/user.model.d.ts +18 -18
  230. package/lib/models/digicust/user.model.js +2 -2
  231. package/lib/models/digicust/waybill.model.d.ts +39 -39
  232. package/lib/models/digicust/waybill.model.js +11 -11
  233. package/lib/models/index.d.ts +4 -4
  234. package/lib/models/index.js +16 -16
  235. package/lib/models/ml/dexter/index.d.ts +1 -1
  236. package/lib/models/ml/dexter/index.js +13 -13
  237. package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
  238. package/lib/models/ml/dexter/text-detection.model.js +2 -2
  239. package/lib/models/ml/index.d.ts +2 -2
  240. package/lib/models/ml/index.js +14 -14
  241. package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
  242. package/lib/models/ml/machine-learning-model.model.js +2 -2
  243. package/lib/models/rossum/index.d.ts +12 -12
  244. package/lib/models/rossum/index.js +24 -24
  245. package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
  246. package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
  247. package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
  248. package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
  249. package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
  250. package/lib/models/rossum/rossum-document-data.model.js +2 -2
  251. package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
  252. package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
  253. package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
  254. package/lib/models/rossum/rossum-import-status.enum.js +18 -18
  255. package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
  256. package/lib/models/rossum/rossum-login-response.model.js +2 -2
  257. package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
  258. package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
  259. package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
  260. package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
  261. package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
  262. package/lib/models/rossum/rossum-pagination.model.js +2 -2
  263. package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
  264. package/lib/models/rossum/rossum-result-content.dto.js +2 -2
  265. package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
  266. package/lib/models/rossum/rossum-result-node.dto.js +2 -2
  267. package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
  268. package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
  269. package/package.json +35 -35
  270. package/readme.md +48 -48
@@ -1,10 +1,10 @@
1
- export interface ImportOcrDocumentIntoGraphDto {
2
- caseId: string;
3
- customerId: string;
4
- projectId: string;
5
- documentId: string;
6
- importStrategy: {
7
- localFile?: string;
8
- blobStorageUri?: string;
9
- };
10
- }
1
+ export interface ImportOcrDocumentIntoGraphDto {
2
+ caseId: string;
3
+ customerId: string;
4
+ projectId: string;
5
+ documentId: string;
6
+ importStrategy: {
7
+ localFile?: string;
8
+ blobStorageUri?: string;
9
+ };
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,14 +1,14 @@
1
- export * from "./start-data-extraction.dto";
2
- export * from "./start-data-normalization.dto";
3
- export * from "./start-document-classifier.dto";
4
- export * from "./start-document-splitting.dto";
5
- export * from "./start-ocr.dto";
6
- export * from "./start-post-processing.dto";
7
- export * from "./start-hs-classifier.dto";
8
- export * from "./start-hs-classification-research.dto";
9
- export * from "./trigger-event.dto";
10
- export * from "./import-ocr-document-into-graph.dto";
11
- export * from "./start-document-merger.dto";
12
- export * from "./start-data-validation.dto";
13
- export * from "./start-dakosy-submission.dto";
14
- export * from "./start-data-integration.dto";
1
+ export * from "./start-data-extraction.dto";
2
+ export * from "./start-data-normalization.dto";
3
+ export * from "./start-document-classifier.dto";
4
+ export * from "./start-document-splitting.dto";
5
+ export * from "./start-ocr.dto";
6
+ export * from "./start-post-processing.dto";
7
+ export * from "./start-hs-classifier.dto";
8
+ export * from "./start-hs-classification-research.dto";
9
+ export * from "./trigger-event.dto";
10
+ export * from "./import-ocr-document-into-graph.dto";
11
+ export * from "./start-document-merger.dto";
12
+ export * from "./start-data-validation.dto";
13
+ export * from "./start-dakosy-submission.dto";
14
+ export * from "./start-data-integration.dto";
@@ -1,26 +1,26 @@
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("./start-data-extraction.dto"), exports); // start data extraction
14
- __exportStar(require("./start-data-normalization.dto"), exports); // starts data normalization
15
- __exportStar(require("./start-document-classifier.dto"), exports); // starts document classification
16
- __exportStar(require("./start-document-splitting.dto"), exports); // starts document splitting
17
- __exportStar(require("./start-ocr.dto"), exports); // starts OCR
18
- __exportStar(require("./start-post-processing.dto"), exports); // starts post processing
19
- __exportStar(require("./start-hs-classifier.dto"), exports); // starts hs classification
20
- __exportStar(require("./start-hs-classification-research.dto"), exports); // starts hs classification research
21
- __exportStar(require("./trigger-event.dto"), exports); // triggers a webhook or email event
22
- __exportStar(require("./import-ocr-document-into-graph.dto"), exports); // trigger typeDB graph import
23
- __exportStar(require("./start-document-merger.dto"), exports); // starts document merger
24
- __exportStar(require("./start-data-validation.dto"), exports); // starts data validation
25
- __exportStar(require("./start-dakosy-submission.dto"), exports); // starts dakosy submission
26
- __exportStar(require("./start-data-integration.dto"), exports); // starts data integration
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("./start-data-extraction.dto"), exports); // start data extraction
14
+ __exportStar(require("./start-data-normalization.dto"), exports); // starts data normalization
15
+ __exportStar(require("./start-document-classifier.dto"), exports); // starts document classification
16
+ __exportStar(require("./start-document-splitting.dto"), exports); // starts document splitting
17
+ __exportStar(require("./start-ocr.dto"), exports); // starts OCR
18
+ __exportStar(require("./start-post-processing.dto"), exports); // starts post processing
19
+ __exportStar(require("./start-hs-classifier.dto"), exports); // starts hs classification
20
+ __exportStar(require("./start-hs-classification-research.dto"), exports); // starts hs classification research
21
+ __exportStar(require("./trigger-event.dto"), exports); // triggers a webhook or email event
22
+ __exportStar(require("./import-ocr-document-into-graph.dto"), exports); // trigger typeDB graph import
23
+ __exportStar(require("./start-document-merger.dto"), exports); // starts document merger
24
+ __exportStar(require("./start-data-validation.dto"), exports); // starts data validation
25
+ __exportStar(require("./start-dakosy-submission.dto"), exports); // starts dakosy submission
26
+ __exportStar(require("./start-data-integration.dto"), exports); // starts data integration
@@ -1,7 +1,7 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartDakosySubmission {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartDakosySubmission {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,16 +1,16 @@
1
- import { ExecutionStrategy } from "../models";
2
- import { DigicustDocumentType } from "../models/digicust/digicust-document-type.enum";
3
- export interface StartDataExtractionDto {
4
- caseId: string;
5
- customerId: string;
6
- projectId: string;
7
- fileName: string;
8
- filePath: string;
9
- classification: DigicustDocumentType;
10
- rossumOptions?: {
11
- queueId?: number;
12
- exportOnConfirmed?: boolean;
13
- };
14
- executionStrategy?: ExecutionStrategy;
15
- queueId?: string;
16
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ import { DigicustDocumentType } from "../models/digicust/digicust-document-type.enum";
3
+ export interface StartDataExtractionDto {
4
+ caseId: string;
5
+ customerId: string;
6
+ projectId: string;
7
+ fileName: string;
8
+ filePath: string;
9
+ classification: DigicustDocumentType;
10
+ rossumOptions?: {
11
+ queueId?: number;
12
+ exportOnConfirmed?: boolean;
13
+ };
14
+ executionStrategy?: ExecutionStrategy;
15
+ queueId?: string;
16
+ }
@@ -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,7 +1,7 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartDataIntegrationDto {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartDataIntegrationDto {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,7 +1,7 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartDataNormalization {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartDataNormalization {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,7 +1,7 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartDataValidation {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartDataValidation {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,7 +1,7 @@
1
- import { ExecutionStrategy, UploadedFileModel } from "../models";
2
- export interface StartDocumentClassifier extends UploadedFileModel {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy, UploadedFileModel } from "../models";
2
+ export interface StartDocumentClassifier extends UploadedFileModel {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,12 +1,12 @@
1
- import { ExecutionStrategy, UploadedFileModel } from "../models";
2
- import { DigicustDocumentType } from "../models/digicust/digicust-document-type.enum";
3
- export interface StartDocumentMerger extends UploadedFileModel {
4
- caseId: string;
5
- customerId: string;
6
- projectId: string;
7
- classifications: {
8
- fileName: string;
9
- classification: DigicustDocumentType;
10
- }[];
11
- executionStrategy?: ExecutionStrategy;
12
- }
1
+ import { ExecutionStrategy, UploadedFileModel } from "../models";
2
+ import { DigicustDocumentType } from "../models/digicust/digicust-document-type.enum";
3
+ export interface StartDocumentMerger extends UploadedFileModel {
4
+ caseId: string;
5
+ customerId: string;
6
+ projectId: string;
7
+ classifications: {
8
+ fileName: string;
9
+ classification: DigicustDocumentType;
10
+ }[];
11
+ executionStrategy?: ExecutionStrategy;
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,9 +1,9 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartDocumentSplitting {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- originalName: string;
7
- fileName: string;
8
- executionStrategy?: ExecutionStrategy;
9
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartDocumentSplitting {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ originalName: string;
7
+ fileName: string;
8
+ executionStrategy?: ExecutionStrategy;
9
+ }
@@ -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
- import { HsClassificationResponse } from "../models";
2
- export interface StartHsClassificationResearch extends HsClassificationResponse {
3
- reqCount?: number;
4
- previousClassificationResponses?: StartHsClassificationResearch[];
5
- }
1
+ import { HsClassificationResponse } from "../models";
2
+ export interface StartHsClassificationResearch extends HsClassificationResponse {
3
+ reqCount?: number;
4
+ previousClassificationResponses?: StartHsClassificationResearch[];
5
+ }
@@ -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,8 +1,8 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartHsClassifier {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- research: boolean;
8
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartHsClassifier {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ research: boolean;
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,9 +1,9 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartOCR {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- originalName: string;
7
- fileName: string;
8
- executionStrategy?: ExecutionStrategy;
9
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartOCR {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ originalName: string;
7
+ fileName: string;
8
+ executionStrategy?: ExecutionStrategy;
9
+ }
@@ -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,7 +1,7 @@
1
- import { ExecutionStrategy } from "../models";
2
- export interface StartPostProcessing {
3
- caseId: string;
4
- customerId: string;
5
- projectId: string;
6
- executionStrategy?: ExecutionStrategy;
7
- }
1
+ import { ExecutionStrategy } from "../models";
2
+ export interface StartPostProcessing {
3
+ caseId: string;
4
+ customerId: string;
5
+ projectId: string;
6
+ executionStrategy?: ExecutionStrategy;
7
+ }
@@ -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,7 +1,7 @@
1
- import { Event } from "../models";
2
- export interface TriggerEvent extends Event {
3
- caseId?: string;
4
- customerId?: string;
5
- projectId?: string;
6
- customBody?: string;
7
- }
1
+ import { Event } from "../models";
2
+ export interface TriggerEvent extends Event {
3
+ caseId?: string;
4
+ customerId?: string;
5
+ projectId?: string;
6
+ customBody?: string;
7
+ }
@@ -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,6 +1,6 @@
1
- /**
2
- * Recursively loops through object and deletes properties with no value (null, undefined, "")
3
- *
4
- * @param obj The object to clean
5
- */
6
- export declare const cleanObject: (obj: any) => void;
1
+ /**
2
+ * Recursively loops through object and deletes properties with no value (null, undefined, "")
3
+ *
4
+ * @param obj The object to clean
5
+ */
6
+ export declare const cleanObject: (obj: any) => void;
@@ -1,28 +1,28 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cleanObject = void 0;
4
- /**
5
- * Recursively loops through object and deletes properties with no value (null, undefined, "")
6
- *
7
- * @param obj The object to clean
8
- */
9
- var cleanObject = function (obj) {
10
- Object.keys(obj).forEach(function (key) {
11
- // Get this value and its type
12
- var value = obj[key];
13
- var type = typeof value;
14
- if (type === "object" && value !== null) {
15
- // Recurse...
16
- (0, exports.cleanObject)(value);
17
- // ...and remove if now "empty" (NOTE: insert your definition of "empty" here)
18
- if (!Object.keys(value).length) {
19
- delete obj[key];
20
- }
21
- }
22
- else if (type === "undefined" || type === null || value === "") {
23
- // Undefined, remove it
24
- delete obj[key];
25
- }
26
- });
27
- };
28
- exports.cleanObject = cleanObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cleanObject = void 0;
4
+ /**
5
+ * Recursively loops through object and deletes properties with no value (null, undefined, "")
6
+ *
7
+ * @param obj The object to clean
8
+ */
9
+ var cleanObject = function (obj) {
10
+ Object.keys(obj).forEach(function (key) {
11
+ // Get this value and its type
12
+ var value = obj[key];
13
+ var type = typeof value;
14
+ if (type === "object" && value !== null) {
15
+ // Recurse...
16
+ (0, exports.cleanObject)(value);
17
+ // ...and remove if now "empty" (NOTE: insert your definition of "empty" here)
18
+ if (!Object.keys(value).length) {
19
+ delete obj[key];
20
+ }
21
+ }
22
+ else if (type === "undefined" || type === null || value === "") {
23
+ // Undefined, remove it
24
+ delete obj[key];
25
+ }
26
+ });
27
+ };
28
+ exports.cleanObject = cleanObject;
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./models";
2
- export * from "./contracts";
1
+ export * from "./models";
2
+ export * from "./contracts";
package/lib/index.js CHANGED
@@ -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("./models"), exports);
14
- __exportStar(require("./contracts"), 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("./models"), exports);
14
+ __exportStar(require("./contracts"), exports);
@@ -1,21 +1,21 @@
1
- import { Meta } from "./meta";
2
- /**
3
- * Identifies a geographic address
4
- */
5
- export interface AddressModel extends Meta<any> {
6
- formattedAddress?: string;
7
- latitude?: number;
8
- longitude?: number;
9
- plusCode?: string;
10
- streetNumber?: string;
11
- streetName?: string;
12
- postalCode?: string;
13
- locality?: string;
14
- district?: string;
15
- province?: string;
16
- provinceCode?: string;
17
- country?: string;
18
- alpha2Code?: string;
19
- isEU?: boolean;
20
- }
21
- export declare const condenseAddress: (address: AddressModel) => AddressModel;
1
+ import { Meta } from "./meta";
2
+ /**
3
+ * Identifies a geographic address
4
+ */
5
+ export interface AddressModel extends Meta<any> {
6
+ formattedAddress?: string;
7
+ latitude?: number;
8
+ longitude?: number;
9
+ plusCode?: string;
10
+ streetNumber?: string;
11
+ streetName?: string;
12
+ postalCode?: string;
13
+ locality?: string;
14
+ district?: string;
15
+ province?: string;
16
+ provinceCode?: string;
17
+ country?: string;
18
+ alpha2Code?: string;
19
+ isEU?: boolean;
20
+ }
21
+ export declare const condenseAddress: (address: AddressModel) => AddressModel;
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseAddress = void 0;
4
- var condenseAddress = function (address) {
5
- var condensed = {
6
- formattedAddress: address.formattedAddress,
7
- confidence: address.confidence,
8
- reviewNeeded: address.reviewNeeded,
9
- };
10
- condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined values
11
- return condensed;
12
- };
13
- exports.condenseAddress = condenseAddress;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.condenseAddress = void 0;
4
+ var condenseAddress = function (address) {
5
+ var condensed = {
6
+ formattedAddress: address.formattedAddress,
7
+ confidence: address.confidence,
8
+ reviewNeeded: address.reviewNeeded,
9
+ };
10
+ condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined values
11
+ return condensed;
12
+ };
13
+ exports.condenseAddress = condenseAddress;