@things-factory/compliance 0.0.0-stage → 10.1.254

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 (356) hide show
  1. package/dist-client/bootstrap.d.ts +2 -0
  2. package/dist-client/bootstrap.js +28 -0
  3. package/dist-client/bootstrap.js.map +1 -0
  4. package/dist-client/components/compliance-case-form.d.ts +42 -0
  5. package/dist-client/components/compliance-case-form.js +313 -0
  6. package/dist-client/components/compliance-case-form.js.map +1 -0
  7. package/dist-client/components/compliance-case-sheet.d.ts +35 -0
  8. package/dist-client/components/compliance-case-sheet.js +335 -0
  9. package/dist-client/components/compliance-case-sheet.js.map +1 -0
  10. package/dist-client/components/compliance-my-inventions.d.ts +17 -0
  11. package/dist-client/components/compliance-my-inventions.js +133 -0
  12. package/dist-client/components/compliance-my-inventions.js.map +1 -0
  13. package/dist-client/components/compliance-my-privacy-requests.d.ts +34 -0
  14. package/dist-client/components/compliance-my-privacy-requests.js +232 -0
  15. package/dist-client/components/compliance-my-privacy-requests.js.map +1 -0
  16. package/dist-client/components/compliance-my-reports.d.ts +19 -0
  17. package/dist-client/components/compliance-my-reports.js +137 -0
  18. package/dist-client/components/compliance-my-reports.js.map +1 -0
  19. package/dist-client/components/guide-link.d.ts +13 -0
  20. package/dist-client/components/guide-link.js +55 -0
  21. package/dist-client/components/guide-link.js.map +1 -0
  22. package/dist-client/components/invention-report-form.d.ts +30 -0
  23. package/dist-client/components/invention-report-form.js +188 -0
  24. package/dist-client/components/invention-report-form.js.map +1 -0
  25. package/dist-client/components/legal-todo.d.ts +10 -0
  26. package/dist-client/components/legal-todo.js +43 -0
  27. package/dist-client/components/legal-todo.js.map +1 -0
  28. package/dist-client/components/my-trainings.d.ts +18 -0
  29. package/dist-client/components/my-trainings.js +149 -0
  30. package/dist-client/components/my-trainings.js.map +1 -0
  31. package/dist-client/components/regulation-form.d.ts +26 -0
  32. package/dist-client/components/regulation-form.js +161 -0
  33. package/dist-client/components/regulation-form.js.map +1 -0
  34. package/dist-client/components/seal-use-form.d.ts +47 -0
  35. package/dist-client/components/seal-use-form.js +300 -0
  36. package/dist-client/components/seal-use-form.js.map +1 -0
  37. package/dist-client/components/training-attendance-form.d.ts +37 -0
  38. package/dist-client/components/training-attendance-form.js +186 -0
  39. package/dist-client/components/training-attendance-form.js.map +1 -0
  40. package/dist-client/components/training-certificate-form.d.ts +41 -0
  41. package/dist-client/components/training-certificate-form.js +198 -0
  42. package/dist-client/components/training-certificate-form.js.map +1 -0
  43. package/dist-client/components/training-session-form.d.ts +39 -0
  44. package/dist-client/components/training-session-form.js +270 -0
  45. package/dist-client/components/training-session-form.js.map +1 -0
  46. package/dist-client/components/training-setting-form.d.ts +45 -0
  47. package/dist-client/components/training-setting-form.js +175 -0
  48. package/dist-client/components/training-setting-form.js.map +1 -0
  49. package/dist-client/index.d.ts +4 -0
  50. package/dist-client/index.js +8 -0
  51. package/dist-client/index.js.map +1 -0
  52. package/dist-client/legal-record/dispute-calendar-source.d.ts +1 -0
  53. package/dist-client/legal-record/dispute-calendar-source.js +51 -0
  54. package/dist-client/legal-record/dispute-calendar-source.js.map +1 -0
  55. package/dist-client/legal-record/legal-child-grid.d.ts +31 -0
  56. package/dist-client/legal-record/legal-child-grid.js +76 -0
  57. package/dist-client/legal-record/legal-child-grid.js.map +1 -0
  58. package/dist-client/legal-record/legal-codes.d.ts +3 -0
  59. package/dist-client/legal-record/legal-codes.js +5 -0
  60. package/dist-client/legal-record/legal-codes.js.map +1 -0
  61. package/dist-client/legal-record/legal-grid.d.ts +59 -0
  62. package/dist-client/legal-record/legal-grid.js +68 -0
  63. package/dist-client/legal-record/legal-grid.js.map +1 -0
  64. package/dist-client/legal-record/legal-record-files.d.ts +26 -0
  65. package/dist-client/legal-record/legal-record-files.js +162 -0
  66. package/dist-client/legal-record/legal-record-files.js.map +1 -0
  67. package/dist-client/pages/compliance-case-list.d.ts +35 -0
  68. package/dist-client/pages/compliance-case-list.js +112 -0
  69. package/dist-client/pages/compliance-case-list.js.map +1 -0
  70. package/dist-client/pages/dispute-list.d.ts +57 -0
  71. package/dist-client/pages/dispute-list.js +156 -0
  72. package/dist-client/pages/dispute-list.js.map +1 -0
  73. package/dist-client/pages/invention-list.d.ts +57 -0
  74. package/dist-client/pages/invention-list.js +166 -0
  75. package/dist-client/pages/invention-list.js.map +1 -0
  76. package/dist-client/pages/legal-registration-list.d.ts +63 -0
  77. package/dist-client/pages/legal-registration-list.js +206 -0
  78. package/dist-client/pages/legal-registration-list.js.map +1 -0
  79. package/dist-client/pages/privacy-record-list.d.ts +52 -0
  80. package/dist-client/pages/privacy-record-list.js +225 -0
  81. package/dist-client/pages/privacy-record-list.js.map +1 -0
  82. package/dist-client/pages/regulation-detail.d.ts +43 -0
  83. package/dist-client/pages/regulation-detail.js +370 -0
  84. package/dist-client/pages/regulation-detail.js.map +1 -0
  85. package/dist-client/pages/regulation-list.d.ts +52 -0
  86. package/dist-client/pages/regulation-list.js +144 -0
  87. package/dist-client/pages/regulation-list.js.map +1 -0
  88. package/dist-client/pages/regulations.d.ts +49 -0
  89. package/dist-client/pages/regulations.js +412 -0
  90. package/dist-client/pages/regulations.js.map +1 -0
  91. package/dist-client/pages/seal-use-list.d.ts +57 -0
  92. package/dist-client/pages/seal-use-list.js +168 -0
  93. package/dist-client/pages/seal-use-list.js.map +1 -0
  94. package/dist-client/pages/training-list.d.ts +51 -0
  95. package/dist-client/pages/training-list.js +333 -0
  96. package/dist-client/pages/training-list.js.map +1 -0
  97. package/dist-client/regulation/regulation-fragments.d.ts +1 -0
  98. package/dist-client/regulation/regulation-fragments.js +37 -0
  99. package/dist-client/regulation/regulation-fragments.js.map +1 -0
  100. package/dist-client/regulation/regulation-guide.d.ts +19 -0
  101. package/dist-client/regulation/regulation-guide.js +48 -0
  102. package/dist-client/regulation/regulation-guide.js.map +1 -0
  103. package/dist-client/route.d.ts +1 -0
  104. package/dist-client/route.js +36 -0
  105. package/dist-client/route.js.map +1 -0
  106. package/dist-client/training-words.d.ts +11 -0
  107. package/dist-client/training-words.js +11 -0
  108. package/dist-client/training-words.js.map +1 -0
  109. package/dist-client/tsconfig.tsbuildinfo +1 -0
  110. package/dist-client/words.d.ts +15 -0
  111. package/dist-client/words.js +20 -0
  112. package/dist-client/words.js.map +1 -0
  113. package/dist-server/activities/index.d.ts +6 -0
  114. package/dist-server/activities/index.js +35 -0
  115. package/dist-server/activities/index.js.map +1 -0
  116. package/dist-server/activities/legal-todo-activity-names.d.ts +1 -0
  117. package/dist-server/activities/legal-todo-activity-names.js +5 -0
  118. package/dist-server/activities/legal-todo-activity-names.js.map +1 -0
  119. package/dist-server/activities/legal-todo-activity.d.ts +37 -0
  120. package/dist-server/activities/legal-todo-activity.js +41 -0
  121. package/dist-server/activities/legal-todo-activity.js.map +1 -0
  122. package/dist-server/activities/regulation-activity-names.d.ts +1 -0
  123. package/dist-server/activities/regulation-activity-names.js +5 -0
  124. package/dist-server/activities/regulation-activity-names.js.map +1 -0
  125. package/dist-server/activities/regulation-activity.d.ts +48 -0
  126. package/dist-server/activities/regulation-activity.js +47 -0
  127. package/dist-server/activities/regulation-activity.js.map +1 -0
  128. package/dist-server/activities/seal-use-activity-names.d.ts +2 -0
  129. package/dist-server/activities/seal-use-activity-names.js +6 -0
  130. package/dist-server/activities/seal-use-activity-names.js.map +1 -0
  131. package/dist-server/activities/seal-use-activity.d.ts +48 -0
  132. package/dist-server/activities/seal-use-activity.js +47 -0
  133. package/dist-server/activities/seal-use-activity.js.map +1 -0
  134. package/dist-server/index.d.ts +2 -0
  135. package/dist-server/index.js +21 -0
  136. package/dist-server/index.js.map +1 -0
  137. package/dist-server/role-tasks.d.ts +2 -0
  138. package/dist-server/role-tasks.js +28 -0
  139. package/dist-server/role-tasks.js.map +1 -0
  140. package/dist-server/service/common/correction.d.ts +32 -0
  141. package/dist-server/service/common/correction.js +98 -0
  142. package/dist-server/service/common/correction.js.map +1 -0
  143. package/dist-server/service/common/employee-reader.d.ts +11 -0
  144. package/dist-server/service/common/employee-reader.js +46 -0
  145. package/dist-server/service/common/employee-reader.js.map +1 -0
  146. package/dist-server/service/common/legal-todo.d.ts +19 -0
  147. package/dist-server/service/common/legal-todo.js +37 -0
  148. package/dist-server/service/common/legal-todo.js.map +1 -0
  149. package/dist-server/service/compliance-case/compliance-case-mutation.d.ts +9 -0
  150. package/dist-server/service/compliance-case/compliance-case-mutation.js +73 -0
  151. package/dist-server/service/compliance-case/compliance-case-mutation.js.map +1 -0
  152. package/dist-server/service/compliance-case/compliance-case-query.d.ts +28 -0
  153. package/dist-server/service/compliance-case/compliance-case-query.js +212 -0
  154. package/dist-server/service/compliance-case/compliance-case-query.js.map +1 -0
  155. package/dist-server/service/compliance-case/compliance-case-rules.d.ts +71 -0
  156. package/dist-server/service/compliance-case/compliance-case-rules.js +111 -0
  157. package/dist-server/service/compliance-case/compliance-case-rules.js.map +1 -0
  158. package/dist-server/service/compliance-case/compliance-case-service.d.ts +76 -0
  159. package/dist-server/service/compliance-case/compliance-case-service.js +425 -0
  160. package/dist-server/service/compliance-case/compliance-case-service.js.map +1 -0
  161. package/dist-server/service/compliance-case/compliance-case-type.d.ts +56 -0
  162. package/dist-server/service/compliance-case/compliance-case-type.js +200 -0
  163. package/dist-server/service/compliance-case/compliance-case-type.js.map +1 -0
  164. package/dist-server/service/compliance-case/compliance-case.d.ts +76 -0
  165. package/dist-server/service/compliance-case/compliance-case.js +260 -0
  166. package/dist-server/service/compliance-case/compliance-case.js.map +1 -0
  167. package/dist-server/service/compliance-case/index.d.ts +7 -0
  168. package/dist-server/service/compliance-case/index.js +17 -0
  169. package/dist-server/service/compliance-case/index.js.map +1 -0
  170. package/dist-server/service/dispute/dispute-mutation.d.ts +9 -0
  171. package/dist-server/service/dispute/dispute-mutation.js +64 -0
  172. package/dist-server/service/dispute/dispute-mutation.js.map +1 -0
  173. package/dist-server/service/dispute/dispute-query.d.ts +16 -0
  174. package/dist-server/service/dispute/dispute-query.js +124 -0
  175. package/dist-server/service/dispute/dispute-query.js.map +1 -0
  176. package/dist-server/service/dispute/dispute-rules.d.ts +20 -0
  177. package/dist-server/service/dispute/dispute-rules.js +42 -0
  178. package/dist-server/service/dispute/dispute-rules.js.map +1 -0
  179. package/dist-server/service/dispute/dispute-service.d.ts +17 -0
  180. package/dist-server/service/dispute/dispute-service.js +96 -0
  181. package/dist-server/service/dispute/dispute-service.js.map +1 -0
  182. package/dist-server/service/dispute/dispute-type.d.ts +39 -0
  183. package/dist-server/service/dispute/dispute-type.js +149 -0
  184. package/dist-server/service/dispute/dispute-type.js.map +1 -0
  185. package/dist-server/service/dispute/dispute.d.ts +48 -0
  186. package/dist-server/service/dispute/dispute.js +198 -0
  187. package/dist-server/service/dispute/dispute.js.map +1 -0
  188. package/dist-server/service/dispute/index.d.ts +5 -0
  189. package/dist-server/service/dispute/index.js +9 -0
  190. package/dist-server/service/dispute/index.js.map +1 -0
  191. package/dist-server/service/index.d.ts +46 -0
  192. package/dist-server/service/index.js +112 -0
  193. package/dist-server/service/index.js.map +1 -0
  194. package/dist-server/service/invention/index.d.ts +5 -0
  195. package/dist-server/service/invention/index.js +9 -0
  196. package/dist-server/service/invention/index.js.map +1 -0
  197. package/dist-server/service/invention/invention-mutation.d.ts +10 -0
  198. package/dist-server/service/invention/invention-mutation.js +79 -0
  199. package/dist-server/service/invention/invention-mutation.js.map +1 -0
  200. package/dist-server/service/invention/invention-query.d.ts +18 -0
  201. package/dist-server/service/invention/invention-query.js +141 -0
  202. package/dist-server/service/invention/invention-query.js.map +1 -0
  203. package/dist-server/service/invention/invention-rules.d.ts +28 -0
  204. package/dist-server/service/invention/invention-rules.js +54 -0
  205. package/dist-server/service/invention/invention-rules.js.map +1 -0
  206. package/dist-server/service/invention/invention-service.d.ts +25 -0
  207. package/dist-server/service/invention/invention-service.js +176 -0
  208. package/dist-server/service/invention/invention-service.js.map +1 -0
  209. package/dist-server/service/invention/invention-type.d.ts +34 -0
  210. package/dist-server/service/invention/invention-type.js +129 -0
  211. package/dist-server/service/invention/invention-type.js.map +1 -0
  212. package/dist-server/service/invention/invention.d.ts +55 -0
  213. package/dist-server/service/invention/invention.js +214 -0
  214. package/dist-server/service/invention/invention.js.map +1 -0
  215. package/dist-server/service/legal-record/attachment-readers.d.ts +1 -0
  216. package/dist-server/service/legal-record/attachment-readers.js +27 -0
  217. package/dist-server/service/legal-record/attachment-readers.js.map +1 -0
  218. package/dist-server/service/legal-record/days.d.ts +7 -0
  219. package/dist-server/service/legal-record/days.js +26 -0
  220. package/dist-server/service/legal-record/days.js.map +1 -0
  221. package/dist-server/service/legal-record/legal-record-support.d.ts +24 -0
  222. package/dist-server/service/legal-record/legal-record-support.js +51 -0
  223. package/dist-server/service/legal-record/legal-record-support.js.map +1 -0
  224. package/dist-server/service/legal-registration/centre-change-subscriber.d.ts +9 -0
  225. package/dist-server/service/legal-registration/centre-change-subscriber.js +50 -0
  226. package/dist-server/service/legal-registration/centre-change-subscriber.js.map +1 -0
  227. package/dist-server/service/legal-registration/index.d.ts +7 -0
  228. package/dist-server/service/legal-registration/index.js +11 -0
  229. package/dist-server/service/legal-registration/index.js.map +1 -0
  230. package/dist-server/service/legal-registration/legal-registration-mutation.d.ts +10 -0
  231. package/dist-server/service/legal-registration/legal-registration-mutation.js +77 -0
  232. package/dist-server/service/legal-registration/legal-registration-mutation.js.map +1 -0
  233. package/dist-server/service/legal-registration/legal-registration-query.d.ts +26 -0
  234. package/dist-server/service/legal-registration/legal-registration-query.js +199 -0
  235. package/dist-server/service/legal-registration/legal-registration-query.js.map +1 -0
  236. package/dist-server/service/legal-registration/legal-registration-rules.d.ts +80 -0
  237. package/dist-server/service/legal-registration/legal-registration-rules.js +106 -0
  238. package/dist-server/service/legal-registration/legal-registration-rules.js.map +1 -0
  239. package/dist-server/service/legal-registration/legal-registration-service.d.ts +37 -0
  240. package/dist-server/service/legal-registration/legal-registration-service.js +248 -0
  241. package/dist-server/service/legal-registration/legal-registration-service.js.map +1 -0
  242. package/dist-server/service/legal-registration/legal-registration-type.d.ts +55 -0
  243. package/dist-server/service/legal-registration/legal-registration-type.js +207 -0
  244. package/dist-server/service/legal-registration/legal-registration-type.js.map +1 -0
  245. package/dist-server/service/legal-registration/legal-registration.d.ts +76 -0
  246. package/dist-server/service/legal-registration/legal-registration.js +311 -0
  247. package/dist-server/service/legal-registration/legal-registration.js.map +1 -0
  248. package/dist-server/service/privacy-record/index.d.ts +5 -0
  249. package/dist-server/service/privacy-record/index.js +9 -0
  250. package/dist-server/service/privacy-record/index.js.map +1 -0
  251. package/dist-server/service/privacy-record/privacy-record-mutation.d.ts +7 -0
  252. package/dist-server/service/privacy-record/privacy-record-mutation.js +56 -0
  253. package/dist-server/service/privacy-record/privacy-record-mutation.js.map +1 -0
  254. package/dist-server/service/privacy-record/privacy-record-query.d.ts +18 -0
  255. package/dist-server/service/privacy-record/privacy-record-query.js +131 -0
  256. package/dist-server/service/privacy-record/privacy-record-query.js.map +1 -0
  257. package/dist-server/service/privacy-record/privacy-record-rules.d.ts +52 -0
  258. package/dist-server/service/privacy-record/privacy-record-rules.js +91 -0
  259. package/dist-server/service/privacy-record/privacy-record-rules.js.map +1 -0
  260. package/dist-server/service/privacy-record/privacy-record-service.d.ts +33 -0
  261. package/dist-server/service/privacy-record/privacy-record-service.js +133 -0
  262. package/dist-server/service/privacy-record/privacy-record-service.js.map +1 -0
  263. package/dist-server/service/privacy-record/privacy-record-type.d.ts +40 -0
  264. package/dist-server/service/privacy-record/privacy-record-type.js +153 -0
  265. package/dist-server/service/privacy-record/privacy-record-type.js.map +1 -0
  266. package/dist-server/service/privacy-record/privacy-record.d.ts +69 -0
  267. package/dist-server/service/privacy-record/privacy-record.js +245 -0
  268. package/dist-server/service/privacy-record/privacy-record.js.map +1 -0
  269. package/dist-server/service/regulation/index.d.ts +5 -0
  270. package/dist-server/service/regulation/index.js +9 -0
  271. package/dist-server/service/regulation/index.js.map +1 -0
  272. package/dist-server/service/regulation/regulation-mutation.d.ts +15 -0
  273. package/dist-server/service/regulation/regulation-mutation.js +152 -0
  274. package/dist-server/service/regulation/regulation-mutation.js.map +1 -0
  275. package/dist-server/service/regulation/regulation-query.d.ts +10 -0
  276. package/dist-server/service/regulation/regulation-query.js +109 -0
  277. package/dist-server/service/regulation/regulation-query.js.map +1 -0
  278. package/dist-server/service/regulation/regulation-read.d.ts +21 -0
  279. package/dist-server/service/regulation/regulation-read.js +111 -0
  280. package/dist-server/service/regulation/regulation-read.js.map +1 -0
  281. package/dist-server/service/regulation/regulation-rules.d.ts +83 -0
  282. package/dist-server/service/regulation/regulation-rules.js +170 -0
  283. package/dist-server/service/regulation/regulation-rules.js.map +1 -0
  284. package/dist-server/service/regulation/regulation-service.d.ts +63 -0
  285. package/dist-server/service/regulation/regulation-service.js +365 -0
  286. package/dist-server/service/regulation/regulation-service.js.map +1 -0
  287. package/dist-server/service/regulation/regulation-type.d.ts +61 -0
  288. package/dist-server/service/regulation/regulation-type.js +226 -0
  289. package/dist-server/service/regulation/regulation-type.js.map +1 -0
  290. package/dist-server/service/regulation/regulation.d.ts +113 -0
  291. package/dist-server/service/regulation/regulation.js +382 -0
  292. package/dist-server/service/regulation/regulation.js.map +1 -0
  293. package/dist-server/service/seal-use/index.d.ts +5 -0
  294. package/dist-server/service/seal-use/index.js +9 -0
  295. package/dist-server/service/seal-use/index.js.map +1 -0
  296. package/dist-server/service/seal-use/seal-use-mutation.d.ts +8 -0
  297. package/dist-server/service/seal-use/seal-use-mutation.js +69 -0
  298. package/dist-server/service/seal-use/seal-use-mutation.js.map +1 -0
  299. package/dist-server/service/seal-use/seal-use-query.d.ts +14 -0
  300. package/dist-server/service/seal-use/seal-use-query.js +100 -0
  301. package/dist-server/service/seal-use/seal-use-query.js.map +1 -0
  302. package/dist-server/service/seal-use/seal-use-rules.d.ts +35 -0
  303. package/dist-server/service/seal-use/seal-use-rules.js +64 -0
  304. package/dist-server/service/seal-use/seal-use-rules.js.map +1 -0
  305. package/dist-server/service/seal-use/seal-use-service.d.ts +20 -0
  306. package/dist-server/service/seal-use/seal-use-service.js +168 -0
  307. package/dist-server/service/seal-use/seal-use-service.js.map +1 -0
  308. package/dist-server/service/seal-use/seal-use-type.d.ts +24 -0
  309. package/dist-server/service/seal-use/seal-use-type.js +93 -0
  310. package/dist-server/service/seal-use/seal-use-type.js.map +1 -0
  311. package/dist-server/service/seal-use/seal-use.d.ts +57 -0
  312. package/dist-server/service/seal-use/seal-use.js +181 -0
  313. package/dist-server/service/seal-use/seal-use.js.map +1 -0
  314. package/dist-server/service/training/index.d.ts +5 -0
  315. package/dist-server/service/training/index.js +9 -0
  316. package/dist-server/service/training/index.js.map +1 -0
  317. package/dist-server/service/training/training-checks.d.ts +20 -0
  318. package/dist-server/service/training/training-checks.js +56 -0
  319. package/dist-server/service/training/training-checks.js.map +1 -0
  320. package/dist-server/service/training/training-kinds.d.ts +24 -0
  321. package/dist-server/service/training/training-kinds.js +42 -0
  322. package/dist-server/service/training/training-kinds.js.map +1 -0
  323. package/dist-server/service/training/training-mutation.d.ts +14 -0
  324. package/dist-server/service/training/training-mutation.js +140 -0
  325. package/dist-server/service/training/training-mutation.js.map +1 -0
  326. package/dist-server/service/training/training-query.d.ts +21 -0
  327. package/dist-server/service/training/training-query.js +196 -0
  328. package/dist-server/service/training/training-query.js.map +1 -0
  329. package/dist-server/service/training/training-read.d.ts +5 -0
  330. package/dist-server/service/training/training-read.js +35 -0
  331. package/dist-server/service/training/training-read.js.map +1 -0
  332. package/dist-server/service/training/training-register.d.ts +1 -0
  333. package/dist-server/service/training/training-register.js +27 -0
  334. package/dist-server/service/training/training-register.js.map +1 -0
  335. package/dist-server/service/training/training-rules.d.ts +72 -0
  336. package/dist-server/service/training/training-rules.js +143 -0
  337. package/dist-server/service/training/training-rules.js.map +1 -0
  338. package/dist-server/service/training/training-service.d.ts +98 -0
  339. package/dist-server/service/training/training-service.js +455 -0
  340. package/dist-server/service/training/training-service.js.map +1 -0
  341. package/dist-server/service/training/training-type.d.ts +94 -0
  342. package/dist-server/service/training/training-type.js +352 -0
  343. package/dist-server/service/training/training-type.js.map +1 -0
  344. package/dist-server/service/training/training.d.ts +127 -0
  345. package/dist-server/service/training/training.js +448 -0
  346. package/dist-server/service/training/training.js.map +1 -0
  347. package/dist-server/tsconfig.tsbuildinfo +1 -0
  348. package/package.json +61 -4
  349. package/things-factory.config.js +19 -0
  350. package/translations/en.json +610 -0
  351. package/translations/es.json +610 -0
  352. package/translations/ja.json +610 -0
  353. package/translations/ko.json +610 -0
  354. package/translations/ms.json +610 -0
  355. package/translations/zh.json +610 -0
  356. package/README.md +0 -3
@@ -0,0 +1,153 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrivacyIncidentList = exports.PrivacyRequestList = exports.PrivacyIncidentPatch = exports.PrivacyRequestPatch = exports.NewMyPrivacyRequest = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const type_graphql_1 = require("type-graphql");
6
+ const privacy_record_1 = require("./privacy-record");
7
+ let NewMyPrivacyRequest = class NewMyPrivacyRequest {
8
+ };
9
+ exports.NewMyPrivacyRequest = NewMyPrivacyRequest;
10
+ tslib_1.__decorate([
11
+ (0, type_graphql_1.Field)(type => privacy_record_1.PrivacyRequestKind),
12
+ tslib_1.__metadata("design:type", String)
13
+ ], NewMyPrivacyRequest.prototype, "kind", void 0);
14
+ tslib_1.__decorate([
15
+ (0, type_graphql_1.Field)({ description: 'What is asked' }),
16
+ tslib_1.__metadata("design:type", String)
17
+ ], NewMyPrivacyRequest.prototype, "details", void 0);
18
+ exports.NewMyPrivacyRequest = NewMyPrivacyRequest = tslib_1.__decorate([
19
+ (0, type_graphql_1.InputType)({ description: 'A request an employee raises of their own personal information' })
20
+ ], NewMyPrivacyRequest);
21
+ let PrivacyRequestPatch = class PrivacyRequestPatch {
22
+ };
23
+ exports.PrivacyRequestPatch = PrivacyRequestPatch;
24
+ tslib_1.__decorate([
25
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
26
+ tslib_1.__metadata("design:type", String)
27
+ ], PrivacyRequestPatch.prototype, "id", void 0);
28
+ tslib_1.__decorate([
29
+ (0, type_graphql_1.Field)({ nullable: true, description: '+ new, M changed' }),
30
+ tslib_1.__metadata("design:type", String)
31
+ ], PrivacyRequestPatch.prototype, "cuFlag", void 0);
32
+ tslib_1.__decorate([
33
+ (0, type_graphql_1.Field)({ nullable: true, description: 'The employee who asked' }),
34
+ tslib_1.__metadata("design:type", String)
35
+ ], PrivacyRequestPatch.prototype, "requesterEmployeeId", void 0);
36
+ tslib_1.__decorate([
37
+ (0, type_graphql_1.Field)({ nullable: true }),
38
+ tslib_1.__metadata("design:type", String)
39
+ ], PrivacyRequestPatch.prototype, "requesterName", void 0);
40
+ tslib_1.__decorate([
41
+ (0, type_graphql_1.Field)({ nullable: true }),
42
+ tslib_1.__metadata("design:type", String)
43
+ ], PrivacyRequestPatch.prototype, "requesterContact", void 0);
44
+ tslib_1.__decorate([
45
+ (0, type_graphql_1.Field)(type => privacy_record_1.PrivacyRequestKind, { nullable: true }),
46
+ tslib_1.__metadata("design:type", String)
47
+ ], PrivacyRequestPatch.prototype, "kind", void 0);
48
+ tslib_1.__decorate([
49
+ (0, type_graphql_1.Field)({ nullable: true }),
50
+ tslib_1.__metadata("design:type", String)
51
+ ], PrivacyRequestPatch.prototype, "details", void 0);
52
+ tslib_1.__decorate([
53
+ (0, type_graphql_1.Field)({ nullable: true, description: 'YYYY-MM-DD' }),
54
+ tslib_1.__metadata("design:type", String)
55
+ ], PrivacyRequestPatch.prototype, "receivedOn", void 0);
56
+ tslib_1.__decorate([
57
+ (0, type_graphql_1.Field)({ nullable: true, description: 'YYYY-MM-DD' }),
58
+ tslib_1.__metadata("design:type", String)
59
+ ], PrivacyRequestPatch.prototype, "extendedDueOn", void 0);
60
+ tslib_1.__decorate([
61
+ (0, type_graphql_1.Field)({ nullable: true }),
62
+ tslib_1.__metadata("design:type", String)
63
+ ], PrivacyRequestPatch.prototype, "extensionReason", void 0);
64
+ tslib_1.__decorate([
65
+ (0, type_graphql_1.Field)({ nullable: true }),
66
+ tslib_1.__metadata("design:type", String)
67
+ ], PrivacyRequestPatch.prototype, "handling", void 0);
68
+ tslib_1.__decorate([
69
+ (0, type_graphql_1.Field)({ nullable: true, description: 'YYYY-MM-DD' }),
70
+ tslib_1.__metadata("design:type", String)
71
+ ], PrivacyRequestPatch.prototype, "repliedOn", void 0);
72
+ exports.PrivacyRequestPatch = PrivacyRequestPatch = tslib_1.__decorate([
73
+ (0, type_graphql_1.InputType)({ description: 'A request as the manager writes it - a new one (cuFlag +) or its handling (M); a value already written changes with a correction kept' })
74
+ ], PrivacyRequestPatch);
75
+ let PrivacyIncidentPatch = class PrivacyIncidentPatch {
76
+ };
77
+ exports.PrivacyIncidentPatch = PrivacyIncidentPatch;
78
+ tslib_1.__decorate([
79
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
80
+ tslib_1.__metadata("design:type", String)
81
+ ], PrivacyIncidentPatch.prototype, "id", void 0);
82
+ tslib_1.__decorate([
83
+ (0, type_graphql_1.Field)({ nullable: true, description: '+ new, M changed' }),
84
+ tslib_1.__metadata("design:type", String)
85
+ ], PrivacyIncidentPatch.prototype, "cuFlag", void 0);
86
+ tslib_1.__decorate([
87
+ (0, type_graphql_1.Field)({ nullable: true }),
88
+ tslib_1.__metadata("design:type", Date)
89
+ ], PrivacyIncidentPatch.prototype, "knownAt", void 0);
90
+ tslib_1.__decorate([
91
+ (0, type_graphql_1.Field)(type => privacy_record_1.PrivacyIncidentCertainty, { nullable: true }),
92
+ tslib_1.__metadata("design:type", String)
93
+ ], PrivacyIncidentPatch.prototype, "certainty", void 0);
94
+ tslib_1.__decorate([
95
+ (0, type_graphql_1.Field)({ nullable: true }),
96
+ tslib_1.__metadata("design:type", String)
97
+ ], PrivacyIncidentPatch.prototype, "items", void 0);
98
+ tslib_1.__decorate([
99
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
100
+ tslib_1.__metadata("design:type", Number)
101
+ ], PrivacyIncidentPatch.prototype, "subjectCount", void 0);
102
+ tslib_1.__decorate([
103
+ (0, type_graphql_1.Field)({ nullable: true }),
104
+ tslib_1.__metadata("design:type", Date)
105
+ ], PrivacyIncidentPatch.prototype, "subjectsToldAt", void 0);
106
+ tslib_1.__decorate([
107
+ (0, type_graphql_1.Field)({ nullable: true }),
108
+ tslib_1.__metadata("design:type", String)
109
+ ], PrivacyIncidentPatch.prototype, "subjectsToldHow", void 0);
110
+ tslib_1.__decorate([
111
+ (0, type_graphql_1.Field)({ nullable: true }),
112
+ tslib_1.__metadata("design:type", Date)
113
+ ], PrivacyIncidentPatch.prototype, "reportedAt", void 0);
114
+ tslib_1.__decorate([
115
+ (0, type_graphql_1.Field)({ nullable: true }),
116
+ tslib_1.__metadata("design:type", String)
117
+ ], PrivacyIncidentPatch.prototype, "reportReceiptNo", void 0);
118
+ tslib_1.__decorate([
119
+ (0, type_graphql_1.Field)({ nullable: true }),
120
+ tslib_1.__metadata("design:type", String)
121
+ ], PrivacyIncidentPatch.prototype, "measures", void 0);
122
+ exports.PrivacyIncidentPatch = PrivacyIncidentPatch = tslib_1.__decorate([
123
+ (0, type_graphql_1.InputType)({ description: 'An incident as the manager writes it - a new one (cuFlag +) or what followed (M); a value already written changes with a correction kept' })
124
+ ], PrivacyIncidentPatch);
125
+ let PrivacyRequestList = class PrivacyRequestList {
126
+ };
127
+ exports.PrivacyRequestList = PrivacyRequestList;
128
+ tslib_1.__decorate([
129
+ (0, type_graphql_1.Field)(type => [privacy_record_1.PrivacyRequest]),
130
+ tslib_1.__metadata("design:type", Array)
131
+ ], PrivacyRequestList.prototype, "items", void 0);
132
+ tslib_1.__decorate([
133
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int),
134
+ tslib_1.__metadata("design:type", Number)
135
+ ], PrivacyRequestList.prototype, "total", void 0);
136
+ exports.PrivacyRequestList = PrivacyRequestList = tslib_1.__decorate([
137
+ (0, type_graphql_1.ObjectType)({ description: 'A page of privacy requests' })
138
+ ], PrivacyRequestList);
139
+ let PrivacyIncidentList = class PrivacyIncidentList {
140
+ };
141
+ exports.PrivacyIncidentList = PrivacyIncidentList;
142
+ tslib_1.__decorate([
143
+ (0, type_graphql_1.Field)(type => [privacy_record_1.PrivacyIncident]),
144
+ tslib_1.__metadata("design:type", Array)
145
+ ], PrivacyIncidentList.prototype, "items", void 0);
146
+ tslib_1.__decorate([
147
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int),
148
+ tslib_1.__metadata("design:type", Number)
149
+ ], PrivacyIncidentList.prototype, "total", void 0);
150
+ exports.PrivacyIncidentList = PrivacyIncidentList = tslib_1.__decorate([
151
+ (0, type_graphql_1.ObjectType)({ description: 'A page of privacy incidents' })
152
+ ], PrivacyIncidentList);
153
+ //# sourceMappingURL=privacy-record-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privacy-record-type.js","sourceRoot":"","sources":["../../../server/service/privacy-record/privacy-record-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AAEpE,qDAAgH;AAGzG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAG/B,CAAA;AAHY,kDAAmB;AACK;IAAlC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,mCAAkB,CAAC;;iDAAyB;AAClB;IAAxC,IAAA,oBAAK,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;;oDAAgB;8BAF7C,mBAAmB;IAD/B,IAAA,wBAAS,EAAC,EAAE,WAAW,EAAE,gEAAgE,EAAE,CAAC;GAChF,mBAAmB,CAG/B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAa/B,CAAA;AAbY,kDAAmB;AACS;IAAtC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAAY;AACU;IAA3D,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE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A,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;iDAAc;6BAFtB,kBAAkB;IAD9B,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,4BAA4B,EAAE,CAAC;GAC7C,kBAAkB,CAG9B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAG/B,CAAA;AAHY,kDAAmB;AACI;IAAjC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,gCAAe,CAAC,CAAC;;kDAAyB;AACtC;IAAnB,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;kDAAc;8BAFtB,mBAAmB;IAD/B,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;GAC9C,mBAAmB,CAG/B","sourcesContent":["import { Field, ID, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { PrivacyIncident, PrivacyIncidentCertainty, PrivacyRequest, PrivacyRequestKind } from './privacy-record'\n\n@InputType({ description: 'A request an employee raises of their own personal information' })\nexport class NewMyPrivacyRequest {\n @Field(type => PrivacyRequestKind) kind: PrivacyRequestKind\n @Field({ description: 'What is asked' }) details: string\n}\n\n@InputType({ description: 'A request as the manager writes it - a new one (cuFlag +) or its handling (M); a value already written changes with a correction kept' })\nexport class PrivacyRequestPatch {\n @Field(type => ID, { nullable: true }) id?: string\n @Field({ nullable: true, description: '+ new, M changed' }) cuFlag?: string\n @Field({ nullable: true, description: 'The employee who asked' }) requesterEmployeeId?: string\n @Field({ nullable: true }) requesterName?: string\n @Field({ nullable: true }) requesterContact?: string\n @Field(type => PrivacyRequestKind, { nullable: true }) kind?: PrivacyRequestKind\n @Field({ nullable: true }) details?: string\n @Field({ nullable: true, description: 'YYYY-MM-DD' }) receivedOn?: string\n @Field({ nullable: true, description: 'YYYY-MM-DD' }) extendedDueOn?: string\n @Field({ nullable: true }) extensionReason?: string\n @Field({ nullable: true }) handling?: string\n @Field({ nullable: true, description: 'YYYY-MM-DD' }) repliedOn?: string\n}\n\n@InputType({ description: 'An incident as the manager writes it - a new one (cuFlag +) or what followed (M); a value already written changes with a correction kept' })\nexport class PrivacyIncidentPatch {\n @Field(type => ID, { nullable: true }) id?: string\n @Field({ nullable: true, description: '+ new, M changed' }) cuFlag?: string\n @Field({ nullable: true }) knownAt?: Date\n @Field(type => PrivacyIncidentCertainty, { nullable: true }) certainty?: PrivacyIncidentCertainty\n @Field({ nullable: true }) items?: string\n @Field(type => Int, { nullable: true }) subjectCount?: number\n @Field({ nullable: true }) subjectsToldAt?: Date\n @Field({ nullable: true }) subjectsToldHow?: string\n @Field({ nullable: true }) reportedAt?: Date\n @Field({ nullable: true }) reportReceiptNo?: string\n @Field({ nullable: true }) measures?: string\n}\n\n@ObjectType({ description: 'A page of privacy requests' })\nexport class PrivacyRequestList {\n @Field(type => [PrivacyRequest]) items: PrivacyRequest[]\n @Field(type => Int) total: number\n}\n\n@ObjectType({ description: 'A page of privacy incidents' })\nexport class PrivacyIncidentList {\n @Field(type => [PrivacyIncident]) items: PrivacyIncident[]\n @Field(type => Int) total: number\n}\n"]}
@@ -0,0 +1,69 @@
1
+ import { User } from '@things-factory/auth-base';
2
+ import { Employee } from '@things-factory/organization';
3
+ import { Domain } from '@things-factory/shell';
4
+ /** What a person asked of their personal information (개인정보보호법 §35~§37). */
5
+ export declare enum PrivacyRequestKind {
6
+ ACCESS = "ACCESS",
7
+ CORRECTION = "CORRECTION",
8
+ DELETION = "DELETION",
9
+ SUSPENSION = "SUSPENSION"
10
+ }
11
+ /** Whether a leak is known for sure, or only possible - a possible one is told too (2026-09-11 amendment). */
12
+ export declare enum PrivacyIncidentCertainty {
13
+ CONFIRMED = "CONFIRMED",
14
+ POSSIBLE = "POSSIBLE"
15
+ }
16
+ /**
17
+ * 개인정보 요구 (ADR-0187 decision 22) - a person's request to see, correct, delete or stop the processing of their
18
+ * personal information: who asked, when it came, the day it is due, an extension and why, how it was handled and the
19
+ * day it was answered. An employee raises their own; the manager writes down one from outside.
20
+ */
21
+ export declare class PrivacyRequest {
22
+ readonly id: string;
23
+ domain?: Domain;
24
+ domainId?: string;
25
+ requesterEmployee?: Employee;
26
+ requesterEmployeeId?: string;
27
+ requesterName?: string;
28
+ requesterContact?: string;
29
+ kind: PrivacyRequestKind;
30
+ details: string;
31
+ receivedOn: string;
32
+ dueOn: string;
33
+ extendedDueOn?: string;
34
+ extensionReason?: string;
35
+ handling?: string;
36
+ repliedOn?: string;
37
+ createdAt?: Date;
38
+ updatedAt?: Date;
39
+ creator?: User;
40
+ creatorId?: string;
41
+ updater?: User;
42
+ updaterId?: string;
43
+ }
44
+ /**
45
+ * 개인정보 유출 사고 (ADR-0187 decision 22 · 개인정보보호법 §34) - a leak known, or possible: when it became known and the
46
+ * moment 72 hours on that it is due by, which items and how many people, when and how the subjects were told, when it
47
+ * was reported to the PIPC and KISA with the receipt number, and what was done.
48
+ */
49
+ export declare class PrivacyIncident {
50
+ readonly id: string;
51
+ domain?: Domain;
52
+ domainId?: string;
53
+ knownAt: Date;
54
+ dueAt: Date;
55
+ certainty: PrivacyIncidentCertainty;
56
+ items: string;
57
+ subjectCount?: number;
58
+ subjectsToldAt?: Date;
59
+ subjectsToldHow?: string;
60
+ reportedAt?: Date;
61
+ reportReceiptNo?: string;
62
+ measures?: string;
63
+ createdAt?: Date;
64
+ updatedAt?: Date;
65
+ creator?: User;
66
+ creatorId?: string;
67
+ updater?: User;
68
+ updaterId?: string;
69
+ }
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrivacyIncident = exports.PrivacyRequest = exports.PrivacyIncidentCertainty = exports.PrivacyRequestKind = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const type_graphql_1 = require("type-graphql");
6
+ const typeorm_1 = require("typeorm");
7
+ const auth_base_1 = require("@things-factory/auth-base");
8
+ const organization_1 = require("@things-factory/organization");
9
+ const shell_1 = require("@things-factory/shell");
10
+ /** What a person asked of their personal information (개인정보보호법 §35~§37). */
11
+ var PrivacyRequestKind;
12
+ (function (PrivacyRequestKind) {
13
+ PrivacyRequestKind["ACCESS"] = "ACCESS";
14
+ PrivacyRequestKind["CORRECTION"] = "CORRECTION";
15
+ PrivacyRequestKind["DELETION"] = "DELETION";
16
+ PrivacyRequestKind["SUSPENSION"] = "SUSPENSION";
17
+ })(PrivacyRequestKind || (exports.PrivacyRequestKind = PrivacyRequestKind = {}));
18
+ (0, type_graphql_1.registerEnumType)(PrivacyRequestKind, { name: 'PrivacyRequestKind', description: '열람 · 정정 · 삭제 · 처리정지' });
19
+ /** Whether a leak is known for sure, or only possible - a possible one is told too (2026-09-11 amendment). */
20
+ var PrivacyIncidentCertainty;
21
+ (function (PrivacyIncidentCertainty) {
22
+ PrivacyIncidentCertainty["CONFIRMED"] = "CONFIRMED";
23
+ PrivacyIncidentCertainty["POSSIBLE"] = "POSSIBLE";
24
+ })(PrivacyIncidentCertainty || (exports.PrivacyIncidentCertainty = PrivacyIncidentCertainty = {}));
25
+ (0, type_graphql_1.registerEnumType)(PrivacyIncidentCertainty, { name: 'PrivacyIncidentCertainty', description: 'confirmed, or possible' });
26
+ /**
27
+ * 개인정보 요구 (ADR-0187 decision 22) - a person's request to see, correct, delete or stop the processing of their
28
+ * personal information: who asked, when it came, the day it is due, an extension and why, how it was handled and the
29
+ * day it was answered. An employee raises their own; the manager writes down one from outside.
30
+ */
31
+ let PrivacyRequest = class PrivacyRequest {
32
+ };
33
+ exports.PrivacyRequest = PrivacyRequest;
34
+ tslib_1.__decorate([
35
+ (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
36
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID),
37
+ tslib_1.__metadata("design:type", String)
38
+ ], PrivacyRequest.prototype, "id", void 0);
39
+ tslib_1.__decorate([
40
+ (0, typeorm_1.ManyToOne)(type => shell_1.Domain),
41
+ (0, type_graphql_1.Field)(type => shell_1.Domain, { nullable: true }),
42
+ tslib_1.__metadata("design:type", shell_1.Domain)
43
+ ], PrivacyRequest.prototype, "domain", void 0);
44
+ tslib_1.__decorate([
45
+ (0, typeorm_1.RelationId)((row) => row.domain),
46
+ tslib_1.__metadata("design:type", String)
47
+ ], PrivacyRequest.prototype, "domainId", void 0);
48
+ tslib_1.__decorate([
49
+ (0, typeorm_1.ManyToOne)(type => organization_1.Employee, { nullable: true }),
50
+ (0, type_graphql_1.Field)(type => organization_1.Employee, { nullable: true, description: 'The employee who asked - empty for one from outside' }),
51
+ tslib_1.__metadata("design:type", organization_1.Employee)
52
+ ], PrivacyRequest.prototype, "requesterEmployee", void 0);
53
+ tslib_1.__decorate([
54
+ (0, typeorm_1.RelationId)((row) => row.requesterEmployee),
55
+ tslib_1.__metadata("design:type", String)
56
+ ], PrivacyRequest.prototype, "requesterEmployeeId", void 0);
57
+ tslib_1.__decorate([
58
+ (0, typeorm_1.Column)({ nullable: true }),
59
+ (0, type_graphql_1.Field)({ nullable: true, description: 'The name of one from outside who asked' }),
60
+ tslib_1.__metadata("design:type", String)
61
+ ], PrivacyRequest.prototype, "requesterName", void 0);
62
+ tslib_1.__decorate([
63
+ (0, typeorm_1.Column)({ nullable: true }),
64
+ (0, type_graphql_1.Field)({ nullable: true, description: 'How to reach one from outside who asked' }),
65
+ tslib_1.__metadata("design:type", String)
66
+ ], PrivacyRequest.prototype, "requesterContact", void 0);
67
+ tslib_1.__decorate([
68
+ (0, typeorm_1.Column)(),
69
+ (0, type_graphql_1.Field)(type => PrivacyRequestKind),
70
+ tslib_1.__metadata("design:type", String)
71
+ ], PrivacyRequest.prototype, "kind", void 0);
72
+ tslib_1.__decorate([
73
+ (0, typeorm_1.Column)({ type: 'text' }),
74
+ (0, type_graphql_1.Field)({ description: 'What was asked' }),
75
+ tslib_1.__metadata("design:type", String)
76
+ ], PrivacyRequest.prototype, "details", void 0);
77
+ tslib_1.__decorate([
78
+ (0, typeorm_1.Column)(),
79
+ (0, type_graphql_1.Field)({ description: 'YYYY-MM-DD it was received' }),
80
+ tslib_1.__metadata("design:type", String)
81
+ ], PrivacyRequest.prototype, "receivedOn", void 0);
82
+ tslib_1.__decorate([
83
+ (0, typeorm_1.Column)(),
84
+ (0, type_graphql_1.Field)({ description: 'YYYY-MM-DD it is due - ten days from its receipt' }),
85
+ tslib_1.__metadata("design:type", String)
86
+ ], PrivacyRequest.prototype, "dueOn", void 0);
87
+ tslib_1.__decorate([
88
+ (0, typeorm_1.Column)({ nullable: true }),
89
+ (0, type_graphql_1.Field)({ nullable: true, description: 'YYYY-MM-DD it is due once extended' }),
90
+ tslib_1.__metadata("design:type", String)
91
+ ], PrivacyRequest.prototype, "extendedDueOn", void 0);
92
+ tslib_1.__decorate([
93
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
94
+ (0, type_graphql_1.Field)({ nullable: true, description: 'Why it was extended - told to the one who asked' }),
95
+ tslib_1.__metadata("design:type", String)
96
+ ], PrivacyRequest.prototype, "extensionReason", void 0);
97
+ tslib_1.__decorate([
98
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
99
+ (0, type_graphql_1.Field)({ nullable: true, description: 'How it was handled - what was shown, corrected, deleted or stopped, or why not' }),
100
+ tslib_1.__metadata("design:type", String)
101
+ ], PrivacyRequest.prototype, "handling", void 0);
102
+ tslib_1.__decorate([
103
+ (0, typeorm_1.Column)({ nullable: true }),
104
+ (0, type_graphql_1.Field)({ nullable: true, description: 'YYYY-MM-DD it was answered' }),
105
+ tslib_1.__metadata("design:type", String)
106
+ ], PrivacyRequest.prototype, "repliedOn", void 0);
107
+ tslib_1.__decorate([
108
+ (0, typeorm_1.CreateDateColumn)(),
109
+ (0, type_graphql_1.Field)({ nullable: true }),
110
+ tslib_1.__metadata("design:type", Date)
111
+ ], PrivacyRequest.prototype, "createdAt", void 0);
112
+ tslib_1.__decorate([
113
+ (0, typeorm_1.UpdateDateColumn)(),
114
+ (0, type_graphql_1.Field)({ nullable: true }),
115
+ tslib_1.__metadata("design:type", Date)
116
+ ], PrivacyRequest.prototype, "updatedAt", void 0);
117
+ tslib_1.__decorate([
118
+ (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
119
+ (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
120
+ tslib_1.__metadata("design:type", auth_base_1.User)
121
+ ], PrivacyRequest.prototype, "creator", void 0);
122
+ tslib_1.__decorate([
123
+ (0, typeorm_1.RelationId)((row) => row.creator),
124
+ tslib_1.__metadata("design:type", String)
125
+ ], PrivacyRequest.prototype, "creatorId", void 0);
126
+ tslib_1.__decorate([
127
+ (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
128
+ (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
129
+ tslib_1.__metadata("design:type", auth_base_1.User)
130
+ ], PrivacyRequest.prototype, "updater", void 0);
131
+ tslib_1.__decorate([
132
+ (0, typeorm_1.RelationId)((row) => row.updater),
133
+ tslib_1.__metadata("design:type", String)
134
+ ], PrivacyRequest.prototype, "updaterId", void 0);
135
+ exports.PrivacyRequest = PrivacyRequest = tslib_1.__decorate([
136
+ (0, typeorm_1.Entity)({ name: 'compliance_privacy_requests' }),
137
+ (0, typeorm_1.Index)('ix_compliance_privacy_request_0', (row) => [row.domain, row.receivedOn]),
138
+ (0, type_graphql_1.ObjectType)({ description: 'Entity for PrivacyRequest - a request to see, correct, delete or stop the processing of personal information' })
139
+ ], PrivacyRequest);
140
+ /**
141
+ * 개인정보 유출 사고 (ADR-0187 decision 22 · 개인정보보호법 §34) - a leak known, or possible: when it became known and the
142
+ * moment 72 hours on that it is due by, which items and how many people, when and how the subjects were told, when it
143
+ * was reported to the PIPC and KISA with the receipt number, and what was done.
144
+ */
145
+ let PrivacyIncident = class PrivacyIncident {
146
+ };
147
+ exports.PrivacyIncident = PrivacyIncident;
148
+ tslib_1.__decorate([
149
+ (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
150
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID),
151
+ tslib_1.__metadata("design:type", String)
152
+ ], PrivacyIncident.prototype, "id", void 0);
153
+ tslib_1.__decorate([
154
+ (0, typeorm_1.ManyToOne)(type => shell_1.Domain),
155
+ (0, type_graphql_1.Field)(type => shell_1.Domain, { nullable: true }),
156
+ tslib_1.__metadata("design:type", shell_1.Domain)
157
+ ], PrivacyIncident.prototype, "domain", void 0);
158
+ tslib_1.__decorate([
159
+ (0, typeorm_1.RelationId)((row) => row.domain),
160
+ tslib_1.__metadata("design:type", String)
161
+ ], PrivacyIncident.prototype, "domainId", void 0);
162
+ tslib_1.__decorate([
163
+ (0, typeorm_1.Column)(),
164
+ (0, type_graphql_1.Field)({ description: 'When it became known' }),
165
+ tslib_1.__metadata("design:type", Date)
166
+ ], PrivacyIncident.prototype, "knownAt", void 0);
167
+ tslib_1.__decorate([
168
+ (0, typeorm_1.Column)(),
169
+ (0, type_graphql_1.Field)({ description: 'When it is to be reported and told by - 72 hours from its being known' }),
170
+ tslib_1.__metadata("design:type", Date)
171
+ ], PrivacyIncident.prototype, "dueAt", void 0);
172
+ tslib_1.__decorate([
173
+ (0, typeorm_1.Column)(),
174
+ (0, type_graphql_1.Field)(type => PrivacyIncidentCertainty),
175
+ tslib_1.__metadata("design:type", String)
176
+ ], PrivacyIncident.prototype, "certainty", void 0);
177
+ tslib_1.__decorate([
178
+ (0, typeorm_1.Column)({ type: 'text' }),
179
+ (0, type_graphql_1.Field)({ description: 'The items of personal information' }),
180
+ tslib_1.__metadata("design:type", String)
181
+ ], PrivacyIncident.prototype, "items", void 0);
182
+ tslib_1.__decorate([
183
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
184
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true, description: 'How many people it is of' }),
185
+ tslib_1.__metadata("design:type", Number)
186
+ ], PrivacyIncident.prototype, "subjectCount", void 0);
187
+ tslib_1.__decorate([
188
+ (0, typeorm_1.Column)({ nullable: true }),
189
+ (0, type_graphql_1.Field)({ nullable: true, description: 'When the people it is of were told' }),
190
+ tslib_1.__metadata("design:type", Date)
191
+ ], PrivacyIncident.prototype, "subjectsToldAt", void 0);
192
+ tslib_1.__decorate([
193
+ (0, typeorm_1.Column)({ nullable: true }),
194
+ (0, type_graphql_1.Field)({ nullable: true, description: 'How they were told - mail, text message, the homepage' }),
195
+ tslib_1.__metadata("design:type", String)
196
+ ], PrivacyIncident.prototype, "subjectsToldHow", void 0);
197
+ tslib_1.__decorate([
198
+ (0, typeorm_1.Column)({ nullable: true }),
199
+ (0, type_graphql_1.Field)({ nullable: true, description: 'When it was reported to the PIPC and KISA' }),
200
+ tslib_1.__metadata("design:type", Date)
201
+ ], PrivacyIncident.prototype, "reportedAt", void 0);
202
+ tslib_1.__decorate([
203
+ (0, typeorm_1.Column)({ nullable: true }),
204
+ (0, type_graphql_1.Field)({ nullable: true, description: 'The receipt number of the report' }),
205
+ tslib_1.__metadata("design:type", String)
206
+ ], PrivacyIncident.prototype, "reportReceiptNo", void 0);
207
+ tslib_1.__decorate([
208
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
209
+ (0, type_graphql_1.Field)({ nullable: true, description: 'What was done - stopping it, the damage relief, keeping it from happening again' }),
210
+ tslib_1.__metadata("design:type", String)
211
+ ], PrivacyIncident.prototype, "measures", void 0);
212
+ tslib_1.__decorate([
213
+ (0, typeorm_1.CreateDateColumn)(),
214
+ (0, type_graphql_1.Field)({ nullable: true }),
215
+ tslib_1.__metadata("design:type", Date)
216
+ ], PrivacyIncident.prototype, "createdAt", void 0);
217
+ tslib_1.__decorate([
218
+ (0, typeorm_1.UpdateDateColumn)(),
219
+ (0, type_graphql_1.Field)({ nullable: true }),
220
+ tslib_1.__metadata("design:type", Date)
221
+ ], PrivacyIncident.prototype, "updatedAt", void 0);
222
+ tslib_1.__decorate([
223
+ (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
224
+ (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
225
+ tslib_1.__metadata("design:type", auth_base_1.User)
226
+ ], PrivacyIncident.prototype, "creator", void 0);
227
+ tslib_1.__decorate([
228
+ (0, typeorm_1.RelationId)((row) => row.creator),
229
+ tslib_1.__metadata("design:type", String)
230
+ ], PrivacyIncident.prototype, "creatorId", void 0);
231
+ tslib_1.__decorate([
232
+ (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
233
+ (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
234
+ tslib_1.__metadata("design:type", auth_base_1.User)
235
+ ], PrivacyIncident.prototype, "updater", void 0);
236
+ tslib_1.__decorate([
237
+ (0, typeorm_1.RelationId)((row) => row.updater),
238
+ tslib_1.__metadata("design:type", String)
239
+ ], PrivacyIncident.prototype, "updaterId", void 0);
240
+ exports.PrivacyIncident = PrivacyIncident = tslib_1.__decorate([
241
+ (0, typeorm_1.Entity)({ name: 'compliance_privacy_incidents' }),
242
+ (0, typeorm_1.Index)('ix_compliance_privacy_incident_0', (row) => [row.domain, row.knownAt]),
243
+ (0, type_graphql_1.ObjectType)({ description: 'Entity for PrivacyIncident - a leak of personal information, known or possible, and its report' })
244
+ ], PrivacyIncident);
245
+ //# sourceMappingURL=privacy-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privacy-record.js","sourceRoot":"","sources":["../../../server/service/privacy-record/privacy-record.ts"],"names":[],"mappings":";;;;AAAA,+CAA2E;AAC3E,qCAAkI;AAElI,yDAAgD;AAChD,+DAAuD;AACvD,iDAA8C;AAE9C,2EAA2E;AAC3E,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,+CAAyB,CAAA;IACzB,2CAAqB,CAAA;IACrB,+CAAyB,CAAA;AAC3B,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,IAAA,+BAAgB,EAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC,CAAA;AAExG,8GAA8G;AAC9G,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AC;IAC3C,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCAC9B,gBAAI;gDAAA;AAGd;IADC,IAAA,oBAAU,EAAC,CAAC,GAAoB,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC;;kDAChC;AAIlB;IAFC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC3C,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCAC9B,gBAAI;gDAAA;AAGd;IADC,IAAA,oBAAU,EAAC,CAAC,GAAoB,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC;;kDAChC;0BAxEP,eAAe;IAH3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;IAChD,IAAA,eAAK,EAAC,kCAAkC,EAAE,CAAC,GAAoB,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC9F,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,gGAAgG,EAAE,CAAC;GACjH,eAAe,CAyE3B","sourcesContent":["import { Field, ID, Int, ObjectType, registerEnumType } from 'type-graphql'\nimport { Column, CreateDateColumn, Entity, Index, ManyToOne, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'\n\nimport { User } from '@things-factory/auth-base'\nimport { Employee } from '@things-factory/organization'\nimport { Domain } from '@things-factory/shell'\n\n/** What a person asked of their personal information (개인정보보호법 §35~§37). */\nexport enum PrivacyRequestKind {\n ACCESS = 'ACCESS',\n CORRECTION = 'CORRECTION',\n DELETION = 'DELETION',\n SUSPENSION = 'SUSPENSION'\n}\n\nregisterEnumType(PrivacyRequestKind, { name: 'PrivacyRequestKind', description: '열람 · 정정 · 삭제 · 처리정지' })\n\n/** Whether a leak is known for sure, or only possible - a possible one is told too (2026-09-11 amendment). */\nexport enum PrivacyIncidentCertainty {\n CONFIRMED = 'CONFIRMED',\n POSSIBLE = 'POSSIBLE'\n}\n\nregisterEnumType(PrivacyIncidentCertainty, { name: 'PrivacyIncidentCertainty', description: 'confirmed, or possible' })\n\n/**\n * 개인정보 요구 (ADR-0187 decision 22) - a person's request to see, correct, delete or stop the processing of their\n * personal information: who asked, when it came, the day it is due, an extension and why, how it was handled and the\n * day it was answered. An employee raises their own; the manager writes down one from outside.\n */\n@Entity({ name: 'compliance_privacy_requests' })\n@Index('ix_compliance_privacy_request_0', (row: PrivacyRequest) => [row.domain, row.receivedOn])\n@ObjectType({ description: 'Entity for PrivacyRequest - a request to see, correct, delete or stop the processing of personal information' })\nexport class PrivacyRequest {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field(type => Domain, { nullable: true })\n domain?: Domain\n\n @RelationId((row: PrivacyRequest) => row.domain)\n domainId?: string\n\n @ManyToOne(type => Employee, { nullable: true })\n @Field(type => Employee, { nullable: true, description: 'The employee who asked - empty for one from outside' })\n requesterEmployee?: Employee\n\n @RelationId((row: PrivacyRequest) => row.requesterEmployee)\n requesterEmployeeId?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'The name of one from outside who asked' })\n requesterName?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'How to reach one from outside who asked' })\n requesterContact?: string\n\n @Column()\n @Field(type => PrivacyRequestKind)\n kind: PrivacyRequestKind\n\n @Column({ type: 'text' })\n @Field({ description: 'What was asked' })\n details: string\n\n @Column()\n @Field({ description: 'YYYY-MM-DD it was received' })\n receivedOn: string\n\n @Column()\n @Field({ description: 'YYYY-MM-DD it is due - ten days from its receipt' })\n dueOn: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'YYYY-MM-DD it is due once extended' })\n extendedDueOn?: string\n\n @Column({ type: 'text', nullable: true })\n @Field({ nullable: true, description: 'Why it was extended - told to the one who asked' })\n extensionReason?: string\n\n @Column({ type: 'text', nullable: true })\n @Field({ nullable: true, description: 'How it was handled - what was shown, corrected, deleted or stopped, or why not' })\n handling?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'YYYY-MM-DD it was answered' })\n repliedOn?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((row: PrivacyRequest) => row.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((row: PrivacyRequest) => row.updater)\n updaterId?: string\n}\n\n/**\n * 개인정보 유출 사고 (ADR-0187 decision 22 · 개인정보보호법 §34) - a leak known, or possible: when it became known and the\n * moment 72 hours on that it is due by, which items and how many people, when and how the subjects were told, when it\n * was reported to the PIPC and KISA with the receipt number, and what was done.\n */\n@Entity({ name: 'compliance_privacy_incidents' })\n@Index('ix_compliance_privacy_incident_0', (row: PrivacyIncident) => [row.domain, row.knownAt])\n@ObjectType({ description: 'Entity for PrivacyIncident - a leak of personal information, known or possible, and its report' })\nexport class PrivacyIncident {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field(type => Domain, { nullable: true })\n domain?: Domain\n\n @RelationId((row: PrivacyIncident) => row.domain)\n domainId?: string\n\n @Column()\n @Field({ description: 'When it became known' })\n knownAt: Date\n\n @Column()\n @Field({ description: 'When it is to be reported and told by - 72 hours from its being known' })\n dueAt: Date\n\n @Column()\n @Field(type => PrivacyIncidentCertainty)\n certainty: PrivacyIncidentCertainty\n\n @Column({ type: 'text' })\n @Field({ description: 'The items of personal information' })\n items: string\n\n @Column({ type: 'int', nullable: true })\n @Field(type => Int, { nullable: true, description: 'How many people it is of' })\n subjectCount?: number\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'When the people it is of were told' })\n subjectsToldAt?: Date\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'How they were told - mail, text message, the homepage' })\n subjectsToldHow?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'When it was reported to the PIPC and KISA' })\n reportedAt?: Date\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'The receipt number of the report' })\n reportReceiptNo?: string\n\n @Column({ type: 'text', nullable: true })\n @Field({ nullable: true, description: 'What was done - stopping it, the damage relief, keeping it from happening again' })\n measures?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((row: PrivacyIncident) => row.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((row: PrivacyIncident) => row.updater)\n updaterId?: string\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { Regulation, RegulationClause, RegulationProcedure, RegulationVersion } from './regulation';
2
+ import { RegulationMutation } from './regulation-mutation';
3
+ import { RegulationQuery } from './regulation-query';
4
+ export declare const entities: (typeof Regulation | typeof RegulationVersion | typeof RegulationClause | typeof RegulationProcedure)[];
5
+ export declare const resolvers: (typeof RegulationMutation | typeof RegulationQuery)[];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolvers = exports.entities = void 0;
4
+ const regulation_1 = require("./regulation");
5
+ const regulation_mutation_1 = require("./regulation-mutation");
6
+ const regulation_query_1 = require("./regulation-query");
7
+ exports.entities = [regulation_1.Regulation, regulation_1.RegulationVersion, regulation_1.RegulationClause, regulation_1.RegulationProcedure];
8
+ exports.resolvers = [regulation_query_1.RegulationQuery, regulation_mutation_1.RegulationMutation];
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/regulation/index.ts"],"names":[],"mappings":";;;AAAA,6CAAmG;AACnG,+DAA0D;AAC1D,yDAAoD;AAEvC,QAAA,QAAQ,GAAG,CAAC,uBAAU,EAAE,8BAAiB,EAAE,6BAAgB,EAAE,gCAAmB,CAAC,CAAA;AACjF,QAAA,SAAS,GAAG,CAAC,kCAAe,EAAE,wCAAkB,CAAC,CAAA","sourcesContent":["import { Regulation, RegulationClause, RegulationProcedure, RegulationVersion } from './regulation'\nimport { RegulationMutation } from './regulation-mutation'\nimport { RegulationQuery } from './regulation-query'\n\nexport const entities = [Regulation, RegulationVersion, RegulationClause, RegulationProcedure]\nexport const resolvers = [RegulationQuery, RegulationMutation]\n"]}
@@ -0,0 +1,15 @@
1
+ import type { FileUpload } from 'graphql-upload/GraphQLUpload.js';
2
+ import { Regulation, RegulationProcedure, RegulationVersion } from './regulation';
3
+ import { NewRegulation, NewRegulationProcedure, RegulationPatch, RegulationVersionPatch } from './regulation-type';
4
+ export declare class RegulationMutation {
5
+ createRegulation(regulation: NewRegulation, context: ResolverContext): Promise<Regulation>;
6
+ updateRegulation(id: string, patch: RegulationPatch, context: ResolverContext): Promise<Regulation>;
7
+ deleteRegulations(ids: string[], context: ResolverContext): Promise<boolean>;
8
+ newRegulationVersion(regulationId: string, context: ResolverContext): Promise<RegulationVersion>;
9
+ updateRegulationVersion(id: string, patch: RegulationVersionPatch, context: ResolverContext): Promise<RegulationVersion>;
10
+ deleteRegulationVersion(id: string, context: ResolverContext): Promise<boolean>;
11
+ recordRegulationProcedure(procedure: NewRegulationProcedure, files: FileUpload[], context: ResolverContext): Promise<RegulationProcedure>;
12
+ deleteRegulationProcedure(id: string, context: ResolverContext): Promise<boolean>;
13
+ submitRegulationVersion(id: string, context: ResolverContext): Promise<RegulationVersion>;
14
+ withdrawRegulationVersion(id: string, context: ResolverContext): Promise<RegulationVersion>;
15
+ }