@hed-hog/operations 0.0.295 → 0.0.296
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/dist/operations.controller.d.ts +415 -0
- package/dist/operations.controller.d.ts.map +1 -0
- package/dist/operations.controller.js +333 -0
- package/dist/operations.controller.js.map +1 -0
- package/dist/operations.module.d.ts.map +1 -1
- package/dist/operations.module.js +4 -3
- package/dist/operations.module.js.map +1 -1
- package/dist/operations.service.d.ts +589 -153
- package/dist/operations.service.d.ts.map +1 -1
- package/dist/operations.service.js +2229 -100
- package/dist/operations.service.js.map +1 -1
- package/hedhog/data/menu.yaml +198 -251
- package/hedhog/data/role.yaml +23 -14
- package/hedhog/data/route.yaml +317 -143
- package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +310 -0
- package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +631 -0
- package/hedhog/frontend/app/_components/contract-details-screen.tsx.ejs +132 -0
- package/hedhog/frontend/app/_components/contract-form-screen.tsx.ejs +558 -0
- package/hedhog/frontend/app/_components/project-details-screen.tsx.ejs +291 -0
- package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +689 -0
- package/hedhog/frontend/app/_lib/api.ts.ejs +32 -0
- package/hedhog/frontend/app/_lib/hooks/use-operations-access.ts.ejs +44 -0
- package/hedhog/frontend/app/_lib/types.ts.ejs +360 -0
- package/hedhog/frontend/app/_lib/utils/format.ts.ejs +129 -25
- package/hedhog/frontend/app/_lib/utils/forms.ts.ejs +14 -0
- package/hedhog/frontend/app/approvals/page.tsx.ejs +386 -147
- package/hedhog/frontend/app/collaborators/[id]/edit/page.tsx.ejs +11 -0
- package/hedhog/frontend/app/collaborators/[id]/page.tsx.ejs +11 -0
- package/hedhog/frontend/app/collaborators/new/page.tsx.ejs +5 -0
- package/hedhog/frontend/app/collaborators/page.tsx.ejs +261 -0
- package/hedhog/frontend/app/contracts/[id]/edit/page.tsx.ejs +11 -0
- package/hedhog/frontend/app/contracts/[id]/page.tsx.ejs +11 -108
- package/hedhog/frontend/app/contracts/new/page.tsx.ejs +17 -0
- package/hedhog/frontend/app/contracts/page.tsx.ejs +262 -181
- package/hedhog/frontend/app/page.tsx.ejs +319 -177
- package/hedhog/frontend/app/projects/[id]/edit/page.tsx.ejs +11 -0
- package/hedhog/frontend/app/projects/[id]/page.tsx.ejs +11 -936
- package/hedhog/frontend/app/projects/new/page.tsx.ejs +5 -0
- package/hedhog/frontend/app/projects/page.tsx.ejs +236 -1074
- package/hedhog/frontend/app/schedule-adjustments/page.tsx.ejs +418 -0
- package/hedhog/frontend/app/team/page.tsx.ejs +339 -0
- package/hedhog/frontend/app/time-off/page.tsx.ejs +328 -0
- package/hedhog/frontend/app/timesheets/page.tsx.ejs +636 -126
- package/hedhog/frontend/messages/en.json +648 -454
- package/hedhog/frontend/messages/pt.json +647 -454
- package/hedhog/table/operations_approval.yaml +49 -0
- package/hedhog/table/operations_approval_history.yaml +29 -0
- package/hedhog/table/{operations_employee.yaml → operations_collaborator.yaml} +67 -64
- package/hedhog/table/operations_collaborator_schedule_day.yaml +34 -0
- package/hedhog/table/operations_contract.yaml +100 -48
- package/hedhog/table/operations_contract_document.yaml +39 -0
- package/hedhog/table/operations_contract_financial_term.yaml +40 -0
- package/hedhog/table/operations_contract_history.yaml +27 -0
- package/hedhog/table/operations_contract_party.yaml +46 -0
- package/hedhog/table/operations_contract_revision.yaml +38 -0
- package/hedhog/table/operations_contract_signature.yaml +38 -0
- package/hedhog/table/operations_project.yaml +54 -50
- package/hedhog/table/{operations_allocation.yaml → operations_project_assignment.yaml} +55 -52
- package/hedhog/table/operations_schedule_adjustment_day.yaml +34 -0
- package/hedhog/table/operations_schedule_adjustment_request.yaml +53 -0
- package/hedhog/table/operations_time_off_request.yaml +57 -0
- package/hedhog/table/operations_timesheet.yaml +41 -36
- package/hedhog/table/operations_timesheet_entry.yaml +40 -50
- package/package.json +8 -7
- package/src/operations.controller.ts +182 -0
- package/src/operations.module.ts +22 -21
- package/src/operations.service.ts +3595 -137
- package/hedhog/data/operations_career_level.yaml +0 -102
- package/hedhog/data/operations_career_track.yaml +0 -8
- package/hedhog/data/operations_certification.yaml +0 -38
- package/hedhog/data/operations_evaluation_cycle.yaml +0 -18
- package/hedhog/data/operations_performance_criterion.yaml +0 -48
- package/hedhog/frontend/app/_components/allocation-calendar.tsx.ejs +0 -56
- package/hedhog/frontend/app/_components/kanban-board.tsx.ejs +0 -626
- package/hedhog/frontend/app/_components/timesheet-entry-dialog.tsx.ejs +0 -142
- package/hedhog/frontend/app/_lib/hooks/use-operations-data.ts.ejs +0 -41
- package/hedhog/frontend/app/_lib/hooks/use-operations-growth-data.ts.ejs +0 -63
- package/hedhog/frontend/app/_lib/mocks/allocations.mock.ts.ejs +0 -74
- package/hedhog/frontend/app/_lib/mocks/contracts.mock.ts.ejs +0 -74
- package/hedhog/frontend/app/_lib/mocks/operations-growth.mock.ts.ejs +0 -824
- package/hedhog/frontend/app/_lib/mocks/projects.mock.ts.ejs +0 -455
- package/hedhog/frontend/app/_lib/mocks/tasks.mock.ts.ejs +0 -117
- package/hedhog/frontend/app/_lib/mocks/timesheets.mock.ts.ejs +0 -84
- package/hedhog/frontend/app/_lib/mocks/users.mock.ts.ejs +0 -67
- package/hedhog/frontend/app/_lib/services/contracts.service.ts.ejs +0 -10
- package/hedhog/frontend/app/_lib/services/operations-growth.service.ts.ejs +0 -31
- package/hedhog/frontend/app/_lib/services/projects.service.ts.ejs +0 -10
- package/hedhog/frontend/app/_lib/services/tasks.service.ts.ejs +0 -10
- package/hedhog/frontend/app/_lib/services/timesheets.service.ts.ejs +0 -10
- package/hedhog/frontend/app/_lib/types/operations-growth.ts.ejs +0 -209
- package/hedhog/frontend/app/_lib/types/operations.ts.ejs +0 -156
- package/hedhog/frontend/app/_lib/utils/growth.ts.ejs +0 -62
- package/hedhog/frontend/app/_lib/utils/metrics.ts.ejs +0 -103
- package/hedhog/frontend/app/_lib/utils/status.ts.ejs +0 -80
- package/hedhog/frontend/app/allocations/page.tsx.ejs +0 -155
- package/hedhog/frontend/app/career/page.tsx.ejs +0 -143
- package/hedhog/frontend/app/certifications/page.tsx.ejs +0 -202
- package/hedhog/frontend/app/evaluations/page.tsx.ejs +0 -278
- package/hedhog/frontend/app/goals/page.tsx.ejs +0 -171
- package/hedhog/frontend/app/growth/page.tsx.ejs +0 -288
- package/hedhog/frontend/app/manager/page.tsx.ejs +0 -175
- package/hedhog/frontend/app/rewards/page.tsx.ejs +0 -196
- package/hedhog/frontend/app/tasks/page.tsx.ejs +0 -999
- package/hedhog/table/operations_calibration_item.yaml +0 -61
- package/hedhog/table/operations_calibration_session.yaml +0 -25
- package/hedhog/table/operations_career_level.yaml +0 -75
- package/hedhog/table/operations_career_track.yaml +0 -21
- package/hedhog/table/operations_certification.yaml +0 -48
- package/hedhog/table/operations_employee_certification.yaml +0 -43
- package/hedhog/table/operations_employee_connect.yaml +0 -61
- package/hedhog/table/operations_employee_evaluation.yaml +0 -113
- package/hedhog/table/operations_employee_evaluation_item.yaml +0 -39
- package/hedhog/table/operations_employee_profile.yaml +0 -80
- package/hedhog/table/operations_employee_skill_matrix.yaml +0 -30
- package/hedhog/table/operations_evaluation_cycle.yaml +0 -31
- package/hedhog/table/operations_goal.yaml +0 -67
- package/hedhog/table/operations_goal_progress.yaml +0 -31
- package/hedhog/table/operations_performance_criterion.yaml +0 -29
- package/hedhog/table/operations_promotion_readiness.yaml +0 -49
- package/hedhog/table/operations_promotion_recommendation.yaml +0 -63
- package/hedhog/table/operations_public_recognition.yaml +0 -46
- package/hedhog/table/operations_reward.yaml +0 -100
- package/hedhog/table/operations_score_event.yaml +0 -81
- package/hedhog/table/operations_task.yaml +0 -60
- package/src/operations-data.controller.ts +0 -54
- package/src/operations-growth.controller.ts +0 -44
|
@@ -0,0 +1,333 @@
|
|
|
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.OperationsController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const operations_service_1 = require("./operations.service");
|
|
19
|
+
let OperationsController = class OperationsController {
|
|
20
|
+
constructor(operationsService) {
|
|
21
|
+
this.operationsService = operationsService;
|
|
22
|
+
}
|
|
23
|
+
getDashboard(user) {
|
|
24
|
+
return this.operationsService.getDashboard(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
25
|
+
}
|
|
26
|
+
listCollaborators(user) {
|
|
27
|
+
return this.operationsService.listCollaborators(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
28
|
+
}
|
|
29
|
+
getMyCollaborator(user) {
|
|
30
|
+
return this.operationsService.getMyCollaborator(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
31
|
+
}
|
|
32
|
+
getCollaborator(user, id) {
|
|
33
|
+
return this.operationsService.getCollaboratorByIdForUser(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
34
|
+
}
|
|
35
|
+
getTeam(user) {
|
|
36
|
+
return this.operationsService.getTeam(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
37
|
+
}
|
|
38
|
+
createCollaborator(user, data) {
|
|
39
|
+
return this.operationsService.createCollaborator(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
40
|
+
}
|
|
41
|
+
updateCollaborator(user, id, data) {
|
|
42
|
+
return this.operationsService.updateCollaborator(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
43
|
+
}
|
|
44
|
+
listProjects(user) {
|
|
45
|
+
return this.operationsService.listProjects(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
46
|
+
}
|
|
47
|
+
getProject(user, id) {
|
|
48
|
+
return this.operationsService.getProjectById(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
49
|
+
}
|
|
50
|
+
createProject(user, data) {
|
|
51
|
+
return this.operationsService.createProject(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
52
|
+
}
|
|
53
|
+
updateProject(user, id, data) {
|
|
54
|
+
return this.operationsService.updateProject(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
55
|
+
}
|
|
56
|
+
listContracts(user) {
|
|
57
|
+
return this.operationsService.listContracts(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
58
|
+
}
|
|
59
|
+
getContract(user, id) {
|
|
60
|
+
return this.operationsService.getContractById(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
61
|
+
}
|
|
62
|
+
createContract(user, data) {
|
|
63
|
+
return this.operationsService.createContract(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
64
|
+
}
|
|
65
|
+
updateContract(user, id, data) {
|
|
66
|
+
return this.operationsService.updateContract(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
67
|
+
}
|
|
68
|
+
listTimesheets(user) {
|
|
69
|
+
return this.operationsService.listTimesheets(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
70
|
+
}
|
|
71
|
+
createTimesheet(user, data) {
|
|
72
|
+
return this.operationsService.createTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
73
|
+
}
|
|
74
|
+
updateTimesheet(user, id, data) {
|
|
75
|
+
return this.operationsService.updateTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
76
|
+
}
|
|
77
|
+
submitTimesheet(user, id) {
|
|
78
|
+
return this.operationsService.submitTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
79
|
+
}
|
|
80
|
+
listTimeOffRequests(user) {
|
|
81
|
+
return this.operationsService.listTimeOffRequests(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
82
|
+
}
|
|
83
|
+
createTimeOffRequest(user, data) {
|
|
84
|
+
return this.operationsService.createTimeOffRequest(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
85
|
+
}
|
|
86
|
+
listScheduleAdjustments(user) {
|
|
87
|
+
return this.operationsService.listScheduleAdjustments(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
88
|
+
}
|
|
89
|
+
createScheduleAdjustmentRequest(user, data) {
|
|
90
|
+
return this.operationsService.createScheduleAdjustmentRequest(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
91
|
+
}
|
|
92
|
+
listApprovals(user) {
|
|
93
|
+
return this.operationsService.listApprovals(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
94
|
+
}
|
|
95
|
+
approve(user, id, data) {
|
|
96
|
+
return this.operationsService.approve(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
97
|
+
}
|
|
98
|
+
reject(user, id, data) {
|
|
99
|
+
return this.operationsService.reject(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
100
|
+
}
|
|
101
|
+
publishAccountsPayableReference(user, data) {
|
|
102
|
+
return this.operationsService.publishAccountsPayableReference(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
103
|
+
}
|
|
104
|
+
getSupervisorTeam(user) {
|
|
105
|
+
return this.operationsService.getTeam(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
exports.OperationsController = OperationsController;
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, common_1.Get)('dashboard'),
|
|
111
|
+
__param(0, (0, api_1.User)()),
|
|
112
|
+
__metadata("design:type", Function),
|
|
113
|
+
__metadata("design:paramtypes", [Object]),
|
|
114
|
+
__metadata("design:returntype", void 0)
|
|
115
|
+
], OperationsController.prototype, "getDashboard", null);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, common_1.Get)('collaborators'),
|
|
118
|
+
__param(0, (0, api_1.User)()),
|
|
119
|
+
__metadata("design:type", Function),
|
|
120
|
+
__metadata("design:paramtypes", [Object]),
|
|
121
|
+
__metadata("design:returntype", void 0)
|
|
122
|
+
], OperationsController.prototype, "listCollaborators", null);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, common_1.Get)('collaborators/me'),
|
|
125
|
+
__param(0, (0, api_1.User)()),
|
|
126
|
+
__metadata("design:type", Function),
|
|
127
|
+
__metadata("design:paramtypes", [Object]),
|
|
128
|
+
__metadata("design:returntype", void 0)
|
|
129
|
+
], OperationsController.prototype, "getMyCollaborator", null);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, common_1.Get)('collaborators/:id'),
|
|
132
|
+
__param(0, (0, api_1.User)()),
|
|
133
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
134
|
+
__metadata("design:type", Function),
|
|
135
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
136
|
+
__metadata("design:returntype", void 0)
|
|
137
|
+
], OperationsController.prototype, "getCollaborator", null);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, common_1.Get)('collaborators/team'),
|
|
140
|
+
__param(0, (0, api_1.User)()),
|
|
141
|
+
__metadata("design:type", Function),
|
|
142
|
+
__metadata("design:paramtypes", [Object]),
|
|
143
|
+
__metadata("design:returntype", void 0)
|
|
144
|
+
], OperationsController.prototype, "getTeam", null);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, common_1.Post)('collaborators'),
|
|
147
|
+
__param(0, (0, api_1.User)()),
|
|
148
|
+
__param(1, (0, common_1.Body)()),
|
|
149
|
+
__metadata("design:type", Function),
|
|
150
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
151
|
+
__metadata("design:returntype", void 0)
|
|
152
|
+
], OperationsController.prototype, "createCollaborator", null);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, common_1.Patch)('collaborators/:id'),
|
|
155
|
+
__param(0, (0, api_1.User)()),
|
|
156
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
157
|
+
__param(2, (0, common_1.Body)()),
|
|
158
|
+
__metadata("design:type", Function),
|
|
159
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
160
|
+
__metadata("design:returntype", void 0)
|
|
161
|
+
], OperationsController.prototype, "updateCollaborator", null);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, common_1.Get)('projects'),
|
|
164
|
+
__param(0, (0, api_1.User)()),
|
|
165
|
+
__metadata("design:type", Function),
|
|
166
|
+
__metadata("design:paramtypes", [Object]),
|
|
167
|
+
__metadata("design:returntype", void 0)
|
|
168
|
+
], OperationsController.prototype, "listProjects", null);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, common_1.Get)('projects/:id'),
|
|
171
|
+
__param(0, (0, api_1.User)()),
|
|
172
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
173
|
+
__metadata("design:type", Function),
|
|
174
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
175
|
+
__metadata("design:returntype", void 0)
|
|
176
|
+
], OperationsController.prototype, "getProject", null);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, common_1.Post)('projects'),
|
|
179
|
+
__param(0, (0, api_1.User)()),
|
|
180
|
+
__param(1, (0, common_1.Body)()),
|
|
181
|
+
__metadata("design:type", Function),
|
|
182
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
183
|
+
__metadata("design:returntype", void 0)
|
|
184
|
+
], OperationsController.prototype, "createProject", null);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, common_1.Patch)('projects/:id'),
|
|
187
|
+
__param(0, (0, api_1.User)()),
|
|
188
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
189
|
+
__param(2, (0, common_1.Body)()),
|
|
190
|
+
__metadata("design:type", Function),
|
|
191
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
192
|
+
__metadata("design:returntype", void 0)
|
|
193
|
+
], OperationsController.prototype, "updateProject", null);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, common_1.Get)('contracts'),
|
|
196
|
+
__param(0, (0, api_1.User)()),
|
|
197
|
+
__metadata("design:type", Function),
|
|
198
|
+
__metadata("design:paramtypes", [Object]),
|
|
199
|
+
__metadata("design:returntype", void 0)
|
|
200
|
+
], OperationsController.prototype, "listContracts", null);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, common_1.Get)('contracts/:id'),
|
|
203
|
+
__param(0, (0, api_1.User)()),
|
|
204
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
205
|
+
__metadata("design:type", Function),
|
|
206
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
207
|
+
__metadata("design:returntype", void 0)
|
|
208
|
+
], OperationsController.prototype, "getContract", null);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, common_1.Post)('contracts'),
|
|
211
|
+
__param(0, (0, api_1.User)()),
|
|
212
|
+
__param(1, (0, common_1.Body)()),
|
|
213
|
+
__metadata("design:type", Function),
|
|
214
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
215
|
+
__metadata("design:returntype", void 0)
|
|
216
|
+
], OperationsController.prototype, "createContract", null);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, common_1.Patch)('contracts/:id'),
|
|
219
|
+
__param(0, (0, api_1.User)()),
|
|
220
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
221
|
+
__param(2, (0, common_1.Body)()),
|
|
222
|
+
__metadata("design:type", Function),
|
|
223
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
224
|
+
__metadata("design:returntype", void 0)
|
|
225
|
+
], OperationsController.prototype, "updateContract", null);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, common_1.Get)('timesheets'),
|
|
228
|
+
__param(0, (0, api_1.User)()),
|
|
229
|
+
__metadata("design:type", Function),
|
|
230
|
+
__metadata("design:paramtypes", [Object]),
|
|
231
|
+
__metadata("design:returntype", void 0)
|
|
232
|
+
], OperationsController.prototype, "listTimesheets", null);
|
|
233
|
+
__decorate([
|
|
234
|
+
(0, common_1.Post)('timesheets'),
|
|
235
|
+
__param(0, (0, api_1.User)()),
|
|
236
|
+
__param(1, (0, common_1.Body)()),
|
|
237
|
+
__metadata("design:type", Function),
|
|
238
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
239
|
+
__metadata("design:returntype", void 0)
|
|
240
|
+
], OperationsController.prototype, "createTimesheet", null);
|
|
241
|
+
__decorate([
|
|
242
|
+
(0, common_1.Patch)('timesheets/:id'),
|
|
243
|
+
__param(0, (0, api_1.User)()),
|
|
244
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
245
|
+
__param(2, (0, common_1.Body)()),
|
|
246
|
+
__metadata("design:type", Function),
|
|
247
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
248
|
+
__metadata("design:returntype", void 0)
|
|
249
|
+
], OperationsController.prototype, "updateTimesheet", null);
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, common_1.Post)('timesheets/:id/submit'),
|
|
252
|
+
__param(0, (0, api_1.User)()),
|
|
253
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
254
|
+
__metadata("design:type", Function),
|
|
255
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
256
|
+
__metadata("design:returntype", void 0)
|
|
257
|
+
], OperationsController.prototype, "submitTimesheet", null);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, common_1.Get)('time-off'),
|
|
260
|
+
__param(0, (0, api_1.User)()),
|
|
261
|
+
__metadata("design:type", Function),
|
|
262
|
+
__metadata("design:paramtypes", [Object]),
|
|
263
|
+
__metadata("design:returntype", void 0)
|
|
264
|
+
], OperationsController.prototype, "listTimeOffRequests", null);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, common_1.Post)('time-off'),
|
|
267
|
+
__param(0, (0, api_1.User)()),
|
|
268
|
+
__param(1, (0, common_1.Body)()),
|
|
269
|
+
__metadata("design:type", Function),
|
|
270
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
271
|
+
__metadata("design:returntype", void 0)
|
|
272
|
+
], OperationsController.prototype, "createTimeOffRequest", null);
|
|
273
|
+
__decorate([
|
|
274
|
+
(0, common_1.Get)('schedule-adjustments'),
|
|
275
|
+
__param(0, (0, api_1.User)()),
|
|
276
|
+
__metadata("design:type", Function),
|
|
277
|
+
__metadata("design:paramtypes", [Object]),
|
|
278
|
+
__metadata("design:returntype", void 0)
|
|
279
|
+
], OperationsController.prototype, "listScheduleAdjustments", null);
|
|
280
|
+
__decorate([
|
|
281
|
+
(0, common_1.Post)('schedule-adjustments'),
|
|
282
|
+
__param(0, (0, api_1.User)()),
|
|
283
|
+
__param(1, (0, common_1.Body)()),
|
|
284
|
+
__metadata("design:type", Function),
|
|
285
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
286
|
+
__metadata("design:returntype", void 0)
|
|
287
|
+
], OperationsController.prototype, "createScheduleAdjustmentRequest", null);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, common_1.Get)('approvals'),
|
|
290
|
+
__param(0, (0, api_1.User)()),
|
|
291
|
+
__metadata("design:type", Function),
|
|
292
|
+
__metadata("design:paramtypes", [Object]),
|
|
293
|
+
__metadata("design:returntype", void 0)
|
|
294
|
+
], OperationsController.prototype, "listApprovals", null);
|
|
295
|
+
__decorate([
|
|
296
|
+
(0, common_1.Post)('approvals/:id/approve'),
|
|
297
|
+
__param(0, (0, api_1.User)()),
|
|
298
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
299
|
+
__param(2, (0, common_1.Body)()),
|
|
300
|
+
__metadata("design:type", Function),
|
|
301
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
302
|
+
__metadata("design:returntype", void 0)
|
|
303
|
+
], OperationsController.prototype, "approve", null);
|
|
304
|
+
__decorate([
|
|
305
|
+
(0, common_1.Post)('approvals/:id/reject'),
|
|
306
|
+
__param(0, (0, api_1.User)()),
|
|
307
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
308
|
+
__param(2, (0, common_1.Body)()),
|
|
309
|
+
__metadata("design:type", Function),
|
|
310
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
311
|
+
__metadata("design:returntype", void 0)
|
|
312
|
+
], OperationsController.prototype, "reject", null);
|
|
313
|
+
__decorate([
|
|
314
|
+
(0, common_1.Post)('integration/examples/accounts-payable'),
|
|
315
|
+
__param(0, (0, api_1.User)()),
|
|
316
|
+
__param(1, (0, common_1.Body)()),
|
|
317
|
+
__metadata("design:type", Function),
|
|
318
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
319
|
+
__metadata("design:returntype", void 0)
|
|
320
|
+
], OperationsController.prototype, "publishAccountsPayableReference", null);
|
|
321
|
+
__decorate([
|
|
322
|
+
(0, common_1.Get)('team'),
|
|
323
|
+
__param(0, (0, api_1.User)()),
|
|
324
|
+
__metadata("design:type", Function),
|
|
325
|
+
__metadata("design:paramtypes", [Object]),
|
|
326
|
+
__metadata("design:returntype", void 0)
|
|
327
|
+
], OperationsController.prototype, "getSupervisorTeam", null);
|
|
328
|
+
exports.OperationsController = OperationsController = __decorate([
|
|
329
|
+
(0, api_1.Role)(),
|
|
330
|
+
(0, common_1.Controller)('operations'),
|
|
331
|
+
__metadata("design:paramtypes", [operations_service_1.OperationsService])
|
|
332
|
+
], OperationsController);
|
|
333
|
+
//# sourceMappingURL=operations.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.controller.js","sourceRoot":"","sources":["../src/operations.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA0C;AAC1C,2CAQwB;AACxB,6DAAyD;AAIlD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAGrE,YAAY,CAAS,IAAI;QACvB,OAAO,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAGD,iBAAiB,CAAS,IAAI;QAC5B,OAAO,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;IAGD,iBAAiB,CAAS,IAAI;QAC5B,OAAO,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;IAGD,eAAe,CAAS,IAAI,EAA6B,EAAU;QACjE,OAAO,IAAI,CAAC,iBAAiB,CAAC,0BAA0B,CACtD,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EACrB,EAAE,CACH,CAAC;IACJ,CAAC;IAGD,OAAO,CAAS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AuKhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.module.d.ts","sourceRoot":"","sources":["../src/operations.module.ts"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"operations.module.d.ts","sourceRoot":"","sources":["../src/operations.module.ts"],"names":[],"mappings":"AASA,qBAYa,gBAAgB;CAAG"}
|
|
@@ -10,10 +10,10 @@ exports.OperationsModule = void 0;
|
|
|
10
10
|
const api_locale_1 = require("@hed-hog/api-locale");
|
|
11
11
|
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
12
12
|
const api_prisma_1 = require("@hed-hog/api-prisma");
|
|
13
|
+
const core_1 = require("@hed-hog/core");
|
|
13
14
|
const common_1 = require("@nestjs/common");
|
|
14
15
|
const config_1 = require("@nestjs/config");
|
|
15
|
-
const
|
|
16
|
-
const operations_growth_controller_1 = require("./operations-growth.controller");
|
|
16
|
+
const operations_controller_1 = require("./operations.controller");
|
|
17
17
|
const operations_service_1 = require("./operations.service");
|
|
18
18
|
let OperationsModule = class OperationsModule {
|
|
19
19
|
};
|
|
@@ -25,8 +25,9 @@ exports.OperationsModule = OperationsModule = __decorate([
|
|
|
25
25
|
(0, common_1.forwardRef)(() => api_pagination_1.PaginationModule),
|
|
26
26
|
(0, common_1.forwardRef)(() => api_prisma_1.PrismaModule),
|
|
27
27
|
(0, common_1.forwardRef)(() => api_locale_1.LocaleModule),
|
|
28
|
+
(0, common_1.forwardRef)(() => core_1.IntegrationModule),
|
|
28
29
|
],
|
|
29
|
-
controllers: [
|
|
30
|
+
controllers: [operations_controller_1.OperationsController],
|
|
30
31
|
providers: [operations_service_1.OperationsService],
|
|
31
32
|
exports: [operations_service_1.OperationsService],
|
|
32
33
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.module.js","sourceRoot":"","sources":["../src/operations.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,oDAAmD;AACnD,4DAA2D;AAC3D,oDAAmD;AACnD,2CAAoD;AACpD,2CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"operations.module.js","sourceRoot":"","sources":["../src/operations.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,oDAAmD;AACnD,4DAA2D;AAC3D,oDAAmD;AACnD,wCAAkD;AAClD,2CAAoD;AACpD,2CAA8C;AAC9C,mEAA+D;AAC/D,6DAAyD;AAclD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAZ5B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,qBAAY,CAAC,OAAO,EAAE;YACtB,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;YAClC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,yBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,yBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,wBAAiB,CAAC;SACpC;QACD,WAAW,EAAE,CAAC,4CAAoB,CAAC;QACnC,SAAS,EAAE,CAAC,sCAAiB,CAAC;QAC9B,OAAO,EAAE,CAAC,sCAAiB,CAAC;KAC7B,CAAC;GACW,gBAAgB,CAAG"}
|