@venturialstd/workflow 0.1.149 → 0.1.151
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 +238 -238
- package/dist/constants/workflow.constant.d.ts +0 -5
- package/dist/constants/workflow.constant.d.ts.map +1 -1
- package/dist/constants/workflow.constant.js +1 -7
- package/dist/constants/workflow.constant.js.map +1 -1
- package/dist/controllers/workflow-bulk-credential.controller.d.ts +9 -0
- package/dist/controllers/workflow-bulk-credential.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-bulk-credential.controller.js +59 -0
- package/dist/controllers/workflow-bulk-credential.controller.js.map +1 -0
- package/dist/controllers/workflow-history.controller.d.ts +67 -0
- package/dist/controllers/workflow-history.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-history.controller.js +227 -0
- package/dist/controllers/workflow-history.controller.js.map +1 -0
- package/dist/dtos/apply-bulk-credential-updates.dto.d.ts +8 -0
- package/dist/dtos/apply-bulk-credential-updates.dto.d.ts.map +1 -0
- package/dist/dtos/apply-bulk-credential-updates.dto.js +40 -0
- package/dist/dtos/apply-bulk-credential-updates.dto.js.map +1 -0
- package/dist/dtos/index.d.ts +1 -0
- package/dist/dtos/index.d.ts.map +1 -1
- package/dist/dtos/index.js +1 -0
- package/dist/dtos/index.js.map +1 -1
- package/dist/entities/workflow-execution.entity.d.ts +1 -1
- package/dist/entities/workflow-execution.entity.d.ts.map +1 -1
- package/dist/entities/workflow-execution.entity.js +2 -2
- package/dist/entities/workflow-execution.entity.js.map +1 -1
- package/dist/entities/workflow-history.entity.d.ts +48 -0
- package/dist/entities/workflow-history.entity.d.ts.map +1 -0
- package/dist/entities/{workflow-user.entity.js → workflow-history.entity.js} +46 -39
- package/dist/entities/workflow-history.entity.js.map +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/modules/jira/actions/add-attachment.action.d.ts +3 -0
- package/dist/modules/jira/actions/add-attachment.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/add-attachment.action.js +62 -0
- package/dist/modules/jira/actions/add-attachment.action.js.map +1 -0
- package/dist/modules/jira/actions/add-comment.action.d.ts +3 -0
- package/dist/modules/jira/actions/add-comment.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/add-comment.action.js +99 -0
- package/dist/modules/jira/actions/add-comment.action.js.map +1 -0
- package/dist/modules/jira/actions/add-worklog.action.d.ts +3 -0
- package/dist/modules/jira/actions/add-worklog.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/add-worklog.action.js +134 -0
- package/dist/modules/jira/actions/add-worklog.action.js.map +1 -0
- package/dist/modules/jira/actions/assign-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/assign-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/assign-issue.action.js +57 -0
- package/dist/modules/jira/actions/assign-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/create-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/create-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/create-issue.action.js +95 -0
- package/dist/modules/jira/actions/create-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/delete-comment.action.d.ts +3 -0
- package/dist/modules/jira/actions/delete-comment.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/delete-comment.action.js +58 -0
- package/dist/modules/jira/actions/delete-comment.action.js.map +1 -0
- package/dist/modules/jira/actions/delete-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/delete-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/delete-issue.action.js +51 -0
- package/dist/modules/jira/actions/delete-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/delete-worklog.action.d.ts +3 -0
- package/dist/modules/jira/actions/delete-worklog.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/delete-worklog.action.js +58 -0
- package/dist/modules/jira/actions/delete-worklog.action.js.map +1 -0
- package/dist/modules/jira/actions/get-all-issues.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-all-issues.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-all-issues.action.js +101 -0
- package/dist/modules/jira/actions/get-all-issues.action.js.map +1 -0
- package/dist/modules/jira/actions/get-attachments.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-attachments.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-attachments.action.js +47 -0
- package/dist/modules/jira/actions/get-attachments.action.js.map +1 -0
- package/dist/modules/jira/actions/get-changelogs.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-changelogs.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-changelogs.action.js +82 -0
- package/dist/modules/jira/actions/get-changelogs.action.js.map +1 -0
- package/dist/modules/jira/actions/get-comments.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-comments.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-comments.action.js +92 -0
- package/dist/modules/jira/actions/get-comments.action.js.map +1 -0
- package/dist/modules/jira/actions/get-issue-types.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-issue-types.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-issue-types.action.js +29 -0
- package/dist/modules/jira/actions/get-issue-types.action.js.map +1 -0
- package/dist/modules/jira/actions/get-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-issue.action.js +85 -0
- package/dist/modules/jira/actions/get-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/get-myself.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-myself.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-myself.action.js +52 -0
- package/dist/modules/jira/actions/get-myself.action.js.map +1 -0
- package/dist/modules/jira/actions/get-priorities.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-priorities.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-priorities.action.js +35 -0
- package/dist/modules/jira/actions/get-priorities.action.js.map +1 -0
- package/dist/modules/jira/actions/get-project-statuses.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-project-statuses.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-project-statuses.action.js +47 -0
- package/dist/modules/jira/actions/get-project-statuses.action.js.map +1 -0
- package/dist/modules/jira/actions/get-project-versions.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-project-versions.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-project-versions.action.js +57 -0
- package/dist/modules/jira/actions/get-project-versions.action.js.map +1 -0
- package/dist/modules/jira/actions/get-project.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-project.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-project.action.js +69 -0
- package/dist/modules/jira/actions/get-project.action.js.map +1 -0
- package/dist/modules/jira/actions/get-projects.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-projects.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-projects.action.js +56 -0
- package/dist/modules/jira/actions/get-projects.action.js.map +1 -0
- package/dist/modules/jira/actions/get-ticket-information.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-ticket-information.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-ticket-information.action.js +47 -0
- package/dist/modules/jira/actions/get-ticket-information.action.js.map +1 -0
- package/dist/modules/jira/actions/get-transitions.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-transitions.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-transitions.action.js +67 -0
- package/dist/modules/jira/actions/get-transitions.action.js.map +1 -0
- package/dist/modules/jira/actions/get-user-picker.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-user-picker.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-user-picker.action.js +109 -0
- package/dist/modules/jira/actions/get-user-picker.action.js.map +1 -0
- package/dist/modules/jira/actions/get-user.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-user.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-user.action.js +63 -0
- package/dist/modules/jira/actions/get-user.action.js.map +1 -0
- package/dist/modules/jira/actions/get-users.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-users.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-users.action.js +70 -0
- package/dist/modules/jira/actions/get-users.action.js.map +1 -0
- package/dist/modules/jira/actions/get-worklogs.action.d.ts +3 -0
- package/dist/modules/jira/actions/get-worklogs.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/get-worklogs.action.js +92 -0
- package/dist/modules/jira/actions/get-worklogs.action.js.map +1 -0
- package/dist/modules/jira/actions/index.d.ts +44 -0
- package/dist/modules/jira/actions/index.d.ts.map +1 -0
- package/dist/modules/jira/actions/index.js +60 -0
- package/dist/modules/jira/actions/index.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-assignee.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-assignee.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-assignee.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-assignee.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-created-date.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-created-date.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-created-date.action.js +112 -0
- package/dist/modules/jira/actions/search-issues-by-created-date.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-issue-type.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-issue-type.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-issue-type.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-issue-type.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-priority.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-priority.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-priority.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-priority.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-assignee.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-assignee.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-assignee.action.js +112 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-assignee.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-status.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-status.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-status.action.js +112 -0
- package/dist/modules/jira/actions/search-issues-by-project-and-status.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-project.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-project.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-project.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-reporter.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-reporter.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-reporter.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-reporter.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-status.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-status.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-status.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-status.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-text.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-text.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-text.action.js +101 -0
- package/dist/modules/jira/actions/search-issues-by-text.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-updated-date.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues-by-updated-date.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues-by-updated-date.action.js +112 -0
- package/dist/modules/jira/actions/search-issues-by-updated-date.action.js.map +1 -0
- package/dist/modules/jira/actions/search-issues.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-issues.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-issues.action.js +101 -0
- package/dist/modules/jira/actions/search-issues.action.js.map +1 -0
- package/dist/modules/jira/actions/search-unassigned-issues.action.d.ts +3 -0
- package/dist/modules/jira/actions/search-unassigned-issues.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/search-unassigned-issues.action.js +90 -0
- package/dist/modules/jira/actions/search-unassigned-issues.action.js.map +1 -0
- package/dist/modules/jira/actions/transition-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/transition-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/transition-issue.action.js +88 -0
- package/dist/modules/jira/actions/transition-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/update-comment.action.d.ts +3 -0
- package/dist/modules/jira/actions/update-comment.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/update-comment.action.js +116 -0
- package/dist/modules/jira/actions/update-comment.action.js.map +1 -0
- package/dist/modules/jira/actions/update-issue.action.d.ts +3 -0
- package/dist/modules/jira/actions/update-issue.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/update-issue.action.js +129 -0
- package/dist/modules/jira/actions/update-issue.action.js.map +1 -0
- package/dist/modules/jira/actions/update-worklog.action.d.ts +3 -0
- package/dist/modules/jira/actions/update-worklog.action.d.ts.map +1 -0
- package/dist/modules/jira/actions/update-worklog.action.js +145 -0
- package/dist/modules/jira/actions/update-worklog.action.js.map +1 -0
- package/dist/modules/jira/auth/index.d.ts +2 -0
- package/dist/modules/jira/auth/index.d.ts.map +1 -0
- package/dist/modules/jira/auth/index.js +18 -0
- package/dist/modules/jira/auth/index.js.map +1 -0
- package/dist/modules/jira/auth/jira-auth.service.d.ts +9 -0
- package/dist/modules/jira/auth/jira-auth.service.d.ts.map +1 -0
- package/dist/modules/jira/auth/jira-auth.service.js +93 -0
- package/dist/modules/jira/auth/jira-auth.service.js.map +1 -0
- package/dist/modules/jira/credentials.d.ts +3 -0
- package/dist/modules/jira/credentials.d.ts.map +1 -0
- package/dist/modules/jira/credentials.js +44 -0
- package/dist/modules/jira/credentials.js.map +1 -0
- package/dist/modules/jira/jira-nest.module.d.ts +3 -0
- package/dist/modules/jira/jira-nest.module.d.ts.map +1 -0
- package/dist/modules/jira/jira-nest.module.js +121 -0
- package/dist/modules/jira/jira-nest.module.js.map +1 -0
- package/dist/modules/jira/jira.module.d.ts +3 -0
- package/dist/modules/jira/jira.module.d.ts.map +1 -0
- package/dist/modules/jira/jira.module.js +63 -0
- package/dist/modules/jira/jira.module.js.map +1 -0
- package/dist/modules/jira/services/add-attachment.service.d.ts +8 -0
- package/dist/modules/jira/services/add-attachment.service.d.ts.map +1 -0
- package/dist/modules/jira/services/add-attachment.service.js +59 -0
- package/dist/modules/jira/services/add-attachment.service.js.map +1 -0
- package/dist/modules/jira/services/add-comment.service.d.ts +8 -0
- package/dist/modules/jira/services/add-comment.service.d.ts.map +1 -0
- package/dist/modules/jira/services/add-comment.service.js +74 -0
- package/dist/modules/jira/services/add-comment.service.js.map +1 -0
- package/dist/modules/jira/services/add-worklog.service.d.ts +8 -0
- package/dist/modules/jira/services/add-worklog.service.d.ts.map +1 -0
- package/dist/modules/jira/services/add-worklog.service.js +88 -0
- package/dist/modules/jira/services/add-worklog.service.js.map +1 -0
- package/dist/modules/jira/services/assign-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/assign-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/assign-issue.service.js +55 -0
- package/dist/modules/jira/services/assign-issue.service.js.map +1 -0
- package/dist/modules/jira/services/create-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/create-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/create-issue.service.js +90 -0
- package/dist/modules/jira/services/create-issue.service.js.map +1 -0
- package/dist/modules/jira/services/delete-comment.service.d.ts +8 -0
- package/dist/modules/jira/services/delete-comment.service.d.ts.map +1 -0
- package/dist/modules/jira/services/delete-comment.service.js +55 -0
- package/dist/modules/jira/services/delete-comment.service.js.map +1 -0
- package/dist/modules/jira/services/delete-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/delete-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/delete-issue.service.js +51 -0
- package/dist/modules/jira/services/delete-issue.service.js.map +1 -0
- package/dist/modules/jira/services/delete-worklog.service.d.ts +8 -0
- package/dist/modules/jira/services/delete-worklog.service.d.ts.map +1 -0
- package/dist/modules/jira/services/delete-worklog.service.js +55 -0
- package/dist/modules/jira/services/delete-worklog.service.js.map +1 -0
- package/dist/modules/jira/services/get-all-issues.service.d.ts +8 -0
- package/dist/modules/jira/services/get-all-issues.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-all-issues.service.js +66 -0
- package/dist/modules/jira/services/get-all-issues.service.js.map +1 -0
- package/dist/modules/jira/services/get-attachments.service.d.ts +8 -0
- package/dist/modules/jira/services/get-attachments.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-attachments.service.js +51 -0
- package/dist/modules/jira/services/get-attachments.service.js.map +1 -0
- package/dist/modules/jira/services/get-changelogs.service.d.ts +8 -0
- package/dist/modules/jira/services/get-changelogs.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-changelogs.service.js +58 -0
- package/dist/modules/jira/services/get-changelogs.service.js.map +1 -0
- package/dist/modules/jira/services/get-comments.service.d.ts +8 -0
- package/dist/modules/jira/services/get-comments.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-comments.service.js +60 -0
- package/dist/modules/jira/services/get-comments.service.js.map +1 -0
- package/dist/modules/jira/services/get-issue-types.service.d.ts +8 -0
- package/dist/modules/jira/services/get-issue-types.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-issue-types.service.js +76 -0
- package/dist/modules/jira/services/get-issue-types.service.js.map +1 -0
- package/dist/modules/jira/services/get-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/get-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-issue.service.js +59 -0
- package/dist/modules/jira/services/get-issue.service.js.map +1 -0
- package/dist/modules/jira/services/get-myself.service.d.ts +8 -0
- package/dist/modules/jira/services/get-myself.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-myself.service.js +49 -0
- package/dist/modules/jira/services/get-myself.service.js.map +1 -0
- package/dist/modules/jira/services/get-priorities.service.d.ts +8 -0
- package/dist/modules/jira/services/get-priorities.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-priorities.service.js +68 -0
- package/dist/modules/jira/services/get-priorities.service.js.map +1 -0
- package/dist/modules/jira/services/get-project-statuses.service.d.ts +8 -0
- package/dist/modules/jira/services/get-project-statuses.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-project-statuses.service.js +51 -0
- package/dist/modules/jira/services/get-project-statuses.service.js.map +1 -0
- package/dist/modules/jira/services/get-project-versions.service.d.ts +8 -0
- package/dist/modules/jira/services/get-project-versions.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-project-versions.service.js +54 -0
- package/dist/modules/jira/services/get-project-versions.service.js.map +1 -0
- package/dist/modules/jira/services/get-project.service.d.ts +8 -0
- package/dist/modules/jira/services/get-project.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-project.service.js +53 -0
- package/dist/modules/jira/services/get-project.service.js.map +1 -0
- package/dist/modules/jira/services/get-projects.service.d.ts +8 -0
- package/dist/modules/jira/services/get-projects.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-projects.service.js +52 -0
- package/dist/modules/jira/services/get-projects.service.js.map +1 -0
- package/dist/modules/jira/services/get-ticket-information.service.d.ts +9 -0
- package/dist/modules/jira/services/get-ticket-information.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-ticket-information.service.js +59 -0
- package/dist/modules/jira/services/get-ticket-information.service.js.map +1 -0
- package/dist/modules/jira/services/get-transitions.service.d.ts +8 -0
- package/dist/modules/jira/services/get-transitions.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-transitions.service.js +56 -0
- package/dist/modules/jira/services/get-transitions.service.js.map +1 -0
- package/dist/modules/jira/services/get-user-picker.service.d.ts +8 -0
- package/dist/modules/jira/services/get-user-picker.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-user-picker.service.js +74 -0
- package/dist/modules/jira/services/get-user-picker.service.js.map +1 -0
- package/dist/modules/jira/services/get-user.service.d.ts +8 -0
- package/dist/modules/jira/services/get-user.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-user.service.js +53 -0
- package/dist/modules/jira/services/get-user.service.js.map +1 -0
- package/dist/modules/jira/services/get-users.service.d.ts +8 -0
- package/dist/modules/jira/services/get-users.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-users.service.js +56 -0
- package/dist/modules/jira/services/get-users.service.js.map +1 -0
- package/dist/modules/jira/services/get-worklogs.service.d.ts +8 -0
- package/dist/modules/jira/services/get-worklogs.service.d.ts.map +1 -0
- package/dist/modules/jira/services/get-worklogs.service.js +60 -0
- package/dist/modules/jira/services/get-worklogs.service.js.map +1 -0
- package/dist/modules/jira/services/index.d.ts +47 -0
- package/dist/modules/jira/services/index.d.ts.map +1 -0
- package/dist/modules/jira/services/index.js +63 -0
- package/dist/modules/jira/services/index.js.map +1 -0
- package/dist/modules/jira/services/issue-updated-polling.service.d.ts +32 -0
- package/dist/modules/jira/services/issue-updated-polling.service.d.ts.map +1 -0
- package/dist/modules/jira/services/issue-updated-polling.service.js +274 -0
- package/dist/modules/jira/services/issue-updated-polling.service.js.map +1 -0
- package/dist/modules/jira/services/new-comment-added.service.d.ts +35 -0
- package/dist/modules/jira/services/new-comment-added.service.d.ts.map +1 -0
- package/dist/modules/jira/services/new-comment-added.service.js +335 -0
- package/dist/modules/jira/services/new-comment-added.service.js.map +1 -0
- package/dist/modules/jira/services/new-issue-created.service.d.ts +33 -0
- package/dist/modules/jira/services/new-issue-created.service.d.ts.map +1 -0
- package/dist/modules/jira/services/new-issue-created.service.js +282 -0
- package/dist/modules/jira/services/new-issue-created.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-assignee.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-assignee.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-assignee.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-assignee.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-created-date.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-created-date.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-created-date.service.js +70 -0
- package/dist/modules/jira/services/search-issues-by-created-date.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-issue-type.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-issue-type.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-issue-type.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-issue-type.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-priority.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-priority.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-priority.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-priority.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project-and-assignee.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-project-and-assignee.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project-and-assignee.service.js +70 -0
- package/dist/modules/jira/services/search-issues-by-project-and-assignee.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project-and-status.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-project-and-status.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project-and-status.service.js +70 -0
- package/dist/modules/jira/services/search-issues-by-project-and-status.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-project.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-project.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-project.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-reporter.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-reporter.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-reporter.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-reporter.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-status.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-status.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-status.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-status.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-text.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-text.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-text.service.js +66 -0
- package/dist/modules/jira/services/search-issues-by-text.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues-by-updated-date.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues-by-updated-date.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues-by-updated-date.service.js +70 -0
- package/dist/modules/jira/services/search-issues-by-updated-date.service.js.map +1 -0
- package/dist/modules/jira/services/search-issues.service.d.ts +8 -0
- package/dist/modules/jira/services/search-issues.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-issues.service.js +67 -0
- package/dist/modules/jira/services/search-issues.service.js.map +1 -0
- package/dist/modules/jira/services/search-unassigned-issues.service.d.ts +8 -0
- package/dist/modules/jira/services/search-unassigned-issues.service.d.ts.map +1 -0
- package/dist/modules/jira/services/search-unassigned-issues.service.js +62 -0
- package/dist/modules/jira/services/search-unassigned-issues.service.js.map +1 -0
- package/dist/modules/jira/services/transition-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/transition-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/transition-issue.service.js +88 -0
- package/dist/modules/jira/services/transition-issue.service.js.map +1 -0
- package/dist/modules/jira/services/update-comment.service.d.ts +8 -0
- package/dist/modules/jira/services/update-comment.service.d.ts.map +1 -0
- package/dist/modules/jira/services/update-comment.service.js +79 -0
- package/dist/modules/jira/services/update-comment.service.js.map +1 -0
- package/dist/modules/jira/services/update-issue.service.d.ts +8 -0
- package/dist/modules/jira/services/update-issue.service.d.ts.map +1 -0
- package/dist/modules/jira/services/update-issue.service.js +108 -0
- package/dist/modules/jira/services/update-issue.service.js.map +1 -0
- package/dist/modules/jira/services/update-worklog.service.d.ts +8 -0
- package/dist/modules/jira/services/update-worklog.service.d.ts.map +1 -0
- package/dist/modules/jira/services/update-worklog.service.js +92 -0
- package/dist/modules/jira/services/update-worklog.service.js.map +1 -0
- package/dist/modules/jira/triggers/index.d.ts +3 -0
- package/dist/modules/jira/triggers/index.d.ts.map +1 -0
- package/dist/modules/jira/triggers/index.js +12 -0
- package/dist/modules/jira/triggers/index.js.map +1 -0
- package/dist/modules/jira/triggers/issue-updated-polling.trigger.d.ts +3 -0
- package/dist/modules/jira/triggers/issue-updated-polling.trigger.d.ts.map +1 -0
- package/dist/modules/jira/triggers/issue-updated-polling.trigger.js +77 -0
- package/dist/modules/jira/triggers/issue-updated-polling.trigger.js.map +1 -0
- package/dist/modules/jira/triggers/new-comment-added.trigger.d.ts +3 -0
- package/dist/modules/jira/triggers/new-comment-added.trigger.d.ts.map +1 -0
- package/dist/modules/jira/triggers/new-comment-added.trigger.js +74 -0
- package/dist/modules/jira/triggers/new-comment-added.trigger.js.map +1 -0
- package/dist/modules/jira/triggers/new-issue-created.trigger.d.ts +3 -0
- package/dist/modules/jira/triggers/new-issue-created.trigger.d.ts.map +1 -0
- package/dist/modules/jira/triggers/new-issue-created.trigger.js +87 -0
- package/dist/modules/jira/triggers/new-issue-created.trigger.js.map +1 -0
- package/dist/modules/jira/utils/jira-adf.util.d.ts +5 -0
- package/dist/modules/jira/utils/jira-adf.util.d.ts.map +1 -0
- package/dist/modules/jira/utils/jira-adf.util.js +73 -0
- package/dist/modules/jira/utils/jira-adf.util.js.map +1 -0
- package/dist/modules/jira/utils/jira-credentials.util.d.ts +4 -0
- package/dist/modules/jira/utils/jira-credentials.util.d.ts.map +1 -0
- package/dist/modules/jira/utils/jira-credentials.util.js +26 -0
- package/dist/modules/jira/utils/jira-credentials.util.js.map +1 -0
- package/dist/modules/jira/utils/jira-error.util.d.ts +3 -0
- package/dist/modules/jira/utils/jira-error.util.d.ts.map +1 -0
- package/dist/modules/jira/utils/jira-error.util.js +25 -0
- package/dist/modules/jira/utils/jira-error.util.js.map +1 -0
- package/dist/services/workflow-bulk-credential.service.d.ts +26 -0
- package/dist/services/workflow-bulk-credential.service.d.ts.map +1 -0
- package/dist/services/workflow-bulk-credential.service.js +114 -0
- package/dist/services/workflow-bulk-credential.service.js.map +1 -0
- package/dist/services/workflow-edge.service.d.ts +1 -7
- package/dist/services/workflow-edge.service.d.ts.map +1 -1
- package/dist/services/workflow-edge.service.js +2 -29
- package/dist/services/workflow-edge.service.js.map +1 -1
- package/dist/services/workflow-execution.service.js +2 -2
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/services/workflow-history.service.d.ts +66 -0
- package/dist/services/workflow-history.service.d.ts.map +1 -0
- package/dist/services/workflow-history.service.js +459 -0
- package/dist/services/workflow-history.service.js.map +1 -0
- package/dist/services/workflow-node.service.d.ts +1 -7
- package/dist/services/workflow-node.service.d.ts.map +1 -1
- package/dist/services/workflow-node.service.js +2 -29
- package/dist/services/workflow-node.service.js.map +1 -1
- package/dist/services/workflow-sse.service.d.ts +1 -19
- package/dist/services/workflow-sse.service.d.ts.map +1 -1
- package/dist/services/workflow-sse.service.js +0 -24
- package/dist/services/workflow-sse.service.js.map +1 -1
- package/dist/services/workflow.service.d.ts +1 -6
- package/dist/services/workflow.service.d.ts.map +1 -1
- package/dist/services/workflow.service.js +4 -26
- package/dist/services/workflow.service.js.map +1 -1
- package/dist/utils/deep-equal.util.d.ts +2 -0
- package/dist/utils/deep-equal.util.d.ts.map +1 -0
- package/dist/utils/deep-equal.util.js +48 -0
- package/dist/utils/deep-equal.util.js.map +1 -0
- package/dist/utils/workflow-diff.util.d.ts +13 -0
- package/dist/utils/workflow-diff.util.d.ts.map +1 -0
- package/dist/utils/workflow-diff.util.js +84 -0
- package/dist/utils/workflow-diff.util.js.map +1 -0
- package/dist/utils/workflow-snapshot.util.d.ts +5 -0
- package/dist/utils/workflow-snapshot.util.d.ts.map +1 -0
- package/dist/utils/workflow-snapshot.util.js +145 -0
- package/dist/utils/workflow-snapshot.util.js.map +1 -0
- package/dist/utils/workflow-validation.util.d.ts +4 -0
- package/dist/utils/workflow-validation.util.d.ts.map +1 -0
- package/dist/utils/workflow-validation.util.js +62 -0
- package/dist/utils/workflow-validation.util.js.map +1 -0
- package/dist/workflow-core.module.d.ts.map +1 -1
- package/dist/workflow-core.module.js +11 -5
- package/dist/workflow-core.module.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +4 -1
- package/dist/workflow.module.js.map +1 -1
- package/package.json +109 -108
- package/dist/entities/workflow-user.entity.d.ts +0 -13
- package/dist/entities/workflow-user.entity.d.ts.map +0 -1
- package/dist/entities/workflow-user.entity.js.map +0 -1
- package/dist/services/workflow-user.service.d.ts +0 -20
- package/dist/services/workflow-user.service.d.ts.map +0 -1
- package/dist/services/workflow-user.service.js +0 -111
- package/dist/services/workflow-user.service.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-history.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/workflow-history.controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,qBAEa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;gBAAtB,sBAAsB,EAAE,sBAAsB;IAarE,WAAW,CACM,UAAU,EAAE,MAAM,EAEvC,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAqBG,WAAW,CACM,UAAU,EAAE,MAAM,EACvB,KAAK,CAAC,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM;;;;;;IA0B5B,UAAU,CAAqB,SAAS,EAAE,MAAM;IAehD,kBAAkB,CACD,UAAU,EAAE,MAAM,EACf,aAAa,EAAE,MAAM;IAkBzC,cAAc,CACE,SAAS,EAAE,MAAM,EAErC,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAC;QACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B;IAuBG,eAAe,CACE,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,UAAU,CAAC,EAAE,MAAM;;;;;;;;;;;;;IAiBpC,kBAAkB,CACD,UAAU,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM;;;;;;;;;;;;;IAkBjC,aAAa,CACG,SAAS,EAAE,MAAM,EAErC,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;KACnB;;;;IAiBG,cAAc,CAElB,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB;;;;;;;;;CAIJ"}
|
|
@@ -0,0 +1,227 @@
|
|
|
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.WorkflowHistoryController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const workflow_history_service_1 = require("../services/workflow-history.service");
|
|
19
|
+
let WorkflowHistoryController = class WorkflowHistoryController {
|
|
20
|
+
workflowHistoryService;
|
|
21
|
+
constructor(workflowHistoryService) {
|
|
22
|
+
this.workflowHistoryService = workflowHistoryService;
|
|
23
|
+
}
|
|
24
|
+
async saveVersion(workflowId, body) {
|
|
25
|
+
return this.workflowHistoryService.saveVersion(workflowId, body.createdBy, body.name, body.description);
|
|
26
|
+
}
|
|
27
|
+
async getVersions(workflowId, limit, offset) {
|
|
28
|
+
const versions = await this.workflowHistoryService.getVersions(workflowId, limit ? Number(limit) : undefined, offset ? Number(offset) : undefined);
|
|
29
|
+
const total = await this.workflowHistoryService.getVersionsCount(workflowId);
|
|
30
|
+
return {
|
|
31
|
+
data: versions,
|
|
32
|
+
total,
|
|
33
|
+
limit: limit ? Number(limit) : 100,
|
|
34
|
+
offset: offset ? Number(offset) : 0,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
async getVersion(versionId) {
|
|
38
|
+
return this.workflowHistoryService.getVersion(versionId);
|
|
39
|
+
}
|
|
40
|
+
async getVersionByNumber(workflowId, versionNumber) {
|
|
41
|
+
return this.workflowHistoryService.getVersionByNumber(workflowId, versionNumber);
|
|
42
|
+
}
|
|
43
|
+
async restoreVersion(versionId, body) {
|
|
44
|
+
return this.workflowHistoryService.restoreVersion(versionId, body.restoredBy, body.createNewVersion !== false);
|
|
45
|
+
}
|
|
46
|
+
async compareVersions(versionId1, versionId2, workflowId) {
|
|
47
|
+
return this.workflowHistoryService.compareVersions(versionId1, versionId2, workflowId);
|
|
48
|
+
}
|
|
49
|
+
async compareWithCurrent(workflowId, versionId) {
|
|
50
|
+
return this.workflowHistoryService.compareWithCurrent(workflowId, versionId);
|
|
51
|
+
}
|
|
52
|
+
async deleteVersion(versionId, body) {
|
|
53
|
+
return this.workflowHistoryService.deleteVersion(versionId, body.deletedBy);
|
|
54
|
+
}
|
|
55
|
+
async deleteVersions(body) {
|
|
56
|
+
return this.workflowHistoryService.deleteVersions(body.versionIds, body.deletedBy);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
exports.WorkflowHistoryController = WorkflowHistoryController;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, common_1.Post)(':workflowId/save-version'),
|
|
62
|
+
(0, swagger_1.ApiOperation)({
|
|
63
|
+
summary: 'Manually save a version of a workflow',
|
|
64
|
+
description: 'Creates an immutable snapshot of the current workflow definition (workflow + nodes + edges). This is a manual operation that requires explicit user intent.',
|
|
65
|
+
}),
|
|
66
|
+
(0, swagger_1.ApiResponse)({
|
|
67
|
+
status: 201,
|
|
68
|
+
description: 'Workflow version saved successfully',
|
|
69
|
+
}),
|
|
70
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Workflow not found' }),
|
|
71
|
+
__param(0, (0, common_1.Param)('workflowId')),
|
|
72
|
+
__param(1, (0, common_1.Body)()),
|
|
73
|
+
__metadata("design:type", Function),
|
|
74
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
75
|
+
__metadata("design:returntype", Promise)
|
|
76
|
+
], WorkflowHistoryController.prototype, "saveVersion", null);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, common_1.Get)('workflow/:workflowId/versions'),
|
|
79
|
+
(0, swagger_1.ApiOperation)({
|
|
80
|
+
summary: 'Get all versions for a workflow',
|
|
81
|
+
description: 'Retrieves saved versions for a workflow, ordered by version number (newest first). ' +
|
|
82
|
+
'Supports pagination with limit and offset query parameters.',
|
|
83
|
+
}),
|
|
84
|
+
(0, swagger_1.ApiResponse)({
|
|
85
|
+
status: 200,
|
|
86
|
+
description: 'List of workflow versions',
|
|
87
|
+
}),
|
|
88
|
+
__param(0, (0, common_1.Param)('workflowId')),
|
|
89
|
+
__param(1, (0, common_1.Query)('limit')),
|
|
90
|
+
__param(2, (0, common_1.Query)('offset')),
|
|
91
|
+
__metadata("design:type", Function),
|
|
92
|
+
__metadata("design:paramtypes", [String, Number, Number]),
|
|
93
|
+
__metadata("design:returntype", Promise)
|
|
94
|
+
], WorkflowHistoryController.prototype, "getVersions", null);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, common_1.Get)('version/:versionId'),
|
|
97
|
+
(0, swagger_1.ApiOperation)({
|
|
98
|
+
summary: 'Get a specific workflow version',
|
|
99
|
+
description: 'Retrieves a specific version by its ID, including the complete snapshot.',
|
|
100
|
+
}),
|
|
101
|
+
(0, swagger_1.ApiResponse)({
|
|
102
|
+
status: 200,
|
|
103
|
+
description: 'Workflow version details',
|
|
104
|
+
}),
|
|
105
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Version not found' }),
|
|
106
|
+
__param(0, (0, common_1.Param)('versionId')),
|
|
107
|
+
__metadata("design:type", Function),
|
|
108
|
+
__metadata("design:paramtypes", [String]),
|
|
109
|
+
__metadata("design:returntype", Promise)
|
|
110
|
+
], WorkflowHistoryController.prototype, "getVersion", null);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, common_1.Get)('workflow/:workflowId/version/:versionNumber'),
|
|
113
|
+
(0, swagger_1.ApiOperation)({
|
|
114
|
+
summary: 'Get a specific workflow version by version number',
|
|
115
|
+
description: 'Retrieves a specific version by workflow ID and version number.',
|
|
116
|
+
}),
|
|
117
|
+
(0, swagger_1.ApiResponse)({
|
|
118
|
+
status: 200,
|
|
119
|
+
description: 'Workflow version details',
|
|
120
|
+
}),
|
|
121
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Version not found' }),
|
|
122
|
+
__param(0, (0, common_1.Param)('workflowId')),
|
|
123
|
+
__param(1, (0, common_1.Param)('versionNumber')),
|
|
124
|
+
__metadata("design:type", Function),
|
|
125
|
+
__metadata("design:paramtypes", [String, Number]),
|
|
126
|
+
__metadata("design:returntype", Promise)
|
|
127
|
+
], WorkflowHistoryController.prototype, "getVersionByNumber", null);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, common_1.Put)('version/:versionId/restore'),
|
|
130
|
+
(0, swagger_1.ApiOperation)({
|
|
131
|
+
summary: 'Restore a previous workflow version',
|
|
132
|
+
description: 'Restores a previous version by replacing the current workflow definition with the snapshot. ' +
|
|
133
|
+
'This operation is safe and does not affect active executions. ' +
|
|
134
|
+
'By default, creates a new version after restore to maintain history.',
|
|
135
|
+
}),
|
|
136
|
+
(0, swagger_1.ApiResponse)({
|
|
137
|
+
status: 200,
|
|
138
|
+
description: 'Workflow restored successfully',
|
|
139
|
+
}),
|
|
140
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Version or workflow not found' }),
|
|
141
|
+
__param(0, (0, common_1.Param)('versionId')),
|
|
142
|
+
__param(1, (0, common_1.Body)()),
|
|
143
|
+
__metadata("design:type", Function),
|
|
144
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
145
|
+
__metadata("design:returntype", Promise)
|
|
146
|
+
], WorkflowHistoryController.prototype, "restoreVersion", null);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, common_1.Get)('compare'),
|
|
149
|
+
(0, swagger_1.ApiOperation)({
|
|
150
|
+
summary: 'Compare two workflow versions',
|
|
151
|
+
description: 'Compares two versions and returns a high-level summary of changes including ' +
|
|
152
|
+
'workflow metadata changes, nodes added/removed/modified, and edges added/removed/modified. ' +
|
|
153
|
+
'Use "current" as versionId to compare with the current workflow state (requires workflowId).',
|
|
154
|
+
}),
|
|
155
|
+
(0, swagger_1.ApiResponse)({
|
|
156
|
+
status: 200,
|
|
157
|
+
description: 'Comparison summary',
|
|
158
|
+
}),
|
|
159
|
+
(0, swagger_1.ApiResponse)({ status: 400, description: 'Invalid request' }),
|
|
160
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'One or both versions not found' }),
|
|
161
|
+
__param(0, (0, common_1.Query)('versionId1')),
|
|
162
|
+
__param(1, (0, common_1.Query)('versionId2')),
|
|
163
|
+
__param(2, (0, common_1.Query)('workflowId')),
|
|
164
|
+
__metadata("design:type", Function),
|
|
165
|
+
__metadata("design:paramtypes", [String, String, String]),
|
|
166
|
+
__metadata("design:returntype", Promise)
|
|
167
|
+
], WorkflowHistoryController.prototype, "compareVersions", null);
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, common_1.Get)('workflow/:workflowId/compare-with-current'),
|
|
170
|
+
(0, swagger_1.ApiOperation)({
|
|
171
|
+
summary: 'Compare a version with the current workflow state',
|
|
172
|
+
description: 'Compares a saved version with the current workflow definition to see what has changed.',
|
|
173
|
+
}),
|
|
174
|
+
(0, swagger_1.ApiResponse)({
|
|
175
|
+
status: 200,
|
|
176
|
+
description: 'Comparison summary',
|
|
177
|
+
}),
|
|
178
|
+
(0, swagger_1.ApiResponse)({ status: 400, description: 'Invalid request' }),
|
|
179
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Version or workflow not found' }),
|
|
180
|
+
__param(0, (0, common_1.Param)('workflowId')),
|
|
181
|
+
__param(1, (0, common_1.Query)('versionId')),
|
|
182
|
+
__metadata("design:type", Function),
|
|
183
|
+
__metadata("design:paramtypes", [String, String]),
|
|
184
|
+
__metadata("design:returntype", Promise)
|
|
185
|
+
], WorkflowHistoryController.prototype, "compareWithCurrent", null);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, common_1.Delete)('version/:versionId'),
|
|
188
|
+
(0, swagger_1.ApiOperation)({
|
|
189
|
+
summary: 'Delete a workflow version',
|
|
190
|
+
description: 'Permanently deletes a workflow version from history. ' +
|
|
191
|
+
'This operation cannot be undone and does not affect the current workflow state or executions.',
|
|
192
|
+
}),
|
|
193
|
+
(0, swagger_1.ApiResponse)({
|
|
194
|
+
status: 200,
|
|
195
|
+
description: 'Version deleted successfully',
|
|
196
|
+
}),
|
|
197
|
+
(0, swagger_1.ApiResponse)({ status: 400, description: 'Invalid request' }),
|
|
198
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Version not found' }),
|
|
199
|
+
__param(0, (0, common_1.Param)('versionId')),
|
|
200
|
+
__param(1, (0, common_1.Body)()),
|
|
201
|
+
__metadata("design:type", Function),
|
|
202
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
203
|
+
__metadata("design:returntype", Promise)
|
|
204
|
+
], WorkflowHistoryController.prototype, "deleteVersion", null);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, common_1.Delete)('versions'),
|
|
207
|
+
(0, swagger_1.ApiOperation)({
|
|
208
|
+
summary: 'Delete multiple workflow versions',
|
|
209
|
+
description: 'Permanently deletes multiple workflow versions from history. ' +
|
|
210
|
+
'Maximum 100 versions can be deleted at once.',
|
|
211
|
+
}),
|
|
212
|
+
(0, swagger_1.ApiResponse)({
|
|
213
|
+
status: 200,
|
|
214
|
+
description: 'Deletion summary',
|
|
215
|
+
}),
|
|
216
|
+
(0, swagger_1.ApiResponse)({ status: 400, description: 'Invalid request' }),
|
|
217
|
+
__param(0, (0, common_1.Body)()),
|
|
218
|
+
__metadata("design:type", Function),
|
|
219
|
+
__metadata("design:paramtypes", [Object]),
|
|
220
|
+
__metadata("design:returntype", Promise)
|
|
221
|
+
], WorkflowHistoryController.prototype, "deleteVersions", null);
|
|
222
|
+
exports.WorkflowHistoryController = WorkflowHistoryController = __decorate([
|
|
223
|
+
(0, swagger_1.ApiTags)('workflow/workflow-history'),
|
|
224
|
+
(0, common_1.Controller)('workflow/workflow-history'),
|
|
225
|
+
__metadata("design:paramtypes", [workflow_history_service_1.WorkflowHistoryService])
|
|
226
|
+
], WorkflowHistoryController);
|
|
227
|
+
//# sourceMappingURL=workflow-history.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-history.controller.js","sourceRoot":"","sources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AI,GAAE,CAAA;;;;+DAOR;oCA7MU,yBAAyB;IAFrC,IAAA,iBAAO,EAAC,2BAA2B,CAAC;IACpC,IAAA,mBAAU,EAAC,2BAA2B,CAAC;qCAEe,iDAAsB;GADhE,yBAAyB,CA8MrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-bulk-credential-updates.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/apply-bulk-credential-updates.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,yBAAyB;IAGpC,SAAS,EAAE,MAAM,CAAC;IAIlB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,6BAA6B;IAIxC,OAAO,EAAE,yBAAyB,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ApplyBulkCredentialUpdatesDto = exports.ModuleCredentialUpdateDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class ModuleCredentialUpdateDto {
|
|
16
|
+
moduleKey;
|
|
17
|
+
credentialId;
|
|
18
|
+
}
|
|
19
|
+
exports.ModuleCredentialUpdateDto = ModuleCredentialUpdateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ModuleCredentialUpdateDto.prototype, "moduleKey", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsUUID)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ModuleCredentialUpdateDto.prototype, "credentialId", void 0);
|
|
30
|
+
class ApplyBulkCredentialUpdatesDto {
|
|
31
|
+
updates;
|
|
32
|
+
}
|
|
33
|
+
exports.ApplyBulkCredentialUpdatesDto = ApplyBulkCredentialUpdatesDto;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsArray)(),
|
|
36
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
37
|
+
(0, class_transformer_1.Type)(() => ModuleCredentialUpdateDto),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], ApplyBulkCredentialUpdatesDto.prototype, "updates", void 0);
|
|
40
|
+
//# sourceMappingURL=apply-bulk-credential-updates.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-bulk-credential-updates.dto.js","sourceRoot":"","sources":["../../src/dtos/apply-bulk-credential-updates.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwF;AACxF,yDAAyC;AAEzC,MAAa,yBAAyB;IAGpC,SAAS,CAAS;IAIlB,YAAY,CAAS;CACtB;AARD,8DAQC;AALC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACK;AAIlB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;+DACQ;AAGvB,MAAa,6BAA6B;IAIxC,OAAO,CAA8B;CACtC;AALD,sEAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;;8DACD"}
|
package/dist/dtos/index.d.ts
CHANGED
package/dist/dtos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
package/dist/dtos/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./apply-bulk-credential-updates.dto"), exports);
|
|
17
18
|
__exportStar(require("./create-workflow.dto"), exports);
|
|
18
19
|
__exportStar(require("./create-workflow-edge.dto"), exports);
|
|
19
20
|
__exportStar(require("./create-workflow-execution.dto"), exports);
|
package/dist/dtos/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,uEAAqD;AACrD,gEAA8C;AAC9C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,wDAAsC;AACtC,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,uEAAqD;AACrD,gEAA8C;AAC9C,gEAA8C"}
|
|
@@ -8,7 +8,7 @@ export declare class WorkflowExecution {
|
|
|
8
8
|
sessionId?: string;
|
|
9
9
|
status: EXECUTION_STATUS;
|
|
10
10
|
triggeredBy?: string;
|
|
11
|
-
currentNodeId?: string
|
|
11
|
+
currentNodeId?: string;
|
|
12
12
|
inputData: Record<string, unknown>;
|
|
13
13
|
outputData: Record<string, unknown>;
|
|
14
14
|
errorData: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,iBAAiB;IAE5B,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,EAAE,gBAAgB,CAAC;IAKzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,iBAAiB;IAE5B,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,EAAE,gBAAgB,CAAC;IAKzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,cAAc,EAAE,qBAAqB,EAAE,CAAC;IAQxC,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -72,8 +72,8 @@ __decorate([
|
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, class_validator_1.IsString)(),
|
|
74
74
|
(0, class_validator_1.IsOptional)(),
|
|
75
|
-
(0, typeorm_1.Column)({
|
|
76
|
-
__metadata("design:type",
|
|
75
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
77
|
], WorkflowExecution.prototype, "currentNodeId", void 0);
|
|
78
78
|
__decorate([
|
|
79
79
|
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,qCAQiB;AAEjB,sEAAkE;AAClE,uDAA6C;AAC7C,qFAAyE;AAGlE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAE5B,EAAE,CAAS;IAKX,UAAU,CAAS;IAGnB,QAAQ,CAAW;IAKnB,SAAS,CAAU;IAQnB,MAAM,CAAmB;IAKzB,WAAW,CAAU;IAKrB,aAAa,
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,qCAQiB;AAEjB,sEAAkE;AAClE,uDAA6C;AAC7C,qFAAyE;AAGlE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAE5B,EAAE,CAAS;IAKX,UAAU,CAAS;IAGnB,QAAQ,CAAW;IAKnB,SAAS,CAAU;IAQnB,MAAM,CAAmB;IAKzB,WAAW,CAAU;IAKrB,aAAa,CAAU;IAGvB,SAAS,CAA0B;IAGnC,UAAU,CAA0B;IAGpC,SAAS,CAA0B;IAKnC,YAAY,CAAU;IAGtB,SAAS,CAAQ;IAGjB,WAAW,CAAQ;IAGnB,cAAc,CAA0B;IAQxC,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AAzEY,8CAAiB;AAE5B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;6CACpB;AAK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IAAI,EAAE,CAAC;;uDACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,IAAI;oDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;sDAAC;AAGnB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC;;yDACnD;AAQxC;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;oDAAC;AAQhB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;oDAAC;4BAxEL,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,iBAAiB,CAyE7B"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EXECUTION_MODE, WORKFLOW_STATUS } from '../constants/workflow.constant';
|
|
2
|
+
import { Workflow } from './workflow.entity';
|
|
3
|
+
export declare class WorkflowHistory {
|
|
4
|
+
id: string;
|
|
5
|
+
workflowId: string;
|
|
6
|
+
workflow: Workflow;
|
|
7
|
+
versionNumber: number;
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
snapshot: {
|
|
12
|
+
workflow: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
active: boolean;
|
|
17
|
+
executionMode: EXECUTION_MODE;
|
|
18
|
+
status: WORKFLOW_STATUS;
|
|
19
|
+
createdBy?: string;
|
|
20
|
+
metadata?: Record<string, unknown>;
|
|
21
|
+
};
|
|
22
|
+
nodes: Array<{
|
|
23
|
+
id: string;
|
|
24
|
+
nodeId: string;
|
|
25
|
+
label: string;
|
|
26
|
+
moduleKey: string;
|
|
27
|
+
actionType?: string;
|
|
28
|
+
properties: Record<string, unknown>;
|
|
29
|
+
position: {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
};
|
|
33
|
+
data?: Record<string, unknown>;
|
|
34
|
+
}>;
|
|
35
|
+
edges: Array<{
|
|
36
|
+
id: string;
|
|
37
|
+
edgeId: string;
|
|
38
|
+
source: string;
|
|
39
|
+
target: string;
|
|
40
|
+
sourceHandle?: string;
|
|
41
|
+
targetHandle?: string;
|
|
42
|
+
data?: Record<string, unknown>;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
snapshotHash: string;
|
|
46
|
+
createdAt: Date;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=workflow-history.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-history.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-history.entity.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAY7C,qBAOa,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,CAAC;IAQnB,aAAa,EAAE,MAAM,CAAC;IAQtB,IAAI,EAAE,MAAM,CAAC;IAQb,WAAW,CAAC,EAAE,MAAM,CAAC;IAQrB,SAAS,EAAE,MAAM,CAAC;IAalB,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;YACb,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,MAAM,EAAE,OAAO,CAAC;YAChB,aAAa,EAAE,cAAc,CAAC;YAC9B,MAAM,EAAE,eAAe,CAAC;YACxB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SACpC,CAAC;QACF,KAAK,EAAE,KAAK,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;YACd,SAAS,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YACpC,QAAQ,EAAE;gBAAE,CAAC,EAAE,MAAM,CAAC;gBAAC,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;YACnC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SAChC,CAAC,CAAC;QACH,KAAK,EAAE,KAAK,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;YACf,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SAChC,CAAC,CAAC;KACJ,CAAC;IAeF,YAAY,EAAE,MAAM,CAAC;IAYrB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -9,59 +9,70 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const workflow_entity_1 = require("./workflow.entity");
|
|
12
|
+
exports.WorkflowHistory = void 0;
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
14
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
|
|
15
|
+
const workflow_entity_1 = require("./workflow.entity");
|
|
16
|
+
let WorkflowHistory = class WorkflowHistory {
|
|
17
17
|
id;
|
|
18
18
|
workflowId;
|
|
19
19
|
workflow;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
versionNumber;
|
|
21
|
+
name;
|
|
22
|
+
description;
|
|
22
23
|
createdBy;
|
|
23
|
-
|
|
24
|
+
snapshot;
|
|
25
|
+
snapshotHash;
|
|
24
26
|
createdAt;
|
|
25
|
-
updatedAt;
|
|
26
27
|
};
|
|
27
|
-
exports.
|
|
28
|
+
exports.WorkflowHistory = WorkflowHistory;
|
|
28
29
|
__decorate([
|
|
29
30
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
30
31
|
__metadata("design:type", String)
|
|
31
|
-
],
|
|
32
|
+
], WorkflowHistory.prototype, "id", void 0);
|
|
32
33
|
__decorate([
|
|
33
|
-
(0, class_validator_1.
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
34
35
|
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
-
(0, typeorm_1.Column)(
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
36
37
|
__metadata("design:type", String)
|
|
37
|
-
],
|
|
38
|
+
], WorkflowHistory.prototype, "workflowId", void 0);
|
|
38
39
|
__decorate([
|
|
39
40
|
(0, typeorm_1.ManyToOne)(() => workflow_entity_1.Workflow, { onDelete: 'CASCADE' }),
|
|
40
|
-
(0, typeorm_1.JoinColumn)({ name: 'workflowId' }),
|
|
41
41
|
__metadata("design:type", workflow_entity_1.Workflow)
|
|
42
|
-
],
|
|
42
|
+
], WorkflowHistory.prototype, "workflow", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
(0, class_validator_1.
|
|
44
|
+
(0, class_validator_1.IsNumber)(),
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], WorkflowHistory.prototype, "versionNumber", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
45
50
|
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
(0, typeorm_1.Column)({ type: '
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
47
52
|
__metadata("design:type", String)
|
|
48
|
-
],
|
|
53
|
+
], WorkflowHistory.prototype, "name", void 0);
|
|
49
54
|
__decorate([
|
|
50
55
|
(0, class_validator_1.IsString)(),
|
|
51
56
|
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
53
58
|
__metadata("design:type", String)
|
|
54
|
-
],
|
|
59
|
+
], WorkflowHistory.prototype, "description", void 0);
|
|
55
60
|
__decorate([
|
|
56
61
|
(0, class_validator_1.IsString)(),
|
|
57
|
-
(0, class_validator_1.
|
|
58
|
-
(0, typeorm_1.Column)(
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, typeorm_1.Column)(),
|
|
59
64
|
__metadata("design:type", String)
|
|
60
|
-
],
|
|
65
|
+
], WorkflowHistory.prototype, "createdBy", void 0);
|
|
61
66
|
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ type: 'jsonb'
|
|
67
|
+
(0, typeorm_1.Column)({ type: 'jsonb' }),
|
|
63
68
|
__metadata("design:type", Object)
|
|
64
|
-
],
|
|
69
|
+
], WorkflowHistory.prototype, "snapshot", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 64 }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], WorkflowHistory.prototype, "snapshotHash", void 0);
|
|
65
76
|
__decorate([
|
|
66
77
|
(0, typeorm_1.CreateDateColumn)({
|
|
67
78
|
name: 'createdAt',
|
|
@@ -70,18 +81,14 @@ __decorate([
|
|
|
70
81
|
default: () => 'CURRENT_TIMESTAMP',
|
|
71
82
|
}),
|
|
72
83
|
__metadata("design:type", Date)
|
|
73
|
-
],
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
],
|
|
83
|
-
|
|
84
|
-
(0, typeorm_1.Entity)('workflow_user'),
|
|
85
|
-
(0, typeorm_1.Index)(['workflowId', 'userId'], { unique: true })
|
|
86
|
-
], WorkflowUser);
|
|
87
|
-
//# sourceMappingURL=workflow-user.entity.js.map
|
|
84
|
+
], WorkflowHistory.prototype, "createdAt", void 0);
|
|
85
|
+
exports.WorkflowHistory = WorkflowHistory = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)('workflow_history'),
|
|
87
|
+
(0, typeorm_1.Index)(['workflowId', 'versionNumber'], { unique: true }),
|
|
88
|
+
(0, typeorm_1.Index)(['workflowId', 'createdAt']),
|
|
89
|
+
(0, typeorm_1.Index)(['workflowId', 'snapshotHash']),
|
|
90
|
+
(0, typeorm_1.Index)(['snapshotHash']),
|
|
91
|
+
(0, typeorm_1.Index)(['createdBy']),
|
|
92
|
+
(0, typeorm_1.Index)(['name'])
|
|
93
|
+
], WorkflowHistory);
|
|
94
|
+
//# sourceMappingURL=workflow-history.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-history.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-history.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA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AAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;qDACnB;AAYrB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;kDAAC;0BAhHL,eAAe;IAP3B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;IAC1B,IAAA,eAAK,EAAC,CAAC,YAAY,EAAE,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACxD,IAAA,eAAK,EAAC,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAClC,IAAA,eAAK,EAAC,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IACrC,IAAA,eAAK,EAAC,CAAC,cAAc,CAAC,CAAC;IACvB,IAAA,eAAK,EAAC,CAAC,WAAW,CAAC,CAAC;IACpB,IAAA,eAAK,EAAC,CAAC,MAAM,CAAC,CAAC;GACH,eAAe,CAiH3B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export * from './entities/workflow-module-credential.entity';
|
|
|
8
8
|
export * from './entities/workflow-node.entity';
|
|
9
9
|
export * from './entities/workflow-node-execution.entity';
|
|
10
10
|
export * from './entities/workflow-session.entity';
|
|
11
|
-
export * from './entities/workflow-user.entity';
|
|
12
11
|
export * from './entities/workflow-webhook.entity';
|
|
13
12
|
export * from './controllers/workflow-module-credential.controller';
|
|
14
13
|
export * from './controllers/workflow-node.controller';
|
|
15
14
|
export * from './controllers/workflow-node-execution.controller';
|
|
15
|
+
export * from './services/workflow-bulk-credential.service';
|
|
16
16
|
export * from './services/workflow.service';
|
|
17
17
|
export * from './services/workflow-edge.service';
|
|
18
18
|
export * from './services/workflow-execution.service';
|
|
@@ -21,7 +21,6 @@ export * from './services/workflow-module-credential.service';
|
|
|
21
21
|
export * from './services/workflow-node.service';
|
|
22
22
|
export * from './services/workflow-node-execution.service';
|
|
23
23
|
export * from './services/workflow-session.service';
|
|
24
|
-
export * from './services/workflow-user.service';
|
|
25
24
|
export * from './services/workflow-webhook.service';
|
|
26
25
|
export * from './modules';
|
|
27
26
|
export * from './modules/ai/ai-nest.module';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AAGjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,WAAW,CAAC;AAG1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -26,11 +26,11 @@ __exportStar(require("./entities/workflow-module-credential.entity"), exports);
|
|
|
26
26
|
__exportStar(require("./entities/workflow-node.entity"), exports);
|
|
27
27
|
__exportStar(require("./entities/workflow-node-execution.entity"), exports);
|
|
28
28
|
__exportStar(require("./entities/workflow-session.entity"), exports);
|
|
29
|
-
__exportStar(require("./entities/workflow-user.entity"), exports);
|
|
30
29
|
__exportStar(require("./entities/workflow-webhook.entity"), exports);
|
|
31
30
|
__exportStar(require("./controllers/workflow-module-credential.controller"), exports);
|
|
32
31
|
__exportStar(require("./controllers/workflow-node.controller"), exports);
|
|
33
32
|
__exportStar(require("./controllers/workflow-node-execution.controller"), exports);
|
|
33
|
+
__exportStar(require("./services/workflow-bulk-credential.service"), exports);
|
|
34
34
|
__exportStar(require("./services/workflow.service"), exports);
|
|
35
35
|
__exportStar(require("./services/workflow-edge.service"), exports);
|
|
36
36
|
__exportStar(require("./services/workflow-execution.service"), exports);
|
|
@@ -39,7 +39,6 @@ __exportStar(require("./services/workflow-module-credential.service"), exports);
|
|
|
39
39
|
__exportStar(require("./services/workflow-node.service"), exports);
|
|
40
40
|
__exportStar(require("./services/workflow-node-execution.service"), exports);
|
|
41
41
|
__exportStar(require("./services/workflow-session.service"), exports);
|
|
42
|
-
__exportStar(require("./services/workflow-user.service"), exports);
|
|
43
42
|
__exportStar(require("./services/workflow-webhook.service"), exports);
|
|
44
43
|
__exportStar(require("./modules"), exports);
|
|
45
44
|
__exportStar(require("./modules/ai/ai-nest.module"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,4EAA0D;AAC1D,qEAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,4EAA0D;AAC1D,qEAAmD;AACnD,qEAAmD;AAGnD,sFAAoE;AACpE,yEAAuD;AACvD,mFAAiE;AAGjE,8EAA4D;AAC5D,8DAA4C;AAC5C,mEAAiD;AACjD,wEAAsD;AACtD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AACjD,6EAA2D;AAC3D,sEAAoD;AACpD,sEAAoD;AAGpD,4CAA0B;AAG1B,8DAA4C;AAC5C,wEAAsD;AACtD,gFAA8D;AAC9D,sEAAoD;AACpD,wEAAsD;AACtD,oDAAkC;AAClC,yDAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-attachment.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/jira/actions/add-attachment.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,mBAAmB,EAAE,qBAuDjC,CAAC"}
|