@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,4 @@
|
|
|
1
|
+
import { ICreateReactionInput, ID, IOrganizationProject, IReaction, IReactionCreateInput, IReactionData, IWorkspaceInfo, ReactionEntityEnum } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
export declare function reactionTransformer(reactions: IReaction[] | IReaction, project: IOrganizationProject, workspace_detail: IWorkspaceInfo): IReactionData[] | IReactionData;
|
|
3
|
+
export declare function createReactionInputTransformer(input: ICreateReactionInput, entity: ReactionEntityEnum, entityId: ID): IReactionCreateInput;
|
|
4
|
+
export declare function getReactionsQuery(entityId?: ID, entity?: ReactionEntityEnum, emoji?: string): Record<string, string>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reactionTransformer = reactionTransformer;
|
|
4
|
+
exports.createReactionInputTransformer = createReactionInputTransformer;
|
|
5
|
+
exports.getReactionsQuery = getReactionsQuery;
|
|
6
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
7
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
8
|
+
const user_1 = require("../user");
|
|
9
|
+
function reactionTransformer(reactions, project, workspace_detail
|
|
10
|
+
// issue?: IIssue,
|
|
11
|
+
// comment?: IIssueComment,
|
|
12
|
+
) {
|
|
13
|
+
const transformReaction = (reaction) => {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
return {
|
|
16
|
+
id: reaction.id,
|
|
17
|
+
reaction: reaction.emoji,
|
|
18
|
+
actor_detail: (0, user_1.actorDetailsTransformer)(reaction.employee),
|
|
19
|
+
created_at: reaction.createdAt,
|
|
20
|
+
updated_at: reaction.updatedAt,
|
|
21
|
+
deleted_at: reaction.deletedAt,
|
|
22
|
+
created_by: reaction.employeeId,
|
|
23
|
+
updated_by: undefined,
|
|
24
|
+
project: project.id,
|
|
25
|
+
workspace: workspace_detail.id,
|
|
26
|
+
actor: reaction.employeeId,
|
|
27
|
+
issue: (_a = (reaction.entity === plugin_integration_plane_models_1.ReactionEntityEnum.Task
|
|
28
|
+
? reaction.entityId
|
|
29
|
+
: null)) !== null && _a !== void 0 ? _a : undefined,
|
|
30
|
+
comment: (_b = (reaction.entity === plugin_integration_plane_models_1.ReactionEntityEnum.Comment
|
|
31
|
+
? reaction.entityId
|
|
32
|
+
: null)) !== null && _b !== void 0 ? _b : undefined
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
if (Array.isArray(reactions)) {
|
|
36
|
+
return reactions.map(transformReaction);
|
|
37
|
+
}
|
|
38
|
+
return transformReaction(reactions);
|
|
39
|
+
}
|
|
40
|
+
function createReactionInputTransformer(input, entity, entityId) {
|
|
41
|
+
return {
|
|
42
|
+
entity,
|
|
43
|
+
entityId,
|
|
44
|
+
emoji: input.reaction
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function getReactionsQuery(entityId, entity, emoji) {
|
|
48
|
+
// Tenant and Organization based query
|
|
49
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
50
|
+
if (entityId) {
|
|
51
|
+
query['where[entityId]'] = entityId;
|
|
52
|
+
}
|
|
53
|
+
if (entity) {
|
|
54
|
+
query['where[entity]'] = entity;
|
|
55
|
+
}
|
|
56
|
+
if (emoji) {
|
|
57
|
+
query['where[emoji]'] = emoji;
|
|
58
|
+
}
|
|
59
|
+
query['relations[0]'] = 'employee';
|
|
60
|
+
return query;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=reaction.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reaction.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/reactions/reaction.serializer.ts"],"names":[],"mappings":";;AAeA,kDAoCC;AAED,wEAUC;AAED,8CAyBC;AA1FD,iGAWqD;AACrD,0EAAqE;AACrE,kCAAkD;AAElD,SAAgB,mBAAmB,CAClC,SAAkC,EAClC,OAA6B,EAC7B,gBAAgC;AAChC,kBAAkB;AAClB,2BAA2B;;IAE3B,MAAM,iBAAiB,GAAG,CAAC,QAAmB,EAAiB,EAAE;;QAChE,OAAO;YACN,EAAE,EAAE,QAAQ,CAAC,EAAE;YACf,QAAQ,EAAE,QAAQ,CAAC,KAAK;YACxB,YAAY,EAAE,IAAA,8BAAuB,EAAC,QAAQ,CAAC,QAAS,CAAC;YACzD,UAAU,EAAE,QAAQ,CAAC,SAAS;YAC9B,UAAU,EAAE,QAAQ,CAAC,SAAS;YAC9B,UAAU,EAAE,QAAQ,CAAC,SAAS;YAC9B,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,UAAU,EAAE,SAAS;YACrB,OAAO,EAAE,OAAO,CAAC,EAAE;YACnB,SAAS,EAAE,gBAAgB,CAAC,EAAE;YAC9B,KAAK,EAAE,QAAQ,CAAC,UAAU;YAC1B,KAAK,EACJ,MAAA,CAAC,QAAQ,CAAC,MAAM,KAAK,oDAAkB,CAAC,IAAI;gBAC3C,CAAC,CAAC,QAAQ,CAAC,QAAQ;gBACnB,CAAC,CAAC,IAAI,CAAC,mCAAI,SAAS;YACtB,OAAO,EACN,MAAA,CAAC,QAAQ,CAAC,MAAM,KAAK,oDAAkB,CAAC,OAAO;gBAC9C,CAAC,CAAC,QAAQ,CAAC,QAAQ;gBACnB,CAAC,CAAC,IAAI,CAAC,mCAAI,SAAS;SACtB,CAAC;IACH,CAAC,CAAC;IAEF,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9B,OAAO,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACrC,CAAC;AAED,SAAgB,8BAA8B,CAC7C,KAA2B,EAC3B,MAA0B,EAC1B,QAAY;IAEZ,OAAO;QACN,MAAM;QACN,QAAQ;QACR,KAAK,EAAE,KAAK,CAAC,QAAQ;KACrB,CAAC;AACH,CAAC;AAED,SAAgB,iBAAiB,CAChC,QAAa,EACb,MAA2B,EAC3B,KAAc;IAEd,sCAAsC;IACtC,MAAM,KAAK,qBACP,IAAA,iDAAsB,GAAE,CAC3B,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACd,KAAK,CAAC,iBAAiB,CAAC,GAAG,QAAQ,CAAC;IACrC,CAAC;IAED,IAAI,MAAM,EAAE,CAAC;QACZ,KAAK,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC;IACjC,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACX,KAAK,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC;IAEnC,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './recent-visits.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./recent-visits.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/recent-visits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ID, IEmployeeRecentVisit, IIssueRecentVisit, IOrganizationProject, IProjectRecentVisit, IRecentVisit, ITask } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Builds a query object for fetching employee recent visits with optional filters and predefined relations.
|
|
4
|
+
*
|
|
5
|
+
* This function generates a query object formatted for APIs that accept filtering via
|
|
6
|
+
* nested query parameters like `where[field]=value` and `relations[index]=relation`.
|
|
7
|
+
*
|
|
8
|
+
* @param {ID} employeeId - The ID of the employee to fetch recent visits for.
|
|
9
|
+
* @returns {Record<string, any>} A query object that can be used in an HTTP request (e.g., for RESTful endpoints).
|
|
10
|
+
*/
|
|
11
|
+
export declare function getEmployeeRecentVisitsQuery(employeeId: ID): Record<string, any>;
|
|
12
|
+
/**
|
|
13
|
+
* Transforms a task object to a standardized format.
|
|
14
|
+
*
|
|
15
|
+
* @param {ITask} task - The task object to be transformed.
|
|
16
|
+
* @returns {IIssueRecentVisit} The transformed task object in a standardized format.
|
|
17
|
+
*/
|
|
18
|
+
export declare function issueRecentVisitTransformer(task: ITask): IIssueRecentVisit;
|
|
19
|
+
/**
|
|
20
|
+
* Transforms a project object to a standardized format.
|
|
21
|
+
*
|
|
22
|
+
* @param {IProject} project - The project object to be transformed.
|
|
23
|
+
* @returns {IProjectRecentVisit} The transformed project object in a standardized format.
|
|
24
|
+
*/
|
|
25
|
+
export declare function projectRecentVisitTransformer(project: IOrganizationProject): IProjectRecentVisit;
|
|
26
|
+
/**
|
|
27
|
+
* Transforms a recent visit object to a standardized format.
|
|
28
|
+
*
|
|
29
|
+
* @param {IEmployeeRecentVisit[] | IEmployeeRecentVisit} recentVisits - The recent visit object to be transformed.
|
|
30
|
+
* @returns {IRecentVisit[] | IRecentVisit} The transformed recent visit object in a standardized format.
|
|
31
|
+
*/
|
|
32
|
+
export declare function recentVisitTransformer(recentVisits: IEmployeeRecentVisit[] | IEmployeeRecentVisit): IRecentVisit[] | IRecentVisit;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEmployeeRecentVisitsQuery = getEmployeeRecentVisitsQuery;
|
|
4
|
+
exports.issueRecentVisitTransformer = issueRecentVisitTransformer;
|
|
5
|
+
exports.projectRecentVisitTransformer = projectRecentVisitTransformer;
|
|
6
|
+
exports.recentVisitTransformer = recentVisitTransformer;
|
|
7
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
8
|
+
const credentials_1 = require("../../credentials");
|
|
9
|
+
/**
|
|
10
|
+
* Builds a query object for fetching employee recent visits with optional filters and predefined relations.
|
|
11
|
+
*
|
|
12
|
+
* This function generates a query object formatted for APIs that accept filtering via
|
|
13
|
+
* nested query parameters like `where[field]=value` and `relations[index]=relation`.
|
|
14
|
+
*
|
|
15
|
+
* @param {ID} employeeId - The ID of the employee to fetch recent visits for.
|
|
16
|
+
* @returns {Record<string, any>} A query object that can be used in an HTTP request (e.g., for RESTful endpoints).
|
|
17
|
+
*/
|
|
18
|
+
function getEmployeeRecentVisitsQuery(employeeId) {
|
|
19
|
+
const query = {
|
|
20
|
+
organizationId: (0, credentials_1.getCurrentOrganizationSlug)(),
|
|
21
|
+
tenantId: (0, credentials_1.currentTenantId)()
|
|
22
|
+
};
|
|
23
|
+
query['employeeId'] = employeeId;
|
|
24
|
+
return query;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Transforms a task object to a standardized format.
|
|
28
|
+
*
|
|
29
|
+
* @param {ITask} task - The task object to be transformed.
|
|
30
|
+
* @returns {IIssueRecentVisit} The transformed task object in a standardized format.
|
|
31
|
+
*/
|
|
32
|
+
function issueRecentVisitTransformer(task) {
|
|
33
|
+
var _a, _b, _c, _d, _e;
|
|
34
|
+
return {
|
|
35
|
+
id: task.id,
|
|
36
|
+
name: task.title,
|
|
37
|
+
state: task.taskStatusId,
|
|
38
|
+
priority: task.priority,
|
|
39
|
+
assignees: task.members.map((member) => member.id),
|
|
40
|
+
type: (_a = task.taskType) === null || _a === void 0 ? void 0 : _a.name,
|
|
41
|
+
sequence_id: task.number,
|
|
42
|
+
project_id: task.projectId,
|
|
43
|
+
project_identifier: (((_b = task.project) === null || _b === void 0 ? void 0 : _b.code) || ((_d = (_c = task.project) === null || _c === void 0 ? void 0 : _c.name) === null || _d === void 0 ? void 0 : _d.slice(0, 4).toUpperCase())),
|
|
44
|
+
is_epic: ((_e = task.taskType) === null || _e === void 0 ? void 0 : _e.name) === plugin_integration_plane_models_1.TaskTypeEnum.EPIC
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Transforms a project object to a standardized format.
|
|
49
|
+
*
|
|
50
|
+
* @param {IProject} project - The project object to be transformed.
|
|
51
|
+
* @returns {IProjectRecentVisit} The transformed project object in a standardized format.
|
|
52
|
+
*/
|
|
53
|
+
function projectRecentVisitTransformer(project) {
|
|
54
|
+
var _a;
|
|
55
|
+
return {
|
|
56
|
+
id: project.id,
|
|
57
|
+
name: project.name,
|
|
58
|
+
logo_props: {
|
|
59
|
+
emoji: {
|
|
60
|
+
url: project.imageUrl,
|
|
61
|
+
value: project.icon
|
|
62
|
+
},
|
|
63
|
+
in_use: 'emoji'
|
|
64
|
+
},
|
|
65
|
+
project_members: project.members.map((member) => member.id),
|
|
66
|
+
identifier: (project.code || ((_a = project.name) === null || _a === void 0 ? void 0 : _a.slice(0, 4).toUpperCase()))
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Transforms a recent visit object to a standardized format.
|
|
71
|
+
*
|
|
72
|
+
* @param {IEmployeeRecentVisit[] | IEmployeeRecentVisit} recentVisits - The recent visit object to be transformed.
|
|
73
|
+
* @returns {IRecentVisit[] | IRecentVisit} The transformed recent visit object in a standardized format.
|
|
74
|
+
*/
|
|
75
|
+
function recentVisitTransformer(recentVisits) {
|
|
76
|
+
/**
|
|
77
|
+
* Transforms a recent visit object to a standardized format.
|
|
78
|
+
*
|
|
79
|
+
* @param {IEmployeeRecentVisit} recentVisit - The recent visit object to be transformed.
|
|
80
|
+
* @returns {IRecentVisit} The transformed recent visit object in a standardized format.
|
|
81
|
+
*/
|
|
82
|
+
const transformRecentVisit = (recentVisit) => {
|
|
83
|
+
// Get the entity name
|
|
84
|
+
const entityName = recentVisit.entity === plugin_integration_plane_models_1.BaseEntityEnum.Task
|
|
85
|
+
? 'issue'
|
|
86
|
+
: recentVisit.entity === plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProject
|
|
87
|
+
? 'project'
|
|
88
|
+
: '';
|
|
89
|
+
// Get the entity data
|
|
90
|
+
const entityData = recentVisit.entity === plugin_integration_plane_models_1.BaseEntityEnum.Task
|
|
91
|
+
? issueRecentVisitTransformer(recentVisit.data)
|
|
92
|
+
: recentVisit.entity === plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProject
|
|
93
|
+
? projectRecentVisitTransformer(recentVisit.data)
|
|
94
|
+
: null;
|
|
95
|
+
// Return the transformed recent visit
|
|
96
|
+
return {
|
|
97
|
+
id: recentVisit.id,
|
|
98
|
+
entity_name: entityName,
|
|
99
|
+
entity_identifier: recentVisit.entityId,
|
|
100
|
+
entity_data: entityData,
|
|
101
|
+
visited_at: recentVisit.visitedAt
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
if (Array.isArray(recentVisits)) {
|
|
105
|
+
return recentVisits.map(transformRecentVisit);
|
|
106
|
+
}
|
|
107
|
+
return transformRecentVisit(recentVisits);
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=recent-visits.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recent-visits.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/recent-visits/recent-visits.serializer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscription.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscription.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/subscription/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ID, ISubscriber, ISubscription, ISubscriptionCreateInput, ISubscriptionFindInput } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Transforms the given entity ID into a subscription creation input.
|
|
4
|
+
*
|
|
5
|
+
* @param {ID} entityId - The unique identifier of the entity (task) to associate with the subscription.
|
|
6
|
+
* @param {ID} userId - The user identifier who is subscribing to the task.
|
|
7
|
+
* @returns {ISubscriptionCreateInput} The transformed subscription creation input object.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* const entityId = 'taskId123';
|
|
11
|
+
* const subscriptionInput = createSubscriptionTransformer(entityId);
|
|
12
|
+
* // Output: { entity: 'Task', entityId: 'taskId123', type: 'manual', userId: currentUserId }
|
|
13
|
+
*/
|
|
14
|
+
export declare function createSubscriptionTransformer(entityId: ID, userId?: ID): ISubscriptionCreateInput;
|
|
15
|
+
/**
|
|
16
|
+
* Transforms subscription(s) into subscriber format.
|
|
17
|
+
*
|
|
18
|
+
* @param {ISubscription | ISubscription[]} subscriptions - A single subscription or an array of subscriptions.
|
|
19
|
+
* @param {ID} [projectId] - Optional project ID to include in the transformed data.
|
|
20
|
+
* @returns {ISubscriber | ISubscriber[]} Transformed subscriber(s).
|
|
21
|
+
*/
|
|
22
|
+
export declare function subscriptionTransformer(subscriptions: ISubscription | ISubscription[], projectId?: ID): ISubscriber | ISubscriber[];
|
|
23
|
+
export declare const getSubscriptionQuery: (options: ISubscriptionFindInput) => Record<string, any>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSubscriptionQuery = void 0;
|
|
4
|
+
exports.createSubscriptionTransformer = createSubscriptionTransformer;
|
|
5
|
+
exports.subscriptionTransformer = subscriptionTransformer;
|
|
6
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
7
|
+
const credentials_1 = require("../../credentials");
|
|
8
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
9
|
+
/**
|
|
10
|
+
* Transforms the given entity ID into a subscription creation input.
|
|
11
|
+
*
|
|
12
|
+
* @param {ID} entityId - The unique identifier of the entity (task) to associate with the subscription.
|
|
13
|
+
* @param {ID} userId - The user identifier who is subscribing to the task.
|
|
14
|
+
* @returns {ISubscriptionCreateInput} The transformed subscription creation input object.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const entityId = 'taskId123';
|
|
18
|
+
* const subscriptionInput = createSubscriptionTransformer(entityId);
|
|
19
|
+
* // Output: { entity: 'Task', entityId: 'taskId123', type: 'manual', userId: currentUserId }
|
|
20
|
+
*/
|
|
21
|
+
function createSubscriptionTransformer(entityId, userId = (0, credentials_1.currentUserId)()) {
|
|
22
|
+
return {
|
|
23
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.Task,
|
|
24
|
+
entityId,
|
|
25
|
+
type: plugin_integration_plane_models_1.SubscriptionTypeEnum.MANUAL,
|
|
26
|
+
userId
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Transforms subscription(s) into subscriber format.
|
|
31
|
+
*
|
|
32
|
+
* @param {ISubscription | ISubscription[]} subscriptions - A single subscription or an array of subscriptions.
|
|
33
|
+
* @param {ID} [projectId] - Optional project ID to include in the transformed data.
|
|
34
|
+
* @returns {ISubscriber | ISubscriber[]} Transformed subscriber(s).
|
|
35
|
+
*/
|
|
36
|
+
function subscriptionTransformer(subscriptions, projectId) {
|
|
37
|
+
const transformSubscription = (subscription) => ({
|
|
38
|
+
id: subscription.id,
|
|
39
|
+
created_at: subscription.createdAt,
|
|
40
|
+
updated_at: subscription.updatedAt,
|
|
41
|
+
deleted_at: subscription.deletedAt,
|
|
42
|
+
created_by: subscription.userId,
|
|
43
|
+
updated_by: undefined,
|
|
44
|
+
project: projectId,
|
|
45
|
+
workspace: subscription.organizationId,
|
|
46
|
+
issue: subscription.entityId,
|
|
47
|
+
subscriber: subscription.userId
|
|
48
|
+
});
|
|
49
|
+
if (Array.isArray(subscriptions)) {
|
|
50
|
+
return subscriptions.map(transformSubscription);
|
|
51
|
+
}
|
|
52
|
+
return transformSubscription(subscriptions);
|
|
53
|
+
}
|
|
54
|
+
const getSubscriptionQuery = (options) => {
|
|
55
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
56
|
+
if (options === null || options === void 0 ? void 0 : options.entity) {
|
|
57
|
+
query['where[entity]'] = options.entity;
|
|
58
|
+
}
|
|
59
|
+
if (options === null || options === void 0 ? void 0 : options.entityId) {
|
|
60
|
+
query['where[entityId]'] = options.entityId;
|
|
61
|
+
}
|
|
62
|
+
if (options === null || options === void 0 ? void 0 : options.userId) {
|
|
63
|
+
query['where[userId]'] = options.userId;
|
|
64
|
+
}
|
|
65
|
+
return query;
|
|
66
|
+
};
|
|
67
|
+
exports.getSubscriptionQuery = getSubscriptionQuery;
|
|
68
|
+
//# sourceMappingURL=subscription.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/subscription/subscription.serializer.ts"],"names":[],"mappings":";;;AAwBA,sEAUC;AASD,0DAwBC;AAnED,iGAQqD;AACrD,mDAAkD;AAClD,0EAAqE;AAErE;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAC5C,QAAY,EACZ,SAAa,IAAA,2BAAa,GAAG;IAE7B,OAAO;QACN,MAAM,EAAE,gDAAc,CAAC,IAAI;QAC3B,QAAQ;QACR,IAAI,EAAE,sDAAoB,CAAC,MAAM;QACjC,MAAM;KACN,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACtC,aAA8C,EAC9C,SAAc;IAEd,MAAM,qBAAqB,GAAG,CAC7B,YAA2B,EACb,EAAE,CAAC,CAAC;QAClB,EAAE,EAAE,YAAY,CAAC,EAAG;QACpB,UAAU,EAAE,YAAY,CAAC,SAAS;QAClC,UAAU,EAAE,YAAY,CAAC,SAAS;QAClC,UAAU,EAAE,YAAY,CAAC,SAAS;QAClC,UAAU,EAAE,YAAY,CAAC,MAAM;QAC/B,UAAU,EAAE,SAAS;QACrB,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,YAAY,CAAC,cAAc;QACtC,KAAK,EAAE,YAAY,CAAC,QAAQ;QAC5B,UAAU,EAAE,YAAY,CAAC,MAAM;KAC/B,CAAC,CAAC;IAEH,IAAI,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;QAClC,OAAO,aAAa,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAC;AAC7C,CAAC;AAEM,MAAM,oBAAoB,GAAG,CACnC,OAA+B,EACT,EAAE;IACxB,MAAM,KAAK,qBACP,IAAA,iDAAsB,GAAE,CAC3B,CAAC;IAEF,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,CAAC;QACrB,KAAK,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IACzC,CAAC;IAED,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE,CAAC;QACvB,KAAK,CAAC,iBAAiB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAED,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,CAAC;QACrB,KAAK,CAAC,eAAe,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IACzC,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AApBW,QAAA,oBAAoB,wBAoB/B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./intake-issue"), exports);
|
|
18
|
+
__exportStar(require("./issue-labels"), exports);
|
|
19
|
+
__exportStar(require("./issue-relations"), exports);
|
|
20
|
+
__exportStar(require("./statuses"), exports);
|
|
21
|
+
__exportStar(require("./tasks.serializer"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/tasks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B;AAC/B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './intake-issue.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./intake-issue.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/plugin-plane/src/config/serializers/tasks/intake-issue/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ID, IEmployee, IIntakeIssue, IIntakeIssueCreateInput, IntakeIssueStatusEnum, IScreeningTask, IScreeningTaskCreateInput, IScreeningTaskUpdateInput, ITask, ScreeningTaskStatusEnum, TaskStatusEnum } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Converts a status from ScreeningTaskStatusEnum to IntakeIssueStatusEnum
|
|
4
|
+
*/
|
|
5
|
+
export declare function screeningStatusToIntakeStatusMap(screeningStatus: ScreeningTaskStatusEnum): IntakeIssueStatusEnum;
|
|
6
|
+
/**
|
|
7
|
+
* Converts a status from IntakeIssueStatusEnum to ScreeningTaskStatusEnum
|
|
8
|
+
*/
|
|
9
|
+
export declare function intakeStatusToScreeningStatusMap(intakeStatus: IntakeIssueStatusEnum): ScreeningTaskStatusEnum;
|
|
10
|
+
/**
|
|
11
|
+
* Transforms intake issue input into a screening task creation input.
|
|
12
|
+
*
|
|
13
|
+
* @param {IIntakeIssueCreateInput} input - The intake issue input to transform.
|
|
14
|
+
* @param {TaskStatusEnum} status - The initial status to set for the task.
|
|
15
|
+
* @param {IEmployee[]} [employees] - An optional list of employees to map mentions to user IDs.
|
|
16
|
+
* @returns {IScreeningTaskCreateInput} The transformed screening task creation input.
|
|
17
|
+
*/
|
|
18
|
+
export declare function createIntakeIssueInputTransformer(input: IIntakeIssueCreateInput, status: TaskStatusEnum, projectId: ID, employees?: IEmployee[]): IScreeningTaskCreateInput;
|
|
19
|
+
/**
|
|
20
|
+
* Transforms the input data for updating an intake issue into the format expected
|
|
21
|
+
* by the screening task update API.
|
|
22
|
+
*
|
|
23
|
+
* @param {IIntakeIssueCreateInput} input - The input data for creating or updating an intake issue.
|
|
24
|
+
* @returns {Partial<IScreeningTaskUpdateInput>} The transformed input data formatted for the screening task update API.
|
|
25
|
+
*/
|
|
26
|
+
export declare function updateIntakeIssueInputTransformer(input: IIntakeIssueCreateInput): Partial<IScreeningTaskUpdateInput>;
|
|
27
|
+
/**
|
|
28
|
+
* Transforms screening tasks into intake issues.
|
|
29
|
+
*
|
|
30
|
+
* @param {IScreeningTask | IScreeningTask[]} screeningTasks - A single screening task or an array of screening tasks to transform.
|
|
31
|
+
* @param {ITask} task - An optional task to link duplicates to.
|
|
32
|
+
* @returns {IIntakeIssue | IIntakeIssue[]} The transformed intake issue(s).
|
|
33
|
+
*/
|
|
34
|
+
export declare function intakeIssueTranformer(screeningTasks: IScreeningTask | IScreeningTask[], task?: ITask): IIntakeIssue | IIntakeIssue[];
|
|
35
|
+
export declare const getIntakeIssueQuery: (taskId?: ID) => Record<string, any>;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getIntakeIssueQuery = void 0;
|
|
4
|
+
exports.screeningStatusToIntakeStatusMap = screeningStatusToIntakeStatusMap;
|
|
5
|
+
exports.intakeStatusToScreeningStatusMap = intakeStatusToScreeningStatusMap;
|
|
6
|
+
exports.createIntakeIssueInputTransformer = createIntakeIssueInputTransformer;
|
|
7
|
+
exports.updateIntakeIssueInputTransformer = updateIntakeIssueInputTransformer;
|
|
8
|
+
exports.intakeIssueTranformer = intakeIssueTranformer;
|
|
9
|
+
const uuid_1 = require("uuid");
|
|
10
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
11
|
+
const tasks_serializer_1 = require("../tasks.serializer");
|
|
12
|
+
const query_params_serializers_1 = require("../../query-params.serializers");
|
|
13
|
+
const credentials_1 = require("../../../credentials");
|
|
14
|
+
const utils_1 = require("../../../utils");
|
|
15
|
+
const statusMap = {
|
|
16
|
+
[plugin_integration_plane_models_1.ScreeningTaskStatusEnum.ACCEPTED]: plugin_integration_plane_models_1.IntakeIssueStatusEnum.ACCEPTED,
|
|
17
|
+
[plugin_integration_plane_models_1.ScreeningTaskStatusEnum.DECLINED]: plugin_integration_plane_models_1.IntakeIssueStatusEnum.DECLINED,
|
|
18
|
+
[plugin_integration_plane_models_1.ScreeningTaskStatusEnum.DUPLICATED]: plugin_integration_plane_models_1.IntakeIssueStatusEnum.DUPLICATED,
|
|
19
|
+
[plugin_integration_plane_models_1.ScreeningTaskStatusEnum.SNOOZED]: plugin_integration_plane_models_1.IntakeIssueStatusEnum.SNOOZED,
|
|
20
|
+
[plugin_integration_plane_models_1.ScreeningTaskStatusEnum.PENDING]: plugin_integration_plane_models_1.IntakeIssueStatusEnum.PENDING
|
|
21
|
+
};
|
|
22
|
+
// Generate the reverse map dynamically
|
|
23
|
+
const reverseStatusMap = Object.fromEntries(Object.entries(statusMap).map(([key, value]) => [value, key]));
|
|
24
|
+
/**
|
|
25
|
+
* Converts a status from ScreeningTaskStatusEnum to IntakeIssueStatusEnum
|
|
26
|
+
*/
|
|
27
|
+
function screeningStatusToIntakeStatusMap(screeningStatus) {
|
|
28
|
+
return statusMap[screeningStatus];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Converts a status from IntakeIssueStatusEnum to ScreeningTaskStatusEnum
|
|
32
|
+
*/
|
|
33
|
+
function intakeStatusToScreeningStatusMap(intakeStatus) {
|
|
34
|
+
return reverseStatusMap[intakeStatus];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Transforms intake issue input into a screening task creation input.
|
|
38
|
+
*
|
|
39
|
+
* @param {IIntakeIssueCreateInput} input - The intake issue input to transform.
|
|
40
|
+
* @param {TaskStatusEnum} status - The initial status to set for the task.
|
|
41
|
+
* @param {IEmployee[]} [employees] - An optional list of employees to map mentions to user IDs.
|
|
42
|
+
* @returns {IScreeningTaskCreateInput} The transformed screening task creation input.
|
|
43
|
+
*/
|
|
44
|
+
function createIntakeIssueInputTransformer(input, status, projectId, employees) {
|
|
45
|
+
var _a;
|
|
46
|
+
// Extract employee IDs mentioned in the issue description
|
|
47
|
+
const mentionedEmployeeIds = (0, utils_1.extractEmployeeMentionIds)(input.issue.description_html);
|
|
48
|
+
// Map employee IDs to user IDs
|
|
49
|
+
const mentionedUserIds = employees === null || employees === void 0 ? void 0 : employees.filter(({ id }) => mentionedEmployeeIds.includes(id)).map((employee) => employee.userId).filter((userId) => !!userId); // Ensure user IDs are valid (non-null/undefined)
|
|
50
|
+
return {
|
|
51
|
+
task: (0, tasks_serializer_1.createIssueInputTransformer)(Object.assign(Object.assign({}, input.issue), { project_id: projectId }), status),
|
|
52
|
+
taskId: (_a = input.issue.id) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
53
|
+
organizationId: (0, credentials_1.getCurrentOrganizationSlug)(),
|
|
54
|
+
mentionUserIds: mentionedUserIds !== null && mentionedUserIds !== void 0 ? mentionedUserIds : [],
|
|
55
|
+
onHoldUntil: input.snoozed_till
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Transforms the input data for updating an intake issue into the format expected
|
|
60
|
+
* by the screening task update API.
|
|
61
|
+
*
|
|
62
|
+
* @param {IIntakeIssueCreateInput} input - The input data for creating or updating an intake issue.
|
|
63
|
+
* @returns {Partial<IScreeningTaskUpdateInput>} The transformed input data formatted for the screening task update API.
|
|
64
|
+
*/
|
|
65
|
+
function updateIntakeIssueInputTransformer(input) {
|
|
66
|
+
const keyMapping = {
|
|
67
|
+
status: 'status',
|
|
68
|
+
snoozed_till: 'onHoldUntil'
|
|
69
|
+
};
|
|
70
|
+
// Include only user included fields in the final request
|
|
71
|
+
const tranformedInput = Object.entries(keyMapping).reduce((acc, [intakeKey, screeningKey]) => {
|
|
72
|
+
if (intakeKey in input) {
|
|
73
|
+
const value = input[intakeKey];
|
|
74
|
+
acc[screeningKey] = value;
|
|
75
|
+
}
|
|
76
|
+
acc['status'] = intakeStatusToScreeningStatusMap(input.status);
|
|
77
|
+
acc['organizationId'] = (0, credentials_1.getCurrentOrganizationSlug)();
|
|
78
|
+
return acc;
|
|
79
|
+
}, {});
|
|
80
|
+
return tranformedInput;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Transforms screening tasks into intake issues.
|
|
84
|
+
*
|
|
85
|
+
* @param {IScreeningTask | IScreeningTask[]} screeningTasks - A single screening task or an array of screening tasks to transform.
|
|
86
|
+
* @param {ITask} task - An optional task to link duplicates to.
|
|
87
|
+
* @returns {IIntakeIssue | IIntakeIssue[]} The transformed intake issue(s).
|
|
88
|
+
*/
|
|
89
|
+
function intakeIssueTranformer(screeningTasks, task) {
|
|
90
|
+
const tranformIntakeIssue = (screeningTask) => {
|
|
91
|
+
var _a, _b, _c, _d, _e, _f;
|
|
92
|
+
const duplicatedTask = (_c = ((_b = (_a = screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.task) === null || _a === void 0 ? void 0 : _a.linkedIssues) !== null && _b !== void 0 ? _b : []).find((linkedIssue) => linkedIssue.action ===
|
|
93
|
+
plugin_integration_plane_models_1.TaskRelatedIssuesRelationEnum.DUPLICATES)) !== null && _c !== void 0 ? _c : task === null || task === void 0 ? void 0 : task.linkedIssues.find((linkedIssue) => linkedIssue.action ===
|
|
94
|
+
plugin_integration_plane_models_1.TaskRelatedIssuesRelationEnum.DUPLICATES);
|
|
95
|
+
return {
|
|
96
|
+
id: screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.id,
|
|
97
|
+
status: screeningStatusToIntakeStatusMap(screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.status),
|
|
98
|
+
duplicate_to: (_d = duplicatedTask === null || duplicatedTask === void 0 ? void 0 : duplicatedTask.taskFrom.id) !== null && _d !== void 0 ? _d : undefined,
|
|
99
|
+
duplicate_issue_detail: (duplicatedTask === null || duplicatedTask === void 0 ? void 0 : duplicatedTask.taskFrom)
|
|
100
|
+
? (0, tasks_serializer_1.issueTransformer)(duplicatedTask === null || duplicatedTask === void 0 ? void 0 : duplicatedTask.taskFrom)
|
|
101
|
+
: undefined,
|
|
102
|
+
snoozed_till: (_e = screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.onHoldUntil) !== null && _e !== void 0 ? _e : undefined,
|
|
103
|
+
source: 'IN_APP',
|
|
104
|
+
issue: (0, tasks_serializer_1.issueTransformer)((_f = screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.task) !== null && _f !== void 0 ? _f : task),
|
|
105
|
+
created_by: screeningTask === null || screeningTask === void 0 ? void 0 : screeningTask.creatorId // Adjust this to return employee ID
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
if (Array.isArray(screeningTasks)) {
|
|
109
|
+
return screeningTasks.map(tranformIntakeIssue);
|
|
110
|
+
}
|
|
111
|
+
return tranformIntakeIssue(screeningTasks);
|
|
112
|
+
}
|
|
113
|
+
const getIntakeIssueQuery = (taskId) => {
|
|
114
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
115
|
+
if (taskId) {
|
|
116
|
+
query['where[taskId]'] = taskId;
|
|
117
|
+
}
|
|
118
|
+
query['relations[0]'] = 'task.linkedIssues.taskFrom';
|
|
119
|
+
query['relations[1]'] = 'task.linkedIssues.taskTo';
|
|
120
|
+
return query;
|
|
121
|
+
};
|
|
122
|
+
exports.getIntakeIssueQuery = getIntakeIssueQuery;
|
|
123
|
+
//# sourceMappingURL=intake-issue.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intake-issue.serializer.js","sourceRoot":"","sources":["../../../../../../../../packages/plugin-plane/src/config/serializers/tasks/intake-issue/intake-issue.serializer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './issue-labels.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./issue-labels.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/plugin-plane/src/config/serializers/tasks/issue-labels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|