@ever-gauzy/plugin-integration-plane-api 0.1.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 (743) hide show
  1. package/README.md +1 -0
  2. package/dist/config/constants.d.ts +125 -0
  3. package/dist/config/constants.js +185 -0
  4. package/dist/config/constants.js.map +1 -0
  5. package/dist/config/credentials.d.ts +30 -0
  6. package/dist/config/credentials.js +50 -0
  7. package/dist/config/credentials.js.map +1 -0
  8. package/dist/config/decorators/index.d.ts +1 -0
  9. package/dist/config/decorators/index.js +18 -0
  10. package/dist/config/decorators/index.js.map +1 -0
  11. package/dist/config/decorators/transformers/index.d.ts +1 -0
  12. package/dist/config/decorators/transformers/index.js +18 -0
  13. package/dist/config/decorators/transformers/index.js.map +1 -0
  14. package/dist/config/decorators/transformers/priority.transformer.d.ts +1 -0
  15. package/dist/config/decorators/transformers/priority.transformer.js +12 -0
  16. package/dist/config/decorators/transformers/priority.transformer.js.map +1 -0
  17. package/dist/config/index.d.ts +7 -0
  18. package/dist/config/index.js +24 -0
  19. package/dist/config/index.js.map +1 -0
  20. package/dist/config/serializers/activity/activity.serializer.d.ts +28 -0
  21. package/dist/config/serializers/activity/activity.serializer.js +288 -0
  22. package/dist/config/serializers/activity/activity.serializer.js.map +1 -0
  23. package/dist/config/serializers/activity/assignees-activities.serializer.d.ts +18 -0
  24. package/dist/config/serializers/activity/assignees-activities.serializer.js +64 -0
  25. package/dist/config/serializers/activity/assignees-activities.serializer.js.map +1 -0
  26. package/dist/config/serializers/activity/index.d.ts +7 -0
  27. package/dist/config/serializers/activity/index.js +24 -0
  28. package/dist/config/serializers/activity/index.js.map +1 -0
  29. package/dist/config/serializers/activity/labels-activities.serializer.d.ts +11 -0
  30. package/dist/config/serializers/activity/labels-activities.serializer.js +30 -0
  31. package/dist/config/serializers/activity/labels-activities.serializer.js.map +1 -0
  32. package/dist/config/serializers/activity/many-to-many-field-activity.helper.d.ts +29 -0
  33. package/dist/config/serializers/activity/many-to-many-field-activity.helper.js +45 -0
  34. package/dist/config/serializers/activity/many-to-many-field-activity.helper.js.map +1 -0
  35. package/dist/config/serializers/activity/modules-activities.serializer.d.ts +11 -0
  36. package/dist/config/serializers/activity/modules-activities.serializer.js +30 -0
  37. package/dist/config/serializers/activity/modules-activities.serializer.js.map +1 -0
  38. package/dist/config/serializers/activity/parent-activities.serializer.d.ts +14 -0
  39. package/dist/config/serializers/activity/parent-activities.serializer.js +47 -0
  40. package/dist/config/serializers/activity/parent-activities.serializer.js.map +1 -0
  41. package/dist/config/serializers/activity/status-activities.serializer.d.ts +12 -0
  42. package/dist/config/serializers/activity/status-activities.serializer.js +30 -0
  43. package/dist/config/serializers/activity/status-activities.serializer.js.map +1 -0
  44. package/dist/config/serializers/analytics/analytics.serializer.d.ts +17 -0
  45. package/dist/config/serializers/analytics/analytics.serializer.js +395 -0
  46. package/dist/config/serializers/analytics/analytics.serializer.js.map +1 -0
  47. package/dist/config/serializers/analytics/index.d.ts +1 -0
  48. package/dist/config/serializers/analytics/index.js +18 -0
  49. package/dist/config/serializers/analytics/index.js.map +1 -0
  50. package/dist/config/serializers/auth/auth.serializer.d.ts +2 -0
  51. package/dist/config/serializers/auth/auth.serializer.js +11 -0
  52. package/dist/config/serializers/auth/auth.serializer.js.map +1 -0
  53. package/dist/config/serializers/auth/index.d.ts +1 -0
  54. package/dist/config/serializers/auth/index.js +18 -0
  55. package/dist/config/serializers/auth/index.js.map +1 -0
  56. package/dist/config/serializers/comments/comment.serializer.d.ts +25 -0
  57. package/dist/config/serializers/comments/comment.serializer.js +94 -0
  58. package/dist/config/serializers/comments/comment.serializer.js.map +1 -0
  59. package/dist/config/serializers/comments/index.d.ts +1 -0
  60. package/dist/config/serializers/comments/index.js +18 -0
  61. package/dist/config/serializers/comments/index.js.map +1 -0
  62. package/dist/config/serializers/cycles/cycle.serializer.d.ts +86 -0
  63. package/dist/config/serializers/cycles/cycle.serializer.js +480 -0
  64. package/dist/config/serializers/cycles/cycle.serializer.js.map +1 -0
  65. package/dist/config/serializers/cycles/index.d.ts +1 -0
  66. package/dist/config/serializers/cycles/index.js +18 -0
  67. package/dist/config/serializers/cycles/index.js.map +1 -0
  68. package/dist/config/serializers/dashboard/dashboard.serializer.d.ts +22 -0
  69. package/dist/config/serializers/dashboard/dashboard.serializer.js +66 -0
  70. package/dist/config/serializers/dashboard/dashboard.serializer.js.map +1 -0
  71. package/dist/config/serializers/dashboard/index.d.ts +1 -0
  72. package/dist/config/serializers/dashboard/index.js +18 -0
  73. package/dist/config/serializers/dashboard/index.js.map +1 -0
  74. package/dist/config/serializers/employee-properties/employee-properties.serializer.d.ts +9 -0
  75. package/dist/config/serializers/employee-properties/employee-properties.serializer.js +57 -0
  76. package/dist/config/serializers/employee-properties/employee-properties.serializer.js.map +1 -0
  77. package/dist/config/serializers/employee-properties/index.d.ts +1 -0
  78. package/dist/config/serializers/employee-properties/index.js +18 -0
  79. package/dist/config/serializers/employee-properties/index.js.map +1 -0
  80. package/dist/config/serializers/index.d.ts +24 -0
  81. package/dist/config/serializers/index.js +41 -0
  82. package/dist/config/serializers/index.js.map +1 -0
  83. package/dist/config/serializers/invitation/index.d.ts +1 -0
  84. package/dist/config/serializers/invitation/index.js +18 -0
  85. package/dist/config/serializers/invitation/index.js.map +1 -0
  86. package/dist/config/serializers/invitation/invitation.serializer.d.ts +52 -0
  87. package/dist/config/serializers/invitation/invitation.serializer.js +140 -0
  88. package/dist/config/serializers/invitation/invitation.serializer.js.map +1 -0
  89. package/dist/config/serializers/issue-link/index.d.ts +1 -0
  90. package/dist/config/serializers/issue-link/index.js +18 -0
  91. package/dist/config/serializers/issue-link/index.js.map +1 -0
  92. package/dist/config/serializers/issue-link/issue-link.serializer.d.ts +28 -0
  93. package/dist/config/serializers/issue-link/issue-link.serializer.js +89 -0
  94. package/dist/config/serializers/issue-link/issue-link.serializer.js.map +1 -0
  95. package/dist/config/serializers/mention/index.d.ts +1 -0
  96. package/dist/config/serializers/mention/index.js +18 -0
  97. package/dist/config/serializers/mention/index.js.map +1 -0
  98. package/dist/config/serializers/mention/mention.serializer.d.ts +2 -0
  99. package/dist/config/serializers/mention/mention.serializer.js +22 -0
  100. package/dist/config/serializers/mention/mention.serializer.js.map +1 -0
  101. package/dist/config/serializers/modules/index.d.ts +1 -0
  102. package/dist/config/serializers/modules/index.js +18 -0
  103. package/dist/config/serializers/modules/index.js.map +1 -0
  104. package/dist/config/serializers/modules/module.serializer.d.ts +49 -0
  105. package/dist/config/serializers/modules/module.serializer.js +215 -0
  106. package/dist/config/serializers/modules/module.serializer.js.map +1 -0
  107. package/dist/config/serializers/notification/index.d.ts +1 -0
  108. package/dist/config/serializers/notification/index.js +18 -0
  109. package/dist/config/serializers/notification/index.js.map +1 -0
  110. package/dist/config/serializers/notification/notification.serializer.d.ts +31 -0
  111. package/dist/config/serializers/notification/notification.serializer.js +135 -0
  112. package/dist/config/serializers/notification/notification.serializer.js.map +1 -0
  113. package/dist/config/serializers/pages/index.d.ts +1 -0
  114. package/dist/config/serializers/pages/index.js +18 -0
  115. package/dist/config/serializers/pages/index.js.map +1 -0
  116. package/dist/config/serializers/pages/page.serializer.d.ts +23 -0
  117. package/dist/config/serializers/pages/page.serializer.js +106 -0
  118. package/dist/config/serializers/pages/page.serializer.js.map +1 -0
  119. package/dist/config/serializers/project-deploy-boards/index.d.ts +2 -0
  120. package/dist/config/serializers/project-deploy-boards/index.js +19 -0
  121. package/dist/config/serializers/project-deploy-boards/index.js.map +1 -0
  122. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.d.ts +16 -0
  123. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js +169 -0
  124. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js.map +1 -0
  125. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.d.ts +14 -0
  126. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js +35 -0
  127. package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js.map +1 -0
  128. package/dist/config/serializers/projects/index.d.ts +1 -0
  129. package/dist/config/serializers/projects/index.js +18 -0
  130. package/dist/config/serializers/projects/index.js.map +1 -0
  131. package/dist/config/serializers/projects/projects.serializer.d.ts +42 -0
  132. package/dist/config/serializers/projects/projects.serializer.js +216 -0
  133. package/dist/config/serializers/projects/projects.serializer.js.map +1 -0
  134. package/dist/config/serializers/query-params.serializers.d.ts +4 -0
  135. package/dist/config/serializers/query-params.serializers.js +10 -0
  136. package/dist/config/serializers/query-params.serializers.js.map +1 -0
  137. package/dist/config/serializers/reactions/index.d.ts +1 -0
  138. package/dist/config/serializers/reactions/index.js +18 -0
  139. package/dist/config/serializers/reactions/index.js.map +1 -0
  140. package/dist/config/serializers/reactions/reaction.serializer.d.ts +4 -0
  141. package/dist/config/serializers/reactions/reaction.serializer.js +62 -0
  142. package/dist/config/serializers/reactions/reaction.serializer.js.map +1 -0
  143. package/dist/config/serializers/recent-visits/index.d.ts +1 -0
  144. package/dist/config/serializers/recent-visits/index.js +18 -0
  145. package/dist/config/serializers/recent-visits/index.js.map +1 -0
  146. package/dist/config/serializers/recent-visits/recent-visits.serializer.d.ts +32 -0
  147. package/dist/config/serializers/recent-visits/recent-visits.serializer.js +109 -0
  148. package/dist/config/serializers/recent-visits/recent-visits.serializer.js.map +1 -0
  149. package/dist/config/serializers/subscription/index.d.ts +1 -0
  150. package/dist/config/serializers/subscription/index.js +18 -0
  151. package/dist/config/serializers/subscription/index.js.map +1 -0
  152. package/dist/config/serializers/subscription/subscription.serializer.d.ts +23 -0
  153. package/dist/config/serializers/subscription/subscription.serializer.js +68 -0
  154. package/dist/config/serializers/subscription/subscription.serializer.js.map +1 -0
  155. package/dist/config/serializers/tasks/index.d.ts +5 -0
  156. package/dist/config/serializers/tasks/index.js +22 -0
  157. package/dist/config/serializers/tasks/index.js.map +1 -0
  158. package/dist/config/serializers/tasks/intake-issue/index.d.ts +1 -0
  159. package/dist/config/serializers/tasks/intake-issue/index.js +18 -0
  160. package/dist/config/serializers/tasks/intake-issue/index.js.map +1 -0
  161. package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.d.ts +35 -0
  162. package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js +123 -0
  163. package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js.map +1 -0
  164. package/dist/config/serializers/tasks/issue-labels/index.d.ts +1 -0
  165. package/dist/config/serializers/tasks/issue-labels/index.js +18 -0
  166. package/dist/config/serializers/tasks/issue-labels/index.js.map +1 -0
  167. package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.d.ts +6 -0
  168. package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js +31 -0
  169. package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js.map +1 -0
  170. package/dist/config/serializers/tasks/issue-relations/index.d.ts +1 -0
  171. package/dist/config/serializers/tasks/issue-relations/index.js +18 -0
  172. package/dist/config/serializers/tasks/issue-relations/index.js.map +1 -0
  173. package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.d.ts +8 -0
  174. package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js +94 -0
  175. package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js.map +1 -0
  176. package/dist/config/serializers/tasks/statuses/index.d.ts +1 -0
  177. package/dist/config/serializers/tasks/statuses/index.js +18 -0
  178. package/dist/config/serializers/tasks/statuses/index.js.map +1 -0
  179. package/dist/config/serializers/tasks/statuses/statuses.serializer.d.ts +12 -0
  180. package/dist/config/serializers/tasks/statuses/statuses.serializer.js +100 -0
  181. package/dist/config/serializers/tasks/statuses/statuses.serializer.js.map +1 -0
  182. package/dist/config/serializers/tasks/tasks.serializer.d.ts +285 -0
  183. package/dist/config/serializers/tasks/tasks.serializer.js +1074 -0
  184. package/dist/config/serializers/tasks/tasks.serializer.js.map +1 -0
  185. package/dist/config/serializers/user/actor-details.helper.d.ts +10 -0
  186. package/dist/config/serializers/user/actor-details.helper.js +16 -0
  187. package/dist/config/serializers/user/actor-details.helper.js.map +1 -0
  188. package/dist/config/serializers/user/index.d.ts +2 -0
  189. package/dist/config/serializers/user/index.js +19 -0
  190. package/dist/config/serializers/user/index.js.map +1 -0
  191. package/dist/config/serializers/user/user.serializer.d.ts +140 -0
  192. package/dist/config/serializers/user/user.serializer.js +192 -0
  193. package/dist/config/serializers/user/user.serializer.js.map +1 -0
  194. package/dist/config/serializers/user-favorites/index.d.ts +1 -0
  195. package/dist/config/serializers/user-favorites/index.js +18 -0
  196. package/dist/config/serializers/user-favorites/index.js.map +1 -0
  197. package/dist/config/serializers/user-favorites/user-favorite.serializer.d.ts +6 -0
  198. package/dist/config/serializers/user-favorites/user-favorite.serializer.js +61 -0
  199. package/dist/config/serializers/user-favorites/user-favorite.serializer.js.map +1 -0
  200. package/dist/config/serializers/views/date-range.helper.d.ts +1 -0
  201. package/dist/config/serializers/views/date-range.helper.js +85 -0
  202. package/dist/config/serializers/views/date-range.helper.js.map +1 -0
  203. package/dist/config/serializers/views/index.d.ts +3 -0
  204. package/dist/config/serializers/views/index.js +20 -0
  205. package/dist/config/serializers/views/index.js.map +1 -0
  206. package/dist/config/serializers/views/view-id-from-referer.helper.d.ts +14 -0
  207. package/dist/config/serializers/views/view-id-from-referer.helper.js +27 -0
  208. package/dist/config/serializers/views/view-id-from-referer.helper.js.map +1 -0
  209. package/dist/config/serializers/views/view.serializer.d.ts +47 -0
  210. package/dist/config/serializers/views/view.serializer.js +187 -0
  211. package/dist/config/serializers/views/view.serializer.js.map +1 -0
  212. package/dist/config/serializers/workspace-organization/index.d.ts +2 -0
  213. package/dist/config/serializers/workspace-organization/index.js +19 -0
  214. package/dist/config/serializers/workspace-organization/index.js.map +1 -0
  215. package/dist/config/serializers/workspace-organization/organization.serializer.d.ts +92 -0
  216. package/dist/config/serializers/workspace-organization/organization.serializer.js +270 -0
  217. package/dist/config/serializers/workspace-organization/organization.serializer.js.map +1 -0
  218. package/dist/config/serializers/workspace-organization/widgets-filter.helper.d.ts +4 -0
  219. package/dist/config/serializers/workspace-organization/widgets-filter.helper.js +14 -0
  220. package/dist/config/serializers/workspace-organization/widgets-filter.helper.js.map +1 -0
  221. package/dist/config/time-zones.d.ts +8 -0
  222. package/dist/config/time-zones.js +722 -0
  223. package/dist/config/time-zones.js.map +1 -0
  224. package/dist/config/utils/index.d.ts +1 -0
  225. package/dist/config/utils/index.js +18 -0
  226. package/dist/config/utils/index.js.map +1 -0
  227. package/dist/config/utils/shared.utils.d.ts +95 -0
  228. package/dist/config/utils/shared.utils.js +256 -0
  229. package/dist/config/utils/shared.utils.js.map +1 -0
  230. package/dist/config/validators/custom-length.decorator.d.ts +28 -0
  231. package/dist/config/validators/custom-length.decorator.js +65 -0
  232. package/dist/config/validators/custom-length.decorator.js.map +1 -0
  233. package/dist/config/validators/index.d.ts +1 -0
  234. package/dist/config/validators/index.js +18 -0
  235. package/dist/config/validators/index.js.map +1 -0
  236. package/dist/dev.d.ts +1 -0
  237. package/dist/dev.js +10 -0
  238. package/dist/dev.js.map +1 -0
  239. package/dist/index.d.ts +5 -0
  240. package/dist/index.js +14 -0
  241. package/dist/index.js.map +1 -0
  242. package/dist/main.d.ts +1 -0
  243. package/dist/main.js +50 -0
  244. package/dist/main.js.map +1 -0
  245. package/dist/modules/activity/activity.module.d.ts +2 -0
  246. package/dist/modules/activity/activity.module.js +22 -0
  247. package/dist/modules/activity/activity.module.js.map +1 -0
  248. package/dist/modules/activity/activity.service.d.ts +12 -0
  249. package/dist/modules/activity/activity.service.js +45 -0
  250. package/dist/modules/activity/activity.service.js.map +1 -0
  251. package/dist/modules/advance-analytics/advance-analytics.controller.d.ts +30 -0
  252. package/dist/modules/advance-analytics/advance-analytics.controller.js +128 -0
  253. package/dist/modules/advance-analytics/advance-analytics.controller.js.map +1 -0
  254. package/dist/modules/advance-analytics/advance-analytics.module.d.ts +15 -0
  255. package/dist/modules/advance-analytics/advance-analytics.module.js +56 -0
  256. package/dist/modules/advance-analytics/advance-analytics.module.js.map +1 -0
  257. package/dist/modules/advance-analytics/advance-analytics.service.d.ts +29 -0
  258. package/dist/modules/advance-analytics/advance-analytics.service.js +143 -0
  259. package/dist/modules/advance-analytics/advance-analytics.service.js.map +1 -0
  260. package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.d.ts +26 -0
  261. package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js +93 -0
  262. package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js.map +1 -0
  263. package/dist/modules/advance-analytics/dto/index.d.ts +1 -0
  264. package/dist/modules/advance-analytics/dto/index.js +18 -0
  265. package/dist/modules/advance-analytics/dto/index.js.map +1 -0
  266. package/dist/modules/advance-analytics/index.d.ts +4 -0
  267. package/dist/modules/advance-analytics/index.js +21 -0
  268. package/dist/modules/advance-analytics/index.js.map +1 -0
  269. package/dist/modules/api-fetch/api-fetch.module.d.ts +2 -0
  270. package/dist/modules/api-fetch/api-fetch.module.js +24 -0
  271. package/dist/modules/api-fetch/api-fetch.module.js.map +1 -0
  272. package/dist/modules/api-fetch/api-fetch.service.d.ts +31 -0
  273. package/dist/modules/api-fetch/api-fetch.service.js +96 -0
  274. package/dist/modules/api-fetch/api-fetch.service.js.map +1 -0
  275. package/dist/modules/api-fetch/token.helper.d.ts +22 -0
  276. package/dist/modules/api-fetch/token.helper.js +58 -0
  277. package/dist/modules/api-fetch/token.helper.js.map +1 -0
  278. package/dist/modules/api-fetch/token.middleware.d.ts +8 -0
  279. package/dist/modules/api-fetch/token.middleware.js +38 -0
  280. package/dist/modules/api-fetch/token.middleware.js.map +1 -0
  281. package/dist/modules/app.module.d.ts +7 -0
  282. package/dist/modules/app.module.js +49 -0
  283. package/dist/modules/app.module.js.map +1 -0
  284. package/dist/modules/auth/auth.controller.d.ts +32 -0
  285. package/dist/modules/auth/auth.controller.js +278 -0
  286. package/dist/modules/auth/auth.controller.js.map +1 -0
  287. package/dist/modules/auth/auth.guard.d.ts +9 -0
  288. package/dist/modules/auth/auth.guard.js +52 -0
  289. package/dist/modules/auth/auth.guard.js.map +1 -0
  290. package/dist/modules/auth/auth.module.d.ts +2 -0
  291. package/dist/modules/auth/auth.module.js +30 -0
  292. package/dist/modules/auth/auth.module.js.map +1 -0
  293. package/dist/modules/auth/auth.service.d.ts +133 -0
  294. package/dist/modules/auth/auth.service.js +362 -0
  295. package/dist/modules/auth/auth.service.js.map +1 -0
  296. package/dist/modules/auth/dto/index.d.ts +1 -0
  297. package/dist/modules/auth/dto/index.js +18 -0
  298. package/dist/modules/auth/dto/index.js.map +1 -0
  299. package/dist/modules/auth/dto/two-factor-dto.d.ts +15 -0
  300. package/dist/modules/auth/dto/two-factor-dto.js +18 -0
  301. package/dist/modules/auth/dto/two-factor-dto.js.map +1 -0
  302. package/dist/modules/comments/comments.controller.d.ts +24 -0
  303. package/dist/modules/comments/comments.controller.js +72 -0
  304. package/dist/modules/comments/comments.controller.js.map +1 -0
  305. package/dist/modules/comments/comments.module.d.ts +2 -0
  306. package/dist/modules/comments/comments.module.js +26 -0
  307. package/dist/modules/comments/comments.module.js.map +1 -0
  308. package/dist/modules/comments/comments.service.d.ts +92 -0
  309. package/dist/modules/comments/comments.service.js +235 -0
  310. package/dist/modules/comments/comments.service.js.map +1 -0
  311. package/dist/modules/cycles/cycles.controller.d.ts +106 -0
  312. package/dist/modules/cycles/cycles.controller.js +270 -0
  313. package/dist/modules/cycles/cycles.controller.js.map +1 -0
  314. package/dist/modules/cycles/cycles.module.d.ts +2 -0
  315. package/dist/modules/cycles/cycles.module.js +31 -0
  316. package/dist/modules/cycles/cycles.module.js.map +1 -0
  317. package/dist/modules/cycles/cycles.service.d.ts +169 -0
  318. package/dist/modules/cycles/cycles.service.js +477 -0
  319. package/dist/modules/cycles/cycles.service.js.map +1 -0
  320. package/dist/modules/cycles/dto/create-cycle.dto.d.ts +6 -0
  321. package/dist/modules/cycles/dto/create-cycle.dto.js +9 -0
  322. package/dist/modules/cycles/dto/create-cycle.dto.js.map +1 -0
  323. package/dist/modules/cycles/dto/cycle.dto.d.ts +18 -0
  324. package/dist/modules/cycles/dto/cycle.dto.js +112 -0
  325. package/dist/modules/cycles/dto/cycle.dto.js.map +1 -0
  326. package/dist/modules/cycles/dto/index.d.ts +3 -0
  327. package/dist/modules/cycles/dto/index.js +20 -0
  328. package/dist/modules/cycles/dto/index.js.map +1 -0
  329. package/dist/modules/cycles/dto/update-cycle.dto.d.ts +6 -0
  330. package/dist/modules/cycles/dto/update-cycle.dto.js +9 -0
  331. package/dist/modules/cycles/dto/update-cycle.dto.js.map +1 -0
  332. package/dist/modules/dashboard/dashboard.controller.d.ts +16 -0
  333. package/dist/modules/dashboard/dashboard.controller.js +59 -0
  334. package/dist/modules/dashboard/dashboard.controller.js.map +1 -0
  335. package/dist/modules/dashboard/dashboard.module.d.ts +2 -0
  336. package/dist/modules/dashboard/dashboard.module.js +30 -0
  337. package/dist/modules/dashboard/dashboard.module.js.map +1 -0
  338. package/dist/modules/dashboard/dashboard.service.d.ts +33 -0
  339. package/dist/modules/dashboard/dashboard.service.js +97 -0
  340. package/dist/modules/dashboard/dashboard.service.js.map +1 -0
  341. package/dist/modules/dashboard/widget.service.d.ts +22 -0
  342. package/dist/modules/dashboard/widget.service.js +68 -0
  343. package/dist/modules/dashboard/widget.service.js.map +1 -0
  344. package/dist/modules/employee-properties/employee-properties.module.d.ts +2 -0
  345. package/dist/modules/employee-properties/employee-properties.module.js +21 -0
  346. package/dist/modules/employee-properties/employee-properties.module.js.map +1 -0
  347. package/dist/modules/employee-properties/employee-properties.service.d.ts +30 -0
  348. package/dist/modules/employee-properties/employee-properties.service.js +95 -0
  349. package/dist/modules/employee-properties/employee-properties.service.js.map +1 -0
  350. package/dist/modules/file-assets/file-assets.controller.d.ts +120 -0
  351. package/dist/modules/file-assets/file-assets.controller.js +192 -0
  352. package/dist/modules/file-assets/file-assets.controller.js.map +1 -0
  353. package/dist/modules/file-assets/file-assets.module.d.ts +2 -0
  354. package/dist/modules/file-assets/file-assets.module.js +23 -0
  355. package/dist/modules/file-assets/file-assets.module.js.map +1 -0
  356. package/dist/modules/file-assets/file-assets.service.d.ts +47 -0
  357. package/dist/modules/file-assets/file-assets.service.js +141 -0
  358. package/dist/modules/file-assets/file-assets.service.js.map +1 -0
  359. package/dist/modules/http.module.d.ts +2 -0
  360. package/dist/modules/http.module.js +22 -0
  361. package/dist/modules/http.module.js.map +1 -0
  362. package/dist/modules/instances/instances.controller.d.ts +73 -0
  363. package/dist/modules/instances/instances.controller.js +39 -0
  364. package/dist/modules/instances/instances.controller.js.map +1 -0
  365. package/dist/modules/instances/instances.module.d.ts +2 -0
  366. package/dist/modules/instances/instances.module.js +28 -0
  367. package/dist/modules/instances/instances.module.js.map +1 -0
  368. package/dist/modules/instances/instances.service.d.ts +68 -0
  369. package/dist/modules/instances/instances.service.js +88 -0
  370. package/dist/modules/instances/instances.service.js.map +1 -0
  371. package/dist/modules/invitation/dto/create-invitation.d.ts +8 -0
  372. package/dist/modules/invitation/dto/create-invitation.js +41 -0
  373. package/dist/modules/invitation/dto/create-invitation.js.map +1 -0
  374. package/dist/modules/invitation/dto/index.d.ts +1 -0
  375. package/dist/modules/invitation/dto/index.js +18 -0
  376. package/dist/modules/invitation/dto/index.js.map +1 -0
  377. package/dist/modules/invitation/invitation.controller.d.ts +53 -0
  378. package/dist/modules/invitation/invitation.controller.js +168 -0
  379. package/dist/modules/invitation/invitation.controller.js.map +1 -0
  380. package/dist/modules/invitation/invitation.module.d.ts +2 -0
  381. package/dist/modules/invitation/invitation.module.js +29 -0
  382. package/dist/modules/invitation/invitation.module.js.map +1 -0
  383. package/dist/modules/invitation/invitation.service.d.ts +67 -0
  384. package/dist/modules/invitation/invitation.service.js +193 -0
  385. package/dist/modules/invitation/invitation.service.js.map +1 -0
  386. package/dist/modules/issue-links/issue-links.module.d.ts +2 -0
  387. package/dist/modules/issue-links/issue-links.module.js +21 -0
  388. package/dist/modules/issue-links/issue-links.module.js.map +1 -0
  389. package/dist/modules/issue-links/issue-links.service.d.ts +47 -0
  390. package/dist/modules/issue-links/issue-links.service.js +143 -0
  391. package/dist/modules/issue-links/issue-links.service.js.map +1 -0
  392. package/dist/modules/issue-relations/dto/create-issue-relation.dto.d.ts +5 -0
  393. package/dist/modules/issue-relations/dto/create-issue-relation.dto.js +31 -0
  394. package/dist/modules/issue-relations/dto/create-issue-relation.dto.js.map +1 -0
  395. package/dist/modules/issue-relations/dto/delete-issue-relation.dto.d.ts +7 -0
  396. package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js +25 -0
  397. package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js.map +1 -0
  398. package/dist/modules/issue-relations/dto/index.d.ts +2 -0
  399. package/dist/modules/issue-relations/dto/index.js +19 -0
  400. package/dist/modules/issue-relations/dto/index.js.map +1 -0
  401. package/dist/modules/issue-relations/issue-relations.module.d.ts +2 -0
  402. package/dist/modules/issue-relations/issue-relations.module.js +23 -0
  403. package/dist/modules/issue-relations/issue-relations.module.js.map +1 -0
  404. package/dist/modules/issue-relations/issue-relations.service.d.ts +49 -0
  405. package/dist/modules/issue-relations/issue-relations.service.js +242 -0
  406. package/dist/modules/issue-relations/issue-relations.service.js.map +1 -0
  407. package/dist/modules/issues/draft-issues/draft-issues.module.d.ts +2 -0
  408. package/dist/modules/issues/draft-issues/draft-issues.module.js +23 -0
  409. package/dist/modules/issues/draft-issues/draft-issues.module.js.map +1 -0
  410. package/dist/modules/issues/draft-issues/draft-issues.service.d.ts +34 -0
  411. package/dist/modules/issues/draft-issues/draft-issues.service.js +94 -0
  412. package/dist/modules/issues/draft-issues/draft-issues.service.js.map +1 -0
  413. package/dist/modules/issues/dto/create-issue-comment.dto.d.ts +4 -0
  414. package/dist/modules/issues/dto/create-issue-comment.dto.js +24 -0
  415. package/dist/modules/issues/dto/create-issue-comment.dto.js.map +1 -0
  416. package/dist/modules/issues/dto/create-issue-link.dto.d.ts +5 -0
  417. package/dist/modules/issues/dto/create-issue-link.dto.js +30 -0
  418. package/dist/modules/issues/dto/create-issue-link.dto.js.map +1 -0
  419. package/dist/modules/issues/dto/create-issue-reaction.dto.d.ts +4 -0
  420. package/dist/modules/issues/dto/create-issue-reaction.dto.js +24 -0
  421. package/dist/modules/issues/dto/create-issue-reaction.dto.js.map +1 -0
  422. package/dist/modules/issues/dto/create-issue.dto.d.ts +21 -0
  423. package/dist/modules/issues/dto/create-issue.dto.js +139 -0
  424. package/dist/modules/issues/dto/create-issue.dto.js.map +1 -0
  425. package/dist/modules/issues/dto/index.d.ts +5 -0
  426. package/dist/modules/issues/dto/index.js +22 -0
  427. package/dist/modules/issues/dto/index.js.map +1 -0
  428. package/dist/modules/issues/dto/update-issue.dto.d.ts +5 -0
  429. package/dist/modules/issues/dto/update-issue.dto.js +25 -0
  430. package/dist/modules/issues/dto/update-issue.dto.js.map +1 -0
  431. package/dist/modules/issues/intake-issues/intake-issues.controller.d.ts +31 -0
  432. package/dist/modules/issues/intake-issues/intake-issues.controller.js +102 -0
  433. package/dist/modules/issues/intake-issues/intake-issues.controller.js.map +1 -0
  434. package/dist/modules/issues/intake-issues/intake-issues.module.d.ts +2 -0
  435. package/dist/modules/issues/intake-issues/intake-issues.module.js +26 -0
  436. package/dist/modules/issues/intake-issues/intake-issues.module.js.map +1 -0
  437. package/dist/modules/issues/intake-issues/intake-issues.service.d.ts +54 -0
  438. package/dist/modules/issues/intake-issues/intake-issues.service.js +182 -0
  439. package/dist/modules/issues/intake-issues/intake-issues.service.js.map +1 -0
  440. package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.d.ts +5 -0
  441. package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js +30 -0
  442. package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js.map +1 -0
  443. package/dist/modules/issues/issue-labels/dto/index.d.ts +2 -0
  444. package/dist/modules/issues/issue-labels/dto/index.js +19 -0
  445. package/dist/modules/issues/issue-labels/dto/index.js.map +1 -0
  446. package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.d.ts +6 -0
  447. package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js +9 -0
  448. package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js.map +1 -0
  449. package/dist/modules/issues/issue-labels/issue-labels.controller.d.ts +38 -0
  450. package/dist/modules/issues/issue-labels/issue-labels.controller.js +108 -0
  451. package/dist/modules/issues/issue-labels/issue-labels.controller.js.map +1 -0
  452. package/dist/modules/issues/issue-labels/issue-labels.module.d.ts +2 -0
  453. package/dist/modules/issues/issue-labels/issue-labels.module.js +23 -0
  454. package/dist/modules/issues/issue-labels/issue-labels.module.js.map +1 -0
  455. package/dist/modules/issues/issue-labels/issue-labels.service.d.ts +36 -0
  456. package/dist/modules/issues/issue-labels/issue-labels.service.js +107 -0
  457. package/dist/modules/issues/issue-labels/issue-labels.service.js.map +1 -0
  458. package/dist/modules/issues/issues.controller.d.ts +200 -0
  459. package/dist/modules/issues/issues.controller.js +547 -0
  460. package/dist/modules/issues/issues.controller.js.map +1 -0
  461. package/dist/modules/issues/issues.module.d.ts +2 -0
  462. package/dist/modules/issues/issues.module.js +45 -0
  463. package/dist/modules/issues/issues.module.js.map +1 -0
  464. package/dist/modules/issues/issues.service.d.ts +327 -0
  465. package/dist/modules/issues/issues.service.js +1052 -0
  466. package/dist/modules/issues/issues.service.js.map +1 -0
  467. package/dist/modules/issues/search-issues/search-issues.controller.d.ts +14 -0
  468. package/dist/modules/issues/search-issues/search-issues.controller.js +49 -0
  469. package/dist/modules/issues/search-issues/search-issues.controller.js.map +1 -0
  470. package/dist/modules/issues/search-issues/search-issues.module.d.ts +2 -0
  471. package/dist/modules/issues/search-issues/search-issues.module.js +23 -0
  472. package/dist/modules/issues/search-issues/search-issues.module.js.map +1 -0
  473. package/dist/modules/issues/search-issues/search-issues.service.d.ts +13 -0
  474. package/dist/modules/issues/search-issues/search-issues.service.js +97 -0
  475. package/dist/modules/issues/search-issues/search-issues.service.js.map +1 -0
  476. package/dist/modules/logger/index.d.ts +2 -0
  477. package/dist/modules/logger/index.js +19 -0
  478. package/dist/modules/logger/index.js.map +1 -0
  479. package/dist/modules/logger/logger.module.d.ts +6 -0
  480. package/dist/modules/logger/logger.module.js +26 -0
  481. package/dist/modules/logger/logger.module.js.map +1 -0
  482. package/dist/modules/logger/logger.service.d.ts +59 -0
  483. package/dist/modules/logger/logger.service.js +99 -0
  484. package/dist/modules/logger/logger.service.js.map +1 -0
  485. package/dist/modules/mention/mention.module.d.ts +2 -0
  486. package/dist/modules/mention/mention.module.js +21 -0
  487. package/dist/modules/mention/mention.module.js.map +1 -0
  488. package/dist/modules/mention/mention.service.d.ts +6 -0
  489. package/dist/modules/mention/mention.service.js +38 -0
  490. package/dist/modules/mention/mention.service.js.map +1 -0
  491. package/dist/modules/notification/notification.module.d.ts +2 -0
  492. package/dist/modules/notification/notification.module.js +21 -0
  493. package/dist/modules/notification/notification.module.js.map +1 -0
  494. package/dist/modules/notification/notification.service.d.ts +37 -0
  495. package/dist/modules/notification/notification.service.js +113 -0
  496. package/dist/modules/notification/notification.service.js.map +1 -0
  497. package/dist/modules/pages/dto/create-page.dto.d.ts +14 -0
  498. package/dist/modules/pages/dto/create-page.dto.js +68 -0
  499. package/dist/modules/pages/dto/create-page.dto.js.map +1 -0
  500. package/dist/modules/pages/dto/index.d.ts +2 -0
  501. package/dist/modules/pages/dto/index.js +19 -0
  502. package/dist/modules/pages/dto/index.js.map +1 -0
  503. package/dist/modules/pages/dto/update-page.dto.d.ts +15 -0
  504. package/dist/modules/pages/dto/update-page.dto.js +71 -0
  505. package/dist/modules/pages/dto/update-page.dto.js.map +1 -0
  506. package/dist/modules/pages/pages.controller.d.ts +109 -0
  507. package/dist/modules/pages/pages.controller.js +387 -0
  508. package/dist/modules/pages/pages.controller.js.map +1 -0
  509. package/dist/modules/pages/pages.module.d.ts +2 -0
  510. package/dist/modules/pages/pages.module.js +23 -0
  511. package/dist/modules/pages/pages.module.js.map +1 -0
  512. package/dist/modules/pages/pages.service.d.ts +112 -0
  513. package/dist/modules/pages/pages.service.js +481 -0
  514. package/dist/modules/pages/pages.service.js.map +1 -0
  515. package/dist/modules/project/dto/create-project.dto.d.ts +15 -0
  516. package/dist/modules/project/dto/create-project.dto.js +93 -0
  517. package/dist/modules/project/dto/create-project.dto.js.map +1 -0
  518. package/dist/modules/project/dto/index.d.ts +2 -0
  519. package/dist/modules/project/dto/index.js +19 -0
  520. package/dist/modules/project/dto/index.js.map +1 -0
  521. package/dist/modules/project/dto/project-member.dto.d.ts +8 -0
  522. package/dist/modules/project/dto/project-member.dto.js +48 -0
  523. package/dist/modules/project/dto/project-member.dto.js.map +1 -0
  524. package/dist/modules/project/dto/update-project.dto.d.ts +6 -0
  525. package/dist/modules/project/dto/update-project.dto.js +9 -0
  526. package/dist/modules/project/dto/update-project.dto.js.map +1 -0
  527. package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.d.ts +33 -0
  528. package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js +127 -0
  529. package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js.map +1 -0
  530. package/dist/modules/project/project-identifiers/project-identifiers.controller.d.ts +12 -0
  531. package/dist/modules/project/project-identifiers/project-identifiers.controller.js +48 -0
  532. package/dist/modules/project/project-identifiers/project-identifiers.controller.js.map +1 -0
  533. package/dist/modules/project/project-identifiers/project-identifiers.module.d.ts +2 -0
  534. package/dist/modules/project/project-identifiers/project-identifiers.module.js +29 -0
  535. package/dist/modules/project/project-identifiers/project-identifiers.module.js.map +1 -0
  536. package/dist/modules/project/project-identifiers/project-identifiers.service.d.ts +14 -0
  537. package/dist/modules/project/project-identifiers/project-identifiers.service.js +60 -0
  538. package/dist/modules/project/project-identifiers/project-identifiers.service.js.map +1 -0
  539. package/dist/modules/project/project.controller.d.ts +94 -0
  540. package/dist/modules/project/project.controller.js +338 -0
  541. package/dist/modules/project/project.controller.js.map +1 -0
  542. package/dist/modules/project/project.module.d.ts +2 -0
  543. package/dist/modules/project/project.module.js +87 -0
  544. package/dist/modules/project/project.module.js.map +1 -0
  545. package/dist/modules/project/project.service.d.ts +132 -0
  546. package/dist/modules/project/project.service.js +491 -0
  547. package/dist/modules/project/project.service.js.map +1 -0
  548. package/dist/modules/project-module/dto/create-module.dto.d.ts +12 -0
  549. package/dist/modules/project-module/dto/create-module.dto.js +76 -0
  550. package/dist/modules/project-module/dto/create-module.dto.js.map +1 -0
  551. package/dist/modules/project-module/dto/index.d.ts +2 -0
  552. package/dist/modules/project-module/dto/index.js +19 -0
  553. package/dist/modules/project-module/dto/index.js.map +1 -0
  554. package/dist/modules/project-module/dto/update-module.dto.d.ts +6 -0
  555. package/dist/modules/project-module/dto/update-module.dto.js +9 -0
  556. package/dist/modules/project-module/dto/update-module.dto.js.map +1 -0
  557. package/dist/modules/project-module/project-module.controller.d.ts +52 -0
  558. package/dist/modules/project-module/project-module.controller.js +167 -0
  559. package/dist/modules/project-module/project-module.controller.js.map +1 -0
  560. package/dist/modules/project-module/project-module.module.d.ts +2 -0
  561. package/dist/modules/project-module/project-module.module.js +26 -0
  562. package/dist/modules/project-module/project-module.module.js.map +1 -0
  563. package/dist/modules/project-module/project-module.service.d.ts +66 -0
  564. package/dist/modules/project-module/project-module.service.js +275 -0
  565. package/dist/modules/project-module/project-module.service.js.map +1 -0
  566. package/dist/modules/reactions/reactions.module.d.ts +2 -0
  567. package/dist/modules/reactions/reactions.module.js +21 -0
  568. package/dist/modules/reactions/reactions.module.js.map +1 -0
  569. package/dist/modules/reactions/reactions.service.d.ts +48 -0
  570. package/dist/modules/reactions/reactions.service.js +121 -0
  571. package/dist/modules/reactions/reactions.service.js.map +1 -0
  572. package/dist/modules/recent-visits/recent-visits.controller.d.ts +12 -0
  573. package/dist/modules/recent-visits/recent-visits.controller.js +50 -0
  574. package/dist/modules/recent-visits/recent-visits.controller.js.map +1 -0
  575. package/dist/modules/recent-visits/recent-visits.module.d.ts +2 -0
  576. package/dist/modules/recent-visits/recent-visits.module.js +23 -0
  577. package/dist/modules/recent-visits/recent-visits.module.js.map +1 -0
  578. package/dist/modules/recent-visits/recent-visits.service.d.ts +12 -0
  579. package/dist/modules/recent-visits/recent-visits.service.js +53 -0
  580. package/dist/modules/recent-visits/recent-visits.service.js.map +1 -0
  581. package/dist/modules/sidebar-preferences/sidebar-preferences.controller.d.ts +47 -0
  582. package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js +38 -0
  583. package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js.map +1 -0
  584. package/dist/modules/sidebar-preferences/sidebar-preferences.module.d.ts +2 -0
  585. package/dist/modules/sidebar-preferences/sidebar-preferences.module.js +23 -0
  586. package/dist/modules/sidebar-preferences/sidebar-preferences.module.js.map +1 -0
  587. package/dist/modules/sidebar-preferences/sidebar-preferences.service.d.ts +49 -0
  588. package/dist/modules/sidebar-preferences/sidebar-preferences.service.js +27 -0
  589. package/dist/modules/sidebar-preferences/sidebar-preferences.service.js.map +1 -0
  590. package/dist/modules/states/dto/create-state.dto.d.ts +7 -0
  591. package/dist/modules/states/dto/create-state.dto.js +42 -0
  592. package/dist/modules/states/dto/create-state.dto.js.map +1 -0
  593. package/dist/modules/states/dto/index.d.ts +1 -0
  594. package/dist/modules/states/dto/index.js +18 -0
  595. package/dist/modules/states/dto/index.js.map +1 -0
  596. package/dist/modules/states/states.controller.d.ts +27 -0
  597. package/dist/modules/states/states.controller.js +85 -0
  598. package/dist/modules/states/states.controller.js.map +1 -0
  599. package/dist/modules/states/states.module.d.ts +2 -0
  600. package/dist/modules/states/states.module.js +23 -0
  601. package/dist/modules/states/states.module.js.map +1 -0
  602. package/dist/modules/states/states.service.d.ts +33 -0
  603. package/dist/modules/states/states.service.js +99 -0
  604. package/dist/modules/states/states.service.js.map +1 -0
  605. package/dist/modules/subscription/subscription.module.d.ts +2 -0
  606. package/dist/modules/subscription/subscription.module.js +21 -0
  607. package/dist/modules/subscription/subscription.module.js.map +1 -0
  608. package/dist/modules/subscription/subscription.service.d.ts +32 -0
  609. package/dist/modules/subscription/subscription.service.js +98 -0
  610. package/dist/modules/subscription/subscription.service.js.map +1 -0
  611. package/dist/modules/timezones/timezones.controller.d.ts +10 -0
  612. package/dist/modules/timezones/timezones.controller.js +34 -0
  613. package/dist/modules/timezones/timezones.controller.js.map +1 -0
  614. package/dist/modules/timezones/timezones.module.d.ts +2 -0
  615. package/dist/modules/timezones/timezones.module.js +26 -0
  616. package/dist/modules/timezones/timezones.module.js.map +1 -0
  617. package/dist/modules/user/dto/check-exist-user.dto.d.ts +10 -0
  618. package/dist/modules/user/dto/check-exist-user.dto.js +13 -0
  619. package/dist/modules/user/dto/check-exist-user.dto.js.map +1 -0
  620. package/dist/modules/user/dto/include-teams.dto.d.ts +3 -0
  621. package/dist/modules/user/dto/include-teams.dto.js +24 -0
  622. package/dist/modules/user/dto/include-teams.dto.js.map +1 -0
  623. package/dist/modules/user/dto/index.d.ts +6 -0
  624. package/dist/modules/user/dto/index.js +23 -0
  625. package/dist/modules/user/dto/index.js.map +1 -0
  626. package/dist/modules/user/dto/user-code.dto.d.ts +7 -0
  627. package/dist/modules/user/dto/user-code.dto.js +28 -0
  628. package/dist/modules/user/dto/user-code.dto.js.map +1 -0
  629. package/dist/modules/user/dto/user-email.dto.d.ts +7 -0
  630. package/dist/modules/user/dto/user-email.dto.js +27 -0
  631. package/dist/modules/user/dto/user-email.dto.js.map +1 -0
  632. package/dist/modules/user/dto/user-password.dto.d.ts +7 -0
  633. package/dist/modules/user/dto/user-password.dto.js +27 -0
  634. package/dist/modules/user/dto/user-password.dto.js.map +1 -0
  635. package/dist/modules/user/dto/user-token.dto.d.ts +7 -0
  636. package/dist/modules/user/dto/user-token.dto.js +27 -0
  637. package/dist/modules/user/dto/user-token.dto.js.map +1 -0
  638. package/dist/modules/user/user.controller.d.ts +79 -0
  639. package/dist/modules/user/user.controller.js +109 -0
  640. package/dist/modules/user/user.controller.js.map +1 -0
  641. package/dist/modules/user/user.module.d.ts +2 -0
  642. package/dist/modules/user/user.module.js +29 -0
  643. package/dist/modules/user/user.module.js.map +1 -0
  644. package/dist/modules/user/user.service.d.ts +118 -0
  645. package/dist/modules/user/user.service.js +182 -0
  646. package/dist/modules/user/user.service.js.map +1 -0
  647. package/dist/modules/user-favorites/dto/create-favorite.dto.d.ts +9 -0
  648. package/dist/modules/user-favorites/dto/create-favorite.dto.js +55 -0
  649. package/dist/modules/user-favorites/dto/create-favorite.dto.js.map +1 -0
  650. package/dist/modules/user-favorites/dto/index.d.ts +1 -0
  651. package/dist/modules/user-favorites/dto/index.js +18 -0
  652. package/dist/modules/user-favorites/dto/index.js.map +1 -0
  653. package/dist/modules/user-favorites/user-favorites.controller.d.ts +27 -0
  654. package/dist/modules/user-favorites/user-favorites.controller.js +82 -0
  655. package/dist/modules/user-favorites/user-favorites.controller.js.map +1 -0
  656. package/dist/modules/user-favorites/user-favorites.module.d.ts +2 -0
  657. package/dist/modules/user-favorites/user-favorites.module.js +38 -0
  658. package/dist/modules/user-favorites/user-favorites.module.js.map +1 -0
  659. package/dist/modules/user-favorites/user-favorites.service.d.ts +36 -0
  660. package/dist/modules/user-favorites/user-favorites.service.js +174 -0
  661. package/dist/modules/user-favorites/user-favorites.service.js.map +1 -0
  662. package/dist/modules/views/dto/create-issue-view.dto.d.ts +9 -0
  663. package/dist/modules/views/dto/create-issue-view.dto.js +54 -0
  664. package/dist/modules/views/dto/create-issue-view.dto.js.map +1 -0
  665. package/dist/modules/views/dto/index.d.ts +2 -0
  666. package/dist/modules/views/dto/index.js +19 -0
  667. package/dist/modules/views/dto/index.js.map +1 -0
  668. package/dist/modules/views/dto/update-issue-view.dto.d.ts +6 -0
  669. package/dist/modules/views/dto/update-issue-view.dto.js +9 -0
  670. package/dist/modules/views/dto/update-issue-view.dto.js.map +1 -0
  671. package/dist/modules/views/view.controller.d.ts +45 -0
  672. package/dist/modules/views/view.controller.js +128 -0
  673. package/dist/modules/views/view.controller.js.map +1 -0
  674. package/dist/modules/views/view.module.d.ts +2 -0
  675. package/dist/modules/views/view.module.js +23 -0
  676. package/dist/modules/views/view.module.js.map +1 -0
  677. package/dist/modules/views/view.service.d.ts +55 -0
  678. package/dist/modules/views/view.service.js +158 -0
  679. package/dist/modules/views/view.service.js.map +1 -0
  680. package/dist/modules/views/workspace-view.controller.d.ts +42 -0
  681. package/dist/modules/views/workspace-view.controller.js +120 -0
  682. package/dist/modules/views/workspace-view.controller.js.map +1 -0
  683. package/dist/modules/views/workspace-view.module.d.ts +2 -0
  684. package/dist/modules/views/workspace-view.module.js +28 -0
  685. package/dist/modules/views/workspace-view.module.js.map +1 -0
  686. package/dist/modules/work-items/work-items.controller.d.ts +6 -0
  687. package/dist/modules/work-items/work-items.controller.js +42 -0
  688. package/dist/modules/work-items/work-items.controller.js.map +1 -0
  689. package/dist/modules/work-items/work-items.module.d.ts +2 -0
  690. package/dist/modules/work-items/work-items.module.js +23 -0
  691. package/dist/modules/work-items/work-items.module.js.map +1 -0
  692. package/dist/modules/work-items/work-items.service.d.ts +11 -0
  693. package/dist/modules/work-items/work-items.service.js +45 -0
  694. package/dist/modules/work-items/work-items.service.js.map +1 -0
  695. package/dist/modules/workspace/dto/create-workspace.dto.d.ts +13 -0
  696. package/dist/modules/workspace/dto/create-workspace.dto.js +48 -0
  697. package/dist/modules/workspace/dto/create-workspace.dto.js.map +1 -0
  698. package/dist/modules/workspace/dto/index.d.ts +0 -0
  699. package/dist/modules/workspace/dto/index.js +2 -0
  700. package/dist/modules/workspace/dto/index.js.map +1 -0
  701. package/dist/modules/workspace/workspace-context.service.d.ts +13 -0
  702. package/dist/modules/workspace/workspace-context.service.js +35 -0
  703. package/dist/modules/workspace/workspace-context.service.js.map +1 -0
  704. package/dist/modules/workspace/workspace.controller.d.ts +292 -0
  705. package/dist/modules/workspace/workspace.controller.js +758 -0
  706. package/dist/modules/workspace/workspace.controller.js.map +1 -0
  707. package/dist/modules/workspace/workspace.middleware.d.ts +5 -0
  708. package/dist/modules/workspace/workspace.middleware.js +32 -0
  709. package/dist/modules/workspace/workspace.middleware.js.map +1 -0
  710. package/dist/modules/workspace/workspace.module.d.ts +2 -0
  711. package/dist/modules/workspace/workspace.module.js +49 -0
  712. package/dist/modules/workspace/workspace.module.js.map +1 -0
  713. package/dist/modules/workspace/workspace.service.d.ts +475 -0
  714. package/dist/modules/workspace/workspace.service.js +1266 -0
  715. package/dist/modules/workspace/workspace.service.js.map +1 -0
  716. package/dist/modules/workspace/workspaces.controller.d.ts +13 -0
  717. package/dist/modules/workspace/workspaces.controller.js +57 -0
  718. package/dist/modules/workspace/workspaces.controller.js.map +1 -0
  719. package/dist/modules/workspace/workspaces.module.d.ts +2 -0
  720. package/dist/modules/workspace/workspaces.module.js +29 -0
  721. package/dist/modules/workspace/workspaces.module.js.map +1 -0
  722. package/dist/modules/workspace/workspaces.service.d.ts +15 -0
  723. package/dist/modules/workspace/workspaces.service.js +52 -0
  724. package/dist/modules/workspace/workspaces.service.js.map +1 -0
  725. package/dist/modules/workspace-slug/workspace-slug.controller.d.ts +6 -0
  726. package/dist/modules/workspace-slug/workspace-slug.controller.js +37 -0
  727. package/dist/modules/workspace-slug/workspace-slug.controller.js.map +1 -0
  728. package/dist/modules/workspace-slug/workspace-slug.module.d.ts +2 -0
  729. package/dist/modules/workspace-slug/workspace-slug.module.js +26 -0
  730. package/dist/modules/workspace-slug/workspace-slug.module.js.map +1 -0
  731. package/dist/mount.d.ts +51 -0
  732. package/dist/mount.js +194 -0
  733. package/dist/mount.js.map +1 -0
  734. package/dist/plane-config.registry.d.ts +31 -0
  735. package/dist/plane-config.registry.js +91 -0
  736. package/dist/plane-config.registry.js.map +1 -0
  737. package/dist/plane-plugin-options.interface.d.ts +70 -0
  738. package/dist/plane-plugin-options.interface.js +5 -0
  739. package/dist/plane-plugin-options.interface.js.map +1 -0
  740. package/dist/plane-proxy.module.d.ts +16 -0
  741. package/dist/plane-proxy.module.js +176 -0
  742. package/dist/plane-proxy.module.js.map +1 -0
  743. package/package.json +109 -0
@@ -0,0 +1,92 @@
1
+ import { BaseEntityEnum, IComment, ICommentFindInput, ICreateCommentInput, ICreateReactionInput, ID, IEmployee, IReaction, IReactionData } from '@ever-gauzy/plugin-integration-plane-models';
2
+ import { ApiFetchService } from '../api-fetch/api-fetch.service';
3
+ import { ProjectService } from '../project/project.service';
4
+ import { ReactionsService } from '../reactions/reactions.service';
5
+ export declare class CommentsService extends ApiFetchService {
6
+ private readonly _projectService;
7
+ private readonly _reactionService;
8
+ private readonly _serverFetchService;
9
+ constructor(_projectService: ProjectService, _reactionService: ReactionsService, _serverFetchService: ApiFetchService);
10
+ private readonly path;
11
+ /**
12
+ * @description Create comment
13
+ * @param {ICreateCommentInput} input body request for comment creation
14
+ * @param {BaseEntityEnum} entity commented entity type
15
+ * @param {ID} entityId commented entity ID
16
+ * @param {IEmployee[]} employees - Optional mentioned employees
17
+ * @returns A promise resolved to created comment
18
+ * @memberof CommentsService
19
+ */
20
+ create(input: ICreateCommentInput, entity: BaseEntityEnum, entityId: ID, employees?: IEmployee[]): Promise<IComment>;
21
+ /**
22
+ * @description Update comment
23
+ * @param {ID} id Comment ID to be updated
24
+ * @param {Partial<ICreateCommentInput>} input Body Request data for updating
25
+ * @returns A Promise resolved to updated comment
26
+ * @memberof CommentsService
27
+ */
28
+ update(id: ID, options: ICommentFindInput, input: ICreateCommentInput): Promise<IComment>;
29
+ /**
30
+ * @description Find comments
31
+ * @param {Partial<ICommentFindInput>} options Filter options
32
+ * @returns A promise resolved to fetched comments
33
+ * @memberof CommentsService
34
+ */
35
+ findAll(options: Partial<ICommentFindInput>): Promise<IComment[]>;
36
+ /**
37
+ * @description Find one comment
38
+ * @param {ID} id - Comment ID
39
+ * @param {ICommentFindInput} options - find filter options
40
+ * @returns A promise resolved to found comment
41
+ * @memberof CommentsService
42
+ */
43
+ findOne(id: ID, options: ICommentFindInput): Promise<IComment>;
44
+ /**
45
+ * @description Delete comment
46
+ * @param {ID} id - The comment ID to be deleted
47
+ * @returns A promise resolved to delete result
48
+ * @memberof CommentsService
49
+ */
50
+ delete(id: ID): Promise<any>;
51
+ /**
52
+ * @description Create Reaction to comment
53
+ * @param {ID} entityId - Comment ID for whom create reaction
54
+ * @param {ID} projectId - The project ID for returning project data
55
+ * @param {ICreateReactionInput} input - Body request data
56
+ * @returns A promise resolved to created and transformed reaction
57
+ * @memberof CommentsService
58
+ */
59
+ createReaction(entityId: ID, projectId: ID, input: ICreateReactionInput): Promise<IReactionData>;
60
+ /**
61
+ * @description Get comment reaction details
62
+ * @param {ID} projectId - Project ID
63
+ * @param {ID} creatorId Creator ID for returning actor details
64
+ * @returns - A promise resolced afet got details
65
+ * @memberof CommentsService
66
+ */
67
+ getCommentReactionDetails(projectId: ID, creatorId: ID): Promise<{
68
+ project: import("@ever-gauzy/plugin-integration-plane-models").IOrganizationProject;
69
+ workspace: {
70
+ name: string | undefined;
71
+ id: string | undefined;
72
+ slug: string;
73
+ };
74
+ actor: IEmployee | undefined;
75
+ }>;
76
+ /**
77
+ * @description Find comment reactions with associated data
78
+ * @param {Partial<IReaction>} options Find options filter
79
+ * @param {ID} projectId - Project ID for returning data
80
+ * @returns A promise resolved to found and transformed reactions
81
+ * @memberof CommentsService
82
+ */
83
+ findCommentReactions(options: Partial<IReaction>, projectId: ID): Promise<any>;
84
+ /**
85
+ * @description Delete Comment Reaction By Emoji.
86
+ * @param {string} reaction - Emoji
87
+ * @param {ID} entityId - Comment ID from whom to delete reaction
88
+ * @returns A promise resolved to deleted result
89
+ * @memberof CommentsService
90
+ */
91
+ deleteCommentReactionByEmoji(reaction: string, entityId: ID): Promise<any>;
92
+ }
@@ -0,0 +1,235 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ var __importDefault = (this && this.__importDefault) || function (mod) {
15
+ return (mod && mod.__esModule) ? mod : { "default": mod };
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CommentsService = void 0;
19
+ const common_1 = require("@nestjs/common");
20
+ const qs_1 = __importDefault(require("qs"));
21
+ const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
22
+ const api_fetch_service_1 = require("../api-fetch/api-fetch.service");
23
+ const config_1 = require("../../config");
24
+ const project_service_1 = require("../project/project.service");
25
+ const reactions_service_1 = require("../reactions/reactions.service");
26
+ let CommentsService = class CommentsService extends api_fetch_service_1.ApiFetchService {
27
+ constructor(_projectService, _reactionService, _serverFetchService) {
28
+ super(_serverFetchService['_httpService']);
29
+ this._projectService = _projectService;
30
+ this._reactionService = _reactionService;
31
+ this._serverFetchService = _serverFetchService;
32
+ this.path = '/comment';
33
+ }
34
+ /**
35
+ * @description Create comment
36
+ * @param {ICreateCommentInput} input body request for comment creation
37
+ * @param {BaseEntityEnum} entity commented entity type
38
+ * @param {ID} entityId commented entity ID
39
+ * @param {IEmployee[]} employees - Optional mentioned employees
40
+ * @returns A promise resolved to created comment
41
+ * @memberof CommentsService
42
+ */
43
+ async create(input, entity, entityId, employees) {
44
+ var _a, _b;
45
+ try {
46
+ const body = (0, config_1.createCommentInputTransformer)(input, entity, entityId, employees);
47
+ const comment = (await this.apiFetch({
48
+ method: 'POST',
49
+ path: this.path,
50
+ body: Object.assign(Object.assign({}, body), { organizationId: (0, config_1.getCurrentOrganizationSlug)() })
51
+ })).data;
52
+ return comment;
53
+ }
54
+ catch (error) {
55
+ this.logger.error(`Operation failed: ${((_b = (_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || error.message}`, error.stack);
56
+ throw new common_1.BadRequestException(error);
57
+ }
58
+ }
59
+ /**
60
+ * @description Update comment
61
+ * @param {ID} id Comment ID to be updated
62
+ * @param {Partial<ICreateCommentInput>} input Body Request data for updating
63
+ * @returns A Promise resolved to updated comment
64
+ * @memberof CommentsService
65
+ */
66
+ async update(id, options, input) {
67
+ try {
68
+ const existingComment = await this.findOne(id, options);
69
+ if (!existingComment) {
70
+ throw new common_1.BadRequestException('Comment Not Found');
71
+ }
72
+ const body = (0, config_1.updateCommentInputTransformer)(input, existingComment);
73
+ const comment = (await this.apiFetch({
74
+ method: 'PUT',
75
+ path: `${this.path}/${id}`,
76
+ body
77
+ })).data;
78
+ return comment;
79
+ }
80
+ catch (error) {
81
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
82
+ throw new common_1.BadRequestException(error);
83
+ }
84
+ }
85
+ /**
86
+ * @description Find comments
87
+ * @param {Partial<ICommentFindInput>} options Filter options
88
+ * @returns A promise resolved to fetched comments
89
+ * @memberof CommentsService
90
+ */
91
+ async findAll(options) {
92
+ try {
93
+ const { entity, entityId } = options;
94
+ const query = qs_1.default.stringify((0, config_1.getCommentsQuery)(entityId, entity));
95
+ const comments = (await this.apiFetch({ method: 'GET', path: this.path, query })).data;
96
+ return comments.items;
97
+ }
98
+ catch (error) {
99
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
100
+ throw new common_1.BadRequestException();
101
+ }
102
+ }
103
+ /**
104
+ * @description Find one comment
105
+ * @param {ID} id - Comment ID
106
+ * @param {ICommentFindInput} options - find filter options
107
+ * @returns A promise resolved to found comment
108
+ * @memberof CommentsService
109
+ */
110
+ async findOne(id, options) {
111
+ try {
112
+ const { entity, entityId } = options;
113
+ const query = qs_1.default.stringify((0, config_1.getCommentsQuery)(entityId, entity));
114
+ const comment = (await this.apiFetch({
115
+ method: 'GET',
116
+ path: `${this.path}/${id}`,
117
+ query
118
+ })).data;
119
+ return comment;
120
+ }
121
+ catch (error) {
122
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
123
+ throw new common_1.BadRequestException();
124
+ }
125
+ }
126
+ /**
127
+ * @description Delete comment
128
+ * @param {ID} id - The comment ID to be deleted
129
+ * @returns A promise resolved to delete result
130
+ * @memberof CommentsService
131
+ */
132
+ async delete(id) {
133
+ return (await this.apiFetch({
134
+ method: 'DELETE',
135
+ path: `${this.path}/${id}`
136
+ })).data;
137
+ }
138
+ /**
139
+ * @description Create Reaction to comment
140
+ * @param {ID} entityId - Comment ID for whom create reaction
141
+ * @param {ID} projectId - The project ID for returning project data
142
+ * @param {ICreateReactionInput} input - Body request data
143
+ * @returns A promise resolved to created and transformed reaction
144
+ * @memberof CommentsService
145
+ */
146
+ async createReaction(entityId, projectId, input) {
147
+ try {
148
+ // Create reaction
149
+ const reaction = await this._reactionService.create(input, plugin_integration_plane_models_1.ReactionEntityEnum.Comment, entityId);
150
+ // Reaction details
151
+ const { project, workspace } = await this.getCommentReactionDetails(projectId, reaction.employeeId);
152
+ // Transform Reaction
153
+ const transformedReaction = (0, config_1.reactionTransformer)(reaction, project, workspace);
154
+ return Array.isArray(transformedReaction)
155
+ ? transformedReaction[0]
156
+ : transformedReaction;
157
+ }
158
+ catch (error) {
159
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
160
+ throw new common_1.BadRequestException(error);
161
+ }
162
+ }
163
+ /**
164
+ * @description Get comment reaction details
165
+ * @param {ID} projectId - Project ID
166
+ * @param {ID} creatorId Creator ID for returning actor details
167
+ * @returns - A promise resolced afet got details
168
+ * @memberof CommentsService
169
+ */
170
+ async getCommentReactionDetails(projectId, creatorId) {
171
+ var _a;
172
+ try {
173
+ // Find project
174
+ const project = await this._projectService.getExternalProject(projectId, ['tenant', 'members.employee.user']);
175
+ // Workspace details
176
+ const tenant = project.tenant;
177
+ const workspace = {
178
+ name: tenant === null || tenant === void 0 ? void 0 : tenant.name,
179
+ id: tenant === null || tenant === void 0 ? void 0 : tenant.id,
180
+ slug: tenant.name.toLowerCase()
181
+ };
182
+ // Find actor by userId
183
+ const actor = (_a = project.members.find((member) => member.employee.userId === creatorId)) === null || _a === void 0 ? void 0 : _a.employee;
184
+ return { project, workspace, actor };
185
+ }
186
+ catch (error) {
187
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
188
+ throw new common_1.BadRequestException(error);
189
+ }
190
+ }
191
+ /**
192
+ * @description Find comment reactions with associated data
193
+ * @param {Partial<IReaction>} options Find options filter
194
+ * @param {ID} projectId - Project ID for returning data
195
+ * @returns A promise resolved to found and transformed reactions
196
+ * @memberof CommentsService
197
+ */
198
+ async findCommentReactions(options, projectId) {
199
+ var _a, _b;
200
+ try {
201
+ const reactions = await this._reactionService.findAll(options);
202
+ const commentReactions = await Promise.all(reactions.map(async (reaction) => {
203
+ const { project, workspace } = await this.getCommentReactionDetails(projectId, reaction.employeeId);
204
+ const transformedReaction = (0, config_1.reactionTransformer)(reaction, project, workspace);
205
+ return Array.isArray(transformedReaction)
206
+ ? transformedReaction[0]
207
+ : transformedReaction;
208
+ }));
209
+ return commentReactions;
210
+ }
211
+ catch (error) {
212
+ this.logger.error(`Operation failed: ${((_b = (_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || error.message}`, error.stack);
213
+ throw new common_1.BadRequestException(error);
214
+ }
215
+ }
216
+ /**
217
+ * @description Delete Comment Reaction By Emoji.
218
+ * @param {string} reaction - Emoji
219
+ * @param {ID} entityId - Comment ID from whom to delete reaction
220
+ * @returns A promise resolved to deleted result
221
+ * @memberof CommentsService
222
+ */
223
+ async deleteCommentReactionByEmoji(reaction, entityId) {
224
+ return await this._reactionService.deleteByEmoji(reaction, plugin_integration_plane_models_1.ReactionEntityEnum.Comment, entityId);
225
+ }
226
+ };
227
+ exports.CommentsService = CommentsService;
228
+ exports.CommentsService = CommentsService = __decorate([
229
+ (0, common_1.Injectable)(),
230
+ __param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => project_service_1.ProjectService))),
231
+ __metadata("design:paramtypes", [project_service_1.ProjectService,
232
+ reactions_service_1.ReactionsService,
233
+ api_fetch_service_1.ApiFetchService])
234
+ ], CommentsService);
235
+ //# sourceMappingURL=comments.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/comments/comments.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAKwB;AACxB,4CAAoB;AACpB,iGAYqD;AACrD,sEAAiE;AACjE,yCAMsB;AACtB,gEAA4D;AAC5D,sEAAkE;AAG3D,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mCAAe;IACnD,YAEC,eAAgD,EAC/B,gBAAkC,EAClC,mBAAoC;QAErD,KAAK,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC;QAJ1B,oBAAe,GAAf,eAAe,CAAgB;QAC/B,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,wBAAmB,GAAnB,mBAAmB,CAAiB;QAKrC,SAAI,GAAG,UAAU,CAAC;IAFnC,CAAC;IAID;;;;;;;;OAQG;IACH,KAAK,CAAC,MAAM,CACX,KAA0B,EAC1B,MAAsB,EACtB,QAAY,EACZ,SAAuB;;QAEvB,IAAI,CAAC;YACJ,MAAM,IAAI,GAAG,IAAA,sCAA6B,EACzC,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,CACT,CAAC;YAEF,MAAM,OAAO,GAAa,CACzB,MAAM,IAAI,CAAC,QAAQ,CAAC;gBACnB,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,IAAI,kCACA,IAAI,KACP,cAAc,EAAE,IAAA,mCAA0B,GAAE,GAC5C;aACD,CAAC,CACF,CAA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C,CAAA;qCACP,gCAAc;QACb,oCAAgB;QACb,mCAAe;GAL1C,eAAe,CAwT3B"}
@@ -0,0 +1,106 @@
1
+ import { ICycle, ICycleAnalytics, ICycleIssuesResponse, ICycleProgress, ID } from '@ever-gauzy/plugin-integration-plane-models';
2
+ import { CyclesService } from './cycles.service';
3
+ import { CreateCycleDTO, CycleDTO, UpdateCycleDTO } from './dto';
4
+ export declare class CyclesController {
5
+ private readonly _cycleService;
6
+ constructor(_cycleService: CyclesService);
7
+ /**
8
+ * Creates a new cycle (sprint) based on the provided input.
9
+ *
10
+ * @param {CreateCycleDTO} input - The data transfer object containing the cycle details to create.
11
+ * @returns {Promise<ICycle | ICycle[]>} - The newly created cycle or a list of cycles after the creation.
12
+ */
13
+ create(input: CreateCycleDTO): Promise<ICycle | ICycle[]>;
14
+ /**
15
+ * Checks for overlaps with existing cycles before creating a new cycle.
16
+ *
17
+ * @param input The start and end dates for the new cycle to be created.
18
+ * @returns The status and optional error according to overlaps existing
19
+ */
20
+ checkDatesOverlap(input: Pick<CycleDTO, 'start_date' | 'end_date'>): Promise<{
21
+ error: string;
22
+ status: boolean;
23
+ } | {
24
+ status: boolean;
25
+ error?: undefined;
26
+ }>;
27
+ /**
28
+ * Adds a list of issues to a sprint by updating each issue with the given cycle ID.
29
+ *
30
+ * @param {ID} id - The ID of the sprint (cycle) to which the issues will be added.
31
+ * @param {ID[]} input - An array of issue IDs that need to be associated with the sprint.
32
+ * @returns {Promise<{ message: string }>} A success message upon completion.
33
+ */
34
+ addIssuesToSprint(id: ID, input: {
35
+ issues: ID[];
36
+ }): Promise<{
37
+ message: string;
38
+ }>;
39
+ /**
40
+ * Removes an issue from a sprint by updating the issue with the given cycle ID to null.
41
+ *
42
+ * @param {ID} issueId - The ID of the issue to be removed from the sprint.
43
+ * @returns A promise that resolves to the updated issue.
44
+ */
45
+ removeIssueFromSprint(issueId: ID): Promise<import("@ever-gauzy/plugin-integration-plane-models").IIssue>;
46
+ /**
47
+ * Updates an existing cycle (sprint) based on the provided ID and input data.
48
+ *
49
+ * @param {ID} id - The unique identifier of the cycle to update.
50
+ * @param {UpdateCycleDTO} input - The data transfer object containing the updated cycle details.
51
+ * @returns {Promise<ICycle | ICycle[]>} - The updated cycle or a list of updated cycles after the update.
52
+ */
53
+ update(id: ID, input: UpdateCycleDTO): Promise<ICycle | ICycle[]>;
54
+ /**
55
+ * Retrieves all cycles (sprints) for a given project.
56
+ *
57
+ * @param {ID} projectId - The unique identifier of the project to filter cycles.
58
+ * @returns {Promise<ICycle | ICycle[]>} - A promise that resolves to a list of cycles for the specified project.
59
+ */
60
+ findAll(projectId: ID): Promise<ICycle | ICycle[]>;
61
+ /**
62
+ * Retrieves a specific cycle (sprint) by its ID and optionally filters by project ID.
63
+ *
64
+ * @param {ID} id - The unique identifier of the cycle to retrieve.
65
+ * @param {ID} projectId - (Optional) The unique identifier of the project to filter the cycle.
66
+ * @returns {Promise<ICycle | ICycle[]>} - A promise that resolves to the requested cycle or a list of cycles.
67
+ */
68
+ findOne(id: ID, projectId: ID): Promise<ICycle | ICycle[]>;
69
+ /**
70
+ * Retrieves all tasks that were ever part of a sprint
71
+ *
72
+ * @param {ID} id - The ID of the sprint (cycle).
73
+ * @param {ID} projectId - The ID of the project to which the sprint belongs.
74
+ * @returns {Promise<ICycleIssuesResponse>} - A transformed response containing all unique sprint issues.
75
+ */
76
+ findCycleIssues(id: ID, projectId: ID): Promise<ICycleIssuesResponse>;
77
+ /**
78
+ * Retrieves analytics data for a specific cycle within a project.
79
+ *
80
+ * This function fetches the cycle/sprint data along with its associated tasks and task histories.
81
+ * It analyzes tasks to provide statistics about task completion, assignments, and labels.
82
+ *
83
+ * @param {ID} id - The ID of the cycle to analyze
84
+ * @param {ID} projectId - The ID of the project containing the cycle
85
+ * @returns {Promise<any>} A promise that resolves to the cycle analytics data.
86
+ */
87
+ findCycleAnalytics(id: ID, projectId: ID): Promise<ICycleAnalytics>;
88
+ /**
89
+ * Retrieves the progress of a specific cycle within a project, including task counts
90
+ * and estimation points for various statuses (e.g., backlog, started, completed).
91
+ *
92
+ * @param {ID} id - The unique identifier of the cycle to retrieve progress for.
93
+ * @param {ID} projectId - The unique identifier of the project the cycle belongs to.
94
+ * @returns {Promise<ICycleProgress>} - A promise that resolves to an object containing
95
+ * detailed cycle progress, including task counts and estimation points.
96
+ */
97
+ getCycleProgress(id: ID, projectId: ID): Promise<ICycleProgress>;
98
+ findCycleUserProperties(id: ID): Promise<any>;
99
+ updateModuleUserProperties(id: ID, input: any): Promise<import("@ever-gauzy/plugin-integration-plane-models").IUserViewProperties>;
100
+ /** Deletes a specific cycle (sprint) by its ID.
101
+ *
102
+ * @param {ID} id - The unique identifier of the cycle to delete.
103
+ * @returns - A promise that resolves when the cycle is successfully deleted.
104
+ */
105
+ delete(id: ID): Promise<any>;
106
+ }