@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,477 @@
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.CyclesService = void 0;
19
+ const common_1 = require("@nestjs/common");
20
+ const moment_1 = __importDefault(require("moment"));
21
+ const qs_1 = __importDefault(require("qs"));
22
+ const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
23
+ const config_1 = require("../../config");
24
+ const api_fetch_service_1 = require("../api-fetch/api-fetch.service");
25
+ const user_favorites_service_1 = require("../user-favorites/user-favorites.service");
26
+ const issues_service_1 = require("../issues/issues.service");
27
+ const employee_properties_service_1 = require("../employee-properties/employee-properties.service");
28
+ let CyclesService = class CyclesService extends api_fetch_service_1.ApiFetchService {
29
+ constructor(_serverFetchService, _issueService, _userFavoriteService, _employeePropertiesService) {
30
+ super(_serverFetchService['_httpService']);
31
+ this._serverFetchService = _serverFetchService;
32
+ this._issueService = _issueService;
33
+ this._userFavoriteService = _userFavoriteService;
34
+ this._employeePropertiesService = _employeePropertiesService;
35
+ this.path = '/organization-sprint';
36
+ }
37
+ /**
38
+ * @description Find a sprint from external API
39
+ * @param {ID} id - The sprint ID to find
40
+ * @param {ID} [projectId] - Optional Project ID to filter search
41
+ * @returns {Promise<IOrganizationSprint>} - A promise resolved to found Sprint
42
+ * @memberof CyclesService
43
+ */
44
+ async getExternalSprint(id, projectId, relations) {
45
+ // Build the query string once
46
+ const query = qs_1.default.stringify((0, config_1.getSprintsQuery)(projectId, relations));
47
+ return await (await this.apiFetch({
48
+ method: 'GET',
49
+ path: `${this.path}/${id}`,
50
+ query
51
+ })).data;
52
+ }
53
+ /**
54
+ * Creates a new cycle and returns the transformed cycle or cycles.
55
+ *
56
+ * @param {ICycle} input - The cycle data used to create a new cycle.
57
+ * @returns {Promise<ICycle | ICycle[]>} - The created cycle or a list of cycles after transformation.
58
+ * @throws {BadRequestException} - Throws an error if the creation fails.
59
+ */
60
+ async create(input) {
61
+ var _a, _b;
62
+ try {
63
+ // Build the body request
64
+ const body = (0, config_1.createCycleInputTransformer)(input);
65
+ const sprint = (await this.apiFetch({ method: 'POST', path: this.path, body })).data;
66
+ // Return the transformed sprint
67
+ return (0, config_1.cycleTransformer)(sprint);
68
+ }
69
+ catch (error) {
70
+ this.logger.error(`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.stack);
71
+ throw new common_1.BadRequestException(error.response);
72
+ }
73
+ }
74
+ /**
75
+ * Updates an existing cycle by its ID and returns the transformed cycle or cycles.
76
+ *
77
+ * @param {ID} id - The unique identifier of the cycle to update.
78
+ * @param {ICycle} input - The updated cycle data.
79
+ * @returns {Promise<ICycle | ICycle[]>} - The updated cycle or a list of updated cycles after transformation.
80
+ * @throws {BadRequestException} - Throws an error if the update fails.
81
+ */
82
+ async update(id, input) {
83
+ try {
84
+ // Build the body request
85
+ const body = (0, config_1.updateCycleInputTransformer)(input);
86
+ const sprint = (await this.apiFetch({
87
+ method: 'PUT',
88
+ path: `${this.path}/${id}`,
89
+ body
90
+ })).data;
91
+ const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint);
92
+ return (0, config_1.cycleTransformer)(sprint, favoriteIds);
93
+ }
94
+ catch (error) {
95
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
96
+ throw new common_1.BadRequestException(error.response);
97
+ }
98
+ }
99
+ /**
100
+ * Retrieves all cycles (sprints) optionally filtered by a project ID and returns the transformed result.
101
+ *
102
+ * @param {ID} [projectId] - Optional project ID to filter the cycles by project.
103
+ * @returns {Promise<ICycle | ICycle[]>} - A list of cycles or a single cycle after transformation.
104
+ * @throws {BadRequestException} - Throws an error if the fetching process fails.
105
+ */
106
+ async findAll(projectId) {
107
+ try {
108
+ // Build the query string once
109
+ const query = qs_1.default.stringify((0, config_1.getSprintsQuery)(projectId));
110
+ // Search for user favorites
111
+ const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint);
112
+ // Perform the API call to fetch the sprints
113
+ const sprints = (await this.apiFetch({
114
+ method: 'GET',
115
+ path: this.path,
116
+ query
117
+ })).data;
118
+ // Return the transformed sprints
119
+ return (0, config_1.cycleTransformer)(sprints.items, favoriteIds);
120
+ }
121
+ catch (error) {
122
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
123
+ throw new common_1.BadRequestException(error);
124
+ }
125
+ }
126
+ /**
127
+ * Retrieves a specific cycle (sprint) by its ID, optionally filtered by project ID, and returns the transformed result.
128
+ *
129
+ * @param {ID} [id] - The unique identifier of the cycle to retrieve.
130
+ * @param {ID} [projectId] - Optional project ID to further filter the cycle.
131
+ * @returns {Promise<ICycle | ICycle[]>} - The retrieved cycle or a list of cycles after transformation.
132
+ * @throws {BadRequestException} - Throws an error if the retrieval process fails.
133
+ */
134
+ async findOne(id, projectId) {
135
+ try {
136
+ const sprint = await this.getExternalSprint(id, projectId);
137
+ // Search for user favorites
138
+ const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint);
139
+ return (0, config_1.cycleTransformer)(sprint, favoriteIds);
140
+ }
141
+ catch (error) {
142
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
143
+ throw new common_1.BadRequestException(error.response);
144
+ }
145
+ }
146
+ /**
147
+ * Adds a list of issues to a sprint by updating each issue with the given cycle ID.
148
+ * Utilizes `Promise.all` to perform asynchronous updates on multiple issues concurrently.
149
+ *
150
+ * @param {ID} id - The ID of the sprint (cycle) to which the issues will be added.
151
+ * @param {ID[]} input - An array of issue IDs that need to be associated with the sprint.
152
+ * @returns {Promise<{ message: string }>} A success message upon completion.
153
+ * @throws {BadRequestException} If there is an error during the update of any issue.
154
+ */
155
+ async addIssuesToSprint(id, input) {
156
+ var _a, _b;
157
+ try {
158
+ await Promise.all(input.issues.map(async (issue) => await this._issueService.update(issue, {
159
+ cycle_id: id
160
+ }, false)));
161
+ return { message: 'success' };
162
+ }
163
+ catch (error) {
164
+ 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);
165
+ throw new common_1.BadRequestException(error.response);
166
+ }
167
+ }
168
+ /**
169
+ * Removes an issue from a sprint by updating the issue with the given cycle ID to null.
170
+ *
171
+ * @param {ID} issueId - The ID of the issue to be removed from the sprint.
172
+ * @returns promise that resolves to the updated issue.
173
+ * @throws {BadRequestException} If there is an error during the update of the issue.
174
+ */
175
+ async removeIssueFromSprint(issueId) {
176
+ var _a, _b;
177
+ try {
178
+ return await this._issueService.update(issueId, { cycle_id: undefined }, false);
179
+ }
180
+ catch (error) {
181
+ 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);
182
+ throw new common_1.BadRequestException(error.response);
183
+ }
184
+ }
185
+ /**
186
+ * Retrieves all tasks that were ever part of a sprint (current and previous).
187
+ * This method combines current and previous sprint tasks, ensuring no duplicates.
188
+ *
189
+ * @param {ID} id - The ID of the sprint (cycle).
190
+ * @param {ID} projectId - The ID of the project to which the sprint belongs.
191
+ * @returns {Promise<ICycleIssuesResponse>} - A transformed response containing all unique sprint issues.
192
+ * @throws {NotFoundException} - If the sprint is not found.
193
+ * @throws {BadRequestException} - For other errors, with the error response passed in the exception.
194
+ */
195
+ async findCycleIssues(id, projectId) {
196
+ try {
197
+ // Retrieve the sprint (cycle) with task members for assignee_ids
198
+ const cycle = await this.getExternalSprint(id, projectId, config_1.cycleIssueRelations);
199
+ if (!cycle) {
200
+ throw new common_1.NotFoundException('Cycle not found.');
201
+ }
202
+ // Combine both current and previous tasks, ensuring uniqueness based on task ID
203
+ const allIssues = (0, config_1.retrieveCycleTotalTasks)(cycle).map((task) => (0, config_1.issueTransformer)(task));
204
+ // Transform and return the combined tasks
205
+ return (0, config_1.cycleIssueTransformer)(allIssues);
206
+ }
207
+ catch (error) {
208
+ // Log the error and throw a BadRequestException
209
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
210
+ throw new common_1.BadRequestException(error.response);
211
+ }
212
+ }
213
+ /**
214
+ * Checks for overlaps with existing cycles before creating a new cycle.
215
+ *
216
+ * @param input The start and end dates for the new cycle to be created.
217
+ * @returns The status and optional error according to overlaps existing
218
+ */
219
+ async checkDatesOverlap(input, projectId) {
220
+ try {
221
+ // Retrieve existing cycles
222
+ const cycles = (await this.findAll(projectId));
223
+ // Check for date overlaps using moment.js
224
+ const hasOverlap = this.checkForDateOverlap(cycles, input.start_date, input.end_date);
225
+ if (hasOverlap) {
226
+ return {
227
+ error: 'You have a cycle already on the given dates, if you want to create a draft cycle you can do that by removing dates',
228
+ status: false
229
+ };
230
+ }
231
+ return { status: true };
232
+ }
233
+ catch (error) {
234
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
235
+ throw new common_1.BadRequestException(error.response);
236
+ }
237
+ }
238
+ /**
239
+ * Deletes a specific cycle (sprint) by its ID.
240
+ *
241
+ * @param {ID} id - The unique identifier of the cycle to delete.
242
+ * @returns {Promise<any>} - The response data from the delete operation.
243
+ * @throws {BadRequestException} - Throws an error if the deletion process fails.
244
+ */
245
+ async delete(id) {
246
+ return (await this.apiFetch({
247
+ method: 'DELETE',
248
+ path: `${this.path}/${id}/soft`
249
+ })).data;
250
+ }
251
+ /**
252
+ * Checks for date overlaps between existing cycles and the new dates.
253
+ * Uses `moment` for more precise date comparisons.
254
+ * @param cycles The existing cycles.
255
+ * @param startDate The start date of the new cycle.
256
+ * @param endDate The end date of the new cycle.
257
+ * @returns true if there is an overlap, otherwise false.
258
+ */
259
+ checkForDateOverlap(cycles, startDate, endDate) {
260
+ const newStart = (0, moment_1.default)(startDate).startOf('day'); // Ignore time, use only the date
261
+ const newEnd = (0, moment_1.default)(endDate).startOf('day'); // Ignore time, use only the date
262
+ return cycles.some((cycle) => {
263
+ const existingStart = (0, moment_1.default)(cycle.start_date).startOf('day'); // Ignore time, use only the date
264
+ const existingEnd = (0, moment_1.default)(cycle.end_date).startOf('day'); // Ignore time, use only the date
265
+ // Check for overlaps using moment methods (date-only)
266
+ const isOverlap = newStart.isBefore(existingEnd) && newEnd.isAfter(existingStart);
267
+ return isOverlap;
268
+ });
269
+ }
270
+ /**
271
+ * Finds or creates cycle user properties for a specific cycle (sprint).
272
+ *
273
+ * If the user's settings for the given cycle are not found, it will attempt
274
+ * to create a new one with default properties.
275
+ *
276
+ * @param {ID} id - The identifier of the cycle (sprint).
277
+ * @returns {Promise<any>} Serialized user setting for the cycle.
278
+ * @throws {BadRequestException} Throws if the operation fails.
279
+ */
280
+ async findCycleUserProperties(id) {
281
+ var _a;
282
+ try {
283
+ // Attempt to find existing user properties for the cycle
284
+ const memberSetting = await this._employeePropertiesService.findOneByOptions({
285
+ employeeId: (0, config_1.currentEmployeeId)(),
286
+ entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint,
287
+ entityId: id,
288
+ settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS
289
+ });
290
+ if (!memberSetting) {
291
+ throw new common_1.BadRequestException('User view properties not found');
292
+ }
293
+ // If found, return the serialized settings
294
+ return (0, config_1.employeeSettingSerializer)(memberSetting);
295
+ }
296
+ catch (error) {
297
+ try {
298
+ // Create new setting with default properties if none exist for cycle.
299
+ const cycleMemberSetting = await this._employeePropertiesService.create({
300
+ entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint,
301
+ entityId: id,
302
+ settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS,
303
+ data: config_1.MEMBER_DEFAULT_VIEW_PROPS,
304
+ defaultData: config_1.MEMBER_DEFAULT_VIEW_PROPS,
305
+ employee: { id: (_a = (0, config_1.currentEmployeeId)()) !== null && _a !== void 0 ? _a : undefined },
306
+ employeeId: (0, config_1.currentEmployeeId)()
307
+ });
308
+ return (0, config_1.employeeSettingSerializer)(cycleMemberSetting);
309
+ }
310
+ catch (error) {
311
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
312
+ throw new common_1.BadRequestException('Failed to find or create new view properties');
313
+ }
314
+ }
315
+ }
316
+ /**
317
+ * Updates or creates cycle user properties for a specific cycle (sprint).
318
+ *
319
+ * If the user's settings for the given cycle already exist, they will be updated.
320
+ * Otherwise, new settings will be created with default properties.
321
+ *
322
+ * @param {ID} id - The identifier of the cycle (sprint).
323
+ * @param {IUpdateUserPropertiesInput} input - The updated properties input.
324
+ * @returns {Promise<IUserViewProperties>} The updated or newly created user properties.
325
+ * @throws {BadRequestException} Throws if the operation fails.
326
+ */
327
+ async updateCycleUserProperties(id, input) {
328
+ var _a, _b, _c;
329
+ try {
330
+ // Destructure input properties
331
+ const { display_filters, display_properties, filters, rich_filters } = input;
332
+ // Find existing employee settings for the given cycle
333
+ let memberSetting = await this._employeePropertiesService.findOneByOptions({
334
+ employeeId: (0, config_1.currentEmployeeId)(),
335
+ entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint,
336
+ entityId: id,
337
+ settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS
338
+ });
339
+ if (memberSetting) {
340
+ // Update the existings with new data or fallback to existing data
341
+ const data = memberSetting.data;
342
+ memberSetting = await this._employeePropertiesService.update(memberSetting.id, Object.assign(Object.assign({}, memberSetting), { data: {
343
+ filters: filters !== null && filters !== void 0 ? filters : data.filters,
344
+ rich_filters: rich_filters !== null && rich_filters !== void 0 ? rich_filters : data.rich_filters,
345
+ display_filters: display_filters !== null && display_filters !== void 0 ? display_filters : data.display_filters,
346
+ display_properties: display_properties !== null && display_properties !== void 0 ? display_properties : data.display_properties
347
+ } }));
348
+ }
349
+ else {
350
+ // Create new setting with default properties if none exist
351
+ memberSetting = await this._employeePropertiesService.create({
352
+ entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint,
353
+ entityId: id,
354
+ settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS,
355
+ data: config_1.MEMBER_DEFAULT_VIEW_PROPS,
356
+ defaultData: config_1.MEMBER_DEFAULT_VIEW_PROPS,
357
+ employee: { id: (_a = (0, config_1.currentEmployeeId)()) !== null && _a !== void 0 ? _a : undefined },
358
+ employeeId: (0, config_1.currentEmployeeId)()
359
+ });
360
+ }
361
+ // Serialize and return the updated/created employee setting
362
+ return (0, config_1.employeeSettingSerializer)(memberSetting);
363
+ }
364
+ catch (error) {
365
+ this.logger.error(`Operation failed: ${((_c = (_b = error === null || error === void 0 ? void 0 : error.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.message) || error.message}`, error.stack);
366
+ throw new common_1.BadRequestException(error.response);
367
+ }
368
+ }
369
+ /**
370
+ * Retrieves analytics data for a specific cycle within a project.
371
+ *
372
+ * This function fetches the cycle/sprint data along with its associated tasks and task histories.
373
+ * It analyzes tasks to provide statistics about task completion, assignments, and labels.
374
+ *
375
+ * @param {ID} cycleId - The ID of the cycle to analyze
376
+ * @param {ID} projectId - The ID of the project containing the cycle
377
+ * @returns {Promise<any>} A promise that resolves to the cycle analytics data including:
378
+ * - Task completion statistics
379
+ * - Assignment distribution
380
+ * - Label distribution
381
+ * @throws {BadRequestException} If there is an error fetching or processing the data
382
+ */
383
+ async findCycleAnalytics(cycleId, projectId) {
384
+ var _a;
385
+ try {
386
+ const sprint = await this.getExternalSprint(cycleId, projectId, [
387
+ ...config_1.cycleRelations,
388
+ 'tasks.tags',
389
+ 'tasks.taskStatus',
390
+ 'tasks.members',
391
+ 'tasks.members.user',
392
+ 'toSprintTaskHistories.task.tags',
393
+ 'toSprintTaskHistories.task.taskStatus',
394
+ 'toSprintTaskHistories.task.members',
395
+ 'toSprintTaskHistories.task.members.user',
396
+ 'fromSprintTaskHistories.task.tags',
397
+ 'fromSprintTaskHistories.task.taskStatus',
398
+ 'fromSprintTaskHistories.task.members',
399
+ 'fromSprintTaskHistories.task.members.user',
400
+ 'taskSprints.task.tags',
401
+ 'taskSprints.task.taskStatus',
402
+ 'taskSprints.task.members',
403
+ 'taskSprints.task.members.user'
404
+ ]);
405
+ // Fallback: if sprint relations return no tasks, fetch from tasks API
406
+ if ((0, config_1.retrieveCycleTotalTasks)(sprint).length === 0) {
407
+ const taskQuery = (0, config_1.getTaskQuery)(projectId, { cycle: cycleId }, ['tags', 'members.user', 'taskStatus']);
408
+ const taskResponse = (await this.apiFetch({
409
+ method: 'GET',
410
+ path: '/tasks',
411
+ query: qs_1.default.stringify(taskQuery)
412
+ })).data;
413
+ const fetchedTasks = (_a = taskResponse === null || taskResponse === void 0 ? void 0 : taskResponse.items) !== null && _a !== void 0 ? _a : [];
414
+ if (fetchedTasks.length > 0) {
415
+ sprint.tasks = fetchedTasks;
416
+ }
417
+ }
418
+ return (0, config_1.cycleAnalyticsData)(sprint);
419
+ }
420
+ catch (error) {
421
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
422
+ throw new common_1.BadRequestException(error.response);
423
+ }
424
+ }
425
+ /**
426
+ * Retrieves the progress of a specific cycle within a project, including task counts
427
+ * and estimation points for various statuses (e.g., backlog, started, completed).
428
+ *
429
+ * @param {ID} cycleId - The unique identifier of the cycle to retrieve progress for.
430
+ * @param {ID} projectId - The unique identifier of the project the cycle belongs to.
431
+ * @returns {Promise<ICycleProgress>} - A promise that resolves to an object containing
432
+ * detailed cycle progress, including task counts and estimation points.
433
+ *
434
+ * @throws {BadRequestException} - Throws an exception if the external sprint cannot
435
+ * be retrieved or any error occurs during the process.
436
+ */
437
+ async getCycleProgress(cycleId, projectId) {
438
+ try {
439
+ const sprint = await this.getExternalSprint(cycleId, projectId, [
440
+ 'tasks.taskStatus',
441
+ 'toSprintTaskHistories.task.taskStatus',
442
+ 'fromSprintTaskHistories.task.taskStatus'
443
+ ]);
444
+ const tasks = (0, config_1.retrieveCycleTotalTasks)(sprint);
445
+ const { backlogIssues, startedIssues, completedIssues, unstartedIssues } = (0, config_1.getTaskCounts)(tasks);
446
+ return {
447
+ backlog_estimate_points: 0,
448
+ unstarted_estimate_points: 0,
449
+ started_estimate_points: 0,
450
+ cancelled_estimate_points: 0,
451
+ completed_estimate_points: 0,
452
+ total_estimate_points: 0.0,
453
+ backlog_issues: backlogIssues,
454
+ total_issues: tasks.length,
455
+ completed_issues: completedIssues,
456
+ cancelled_issues: 0,
457
+ started_issues: startedIssues,
458
+ unstarted_issues: unstartedIssues
459
+ };
460
+ }
461
+ catch (error) {
462
+ this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
463
+ throw new common_1.BadRequestException(error);
464
+ }
465
+ }
466
+ };
467
+ exports.CyclesService = CyclesService;
468
+ exports.CyclesService = CyclesService = __decorate([
469
+ (0, common_1.Injectable)(),
470
+ __param(1, (0, common_1.Inject)((0, common_1.forwardRef)(() => issues_service_1.IssuesService))),
471
+ __param(2, (0, common_1.Inject)((0, common_1.forwardRef)(() => user_favorites_service_1.UserFavoritesService))),
472
+ __metadata("design:paramtypes", [api_fetch_service_1.ApiFetchService,
473
+ issues_service_1.IssuesService,
474
+ user_favorites_service_1.UserFavoritesService,
475
+ employee_properties_service_1.EmployeePropertiesService])
476
+ ], CyclesService);
477
+ //# sourceMappingURL=cycles.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cycles.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/cycles/cycles.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAMwB;AACxB,oDAA4B;AAC5B,4CAAoB;AACpB,iGAaqD;AACrD,yCAgBsB;AACtB,sEAAiE;AACjE,qFAAgF;AAChF,6DAAyD;AACzD,oGAA+F;AAGxF,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mCAAe;IACjD,YACkB,mBAAoC,EAGrD,aAA6C,EAG7C,oBAA2D,EAE1C,0BAAqD;QAEtE,KAAK,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC;QAV1B,wBAAmB,GAAnB,mBAAmB,CAAiB;QAGpC,kBAAa,GAAb,aAAa,CAAe;QAG5B,yBAAoB,GAApB,oBAAoB,CAAsB;QAE1C,+BAA0B,GAA1B,0BAA0B,CAA2B;QAKtD,SAAI,GAAG,sBAAsB,CAAC;IAF/C,CAAC;IAID;;;;;;OAMG;IACH,KAAK,CAAC,iBAAiB,CACtB,EAAM,EACN,SAAc,EACd,SAAoB;QAEpB,8BAA8B;QAC9B,MAAM,KAAK,GAAG,YAAE,CAAC,SAAS,CAAC,IAAA,wBAAe,EAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;QAElE,OAAO,MAAM,CACZ,MAAM,IAAI,CAAC,QAAQ,CAAC;YACnB,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,EAAE;YAC1B,KAAK;SACL,CAAC,CACF,CAAC,IAAI,CAAC;IACR,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAA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,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACpD,CAAC;YACF,MAAM,IAAI,4BAAmB,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;IACF,CAAC;CACD,CAAA;AApmBY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;IAKV,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC,CAAA;IAGvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC,CAAC,CAAA;qCALT,mCAAe;QAGrB,8BAAa;QAGN,6CAAoB;QAEd,uDAAyB;GAV3D,aAAa,CAomBzB"}
@@ -0,0 +1,6 @@
1
+ import { CycleDTO } from './cycle.dto';
2
+ import { ICycle } from '@ever-gauzy/plugin-integration-plane-models';
3
+ declare const CreateCycleDTO_base: import("@nestjs/common").Type<Omit<CycleDTO, "id">>;
4
+ export declare class CreateCycleDTO extends CreateCycleDTO_base implements Omit<ICycle, 'id'> {
5
+ }
6
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCycleDTO = void 0;
4
+ const swagger_1 = require("@nestjs/swagger");
5
+ const cycle_dto_1 = require("./cycle.dto");
6
+ class CreateCycleDTO extends (0, swagger_1.OmitType)(cycle_dto_1.CycleDTO, ['id']) {
7
+ }
8
+ exports.CreateCycleDTO = CreateCycleDTO;
9
+ //# sourceMappingURL=create-cycle.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cycle.dto.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/modules/cycles/dto/create-cycle.dto.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAC3C,2CAAuC;AAGvC,MAAa,cACZ,SAAQ,IAAA,kBAAQ,EAAC,oBAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;CACF;AAFjC,wCAEiC"}
@@ -0,0 +1,18 @@
1
+ import { CycleStatusEnum, ICycle, ID } from '@ever-gauzy/plugin-integration-plane-models';
2
+ export declare class CycleDTO implements ICycle {
3
+ id?: ID;
4
+ name: string;
5
+ description?: string;
6
+ start_date?: Date;
7
+ end_date?: Date;
8
+ status: CycleStatusEnum;
9
+ version?: number;
10
+ sort_order?: number;
11
+ progress_snapshot?: Record<string, any>;
12
+ is_favorite?: boolean;
13
+ owned_by_id?: ID;
14
+ created_by?: ID;
15
+ workspace_id?: ID;
16
+ project_id?: ID;
17
+ assignee_ids?: ID[];
18
+ }
@@ -0,0 +1,112 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CycleDTO = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
17
+ class CycleDTO {
18
+ }
19
+ exports.CycleDTO = CycleDTO;
20
+ __decorate([
21
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_validator_1.IsUUID)(),
24
+ __metadata("design:type", String)
25
+ ], CycleDTO.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsString)(),
30
+ __metadata("design:type", String)
31
+ ], CycleDTO.prototype, "name", void 0);
32
+ __decorate([
33
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
34
+ (0, class_validator_1.IsOptional)(),
35
+ (0, class_validator_1.IsString)(),
36
+ __metadata("design:type", String)
37
+ ], CycleDTO.prototype, "description", void 0);
38
+ __decorate([
39
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Date }),
40
+ (0, class_transformer_1.Type)(() => Date),
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsDate)(),
43
+ __metadata("design:type", Date)
44
+ ], CycleDTO.prototype, "start_date", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Date }),
47
+ (0, class_transformer_1.Type)(() => Date),
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_validator_1.IsDate)(),
50
+ __metadata("design:type", Date)
51
+ ], CycleDTO.prototype, "end_date", void 0);
52
+ __decorate([
53
+ (0, swagger_1.ApiPropertyOptional)({ enum: plugin_integration_plane_models_1.CycleStatusEnum }),
54
+ (0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.CycleStatusEnum),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], CycleDTO.prototype, "status", void 0);
58
+ __decorate([
59
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Number }),
60
+ (0, class_validator_1.IsOptional)(),
61
+ (0, class_validator_1.IsNumber)(),
62
+ __metadata("design:type", Number)
63
+ ], CycleDTO.prototype, "version", void 0);
64
+ __decorate([
65
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Number }),
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsNumber)(),
68
+ __metadata("design:type", Number)
69
+ ], CycleDTO.prototype, "sort_order", void 0);
70
+ __decorate([
71
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Object }),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, class_validator_1.IsObject)(),
74
+ __metadata("design:type", Object)
75
+ ], CycleDTO.prototype, "progress_snapshot", void 0);
76
+ __decorate([
77
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Boolean }),
78
+ (0, class_validator_1.IsOptional)(),
79
+ (0, class_validator_1.IsBoolean)(),
80
+ __metadata("design:type", Boolean)
81
+ ], CycleDTO.prototype, "is_favorite", void 0);
82
+ __decorate([
83
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
84
+ (0, class_validator_1.IsOptional)(),
85
+ (0, class_validator_1.IsUUID)(),
86
+ __metadata("design:type", String)
87
+ ], CycleDTO.prototype, "owned_by_id", void 0);
88
+ __decorate([
89
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
90
+ (0, class_validator_1.IsOptional)(),
91
+ (0, class_validator_1.IsUUID)(),
92
+ __metadata("design:type", String)
93
+ ], CycleDTO.prototype, "created_by", void 0);
94
+ __decorate([
95
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
96
+ (0, class_validator_1.IsOptional)(),
97
+ (0, class_validator_1.IsUUID)(),
98
+ __metadata("design:type", String)
99
+ ], CycleDTO.prototype, "workspace_id", void 0);
100
+ __decorate([
101
+ (0, swagger_1.ApiPropertyOptional)({ type: () => String }),
102
+ (0, class_validator_1.IsOptional)(),
103
+ (0, class_validator_1.IsUUID)(),
104
+ __metadata("design:type", String)
105
+ ], CycleDTO.prototype, "project_id", void 0);
106
+ __decorate([
107
+ (0, swagger_1.ApiPropertyOptional)({ type: () => Array }),
108
+ (0, class_validator_1.IsOptional)(),
109
+ (0, class_validator_1.IsArray)(),
110
+ __metadata("design:type", Array)
111
+ ], CycleDTO.prototype, "assignee_ids", void 0);
112
+ //# sourceMappingURL=cycle.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cycle.dto.js","sourceRoot":"","sources":["../../../../../../../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