@hed-hog/operations 0.0.295 → 0.0.297
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 +7 -6
- 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,415 @@
|
|
|
1
|
+
import { OperationsService } from './operations.service';
|
|
2
|
+
export declare class OperationsController {
|
|
3
|
+
private readonly operationsService;
|
|
4
|
+
constructor(operationsService: OperationsService);
|
|
5
|
+
getDashboard(user: any): Promise<{
|
|
6
|
+
actor: {
|
|
7
|
+
roleScope: string;
|
|
8
|
+
collaboratorId: number;
|
|
9
|
+
collaboratorName: string;
|
|
10
|
+
teamSize: number;
|
|
11
|
+
};
|
|
12
|
+
cards: {
|
|
13
|
+
projectsTotal: number;
|
|
14
|
+
activeProjects: number;
|
|
15
|
+
visibleTimesheets: number;
|
|
16
|
+
pendingTimesheets: number;
|
|
17
|
+
timeOffRequests: number;
|
|
18
|
+
scheduleAdjustmentRequests: number;
|
|
19
|
+
pendingApprovals: number;
|
|
20
|
+
};
|
|
21
|
+
recentTimesheets: {
|
|
22
|
+
id: number;
|
|
23
|
+
collaboratorName: string;
|
|
24
|
+
weekStartDate: string;
|
|
25
|
+
weekEndDate: string;
|
|
26
|
+
totalHours: number | null;
|
|
27
|
+
status: string;
|
|
28
|
+
}[];
|
|
29
|
+
}>;
|
|
30
|
+
listCollaborators(user: any): Promise<Record<string, unknown>[]>;
|
|
31
|
+
getMyCollaborator(user: any): Promise<{
|
|
32
|
+
assignedProjects: Record<string, unknown>[];
|
|
33
|
+
relatedContracts: Record<string, unknown>[];
|
|
34
|
+
weeklySchedule: Record<string, unknown>[];
|
|
35
|
+
timesheetSummary: {
|
|
36
|
+
totalTimesheets: number;
|
|
37
|
+
pendingTimesheets: number;
|
|
38
|
+
totalHours: number;
|
|
39
|
+
};
|
|
40
|
+
timeOffSummary: {
|
|
41
|
+
totalRequests: number;
|
|
42
|
+
pendingRequests: number;
|
|
43
|
+
approvedRequests: number;
|
|
44
|
+
};
|
|
45
|
+
scheduleAdjustmentRequests: Record<string, unknown>[];
|
|
46
|
+
id: number;
|
|
47
|
+
userId: number;
|
|
48
|
+
code: string;
|
|
49
|
+
collaboratorType: string;
|
|
50
|
+
displayName: string;
|
|
51
|
+
department: string | null;
|
|
52
|
+
title: string | null;
|
|
53
|
+
levelLabel: string | null;
|
|
54
|
+
weeklyCapacityHours: number | null;
|
|
55
|
+
status: string;
|
|
56
|
+
joinedAt: string | null;
|
|
57
|
+
leftAt: string | null;
|
|
58
|
+
notes: string | null;
|
|
59
|
+
supervisorId: number | null;
|
|
60
|
+
supervisorName: string | null;
|
|
61
|
+
contractId: number | null;
|
|
62
|
+
contractStatus: string | null;
|
|
63
|
+
activeAssignments: number;
|
|
64
|
+
}>;
|
|
65
|
+
getCollaborator(user: any, id: number): Promise<{
|
|
66
|
+
assignedProjects: Record<string, unknown>[];
|
|
67
|
+
relatedContracts: Record<string, unknown>[];
|
|
68
|
+
weeklySchedule: Record<string, unknown>[];
|
|
69
|
+
timesheetSummary: {
|
|
70
|
+
totalTimesheets: number;
|
|
71
|
+
pendingTimesheets: number;
|
|
72
|
+
totalHours: number;
|
|
73
|
+
};
|
|
74
|
+
timeOffSummary: {
|
|
75
|
+
totalRequests: number;
|
|
76
|
+
pendingRequests: number;
|
|
77
|
+
approvedRequests: number;
|
|
78
|
+
};
|
|
79
|
+
scheduleAdjustmentRequests: Record<string, unknown>[];
|
|
80
|
+
id: number;
|
|
81
|
+
userId: number;
|
|
82
|
+
code: string;
|
|
83
|
+
collaboratorType: string;
|
|
84
|
+
displayName: string;
|
|
85
|
+
department: string | null;
|
|
86
|
+
title: string | null;
|
|
87
|
+
levelLabel: string | null;
|
|
88
|
+
weeklyCapacityHours: number | null;
|
|
89
|
+
status: string;
|
|
90
|
+
joinedAt: string | null;
|
|
91
|
+
leftAt: string | null;
|
|
92
|
+
notes: string | null;
|
|
93
|
+
supervisorId: number | null;
|
|
94
|
+
supervisorName: string | null;
|
|
95
|
+
contractId: number | null;
|
|
96
|
+
contractStatus: string | null;
|
|
97
|
+
activeAssignments: number;
|
|
98
|
+
}>;
|
|
99
|
+
getTeam(user: any): Promise<{
|
|
100
|
+
teamMembers: Record<string, unknown>[];
|
|
101
|
+
projectCount: number;
|
|
102
|
+
pendingApprovals: number;
|
|
103
|
+
pendingItems: {
|
|
104
|
+
timesheets: number;
|
|
105
|
+
timeOffRequests: number;
|
|
106
|
+
scheduleAdjustmentRequests: number;
|
|
107
|
+
};
|
|
108
|
+
teamProjects: Record<string, unknown>[];
|
|
109
|
+
pendingApprovalQueue: Record<string, unknown>[];
|
|
110
|
+
pendingTimeOffRequests: Record<string, unknown>[];
|
|
111
|
+
pendingScheduleAdjustmentRequests: Record<string, unknown>[];
|
|
112
|
+
}>;
|
|
113
|
+
createCollaborator(user: any, data: any): Promise<{
|
|
114
|
+
assignedProjects: Record<string, unknown>[];
|
|
115
|
+
relatedContracts: Record<string, unknown>[];
|
|
116
|
+
weeklySchedule: Record<string, unknown>[];
|
|
117
|
+
timesheetSummary: {
|
|
118
|
+
totalTimesheets: number;
|
|
119
|
+
pendingTimesheets: number;
|
|
120
|
+
totalHours: number;
|
|
121
|
+
};
|
|
122
|
+
timeOffSummary: {
|
|
123
|
+
totalRequests: number;
|
|
124
|
+
pendingRequests: number;
|
|
125
|
+
approvedRequests: number;
|
|
126
|
+
};
|
|
127
|
+
scheduleAdjustmentRequests: Record<string, unknown>[];
|
|
128
|
+
id: number;
|
|
129
|
+
userId: number;
|
|
130
|
+
code: string;
|
|
131
|
+
collaboratorType: string;
|
|
132
|
+
displayName: string;
|
|
133
|
+
department: string | null;
|
|
134
|
+
title: string | null;
|
|
135
|
+
levelLabel: string | null;
|
|
136
|
+
weeklyCapacityHours: number | null;
|
|
137
|
+
status: string;
|
|
138
|
+
joinedAt: string | null;
|
|
139
|
+
leftAt: string | null;
|
|
140
|
+
notes: string | null;
|
|
141
|
+
supervisorId: number | null;
|
|
142
|
+
supervisorName: string | null;
|
|
143
|
+
contractId: number | null;
|
|
144
|
+
contractStatus: string | null;
|
|
145
|
+
activeAssignments: number;
|
|
146
|
+
}>;
|
|
147
|
+
updateCollaborator(user: any, id: number, data: any): Promise<{
|
|
148
|
+
assignedProjects: Record<string, unknown>[];
|
|
149
|
+
relatedContracts: Record<string, unknown>[];
|
|
150
|
+
weeklySchedule: Record<string, unknown>[];
|
|
151
|
+
timesheetSummary: {
|
|
152
|
+
totalTimesheets: number;
|
|
153
|
+
pendingTimesheets: number;
|
|
154
|
+
totalHours: number;
|
|
155
|
+
};
|
|
156
|
+
timeOffSummary: {
|
|
157
|
+
totalRequests: number;
|
|
158
|
+
pendingRequests: number;
|
|
159
|
+
approvedRequests: number;
|
|
160
|
+
};
|
|
161
|
+
scheduleAdjustmentRequests: Record<string, unknown>[];
|
|
162
|
+
id: number;
|
|
163
|
+
userId: number;
|
|
164
|
+
code: string;
|
|
165
|
+
collaboratorType: string;
|
|
166
|
+
displayName: string;
|
|
167
|
+
department: string | null;
|
|
168
|
+
title: string | null;
|
|
169
|
+
levelLabel: string | null;
|
|
170
|
+
weeklyCapacityHours: number | null;
|
|
171
|
+
status: string;
|
|
172
|
+
joinedAt: string | null;
|
|
173
|
+
leftAt: string | null;
|
|
174
|
+
notes: string | null;
|
|
175
|
+
supervisorId: number | null;
|
|
176
|
+
supervisorName: string | null;
|
|
177
|
+
contractId: number | null;
|
|
178
|
+
contractStatus: string | null;
|
|
179
|
+
activeAssignments: number;
|
|
180
|
+
}>;
|
|
181
|
+
listProjects(user: any): Promise<Record<string, unknown>[]>;
|
|
182
|
+
getProject(user: any, id: number): Promise<{
|
|
183
|
+
assignments: {
|
|
184
|
+
id: number;
|
|
185
|
+
collaboratorId: number;
|
|
186
|
+
collaboratorName: string;
|
|
187
|
+
roleLabel: string | null;
|
|
188
|
+
allocationPercent: number | null;
|
|
189
|
+
weeklyHours: number | null;
|
|
190
|
+
isBillable: boolean;
|
|
191
|
+
startDate: string | null;
|
|
192
|
+
endDate: string | null;
|
|
193
|
+
status: string;
|
|
194
|
+
}[];
|
|
195
|
+
relatedContract: any;
|
|
196
|
+
timesheetSummary: {
|
|
197
|
+
totalTimesheets: number;
|
|
198
|
+
pendingTimesheets: number;
|
|
199
|
+
totalHours: number;
|
|
200
|
+
};
|
|
201
|
+
operationalIndicators: {
|
|
202
|
+
activeAssignments: number;
|
|
203
|
+
billableAssignments: number;
|
|
204
|
+
averageAllocation: number;
|
|
205
|
+
totalWeeklyHours: number;
|
|
206
|
+
};
|
|
207
|
+
id: number;
|
|
208
|
+
contractId: number | null;
|
|
209
|
+
managerCollaboratorId: number | null;
|
|
210
|
+
code: string;
|
|
211
|
+
name: string;
|
|
212
|
+
clientName: string | null;
|
|
213
|
+
summary: string | null;
|
|
214
|
+
status: string;
|
|
215
|
+
progressPercent: number | null;
|
|
216
|
+
deliveryModel: string | null;
|
|
217
|
+
budgetAmount: number | null;
|
|
218
|
+
startDate: string | null;
|
|
219
|
+
endDate: string | null;
|
|
220
|
+
contractName: string | null;
|
|
221
|
+
contractStatus: string | null;
|
|
222
|
+
contractCategory: string | null;
|
|
223
|
+
managerName: string | null;
|
|
224
|
+
myAssignmentId: number | null;
|
|
225
|
+
myRoleLabel: string | null;
|
|
226
|
+
teamSize: number;
|
|
227
|
+
}>;
|
|
228
|
+
createProject(user: any, data: any): Promise<{
|
|
229
|
+
assignments: {
|
|
230
|
+
id: number;
|
|
231
|
+
collaboratorId: number;
|
|
232
|
+
collaboratorName: string;
|
|
233
|
+
roleLabel: string | null;
|
|
234
|
+
allocationPercent: number | null;
|
|
235
|
+
weeklyHours: number | null;
|
|
236
|
+
isBillable: boolean;
|
|
237
|
+
startDate: string | null;
|
|
238
|
+
endDate: string | null;
|
|
239
|
+
status: string;
|
|
240
|
+
}[];
|
|
241
|
+
relatedContract: any;
|
|
242
|
+
timesheetSummary: {
|
|
243
|
+
totalTimesheets: number;
|
|
244
|
+
pendingTimesheets: number;
|
|
245
|
+
totalHours: number;
|
|
246
|
+
};
|
|
247
|
+
operationalIndicators: {
|
|
248
|
+
activeAssignments: number;
|
|
249
|
+
billableAssignments: number;
|
|
250
|
+
averageAllocation: number;
|
|
251
|
+
totalWeeklyHours: number;
|
|
252
|
+
};
|
|
253
|
+
id: number;
|
|
254
|
+
contractId: number | null;
|
|
255
|
+
managerCollaboratorId: number | null;
|
|
256
|
+
code: string;
|
|
257
|
+
name: string;
|
|
258
|
+
clientName: string | null;
|
|
259
|
+
summary: string | null;
|
|
260
|
+
status: string;
|
|
261
|
+
progressPercent: number | null;
|
|
262
|
+
deliveryModel: string | null;
|
|
263
|
+
budgetAmount: number | null;
|
|
264
|
+
startDate: string | null;
|
|
265
|
+
endDate: string | null;
|
|
266
|
+
contractName: string | null;
|
|
267
|
+
contractStatus: string | null;
|
|
268
|
+
contractCategory: string | null;
|
|
269
|
+
managerName: string | null;
|
|
270
|
+
myAssignmentId: number | null;
|
|
271
|
+
myRoleLabel: string | null;
|
|
272
|
+
teamSize: number;
|
|
273
|
+
}>;
|
|
274
|
+
updateProject(user: any, id: number, data: any): Promise<{
|
|
275
|
+
assignments: {
|
|
276
|
+
id: number;
|
|
277
|
+
collaboratorId: number;
|
|
278
|
+
collaboratorName: string;
|
|
279
|
+
roleLabel: string | null;
|
|
280
|
+
allocationPercent: number | null;
|
|
281
|
+
weeklyHours: number | null;
|
|
282
|
+
isBillable: boolean;
|
|
283
|
+
startDate: string | null;
|
|
284
|
+
endDate: string | null;
|
|
285
|
+
status: string;
|
|
286
|
+
}[];
|
|
287
|
+
relatedContract: any;
|
|
288
|
+
timesheetSummary: {
|
|
289
|
+
totalTimesheets: number;
|
|
290
|
+
pendingTimesheets: number;
|
|
291
|
+
totalHours: number;
|
|
292
|
+
};
|
|
293
|
+
operationalIndicators: {
|
|
294
|
+
activeAssignments: number;
|
|
295
|
+
billableAssignments: number;
|
|
296
|
+
averageAllocation: number;
|
|
297
|
+
totalWeeklyHours: number;
|
|
298
|
+
};
|
|
299
|
+
id: number;
|
|
300
|
+
contractId: number | null;
|
|
301
|
+
managerCollaboratorId: number | null;
|
|
302
|
+
code: string;
|
|
303
|
+
name: string;
|
|
304
|
+
clientName: string | null;
|
|
305
|
+
summary: string | null;
|
|
306
|
+
status: string;
|
|
307
|
+
progressPercent: number | null;
|
|
308
|
+
deliveryModel: string | null;
|
|
309
|
+
budgetAmount: number | null;
|
|
310
|
+
startDate: string | null;
|
|
311
|
+
endDate: string | null;
|
|
312
|
+
contractName: string | null;
|
|
313
|
+
contractStatus: string | null;
|
|
314
|
+
contractCategory: string | null;
|
|
315
|
+
managerName: string | null;
|
|
316
|
+
myAssignmentId: number | null;
|
|
317
|
+
myRoleLabel: string | null;
|
|
318
|
+
teamSize: number;
|
|
319
|
+
}>;
|
|
320
|
+
listContracts(user: any): Promise<Record<string, unknown>[]>;
|
|
321
|
+
getContract(user: any, id: number): Promise<{
|
|
322
|
+
mainRelatedPartyName: unknown;
|
|
323
|
+
projects: Record<string, unknown>[];
|
|
324
|
+
scheduleSummary: any[];
|
|
325
|
+
parties: Record<string, unknown>[];
|
|
326
|
+
signatures: Record<string, unknown>[];
|
|
327
|
+
financialTerms: Record<string, unknown>[];
|
|
328
|
+
documents: Record<string, unknown>[];
|
|
329
|
+
revisions: Record<string, unknown>[];
|
|
330
|
+
history: Record<string, unknown>[];
|
|
331
|
+
}>;
|
|
332
|
+
createContract(user: any, data: any): Promise<{
|
|
333
|
+
mainRelatedPartyName: unknown;
|
|
334
|
+
projects: Record<string, unknown>[];
|
|
335
|
+
scheduleSummary: any[];
|
|
336
|
+
parties: Record<string, unknown>[];
|
|
337
|
+
signatures: Record<string, unknown>[];
|
|
338
|
+
financialTerms: Record<string, unknown>[];
|
|
339
|
+
documents: Record<string, unknown>[];
|
|
340
|
+
revisions: Record<string, unknown>[];
|
|
341
|
+
history: Record<string, unknown>[];
|
|
342
|
+
}>;
|
|
343
|
+
updateContract(user: any, id: number, data: any): Promise<{
|
|
344
|
+
mainRelatedPartyName: unknown;
|
|
345
|
+
projects: Record<string, unknown>[];
|
|
346
|
+
scheduleSummary: any[];
|
|
347
|
+
parties: Record<string, unknown>[];
|
|
348
|
+
signatures: Record<string, unknown>[];
|
|
349
|
+
financialTerms: Record<string, unknown>[];
|
|
350
|
+
documents: Record<string, unknown>[];
|
|
351
|
+
revisions: Record<string, unknown>[];
|
|
352
|
+
history: Record<string, unknown>[];
|
|
353
|
+
}>;
|
|
354
|
+
listTimesheets(user: any): Promise<{
|
|
355
|
+
id: number;
|
|
356
|
+
collaboratorId: number;
|
|
357
|
+
collaboratorName: string;
|
|
358
|
+
approverCollaboratorId: number | null;
|
|
359
|
+
approverName: string | null;
|
|
360
|
+
weekStartDate: string;
|
|
361
|
+
weekEndDate: string;
|
|
362
|
+
totalHours: number | null;
|
|
363
|
+
status: string;
|
|
364
|
+
submittedAt: string | null;
|
|
365
|
+
reviewedAt: string | null;
|
|
366
|
+
notes: string | null;
|
|
367
|
+
decisionNote: string | null;
|
|
368
|
+
}[]>;
|
|
369
|
+
createTimesheet(user: any, data: any): Promise<any>;
|
|
370
|
+
updateTimesheet(user: any, id: number, data: any): Promise<any>;
|
|
371
|
+
submitTimesheet(user: any, id: number): Promise<any>;
|
|
372
|
+
listTimeOffRequests(user: any): Promise<Record<string, unknown>[]>;
|
|
373
|
+
createTimeOffRequest(user: any, data: any): Promise<Record<string, unknown>>;
|
|
374
|
+
listScheduleAdjustments(user: any): Promise<{
|
|
375
|
+
id: number;
|
|
376
|
+
collaboratorId: number;
|
|
377
|
+
collaboratorName: string;
|
|
378
|
+
approverCollaboratorId: number | null;
|
|
379
|
+
approverName: string | null;
|
|
380
|
+
requestScope: string;
|
|
381
|
+
effectiveStartDate: string;
|
|
382
|
+
effectiveEndDate: string | null;
|
|
383
|
+
status: string;
|
|
384
|
+
reason: string | null;
|
|
385
|
+
submittedAt: string | null;
|
|
386
|
+
reviewedAt: string | null;
|
|
387
|
+
approverNote: string | null;
|
|
388
|
+
}[]>;
|
|
389
|
+
createScheduleAdjustmentRequest(user: any, data: any): Promise<Record<string, unknown>>;
|
|
390
|
+
listApprovals(user: any): Promise<Record<string, unknown>[]>;
|
|
391
|
+
approve(user: any, id: number, data: any): Promise<Record<string, unknown>>;
|
|
392
|
+
reject(user: any, id: number, data: any): Promise<Record<string, unknown>>;
|
|
393
|
+
publishAccountsPayableReference(user: any, data: any): Promise<{
|
|
394
|
+
queued: boolean;
|
|
395
|
+
eventId: string;
|
|
396
|
+
eventName: string;
|
|
397
|
+
sourceEntityType: string;
|
|
398
|
+
sourceEntityId: string;
|
|
399
|
+
}>;
|
|
400
|
+
getSupervisorTeam(user: any): Promise<{
|
|
401
|
+
teamMembers: Record<string, unknown>[];
|
|
402
|
+
projectCount: number;
|
|
403
|
+
pendingApprovals: number;
|
|
404
|
+
pendingItems: {
|
|
405
|
+
timesheets: number;
|
|
406
|
+
timeOffRequests: number;
|
|
407
|
+
scheduleAdjustmentRequests: number;
|
|
408
|
+
};
|
|
409
|
+
teamProjects: Record<string, unknown>[];
|
|
410
|
+
pendingApprovalQueue: Record<string, unknown>[];
|
|
411
|
+
pendingTimeOffRequests: Record<string, unknown>[];
|
|
412
|
+
pendingScheduleAdjustmentRequests: Record<string, unknown>[];
|
|
413
|
+
}>;
|
|
414
|
+
}
|
|
415
|
+
//# sourceMappingURL=operations.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.controller.d.ts","sourceRoot":"","sources":["../src/operations.controller.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,qBAEa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,iBAAiB;IAGjE,YAAY,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;IAKzB,iBAAiB,CAAS,IAAI,KAAA;IAK9B,iBAAiB,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK9B,eAAe,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQnE,OAAO,CAAS,IAAI,KAAA;;;;;;;;;;;;;;IAKpB,kBAAkB,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK7C,kBAAkB,CACR,IAAI,KAAA,EACe,EAAE,EAAE,MAAM,EAC7B,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUd,YAAY,CAAS,IAAI,KAAA;IAKzB,UAAU,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK9D,aAAa,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKxC,aAAa,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM,EAAU,IAAI,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK/E,aAAa,CAAS,IAAI,KAAA;IAK1B,WAAW,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;;;;;;;;;;;IAK/D,cAAc,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;;;;;;;;;;;IAKzC,cAAc,CACJ,IAAI,KAAA,EACe,EAAE,EAAE,MAAM,EAC7B,IAAI,KAAA;;;;;;;;;;;IAMd,cAAc,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;IAK3B,eAAe,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;IAK1C,eAAe,CACL,IAAI,KAAA,EACe,EAAE,EAAE,MAAM,EAC7B,IAAI,KAAA;IAMd,eAAe,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;IAKnE,mBAAmB,CAAS,IAAI,KAAA;IAKhC,oBAAoB,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;IAK/C,uBAAuB,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;IAKpC,+BAA+B,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;IAQ1D,aAAa,CAAS,IAAI,KAAA;IAK1B,OAAO,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM,EAAU,IAAI,KAAA;IAKzE,MAAM,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM,EAAU,IAAI,KAAA;IAKxE,+BAA+B,CAAS,IAAI,KAAA,EAAU,IAAI,KAAA;;;;;;;IAQ1D,iBAAiB,CAAS,IAAI,KAAA;;;;;;;;;;;;;;CAG/B"}
|