@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.
- package/README.md +1 -0
- package/dist/config/constants.d.ts +125 -0
- package/dist/config/constants.js +185 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/credentials.d.ts +30 -0
- package/dist/config/credentials.js +50 -0
- package/dist/config/credentials.js.map +1 -0
- package/dist/config/decorators/index.d.ts +1 -0
- package/dist/config/decorators/index.js +18 -0
- package/dist/config/decorators/index.js.map +1 -0
- package/dist/config/decorators/transformers/index.d.ts +1 -0
- package/dist/config/decorators/transformers/index.js +18 -0
- package/dist/config/decorators/transformers/index.js.map +1 -0
- package/dist/config/decorators/transformers/priority.transformer.d.ts +1 -0
- package/dist/config/decorators/transformers/priority.transformer.js +12 -0
- package/dist/config/decorators/transformers/priority.transformer.js.map +1 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.js +24 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/serializers/activity/activity.serializer.d.ts +28 -0
- package/dist/config/serializers/activity/activity.serializer.js +288 -0
- package/dist/config/serializers/activity/activity.serializer.js.map +1 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.d.ts +18 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.js +64 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/index.d.ts +7 -0
- package/dist/config/serializers/activity/index.js +24 -0
- package/dist/config/serializers/activity/index.js.map +1 -0
- package/dist/config/serializers/activity/labels-activities.serializer.d.ts +11 -0
- package/dist/config/serializers/activity/labels-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/labels-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.d.ts +29 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.js +45 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.js.map +1 -0
- package/dist/config/serializers/activity/modules-activities.serializer.d.ts +11 -0
- package/dist/config/serializers/activity/modules-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/modules-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/parent-activities.serializer.d.ts +14 -0
- package/dist/config/serializers/activity/parent-activities.serializer.js +47 -0
- package/dist/config/serializers/activity/parent-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/status-activities.serializer.d.ts +12 -0
- package/dist/config/serializers/activity/status-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/status-activities.serializer.js.map +1 -0
- package/dist/config/serializers/analytics/analytics.serializer.d.ts +17 -0
- package/dist/config/serializers/analytics/analytics.serializer.js +395 -0
- package/dist/config/serializers/analytics/analytics.serializer.js.map +1 -0
- package/dist/config/serializers/analytics/index.d.ts +1 -0
- package/dist/config/serializers/analytics/index.js +18 -0
- package/dist/config/serializers/analytics/index.js.map +1 -0
- package/dist/config/serializers/auth/auth.serializer.d.ts +2 -0
- package/dist/config/serializers/auth/auth.serializer.js +11 -0
- package/dist/config/serializers/auth/auth.serializer.js.map +1 -0
- package/dist/config/serializers/auth/index.d.ts +1 -0
- package/dist/config/serializers/auth/index.js +18 -0
- package/dist/config/serializers/auth/index.js.map +1 -0
- package/dist/config/serializers/comments/comment.serializer.d.ts +25 -0
- package/dist/config/serializers/comments/comment.serializer.js +94 -0
- package/dist/config/serializers/comments/comment.serializer.js.map +1 -0
- package/dist/config/serializers/comments/index.d.ts +1 -0
- package/dist/config/serializers/comments/index.js +18 -0
- package/dist/config/serializers/comments/index.js.map +1 -0
- package/dist/config/serializers/cycles/cycle.serializer.d.ts +86 -0
- package/dist/config/serializers/cycles/cycle.serializer.js +480 -0
- package/dist/config/serializers/cycles/cycle.serializer.js.map +1 -0
- package/dist/config/serializers/cycles/index.d.ts +1 -0
- package/dist/config/serializers/cycles/index.js +18 -0
- package/dist/config/serializers/cycles/index.js.map +1 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.d.ts +22 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.js +66 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.js.map +1 -0
- package/dist/config/serializers/dashboard/index.d.ts +1 -0
- package/dist/config/serializers/dashboard/index.js +18 -0
- package/dist/config/serializers/dashboard/index.js.map +1 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.d.ts +9 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.js +57 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.js.map +1 -0
- package/dist/config/serializers/employee-properties/index.d.ts +1 -0
- package/dist/config/serializers/employee-properties/index.js +18 -0
- package/dist/config/serializers/employee-properties/index.js.map +1 -0
- package/dist/config/serializers/index.d.ts +24 -0
- package/dist/config/serializers/index.js +41 -0
- package/dist/config/serializers/index.js.map +1 -0
- package/dist/config/serializers/invitation/index.d.ts +1 -0
- package/dist/config/serializers/invitation/index.js +18 -0
- package/dist/config/serializers/invitation/index.js.map +1 -0
- package/dist/config/serializers/invitation/invitation.serializer.d.ts +52 -0
- package/dist/config/serializers/invitation/invitation.serializer.js +140 -0
- package/dist/config/serializers/invitation/invitation.serializer.js.map +1 -0
- package/dist/config/serializers/issue-link/index.d.ts +1 -0
- package/dist/config/serializers/issue-link/index.js +18 -0
- package/dist/config/serializers/issue-link/index.js.map +1 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.d.ts +28 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.js +89 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.js.map +1 -0
- package/dist/config/serializers/mention/index.d.ts +1 -0
- package/dist/config/serializers/mention/index.js +18 -0
- package/dist/config/serializers/mention/index.js.map +1 -0
- package/dist/config/serializers/mention/mention.serializer.d.ts +2 -0
- package/dist/config/serializers/mention/mention.serializer.js +22 -0
- package/dist/config/serializers/mention/mention.serializer.js.map +1 -0
- package/dist/config/serializers/modules/index.d.ts +1 -0
- package/dist/config/serializers/modules/index.js +18 -0
- package/dist/config/serializers/modules/index.js.map +1 -0
- package/dist/config/serializers/modules/module.serializer.d.ts +49 -0
- package/dist/config/serializers/modules/module.serializer.js +215 -0
- package/dist/config/serializers/modules/module.serializer.js.map +1 -0
- package/dist/config/serializers/notification/index.d.ts +1 -0
- package/dist/config/serializers/notification/index.js +18 -0
- package/dist/config/serializers/notification/index.js.map +1 -0
- package/dist/config/serializers/notification/notification.serializer.d.ts +31 -0
- package/dist/config/serializers/notification/notification.serializer.js +135 -0
- package/dist/config/serializers/notification/notification.serializer.js.map +1 -0
- package/dist/config/serializers/pages/index.d.ts +1 -0
- package/dist/config/serializers/pages/index.js +18 -0
- package/dist/config/serializers/pages/index.js.map +1 -0
- package/dist/config/serializers/pages/page.serializer.d.ts +23 -0
- package/dist/config/serializers/pages/page.serializer.js +106 -0
- package/dist/config/serializers/pages/page.serializer.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/index.d.ts +2 -0
- package/dist/config/serializers/project-deploy-boards/index.js +19 -0
- package/dist/config/serializers/project-deploy-boards/index.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.d.ts +16 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js +169 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.d.ts +14 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js +35 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js.map +1 -0
- package/dist/config/serializers/projects/index.d.ts +1 -0
- package/dist/config/serializers/projects/index.js +18 -0
- package/dist/config/serializers/projects/index.js.map +1 -0
- package/dist/config/serializers/projects/projects.serializer.d.ts +42 -0
- package/dist/config/serializers/projects/projects.serializer.js +216 -0
- package/dist/config/serializers/projects/projects.serializer.js.map +1 -0
- package/dist/config/serializers/query-params.serializers.d.ts +4 -0
- package/dist/config/serializers/query-params.serializers.js +10 -0
- package/dist/config/serializers/query-params.serializers.js.map +1 -0
- package/dist/config/serializers/reactions/index.d.ts +1 -0
- package/dist/config/serializers/reactions/index.js +18 -0
- package/dist/config/serializers/reactions/index.js.map +1 -0
- package/dist/config/serializers/reactions/reaction.serializer.d.ts +4 -0
- package/dist/config/serializers/reactions/reaction.serializer.js +62 -0
- package/dist/config/serializers/reactions/reaction.serializer.js.map +1 -0
- package/dist/config/serializers/recent-visits/index.d.ts +1 -0
- package/dist/config/serializers/recent-visits/index.js +18 -0
- package/dist/config/serializers/recent-visits/index.js.map +1 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.d.ts +32 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.js +109 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.js.map +1 -0
- package/dist/config/serializers/subscription/index.d.ts +1 -0
- package/dist/config/serializers/subscription/index.js +18 -0
- package/dist/config/serializers/subscription/index.js.map +1 -0
- package/dist/config/serializers/subscription/subscription.serializer.d.ts +23 -0
- package/dist/config/serializers/subscription/subscription.serializer.js +68 -0
- package/dist/config/serializers/subscription/subscription.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/index.d.ts +5 -0
- package/dist/config/serializers/tasks/index.js +22 -0
- package/dist/config/serializers/tasks/index.js.map +1 -0
- package/dist/config/serializers/tasks/intake-issue/index.d.ts +1 -0
- package/dist/config/serializers/tasks/intake-issue/index.js +18 -0
- package/dist/config/serializers/tasks/intake-issue/index.js.map +1 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.d.ts +35 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js +123 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/issue-labels/index.d.ts +1 -0
- package/dist/config/serializers/tasks/issue-labels/index.js +18 -0
- package/dist/config/serializers/tasks/issue-labels/index.js.map +1 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.d.ts +6 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js +31 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/issue-relations/index.d.ts +1 -0
- package/dist/config/serializers/tasks/issue-relations/index.js +18 -0
- package/dist/config/serializers/tasks/issue-relations/index.js.map +1 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.d.ts +8 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js +94 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/statuses/index.d.ts +1 -0
- package/dist/config/serializers/tasks/statuses/index.js +18 -0
- package/dist/config/serializers/tasks/statuses/index.js.map +1 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.d.ts +12 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.js +100 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/tasks.serializer.d.ts +285 -0
- package/dist/config/serializers/tasks/tasks.serializer.js +1074 -0
- package/dist/config/serializers/tasks/tasks.serializer.js.map +1 -0
- package/dist/config/serializers/user/actor-details.helper.d.ts +10 -0
- package/dist/config/serializers/user/actor-details.helper.js +16 -0
- package/dist/config/serializers/user/actor-details.helper.js.map +1 -0
- package/dist/config/serializers/user/index.d.ts +2 -0
- package/dist/config/serializers/user/index.js +19 -0
- package/dist/config/serializers/user/index.js.map +1 -0
- package/dist/config/serializers/user/user.serializer.d.ts +140 -0
- package/dist/config/serializers/user/user.serializer.js +192 -0
- package/dist/config/serializers/user/user.serializer.js.map +1 -0
- package/dist/config/serializers/user-favorites/index.d.ts +1 -0
- package/dist/config/serializers/user-favorites/index.js +18 -0
- package/dist/config/serializers/user-favorites/index.js.map +1 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.d.ts +6 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.js +61 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.js.map +1 -0
- package/dist/config/serializers/views/date-range.helper.d.ts +1 -0
- package/dist/config/serializers/views/date-range.helper.js +85 -0
- package/dist/config/serializers/views/date-range.helper.js.map +1 -0
- package/dist/config/serializers/views/index.d.ts +3 -0
- package/dist/config/serializers/views/index.js +20 -0
- package/dist/config/serializers/views/index.js.map +1 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.d.ts +14 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.js +27 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.js.map +1 -0
- package/dist/config/serializers/views/view.serializer.d.ts +47 -0
- package/dist/config/serializers/views/view.serializer.js +187 -0
- package/dist/config/serializers/views/view.serializer.js.map +1 -0
- package/dist/config/serializers/workspace-organization/index.d.ts +2 -0
- package/dist/config/serializers/workspace-organization/index.js +19 -0
- package/dist/config/serializers/workspace-organization/index.js.map +1 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.d.ts +92 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.js +270 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.js.map +1 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.d.ts +4 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.js +14 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.js.map +1 -0
- package/dist/config/time-zones.d.ts +8 -0
- package/dist/config/time-zones.js +722 -0
- package/dist/config/time-zones.js.map +1 -0
- package/dist/config/utils/index.d.ts +1 -0
- package/dist/config/utils/index.js +18 -0
- package/dist/config/utils/index.js.map +1 -0
- package/dist/config/utils/shared.utils.d.ts +95 -0
- package/dist/config/utils/shared.utils.js +256 -0
- package/dist/config/utils/shared.utils.js.map +1 -0
- package/dist/config/validators/custom-length.decorator.d.ts +28 -0
- package/dist/config/validators/custom-length.decorator.js +65 -0
- package/dist/config/validators/custom-length.decorator.js.map +1 -0
- package/dist/config/validators/index.d.ts +1 -0
- package/dist/config/validators/index.js +18 -0
- package/dist/config/validators/index.js.map +1 -0
- package/dist/dev.d.ts +1 -0
- package/dist/dev.js +10 -0
- package/dist/dev.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +50 -0
- package/dist/main.js.map +1 -0
- package/dist/modules/activity/activity.module.d.ts +2 -0
- package/dist/modules/activity/activity.module.js +22 -0
- package/dist/modules/activity/activity.module.js.map +1 -0
- package/dist/modules/activity/activity.service.d.ts +12 -0
- package/dist/modules/activity/activity.service.js +45 -0
- package/dist/modules/activity/activity.service.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.d.ts +30 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.js +128 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.module.d.ts +15 -0
- package/dist/modules/advance-analytics/advance-analytics.module.js +56 -0
- package/dist/modules/advance-analytics/advance-analytics.module.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.service.d.ts +29 -0
- package/dist/modules/advance-analytics/advance-analytics.service.js +143 -0
- package/dist/modules/advance-analytics/advance-analytics.service.js.map +1 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.d.ts +26 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js +93 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js.map +1 -0
- package/dist/modules/advance-analytics/dto/index.d.ts +1 -0
- package/dist/modules/advance-analytics/dto/index.js +18 -0
- package/dist/modules/advance-analytics/dto/index.js.map +1 -0
- package/dist/modules/advance-analytics/index.d.ts +4 -0
- package/dist/modules/advance-analytics/index.js +21 -0
- package/dist/modules/advance-analytics/index.js.map +1 -0
- package/dist/modules/api-fetch/api-fetch.module.d.ts +2 -0
- package/dist/modules/api-fetch/api-fetch.module.js +24 -0
- package/dist/modules/api-fetch/api-fetch.module.js.map +1 -0
- package/dist/modules/api-fetch/api-fetch.service.d.ts +31 -0
- package/dist/modules/api-fetch/api-fetch.service.js +96 -0
- package/dist/modules/api-fetch/api-fetch.service.js.map +1 -0
- package/dist/modules/api-fetch/token.helper.d.ts +22 -0
- package/dist/modules/api-fetch/token.helper.js +58 -0
- package/dist/modules/api-fetch/token.helper.js.map +1 -0
- package/dist/modules/api-fetch/token.middleware.d.ts +8 -0
- package/dist/modules/api-fetch/token.middleware.js +38 -0
- package/dist/modules/api-fetch/token.middleware.js.map +1 -0
- package/dist/modules/app.module.d.ts +7 -0
- package/dist/modules/app.module.js +49 -0
- package/dist/modules/app.module.js.map +1 -0
- package/dist/modules/auth/auth.controller.d.ts +32 -0
- package/dist/modules/auth/auth.controller.js +278 -0
- package/dist/modules/auth/auth.controller.js.map +1 -0
- package/dist/modules/auth/auth.guard.d.ts +9 -0
- package/dist/modules/auth/auth.guard.js +52 -0
- package/dist/modules/auth/auth.guard.js.map +1 -0
- package/dist/modules/auth/auth.module.d.ts +2 -0
- package/dist/modules/auth/auth.module.js +30 -0
- package/dist/modules/auth/auth.module.js.map +1 -0
- package/dist/modules/auth/auth.service.d.ts +133 -0
- package/dist/modules/auth/auth.service.js +362 -0
- package/dist/modules/auth/auth.service.js.map +1 -0
- package/dist/modules/auth/dto/index.d.ts +1 -0
- package/dist/modules/auth/dto/index.js +18 -0
- package/dist/modules/auth/dto/index.js.map +1 -0
- package/dist/modules/auth/dto/two-factor-dto.d.ts +15 -0
- package/dist/modules/auth/dto/two-factor-dto.js +18 -0
- package/dist/modules/auth/dto/two-factor-dto.js.map +1 -0
- package/dist/modules/comments/comments.controller.d.ts +24 -0
- package/dist/modules/comments/comments.controller.js +72 -0
- package/dist/modules/comments/comments.controller.js.map +1 -0
- package/dist/modules/comments/comments.module.d.ts +2 -0
- package/dist/modules/comments/comments.module.js +26 -0
- package/dist/modules/comments/comments.module.js.map +1 -0
- package/dist/modules/comments/comments.service.d.ts +92 -0
- package/dist/modules/comments/comments.service.js +235 -0
- package/dist/modules/comments/comments.service.js.map +1 -0
- package/dist/modules/cycles/cycles.controller.d.ts +106 -0
- package/dist/modules/cycles/cycles.controller.js +270 -0
- package/dist/modules/cycles/cycles.controller.js.map +1 -0
- package/dist/modules/cycles/cycles.module.d.ts +2 -0
- package/dist/modules/cycles/cycles.module.js +31 -0
- package/dist/modules/cycles/cycles.module.js.map +1 -0
- package/dist/modules/cycles/cycles.service.d.ts +169 -0
- package/dist/modules/cycles/cycles.service.js +477 -0
- package/dist/modules/cycles/cycles.service.js.map +1 -0
- package/dist/modules/cycles/dto/create-cycle.dto.d.ts +6 -0
- package/dist/modules/cycles/dto/create-cycle.dto.js +9 -0
- package/dist/modules/cycles/dto/create-cycle.dto.js.map +1 -0
- package/dist/modules/cycles/dto/cycle.dto.d.ts +18 -0
- package/dist/modules/cycles/dto/cycle.dto.js +112 -0
- package/dist/modules/cycles/dto/cycle.dto.js.map +1 -0
- package/dist/modules/cycles/dto/index.d.ts +3 -0
- package/dist/modules/cycles/dto/index.js +20 -0
- package/dist/modules/cycles/dto/index.js.map +1 -0
- package/dist/modules/cycles/dto/update-cycle.dto.d.ts +6 -0
- package/dist/modules/cycles/dto/update-cycle.dto.js +9 -0
- package/dist/modules/cycles/dto/update-cycle.dto.js.map +1 -0
- package/dist/modules/dashboard/dashboard.controller.d.ts +16 -0
- package/dist/modules/dashboard/dashboard.controller.js +59 -0
- package/dist/modules/dashboard/dashboard.controller.js.map +1 -0
- package/dist/modules/dashboard/dashboard.module.d.ts +2 -0
- package/dist/modules/dashboard/dashboard.module.js +30 -0
- package/dist/modules/dashboard/dashboard.module.js.map +1 -0
- package/dist/modules/dashboard/dashboard.service.d.ts +33 -0
- package/dist/modules/dashboard/dashboard.service.js +97 -0
- package/dist/modules/dashboard/dashboard.service.js.map +1 -0
- package/dist/modules/dashboard/widget.service.d.ts +22 -0
- package/dist/modules/dashboard/widget.service.js +68 -0
- package/dist/modules/dashboard/widget.service.js.map +1 -0
- package/dist/modules/employee-properties/employee-properties.module.d.ts +2 -0
- package/dist/modules/employee-properties/employee-properties.module.js +21 -0
- package/dist/modules/employee-properties/employee-properties.module.js.map +1 -0
- package/dist/modules/employee-properties/employee-properties.service.d.ts +30 -0
- package/dist/modules/employee-properties/employee-properties.service.js +95 -0
- package/dist/modules/employee-properties/employee-properties.service.js.map +1 -0
- package/dist/modules/file-assets/file-assets.controller.d.ts +120 -0
- package/dist/modules/file-assets/file-assets.controller.js +192 -0
- package/dist/modules/file-assets/file-assets.controller.js.map +1 -0
- package/dist/modules/file-assets/file-assets.module.d.ts +2 -0
- package/dist/modules/file-assets/file-assets.module.js +23 -0
- package/dist/modules/file-assets/file-assets.module.js.map +1 -0
- package/dist/modules/file-assets/file-assets.service.d.ts +47 -0
- package/dist/modules/file-assets/file-assets.service.js +141 -0
- package/dist/modules/file-assets/file-assets.service.js.map +1 -0
- package/dist/modules/http.module.d.ts +2 -0
- package/dist/modules/http.module.js +22 -0
- package/dist/modules/http.module.js.map +1 -0
- package/dist/modules/instances/instances.controller.d.ts +73 -0
- package/dist/modules/instances/instances.controller.js +39 -0
- package/dist/modules/instances/instances.controller.js.map +1 -0
- package/dist/modules/instances/instances.module.d.ts +2 -0
- package/dist/modules/instances/instances.module.js +28 -0
- package/dist/modules/instances/instances.module.js.map +1 -0
- package/dist/modules/instances/instances.service.d.ts +68 -0
- package/dist/modules/instances/instances.service.js +88 -0
- package/dist/modules/instances/instances.service.js.map +1 -0
- package/dist/modules/invitation/dto/create-invitation.d.ts +8 -0
- package/dist/modules/invitation/dto/create-invitation.js +41 -0
- package/dist/modules/invitation/dto/create-invitation.js.map +1 -0
- package/dist/modules/invitation/dto/index.d.ts +1 -0
- package/dist/modules/invitation/dto/index.js +18 -0
- package/dist/modules/invitation/dto/index.js.map +1 -0
- package/dist/modules/invitation/invitation.controller.d.ts +53 -0
- package/dist/modules/invitation/invitation.controller.js +168 -0
- package/dist/modules/invitation/invitation.controller.js.map +1 -0
- package/dist/modules/invitation/invitation.module.d.ts +2 -0
- package/dist/modules/invitation/invitation.module.js +29 -0
- package/dist/modules/invitation/invitation.module.js.map +1 -0
- package/dist/modules/invitation/invitation.service.d.ts +67 -0
- package/dist/modules/invitation/invitation.service.js +193 -0
- package/dist/modules/invitation/invitation.service.js.map +1 -0
- package/dist/modules/issue-links/issue-links.module.d.ts +2 -0
- package/dist/modules/issue-links/issue-links.module.js +21 -0
- package/dist/modules/issue-links/issue-links.module.js.map +1 -0
- package/dist/modules/issue-links/issue-links.service.d.ts +47 -0
- package/dist/modules/issue-links/issue-links.service.js +143 -0
- package/dist/modules/issue-links/issue-links.service.js.map +1 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.d.ts +5 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.js +31 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.js.map +1 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.d.ts +7 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js +25 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js.map +1 -0
- package/dist/modules/issue-relations/dto/index.d.ts +2 -0
- package/dist/modules/issue-relations/dto/index.js +19 -0
- package/dist/modules/issue-relations/dto/index.js.map +1 -0
- package/dist/modules/issue-relations/issue-relations.module.d.ts +2 -0
- package/dist/modules/issue-relations/issue-relations.module.js +23 -0
- package/dist/modules/issue-relations/issue-relations.module.js.map +1 -0
- package/dist/modules/issue-relations/issue-relations.service.d.ts +49 -0
- package/dist/modules/issue-relations/issue-relations.service.js +242 -0
- package/dist/modules/issue-relations/issue-relations.service.js.map +1 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.d.ts +2 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.js +23 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.js.map +1 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.d.ts +34 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.js +94 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.d.ts +4 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.js +24 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-link.dto.d.ts +5 -0
- package/dist/modules/issues/dto/create-issue-link.dto.js +30 -0
- package/dist/modules/issues/dto/create-issue-link.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.d.ts +4 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.js +24 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue.dto.d.ts +21 -0
- package/dist/modules/issues/dto/create-issue.dto.js +139 -0
- package/dist/modules/issues/dto/create-issue.dto.js.map +1 -0
- package/dist/modules/issues/dto/index.d.ts +5 -0
- package/dist/modules/issues/dto/index.js +22 -0
- package/dist/modules/issues/dto/index.js.map +1 -0
- package/dist/modules/issues/dto/update-issue.dto.d.ts +5 -0
- package/dist/modules/issues/dto/update-issue.dto.js +25 -0
- package/dist/modules/issues/dto/update-issue.dto.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.d.ts +31 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.js +102 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.d.ts +2 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.js +26 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.d.ts +54 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.js +182 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.d.ts +5 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js +30 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/index.d.ts +2 -0
- package/dist/modules/issues/issue-labels/dto/index.js +19 -0
- package/dist/modules/issues/issue-labels/dto/index.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.d.ts +6 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js +9 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.d.ts +38 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.js +108 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.d.ts +2 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.js +23 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.d.ts +36 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.js +107 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.js.map +1 -0
- package/dist/modules/issues/issues.controller.d.ts +200 -0
- package/dist/modules/issues/issues.controller.js +547 -0
- package/dist/modules/issues/issues.controller.js.map +1 -0
- package/dist/modules/issues/issues.module.d.ts +2 -0
- package/dist/modules/issues/issues.module.js +45 -0
- package/dist/modules/issues/issues.module.js.map +1 -0
- package/dist/modules/issues/issues.service.d.ts +327 -0
- package/dist/modules/issues/issues.service.js +1052 -0
- package/dist/modules/issues/issues.service.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.controller.d.ts +14 -0
- package/dist/modules/issues/search-issues/search-issues.controller.js +49 -0
- package/dist/modules/issues/search-issues/search-issues.controller.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.module.d.ts +2 -0
- package/dist/modules/issues/search-issues/search-issues.module.js +23 -0
- package/dist/modules/issues/search-issues/search-issues.module.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.service.d.ts +13 -0
- package/dist/modules/issues/search-issues/search-issues.service.js +97 -0
- package/dist/modules/issues/search-issues/search-issues.service.js.map +1 -0
- package/dist/modules/logger/index.d.ts +2 -0
- package/dist/modules/logger/index.js +19 -0
- package/dist/modules/logger/index.js.map +1 -0
- package/dist/modules/logger/logger.module.d.ts +6 -0
- package/dist/modules/logger/logger.module.js +26 -0
- package/dist/modules/logger/logger.module.js.map +1 -0
- package/dist/modules/logger/logger.service.d.ts +59 -0
- package/dist/modules/logger/logger.service.js +99 -0
- package/dist/modules/logger/logger.service.js.map +1 -0
- package/dist/modules/mention/mention.module.d.ts +2 -0
- package/dist/modules/mention/mention.module.js +21 -0
- package/dist/modules/mention/mention.module.js.map +1 -0
- package/dist/modules/mention/mention.service.d.ts +6 -0
- package/dist/modules/mention/mention.service.js +38 -0
- package/dist/modules/mention/mention.service.js.map +1 -0
- package/dist/modules/notification/notification.module.d.ts +2 -0
- package/dist/modules/notification/notification.module.js +21 -0
- package/dist/modules/notification/notification.module.js.map +1 -0
- package/dist/modules/notification/notification.service.d.ts +37 -0
- package/dist/modules/notification/notification.service.js +113 -0
- package/dist/modules/notification/notification.service.js.map +1 -0
- package/dist/modules/pages/dto/create-page.dto.d.ts +14 -0
- package/dist/modules/pages/dto/create-page.dto.js +68 -0
- package/dist/modules/pages/dto/create-page.dto.js.map +1 -0
- package/dist/modules/pages/dto/index.d.ts +2 -0
- package/dist/modules/pages/dto/index.js +19 -0
- package/dist/modules/pages/dto/index.js.map +1 -0
- package/dist/modules/pages/dto/update-page.dto.d.ts +15 -0
- package/dist/modules/pages/dto/update-page.dto.js +71 -0
- package/dist/modules/pages/dto/update-page.dto.js.map +1 -0
- package/dist/modules/pages/pages.controller.d.ts +109 -0
- package/dist/modules/pages/pages.controller.js +387 -0
- package/dist/modules/pages/pages.controller.js.map +1 -0
- package/dist/modules/pages/pages.module.d.ts +2 -0
- package/dist/modules/pages/pages.module.js +23 -0
- package/dist/modules/pages/pages.module.js.map +1 -0
- package/dist/modules/pages/pages.service.d.ts +112 -0
- package/dist/modules/pages/pages.service.js +481 -0
- package/dist/modules/pages/pages.service.js.map +1 -0
- package/dist/modules/project/dto/create-project.dto.d.ts +15 -0
- package/dist/modules/project/dto/create-project.dto.js +93 -0
- package/dist/modules/project/dto/create-project.dto.js.map +1 -0
- package/dist/modules/project/dto/index.d.ts +2 -0
- package/dist/modules/project/dto/index.js +19 -0
- package/dist/modules/project/dto/index.js.map +1 -0
- package/dist/modules/project/dto/project-member.dto.d.ts +8 -0
- package/dist/modules/project/dto/project-member.dto.js +48 -0
- package/dist/modules/project/dto/project-member.dto.js.map +1 -0
- package/dist/modules/project/dto/update-project.dto.d.ts +6 -0
- package/dist/modules/project/dto/update-project.dto.js +9 -0
- package/dist/modules/project/dto/update-project.dto.js.map +1 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.d.ts +33 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js +127 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.d.ts +12 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.js +48 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.d.ts +2 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.js +29 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.d.ts +14 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.js +60 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.js.map +1 -0
- package/dist/modules/project/project.controller.d.ts +94 -0
- package/dist/modules/project/project.controller.js +338 -0
- package/dist/modules/project/project.controller.js.map +1 -0
- package/dist/modules/project/project.module.d.ts +2 -0
- package/dist/modules/project/project.module.js +87 -0
- package/dist/modules/project/project.module.js.map +1 -0
- package/dist/modules/project/project.service.d.ts +132 -0
- package/dist/modules/project/project.service.js +491 -0
- package/dist/modules/project/project.service.js.map +1 -0
- package/dist/modules/project-module/dto/create-module.dto.d.ts +12 -0
- package/dist/modules/project-module/dto/create-module.dto.js +76 -0
- package/dist/modules/project-module/dto/create-module.dto.js.map +1 -0
- package/dist/modules/project-module/dto/index.d.ts +2 -0
- package/dist/modules/project-module/dto/index.js +19 -0
- package/dist/modules/project-module/dto/index.js.map +1 -0
- package/dist/modules/project-module/dto/update-module.dto.d.ts +6 -0
- package/dist/modules/project-module/dto/update-module.dto.js +9 -0
- package/dist/modules/project-module/dto/update-module.dto.js.map +1 -0
- package/dist/modules/project-module/project-module.controller.d.ts +52 -0
- package/dist/modules/project-module/project-module.controller.js +167 -0
- package/dist/modules/project-module/project-module.controller.js.map +1 -0
- package/dist/modules/project-module/project-module.module.d.ts +2 -0
- package/dist/modules/project-module/project-module.module.js +26 -0
- package/dist/modules/project-module/project-module.module.js.map +1 -0
- package/dist/modules/project-module/project-module.service.d.ts +66 -0
- package/dist/modules/project-module/project-module.service.js +275 -0
- package/dist/modules/project-module/project-module.service.js.map +1 -0
- package/dist/modules/reactions/reactions.module.d.ts +2 -0
- package/dist/modules/reactions/reactions.module.js +21 -0
- package/dist/modules/reactions/reactions.module.js.map +1 -0
- package/dist/modules/reactions/reactions.service.d.ts +48 -0
- package/dist/modules/reactions/reactions.service.js +121 -0
- package/dist/modules/reactions/reactions.service.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.controller.d.ts +12 -0
- package/dist/modules/recent-visits/recent-visits.controller.js +50 -0
- package/dist/modules/recent-visits/recent-visits.controller.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.module.d.ts +2 -0
- package/dist/modules/recent-visits/recent-visits.module.js +23 -0
- package/dist/modules/recent-visits/recent-visits.module.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.service.d.ts +12 -0
- package/dist/modules/recent-visits/recent-visits.service.js +53 -0
- package/dist/modules/recent-visits/recent-visits.service.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.d.ts +47 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js +38 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.d.ts +2 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.js +23 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.d.ts +49 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.js +27 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.js.map +1 -0
- package/dist/modules/states/dto/create-state.dto.d.ts +7 -0
- package/dist/modules/states/dto/create-state.dto.js +42 -0
- package/dist/modules/states/dto/create-state.dto.js.map +1 -0
- package/dist/modules/states/dto/index.d.ts +1 -0
- package/dist/modules/states/dto/index.js +18 -0
- package/dist/modules/states/dto/index.js.map +1 -0
- package/dist/modules/states/states.controller.d.ts +27 -0
- package/dist/modules/states/states.controller.js +85 -0
- package/dist/modules/states/states.controller.js.map +1 -0
- package/dist/modules/states/states.module.d.ts +2 -0
- package/dist/modules/states/states.module.js +23 -0
- package/dist/modules/states/states.module.js.map +1 -0
- package/dist/modules/states/states.service.d.ts +33 -0
- package/dist/modules/states/states.service.js +99 -0
- package/dist/modules/states/states.service.js.map +1 -0
- package/dist/modules/subscription/subscription.module.d.ts +2 -0
- package/dist/modules/subscription/subscription.module.js +21 -0
- package/dist/modules/subscription/subscription.module.js.map +1 -0
- package/dist/modules/subscription/subscription.service.d.ts +32 -0
- package/dist/modules/subscription/subscription.service.js +98 -0
- package/dist/modules/subscription/subscription.service.js.map +1 -0
- package/dist/modules/timezones/timezones.controller.d.ts +10 -0
- package/dist/modules/timezones/timezones.controller.js +34 -0
- package/dist/modules/timezones/timezones.controller.js.map +1 -0
- package/dist/modules/timezones/timezones.module.d.ts +2 -0
- package/dist/modules/timezones/timezones.module.js +26 -0
- package/dist/modules/timezones/timezones.module.js.map +1 -0
- package/dist/modules/user/dto/check-exist-user.dto.d.ts +10 -0
- package/dist/modules/user/dto/check-exist-user.dto.js +13 -0
- package/dist/modules/user/dto/check-exist-user.dto.js.map +1 -0
- package/dist/modules/user/dto/include-teams.dto.d.ts +3 -0
- package/dist/modules/user/dto/include-teams.dto.js +24 -0
- package/dist/modules/user/dto/include-teams.dto.js.map +1 -0
- package/dist/modules/user/dto/index.d.ts +6 -0
- package/dist/modules/user/dto/index.js +23 -0
- package/dist/modules/user/dto/index.js.map +1 -0
- package/dist/modules/user/dto/user-code.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-code.dto.js +28 -0
- package/dist/modules/user/dto/user-code.dto.js.map +1 -0
- package/dist/modules/user/dto/user-email.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-email.dto.js +27 -0
- package/dist/modules/user/dto/user-email.dto.js.map +1 -0
- package/dist/modules/user/dto/user-password.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-password.dto.js +27 -0
- package/dist/modules/user/dto/user-password.dto.js.map +1 -0
- package/dist/modules/user/dto/user-token.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-token.dto.js +27 -0
- package/dist/modules/user/dto/user-token.dto.js.map +1 -0
- package/dist/modules/user/user.controller.d.ts +79 -0
- package/dist/modules/user/user.controller.js +109 -0
- package/dist/modules/user/user.controller.js.map +1 -0
- package/dist/modules/user/user.module.d.ts +2 -0
- package/dist/modules/user/user.module.js +29 -0
- package/dist/modules/user/user.module.js.map +1 -0
- package/dist/modules/user/user.service.d.ts +118 -0
- package/dist/modules/user/user.service.js +182 -0
- package/dist/modules/user/user.service.js.map +1 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.d.ts +9 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.js +55 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.js.map +1 -0
- package/dist/modules/user-favorites/dto/index.d.ts +1 -0
- package/dist/modules/user-favorites/dto/index.js +18 -0
- package/dist/modules/user-favorites/dto/index.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.controller.d.ts +27 -0
- package/dist/modules/user-favorites/user-favorites.controller.js +82 -0
- package/dist/modules/user-favorites/user-favorites.controller.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.module.d.ts +2 -0
- package/dist/modules/user-favorites/user-favorites.module.js +38 -0
- package/dist/modules/user-favorites/user-favorites.module.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.service.d.ts +36 -0
- package/dist/modules/user-favorites/user-favorites.service.js +174 -0
- package/dist/modules/user-favorites/user-favorites.service.js.map +1 -0
- package/dist/modules/views/dto/create-issue-view.dto.d.ts +9 -0
- package/dist/modules/views/dto/create-issue-view.dto.js +54 -0
- package/dist/modules/views/dto/create-issue-view.dto.js.map +1 -0
- package/dist/modules/views/dto/index.d.ts +2 -0
- package/dist/modules/views/dto/index.js +19 -0
- package/dist/modules/views/dto/index.js.map +1 -0
- package/dist/modules/views/dto/update-issue-view.dto.d.ts +6 -0
- package/dist/modules/views/dto/update-issue-view.dto.js +9 -0
- package/dist/modules/views/dto/update-issue-view.dto.js.map +1 -0
- package/dist/modules/views/view.controller.d.ts +45 -0
- package/dist/modules/views/view.controller.js +128 -0
- package/dist/modules/views/view.controller.js.map +1 -0
- package/dist/modules/views/view.module.d.ts +2 -0
- package/dist/modules/views/view.module.js +23 -0
- package/dist/modules/views/view.module.js.map +1 -0
- package/dist/modules/views/view.service.d.ts +55 -0
- package/dist/modules/views/view.service.js +158 -0
- package/dist/modules/views/view.service.js.map +1 -0
- package/dist/modules/views/workspace-view.controller.d.ts +42 -0
- package/dist/modules/views/workspace-view.controller.js +120 -0
- package/dist/modules/views/workspace-view.controller.js.map +1 -0
- package/dist/modules/views/workspace-view.module.d.ts +2 -0
- package/dist/modules/views/workspace-view.module.js +28 -0
- package/dist/modules/views/workspace-view.module.js.map +1 -0
- package/dist/modules/work-items/work-items.controller.d.ts +6 -0
- package/dist/modules/work-items/work-items.controller.js +42 -0
- package/dist/modules/work-items/work-items.controller.js.map +1 -0
- package/dist/modules/work-items/work-items.module.d.ts +2 -0
- package/dist/modules/work-items/work-items.module.js +23 -0
- package/dist/modules/work-items/work-items.module.js.map +1 -0
- package/dist/modules/work-items/work-items.service.d.ts +11 -0
- package/dist/modules/work-items/work-items.service.js +45 -0
- package/dist/modules/work-items/work-items.service.js.map +1 -0
- package/dist/modules/workspace/dto/create-workspace.dto.d.ts +13 -0
- package/dist/modules/workspace/dto/create-workspace.dto.js +48 -0
- package/dist/modules/workspace/dto/create-workspace.dto.js.map +1 -0
- package/dist/modules/workspace/dto/index.d.ts +0 -0
- package/dist/modules/workspace/dto/index.js +2 -0
- package/dist/modules/workspace/dto/index.js.map +1 -0
- package/dist/modules/workspace/workspace-context.service.d.ts +13 -0
- package/dist/modules/workspace/workspace-context.service.js +35 -0
- package/dist/modules/workspace/workspace-context.service.js.map +1 -0
- package/dist/modules/workspace/workspace.controller.d.ts +292 -0
- package/dist/modules/workspace/workspace.controller.js +758 -0
- package/dist/modules/workspace/workspace.controller.js.map +1 -0
- package/dist/modules/workspace/workspace.middleware.d.ts +5 -0
- package/dist/modules/workspace/workspace.middleware.js +32 -0
- package/dist/modules/workspace/workspace.middleware.js.map +1 -0
- package/dist/modules/workspace/workspace.module.d.ts +2 -0
- package/dist/modules/workspace/workspace.module.js +49 -0
- package/dist/modules/workspace/workspace.module.js.map +1 -0
- package/dist/modules/workspace/workspace.service.d.ts +475 -0
- package/dist/modules/workspace/workspace.service.js +1266 -0
- package/dist/modules/workspace/workspace.service.js.map +1 -0
- package/dist/modules/workspace/workspaces.controller.d.ts +13 -0
- package/dist/modules/workspace/workspaces.controller.js +57 -0
- package/dist/modules/workspace/workspaces.controller.js.map +1 -0
- package/dist/modules/workspace/workspaces.module.d.ts +2 -0
- package/dist/modules/workspace/workspaces.module.js +29 -0
- package/dist/modules/workspace/workspaces.module.js.map +1 -0
- package/dist/modules/workspace/workspaces.service.d.ts +15 -0
- package/dist/modules/workspace/workspaces.service.js +52 -0
- package/dist/modules/workspace/workspaces.service.js.map +1 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.d.ts +6 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.js +37 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.js.map +1 -0
- package/dist/modules/workspace-slug/workspace-slug.module.d.ts +2 -0
- package/dist/modules/workspace-slug/workspace-slug.module.js +26 -0
- package/dist/modules/workspace-slug/workspace-slug.module.js.map +1 -0
- package/dist/mount.d.ts +51 -0
- package/dist/mount.js +194 -0
- package/dist/mount.js.map +1 -0
- package/dist/plane-config.registry.d.ts +31 -0
- package/dist/plane-config.registry.js +91 -0
- package/dist/plane-config.registry.js.map +1 -0
- package/dist/plane-plugin-options.interface.d.ts +70 -0
- package/dist/plane-plugin-options.interface.js +5 -0
- package/dist/plane-plugin-options.interface.js.map +1 -0
- package/dist/plane-proxy.module.d.ts +16 -0
- package/dist/plane-proxy.module.js +176 -0
- package/dist/plane-proxy.module.js.map +1 -0
- package/package.json +109 -0
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ActivityModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const activity_service_1 = require("./activity.service");
|
|
12
|
+
let ActivityModule = class ActivityModule {
|
|
13
|
+
};
|
|
14
|
+
exports.ActivityModule = ActivityModule;
|
|
15
|
+
exports.ActivityModule = ActivityModule = __decorate([
|
|
16
|
+
(0, common_1.Global)(),
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
providers: [activity_service_1.ActivityService],
|
|
19
|
+
exports: [activity_service_1.ActivityService]
|
|
20
|
+
})
|
|
21
|
+
], ActivityModule);
|
|
22
|
+
//# sourceMappingURL=activity.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/activity/activity.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAgD;AAChD,yDAAqD;AAO9C,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAL1B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACP,SAAS,EAAE,CAAC,kCAAe,CAAC;QAC5B,OAAO,EAAE,CAAC,kCAAe,CAAC;KAC1B,CAAC;GACW,cAAc,CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IActivityLog, IIssueActivityFindInput } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { ApiFetchService } from '../api-fetch/api-fetch.service';
|
|
3
|
+
export declare class ActivityService extends ApiFetchService {
|
|
4
|
+
private readonly path;
|
|
5
|
+
/**
|
|
6
|
+
* Finds all activity logs for a given issue activity find input.
|
|
7
|
+
* @param options - The options for the activity log find input.
|
|
8
|
+
* @returns A promise that resolves to an array of activity logs.
|
|
9
|
+
* @throws {BadRequestException} If the API request fails.
|
|
10
|
+
*/
|
|
11
|
+
findAll(options: IIssueActivityFindInput): Promise<IActivityLog[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ActivityService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const qs_1 = __importDefault(require("qs"));
|
|
15
|
+
const api_fetch_service_1 = require("../api-fetch/api-fetch.service");
|
|
16
|
+
const config_1 = require("../../config");
|
|
17
|
+
let ActivityService = class ActivityService extends api_fetch_service_1.ApiFetchService {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.path = '/activity-log';
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Finds all activity logs for a given issue activity find input.
|
|
24
|
+
* @param options - The options for the activity log find input.
|
|
25
|
+
* @returns A promise that resolves to an array of activity logs.
|
|
26
|
+
* @throws {BadRequestException} If the API request fails.
|
|
27
|
+
*/
|
|
28
|
+
async findAll(options) {
|
|
29
|
+
var _a, _b;
|
|
30
|
+
try {
|
|
31
|
+
const query = qs_1.default.stringify((0, config_1.getActivityLogsQuery)(options));
|
|
32
|
+
const activityLogs = (await this.apiFetch({ method: 'GET', path: this.path, query })).data;
|
|
33
|
+
return activityLogs.items;
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
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);
|
|
37
|
+
throw new common_1.BadRequestException(error);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
exports.ActivityService = ActivityService;
|
|
42
|
+
exports.ActivityService = ActivityService = __decorate([
|
|
43
|
+
(0, common_1.Injectable)()
|
|
44
|
+
], ActivityService);
|
|
45
|
+
//# sourceMappingURL=activity.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/activity/activity.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiE;AACjE,4CAAoB;AAMpB,sEAAiE;AACjE,yCAAoD;AAG7C,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mCAAe;IAA7C;;QACW,SAAI,GAAG,eAAe,CAAC;IAyBzC,CAAC;IAvBA;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,OAAgC;;QAC7C,IAAI,CAAC;YACJ,MAAM,KAAK,GAAG,YAAE,CAAC,SAAS,CAAC,IAAA,6BAAoB,EAAC,OAAO,CAAC,CAAC,CAAC;YAE1D,MAAM,YAAY,GAA8B,CAC/C,MAAM,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAC9D,CAAC,IAAI,CAAC;YAEP,OAAO,YAAY,CAAC,KAAK,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACrB,IAAI,CAAC,MAAM,CAAC,KAAK,CAChB,qBAAqB,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,0CAAE,IAAI,0CAAE,OAAO,KAAI,KAAK,CAAC,OAAO,EAAE,EACtE,KAAK,CAAC,KAAK,CACX,CAAC;YACF,MAAM,IAAI,4BAAmB,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;IACF,CAAC;CACD,CAAA;AA1BY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;GACA,eAAe,CA0B3B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IAdvanceAnalyticsChartResponse, IAdvanceAnalyticsResponse, ID, IWorkItemInsightRow } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { AdvanceAnalyticsService } from './advance-analytics.service';
|
|
3
|
+
import { AdvanceAnalyticsChartsQueryDto, AdvanceAnalyticsQueryDto, AdvanceAnalyticsStatsQueryDto } from './dto';
|
|
4
|
+
export declare class AdvanceAnalyticsController {
|
|
5
|
+
private readonly _advanceAnalyticsService;
|
|
6
|
+
constructor(_advanceAnalyticsService: AdvanceAnalyticsService);
|
|
7
|
+
/**
|
|
8
|
+
* Get advance analytics overview stats for a project
|
|
9
|
+
* Returns work item counts by state group (total, started, backlog, unstarted, completed)
|
|
10
|
+
*/
|
|
11
|
+
getAdvanceAnalytics(projectId: ID, query: AdvanceAnalyticsQueryDto): Promise<IAdvanceAnalyticsResponse>;
|
|
12
|
+
}
|
|
13
|
+
export declare class AdvanceAnalyticsStatsController {
|
|
14
|
+
private readonly _advanceAnalyticsService;
|
|
15
|
+
constructor(_advanceAnalyticsService: AdvanceAnalyticsService);
|
|
16
|
+
/**
|
|
17
|
+
* Get advance analytics stats per assignee (for table view)
|
|
18
|
+
* Returns work item counts per assignee by state group
|
|
19
|
+
*/
|
|
20
|
+
getAdvanceAnalyticsStats(projectId: ID, query: AdvanceAnalyticsStatsQueryDto): Promise<IWorkItemInsightRow[]>;
|
|
21
|
+
}
|
|
22
|
+
export declare class AdvanceAnalyticsChartsController {
|
|
23
|
+
private readonly _advanceAnalyticsService;
|
|
24
|
+
constructor(_advanceAnalyticsService: AdvanceAnalyticsService);
|
|
25
|
+
/**
|
|
26
|
+
* Get advance analytics charts data
|
|
27
|
+
* Returns chart data with configurable x_axis, y_axis, and group_by
|
|
28
|
+
*/
|
|
29
|
+
getAdvanceAnalyticsCharts(projectId: ID, query: AdvanceAnalyticsChartsQueryDto): Promise<IAdvanceAnalyticsChartResponse>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AdvanceAnalyticsChartsController = exports.AdvanceAnalyticsStatsController = exports.AdvanceAnalyticsController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const advance_analytics_service_1 = require("./advance-analytics.service");
|
|
19
|
+
const dto_1 = require("./dto");
|
|
20
|
+
let AdvanceAnalyticsController = class AdvanceAnalyticsController {
|
|
21
|
+
constructor(_advanceAnalyticsService) {
|
|
22
|
+
this._advanceAnalyticsService = _advanceAnalyticsService;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get advance analytics overview stats for a project
|
|
26
|
+
* Returns work item counts by state group (total, started, backlog, unstarted, completed)
|
|
27
|
+
*/
|
|
28
|
+
async getAdvanceAnalytics(projectId, query) {
|
|
29
|
+
return this._advanceAnalyticsService.getAdvanceAnalytics(projectId, query);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.AdvanceAnalyticsController = AdvanceAnalyticsController;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
35
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get project advance analytics overview' }),
|
|
36
|
+
(0, swagger_1.ApiResponse)({
|
|
37
|
+
status: 200,
|
|
38
|
+
description: 'Successfully retrieved advance analytics overview'
|
|
39
|
+
}),
|
|
40
|
+
(0, swagger_1.ApiResponse)({
|
|
41
|
+
status: 400,
|
|
42
|
+
description: 'Bad Request'
|
|
43
|
+
}),
|
|
44
|
+
(0, common_1.Get)(),
|
|
45
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
46
|
+
__param(1, (0, common_1.Query)()),
|
|
47
|
+
__metadata("design:type", Function),
|
|
48
|
+
__metadata("design:paramtypes", [String, dto_1.AdvanceAnalyticsQueryDto]),
|
|
49
|
+
__metadata("design:returntype", Promise)
|
|
50
|
+
], AdvanceAnalyticsController.prototype, "getAdvanceAnalytics", null);
|
|
51
|
+
exports.AdvanceAnalyticsController = AdvanceAnalyticsController = __decorate([
|
|
52
|
+
(0, swagger_1.ApiTags)('Advance Analytics'),
|
|
53
|
+
(0, common_1.Controller)(),
|
|
54
|
+
__metadata("design:paramtypes", [advance_analytics_service_1.AdvanceAnalyticsService])
|
|
55
|
+
], AdvanceAnalyticsController);
|
|
56
|
+
let AdvanceAnalyticsStatsController = class AdvanceAnalyticsStatsController {
|
|
57
|
+
constructor(_advanceAnalyticsService) {
|
|
58
|
+
this._advanceAnalyticsService = _advanceAnalyticsService;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get advance analytics stats per assignee (for table view)
|
|
62
|
+
* Returns work item counts per assignee by state group
|
|
63
|
+
*/
|
|
64
|
+
async getAdvanceAnalyticsStats(projectId, query) {
|
|
65
|
+
return this._advanceAnalyticsService.getAdvanceAnalyticsStats(projectId, query);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
exports.AdvanceAnalyticsStatsController = AdvanceAnalyticsStatsController;
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
71
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get project advance analytics stats per assignee' }),
|
|
72
|
+
(0, swagger_1.ApiResponse)({
|
|
73
|
+
status: 200,
|
|
74
|
+
description: 'Successfully retrieved advance analytics stats'
|
|
75
|
+
}),
|
|
76
|
+
(0, swagger_1.ApiResponse)({
|
|
77
|
+
status: 400,
|
|
78
|
+
description: 'Bad Request'
|
|
79
|
+
}),
|
|
80
|
+
(0, common_1.Get)(),
|
|
81
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
82
|
+
__param(1, (0, common_1.Query)()),
|
|
83
|
+
__metadata("design:type", Function),
|
|
84
|
+
__metadata("design:paramtypes", [String, dto_1.AdvanceAnalyticsStatsQueryDto]),
|
|
85
|
+
__metadata("design:returntype", Promise)
|
|
86
|
+
], AdvanceAnalyticsStatsController.prototype, "getAdvanceAnalyticsStats", null);
|
|
87
|
+
exports.AdvanceAnalyticsStatsController = AdvanceAnalyticsStatsController = __decorate([
|
|
88
|
+
(0, swagger_1.ApiTags)('Advance Analytics Stats'),
|
|
89
|
+
(0, common_1.Controller)(),
|
|
90
|
+
__metadata("design:paramtypes", [advance_analytics_service_1.AdvanceAnalyticsService])
|
|
91
|
+
], AdvanceAnalyticsStatsController);
|
|
92
|
+
let AdvanceAnalyticsChartsController = class AdvanceAnalyticsChartsController {
|
|
93
|
+
constructor(_advanceAnalyticsService) {
|
|
94
|
+
this._advanceAnalyticsService = _advanceAnalyticsService;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Get advance analytics charts data
|
|
98
|
+
* Returns chart data with configurable x_axis, y_axis, and group_by
|
|
99
|
+
*/
|
|
100
|
+
async getAdvanceAnalyticsCharts(projectId, query) {
|
|
101
|
+
return this._advanceAnalyticsService.getAdvanceAnalyticsCharts(projectId, query);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
exports.AdvanceAnalyticsChartsController = AdvanceAnalyticsChartsController;
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
107
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get project advance analytics charts data' }),
|
|
108
|
+
(0, swagger_1.ApiResponse)({
|
|
109
|
+
status: 200,
|
|
110
|
+
description: 'Successfully retrieved advance analytics charts'
|
|
111
|
+
}),
|
|
112
|
+
(0, swagger_1.ApiResponse)({
|
|
113
|
+
status: 400,
|
|
114
|
+
description: 'Bad Request'
|
|
115
|
+
}),
|
|
116
|
+
(0, common_1.Get)(),
|
|
117
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
118
|
+
__param(1, (0, common_1.Query)()),
|
|
119
|
+
__metadata("design:type", Function),
|
|
120
|
+
__metadata("design:paramtypes", [String, dto_1.AdvanceAnalyticsChartsQueryDto]),
|
|
121
|
+
__metadata("design:returntype", Promise)
|
|
122
|
+
], AdvanceAnalyticsChartsController.prototype, "getAdvanceAnalyticsCharts", null);
|
|
123
|
+
exports.AdvanceAnalyticsChartsController = AdvanceAnalyticsChartsController = __decorate([
|
|
124
|
+
(0, swagger_1.ApiTags)('Advance Analytics Charts'),
|
|
125
|
+
(0, common_1.Controller)(),
|
|
126
|
+
__metadata("design:paramtypes", [advance_analytics_service_1.AdvanceAnalyticsService])
|
|
127
|
+
], AdvanceAnalyticsChartsController);
|
|
128
|
+
//# sourceMappingURL=advance-analytics.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advance-analytics.controller.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/advance-analytics/advance-analytics.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CA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AAA,cAAK,GAAE,CAAA;;6CAAQ,oCAA8B;;iFAM9C;2CA5BW,gCAAgC;IAF5C,IAAA,iBAAO,EAAC,0BAA0B,CAAC;IACnC,IAAA,mBAAU,GAAE;qCAGgC,mDAAuB;GAFvD,gCAAgC,CA6B5C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module for advance-analytics route
|
|
3
|
+
*/
|
|
4
|
+
export declare class AdvanceAnalyticsModule {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Module for advance-analytics-stats route
|
|
8
|
+
*/
|
|
9
|
+
export declare class AdvanceAnalyticsStatsModule {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Module for advance-analytics-charts route
|
|
13
|
+
*/
|
|
14
|
+
export declare class AdvanceAnalyticsChartsModule {
|
|
15
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.AdvanceAnalyticsChartsModule = exports.AdvanceAnalyticsStatsModule = exports.AdvanceAnalyticsModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const project_module_1 = require("../project/project.module");
|
|
12
|
+
const advance_analytics_service_1 = require("./advance-analytics.service");
|
|
13
|
+
const advance_analytics_controller_1 = require("./advance-analytics.controller");
|
|
14
|
+
/**
|
|
15
|
+
* Module for advance-analytics route
|
|
16
|
+
*/
|
|
17
|
+
let AdvanceAnalyticsModule = class AdvanceAnalyticsModule {
|
|
18
|
+
};
|
|
19
|
+
exports.AdvanceAnalyticsModule = AdvanceAnalyticsModule;
|
|
20
|
+
exports.AdvanceAnalyticsModule = AdvanceAnalyticsModule = __decorate([
|
|
21
|
+
(0, common_1.Module)({
|
|
22
|
+
imports: [(0, common_1.forwardRef)(() => project_module_1.ProjectModule)],
|
|
23
|
+
providers: [advance_analytics_service_1.AdvanceAnalyticsService],
|
|
24
|
+
controllers: [advance_analytics_controller_1.AdvanceAnalyticsController],
|
|
25
|
+
exports: [advance_analytics_service_1.AdvanceAnalyticsService]
|
|
26
|
+
})
|
|
27
|
+
], AdvanceAnalyticsModule);
|
|
28
|
+
/**
|
|
29
|
+
* Module for advance-analytics-stats route
|
|
30
|
+
*/
|
|
31
|
+
let AdvanceAnalyticsStatsModule = class AdvanceAnalyticsStatsModule {
|
|
32
|
+
};
|
|
33
|
+
exports.AdvanceAnalyticsStatsModule = AdvanceAnalyticsStatsModule;
|
|
34
|
+
exports.AdvanceAnalyticsStatsModule = AdvanceAnalyticsStatsModule = __decorate([
|
|
35
|
+
(0, common_1.Module)({
|
|
36
|
+
imports: [(0, common_1.forwardRef)(() => project_module_1.ProjectModule)],
|
|
37
|
+
providers: [advance_analytics_service_1.AdvanceAnalyticsService],
|
|
38
|
+
controllers: [advance_analytics_controller_1.AdvanceAnalyticsStatsController],
|
|
39
|
+
exports: [advance_analytics_service_1.AdvanceAnalyticsService]
|
|
40
|
+
})
|
|
41
|
+
], AdvanceAnalyticsStatsModule);
|
|
42
|
+
/**
|
|
43
|
+
* Module for advance-analytics-charts route
|
|
44
|
+
*/
|
|
45
|
+
let AdvanceAnalyticsChartsModule = class AdvanceAnalyticsChartsModule {
|
|
46
|
+
};
|
|
47
|
+
exports.AdvanceAnalyticsChartsModule = AdvanceAnalyticsChartsModule;
|
|
48
|
+
exports.AdvanceAnalyticsChartsModule = AdvanceAnalyticsChartsModule = __decorate([
|
|
49
|
+
(0, common_1.Module)({
|
|
50
|
+
imports: [(0, common_1.forwardRef)(() => project_module_1.ProjectModule)],
|
|
51
|
+
providers: [advance_analytics_service_1.AdvanceAnalyticsService],
|
|
52
|
+
controllers: [advance_analytics_controller_1.AdvanceAnalyticsChartsController],
|
|
53
|
+
exports: [advance_analytics_service_1.AdvanceAnalyticsService]
|
|
54
|
+
})
|
|
55
|
+
], AdvanceAnalyticsChartsModule);
|
|
56
|
+
//# sourceMappingURL=advance-analytics.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advance-analytics.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/advance-analytics/advance-analytics.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,8DAA0D;AAC1D,2EAAsE;AACtE,iFAIwC;AAExC;;GAEG;AAOI,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAAG,CAAA;AAAzB,wDAAsB;iCAAtB,sBAAsB;IANlC,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC;QAC1C,SAAS,EAAE,CAAC,mDAAuB,CAAC;QACpC,WAAW,EAAE,CAAC,yDAA0B,CAAC;QACzC,OAAO,EAAE,CAAC,mDAAuB,CAAC;KAClC,CAAC;GACW,sBAAsB,CAAG;AAEtC;;GAEG;AAOI,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAAG,CAAA;AAA9B,kEAA2B;sCAA3B,2BAA2B;IANvC,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC;QAC1C,SAAS,EAAE,CAAC,mDAAuB,CAAC;QACpC,WAAW,EAAE,CAAC,8DAA+B,CAAC;QAC9C,OAAO,EAAE,CAAC,mDAAuB,CAAC;KAClC,CAAC;GACW,2BAA2B,CAAG;AAE3C;;GAEG;AAOI,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAAG,CAAA;AAA/B,oEAA4B;uCAA5B,4BAA4B;IANxC,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC;QAC1C,SAAS,EAAE,CAAC,mDAAuB,CAAC;QACpC,WAAW,EAAE,CAAC,+DAAgC,CAAC;QAC/C,OAAO,EAAE,CAAC,mDAAuB,CAAC;KAClC,CAAC;GACW,4BAA4B,CAAG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IAdvanceAnalyticsChartResponse, IAdvanceAnalyticsResponse, ID, IWorkItemInsightRow } 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 { AdvanceAnalyticsChartsQueryDto, AdvanceAnalyticsQueryDto, AdvanceAnalyticsStatsQueryDto } from './dto';
|
|
5
|
+
export declare class AdvanceAnalyticsService extends ApiFetchService {
|
|
6
|
+
private readonly _projectService;
|
|
7
|
+
private readonly _serverFetchService;
|
|
8
|
+
constructor(_projectService: ProjectService, _serverFetchService: ApiFetchService);
|
|
9
|
+
private readonly path;
|
|
10
|
+
/**
|
|
11
|
+
* Get tasks from external API with optional filters
|
|
12
|
+
*/
|
|
13
|
+
private getTasks;
|
|
14
|
+
/**
|
|
15
|
+
* Get advance analytics stats (total/started/backlog/unstarted/completed counts)
|
|
16
|
+
* Endpoint: GET /:projectId/advance-analytics
|
|
17
|
+
*/
|
|
18
|
+
getAdvanceAnalytics(projectId: ID, query: AdvanceAnalyticsQueryDto): Promise<IAdvanceAnalyticsResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get advance analytics stats per assignee (for table view)
|
|
21
|
+
* Endpoint: GET /:projectId/advance-analytics-stats/
|
|
22
|
+
*/
|
|
23
|
+
getAdvanceAnalyticsStats(projectId: ID, query: AdvanceAnalyticsStatsQueryDto): Promise<IWorkItemInsightRow[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Get advance analytics charts data
|
|
26
|
+
* Endpoint: GET /:projectId/advance-analytics-charts/
|
|
27
|
+
*/
|
|
28
|
+
getAdvanceAnalyticsCharts(projectId: ID, query: AdvanceAnalyticsChartsQueryDto): Promise<IAdvanceAnalyticsChartResponse>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.AdvanceAnalyticsService = 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 project_service_1 = require("../project/project.service");
|
|
24
|
+
const analytics_1 = require("../../config/serializers/analytics");
|
|
25
|
+
const config_1 = require("../../config");
|
|
26
|
+
let AdvanceAnalyticsService = class AdvanceAnalyticsService extends api_fetch_service_1.ApiFetchService {
|
|
27
|
+
constructor(_projectService, _serverFetchService) {
|
|
28
|
+
super(_serverFetchService['_httpService']);
|
|
29
|
+
this._projectService = _projectService;
|
|
30
|
+
this._serverFetchService = _serverFetchService;
|
|
31
|
+
this.path = '/tasks';
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get tasks from external API with optional filters
|
|
35
|
+
*/
|
|
36
|
+
async getTasks(projectId, cycleId, moduleId) {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
try {
|
|
39
|
+
const options = {
|
|
40
|
+
projectId
|
|
41
|
+
};
|
|
42
|
+
if (cycleId) {
|
|
43
|
+
options.cycle = cycleId;
|
|
44
|
+
}
|
|
45
|
+
if (moduleId) {
|
|
46
|
+
options.module = moduleId;
|
|
47
|
+
}
|
|
48
|
+
const query = qs_1.default.stringify((0, config_1.getTaskQuery)(projectId, options, ['members.user', 'tags', 'taskStatus', 'organizationSprint', 'modules'], undefined, false));
|
|
49
|
+
const tasks = (await this.apiFetch({
|
|
50
|
+
method: 'GET',
|
|
51
|
+
path: this.path,
|
|
52
|
+
query
|
|
53
|
+
})).data;
|
|
54
|
+
return tasks.items || [];
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
this.logger.error(`Failed to fetch tasks: ${((_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);
|
|
58
|
+
throw new common_1.BadRequestException(error);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get advance analytics stats (total/started/backlog/unstarted/completed counts)
|
|
63
|
+
* Endpoint: GET /:projectId/advance-analytics
|
|
64
|
+
*/
|
|
65
|
+
async getAdvanceAnalytics(projectId, query) {
|
|
66
|
+
var _a, _b;
|
|
67
|
+
try {
|
|
68
|
+
const tasks = await this.getTasks(projectId, query.cycle_id, query.module_id);
|
|
69
|
+
return (0, analytics_1.transformToAdvanceAnalytics)(tasks);
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
this.logger.error(`Failed to get advance analytics: ${((_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);
|
|
73
|
+
throw new common_1.BadRequestException(error);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Get advance analytics stats per assignee (for table view)
|
|
78
|
+
* Endpoint: GET /:projectId/advance-analytics-stats/
|
|
79
|
+
*/
|
|
80
|
+
async getAdvanceAnalyticsStats(projectId, query) {
|
|
81
|
+
var _a, _b;
|
|
82
|
+
try {
|
|
83
|
+
if (query.type !== plugin_integration_plane_models_1.AnalyticsType.WORK_ITEMS) {
|
|
84
|
+
throw new common_1.BadRequestException('Invalid type. Expected: work-items');
|
|
85
|
+
}
|
|
86
|
+
const tasks = await this.getTasks(projectId, query.cycle_id, query.module_id);
|
|
87
|
+
return (0, analytics_1.transformToWorkItemStats)(tasks);
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
this.logger.error(`Failed to get advance analytics stats: ${((_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);
|
|
91
|
+
throw new common_1.BadRequestException(error);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Get advance analytics charts data
|
|
96
|
+
* Endpoint: GET /:projectId/advance-analytics-charts/
|
|
97
|
+
*/
|
|
98
|
+
async getAdvanceAnalyticsCharts(projectId, query) {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
try {
|
|
101
|
+
const tasks = await this.getTasks(projectId, query.cycle_id, query.module_id);
|
|
102
|
+
if (query.type === plugin_integration_plane_models_1.AnalyticsType.CUSTOM_WORK_ITEMS) {
|
|
103
|
+
// Custom chart with x_axis/y_axis/group_by
|
|
104
|
+
const xAxis = query.x_axis || plugin_integration_plane_models_1.ChartXAxisProperty.PRIORITY;
|
|
105
|
+
const groupBy = query.group_by;
|
|
106
|
+
return (0, analytics_1.buildChartData)(tasks, xAxis, groupBy);
|
|
107
|
+
}
|
|
108
|
+
else if (query.type === plugin_integration_plane_models_1.AnalyticsType.WORK_ITEMS) {
|
|
109
|
+
// Work item completion chart (created vs completed over time)
|
|
110
|
+
const project = await this._projectService.getExternalProject(projectId);
|
|
111
|
+
let startDate;
|
|
112
|
+
if (project === null || project === void 0 ? void 0 : project.createdAt) {
|
|
113
|
+
startDate = new Date(project.createdAt);
|
|
114
|
+
startDate.setDate(1); // First of the month
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
// Default to 6 months ago
|
|
118
|
+
startDate = new Date();
|
|
119
|
+
startDate.setMonth(startDate.getMonth() - 6);
|
|
120
|
+
startDate.setDate(1);
|
|
121
|
+
}
|
|
122
|
+
const endDate = new Date();
|
|
123
|
+
// Determine granularity based on cycle/module
|
|
124
|
+
const granularity = query.cycle_id || query.module_id ? 'day' : 'month';
|
|
125
|
+
return (0, analytics_1.buildWorkItemCompletionChart)(tasks, startDate, endDate, granularity);
|
|
126
|
+
}
|
|
127
|
+
// Default: projects type - return chart grouped by priority
|
|
128
|
+
return (0, analytics_1.buildChartData)(tasks, plugin_integration_plane_models_1.ChartXAxisProperty.PRIORITY);
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
this.logger.error(`Failed to get advance analytics charts: ${((_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);
|
|
132
|
+
throw new common_1.BadRequestException(error);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
exports.AdvanceAnalyticsService = AdvanceAnalyticsService;
|
|
137
|
+
exports.AdvanceAnalyticsService = AdvanceAnalyticsService = __decorate([
|
|
138
|
+
(0, common_1.Injectable)(),
|
|
139
|
+
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => project_service_1.ProjectService))),
|
|
140
|
+
__metadata("design:paramtypes", [project_service_1.ProjectService,
|
|
141
|
+
api_fetch_service_1.ApiFetchService])
|
|
142
|
+
], AdvanceAnalyticsService);
|
|
143
|
+
//# sourceMappingURL=advance-analytics.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advance-analytics.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/advance-analytics/advance-analytics.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAqF;AACrF,4CAAoB;AACpB,iGASqD;AACrD,sEAAiE;AACjE,gEAA4D;AAM5D,kEAK4C;AAC5C,yCAA4C;AAGrC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mCAAe;IAC3D,YAEC,eAAgD,EAC/B,mBAAoC;QAErD,KAAK,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC;QAH1B,oBAAe,GAAf,eAAe,CAAgB;QAC/B,wBAAmB,GAAnB,mBAAmB,CAAiB;QAKrC,SAAI,GAAG,QAAQ,CAAC;IAFjC,CAAC;IAID;;OAEG;IACK,KAAK,CAAC,QAAQ,CACrB,SAAa,EACb,OAAY,EACZ,QAAa;;QAEb,IAAI,CAAC;YACJ,MAAM,OAAO,GAAwB;gBACpC,SAAS;aACT,CAAC;YAEF,IAAI,OAAO,EAAE,CAAC;gBACb,OAAO,CAAC,KAAK,G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B,IAAI,CAAC,MAAM,CAAC,KAAK,CAChB,2CAA2C,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,0CAAE,IAAI,0CAAE,OAAO,KAAI,KAAK,CAAC,OAAO,EAAE,EAC5F,KAAK,CAAC,KAAK,CACX,CAAC;YACF,MAAM,IAAI,4BAAmB,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;IACF,CAAC;CACD,CAAA;AAxKY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAU,GAAE;IAGV,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC,CAAC,CAAA;qCACP,gCAAc;QACV,mCAAe;GAJ1C,uBAAuB,CAwKnC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AnalyticsType, ChartXAxisProperty, ChartYAxisMetric, DateFilter } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Query DTO for /advance-analytics endpoint
|
|
4
|
+
*/
|
|
5
|
+
export declare class AdvanceAnalyticsQueryDto {
|
|
6
|
+
cycle_id?: string;
|
|
7
|
+
module_id?: string;
|
|
8
|
+
date_filter?: DateFilter;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Query DTO for /advance-analytics-stats endpoint
|
|
12
|
+
*/
|
|
13
|
+
export declare class AdvanceAnalyticsStatsQueryDto extends AdvanceAnalyticsQueryDto {
|
|
14
|
+
type?: AnalyticsType;
|
|
15
|
+
project_ids?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Query DTO for /advance-analytics-charts endpoint
|
|
19
|
+
*/
|
|
20
|
+
export declare class AdvanceAnalyticsChartsQueryDto extends AdvanceAnalyticsQueryDto {
|
|
21
|
+
type?: AnalyticsType;
|
|
22
|
+
x_axis?: ChartXAxisProperty;
|
|
23
|
+
y_axis?: ChartYAxisMetric;
|
|
24
|
+
group_by?: ChartXAxisProperty;
|
|
25
|
+
project_ids?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.AdvanceAnalyticsChartsQueryDto = exports.AdvanceAnalyticsStatsQueryDto = exports.AdvanceAnalyticsQueryDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
15
|
+
/**
|
|
16
|
+
* Query DTO for /advance-analytics endpoint
|
|
17
|
+
*/
|
|
18
|
+
class AdvanceAnalyticsQueryDto {
|
|
19
|
+
}
|
|
20
|
+
exports.AdvanceAnalyticsQueryDto = AdvanceAnalyticsQueryDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsUUID)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], AdvanceAnalyticsQueryDto.prototype, "cycle_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsUUID)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], AdvanceAnalyticsQueryDto.prototype, "module_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.DateFilter),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], AdvanceAnalyticsQueryDto.prototype, "date_filter", void 0);
|
|
36
|
+
/**
|
|
37
|
+
* Query DTO for /advance-analytics-stats endpoint
|
|
38
|
+
*/
|
|
39
|
+
class AdvanceAnalyticsStatsQueryDto extends AdvanceAnalyticsQueryDto {
|
|
40
|
+
constructor() {
|
|
41
|
+
super(...arguments);
|
|
42
|
+
this.type = plugin_integration_plane_models_1.AnalyticsType.WORK_ITEMS;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AdvanceAnalyticsStatsQueryDto = AdvanceAnalyticsStatsQueryDto;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.AnalyticsType),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], AdvanceAnalyticsStatsQueryDto.prototype, "type", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], AdvanceAnalyticsStatsQueryDto.prototype, "project_ids", void 0);
|
|
56
|
+
/**
|
|
57
|
+
* Query DTO for /advance-analytics-charts endpoint
|
|
58
|
+
*/
|
|
59
|
+
class AdvanceAnalyticsChartsQueryDto extends AdvanceAnalyticsQueryDto {
|
|
60
|
+
constructor() {
|
|
61
|
+
super(...arguments);
|
|
62
|
+
this.type = plugin_integration_plane_models_1.AnalyticsType.PROJECTS;
|
|
63
|
+
this.x_axis = plugin_integration_plane_models_1.ChartXAxisProperty.PRIORITY;
|
|
64
|
+
this.y_axis = plugin_integration_plane_models_1.ChartYAxisMetric.WORK_ITEM_COUNT;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AdvanceAnalyticsChartsQueryDto = AdvanceAnalyticsChartsQueryDto;
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.AnalyticsType),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], AdvanceAnalyticsChartsQueryDto.prototype, "type", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.ChartXAxisProperty),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], AdvanceAnalyticsChartsQueryDto.prototype, "x_axis", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.ChartYAxisMetric),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], AdvanceAnalyticsChartsQueryDto.prototype, "y_axis", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsEnum)(plugin_integration_plane_models_1.ChartXAxisProperty),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], AdvanceAnalyticsChartsQueryDto.prototype, "group_by", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_validator_1.IsOptional)(),
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], AdvanceAnalyticsChartsQueryDto.prototype, "project_ids", void 0);
|
|
93
|
+
//# sourceMappingURL=advance-analytics-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advance-analytics-query.dto.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/modules/advance-analytics/dto/advance-analytics-query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,iGAKqD;AAErD;;GAEG;AACH,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;0DACS;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;2DACU;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,4CAAU,CAAC;;6DACM;AAG1B;;GAEG;AACH,MAAa,6BAA8B,SAAQ,wBAAwB;IAA3E;;QAGC,SAAI,GAAmB,+CAAa,CAAC,UAAU,CAAC;IAKjD,CAAC;CAAA;AARD,sEAQC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,+CAAa,CAAC;;2DAC0B;AAIhD;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kEACU;AAGtB;;GAEG;AACH,MAAa,8BAA+B,SAAQ,wBAAwB;IAA5E;;QAGC,SAAI,GAAmB,+CAAa,CAAC,QAAQ,CAAC;QAI9C,WAAM,GAAwB,oDAAkB,CAAC,QAAQ,CAAC;QAI1D,WAAM,GAAsB,kDAAgB,CAAC,eAAe,CAAC;IAS9D,CAAC;CAAA;AApBD,wEAoBC;AAjBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,+CAAa,CAAC;;4DACwB;AAI9C;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oDAAkB,CAAC;;8DAC+B;AAI1D;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kDAAgB,CAAC;;8DACoC;AAI7D;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oDAAkB,CAAC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