@abyss-project/tools 1.0.5 → 1.2.0

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 (347) hide show
  1. package/.eslintrc.js +33 -33
  2. package/.prettierrc +5 -5
  3. package/README.md +32 -32
  4. package/dist/api/beam.api.d.ts +48 -0
  5. package/dist/api/beam.api.js +104 -0
  6. package/dist/api/beam.api.js.map +1 -0
  7. package/dist/api/extraction-plan-preset.api.d.ts +9 -0
  8. package/dist/api/extraction-plan-preset.api.js +23 -0
  9. package/dist/api/extraction-plan-preset.api.js.map +1 -0
  10. package/dist/api/extraction-plan-preset.api.test.d.ts +1 -0
  11. package/dist/api/extraction-plan-preset.api.test.js +41 -0
  12. package/dist/api/extraction-plan-preset.api.test.js.map +1 -0
  13. package/dist/api/extraction-settings.api.d.ts +4 -0
  14. package/dist/api/extraction-settings.api.js +22 -0
  15. package/dist/api/extraction-settings.api.js.map +1 -0
  16. package/dist/api/extraction.api.d.ts +74 -0
  17. package/dist/api/extraction.api.js +416 -0
  18. package/dist/api/extraction.api.js.map +1 -0
  19. package/dist/api/index.d.ts +4 -1
  20. package/dist/api/index.js +4 -1
  21. package/dist/api/index.js.map +1 -1
  22. package/dist/constants/beam.constants.d.ts +1 -0
  23. package/dist/constants/beam.constants.js +5 -0
  24. package/dist/constants/beam.constants.js.map +1 -0
  25. package/dist/constants/index.d.ts +1 -0
  26. package/dist/constants/index.js +1 -0
  27. package/dist/constants/index.js.map +1 -1
  28. package/dist/index.d.ts +108 -59
  29. package/dist/index.js +106 -59
  30. package/dist/index.js.map +1 -1
  31. package/dist/types/enum/beam.enum.d.ts +12 -0
  32. package/dist/types/enum/beam.enum.js +18 -0
  33. package/dist/types/enum/beam.enum.js.map +1 -0
  34. package/dist/types/enum/combine-strategy.enum.d.ts +5 -0
  35. package/dist/types/enum/combine-strategy.enum.js +10 -0
  36. package/dist/types/enum/combine-strategy.enum.js.map +1 -0
  37. package/dist/types/enum/content-share.enum.d.ts +3 -1
  38. package/dist/types/enum/content-share.enum.js +2 -0
  39. package/dist/types/enum/content-share.enum.js.map +1 -1
  40. package/dist/types/enum/document-type.enum.d.ts +9 -0
  41. package/dist/types/enum/document-type.enum.js +14 -0
  42. package/dist/types/enum/document-type.enum.js.map +1 -0
  43. package/dist/types/enum/extraction-feedback-issue-type.enum.d.ts +8 -0
  44. package/dist/types/enum/extraction-feedback-issue-type.enum.js +13 -0
  45. package/dist/types/enum/extraction-feedback-issue-type.enum.js.map +1 -0
  46. package/dist/types/enum/extraction-warning.enum.d.ts +7 -0
  47. package/dist/types/enum/extraction-warning.enum.js +12 -0
  48. package/dist/types/enum/extraction-warning.enum.js.map +1 -0
  49. package/dist/types/enum/index.d.ts +7 -0
  50. package/dist/types/enum/index.js +7 -0
  51. package/dist/types/enum/index.js.map +1 -1
  52. package/dist/types/enum/interpreter-kind.enum.d.ts +5 -0
  53. package/dist/types/enum/interpreter-kind.enum.js +10 -0
  54. package/dist/types/enum/interpreter-kind.enum.js.map +1 -0
  55. package/dist/types/enum/provider-kind.enum.d.ts +10 -0
  56. package/dist/types/enum/provider-kind.enum.js +16 -0
  57. package/dist/types/enum/provider-kind.enum.js.map +1 -0
  58. package/dist/types/interface/api/requests/beam.request.d.ts +122 -0
  59. package/dist/types/interface/api/{responses/pdf.response.js → requests/beam.request.js} +1 -1
  60. package/dist/types/interface/api/requests/beam.request.js.map +1 -0
  61. package/dist/types/interface/api/requests/{rcb.request.d.ts → extraction.request.d.ts} +81 -52
  62. package/dist/types/interface/api/requests/{pdf.public.request.js → extraction.request.js} +1 -1
  63. package/dist/types/interface/api/requests/extraction.request.js.map +1 -0
  64. package/dist/types/interface/api/requests/index.d.ts +2 -1
  65. package/dist/types/interface/api/requests/index.js +2 -1
  66. package/dist/types/interface/api/requests/index.js.map +1 -1
  67. package/dist/types/interface/api/responses/beam.response.d.ts +92 -0
  68. package/dist/types/interface/api/responses/{rcb.response.js → beam.response.js} +1 -1
  69. package/dist/types/interface/api/responses/beam.response.js.map +1 -0
  70. package/dist/types/interface/api/responses/extraction.response.d.ts +403 -0
  71. package/dist/types/interface/api/{requests/user-tag.request.js → responses/extraction.response.js} +1 -1
  72. package/dist/types/interface/api/responses/extraction.response.js.map +1 -0
  73. package/dist/types/interface/api/responses/index.d.ts +2 -1
  74. package/dist/types/interface/api/responses/index.js +2 -1
  75. package/dist/types/interface/api/responses/index.js.map +1 -1
  76. package/dist/types/interface/models/beam.dto.d.ts +58 -0
  77. package/dist/types/interface/{api/requests/pdf.request.js → models/beam.dto.js} +1 -1
  78. package/dist/types/interface/models/beam.dto.js.map +1 -0
  79. package/dist/types/interface/models/extraction-fetched-provenance.dto.test.d.ts +1 -0
  80. package/dist/types/interface/models/extraction-fetched-provenance.dto.test.js +159 -0
  81. package/dist/types/interface/models/extraction-fetched-provenance.dto.test.js.map +1 -0
  82. package/dist/types/interface/models/extraction-plan.dto.d.ts +163 -0
  83. package/dist/types/interface/models/extraction-plan.dto.js +11 -0
  84. package/dist/types/interface/models/extraction-plan.dto.js.map +1 -0
  85. package/dist/types/interface/models/extraction-plan.dto.test.d.ts +1 -0
  86. package/dist/types/interface/models/extraction-plan.dto.test.js +35 -0
  87. package/dist/types/interface/models/extraction-plan.dto.test.js.map +1 -0
  88. package/dist/types/interface/models/extraction-spatial-template.dto.d.ts +37 -0
  89. package/dist/types/interface/{api/requests/rcb.request.js → models/extraction-spatial-template.dto.js} +1 -1
  90. package/dist/types/interface/models/extraction-spatial-template.dto.js.map +1 -0
  91. package/dist/types/interface/models/extraction-spatial-template.dto.test.d.ts +1 -0
  92. package/dist/types/interface/models/extraction-spatial-template.dto.test.js +15 -0
  93. package/dist/types/interface/models/extraction-spatial-template.dto.test.js.map +1 -0
  94. package/dist/types/interface/models/{rcb.dto.d.ts → extraction.dto.d.ts} +64 -48
  95. package/dist/types/interface/models/extraction.dto.js +28 -0
  96. package/dist/types/interface/models/extraction.dto.js.map +1 -0
  97. package/dist/types/interface/models/index.d.ts +4 -1
  98. package/dist/types/interface/models/index.js +4 -1
  99. package/dist/types/interface/models/index.js.map +1 -1
  100. package/dist/types/interface/models/organization.dto.d.ts +2 -0
  101. package/dist/utils/{rcb-webhook.utils.d.ts → extraction-webhook.utils.d.ts} +2 -2
  102. package/dist/utils/{rcb-webhook.utils.js → extraction-webhook.utils.js} +4 -4
  103. package/dist/utils/extraction-webhook.utils.js.map +1 -0
  104. package/dist/utils/index.d.ts +1 -1
  105. package/dist/utils/index.js +1 -1
  106. package/dist/utils/index.js.map +1 -1
  107. package/dist/utils/shape.utils.js +18 -18
  108. package/package.json +14 -9
  109. package/src/api/abyss.admin.api.ts +54 -54
  110. package/src/api/atlas-document.api.ts +68 -68
  111. package/src/api/atlas-group.api.ts +69 -69
  112. package/src/api/atlas-page.api.ts +124 -124
  113. package/src/api/atlas.api.ts +103 -103
  114. package/src/api/atlas.public.api.ts +42 -42
  115. package/src/api/beam.api.ts +300 -0
  116. package/src/api/board-card-checklist.api.ts +99 -99
  117. package/src/api/board-card-comment.api.ts +57 -57
  118. package/src/api/board-card-document.api.ts +57 -57
  119. package/src/api/board-card.api.ts +137 -137
  120. package/src/api/board-column.api.ts +54 -54
  121. package/src/api/board-label.api.ts +87 -87
  122. package/src/api/board.api.ts +122 -122
  123. package/src/api/draw.api.ts +97 -97
  124. package/src/api/draw.public.api.ts +48 -48
  125. package/src/api/extraction-plan-preset.api.test.ts +24 -0
  126. package/src/api/extraction-plan-preset.api.ts +51 -0
  127. package/src/api/extraction-settings.api.ts +59 -0
  128. package/src/api/extraction.api.ts +899 -0
  129. package/src/api/index.ts +56 -51
  130. package/src/api/memo.api.ts +97 -97
  131. package/src/api/metrics.api.ts +27 -27
  132. package/src/api/monitor.api.ts +6 -6
  133. package/src/api/organization.api.ts +14 -14
  134. package/src/api/retrospective-card.api.ts +74 -74
  135. package/src/api/retrospective-member.api.ts +54 -54
  136. package/src/api/retrospective-section.api.ts +74 -74
  137. package/src/api/retrospective.api.ts +124 -124
  138. package/src/api/retrospective.public.api.ts +147 -147
  139. package/src/api/short-link.admin.api.ts +39 -39
  140. package/src/api/short-link.api.ts +125 -125
  141. package/src/api/short-link.public.api.ts +60 -60
  142. package/src/api/tag.api.ts +72 -72
  143. package/src/api/tests/beam.api.spec.ts +42 -0
  144. package/src/constants/atlas.constants.ts +2 -2
  145. package/src/constants/beam.constants.ts +4 -0
  146. package/src/constants/board.constants.ts +7 -7
  147. package/src/constants/index.ts +6 -5
  148. package/src/constants/memo.constants.ts +3 -3
  149. package/src/constants/short-link.constants.ts +11 -11
  150. package/src/constants/tag.constants.ts +3 -3
  151. package/src/index.ts +840 -747
  152. package/src/server-sent-events/index.ts +13 -13
  153. package/src/server-sent-events/protocols/atlas/atlas.sse-protocol.ts +90 -90
  154. package/src/server-sent-events/protocols/atlas/index.ts +1 -1
  155. package/src/server-sent-events/protocols/board/board.sse-protocol.ts +115 -115
  156. package/src/server-sent-events/protocols/board/index.ts +1 -1
  157. package/src/server-sent-events/protocols/board-card/board-card.sse-protocol.ts +26 -26
  158. package/src/server-sent-events/protocols/board-card/index.ts +1 -1
  159. package/src/server-sent-events/protocols/index.ts +26 -26
  160. package/src/server-sent-events/protocols/retrospective/index.ts +1 -1
  161. package/src/server-sent-events/protocols/retrospective/retrospective.sse-protocol.ts +92 -92
  162. package/src/server-sent-events/server-sent-events.manager.ts +73 -73
  163. package/src/types/draw.type.ts +173 -173
  164. package/src/types/enum/api-error.enum.ts +23 -23
  165. package/src/types/enum/beam.enum.ts +24 -0
  166. package/src/types/enum/board-activity.enum.ts +189 -189
  167. package/src/types/enum/board-column-type.enum.ts +6 -6
  168. package/src/types/enum/combine-strategy.enum.ts +7 -0
  169. package/src/types/enum/content-share.enum.ts +38 -36
  170. package/src/types/enum/document-type.enum.ts +10 -0
  171. package/src/types/enum/extraction-feedback-issue-type.enum.ts +10 -0
  172. package/src/types/enum/extraction-warning.enum.ts +21 -0
  173. package/src/types/enum/index.ts +13 -6
  174. package/src/types/enum/interpreter-kind.enum.ts +7 -0
  175. package/src/types/enum/pdf-operation.enum.ts +98 -98
  176. package/src/types/enum/provider-kind.enum.ts +13 -0
  177. package/src/types/enum/rcb-bank.enum.ts +137 -137
  178. package/src/types/index.ts +5 -5
  179. package/src/types/interface/api/index.ts +5 -5
  180. package/src/types/interface/api/requests/abyss.admin.request.ts +20 -20
  181. package/src/types/interface/api/requests/atlas-document.request.ts +32 -32
  182. package/src/types/interface/api/requests/atlas-group.request.ts +45 -45
  183. package/src/types/interface/api/requests/atlas-page.request.ts +84 -84
  184. package/src/types/interface/api/requests/atlas.public.request.ts +21 -21
  185. package/src/types/interface/api/requests/atlas.request.ts +52 -52
  186. package/src/types/interface/api/requests/beam.request.ts +152 -0
  187. package/src/types/interface/api/requests/board-card-checklist.request.ts +61 -61
  188. package/src/types/interface/api/requests/board-card-comment.request.ts +28 -28
  189. package/src/types/interface/api/requests/board-card-document.request.ts +29 -29
  190. package/src/types/interface/api/requests/board-card.request.ts +86 -86
  191. package/src/types/interface/api/requests/board-column.request.ts +30 -30
  192. package/src/types/interface/api/requests/board-label.request.ts +42 -42
  193. package/src/types/interface/api/requests/board.request.ts +61 -61
  194. package/src/types/interface/api/requests/draw.public.request.ts +20 -20
  195. package/src/types/interface/api/requests/draw.request.ts +49 -49
  196. package/src/types/interface/api/requests/extraction.request.ts +366 -0
  197. package/src/types/interface/api/requests/index.ts +29 -28
  198. package/src/types/interface/api/requests/memo.request.ts +49 -49
  199. package/src/types/interface/api/requests/metrics.request.ts +7 -7
  200. package/src/types/interface/api/requests/retrospective-card.request.ts +38 -38
  201. package/src/types/interface/api/requests/retrospective-member.request.ts +20 -20
  202. package/src/types/interface/api/requests/retrospective-section.request.ts +43 -43
  203. package/src/types/interface/api/requests/retrospective.public.request.ts +84 -84
  204. package/src/types/interface/api/requests/retrospective.request.ts +59 -59
  205. package/src/types/interface/api/requests/short-link.admin.request.ts +35 -35
  206. package/src/types/interface/api/requests/short-link.public.request.ts +40 -40
  207. package/src/types/interface/api/requests/short-link.request.ts +71 -71
  208. package/src/types/interface/api/requests/tag.request.ts +54 -54
  209. package/src/types/interface/api/requests/transfer.request.ts +3 -3
  210. package/src/types/interface/api/responses/abyss.admin.response.ts +28 -28
  211. package/src/types/interface/api/responses/atlas-document.response.ts +24 -24
  212. package/src/types/interface/api/responses/atlas-group.response.ts +23 -23
  213. package/src/types/interface/api/responses/atlas-page.response.ts +53 -53
  214. package/src/types/interface/api/responses/atlas.public.response.ts +21 -21
  215. package/src/types/interface/api/responses/atlas.response.ts +32 -32
  216. package/src/types/interface/api/responses/beam.response.ts +122 -0
  217. package/src/types/interface/api/responses/board-card-checklist.response.ts +31 -31
  218. package/src/types/interface/api/responses/board-card-comment.response.ts +20 -20
  219. package/src/types/interface/api/responses/board-card-document.response.ts +21 -21
  220. package/src/types/interface/api/responses/board-card.response.ts +55 -55
  221. package/src/types/interface/api/responses/board-column.response.ts +20 -20
  222. package/src/types/interface/api/responses/board-label.response.ts +31 -31
  223. package/src/types/interface/api/responses/board.response.ts +81 -81
  224. package/src/types/interface/api/responses/count.response.ts +9 -9
  225. package/src/types/interface/api/responses/draw.public.response.ts +22 -22
  226. package/src/types/interface/api/responses/draw.response.ts +32 -32
  227. package/src/types/interface/api/responses/enriched-paginate.response.ts +11 -11
  228. package/src/types/interface/api/responses/extraction.response.ts +454 -0
  229. package/src/types/interface/api/responses/index.ts +33 -32
  230. package/src/types/interface/api/responses/memo.response.ts +32 -32
  231. package/src/types/interface/api/responses/metrics.response.ts +22 -22
  232. package/src/types/interface/api/responses/monitor.response.ts +8 -8
  233. package/src/types/interface/api/responses/recent.response.ts +18 -18
  234. package/src/types/interface/api/responses/retrospective-card.response.ts +23 -23
  235. package/src/types/interface/api/responses/retrospective-member.response.ts +22 -22
  236. package/src/types/interface/api/responses/retrospective-section.response.ts +23 -23
  237. package/src/types/interface/api/responses/retrospective.public.response.ts +57 -57
  238. package/src/types/interface/api/responses/retrospective.response.ts +32 -32
  239. package/src/types/interface/api/responses/short-link.admin.response.ts +21 -21
  240. package/src/types/interface/api/responses/short-link.public.response.ts +26 -26
  241. package/src/types/interface/api/responses/short-link.response.ts +38 -38
  242. package/src/types/interface/api/responses/tag.response.ts +38 -38
  243. package/src/types/interface/api/responses/transfer.response.ts +14 -14
  244. package/src/types/interface/api/type-message/api-error.ts +7 -7
  245. package/src/types/interface/api/type-message/base-paginate.ts +11 -11
  246. package/src/types/interface/api/type-message/response.ts +6 -6
  247. package/src/types/interface/index.ts +2 -2
  248. package/src/types/interface/models/atlas-document.dto.ts +22 -22
  249. package/src/types/interface/models/atlas-group.dto.ts +21 -21
  250. package/src/types/interface/models/atlas-page-content.dto.ts +17 -17
  251. package/src/types/interface/models/atlas-page.dto.ts +26 -26
  252. package/src/types/interface/models/atlas.dto.ts +34 -34
  253. package/src/types/interface/models/beam.dto.ts +67 -0
  254. package/src/types/interface/models/board-activity.dto.ts +20 -20
  255. package/src/types/interface/models/board-card-checklist-row.dto.ts +14 -14
  256. package/src/types/interface/models/board-card-checklist.dto.ts +16 -16
  257. package/src/types/interface/models/board-card-comment.dto.ts +15 -15
  258. package/src/types/interface/models/board-card-document.dto.ts +22 -22
  259. package/src/types/interface/models/board-card-label.dto.ts +14 -14
  260. package/src/types/interface/models/board-card-member.dto.ts +14 -14
  261. package/src/types/interface/models/board-card.dto.ts +37 -37
  262. package/src/types/interface/models/board-column.dto.ts +17 -17
  263. package/src/types/interface/models/board-label.dto.ts +13 -13
  264. package/src/types/interface/models/board.dto.ts +33 -33
  265. package/src/types/interface/models/content-share.dto.ts +16 -16
  266. package/src/types/interface/models/draw.dto.ts +30 -30
  267. package/src/types/interface/models/extraction-fetched-provenance.dto.test.ts +193 -0
  268. package/src/types/interface/models/extraction-plan.dto.test.ts +47 -0
  269. package/src/types/interface/models/extraction-plan.dto.ts +241 -0
  270. package/src/types/interface/models/extraction-spatial-template.dto.test.ts +27 -0
  271. package/src/types/interface/models/extraction-spatial-template.dto.ts +48 -0
  272. package/src/types/interface/models/{rcb.dto.ts → extraction.dto.ts} +317 -267
  273. package/src/types/interface/models/index.ts +34 -31
  274. package/src/types/interface/models/memo.dto.ts +23 -23
  275. package/src/types/interface/models/organization.dto.ts +21 -12
  276. package/src/types/interface/models/project.dto.ts +25 -25
  277. package/src/types/interface/models/retrospective-card.dto.ts +17 -17
  278. package/src/types/interface/models/retrospective-member.dto.ts +15 -15
  279. package/src/types/interface/models/retrospective-section.dto.ts +16 -16
  280. package/src/types/interface/models/retrospective.dto.ts +32 -32
  281. package/src/types/interface/models/short-link-click.dto.ts +33 -33
  282. package/src/types/interface/models/short-link.dto.ts +49 -49
  283. package/src/types/interface/models/tag.dto.ts +26 -26
  284. package/src/types/interface/models/team.dto.ts +12 -12
  285. package/src/types/interface/models/user.dto.ts +26 -26
  286. package/src/types/tests/beam-management-types.spec.ts +38 -0
  287. package/src/types/tests/beam-share-enums.spec.ts +11 -0
  288. package/src/types/tests/beam.dto.spec.ts +61 -0
  289. package/src/types/tests/beam.request-response.spec.ts +43 -0
  290. package/src/utils/board.utils.ts +57 -57
  291. package/src/utils/enum.utils.ts +5 -5
  292. package/src/utils/error.utils.ts +30 -30
  293. package/src/utils/{rcb-webhook.utils.ts → extraction-webhook.utils.ts} +30 -30
  294. package/src/utils/icons.utils.ts +96 -96
  295. package/src/utils/index.ts +6 -6
  296. package/src/utils/shape.utils.ts +292 -292
  297. package/tsconfig.json +36 -35
  298. package/dist/api/atlas-page-content.api.d.ts +0 -0
  299. package/dist/api/atlas-page-content.api.js +0 -2
  300. package/dist/api/atlas-page-content.api.js.map +0 -1
  301. package/dist/api/pdf.api.d.ts +0 -15
  302. package/dist/api/pdf.api.js +0 -61
  303. package/dist/api/pdf.api.js.map +0 -1
  304. package/dist/api/pdf.public.api.d.ts +0 -8
  305. package/dist/api/pdf.public.api.js +0 -33
  306. package/dist/api/pdf.public.api.js.map +0 -1
  307. package/dist/api/rcb.api.d.ts +0 -72
  308. package/dist/api/rcb.api.js +0 -400
  309. package/dist/api/rcb.api.js.map +0 -1
  310. package/dist/api/user-tag.api.d.ts +0 -9
  311. package/dist/api/user-tag.api.js +0 -37
  312. package/dist/api/user-tag.api.js.map +0 -1
  313. package/dist/constants/user-tag.constants.d.ts +0 -3
  314. package/dist/constants/user-tag.constants.js +0 -7
  315. package/dist/constants/user-tag.constants.js.map +0 -1
  316. package/dist/types/enum/pdf-session.enum.d.ts +0 -10
  317. package/dist/types/enum/pdf-session.enum.js +0 -16
  318. package/dist/types/enum/pdf-session.enum.js.map +0 -1
  319. package/dist/types/interface/api/requests/pdf.public.request.d.ts +0 -19
  320. package/dist/types/interface/api/requests/pdf.public.request.js.map +0 -1
  321. package/dist/types/interface/api/requests/pdf.request.d.ts +0 -50
  322. package/dist/types/interface/api/requests/pdf.request.js.map +0 -1
  323. package/dist/types/interface/api/requests/rcb.request.js.map +0 -1
  324. package/dist/types/interface/api/requests/user-tag.request.d.ts +0 -44
  325. package/dist/types/interface/api/requests/user-tag.request.js.map +0 -1
  326. package/dist/types/interface/api/responses/pdf.public.response.d.ts +0 -33
  327. package/dist/types/interface/api/responses/pdf.public.response.js +0 -3
  328. package/dist/types/interface/api/responses/pdf.public.response.js.map +0 -1
  329. package/dist/types/interface/api/responses/pdf.response.d.ts +0 -35
  330. package/dist/types/interface/api/responses/pdf.response.js.map +0 -1
  331. package/dist/types/interface/api/responses/rcb.response.d.ts +0 -376
  332. package/dist/types/interface/api/responses/rcb.response.js.map +0 -1
  333. package/dist/types/interface/api/responses/user-tag.response.d.ts +0 -32
  334. package/dist/types/interface/api/responses/user-tag.response.js +0 -3
  335. package/dist/types/interface/api/responses/user-tag.response.js.map +0 -1
  336. package/dist/types/interface/models/pdf-session.dto.d.ts +0 -28
  337. package/dist/types/interface/models/pdf-session.dto.js +0 -3
  338. package/dist/types/interface/models/pdf-session.dto.js.map +0 -1
  339. package/dist/types/interface/models/rcb.dto.js +0 -26
  340. package/dist/types/interface/models/rcb.dto.js.map +0 -1
  341. package/dist/types/interface/models/user-tag.dto.d.ts +0 -22
  342. package/dist/types/interface/models/user-tag.dto.js +0 -3
  343. package/dist/types/interface/models/user-tag.dto.js.map +0 -1
  344. package/dist/utils/rcb-webhook.utils.js.map +0 -1
  345. package/src/api/rcb.api.ts +0 -829
  346. package/src/types/interface/api/requests/rcb.request.ts +0 -267
  347. package/src/types/interface/api/responses/rcb.response.ts +0 -399
@@ -1,45 +1,45 @@
1
- export interface IGetAtlasGroupParams {
2
- atlasId: string;
3
- atlasGroupId: string;
4
- }
5
-
6
- export interface IPaginateAtlasGroupParams {
7
- atlasId: string;
8
- }
9
-
10
- export interface IPaginateAtlasGroupQuery {
11
- name?: string;
12
- parentAtlasGroupId?: string;
13
- page?: number;
14
- limit?: number;
15
- }
16
-
17
- export interface ICreateAtlasGroupParams {
18
- atlasId: string;
19
- }
20
- export interface ICreateAtlasGroupBody {
21
- name: string;
22
- description?: string | null;
23
- icon?: string | null;
24
- color?: string | null;
25
- parentAtlasGroupId?: string | null;
26
- position?: number;
27
- }
28
-
29
- export interface IUpdateAtlasGroupParams {
30
- atlasId: string;
31
- atlasGroupId: string;
32
- }
33
- export interface IUpdateAtlasGroupBody {
34
- name?: string;
35
- description?: string | null;
36
- icon?: string | null;
37
- color?: string | null;
38
- parentAtlasGroupId?: string | null;
39
- position?: number;
40
- }
41
-
42
- export interface IDeleteAtlasGroupParams {
43
- atlasId: string;
44
- atlasGroupId: string;
45
- }
1
+ export interface IGetAtlasGroupParams {
2
+ atlasId: string;
3
+ atlasGroupId: string;
4
+ }
5
+
6
+ export interface IPaginateAtlasGroupParams {
7
+ atlasId: string;
8
+ }
9
+
10
+ export interface IPaginateAtlasGroupQuery {
11
+ name?: string;
12
+ parentAtlasGroupId?: string;
13
+ page?: number;
14
+ limit?: number;
15
+ }
16
+
17
+ export interface ICreateAtlasGroupParams {
18
+ atlasId: string;
19
+ }
20
+ export interface ICreateAtlasGroupBody {
21
+ name: string;
22
+ description?: string | null;
23
+ icon?: string | null;
24
+ color?: string | null;
25
+ parentAtlasGroupId?: string | null;
26
+ position?: number;
27
+ }
28
+
29
+ export interface IUpdateAtlasGroupParams {
30
+ atlasId: string;
31
+ atlasGroupId: string;
32
+ }
33
+ export interface IUpdateAtlasGroupBody {
34
+ name?: string;
35
+ description?: string | null;
36
+ icon?: string | null;
37
+ color?: string | null;
38
+ parentAtlasGroupId?: string | null;
39
+ position?: number;
40
+ }
41
+
42
+ export interface IDeleteAtlasGroupParams {
43
+ atlasId: string;
44
+ atlasGroupId: string;
45
+ }
@@ -1,84 +1,84 @@
1
- export interface IGetAtlasPageParams {
2
- atlasId: string;
3
- atlasPageId: string;
4
- }
5
-
6
- export interface IGetAtlasPageBySlugParams {
7
- atlasId: string;
8
- slug: string;
9
- }
10
-
11
- export interface IPaginateAtlasPageParams {
12
- atlasId: string;
13
- }
14
-
15
- export interface IPaginateAtlasPageQuery {
16
- title?: string;
17
- slug?: string;
18
- atlasGroupId?: string;
19
- page?: number;
20
- limit?: number;
21
- }
22
-
23
- export interface ICreateAtlasPageParams {
24
- atlasId: string;
25
- }
26
-
27
- export interface ICreateAtlasPageBody {
28
- title: string;
29
- icon?: string | null;
30
- color?: string | null;
31
- atlasGroupId?: string | null;
32
- position?: number;
33
- content?: string;
34
- }
35
-
36
- export interface IUpdateAtlasPageParams {
37
- atlasId: string;
38
- atlasPageId: string;
39
- }
40
-
41
- export interface IUpdateAtlasPageBody {
42
- title?: string;
43
- icon?: string | null;
44
- color?: string | null;
45
- atlasGroupId?: string | null;
46
- position?: number;
47
- }
48
-
49
- export interface IDeleteAtlasPageParams {
50
- atlasId: string;
51
- atlasPageId: string;
52
- }
53
-
54
- export interface IUpdateAtlasPageContentParams {
55
- atlasId: string;
56
- atlasPageId: string;
57
- }
58
- export interface IUpdateAtlasPageContentBody {
59
- diff: string;
60
- }
61
-
62
- export interface IGetAtlasPageContentHistoryParams {
63
- atlasId: string;
64
- atlasPageId: string;
65
- }
66
- export interface IGetAtlasPageContentHistoryQuery {
67
- page?: number;
68
- limit?: number;
69
- }
70
-
71
- export interface IRestoreAtlasPageContentParams {
72
- atlasId: string;
73
- atlasPageId: string;
74
- version: number;
75
- }
76
-
77
- export interface ISearchAtlasContentParams {
78
- atlasId: string;
79
- }
80
- export interface ISearchAtlasContentQuery {
81
- query: string;
82
- page?: number;
83
- limit?: number;
84
- }
1
+ export interface IGetAtlasPageParams {
2
+ atlasId: string;
3
+ atlasPageId: string;
4
+ }
5
+
6
+ export interface IGetAtlasPageBySlugParams {
7
+ atlasId: string;
8
+ slug: string;
9
+ }
10
+
11
+ export interface IPaginateAtlasPageParams {
12
+ atlasId: string;
13
+ }
14
+
15
+ export interface IPaginateAtlasPageQuery {
16
+ title?: string;
17
+ slug?: string;
18
+ atlasGroupId?: string;
19
+ page?: number;
20
+ limit?: number;
21
+ }
22
+
23
+ export interface ICreateAtlasPageParams {
24
+ atlasId: string;
25
+ }
26
+
27
+ export interface ICreateAtlasPageBody {
28
+ title: string;
29
+ icon?: string | null;
30
+ color?: string | null;
31
+ atlasGroupId?: string | null;
32
+ position?: number;
33
+ content?: string;
34
+ }
35
+
36
+ export interface IUpdateAtlasPageParams {
37
+ atlasId: string;
38
+ atlasPageId: string;
39
+ }
40
+
41
+ export interface IUpdateAtlasPageBody {
42
+ title?: string;
43
+ icon?: string | null;
44
+ color?: string | null;
45
+ atlasGroupId?: string | null;
46
+ position?: number;
47
+ }
48
+
49
+ export interface IDeleteAtlasPageParams {
50
+ atlasId: string;
51
+ atlasPageId: string;
52
+ }
53
+
54
+ export interface IUpdateAtlasPageContentParams {
55
+ atlasId: string;
56
+ atlasPageId: string;
57
+ }
58
+ export interface IUpdateAtlasPageContentBody {
59
+ diff: string;
60
+ }
61
+
62
+ export interface IGetAtlasPageContentHistoryParams {
63
+ atlasId: string;
64
+ atlasPageId: string;
65
+ }
66
+ export interface IGetAtlasPageContentHistoryQuery {
67
+ page?: number;
68
+ limit?: number;
69
+ }
70
+
71
+ export interface IRestoreAtlasPageContentParams {
72
+ atlasId: string;
73
+ atlasPageId: string;
74
+ version: number;
75
+ }
76
+
77
+ export interface ISearchAtlasContentParams {
78
+ atlasId: string;
79
+ }
80
+ export interface ISearchAtlasContentQuery {
81
+ query: string;
82
+ page?: number;
83
+ limit?: number;
84
+ }
@@ -1,21 +1,21 @@
1
- export interface IGetAtlasPublicParams {
2
- publicAccessToken: string;
3
- }
4
-
5
- export type ISSEAtlasPublicParams = {
6
- publicAccessToken: string;
7
- };
8
-
9
- export interface IGetPageAtlasPublicParams {
10
- publicAccessToken: string;
11
- atlasPageId: string;
12
- }
13
-
14
- export interface ISearchContentAtlasPublicParams {
15
- publicAccessToken: string;
16
- }
17
- export interface ISearchContentAtlasPublicQuery {
18
- query: string;
19
- page?: number;
20
- limit?: number;
21
- }
1
+ export interface IGetAtlasPublicParams {
2
+ publicAccessToken: string;
3
+ }
4
+
5
+ export type ISSEAtlasPublicParams = {
6
+ publicAccessToken: string;
7
+ };
8
+
9
+ export interface IGetPageAtlasPublicParams {
10
+ publicAccessToken: string;
11
+ atlasPageId: string;
12
+ }
13
+
14
+ export interface ISearchContentAtlasPublicParams {
15
+ publicAccessToken: string;
16
+ }
17
+ export interface ISearchContentAtlasPublicQuery {
18
+ query: string;
19
+ page?: number;
20
+ limit?: number;
21
+ }
@@ -1,52 +1,52 @@
1
- import { ContentShareScope } from '../../../enum';
2
- import { QueryPaginate } from '../type-message/base-paginate';
3
-
4
- export interface IGetAtlasParams {
5
- atlasId: string;
6
- }
7
-
8
- export interface IPaginateProjectAtlasParams {
9
- projectId: string;
10
- }
11
-
12
- export type IPaginateAtlasQuery = {
13
- title?: string;
14
- scope?: ContentShareScope;
15
- teamId?: string;
16
- projectId?: string;
17
- adminView?: boolean;
18
- sharedWithMe?: boolean;
19
- } & QueryPaginate;
20
-
21
- export interface ICreateForOrganizationAtlasParams {
22
- organizationId: string;
23
- }
24
-
25
- export interface ICreateAtlasBody {
26
- title: string;
27
- description?: string | null;
28
- }
29
-
30
- export interface IUpdateAtlasParams {
31
- atlasId: string;
32
- }
33
- export interface IUpdateAtlasBody {
34
- title?: string;
35
- description?: string | null;
36
- }
37
-
38
- export interface IDeleteAtlasParams {
39
- atlasId: string;
40
- }
41
-
42
- export type ISSEAtlasParams = {
43
- atlasId: string;
44
- };
45
-
46
- export type IPaginateOrganizationAtlasParams = {
47
- organizationId: string;
48
- };
49
-
50
- export type ICountOrganizationAtlasParams = {
51
- organizationId: string;
52
- };
1
+ import { ContentShareScope } from '../../../enum';
2
+ import { QueryPaginate } from '../type-message/base-paginate';
3
+
4
+ export interface IGetAtlasParams {
5
+ atlasId: string;
6
+ }
7
+
8
+ export interface IPaginateProjectAtlasParams {
9
+ projectId: string;
10
+ }
11
+
12
+ export type IPaginateAtlasQuery = {
13
+ title?: string;
14
+ scope?: ContentShareScope;
15
+ teamId?: string;
16
+ projectId?: string;
17
+ adminView?: boolean;
18
+ sharedWithMe?: boolean;
19
+ } & QueryPaginate;
20
+
21
+ export interface ICreateForOrganizationAtlasParams {
22
+ organizationId: string;
23
+ }
24
+
25
+ export interface ICreateAtlasBody {
26
+ title: string;
27
+ description?: string | null;
28
+ }
29
+
30
+ export interface IUpdateAtlasParams {
31
+ atlasId: string;
32
+ }
33
+ export interface IUpdateAtlasBody {
34
+ title?: string;
35
+ description?: string | null;
36
+ }
37
+
38
+ export interface IDeleteAtlasParams {
39
+ atlasId: string;
40
+ }
41
+
42
+ export type ISSEAtlasParams = {
43
+ atlasId: string;
44
+ };
45
+
46
+ export type IPaginateOrganizationAtlasParams = {
47
+ organizationId: string;
48
+ };
49
+
50
+ export type ICountOrganizationAtlasParams = {
51
+ organizationId: string;
52
+ };
@@ -0,0 +1,152 @@
1
+ import { ContentShareScope } from '../../../enum';
2
+ import { ShareTargetType, SharePermission } from '../../../enum/content-share.enum';
3
+ import { BeamVisibility } from '../../../enum/beam.enum';
4
+ import { QueryPaginate } from '../type-message/base-paginate';
5
+
6
+ export type IGetBeamParams = {
7
+ beamId: string;
8
+ };
9
+
10
+ export type IGetBeamBySlugParams = {
11
+ slug: string;
12
+ };
13
+
14
+ export type IPaginateBeamQuery = {
15
+ title?: string;
16
+ isActive?: boolean;
17
+ scope?: ContentShareScope;
18
+ teamId?: string;
19
+ projectId?: string;
20
+ adminView?: boolean;
21
+ sharedWithMe?: boolean;
22
+ } & QueryPaginate;
23
+
24
+ export type IPaginateProjectBeamParams = {
25
+ projectId: string;
26
+ };
27
+
28
+ export type IPaginateOrganizationBeamParams = {
29
+ organizationId: string;
30
+ };
31
+
32
+ // Draft-creation metadata bundle (design §4 step 1). Files are attached
33
+ // afterwards (B2) and the transfer is sealed at finalize (B5).
34
+ export type ICreateBeamBody = {
35
+ title?: string;
36
+ message?: string;
37
+ visibility?: BeamVisibility;
38
+ expiresInDays?: number;
39
+ password?: string;
40
+ maxDownloads?: number;
41
+ recipients?: { email: string; locale?: string }[];
42
+ };
43
+
44
+ // Anonymous draft creation (POST /beam/public). Same metadata as the owned
45
+ // create minus expiresInDays — anonymous TTL is fixed at 7 days by createDraft.
46
+ export type ICreateBeamPublicBody = {
47
+ title?: string;
48
+ message?: string;
49
+ visibility?: BeamVisibility;
50
+ password?: string;
51
+ maxDownloads?: number;
52
+ recipients?: { email: string; locale?: string }[];
53
+ };
54
+
55
+ export interface IAddBeamFilesParams {
56
+ beamId: string;
57
+ }
58
+
59
+ export interface IAddBeamFilesBody {
60
+ files: { storageFileId: string }[];
61
+ }
62
+
63
+ export interface IImportCloudBeamFilesParams {
64
+ beamId: string;
65
+ }
66
+
67
+ export interface IImportCloudBeamFilesBody {
68
+ cloudFileIds: string[];
69
+ }
70
+
71
+ export interface IFinalizeBeamParams {
72
+ beamId: string;
73
+ }
74
+
75
+ export type IFinalizeBeamBody = Record<string, never>;
76
+
77
+ export type ICreateForOrganizationBeamParams = {
78
+ organizationId: string;
79
+ };
80
+
81
+ export type IUpdateBeamParams = {
82
+ beamId: string;
83
+ };
84
+
85
+ export type IUpdateBeamBody = {
86
+ title?: string;
87
+ message?: string;
88
+ visibility?: BeamVisibility;
89
+ isActive?: boolean;
90
+ expiresAt?: Date | null;
91
+ maxDownloads?: number | null;
92
+ };
93
+
94
+ export type IDeleteBeamParams = {
95
+ beamId: string;
96
+ };
97
+
98
+ // Public serving (B3): unlock a password-protected transfer to obtain a
99
+ // short-lived unlock token used by the byte-serving endpoints.
100
+ export interface IUnlockBeamPublicParams {
101
+ slug: string;
102
+ }
103
+
104
+ export interface IUnlockBeamPublicBody {
105
+ password: string;
106
+ }
107
+
108
+ // Management lifecycle (B4): renew/reactivate take only the transfer id. Both
109
+ // push expiresAt forward and reactivate the transfer server-side.
110
+ export interface IRenewBeamParams {
111
+ beamId: string;
112
+ }
113
+
114
+ export interface IReactivateBeamParams {
115
+ beamId: string;
116
+ }
117
+
118
+ // Sharing (B4): a MANAGE holder grants a content_share (BEAM content type) on the
119
+ // transfer. targetId is null for a LINK share, otherwise the user/team/org/project id.
120
+ export interface ICreateBeamShareParams {
121
+ beamId: string;
122
+ }
123
+
124
+ export interface ICreateBeamShareBody {
125
+ targetType: ShareTargetType;
126
+ targetId?: string | null;
127
+ permission: SharePermission;
128
+ }
129
+
130
+ export interface IListBeamSharesParams {
131
+ beamId: string;
132
+ }
133
+
134
+ export interface IRevokeBeamShareParams {
135
+ beamId: string;
136
+ shareId: string;
137
+ }
138
+
139
+ // Recipients (B5): add extra recipients to a transfer (explicit add path,
140
+ // distinct from the recipients recorded at draft time). Capped at
141
+ // MAX_BEAM_RECIPIENTS on the API side.
142
+ export interface IAddRecipientsBeamParams {
143
+ beamId: string;
144
+ }
145
+
146
+ export interface IAddRecipientsBeamBody {
147
+ recipients: { email: string; locale?: string | null }[];
148
+ }
149
+
150
+ export interface IListRecipientsBeamParams {
151
+ beamId: string;
152
+ }
@@ -1,61 +1,61 @@
1
- export type ICreateBoardCardChecklistParams = {
2
- boardId: string;
3
- boardCardId: string;
4
- };
5
- export type ICreateBoardCardChecklistBody = {
6
- title: string;
7
- position: number;
8
- };
9
-
10
- export type IUpdateBoardCardChecklistParams = {
11
- boardId: string;
12
- boardCardId: string;
13
- boardCardChecklistId: string;
14
- };
15
- export type IUpdateBoardCardChecklistBody = {
16
- title?: string;
17
- position?: number;
18
- maskCompletedRows?: boolean;
19
- };
20
-
21
- export type IGetBoardCardChecklistParams = {
22
- boardId: string;
23
- boardCardId: string;
24
- boardCardChecklistId: string;
25
- };
26
-
27
- export type IDeleteBoardCardChecklistParams = {
28
- boardId: string;
29
- boardCardId: string;
30
- boardCardChecklistId: string;
31
- };
32
-
33
- export type IAddRowBoardCardChecklistParams = {
34
- boardId: string;
35
- boardCardId: string;
36
- boardCardChecklistId: string;
37
- };
38
- export type IAddRowBoardCardChecklistBody = {
39
- content: string;
40
- position: number;
41
- };
42
-
43
- export type IRemoveRowBoardCardChecklistParams = {
44
- boardId: string;
45
- boardCardId: string;
46
- boardCardChecklistId: string;
47
- boardCardChecklistRowId: string;
48
- };
49
-
50
- export type IUpdateRowBoardCardChecklistParams = {
51
- boardId: string;
52
- boardCardId: string;
53
- boardCardChecklistId: string;
54
- boardCardChecklistRowId: string;
55
- };
56
- export type IUpdateRowBoardCardChecklistBody = {
57
- content?: string;
58
- completed?: boolean;
59
- position?: number;
60
- boardCardChecklistId?: string;
61
- };
1
+ export type ICreateBoardCardChecklistParams = {
2
+ boardId: string;
3
+ boardCardId: string;
4
+ };
5
+ export type ICreateBoardCardChecklistBody = {
6
+ title: string;
7
+ position: number;
8
+ };
9
+
10
+ export type IUpdateBoardCardChecklistParams = {
11
+ boardId: string;
12
+ boardCardId: string;
13
+ boardCardChecklistId: string;
14
+ };
15
+ export type IUpdateBoardCardChecklistBody = {
16
+ title?: string;
17
+ position?: number;
18
+ maskCompletedRows?: boolean;
19
+ };
20
+
21
+ export type IGetBoardCardChecklistParams = {
22
+ boardId: string;
23
+ boardCardId: string;
24
+ boardCardChecklistId: string;
25
+ };
26
+
27
+ export type IDeleteBoardCardChecklistParams = {
28
+ boardId: string;
29
+ boardCardId: string;
30
+ boardCardChecklistId: string;
31
+ };
32
+
33
+ export type IAddRowBoardCardChecklistParams = {
34
+ boardId: string;
35
+ boardCardId: string;
36
+ boardCardChecklistId: string;
37
+ };
38
+ export type IAddRowBoardCardChecklistBody = {
39
+ content: string;
40
+ position: number;
41
+ };
42
+
43
+ export type IRemoveRowBoardCardChecklistParams = {
44
+ boardId: string;
45
+ boardCardId: string;
46
+ boardCardChecklistId: string;
47
+ boardCardChecklistRowId: string;
48
+ };
49
+
50
+ export type IUpdateRowBoardCardChecklistParams = {
51
+ boardId: string;
52
+ boardCardId: string;
53
+ boardCardChecklistId: string;
54
+ boardCardChecklistRowId: string;
55
+ };
56
+ export type IUpdateRowBoardCardChecklistBody = {
57
+ content?: string;
58
+ completed?: boolean;
59
+ position?: number;
60
+ boardCardChecklistId?: string;
61
+ };