@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,362 @@
|
|
|
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.AuthService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
15
|
+
const api_fetch_service_1 = require("../api-fetch/api-fetch.service");
|
|
16
|
+
const config_1 = require("../../config");
|
|
17
|
+
const user_service_1 = require("../user/user.service");
|
|
18
|
+
const employee_properties_service_1 = require("../employee-properties/employee-properties.service");
|
|
19
|
+
let AuthService = class AuthService extends api_fetch_service_1.ApiFetchService {
|
|
20
|
+
constructor(_userService, _employeePropertiesService, _serverFetchService) {
|
|
21
|
+
super(_serverFetchService['_httpService']);
|
|
22
|
+
this._userService = _userService;
|
|
23
|
+
this._employeePropertiesService = _employeePropertiesService;
|
|
24
|
+
this._serverFetchService = _serverFetchService;
|
|
25
|
+
this.path = '/auth';
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Checks if a user exists based on their email. It sends a request to the email-check endpoint
|
|
29
|
+
* and determines the user's existence and the authentication method required.
|
|
30
|
+
*
|
|
31
|
+
* @param {IEmailInput & Partial<IPasswordInput>} input - The input containing the user's email and optionally their password.
|
|
32
|
+
* @returns {Promise<ICheckUserExist>} A promise resolving to an object indicating whether the user exists and the authentication status.
|
|
33
|
+
*
|
|
34
|
+
* @throws {Error} Logs the error and returns a default response if the API request fails.
|
|
35
|
+
*/
|
|
36
|
+
async checkExistingUser(input) {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
try {
|
|
39
|
+
const { API_KEY, API_SECRET } = (0, config_1.apiSecretKeys)();
|
|
40
|
+
const isExists = (await this.apiFetch({
|
|
41
|
+
method: 'POST',
|
|
42
|
+
path: `${this.path}/email-check`,
|
|
43
|
+
body: { email: input.email },
|
|
44
|
+
customHeaders: {
|
|
45
|
+
'X-APP-ID': API_KEY,
|
|
46
|
+
'X-API-KEY': API_SECRET
|
|
47
|
+
}
|
|
48
|
+
})).data;
|
|
49
|
+
if (!isExists.exists) {
|
|
50
|
+
return {
|
|
51
|
+
existing: false,
|
|
52
|
+
status: plugin_integration_plane_models_1.CheckUserExistEnum.CREDENTIALS
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
return { existing: true, status: plugin_integration_plane_models_1.CheckUserExistEnum.CREDENTIALS };
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
this.logger.warn(`Failed to check existing user: ${((_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}`);
|
|
59
|
+
return { existing: false, status: plugin_integration_plane_models_1.CheckUserExistEnum.MAGIC_CODE };
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Authenticates a user by sending their login credentials to the server.
|
|
64
|
+
*
|
|
65
|
+
* @async
|
|
66
|
+
* @param {IUserLoginInput} credentials - The user's login credentials, including email and password.
|
|
67
|
+
* @returns {Promise<IAuthResponse | null>} A promise that resolves to the authentication response or `null` in case of an error.
|
|
68
|
+
*
|
|
69
|
+
* @throws {any} Returns the caught error if the API request fails.
|
|
70
|
+
*/
|
|
71
|
+
async signIn(credentials) {
|
|
72
|
+
try {
|
|
73
|
+
const response = (await this.apiFetch({
|
|
74
|
+
method: 'POST',
|
|
75
|
+
path: `${this.path}/login`,
|
|
76
|
+
body: credentials
|
|
77
|
+
})).data;
|
|
78
|
+
return response;
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
return error;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Handles the sign-in process including token management and redirection.
|
|
86
|
+
*
|
|
87
|
+
* @param {Request} req - The Express request object.
|
|
88
|
+
* @param {Response} res - The Express response object.
|
|
89
|
+
* @param {IUserLoginInput & { next_path?: string }} data - The login input data with optional next_path.
|
|
90
|
+
* @param {string} [queryNextPath] - Optional next path from query parameters.
|
|
91
|
+
* @returns {Promise<void>}
|
|
92
|
+
*/
|
|
93
|
+
async handleSignIn(req, res, data, queryNextPath, customRedirectPath) {
|
|
94
|
+
var _a, _b;
|
|
95
|
+
try {
|
|
96
|
+
const result = await this.signIn(data);
|
|
97
|
+
if (result === null || result === void 0 ? void 0 : result.user) {
|
|
98
|
+
(0, config_1.clearTokenChuncks)(req, res);
|
|
99
|
+
(0, config_1.sendTokenChunks)(result.token, res);
|
|
100
|
+
const redirectPath = customRedirectPath ||
|
|
101
|
+
data.next_path ||
|
|
102
|
+
queryNextPath ||
|
|
103
|
+
`${(_b = (_a = result.user.lastOrganizationId) !== null && _a !== void 0 ? _a : result.user.defaultOrganizationId) !== null && _b !== void 0 ? _b : ''}`;
|
|
104
|
+
const normalizedPath = redirectPath;
|
|
105
|
+
return res.redirect(`${req.headers.referer}${normalizedPath}`);
|
|
106
|
+
}
|
|
107
|
+
const nextPathParam = data.next_path
|
|
108
|
+
? `&next_path=${encodeURIComponent(data.next_path)}`
|
|
109
|
+
: '';
|
|
110
|
+
return res.redirect(`${req.headers.referer}?error_code=5065&error_message=AUTHENTICATION_FAILED_SIGN_IN&email=${data.email}${nextPathParam}`);
|
|
111
|
+
}
|
|
112
|
+
catch (error) {
|
|
113
|
+
this.logger.error('Failed to handle sign in', error instanceof Error ? error.stack : String(error));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Registers a new user by sending their details to the server.
|
|
118
|
+
*
|
|
119
|
+
* @param {IUserRegisterInput} input - The input containing the user's details.
|
|
120
|
+
* @returns {Promise<IUser>} A promise resolving to the created user object.
|
|
121
|
+
*
|
|
122
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
123
|
+
*/
|
|
124
|
+
async signUp(input) {
|
|
125
|
+
try {
|
|
126
|
+
const user = (await this.apiFetch({
|
|
127
|
+
method: 'POST',
|
|
128
|
+
path: `${this.path}/register`,
|
|
129
|
+
body: (0, config_1.registerInputTranformer)(input)
|
|
130
|
+
})).data;
|
|
131
|
+
return user;
|
|
132
|
+
}
|
|
133
|
+
catch (error) {
|
|
134
|
+
throw new common_1.BadRequestException(error);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Generates a magic key for a user by sending their email to the server.
|
|
139
|
+
*
|
|
140
|
+
* @param {IUserEmailInput} input - The input containing the user's email.
|
|
141
|
+
* @returns {Promise<IMagicGenerateResponse>} A promise resolving to the magic key.
|
|
142
|
+
*
|
|
143
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
144
|
+
*/
|
|
145
|
+
async magicGenerate(input) {
|
|
146
|
+
try {
|
|
147
|
+
await this.apiFetch({
|
|
148
|
+
method: 'POST',
|
|
149
|
+
path: `${this.path}/signin.email`,
|
|
150
|
+
body: input
|
|
151
|
+
});
|
|
152
|
+
return { key: `${config_1.DEFAULT_MAGIC_GENERATE_PREFIX}${input.email}` };
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
throw new common_1.BadRequestException(error);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Confirms a magic signin by sending the user's email and code to the server.
|
|
160
|
+
*
|
|
161
|
+
* @param {IUserEmailInput & IUserCodeInput} input - The input containing the user's email and code.
|
|
162
|
+
* @returns {Promise<IUserSigninWorkspaceResponse>} A promise resolving to the user's signin workspace response.
|
|
163
|
+
*
|
|
164
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
165
|
+
*/
|
|
166
|
+
async magicSignin(input) {
|
|
167
|
+
try {
|
|
168
|
+
// Confirm the signin by email and code
|
|
169
|
+
const response = (await this.apiFetch({
|
|
170
|
+
method: 'POST',
|
|
171
|
+
path: `${this.path}/signin.email/confirm`,
|
|
172
|
+
body: input
|
|
173
|
+
})).data;
|
|
174
|
+
// Get the last workspace
|
|
175
|
+
const lastWorkspace = response.workspaces.find((workspace) => workspace.user.lastOrganizationId) || response.workspaces[0];
|
|
176
|
+
// Signin to the last workspace
|
|
177
|
+
const lastWorkspaceResponse = (await this.apiFetch({
|
|
178
|
+
method: 'POST',
|
|
179
|
+
path: `${this.path}/signin.workspace`,
|
|
180
|
+
body: {
|
|
181
|
+
email: lastWorkspace.user.email,
|
|
182
|
+
token: lastWorkspace.token
|
|
183
|
+
}
|
|
184
|
+
})).data;
|
|
185
|
+
return lastWorkspaceResponse;
|
|
186
|
+
}
|
|
187
|
+
catch (error) {
|
|
188
|
+
this.logger.error(`Magic Signin Error: ${error === null || error === void 0 ? void 0 : error.message}`, error.stack);
|
|
189
|
+
throw new common_1.BadRequestException(error);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Handles the magic sign-in process including token management and redirection.
|
|
194
|
+
*
|
|
195
|
+
* @param {Request} req - The Express request object.
|
|
196
|
+
* @param {Response} res - The Express response object.
|
|
197
|
+
* @param {IUserEmailInput & IUserCodeInput & { next_path?: string }} data - The magic sign-in input data with optional next_path.
|
|
198
|
+
* @param {string} [queryNextPath] - Optional next path from query parameters.
|
|
199
|
+
* @param {string} [customRedirectPath] - Optional custom redirect path.
|
|
200
|
+
* @returns {Promise<void>}
|
|
201
|
+
*/
|
|
202
|
+
async handleMagicSignIn(req, res, data, queryNextPath, customRedirectPath) {
|
|
203
|
+
var _a, _b;
|
|
204
|
+
try {
|
|
205
|
+
const result = await this.magicSignin(data);
|
|
206
|
+
if (result === null || result === void 0 ? void 0 : result.user) {
|
|
207
|
+
(0, config_1.clearTokenChuncks)(req, res);
|
|
208
|
+
(0, config_1.sendTokenChunks)(result.token, res);
|
|
209
|
+
const redirectPath = customRedirectPath ||
|
|
210
|
+
data.next_path ||
|
|
211
|
+
queryNextPath ||
|
|
212
|
+
`${(_b = (_a = result.user.lastOrganizationId) !== null && _a !== void 0 ? _a : result.user.defaultOrganizationId) !== null && _b !== void 0 ? _b : ''}`;
|
|
213
|
+
const normalizedPath = redirectPath;
|
|
214
|
+
return res.redirect(`${req.headers.referer}${normalizedPath}`);
|
|
215
|
+
}
|
|
216
|
+
const nextPathParam = data.next_path
|
|
217
|
+
? `&next_path=${encodeURIComponent(data.next_path)}`
|
|
218
|
+
: '';
|
|
219
|
+
return res.redirect(`${req.headers.referer}?error_code=5065&error_message=AUTHENTICATION_FAILED_SIGN_IN&email=${data.email}${nextPathParam}`);
|
|
220
|
+
}
|
|
221
|
+
catch (error) {
|
|
222
|
+
this.logger.error('Failed to handle magic sign in', error instanceof Error ? error.stack : String(error));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Initiates the onboarding process for a new tenant by sending its details to the server.
|
|
227
|
+
*
|
|
228
|
+
* @param {ITenantCreateInput} input - The input containing the tenant's details.
|
|
229
|
+
* @param {string} token - The bearer token for authentication.
|
|
230
|
+
* @returns {Promise<ITenant>} A promise resolving to the created tenant object.
|
|
231
|
+
*
|
|
232
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
233
|
+
*/
|
|
234
|
+
async onboardTenant(input, token) {
|
|
235
|
+
try {
|
|
236
|
+
const tenant = (await this.apiFetch({
|
|
237
|
+
method: 'POST',
|
|
238
|
+
path: '/tenant',
|
|
239
|
+
body: input,
|
|
240
|
+
bearer_token: token
|
|
241
|
+
})).data;
|
|
242
|
+
return tenant;
|
|
243
|
+
}
|
|
244
|
+
catch (error) {
|
|
245
|
+
this.logger.error(`Tenant Onboard Error: ${error === null || error === void 0 ? void 0 : error.message}`, error.stack);
|
|
246
|
+
throw new common_1.BadRequestException(error);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Refreshes the user's authentication token using a provided refresh token.
|
|
251
|
+
*
|
|
252
|
+
* @param {string} refreshToken - The refresh token to be used for obtaining a new token.
|
|
253
|
+
* @param {string} token - The bearer token for authentication.
|
|
254
|
+
* @returns {Promise<{ token: string } | null>} A promise resolving to an object containing the new token or `null` if the request fails.
|
|
255
|
+
*
|
|
256
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
257
|
+
*/
|
|
258
|
+
async refreshToken(refreshToken, token) {
|
|
259
|
+
try {
|
|
260
|
+
const response = (await this.apiFetch({
|
|
261
|
+
method: 'POST',
|
|
262
|
+
path: `${this.path}/refresh-token`,
|
|
263
|
+
body: { refresh_token: refreshToken },
|
|
264
|
+
bearer_token: token
|
|
265
|
+
})).data;
|
|
266
|
+
return response;
|
|
267
|
+
}
|
|
268
|
+
catch (error) {
|
|
269
|
+
this.logger.error(`Refresh Token error: ${error === null || error === void 0 ? void 0 : error.message}`, error.stack);
|
|
270
|
+
throw new common_1.BadRequestException(error);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Creates a new organization by sending its details to the server.
|
|
275
|
+
*
|
|
276
|
+
* @param {IOrganizationCreateInput} input - The input containing the organization's details.
|
|
277
|
+
* @param {string} token - The bearer token for authentication.
|
|
278
|
+
* @returns {Promise<IOrganization>} A promise resolving to the created organization object.
|
|
279
|
+
*
|
|
280
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
281
|
+
*/
|
|
282
|
+
async signUpCreateOrganization(input, token, tenantId) {
|
|
283
|
+
try {
|
|
284
|
+
const organization = (await this.apiFetch({
|
|
285
|
+
method: 'POST',
|
|
286
|
+
path: '/organization',
|
|
287
|
+
body: input,
|
|
288
|
+
bearer_token: token,
|
|
289
|
+
tenantId
|
|
290
|
+
})).data;
|
|
291
|
+
await this._userService.updateUserProfile({ fallback_workspace_id: organization.id }, token, organization.tenantId);
|
|
292
|
+
return organization;
|
|
293
|
+
}
|
|
294
|
+
catch (error) {
|
|
295
|
+
throw new common_1.BadGatewayException(error);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Creates a new employee by sending their details to the server.
|
|
300
|
+
*
|
|
301
|
+
* @param {IEmployeeCreateInput} input - The input containing the employee's details.
|
|
302
|
+
* @param {string} token - The bearer token for authentication.
|
|
303
|
+
* @returns {Promise<IEmployee>} A promise resolving to the created employee object.
|
|
304
|
+
*
|
|
305
|
+
* @throws {BadRequestException} Throws an exception if the API request fails.
|
|
306
|
+
*/
|
|
307
|
+
async signUpCreateEmployee(input, token, tenantId) {
|
|
308
|
+
var _a, _b;
|
|
309
|
+
try {
|
|
310
|
+
const employee = (await this.apiFetch({
|
|
311
|
+
method: 'POST',
|
|
312
|
+
path: '/employee',
|
|
313
|
+
body: input,
|
|
314
|
+
bearer_token: token,
|
|
315
|
+
tenantId
|
|
316
|
+
})).data;
|
|
317
|
+
// Create default settings
|
|
318
|
+
const settingViewProps = Object.assign(Object.assign({}, config_1.MEMBER_DEFAULT_VIEW_PROPS), { issue_props: {
|
|
319
|
+
created: true,
|
|
320
|
+
assigned: true,
|
|
321
|
+
all_issues: true,
|
|
322
|
+
subscribed: true
|
|
323
|
+
} });
|
|
324
|
+
try {
|
|
325
|
+
await this._employeePropertiesService.create({
|
|
326
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.Tenant,
|
|
327
|
+
entityId: tenantId,
|
|
328
|
+
settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS,
|
|
329
|
+
data: settingViewProps,
|
|
330
|
+
defaultData: settingViewProps,
|
|
331
|
+
employee: { id: employee.id },
|
|
332
|
+
employeeId: employee.id
|
|
333
|
+
}, token, tenantId, employee.organizationId);
|
|
334
|
+
}
|
|
335
|
+
catch (error) {
|
|
336
|
+
this.logger.warn(`Failed to create employee settings: ${((_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}`);
|
|
337
|
+
}
|
|
338
|
+
return employee;
|
|
339
|
+
}
|
|
340
|
+
catch (error) {
|
|
341
|
+
this.logger.error(`Failed to create employee: ${error === null || error === void 0 ? void 0 : error.message}`, error.stack);
|
|
342
|
+
throw new common_1.BadRequestException(error);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* @description Get the CSRF token
|
|
347
|
+
* @returns {Promise<{ csrf_token: string }>} The CSRF token
|
|
348
|
+
*/
|
|
349
|
+
async getCsrfToken() {
|
|
350
|
+
return {
|
|
351
|
+
csrf_token: 'VewsJqujUGoIJKA7iTvbqmirySLbzFJVqha7Nxk5U39DCNfk2OLvCxQWYzPymhK4'
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
exports.AuthService = AuthService;
|
|
356
|
+
exports.AuthService = AuthService = __decorate([
|
|
357
|
+
(0, common_1.Injectable)(),
|
|
358
|
+
__metadata("design:paramtypes", [user_service_1.UserService,
|
|
359
|
+
employee_properties_service_1.EmployeePropertiesService,
|
|
360
|
+
api_fetch_service_1.ApiFetchService])
|
|
361
|
+
], AuthService);
|
|
362
|
+
//# sourceMappingURL=auth.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/auth/auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAIwB;AAExB,iGAuBqD;AACrD,sEAAiE;AACjE,yCAOsB;AACtB,uDAAmD;AACnD,oGAA+F;AAGxF,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,mCAAe;IAC/C,YACkB,YAAyB,EACzB,0BAAqD,EACrD,mBAAoC;QAErD,KAAK,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC;QAJ1B,iBAAY,GAAZ,YAAY,CAAa;QACzB,+BAA0B,GAA1B,0BAA0B,CAA2B;QACrD,wBAAmB,GAAnB,mBAAmB,CAAiB;QAK9C,SAAI,GAAG,OAAO,CAAC;IAFvB,CAAC;IAID;;;;;;;;OAQG;IACH,KAAK,CAAC,iBAAiB,CACtB,KAA4C;;QAE5C,IAAI,CAAC;YACJ,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,sBAAa,GAAE,CAAC;YAEhD,MAAM,QAAQ,GAAwB,CACrC,MAAM,IAAI,CAAC,QAAQ,CAAC;gBACnB,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,GAAG,IAAI,CAA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KAAK,CAAC,KAAK,CACX,CAAC;YACF,MAAM,IAAI,4BAAmB,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;IACF,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY;QACjB,OAAO;YACN,UAAU,EACT,kEAAkE;SACnE,CAAC;IACH,CAAC;CACD,CAAA;AAhcY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;qCAGoB,0BAAW;QACG,uDAAyB;QAChC,mCAAe;GAJ1C,WAAW,CAgcvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './two-factor-dto';
|
|
@@ -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("./two-factor-dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/modules/auth/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IUserCodeInput, IUserEmailInput, IUserTokenInput } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { IncludeTeamsDTO, UserCodeDTO, UserEmailDTO, UserTokenDTO } from '../../user/dto';
|
|
3
|
+
declare const WorkspaceSigninEmailVerifyDTO_base: import("@nestjs/common").Type<UserEmailDTO & UserCodeDTO & IncludeTeamsDTO>;
|
|
4
|
+
/**
|
|
5
|
+
* Workspace signin email verify DTO validation
|
|
6
|
+
*/
|
|
7
|
+
export declare class WorkspaceSigninEmailVerifyDTO extends WorkspaceSigninEmailVerifyDTO_base implements IUserEmailInput, IUserCodeInput {
|
|
8
|
+
}
|
|
9
|
+
declare const WorkspaceSigninDTO_base: import("@nestjs/common").Type<UserEmailDTO & UserTokenDTO>;
|
|
10
|
+
/**
|
|
11
|
+
* Workspace signin DTO validation
|
|
12
|
+
*/
|
|
13
|
+
export declare class WorkspaceSigninDTO extends WorkspaceSigninDTO_base implements IUserEmailInput, IUserTokenInput {
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceSigninDTO = exports.WorkspaceSigninEmailVerifyDTO = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const dto_1 = require("../../user/dto");
|
|
6
|
+
/**
|
|
7
|
+
* Workspace signin email verify DTO validation
|
|
8
|
+
*/
|
|
9
|
+
class WorkspaceSigninEmailVerifyDTO extends (0, swagger_1.IntersectionType)(dto_1.UserEmailDTO, dto_1.UserCodeDTO, dto_1.IncludeTeamsDTO) {
|
|
10
|
+
}
|
|
11
|
+
exports.WorkspaceSigninEmailVerifyDTO = WorkspaceSigninEmailVerifyDTO;
|
|
12
|
+
/**
|
|
13
|
+
* Workspace signin DTO validation
|
|
14
|
+
*/
|
|
15
|
+
class WorkspaceSigninDTO extends (0, swagger_1.IntersectionType)(dto_1.UserEmailDTO, dto_1.UserTokenDTO) {
|
|
16
|
+
}
|
|
17
|
+
exports.WorkspaceSigninDTO = WorkspaceSigninDTO;
|
|
18
|
+
//# sourceMappingURL=two-factor-dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-dto.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/modules/auth/dto/two-factor-dto.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAOnD,wCAKwB;AAExB;;GAEG;AACH,MAAa,6BACZ,SAAQ,IAAA,0BAAgB,EAAC,kBAAY,EAAE,iBAAW,EAAE,qBAAe,CAAC;CACvB;AAF9C,sEAE8C;AAE9C;;GAEG;AACH,MAAa,kBACZ,SAAQ,IAAA,0BAAgB,EAAC,kBAAY,EAAE,kBAAY,CAAC;CACN;AAF/C,gDAE+C"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ID, IReactionData } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { CreateIssueReactionDTO } from '../issues/dto';
|
|
3
|
+
import { CommentsService } from './comments.service';
|
|
4
|
+
export declare class CommentsController {
|
|
5
|
+
private readonly _commentService;
|
|
6
|
+
constructor(_commentService: CommentsService);
|
|
7
|
+
/**
|
|
8
|
+
* @description Create Comment reaction
|
|
9
|
+
* @param {ID} entityId - Comment ID for whom create reaction.
|
|
10
|
+
* @param {ID} projectId - The project ID for returning project data.
|
|
11
|
+
* @param {CreateCommentReactionDTO} input - Body request data
|
|
12
|
+
* @returns A promise resolved to created and transformed reaction.
|
|
13
|
+
* @memberof CommentsController
|
|
14
|
+
*/
|
|
15
|
+
createReaction(entityId: ID, projectId: ID, input: CreateIssueReactionDTO): Promise<IReactionData>;
|
|
16
|
+
/**
|
|
17
|
+
* @description Delete Comment reaction
|
|
18
|
+
* @param {ID} commentId - The Comment ID from to delete reaction
|
|
19
|
+
* @param {string} emoji - The emoji to be deleted
|
|
20
|
+
* @returns A promise resolved to deleted reaction result
|
|
21
|
+
* @memberof CommentsController
|
|
22
|
+
*/
|
|
23
|
+
deleteReaction(commentId: ID, emoji: string): Promise<any>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.CommentsController = void 0;
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const dto_1 = require("../issues/dto");
|
|
19
|
+
const comments_service_1 = require("./comments.service");
|
|
20
|
+
let CommentsController = class CommentsController {
|
|
21
|
+
constructor(_commentService) {
|
|
22
|
+
this._commentService = _commentService;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @description Create Comment reaction
|
|
26
|
+
* @param {ID} entityId - Comment ID for whom create reaction.
|
|
27
|
+
* @param {ID} projectId - The project ID for returning project data.
|
|
28
|
+
* @param {CreateCommentReactionDTO} input - Body request data
|
|
29
|
+
* @returns A promise resolved to created and transformed reaction.
|
|
30
|
+
* @memberof CommentsController
|
|
31
|
+
*/
|
|
32
|
+
async createReaction(entityId, projectId, input) {
|
|
33
|
+
return await this._commentService.createReaction(entityId, projectId, input);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @description Delete Comment reaction
|
|
37
|
+
* @param {ID} commentId - The Comment ID from to delete reaction
|
|
38
|
+
* @param {string} emoji - The emoji to be deleted
|
|
39
|
+
* @returns A promise resolved to deleted reaction result
|
|
40
|
+
* @memberof CommentsController
|
|
41
|
+
*/
|
|
42
|
+
async deleteReaction(commentId, emoji) {
|
|
43
|
+
return await this._commentService.deleteCommentReactionByEmoji(emoji, commentId);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.CommentsController = CommentsController;
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.CREATED),
|
|
49
|
+
(0, swagger_1.ApiOperation)({ summary: 'Create Comment Reaction' }),
|
|
50
|
+
(0, common_1.Post)(':id/reactions'),
|
|
51
|
+
__param(0, (0, common_1.Param)('id')),
|
|
52
|
+
__param(1, (0, common_1.Param)('projectId')),
|
|
53
|
+
__param(2, (0, common_1.Body)()),
|
|
54
|
+
__metadata("design:type", Function),
|
|
55
|
+
__metadata("design:paramtypes", [String, String, dto_1.CreateIssueReactionDTO]),
|
|
56
|
+
__metadata("design:returntype", Promise)
|
|
57
|
+
], CommentsController.prototype, "createReaction", null);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
60
|
+
(0, swagger_1.ApiOperation)({ summary: 'Delete comment reaction' }),
|
|
61
|
+
(0, common_1.Delete)(':id/reactions/:emoji'),
|
|
62
|
+
__param(0, (0, common_1.Param)('id')),
|
|
63
|
+
__param(1, (0, common_1.Param)('emoji')),
|
|
64
|
+
__metadata("design:type", Function),
|
|
65
|
+
__metadata("design:paramtypes", [String, String]),
|
|
66
|
+
__metadata("design:returntype", Promise)
|
|
67
|
+
], CommentsController.prototype, "deleteReaction", null);
|
|
68
|
+
exports.CommentsController = CommentsController = __decorate([
|
|
69
|
+
(0, common_1.Controller)(),
|
|
70
|
+
__metadata("design:paramtypes", [comments_service_1.CommentsService])
|
|
71
|
+
], CommentsController);
|
|
72
|
+
//# sourceMappingURL=comments.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comments.controller.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/comments/comments.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA+C;AAC/C,2CAQwB;AAExB,uCAAuD;AACvD,yDAAqD;AAG9C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAEjE;;;;;;;OAOG;IAIG,AAAN,KAAK,CAAC,cAAc,CACN,QAAY,EACL,SAAa,EACzB,KAA6B;QAErC,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,cAAc,CAC/C,QAAQ,EACR,SAAS,EACT,KAAK,CACL,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IAIG,AAAN,KAAK,CAAC,cAAc,CACN,SAAa,EACV,KAAa;QAE7B,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,4BAA4B,CAC7D,KAAK,EACL,SAAS,CACT,CAAC;IACH,CAAC;CACD,CAAA;AA7CY,gDAAkB;AAcxB;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,OAAO,CAAC;IAC5B,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACpD,IAAA,aAAI,EAAC,eAAe,CAAC;IAEpB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,cAAK,EAAC,WAAW,CAAC,CAAA;IAClB,WAAA,IAAA,aAAI,GAAE,CAAA;;qDAAQ,4BAAsB;;wDAOrC;AAYK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IAC/B,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACpD,IAAA,eAAM,EAAC,sBAAsB,CAAC;IAE7B,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,cAAK,EAAC,OAAO,CAAC,CAAA;;;;wDAMf;6BA5CW,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAEkC,kCAAe;GADjD,kBAAkB,CA6C9B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.CommentsModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const project_module_1 = require("../project/project.module");
|
|
12
|
+
const comments_service_1 = require("./comments.service");
|
|
13
|
+
const comments_controller_1 = require("./comments.controller");
|
|
14
|
+
const reactions_module_1 = require("../reactions/reactions.module");
|
|
15
|
+
let CommentsModule = class CommentsModule {
|
|
16
|
+
};
|
|
17
|
+
exports.CommentsModule = CommentsModule;
|
|
18
|
+
exports.CommentsModule = CommentsModule = __decorate([
|
|
19
|
+
(0, common_1.Module)({
|
|
20
|
+
imports: [(0, common_1.forwardRef)(() => project_module_1.ProjectModule), reactions_module_1.ReactionsModule],
|
|
21
|
+
providers: [comments_service_1.CommentsService],
|
|
22
|
+
controllers: [comments_controller_1.CommentsController],
|
|
23
|
+
exports: [comments_service_1.CommentsService]
|
|
24
|
+
})
|
|
25
|
+
], CommentsModule);
|
|
26
|
+
//# sourceMappingURL=comments.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comments.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/comments/comments.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,8DAA0D;AAC1D,yDAAqD;AACrD,+DAA2D;AAC3D,oEAAgE;AAQzD,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAN1B,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,EAAE,kCAAe,CAAC;QAC3D,SAAS,EAAE,CAAC,kCAAe,CAAC;QAC5B,WAAW,EAAE,CAAC,wCAAkB,CAAC;QACjC,OAAO,EAAE,CAAC,kCAAe,CAAC;KAC1B,CAAC;GACW,cAAc,CAAG"}
|