@colijnit/mainapi 261.1.8 → 261.1.9

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 (357) hide show
  1. package/build/enum/absence-type.enum.d.ts +10 -10
  2. package/build/enum/absence-type.enum.js +14 -14
  3. package/build/enum/activities-object-name.enum.d.ts +4 -4
  4. package/build/enum/activities-object-name.enum.js +8 -8
  5. package/build/enum/activities-operation-name.enum.d.ts +13 -13
  6. package/build/enum/activities-operation-name.enum.js +17 -17
  7. package/build/enum/activity-sort-type.enum.d.ts +5 -5
  8. package/build/enum/activity-sort-type.enum.js +9 -9
  9. package/build/enum/activity-type.d.ts +9 -9
  10. package/build/enum/activity-type.js +13 -13
  11. package/build/enum/article-method.enum.d.ts +51 -51
  12. package/build/enum/article-method.enum.js +55 -55
  13. package/build/enum/article-publication.enum.d.ts +5 -5
  14. package/build/enum/article-publication.enum.js +9 -9
  15. package/build/enum/article.enum.d.ts +3 -3
  16. package/build/enum/article.enum.js +7 -7
  17. package/build/enum/backend-service-name.enum.d.ts +9 -9
  18. package/build/enum/backend-service-name.enum.js +13 -13
  19. package/build/enum/co-document-image-display-kind.enum.d.ts +5 -5
  20. package/build/enum/co-document-image-display-kind.enum.js +9 -9
  21. package/build/enum/co-document-type.enum.d.ts +6 -6
  22. package/build/enum/co-document-type.enum.js +10 -10
  23. package/build/enum/co-sub-report.bo.d.ts +11 -11
  24. package/build/enum/co-sub-report.bo.js +21 -21
  25. package/build/enum/config-object-name.enum.d.ts +3 -3
  26. package/build/enum/config-object-name.enum.js +7 -7
  27. package/build/enum/data-mapping.enum.d.ts +6 -6
  28. package/build/enum/data-mapping.enum.js +10 -10
  29. package/build/enum/data-service-method.enum.d.ts +17 -17
  30. package/build/enum/data-service-method.enum.js +21 -21
  31. package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
  32. package/build/enum/db-boolean-value-type.enum.js +32 -32
  33. package/build/enum/delivery-time-unit-type.enum.d.ts +4 -4
  34. package/build/enum/delivery-time-unit-type.enum.js +8 -8
  35. package/build/enum/document-allowed-type.enum.d.ts +10 -10
  36. package/build/enum/document-allowed-type.enum.js +14 -14
  37. package/build/enum/document-method.enum.d.ts +6 -6
  38. package/build/enum/document-method.enum.js +10 -10
  39. package/build/enum/domain-name.enum.d.ts +67 -67
  40. package/build/enum/domain-name.enum.js +71 -71
  41. package/build/enum/event-notification-operation-name.enum.d.ts +4 -4
  42. package/build/enum/event-notification-operation-name.enum.js +8 -8
  43. package/build/enum/file-type-internal.enum.d.ts +11 -11
  44. package/build/enum/file-type-internal.enum.js +15 -15
  45. package/build/enum/file-type.enum.d.ts +8 -8
  46. package/build/enum/file-type.enum.js +12 -12
  47. package/build/enum/file-upload-common-service-file-type.enum.d.ts +7 -7
  48. package/build/enum/file-upload-common-service-file-type.enum.js +11 -11
  49. package/build/enum/file-upload-common-service-method.enum.d.ts +7 -7
  50. package/build/enum/file-upload-common-service-method.enum.js +11 -11
  51. package/build/enum/file-upload-common-service-upload-status.enum.d.ts +6 -6
  52. package/build/enum/file-upload-common-service-upload-status.enum.js +10 -10
  53. package/build/enum/form-question.type.d.ts +11 -11
  54. package/build/enum/form-question.type.js +15 -15
  55. package/build/enum/forms-method-name.enum.d.ts +3 -3
  56. package/build/enum/forms-method-name.enum.js +7 -7
  57. package/build/enum/forms-object-name.enum.d.ts +6 -6
  58. package/build/enum/forms-object-name.enum.js +10 -10
  59. package/build/enum/general-method.enum.d.ts +37 -37
  60. package/build/enum/general-method.enum.js +41 -41
  61. package/build/enum/good-type.d.ts +21 -21
  62. package/build/enum/good-type.js +25 -25
  63. package/build/enum/insured-interest-type.enum.d.ts +10 -10
  64. package/build/enum/insured-interest-type.enum.js +14 -14
  65. package/build/enum/internal-default.enum.d.ts +13 -13
  66. package/build/enum/internal-default.enum.js +17 -17
  67. package/build/enum/internal-param.enum.d.ts +31 -31
  68. package/build/enum/internal-param.enum.js +35 -35
  69. package/build/enum/ione-module-name.enum.d.ts +39 -39
  70. package/build/enum/ione-module-name.enum.js +55 -55
  71. package/build/enum/layout-code.enum.d.ts +12 -12
  72. package/build/enum/layout-code.enum.js +16 -16
  73. package/build/enum/master-data-object-name.enum.d.ts +27 -27
  74. package/build/enum/master-data-object-name.enum.js +31 -31
  75. package/build/enum/message-type.enum.d.ts +6 -6
  76. package/build/enum/message-type.enum.js +10 -10
  77. package/build/enum/model-creation-method.enum.d.ts +4 -4
  78. package/build/enum/model-creation-method.enum.js +8 -8
  79. package/build/enum/module-name.enum.d.ts +17 -17
  80. package/build/enum/module-name.enum.js +21 -21
  81. package/build/enum/module-navigation-link.d.ts +5 -5
  82. package/build/enum/module-navigation-link.js +2 -2
  83. package/build/enum/note-display-type.enum.d.ts +5 -5
  84. package/build/enum/note-display-type.enum.js +9 -9
  85. package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
  86. package/build/enum/one-zero-bool-db-type.enum.js +20 -20
  87. package/build/enum/own-risk.enum.d.ts +7 -7
  88. package/build/enum/own-risk.enum.js +11 -11
  89. package/build/enum/period.enum.d.ts +7 -7
  90. package/build/enum/period.enum.js +11 -11
  91. package/build/enum/personal-activity-tab.enum.d.ts +4 -4
  92. package/build/enum/personal-activity-tab.enum.js +8 -8
  93. package/build/enum/preset-object-name.enum.d.ts +3 -3
  94. package/build/enum/preset-object-name.enum.js +7 -7
  95. package/build/enum/price-type.enum.d.ts +4 -4
  96. package/build/enum/price-type.enum.js +8 -8
  97. package/build/enum/printing-service-method.d.ts +8 -8
  98. package/build/enum/printing-service-method.js +12 -12
  99. package/build/enum/priority-type.enum.d.ts +7 -7
  100. package/build/enum/priority-type.enum.js +11 -11
  101. package/build/enum/product-kind.enum.d.ts +6 -6
  102. package/build/enum/product-kind.enum.js +10 -10
  103. package/build/enum/public-service-method.d.ts +23 -23
  104. package/build/enum/public-service-method.js +27 -27
  105. package/build/enum/relation-kind.d.ts +10 -10
  106. package/build/enum/relation-kind.js +14 -14
  107. package/build/enum/relman-complete-name.d.ts +5 -5
  108. package/build/enum/relman-complete-name.js +2 -2
  109. package/build/enum/report-action.enum.d.ts +8 -8
  110. package/build/enum/report-action.enum.js +12 -12
  111. package/build/enum/report-method.enum.d.ts +16 -16
  112. package/build/enum/report-method.enum.js +20 -20
  113. package/build/enum/report-object-name.enum.d.ts +3 -3
  114. package/build/enum/report-object-name.enum.js +7 -7
  115. package/build/enum/report-param-type.enum.d.ts +15 -15
  116. package/build/enum/report-param-type.enum.js +19 -19
  117. package/build/enum/report-type.enum.d.ts +47 -47
  118. package/build/enum/report-type.enum.js +51 -51
  119. package/build/enum/reporting-documents-method.enum.d.ts +5 -5
  120. package/build/enum/reporting-documents-method.enum.js +9 -9
  121. package/build/enum/send-method-type.enum.d.ts +11 -11
  122. package/build/enum/send-method-type.enum.js +15 -15
  123. package/build/enum/sequence-name.enum.d.ts +31 -31
  124. package/build/enum/sequence-name.enum.js +35 -35
  125. package/build/enum/simple-base-data-object-name.enum.d.ts +6 -6
  126. package/build/enum/simple-base-data-object-name.enum.js +10 -10
  127. package/build/enum/simple-base-data-operation-name.enum.d.ts +6 -5
  128. package/build/enum/simple-base-data-operation-name.enum.js +10 -9
  129. package/build/enum/tab-category.enum.d.ts +19 -19
  130. package/build/enum/tab-category.enum.js +23 -23
  131. package/build/enum/table-name.enum.d.ts +84 -84
  132. package/build/enum/table-name.enum.js +88 -88
  133. package/build/enum/tag-method.enum.d.ts +4 -4
  134. package/build/enum/tag-method.enum.js +8 -8
  135. package/build/enum/tag-object.enum.d.ts +3 -3
  136. package/build/enum/tag-object.enum.js +7 -7
  137. package/build/enum/tag-operation-name.enum.d.ts +3 -3
  138. package/build/enum/tag-operation-name.enum.js +7 -7
  139. package/build/enum/text-standard-type-text.d.ts +7 -7
  140. package/build/enum/text-standard-type-text.js +11 -11
  141. package/build/enum/text-standard-type.d.ts +7 -7
  142. package/build/enum/text-standard-type.js +11 -11
  143. package/build/enum/transaction-kind.d.ts +13 -13
  144. package/build/enum/transaction-kind.js +17 -17
  145. package/build/enum/transport-costs-distribution.enum.d.ts +4 -4
  146. package/build/enum/transport-costs-distribution.enum.js +8 -8
  147. package/build/enum/true-false-db-type.enum.d.ts +5 -5
  148. package/build/enum/true-false-db-type.enum.js +20 -20
  149. package/build/enum/vat-type.enum.d.ts +4 -4
  150. package/build/enum/vat-type.enum.js +8 -8
  151. package/build/enum/workflow-category.enum.d.ts +19 -19
  152. package/build/enum/workflow-category.enum.js +23 -23
  153. package/build/enum/workflow-trigger-type.enum.d.ts +8 -8
  154. package/build/enum/workflow-trigger-type.enum.js +12 -12
  155. package/build/enum/yes-no-db-type.enum.d.ts +5 -5
  156. package/build/enum/yes-no-db-type.enum.js +20 -20
  157. package/build/main-api-connection.d.ts +113 -112
  158. package/build/main-api-connection.js +12 -12
  159. package/build/main-api.d.ts +131 -130
  160. package/build/main-api.js +375 -370
  161. package/build/main-api.unit.test.d.ts +1 -1
  162. package/build/main-api.unit.test.js +208 -208
  163. package/build/main-auth.d.ts +113 -112
  164. package/build/main-auth.js +1115 -1105
  165. package/build/main-public.d.ts +113 -112
  166. package/build/main-public.js +539 -533
  167. package/build/model/activity-email-history.bo.d.ts +10 -10
  168. package/build/model/activity-email-history.bo.js +21 -21
  169. package/build/model/activity-email-request-data.d.ts +8 -8
  170. package/build/model/activity-email-request-data.js +6 -6
  171. package/build/model/activity-list-view-model.d.ts +11 -11
  172. package/build/model/activity-list-view-model.js +20 -20
  173. package/build/model/activity-view-model.d.ts +13 -13
  174. package/build/model/activity-view-model.js +27 -27
  175. package/build/model/activity-workflow.d.ts +24 -24
  176. package/build/model/activity-workflow.js +66 -66
  177. package/build/model/activity.bo.d.ts +58 -58
  178. package/build/model/activity.bo.js +484 -484
  179. package/build/model/article-seo-value.d.ts +5 -5
  180. package/build/model/article-seo-value.js +6 -6
  181. package/build/model/branch.bo.d.ts +8 -8
  182. package/build/model/branch.bo.js +7 -7
  183. package/build/model/brand.d.ts +8 -8
  184. package/build/model/brand.js +10 -10
  185. package/build/model/category.bo.d.ts +12 -12
  186. package/build/model/category.bo.js +16 -16
  187. package/build/model/co-document-right.d.ts +7 -7
  188. package/build/model/co-document-right.js +7 -7
  189. package/build/model/co-document.bo.d.ts +67 -67
  190. package/build/model/co-document.bo.js +235 -235
  191. package/build/model/co-domain-value.bo.d.ts +10 -10
  192. package/build/model/co-domain-value.bo.js +20 -20
  193. package/build/model/co-email-attachment.bo.d.ts +6 -6
  194. package/build/model/co-email-attachment.bo.js +7 -7
  195. package/build/model/co-notition-right.bo.d.ts +10 -10
  196. package/build/model/co-notition-right.bo.js +13 -13
  197. package/build/model/co-notition.bo.d.ts +24 -24
  198. package/build/model/co-notition.bo.js +79 -79
  199. package/build/model/co-report-category-link.bo.d.ts +8 -8
  200. package/build/model/co-report-category-link.bo.js +7 -7
  201. package/build/model/co-report-sjablonen-documenten.bo.d.ts +6 -6
  202. package/build/model/co-report-sjablonen-documenten.bo.js +7 -7
  203. package/build/model/co-report.bo.d.ts +47 -47
  204. package/build/model/co-report.bo.js +68 -68
  205. package/build/model/co-rv-domain-value.bo.d.ts +10 -10
  206. package/build/model/co-rv-domain-value.bo.js +20 -20
  207. package/build/model/co-text.d.ts +26 -26
  208. package/build/model/co-text.js +28 -28
  209. package/build/model/color.bo.d.ts +7 -7
  210. package/build/model/color.bo.js +10 -10
  211. package/build/model/constant/java-constants.d.ts +2 -2
  212. package/build/model/constant/java-constants.js +5 -5
  213. package/build/model/constant/ref-code-class-to-domain-name-map.d.ts +2 -2
  214. package/build/model/constant/ref-code-class-to-domain-name-map.js +12 -12
  215. package/build/model/contact-moment.bo.d.ts +17 -17
  216. package/build/model/contact-moment.bo.js +39 -39
  217. package/build/model/container-article-info.d.ts +8 -8
  218. package/build/model/container-article-info.js +10 -10
  219. package/build/model/container-info.bo.d.ts +14 -14
  220. package/build/model/container-info.bo.js +14 -14
  221. package/build/model/container-type.bo.d.ts +11 -11
  222. package/build/model/container-type.bo.js +13 -13
  223. package/build/model/container.bo.d.ts +19 -19
  224. package/build/model/container.bo.js +39 -39
  225. package/build/model/currency.bo.d.ts +13 -13
  226. package/build/model/currency.bo.js +33 -33
  227. package/build/model/department.bo.d.ts +12 -12
  228. package/build/model/department.bo.js +69 -69
  229. package/build/model/document-allowed-extension.bo.d.ts +6 -6
  230. package/build/model/document-allowed-extension.bo.js +7 -7
  231. package/build/model/email-activity-request.d.ts +6 -6
  232. package/build/model/email-activity-request.js +7 -7
  233. package/build/model/email-job.d.ts +10 -10
  234. package/build/model/email-job.js +7 -7
  235. package/build/model/form-question-answer.bo.d.ts +10 -10
  236. package/build/model/form-question-answer.bo.js +13 -13
  237. package/build/model/form-question-response.bo.d.ts +10 -10
  238. package/build/model/form-question-response.bo.js +31 -31
  239. package/build/model/form-question.bo.d.ts +20 -20
  240. package/build/model/form-question.bo.js +39 -39
  241. package/build/model/form-response.bo.d.ts +16 -16
  242. package/build/model/form-response.bo.js +33 -33
  243. package/build/model/form.bo.d.ts +20 -20
  244. package/build/model/form.bo.js +38 -38
  245. package/build/model/get-postal-code-retrieval-output-params.d.ts +7 -7
  246. package/build/model/get-postal-code-retrieval-output-params.js +6 -6
  247. package/build/model/grouped-form-question.bo.d.ts +12 -12
  248. package/build/model/grouped-form-question.bo.js +28 -28
  249. package/build/model/image-content.bo.d.ts +5 -5
  250. package/build/model/image-content.bo.js +6 -6
  251. package/build/model/insured-interest.bo.d.ts +13 -13
  252. package/build/model/insured-interest.bo.js +39 -39
  253. package/build/model/language.bo.d.ts +5 -5
  254. package/build/model/language.bo.js +7 -7
  255. package/build/model/order-line-set-category.bo.d.ts +8 -8
  256. package/build/model/order-line-set-category.bo.js +7 -7
  257. package/build/model/own-risk.bo.d.ts +11 -11
  258. package/build/model/own-risk.bo.js +39 -39
  259. package/build/model/payment-condition-ledger-account.bo.d.ts +6 -6
  260. package/build/model/payment-condition-ledger-account.bo.js +7 -7
  261. package/build/model/payment-condition.bo.d.ts +11 -11
  262. package/build/model/payment-condition.bo.js +34 -34
  263. package/build/model/preset.bo.d.ts +12 -12
  264. package/build/model/preset.bo.js +16 -16
  265. package/build/model/print-purchase-order-for-transaction-order-without-lines-request.d.ts +10 -10
  266. package/build/model/print-purchase-order-for-transaction-order-without-lines-request.js +12 -12
  267. package/build/model/print-purchase-order-for-transaction-request.d.ts +4 -4
  268. package/build/model/print-purchase-order-for-transaction-request.js +7 -7
  269. package/build/model/printer.bo.d.ts +8 -8
  270. package/build/model/printer.bo.js +13 -13
  271. package/build/model/printing-service-request-data.d.ts +16 -16
  272. package/build/model/printing-service-request-data.js +2 -2
  273. package/build/model/privacy-setting.bo.d.ts +9 -9
  274. package/build/model/privacy-setting.bo.js +13 -13
  275. package/build/model/process-print-request.d.ts +5 -5
  276. package/build/model/process-print-request.js +2 -2
  277. package/build/model/relation-small-object.bo.d.ts +28 -28
  278. package/build/model/relation-small-object.bo.js +63 -63
  279. package/build/model/remark.bo.d.ts +19 -19
  280. package/build/model/remark.bo.js +57 -57
  281. package/build/model/report-category.bo.d.ts +6 -6
  282. package/build/model/report-category.bo.js +7 -7
  283. package/build/model/report-job.d.ts +5 -5
  284. package/build/model/report-job.js +9 -9
  285. package/build/model/report-layout-selection-base.bo.d.ts +9 -9
  286. package/build/model/report-layout-selection-base.bo.js +7 -7
  287. package/build/model/report-layout-selection-email.bo.d.ts +4 -4
  288. package/build/model/report-layout-selection-email.bo.js +7 -7
  289. package/build/model/report-layout-selection-print.bo.d.ts +5 -5
  290. package/build/model/report-layout-selection-print.bo.js +7 -7
  291. package/build/model/report-param.d.ts +16 -16
  292. package/build/model/report-param.js +9 -9
  293. package/build/model/report.bo.d.ts +11 -11
  294. package/build/model/report.bo.js +34 -34
  295. package/build/model/reporting-document-base-request.d.ts +4 -4
  296. package/build/model/reporting-document-base-request.js +6 -6
  297. package/build/model/reporting-document-email-base-request.d.ts +5 -5
  298. package/build/model/reporting-document-email-base-request.js +7 -7
  299. package/build/model/reporting-document-email-sign-doc-base-request.d.ts +5 -5
  300. package/build/model/reporting-document-email-sign-doc-base-request.js +11 -11
  301. package/build/model/reporting-document-pdf-base-request.d.ts +3 -3
  302. package/build/model/reporting-document-pdf-base-request.js +7 -7
  303. package/build/model/reporting-document-print-base-request.d.ts +7 -7
  304. package/build/model/reporting-document-print-base-request.js +7 -7
  305. package/build/model/reporting-document-print-sign-doc-base-request.d.ts +4 -4
  306. package/build/model/reporting-document-print-sign-doc-base-request.js +7 -7
  307. package/build/model/reporting-pdf-base-response.d.ts +4 -4
  308. package/build/model/reporting-pdf-base-response.js +6 -6
  309. package/build/model/role-email-address.d.ts +10 -10
  310. package/build/model/role-email-address.js +28 -28
  311. package/build/model/role-emailaddress.bo.d.ts +10 -10
  312. package/build/model/role-emailaddress.bo.js +28 -28
  313. package/build/model/select-report-templates-request.d.ts +17 -17
  314. package/build/model/select-report-templates-request.js +6 -6
  315. package/build/model/send-method.bo.d.ts +5 -5
  316. package/build/model/send-method.bo.js +7 -7
  317. package/build/model/store-group.bo.d.ts +9 -9
  318. package/build/model/store-group.bo.js +7 -7
  319. package/build/model/tag-stock-item.bo.d.ts +24 -24
  320. package/build/model/tag-stock-item.bo.js +21 -21
  321. package/build/model/tag-tree-item.bo.d.ts +18 -18
  322. package/build/model/tag-tree-item.bo.js +52 -52
  323. package/build/model/tag.d.ts +11 -11
  324. package/build/model/tag.js +41 -41
  325. package/build/model/task-category.bo.d.ts +13 -13
  326. package/build/model/task-category.bo.js +28 -28
  327. package/build/model/task.bo.d.ts +85 -85
  328. package/build/model/task.bo.js +262 -262
  329. package/build/model/title.bo.d.ts +9 -9
  330. package/build/model/title.bo.js +13 -13
  331. package/build/model/transition.bo.d.ts +17 -17
  332. package/build/model/transition.bo.js +21 -21
  333. package/build/model/tree-object.d.ts +8 -8
  334. package/build/model/tree-object.js +29 -29
  335. package/build/model/user-group.bo.d.ts +13 -13
  336. package/build/model/user-group.bo.js +16 -16
  337. package/build/model/warehouse-short.bo.d.ts +7 -0
  338. package/build/model/warehouse-short.bo.js +13 -0
  339. package/build/model/work.bo.d.ts +21 -21
  340. package/build/model/work.bo.js +58 -58
  341. package/build/model/workflow-generic-transition.bo.d.ts +22 -22
  342. package/build/model/workflow-generic-transition.bo.js +28 -28
  343. package/build/model/workflow-process-info-per-status.d.ts +5 -5
  344. package/build/model/workflow-process-info-per-status.js +6 -6
  345. package/build/model/workflow-process.d.ts +13 -13
  346. package/build/model/workflow-process.js +7 -7
  347. package/build/model/workflow-trigger.bo.d.ts +45 -45
  348. package/build/model/workflow-trigger.bo.js +52 -52
  349. package/build/model/workflow.bo.d.ts +37 -37
  350. package/build/model/workflow.bo.js +159 -159
  351. package/build/utils/css-utils.d.ts +18 -18
  352. package/build/utils/css-utils.js +148 -148
  353. package/build/utils/file-utils.d.ts +34 -34
  354. package/build/utils/file-utils.js +411 -401
  355. package/build/utils/time-utils.d.ts +6 -6
  356. package/build/utils/time-utils.js +44 -44
  357. package/package.json +4 -4
package/build/main-api.js CHANGED
@@ -1,370 +1,375 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MainApi = void 0;
13
- const rxjs_1 = require("rxjs");
14
- const ioneconnector_1 = require("@colijnit/ioneconnector");
15
- const main_auth_1 = require("./main-auth");
16
- const main_public_1 = require("./main-public");
17
- const domain_name_enum_1 = require("./enum/domain-name.enum");
18
- class MainApi {
19
- constructor(options) {
20
- this.showLoader = new rxjs_1.Subject();
21
- this.connectionAborted = new rxjs_1.Subject();
22
- this.connectionResetInactivity = new rxjs_1.Subject();
23
- this.useLoginEncryption = false;
24
- this._subs = [];
25
- if (options) {
26
- this.url = options.url ? options.url : "";
27
- this.version = options.version ? options.version : "";
28
- this.schema = options.schema ? options.schema : "";
29
- this.branch = options.branch ? options.branch : "";
30
- this.languageCode = options.languageCode;
31
- this.currencyId = options.hasOwnProperty("currencyId") ? options.currencyId : undefined;
32
- this.useLoginEncryption = options.hasOwnProperty("useLoginEncryption") ? options.useLoginEncryption === true : false;
33
- }
34
- this._connector = new ioneconnector_1.Connector(options);
35
- this.mainApi = MainApi.createConnector(this._connector.isPublicSession(), this._connector.hasSession());
36
- this.mainApi.connector = this._connector;
37
- this.mainApi.languageCode = this.languageCode;
38
- this.mainApi.branchNr = this.branch;
39
- this._subs.push(this._connector.showLoader.subscribe(value => this.showLoader.next(value)), this._connector.connectionAborted.subscribe(() => this.connectionAborted.next()), this._connector.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
40
- }
41
- connect(url, schema, version) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- return this._connector.connect(url, schema, version);
44
- });
45
- }
46
- logOut() {
47
- return __awaiter(this, void 0, void 0, function* () {
48
- return this._connector.logOut();
49
- });
50
- }
51
- getSessionId() {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- return this._connector.getSessionId();
54
- });
55
- }
56
- getDataSessionId() {
57
- return __awaiter(this, void 0, void 0, function* () {
58
- return this._connector.getDataSessionId();
59
- });
60
- }
61
- selectMultiple(module, objectClass, operation, params, showLoader) {
62
- return __awaiter(this, void 0, void 0, function* () {
63
- return this.mainApi.selectMultiple(module, objectClass, operation, params, showLoader);
64
- });
65
- }
66
- getSequenceValue(sequenceName, noSequence = false) {
67
- return __awaiter(this, void 0, void 0, function* () {
68
- return this.mainApi.getSequenceValue(sequenceName, noSequence);
69
- });
70
- }
71
- getDefaultTemplate(documentCode) {
72
- return __awaiter(this, void 0, void 0, function* () {
73
- return this.mainApi.getTemplates(documentCode, true);
74
- });
75
- }
76
- listAllPrinters() {
77
- return this.mainApi.listAllPrinters();
78
- }
79
- listPrinters(showAll = false) {
80
- return this.mainApi.listPrinters(showAll);
81
- }
82
- getStandardPrinter(reportId, type, showLoader) {
83
- return this.mainApi.getStandardPrinter(reportId, type);
84
- }
85
- ;
86
- getSendMethods() {
87
- return this.mainApi.getSendMethods();
88
- }
89
- getDocumentContent(id, thumbnail = true) {
90
- return this.mainApi.getDocumentContent(id, thumbnail);
91
- }
92
- loadDocuments(key, table) {
93
- return __awaiter(this, void 0, void 0, function* () {
94
- return this.mainApi.loadDocuments(key, table);
95
- });
96
- }
97
- loadDocumentContent(docId) {
98
- return this.mainApi.loadDocumentContent(docId);
99
- }
100
- deleteDocument(documentId) {
101
- return this.mainApi.deleteDocument(documentId);
102
- }
103
- upsertDocument(key, table, document) {
104
- return this.mainApi.upsertDocument(key, table, document);
105
- }
106
- getCurrencies(active = true) {
107
- return this.mainApi.getCurrencies(active);
108
- }
109
- getPaymentConditions(name) {
110
- return this.mainApi.getPaymentConditions(name);
111
- }
112
- getJoinedTags(table, key) {
113
- return this.mainApi.getJoinedTags(table, key);
114
- }
115
- mergeJoinedTags(table, key, tags) {
116
- return this.mainApi.mergeJoinedTags(table, key, tags);
117
- }
118
- getTagsFullTree(category, includeTags) {
119
- return this.mainApi.getTagsFullTree(category, includeTags);
120
- }
121
- getPublicParams(upId) {
122
- return this.mainApi.getPublicParams(upId);
123
- }
124
- getInternalParameterValue(param) {
125
- return this.mainApi.getInternalParameterValue(param);
126
- }
127
- uploadModelToCDN(filename, fileContents) {
128
- return this.mainApi.uploadModelToCDN(filename, fileContents);
129
- }
130
- getPackageStickerPrintLayouts() {
131
- return this.mainApi.getPackageStickerPrintLayouts();
132
- }
133
- getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
134
- return this.mainApi.getObjectConfigurations(screenCfgModule, params, insertMode);
135
- }
136
- getStoreGroups() {
137
- return this.mainApi.getStoreGroups();
138
- }
139
- getInOutCollection(languageCode) {
140
- return this.mainApi.getDomainCollection(languageCode, domain_name_enum_1.DomainName.InOutCollection);
141
- }
142
- getDomainCollection(languageCode, domainName) {
143
- return this.mainApi.getDomainCollection(languageCode, domainName);
144
- }
145
- getRVDomainCollection(languageCode, domainName) {
146
- return this.mainApi.getRVDomainCollection(languageCode, domainName);
147
- }
148
- getCategories() {
149
- return this.mainApi.getCategories();
150
- }
151
- getColors() {
152
- return this.mainApi.getColors();
153
- }
154
- getPriceLists(code) {
155
- return __awaiter(this, void 0, void 0, function* () {
156
- return this.mainApi.getPriceLists(code);
157
- });
158
- }
159
- getUserGroups() {
160
- return __awaiter(this, void 0, void 0, function* () {
161
- return this.mainApi.getUserGroups();
162
- });
163
- }
164
- getPresets(module, user) {
165
- return __awaiter(this, void 0, void 0, function* () {
166
- return this.mainApi.getPresets(module, user);
167
- });
168
- }
169
- getPreset(presetId) {
170
- return __awaiter(this, void 0, void 0, function* () {
171
- return this.mainApi.getPreset(presetId);
172
- });
173
- }
174
- savePreset(preset) {
175
- return __awaiter(this, void 0, void 0, function* () {
176
- return this.mainApi.savePreset(preset);
177
- });
178
- }
179
- updatePreset(presetName) {
180
- return __awaiter(this, void 0, void 0, function* () {
181
- return this.mainApi.updatePreset(presetName);
182
- });
183
- }
184
- getOrderLineSetCategories() {
185
- return __awaiter(this, void 0, void 0, function* () {
186
- return this.mainApi.getOrderLineSetCategories();
187
- });
188
- }
189
- getPostalCodeRetrieval(postalCode, houseNumber, showLoader) {
190
- return this.mainApi.getPostalCodeRetrieval(postalCode, houseNumber, showLoader);
191
- }
192
- getHistoricActivities(table, key) {
193
- return this.mainApi.getHistoricActivities(table, key);
194
- }
195
- getComponentActivities(table, key) {
196
- return this.mainApi.getComponentActivities(table, key);
197
- }
198
- getComponentActivitiesWithoutRelationFiltering(table, key) {
199
- return this.mainApi.getComponentActivitiesWithoutRelationFiltering(table, key);
200
- }
201
- getActiveProcessesByTableAndKey(table, key) {
202
- return this.mainApi.getActiveProcessesByTableAndKey(table, key);
203
- }
204
- getWorkflowStatusForActivity(table, key, component) {
205
- return this.mainApi.getWorkflowStatusForActivity(table, key, component);
206
- }
207
- insertActivity(activity) {
208
- return this.mainApi.insertActivity(activity);
209
- }
210
- updateActivity(activity) {
211
- return this.mainApi.updateActivity(activity);
212
- }
213
- deleteActivity(activity) {
214
- return this.mainApi.deleteActivity(activity);
215
- }
216
- insertEmailHistoryForRemark(history) {
217
- return this.mainApi.insertEmailHistoryForRemark(history);
218
- }
219
- insertEmailHistoryForWork(history) {
220
- return this.mainApi.insertEmailHistoryForWork(history);
221
- }
222
- insertEmailHistoryForTask(history) {
223
- return this.mainApi.insertEmailHistoryForTask(history);
224
- }
225
- getTaskCategories() {
226
- return this.mainApi.getTaskCategories();
227
- }
228
- getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
229
- return this.mainApi.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
230
- }
231
- getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key) {
232
- return this.mainApi.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key);
233
- }
234
- getReportTemplates(reportTemplateRequest) {
235
- return __awaiter(this, void 0, void 0, function* () {
236
- return this.mainApi.getReportTemplates(reportTemplateRequest);
237
- });
238
- }
239
- emailReport(printJob) {
240
- return __awaiter(this, void 0, void 0, function* () {
241
- return this.mainApi.emailReport(printJob);
242
- });
243
- }
244
- getWorkflowProcessInfoPerStatus(workflowCategoryName) {
245
- return __awaiter(this, void 0, void 0, function* () {
246
- return this.mainApi.getWorkflowProcessInfoPerStatus(workflowCategoryName);
247
- });
248
- }
249
- fireTrigger(workFlowProcessId, sequence, triggerId) {
250
- return __awaiter(this, void 0, void 0, function* () {
251
- return this.mainApi.fireTrigger(workFlowProcessId, sequence, triggerId);
252
- });
253
- }
254
- fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
255
- return __awaiter(this, void 0, void 0, function* () {
256
- return this.mainApi.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
257
- });
258
- }
259
- lockTask(id) {
260
- return __awaiter(this, void 0, void 0, function* () {
261
- return this.mainApi.lockTask(id);
262
- });
263
- }
264
- getInternalDefaultValue(param) {
265
- return this.mainApi.getInternalDefaultValue(param);
266
- }
267
- emailActivity(request, showLoader) {
268
- return this.mainApi.emailActivity(request, showLoader);
269
- }
270
- getSingleImage(nodeId, publication, includeMimetype, thumb, tableName) {
271
- return this.mainApi.getSingleImage(nodeId, publication, includeMimetype, thumb, tableName);
272
- }
273
- getImage(key, publication, includeMimetype, thumb, tableName) {
274
- return this.mainApi.getImage(key, publication, includeMimetype, thumb, tableName);
275
- }
276
- getImageForCoDocument(document, thumb) {
277
- return this.mainApi.getImageForCoDocument(document, thumb);
278
- }
279
- getFormById(formId) {
280
- return this.mainApi.getFormById(formId);
281
- }
282
- getFormResponse(formResponseId) {
283
- return this.mainApi.getFormResponse(formResponseId);
284
- }
285
- getAllFormResponsesForTableAndKey(table, key) {
286
- return this.mainApi.getAllFormResponsesForTableAndKey(table, key);
287
- }
288
- lockFormResponse(id) {
289
- return this.mainApi.lockFormResponse(id);
290
- }
291
- unlockFormResponse(id) {
292
- return this.mainApi.lockFormResponse(id);
293
- }
294
- insertFormResponse(formResponse) {
295
- return this.mainApi.insertFormResponse(formResponse);
296
- }
297
- updateFormResponse(formResponse) {
298
- return this.mainApi.updateFormResponse(formResponse);
299
- }
300
- getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList) {
301
- return this.mainApi.getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList);
302
- }
303
- isGoogleTranslateEnabled() {
304
- return this.mainApi.isGoogleTranslateEnabled();
305
- }
306
- upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse) {
307
- return this.mainApi.upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse);
308
- }
309
- getContainers() {
310
- return __awaiter(this, void 0, void 0, function* () {
311
- return this.mainApi.getContainers();
312
- });
313
- }
314
- getContainer(containerId) {
315
- return __awaiter(this, void 0, void 0, function* () {
316
- return this.mainApi.getContainer(containerId);
317
- });
318
- }
319
- getContainerInfo(containerId) {
320
- return __awaiter(this, void 0, void 0, function* () {
321
- return this.mainApi.getContainerInfo(containerId);
322
- });
323
- }
324
- getContainerTypes() {
325
- return __awaiter(this, void 0, void 0, function* () {
326
- return this.mainApi.getContainerTypes();
327
- });
328
- }
329
- createContainer(container) {
330
- return __awaiter(this, void 0, void 0, function* () {
331
- return this.mainApi.createContainer(container);
332
- });
333
- }
334
- updateContainer(container) {
335
- return __awaiter(this, void 0, void 0, function* () {
336
- return this.mainApi.updateContainer(container);
337
- });
338
- }
339
- getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId) {
340
- return this.mainApi.getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId);
341
- }
342
- uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash) {
343
- return this.mainApi.uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash);
344
- }
345
- getFileUploadStatus(uploadId, uploadType) {
346
- return this.mainApi.getFileUploadStatus(uploadId, uploadType);
347
- }
348
- getFileUploadComplete(uploadId, uploadType) {
349
- return this.mainApi.getFileUploadComplete(uploadId, uploadType);
350
- }
351
- cancelFileUpload(uploadId, uploadType) {
352
- return this.mainApi.cancelFileUpload(uploadId, uploadType);
353
- }
354
- initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash) {
355
- return this.mainApi.initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash);
356
- }
357
- getModelCreationRenderStatus(uploadId) {
358
- return this.mainApi.getModelCreationRenderStatus(uploadId);
359
- }
360
- static createConnector(isPublicSession, sessionExists) {
361
- if (!isPublicSession || sessionExists) {
362
- return new main_auth_1.MainAuth();
363
- }
364
- return new main_public_1.MainPublic();
365
- }
366
- _handleConnectionReset() {
367
- this.connectionResetInactivity.next();
368
- }
369
- }
370
- exports.MainApi = MainApi;
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MainApi = void 0;
13
+ const rxjs_1 = require("rxjs");
14
+ const ioneconnector_1 = require("@colijnit/ioneconnector");
15
+ const main_auth_1 = require("./main-auth");
16
+ const main_public_1 = require("./main-public");
17
+ const domain_name_enum_1 = require("./enum/domain-name.enum");
18
+ class MainApi {
19
+ constructor(options) {
20
+ this.showLoader = new rxjs_1.Subject();
21
+ this.connectionAborted = new rxjs_1.Subject();
22
+ this.connectionResetInactivity = new rxjs_1.Subject();
23
+ this.useLoginEncryption = false;
24
+ this._subs = [];
25
+ if (options) {
26
+ this.url = options.url ? options.url : "";
27
+ this.version = options.version ? options.version : "";
28
+ this.schema = options.schema ? options.schema : "";
29
+ this.branch = options.branch ? options.branch : "";
30
+ this.languageCode = options.languageCode;
31
+ this.currencyId = options.hasOwnProperty("currencyId") ? options.currencyId : undefined;
32
+ this.useLoginEncryption = options.hasOwnProperty("useLoginEncryption") ? options.useLoginEncryption === true : false;
33
+ }
34
+ this._connector = new ioneconnector_1.Connector(options);
35
+ this.mainApi = MainApi.createConnector(this._connector.isPublicSession(), this._connector.hasSession());
36
+ this.mainApi.connector = this._connector;
37
+ this.mainApi.languageCode = this.languageCode;
38
+ this.mainApi.branchNr = this.branch;
39
+ this._subs.push(this._connector.showLoader.subscribe(value => this.showLoader.next(value)), this._connector.connectionAborted.subscribe(() => this.connectionAborted.next()), this._connector.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
40
+ }
41
+ connect(url, schema, version) {
42
+ return __awaiter(this, void 0, void 0, function* () {
43
+ return this._connector.connect(url, schema, version);
44
+ });
45
+ }
46
+ logOut() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ return this._connector.logOut();
49
+ });
50
+ }
51
+ getSessionId() {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ return this._connector.getSessionId();
54
+ });
55
+ }
56
+ getDataSessionId() {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ return this._connector.getDataSessionId();
59
+ });
60
+ }
61
+ selectMultiple(module, objectClass, operation, params, showLoader) {
62
+ return __awaiter(this, void 0, void 0, function* () {
63
+ return this.mainApi.selectMultiple(module, objectClass, operation, params, showLoader);
64
+ });
65
+ }
66
+ getSequenceValue(sequenceName_1) {
67
+ return __awaiter(this, arguments, void 0, function* (sequenceName, noSequence = false) {
68
+ return this.mainApi.getSequenceValue(sequenceName, noSequence);
69
+ });
70
+ }
71
+ getDefaultTemplate(documentCode) {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ return this.mainApi.getTemplates(documentCode, true);
74
+ });
75
+ }
76
+ listAllPrinters() {
77
+ return this.mainApi.listAllPrinters();
78
+ }
79
+ listPrinters(showAll = false) {
80
+ return this.mainApi.listPrinters(showAll);
81
+ }
82
+ getStandardPrinter(reportId, type, showLoader) {
83
+ return this.mainApi.getStandardPrinter(reportId, type);
84
+ }
85
+ ;
86
+ getSendMethods() {
87
+ return this.mainApi.getSendMethods();
88
+ }
89
+ getDocumentContent(id, thumbnail = true) {
90
+ return this.mainApi.getDocumentContent(id, thumbnail);
91
+ }
92
+ loadDocuments(key, table) {
93
+ return __awaiter(this, void 0, void 0, function* () {
94
+ return this.mainApi.loadDocuments(key, table);
95
+ });
96
+ }
97
+ loadDocumentContent(docId) {
98
+ return this.mainApi.loadDocumentContent(docId);
99
+ }
100
+ deleteDocument(documentId) {
101
+ return this.mainApi.deleteDocument(documentId);
102
+ }
103
+ upsertDocument(key, table, document) {
104
+ return this.mainApi.upsertDocument(key, table, document);
105
+ }
106
+ getCurrencies(active = true) {
107
+ return this.mainApi.getCurrencies(active);
108
+ }
109
+ getPaymentConditions(name) {
110
+ return this.mainApi.getPaymentConditions(name);
111
+ }
112
+ getJoinedTags(table, key) {
113
+ return this.mainApi.getJoinedTags(table, key);
114
+ }
115
+ mergeJoinedTags(table, key, tags) {
116
+ return this.mainApi.mergeJoinedTags(table, key, tags);
117
+ }
118
+ getTagsFullTree(category, includeTags) {
119
+ return this.mainApi.getTagsFullTree(category, includeTags);
120
+ }
121
+ getPublicParams(upId) {
122
+ return this.mainApi.getPublicParams(upId);
123
+ }
124
+ getInternalParameterValue(param) {
125
+ return this.mainApi.getInternalParameterValue(param);
126
+ }
127
+ uploadModelToCDN(filename, fileContents) {
128
+ return this.mainApi.uploadModelToCDN(filename, fileContents);
129
+ }
130
+ getPackageStickerPrintLayouts() {
131
+ return this.mainApi.getPackageStickerPrintLayouts();
132
+ }
133
+ getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
134
+ return this.mainApi.getObjectConfigurations(screenCfgModule, params, insertMode);
135
+ }
136
+ getStoreGroups() {
137
+ return this.mainApi.getStoreGroups();
138
+ }
139
+ getInOutCollection(languageCode) {
140
+ return this.mainApi.getDomainCollection(languageCode, domain_name_enum_1.DomainName.InOutCollection);
141
+ }
142
+ getDomainCollection(languageCode, domainName) {
143
+ return this.mainApi.getDomainCollection(languageCode, domainName);
144
+ }
145
+ getRVDomainCollection(languageCode, domainName) {
146
+ return this.mainApi.getRVDomainCollection(languageCode, domainName);
147
+ }
148
+ getCategories() {
149
+ return this.mainApi.getCategories();
150
+ }
151
+ getColors() {
152
+ return this.mainApi.getColors();
153
+ }
154
+ getPriceLists(code) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ return this.mainApi.getPriceLists(code);
157
+ });
158
+ }
159
+ getUserGroups() {
160
+ return __awaiter(this, void 0, void 0, function* () {
161
+ return this.mainApi.getUserGroups();
162
+ });
163
+ }
164
+ getPresets(module, user) {
165
+ return __awaiter(this, void 0, void 0, function* () {
166
+ return this.mainApi.getPresets(module, user);
167
+ });
168
+ }
169
+ getPreset(presetId) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ return this.mainApi.getPreset(presetId);
172
+ });
173
+ }
174
+ savePreset(preset) {
175
+ return __awaiter(this, void 0, void 0, function* () {
176
+ return this.mainApi.savePreset(preset);
177
+ });
178
+ }
179
+ updatePreset(presetName) {
180
+ return __awaiter(this, void 0, void 0, function* () {
181
+ return this.mainApi.updatePreset(presetName);
182
+ });
183
+ }
184
+ getOrderLineSetCategories() {
185
+ return __awaiter(this, void 0, void 0, function* () {
186
+ return this.mainApi.getOrderLineSetCategories();
187
+ });
188
+ }
189
+ getPostalCodeRetrieval(postalCode, houseNumber, showLoader) {
190
+ return this.mainApi.getPostalCodeRetrieval(postalCode, houseNumber, showLoader);
191
+ }
192
+ getHistoricActivities(table, key) {
193
+ return this.mainApi.getHistoricActivities(table, key);
194
+ }
195
+ getComponentActivities(table, key) {
196
+ return this.mainApi.getComponentActivities(table, key);
197
+ }
198
+ getComponentActivitiesWithoutRelationFiltering(table, key) {
199
+ return this.mainApi.getComponentActivitiesWithoutRelationFiltering(table, key);
200
+ }
201
+ getActiveProcessesByTableAndKey(table, key) {
202
+ return this.mainApi.getActiveProcessesByTableAndKey(table, key);
203
+ }
204
+ getWorkflowStatusForActivity(table, key, component) {
205
+ return this.mainApi.getWorkflowStatusForActivity(table, key, component);
206
+ }
207
+ insertActivity(activity) {
208
+ return this.mainApi.insertActivity(activity);
209
+ }
210
+ updateActivity(activity) {
211
+ return this.mainApi.updateActivity(activity);
212
+ }
213
+ deleteActivity(activity) {
214
+ return this.mainApi.deleteActivity(activity);
215
+ }
216
+ insertEmailHistoryForRemark(history) {
217
+ return this.mainApi.insertEmailHistoryForRemark(history);
218
+ }
219
+ insertEmailHistoryForWork(history) {
220
+ return this.mainApi.insertEmailHistoryForWork(history);
221
+ }
222
+ insertEmailHistoryForTask(history) {
223
+ return this.mainApi.insertEmailHistoryForTask(history);
224
+ }
225
+ getTaskCategories() {
226
+ return this.mainApi.getTaskCategories();
227
+ }
228
+ getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
229
+ return this.mainApi.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
230
+ }
231
+ getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key) {
232
+ return this.mainApi.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key);
233
+ }
234
+ getReportTemplates(reportTemplateRequest) {
235
+ return __awaiter(this, void 0, void 0, function* () {
236
+ return this.mainApi.getReportTemplates(reportTemplateRequest);
237
+ });
238
+ }
239
+ emailReport(printJob) {
240
+ return __awaiter(this, void 0, void 0, function* () {
241
+ return this.mainApi.emailReport(printJob);
242
+ });
243
+ }
244
+ getWorkflowProcessInfoPerStatus(workflowCategoryName) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ return this.mainApi.getWorkflowProcessInfoPerStatus(workflowCategoryName);
247
+ });
248
+ }
249
+ fireTrigger(workFlowProcessId, sequence, triggerId) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ return this.mainApi.fireTrigger(workFlowProcessId, sequence, triggerId);
252
+ });
253
+ }
254
+ fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
255
+ return __awaiter(this, void 0, void 0, function* () {
256
+ return this.mainApi.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
257
+ });
258
+ }
259
+ lockTask(id) {
260
+ return __awaiter(this, void 0, void 0, function* () {
261
+ return this.mainApi.lockTask(id);
262
+ });
263
+ }
264
+ getInternalDefaultValue(param) {
265
+ return this.mainApi.getInternalDefaultValue(param);
266
+ }
267
+ emailActivity(request, showLoader) {
268
+ return this.mainApi.emailActivity(request, showLoader);
269
+ }
270
+ getSingleImage(nodeId, publication, includeMimetype, thumb, tableName) {
271
+ return this.mainApi.getSingleImage(nodeId, publication, includeMimetype, thumb, tableName);
272
+ }
273
+ getImage(key, publication, includeMimetype, thumb, tableName) {
274
+ return this.mainApi.getImage(key, publication, includeMimetype, thumb, tableName);
275
+ }
276
+ getImageForCoDocument(document, thumb) {
277
+ return this.mainApi.getImageForCoDocument(document, thumb);
278
+ }
279
+ getFormById(formId) {
280
+ return this.mainApi.getFormById(formId);
281
+ }
282
+ getFormResponse(formResponseId) {
283
+ return this.mainApi.getFormResponse(formResponseId);
284
+ }
285
+ getAllFormResponsesForTableAndKey(table, key) {
286
+ return this.mainApi.getAllFormResponsesForTableAndKey(table, key);
287
+ }
288
+ lockFormResponse(id) {
289
+ return this.mainApi.lockFormResponse(id);
290
+ }
291
+ unlockFormResponse(id) {
292
+ return this.mainApi.lockFormResponse(id);
293
+ }
294
+ insertFormResponse(formResponse) {
295
+ return this.mainApi.insertFormResponse(formResponse);
296
+ }
297
+ updateFormResponse(formResponse) {
298
+ return this.mainApi.updateFormResponse(formResponse);
299
+ }
300
+ getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList) {
301
+ return this.mainApi.getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList);
302
+ }
303
+ isGoogleTranslateEnabled() {
304
+ return this.mainApi.isGoogleTranslateEnabled();
305
+ }
306
+ upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse) {
307
+ return this.mainApi.upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse);
308
+ }
309
+ getContainers() {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ return this.mainApi.getContainers();
312
+ });
313
+ }
314
+ getContainer(containerId) {
315
+ return __awaiter(this, void 0, void 0, function* () {
316
+ return this.mainApi.getContainer(containerId);
317
+ });
318
+ }
319
+ getContainerInfo(containerId) {
320
+ return __awaiter(this, void 0, void 0, function* () {
321
+ return this.mainApi.getContainerInfo(containerId);
322
+ });
323
+ }
324
+ getContainerTypes() {
325
+ return __awaiter(this, void 0, void 0, function* () {
326
+ return this.mainApi.getContainerTypes();
327
+ });
328
+ }
329
+ createContainer(container) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ return this.mainApi.createContainer(container);
332
+ });
333
+ }
334
+ updateContainer(container) {
335
+ return __awaiter(this, void 0, void 0, function* () {
336
+ return this.mainApi.updateContainer(container);
337
+ });
338
+ }
339
+ getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId) {
340
+ return this.mainApi.getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId);
341
+ }
342
+ uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash) {
343
+ return this.mainApi.uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash);
344
+ }
345
+ getFileUploadStatus(uploadId, uploadType) {
346
+ return this.mainApi.getFileUploadStatus(uploadId, uploadType);
347
+ }
348
+ getFileUploadComplete(uploadId, uploadType) {
349
+ return this.mainApi.getFileUploadComplete(uploadId, uploadType);
350
+ }
351
+ cancelFileUpload(uploadId, uploadType) {
352
+ return this.mainApi.cancelFileUpload(uploadId, uploadType);
353
+ }
354
+ initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash) {
355
+ return this.mainApi.initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash);
356
+ }
357
+ getModelCreationRenderStatus(uploadId) {
358
+ return this.mainApi.getModelCreationRenderStatus(uploadId);
359
+ }
360
+ getWarehousesShort() {
361
+ return __awaiter(this, void 0, void 0, function* () {
362
+ return this.mainApi.getWarehousesShort();
363
+ });
364
+ }
365
+ static createConnector(isPublicSession, sessionExists) {
366
+ if (!isPublicSession || sessionExists) {
367
+ return new main_auth_1.MainAuth();
368
+ }
369
+ return new main_public_1.MainPublic();
370
+ }
371
+ _handleConnectionReset() {
372
+ this.connectionResetInactivity.next();
373
+ }
374
+ }
375
+ exports.MainApi = MainApi;