@hed-hog/operations 0.0.303 → 0.0.304
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 +200 -43
- package/dist/controllers/operations-approvals.controller.d.ts +9 -0
- package/dist/controllers/operations-approvals.controller.d.ts.map +1 -0
- package/dist/controllers/operations-approvals.controller.js +64 -0
- package/dist/controllers/operations-approvals.controller.js.map +1 -0
- package/dist/controllers/operations-collaborators.controller.d.ts +223 -0
- package/dist/controllers/operations-collaborators.controller.d.ts.map +1 -0
- package/dist/controllers/operations-collaborators.controller.js +96 -0
- package/dist/controllers/operations-collaborators.controller.js.map +1 -0
- package/dist/controllers/operations-contracts.controller.d.ts +683 -0
- package/dist/controllers/operations-contracts.controller.d.ts.map +1 -0
- package/dist/controllers/operations-contracts.controller.js +198 -0
- package/dist/controllers/operations-contracts.controller.js.map +1 -0
- package/dist/controllers/operations-org-structure.controller.d.ts +108 -0
- package/dist/controllers/operations-org-structure.controller.d.ts.map +1 -0
- package/dist/controllers/operations-org-structure.controller.js +143 -0
- package/dist/controllers/operations-org-structure.controller.js.map +1 -0
- package/dist/controllers/operations-projects.controller.d.ts +169 -0
- package/dist/controllers/operations-projects.controller.d.ts.map +1 -0
- package/dist/controllers/operations-projects.controller.js +87 -0
- package/dist/controllers/operations-projects.controller.js.map +1 -0
- package/dist/controllers/operations-tasks.controller.d.ts +54 -0
- package/dist/controllers/operations-tasks.controller.d.ts.map +1 -0
- package/dist/controllers/operations-tasks.controller.js +79 -0
- package/dist/controllers/operations-tasks.controller.js.map +1 -0
- package/dist/controllers/operations-timesheets.controller.d.ts +99 -0
- package/dist/controllers/operations-timesheets.controller.d.ts.map +1 -0
- package/dist/controllers/operations-timesheets.controller.js +154 -0
- package/dist/controllers/operations-timesheets.controller.js.map +1 -0
- package/dist/dto/create-collaborator-type.dto.d.ts +10 -0
- package/dist/dto/create-collaborator-type.dto.d.ts.map +1 -0
- package/dist/dto/create-collaborator-type.dto.js +56 -0
- package/dist/dto/create-collaborator-type.dto.js.map +1 -0
- package/dist/dto/create-collaborator.dto.d.ts +42 -0
- package/dist/dto/create-collaborator.dto.d.ts.map +1 -0
- package/dist/dto/create-collaborator.dto.js +228 -0
- package/dist/dto/create-collaborator.dto.js.map +1 -0
- package/dist/dto/create-schedule-adjustment-request.dto.d.ts +17 -0
- package/dist/dto/create-schedule-adjustment-request.dto.d.ts.map +1 -0
- package/dist/dto/create-schedule-adjustment-request.dto.js +89 -0
- package/dist/dto/create-schedule-adjustment-request.dto.js.map +1 -0
- package/dist/dto/create-task.dto.d.ts +8 -0
- package/dist/dto/create-task.dto.d.ts.map +1 -0
- package/dist/dto/create-task.dto.js +50 -0
- package/dist/dto/create-task.dto.js.map +1 -0
- package/dist/dto/create-time-off-request.dto.d.ts +9 -0
- package/dist/dto/create-time-off-request.dto.d.ts.map +1 -0
- package/dist/dto/create-time-off-request.dto.js +54 -0
- package/dist/dto/create-time-off-request.dto.js.map +1 -0
- package/dist/dto/create-timesheet-entry.dto.d.ts +12 -0
- package/dist/dto/create-timesheet-entry.dto.d.ts.map +1 -0
- package/dist/dto/create-timesheet-entry.dto.js +75 -0
- package/dist/dto/create-timesheet-entry.dto.js.map +1 -0
- package/dist/dto/list-collaborator-types.dto.d.ts +4 -0
- package/dist/dto/list-collaborator-types.dto.d.ts.map +1 -0
- package/dist/dto/list-collaborator-types.dto.js +29 -0
- package/dist/dto/list-collaborator-types.dto.js.map +1 -0
- package/dist/dto/list-collaborators.dto.d.ts +8 -0
- package/dist/dto/list-collaborators.dto.d.ts.map +1 -0
- package/dist/dto/list-collaborators.dto.js +42 -0
- package/dist/dto/list-collaborators.dto.js.map +1 -0
- package/dist/dto/list-project-options.dto.d.ts +4 -0
- package/dist/dto/list-project-options.dto.d.ts.map +1 -0
- package/dist/dto/list-project-options.dto.js +8 -0
- package/dist/dto/list-project-options.dto.js.map +1 -0
- package/dist/dto/list-tasks.dto.d.ts +7 -0
- package/dist/dto/list-tasks.dto.d.ts.map +1 -0
- package/dist/dto/list-tasks.dto.js +38 -0
- package/dist/dto/list-tasks.dto.js.map +1 -0
- package/dist/dto/list-timesheet-entries.dto.d.ts +10 -0
- package/dist/dto/list-timesheet-entries.dto.d.ts.map +1 -0
- package/dist/dto/list-timesheet-entries.dto.js +54 -0
- package/dist/dto/list-timesheet-entries.dto.js.map +1 -0
- package/dist/dto/update-collaborator-type.dto.d.ts +4 -0
- package/dist/dto/update-collaborator-type.dto.d.ts.map +1 -0
- package/dist/dto/update-collaborator-type.dto.js +8 -0
- package/dist/dto/update-collaborator-type.dto.js.map +1 -0
- package/dist/dto/update-collaborator.dto.d.ts +4 -0
- package/dist/dto/update-collaborator.dto.d.ts.map +1 -0
- package/dist/dto/update-collaborator.dto.js +8 -0
- package/dist/dto/update-collaborator.dto.js.map +1 -0
- package/dist/dto/update-task.dto.d.ts +8 -0
- package/dist/dto/update-task.dto.d.ts.map +1 -0
- package/dist/dto/update-task.dto.js +51 -0
- package/dist/dto/update-task.dto.js.map +1 -0
- package/dist/operations.controller.d.ts +0 -1045
- package/dist/operations.controller.d.ts.map +1 -1
- package/dist/operations.controller.js +0 -429
- package/dist/operations.controller.js.map +1 -1
- package/dist/operations.module.d.ts.map +1 -1
- package/dist/operations.module.js +23 -2
- package/dist/operations.module.js.map +1 -1
- package/dist/operations.service.d.ts +373 -8
- package/dist/operations.service.d.ts.map +1 -1
- package/dist/operations.service.js +1598 -111
- package/dist/operations.service.js.map +1 -1
- package/dist/operations.service.spec.js +315 -1
- package/dist/operations.service.spec.js.map +1 -1
- package/dist/services/shared/operations-access.service.d.ts +16 -0
- package/dist/services/shared/operations-access.service.d.ts.map +1 -0
- package/dist/services/shared/operations-access.service.js +48 -0
- package/dist/services/shared/operations-access.service.js.map +1 -0
- package/hedhog/data/dashboard.yaml +20 -0
- package/hedhog/data/dashboard_component.yaml +274 -0
- package/hedhog/data/dashboard_component_role.yaml +174 -0
- package/hedhog/data/dashboard_item.yaml +299 -0
- package/hedhog/data/dashboard_role.yaml +20 -0
- package/hedhog/data/menu.yaml +30 -13
- package/hedhog/data/operations_collaborator_type.yaml +76 -0
- package/hedhog/data/route.yaml +183 -0
- package/hedhog/frontend/app/_components/async-options-combobox.tsx.ejs +231 -0
- package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +134 -49
- package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +772 -93
- package/hedhog/frontend/app/_components/department-select-with-create.tsx.ejs +38 -16
- package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +875 -632
- package/hedhog/frontend/app/_components/timesheet-task-create-sheet.tsx.ejs +213 -0
- package/hedhog/frontend/app/_lib/api.ts.ejs +30 -1
- package/hedhog/frontend/app/_lib/types.ts.ejs +142 -39
- package/hedhog/frontend/app/_lib/utils/format.ts.ejs +33 -2
- package/hedhog/frontend/app/approvals/page.tsx.ejs +116 -98
- package/hedhog/frontend/app/collaborator-types/page.tsx.ejs +502 -0
- package/hedhog/frontend/app/collaborators/page.tsx.ejs +109 -68
- package/hedhog/frontend/app/contracts/templates/page.tsx.ejs +11 -9
- package/hedhog/frontend/app/departments/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/projects/page.tsx.ejs +5 -1
- package/hedhog/frontend/app/schedule-adjustments/page.tsx.ejs +244 -120
- package/hedhog/frontend/app/team/page.tsx.ejs +15 -2
- package/hedhog/frontend/app/time-off/page.tsx.ejs +158 -82
- package/hedhog/frontend/app/timesheets/page.tsx.ejs +814 -357
- package/hedhog/frontend/messages/en.json +243 -51
- package/hedhog/frontend/messages/pt.json +458 -268
- package/hedhog/table/operations_collaborator.yaml +26 -13
- package/hedhog/table/operations_collaborator_equity_participation.yaml +43 -0
- package/hedhog/table/operations_collaborator_type.yaml +33 -0
- package/hedhog/table/operations_job_title.yaml +24 -0
- package/hedhog/table/operations_project_assignment.yaml +9 -0
- package/hedhog/table/operations_project_role.yaml +39 -0
- package/hedhog/table/operations_task.yaml +30 -0
- package/hedhog/table/operations_timesheet_entry.yaml +12 -0
- package/package.json +6 -6
- package/src/controllers/operations-approvals.controller.ts +24 -0
- package/src/controllers/operations-collaborators.controller.ts +60 -0
- package/src/controllers/operations-contracts.controller.ts +138 -0
- package/src/controllers/operations-org-structure.controller.ts +92 -0
- package/src/controllers/operations-projects.controller.ts +50 -0
- package/src/controllers/operations-tasks.controller.ts +52 -0
- package/src/controllers/operations-timesheets.controller.ts +100 -0
- package/src/dto/create-collaborator-type.dto.ts +43 -0
- package/src/dto/create-collaborator.dto.ts +223 -0
- package/src/dto/create-schedule-adjustment-request.dto.ts +91 -0
- package/src/dto/create-task.dto.ts +35 -0
- package/src/dto/create-time-off-request.dto.ts +53 -0
- package/src/dto/create-timesheet-entry.dto.ts +67 -0
- package/src/dto/list-collaborator-types.dto.ts +15 -0
- package/src/dto/list-collaborators.dto.ts +30 -0
- package/src/dto/list-project-options.dto.ts +3 -0
- package/src/dto/list-tasks.dto.ts +25 -0
- package/src/dto/list-timesheet-entries.dto.ts +40 -0
- package/src/dto/update-collaborator-type.dto.ts +3 -0
- package/src/dto/update-collaborator.dto.ts +3 -0
- package/src/dto/update-task.dto.ts +36 -0
- package/src/operations.controller.ts +1 -278
- package/src/operations.module.ts +23 -2
- package/src/operations.service.spec.ts +450 -0
- package/src/operations.service.ts +4641 -2163
- package/src/services/shared/operations-access.service.ts +52 -0
|
@@ -0,0 +1,87 @@
|
|
|
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.OperationsProjectsController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const list_project_options_dto_1 = require("../dto/list-project-options.dto");
|
|
20
|
+
const operations_service_1 = require("../operations.service");
|
|
21
|
+
let OperationsProjectsController = class OperationsProjectsController {
|
|
22
|
+
constructor(operationsService) {
|
|
23
|
+
this.operationsService = operationsService;
|
|
24
|
+
}
|
|
25
|
+
listProjectOptions(user, paginationParams) {
|
|
26
|
+
return this.operationsService.listProjectOptions(Number((user === null || user === void 0 ? void 0 : user.id) || 0), paginationParams);
|
|
27
|
+
}
|
|
28
|
+
listProjects(user) {
|
|
29
|
+
return this.operationsService.listProjects(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
30
|
+
}
|
|
31
|
+
getProject(user, id) {
|
|
32
|
+
return this.operationsService.getProjectById(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
33
|
+
}
|
|
34
|
+
createProject(user, data) {
|
|
35
|
+
return this.operationsService.createProject(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
36
|
+
}
|
|
37
|
+
updateProject(user, id, data) {
|
|
38
|
+
return this.operationsService.updateProject(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
exports.OperationsProjectsController = OperationsProjectsController;
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, common_1.Get)('projects/options'),
|
|
44
|
+
__param(0, (0, api_1.User)()),
|
|
45
|
+
__param(1, (0, api_pagination_1.Pagination)()),
|
|
46
|
+
__metadata("design:type", Function),
|
|
47
|
+
__metadata("design:paramtypes", [Object, list_project_options_dto_1.ListOperationsProjectOptionsDto]),
|
|
48
|
+
__metadata("design:returntype", void 0)
|
|
49
|
+
], OperationsProjectsController.prototype, "listProjectOptions", null);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, common_1.Get)('projects'),
|
|
52
|
+
__param(0, (0, api_1.User)()),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Object]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], OperationsProjectsController.prototype, "listProjects", null);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, common_1.Get)('projects/:id'),
|
|
59
|
+
__param(0, (0, api_1.User)()),
|
|
60
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
61
|
+
__metadata("design:type", Function),
|
|
62
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
63
|
+
__metadata("design:returntype", void 0)
|
|
64
|
+
], OperationsProjectsController.prototype, "getProject", null);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, common_1.Post)('projects'),
|
|
67
|
+
__param(0, (0, api_1.User)()),
|
|
68
|
+
__param(1, (0, common_1.Body)()),
|
|
69
|
+
__metadata("design:type", Function),
|
|
70
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
71
|
+
__metadata("design:returntype", void 0)
|
|
72
|
+
], OperationsProjectsController.prototype, "createProject", null);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, common_1.Patch)('projects/:id'),
|
|
75
|
+
__param(0, (0, api_1.User)()),
|
|
76
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
77
|
+
__param(2, (0, common_1.Body)()),
|
|
78
|
+
__metadata("design:type", Function),
|
|
79
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
80
|
+
__metadata("design:returntype", void 0)
|
|
81
|
+
], OperationsProjectsController.prototype, "updateProject", null);
|
|
82
|
+
exports.OperationsProjectsController = OperationsProjectsController = __decorate([
|
|
83
|
+
(0, api_1.Role)(),
|
|
84
|
+
(0, common_1.Controller)('operations'),
|
|
85
|
+
__metadata("design:paramtypes", [operations_service_1.OperationsService])
|
|
86
|
+
], OperationsProjectsController);
|
|
87
|
+
//# sourceMappingURL=operations-projects.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations-projects.controller.js","sourceRoot":"","sources":["../../src/controllers/operations-projects.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA0C;AAC1C,4DAAqD;AACrD,2CAQwB;AACxB,8EAAkF;AAClF,8DAA0D;AAInD,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IACvC,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAGrE,kBAAkB,CACR,IAAI,EACE,gBAAiD;QAE/D,OAAO,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAC9C,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EACrB,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAGD,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,UAAU,CAAS,IAAI,EAA6B,EAAU;QAC5D,OAAO,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;I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C,YAAY,CAAC;qCAEyB,sCAAiB;GADtD,4BAA4B,CAiCxC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { CreateOperationsTaskDto } from '../dto/create-task.dto';
|
|
2
|
+
import { ListOperationsTasksDto } from '../dto/list-tasks.dto';
|
|
3
|
+
import { UpdateOperationsTaskDto } from '../dto/update-task.dto';
|
|
4
|
+
import { OperationsService } from '../operations.service';
|
|
5
|
+
export declare class OperationsTasksController {
|
|
6
|
+
private readonly operationsService;
|
|
7
|
+
constructor(operationsService: OperationsService);
|
|
8
|
+
listTasks(user: any, paginationParams: ListOperationsTasksDto): Promise<{
|
|
9
|
+
total: number;
|
|
10
|
+
lastPage: number;
|
|
11
|
+
page: number;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
prev: number;
|
|
14
|
+
next: number;
|
|
15
|
+
data: {
|
|
16
|
+
label: string;
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
description: string | null;
|
|
20
|
+
status: string;
|
|
21
|
+
projectId: number;
|
|
22
|
+
projectAssignmentId: number;
|
|
23
|
+
projectName: string;
|
|
24
|
+
projectCode: string | null;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
}[];
|
|
27
|
+
}>;
|
|
28
|
+
createTask(user: any, data: CreateOperationsTaskDto): Promise<{
|
|
29
|
+
label: string;
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
description: string | null;
|
|
33
|
+
status: string;
|
|
34
|
+
projectAssignmentId: number;
|
|
35
|
+
projectId: number;
|
|
36
|
+
projectName: string;
|
|
37
|
+
projectCode: string | null;
|
|
38
|
+
}>;
|
|
39
|
+
updateTask(user: any, id: number, data: UpdateOperationsTaskDto): Promise<{
|
|
40
|
+
label: string;
|
|
41
|
+
id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
description: string | null;
|
|
44
|
+
status: string;
|
|
45
|
+
projectAssignmentId: number;
|
|
46
|
+
projectId: number;
|
|
47
|
+
projectName: string;
|
|
48
|
+
projectCode: string | null;
|
|
49
|
+
}>;
|
|
50
|
+
removeTask(user: any, id: number): Promise<{
|
|
51
|
+
success: boolean;
|
|
52
|
+
}>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=operations-tasks.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations-tasks.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/operations-tasks.controller.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,qBAEa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,iBAAiB;IAGjE,SAAS,CACC,IAAI,KAAA,EACE,gBAAgB,EAAE,sBAAsB;;;;;;;;;;;;;;;;;;;;IASxD,UAAU,CAAS,IAAI,KAAA,EAAU,IAAI,EAAE,uBAAuB;;;;;;;;;;;IAK9D,UAAU,CACA,IAAI,KAAA,EACe,EAAE,EAAE,MAAM,EAC7B,IAAI,EAAE,uBAAuB;;;;;;;;;;;IAMvC,UAAU,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;;;CAG/D"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.OperationsTasksController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const create_task_dto_1 = require("../dto/create-task.dto");
|
|
20
|
+
const list_tasks_dto_1 = require("../dto/list-tasks.dto");
|
|
21
|
+
const update_task_dto_1 = require("../dto/update-task.dto");
|
|
22
|
+
const operations_service_1 = require("../operations.service");
|
|
23
|
+
let OperationsTasksController = class OperationsTasksController {
|
|
24
|
+
constructor(operationsService) {
|
|
25
|
+
this.operationsService = operationsService;
|
|
26
|
+
}
|
|
27
|
+
listTasks(user, paginationParams) {
|
|
28
|
+
return this.operationsService.listTasks(Number((user === null || user === void 0 ? void 0 : user.id) || 0), paginationParams);
|
|
29
|
+
}
|
|
30
|
+
createTask(user, data) {
|
|
31
|
+
return this.operationsService.createTask(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
32
|
+
}
|
|
33
|
+
updateTask(user, id, data) {
|
|
34
|
+
return this.operationsService.updateTask(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
35
|
+
}
|
|
36
|
+
removeTask(user, id) {
|
|
37
|
+
return this.operationsService.removeTask(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.OperationsTasksController = OperationsTasksController;
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, common_1.Get)('tasks'),
|
|
43
|
+
__param(0, (0, api_1.User)()),
|
|
44
|
+
__param(1, (0, api_pagination_1.Pagination)()),
|
|
45
|
+
__metadata("design:type", Function),
|
|
46
|
+
__metadata("design:paramtypes", [Object, list_tasks_dto_1.ListOperationsTasksDto]),
|
|
47
|
+
__metadata("design:returntype", void 0)
|
|
48
|
+
], OperationsTasksController.prototype, "listTasks", null);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, common_1.Post)('tasks'),
|
|
51
|
+
__param(0, (0, api_1.User)()),
|
|
52
|
+
__param(1, (0, common_1.Body)()),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Object, create_task_dto_1.CreateOperationsTaskDto]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], OperationsTasksController.prototype, "createTask", null);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, common_1.Patch)('tasks/:id'),
|
|
59
|
+
__param(0, (0, api_1.User)()),
|
|
60
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
61
|
+
__param(2, (0, common_1.Body)()),
|
|
62
|
+
__metadata("design:type", Function),
|
|
63
|
+
__metadata("design:paramtypes", [Object, Number, update_task_dto_1.UpdateOperationsTaskDto]),
|
|
64
|
+
__metadata("design:returntype", void 0)
|
|
65
|
+
], OperationsTasksController.prototype, "updateTask", null);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, common_1.Delete)('tasks/:id'),
|
|
68
|
+
__param(0, (0, api_1.User)()),
|
|
69
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
70
|
+
__metadata("design:type", Function),
|
|
71
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
72
|
+
__metadata("design:returntype", void 0)
|
|
73
|
+
], OperationsTasksController.prototype, "removeTask", null);
|
|
74
|
+
exports.OperationsTasksController = OperationsTasksController = __decorate([
|
|
75
|
+
(0, api_1.Role)(),
|
|
76
|
+
(0, common_1.Controller)('operations'),
|
|
77
|
+
__metadata("design:paramtypes", [operations_service_1.OperationsService])
|
|
78
|
+
], OperationsTasksController);
|
|
79
|
+
//# sourceMappingURL=operations-tasks.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations-tasks.controller.js","sourceRoot":"","sources":["../../src/controllers/operations-tasks.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA0C;AAC1C,4DAAqD;AACrD,2CASwB;AACxB,4DAAiE;AACjE,0DAA+D;AAC/D,4DAAiE;AACjE,8DAA0D;AAInD,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAGrE,SAAS,CACC,IAAI,EACE,gBAAwC;QAEtD,OAAO,IAAI,CAAC,iBAAiB,CAAC,SAAS,CACrC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EACrB,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAGD,UAAU,CAAS,IAAI,EAAU,IAA6B;QAC5D,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IAGD,UAAU,CACA,IAAI,EACe,EAAU,EAC7B,IAA6B;QAErC,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAGD,UAAU,CAAS,IAAI,EAA6B,EAAU;QAC5D,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;CACF,CAAA;AAhCY,8DAAyB;AAIpC;IADC,IAAA,YAAG,EAAC,OAAO,CAAC;IAEV,WAAA,IAAA,UAAI,GAAE,CAAA;IACN,WAAA,IAAA,2BAAU,GAAE,CAAA;;6CAAmB,uCAAsB;;0DAMvD;AAGD;IADC,IAAA,aAAI,EAAC,OAAO,CAAC;IACF,WAAA,IAAA,UAAI,GAAE,CAAA;IAAQ,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,yCAAuB;;2DAE7D;AAGD;IADC,IAAA,cAAK,EAAC,WAAW,CAAC;IAEhB,WAAA,IAAA,UAAI,GAAE,CAAA;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;IACzB,WAAA,IAAA,aAAI,GAAE,CAAA;;qDAAO,yCAAuB;;2DAGtC;AAGD;IADC,IAAA,eAAM,EAAC,WAAW,CAAC;IACR,WAAA,IAAA,UAAI,GAAE,CAAA;IAAQ,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;2DAElD;oCA/BU,yBAAyB;IAFrC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,YAAY,CAAC;qCAEyB,sCAAiB;GADtD,yBAAyB,CAgCrC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { CreateScheduleAdjustmentRequestDto } from '../dto/create-schedule-adjustment-request.dto';
|
|
2
|
+
import { CreateTimeOffRequestDto } from '../dto/create-time-off-request.dto';
|
|
3
|
+
import { CreateTimesheetEntryDto } from '../dto/create-timesheet-entry.dto';
|
|
4
|
+
import { ListTimesheetEntriesDto } from '../dto/list-timesheet-entries.dto';
|
|
5
|
+
import { OperationsService } from '../operations.service';
|
|
6
|
+
export declare class OperationsTimesheetsController {
|
|
7
|
+
private readonly operationsService;
|
|
8
|
+
constructor(operationsService: OperationsService);
|
|
9
|
+
listTimesheets(user: any): Promise<{
|
|
10
|
+
id: number;
|
|
11
|
+
collaboratorId: number;
|
|
12
|
+
collaboratorName: string;
|
|
13
|
+
approverCollaboratorId: number | null;
|
|
14
|
+
approverName: string | null;
|
|
15
|
+
weekStartDate: string;
|
|
16
|
+
weekEndDate: string;
|
|
17
|
+
totalHours: number | null;
|
|
18
|
+
status: string;
|
|
19
|
+
submittedAt: string | null;
|
|
20
|
+
reviewedAt: string | null;
|
|
21
|
+
notes: string | null;
|
|
22
|
+
decisionNote: string | null;
|
|
23
|
+
}[]>;
|
|
24
|
+
listTimesheetEntries(user: any, paginationParams: ListTimesheetEntriesDto): Promise<{
|
|
25
|
+
total: number;
|
|
26
|
+
lastPage: number;
|
|
27
|
+
page: number;
|
|
28
|
+
pageSize: number;
|
|
29
|
+
prev: number;
|
|
30
|
+
next: number;
|
|
31
|
+
data: {
|
|
32
|
+
label: string;
|
|
33
|
+
id: number;
|
|
34
|
+
timesheetId: number;
|
|
35
|
+
collaboratorId: number;
|
|
36
|
+
projectId: number | null;
|
|
37
|
+
projectAssignmentId: number | null;
|
|
38
|
+
projectCode: string | null;
|
|
39
|
+
projectName: string | null;
|
|
40
|
+
taskId: number | null;
|
|
41
|
+
taskName: string | null;
|
|
42
|
+
activityLabel: string | null;
|
|
43
|
+
workDate: string;
|
|
44
|
+
durationMinutes: number | null;
|
|
45
|
+
hours: number | null;
|
|
46
|
+
description: string | null;
|
|
47
|
+
status: string;
|
|
48
|
+
weekStartDate: string;
|
|
49
|
+
weekEndDate: string;
|
|
50
|
+
createdAt: string;
|
|
51
|
+
}[];
|
|
52
|
+
}>;
|
|
53
|
+
createTimesheetEntry(user: any, data: CreateTimesheetEntryDto): Promise<{
|
|
54
|
+
label: string;
|
|
55
|
+
id: number;
|
|
56
|
+
timesheetId: number;
|
|
57
|
+
collaboratorId: number;
|
|
58
|
+
projectId: number | null;
|
|
59
|
+
projectAssignmentId: number | null;
|
|
60
|
+
projectCode: string | null;
|
|
61
|
+
projectName: string | null;
|
|
62
|
+
taskId: number | null;
|
|
63
|
+
taskName: string | null;
|
|
64
|
+
activityLabel: string | null;
|
|
65
|
+
workDate: string;
|
|
66
|
+
durationMinutes: number | null;
|
|
67
|
+
hours: number | null;
|
|
68
|
+
description: string | null;
|
|
69
|
+
status: string;
|
|
70
|
+
weekStartDate: string;
|
|
71
|
+
weekEndDate: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
}>;
|
|
74
|
+
removeTimesheetEntry(user: any, id: number): Promise<{
|
|
75
|
+
success: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
createTimesheet(user: any, data: any): Promise<any>;
|
|
78
|
+
updateTimesheet(user: any, id: number, data: any): Promise<any>;
|
|
79
|
+
submitTimesheet(user: any, id: number): Promise<any>;
|
|
80
|
+
listTimeOffRequests(user: any): Promise<Record<string, unknown>[]>;
|
|
81
|
+
createTimeOffRequest(user: any, data: CreateTimeOffRequestDto): Promise<Record<string, unknown>>;
|
|
82
|
+
listScheduleAdjustments(user: any): Promise<{
|
|
83
|
+
id: number;
|
|
84
|
+
collaboratorId: number;
|
|
85
|
+
collaboratorName: string;
|
|
86
|
+
approverCollaboratorId: number | null;
|
|
87
|
+
approverName: string | null;
|
|
88
|
+
requestScope: string;
|
|
89
|
+
effectiveStartDate: string;
|
|
90
|
+
effectiveEndDate: string | null;
|
|
91
|
+
status: string;
|
|
92
|
+
reason: string | null;
|
|
93
|
+
submittedAt: string | null;
|
|
94
|
+
reviewedAt: string | null;
|
|
95
|
+
approverNote: string | null;
|
|
96
|
+
}[]>;
|
|
97
|
+
createScheduleAdjustmentRequest(user: any, data: CreateScheduleAdjustmentRequestDto): Promise<Record<string, unknown>>;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=operations-timesheets.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations-timesheets.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/operations-timesheets.controller.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,qBAEa,8BAA8B;IAC7B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,iBAAiB;IAGjE,cAAc,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;IAK3B,oBAAoB,CACV,IAAI,KAAA,EACE,gBAAgB,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASzD,oBAAoB,CAAS,IAAI,KAAA,EAAU,IAAI,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;IAQxE,oBAAoB,CAAS,IAAI,KAAA,EAA6B,EAAE,EAAE,MAAM;;;IAKxE,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,CACV,IAAI,KAAA,EACJ,IAAI,EAAE,uBAAuB;IAMvC,uBAAuB,CAAS,IAAI,KAAA;;;;;;;;;;;;;;;IAKpC,+BAA+B,CACrB,IAAI,KAAA,EACJ,IAAI,EAAE,kCAAkC;CAOnD"}
|
|
@@ -0,0 +1,154 @@
|
|
|
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.OperationsTimesheetsController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const create_schedule_adjustment_request_dto_1 = require("../dto/create-schedule-adjustment-request.dto");
|
|
20
|
+
const create_time_off_request_dto_1 = require("../dto/create-time-off-request.dto");
|
|
21
|
+
const create_timesheet_entry_dto_1 = require("../dto/create-timesheet-entry.dto");
|
|
22
|
+
const list_timesheet_entries_dto_1 = require("../dto/list-timesheet-entries.dto");
|
|
23
|
+
const operations_service_1 = require("../operations.service");
|
|
24
|
+
let OperationsTimesheetsController = class OperationsTimesheetsController {
|
|
25
|
+
constructor(operationsService) {
|
|
26
|
+
this.operationsService = operationsService;
|
|
27
|
+
}
|
|
28
|
+
listTimesheets(user) {
|
|
29
|
+
return this.operationsService.listTimesheets(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
30
|
+
}
|
|
31
|
+
listTimesheetEntries(user, paginationParams) {
|
|
32
|
+
return this.operationsService.listTimesheetEntries(Number((user === null || user === void 0 ? void 0 : user.id) || 0), paginationParams);
|
|
33
|
+
}
|
|
34
|
+
createTimesheetEntry(user, data) {
|
|
35
|
+
return this.operationsService.createTimesheetEntry(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
36
|
+
}
|
|
37
|
+
removeTimesheetEntry(user, id) {
|
|
38
|
+
return this.operationsService.removeTimesheetEntry(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
39
|
+
}
|
|
40
|
+
createTimesheet(user, data) {
|
|
41
|
+
return this.operationsService.createTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
42
|
+
}
|
|
43
|
+
updateTimesheet(user, id, data) {
|
|
44
|
+
return this.operationsService.updateTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id, data);
|
|
45
|
+
}
|
|
46
|
+
submitTimesheet(user, id) {
|
|
47
|
+
return this.operationsService.submitTimesheet(Number((user === null || user === void 0 ? void 0 : user.id) || 0), id);
|
|
48
|
+
}
|
|
49
|
+
listTimeOffRequests(user) {
|
|
50
|
+
return this.operationsService.listTimeOffRequests(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
51
|
+
}
|
|
52
|
+
createTimeOffRequest(user, data) {
|
|
53
|
+
return this.operationsService.createTimeOffRequest(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
54
|
+
}
|
|
55
|
+
listScheduleAdjustments(user) {
|
|
56
|
+
return this.operationsService.listScheduleAdjustments(Number((user === null || user === void 0 ? void 0 : user.id) || 0));
|
|
57
|
+
}
|
|
58
|
+
createScheduleAdjustmentRequest(user, data) {
|
|
59
|
+
return this.operationsService.createScheduleAdjustmentRequest(Number((user === null || user === void 0 ? void 0 : user.id) || 0), data);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
exports.OperationsTimesheetsController = OperationsTimesheetsController;
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, common_1.Get)('timesheets'),
|
|
65
|
+
__param(0, (0, api_1.User)()),
|
|
66
|
+
__metadata("design:type", Function),
|
|
67
|
+
__metadata("design:paramtypes", [Object]),
|
|
68
|
+
__metadata("design:returntype", void 0)
|
|
69
|
+
], OperationsTimesheetsController.prototype, "listTimesheets", null);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, common_1.Get)('timesheet-entries'),
|
|
72
|
+
__param(0, (0, api_1.User)()),
|
|
73
|
+
__param(1, (0, api_pagination_1.Pagination)()),
|
|
74
|
+
__metadata("design:type", Function),
|
|
75
|
+
__metadata("design:paramtypes", [Object, list_timesheet_entries_dto_1.ListTimesheetEntriesDto]),
|
|
76
|
+
__metadata("design:returntype", void 0)
|
|
77
|
+
], OperationsTimesheetsController.prototype, "listTimesheetEntries", null);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, common_1.Post)('timesheet-entries'),
|
|
80
|
+
__param(0, (0, api_1.User)()),
|
|
81
|
+
__param(1, (0, common_1.Body)()),
|
|
82
|
+
__metadata("design:type", Function),
|
|
83
|
+
__metadata("design:paramtypes", [Object, create_timesheet_entry_dto_1.CreateTimesheetEntryDto]),
|
|
84
|
+
__metadata("design:returntype", void 0)
|
|
85
|
+
], OperationsTimesheetsController.prototype, "createTimesheetEntry", null);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, common_1.Delete)('timesheet-entries/:id'),
|
|
88
|
+
__param(0, (0, api_1.User)()),
|
|
89
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
90
|
+
__metadata("design:type", Function),
|
|
91
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
92
|
+
__metadata("design:returntype", void 0)
|
|
93
|
+
], OperationsTimesheetsController.prototype, "removeTimesheetEntry", null);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, common_1.Post)('timesheets'),
|
|
96
|
+
__param(0, (0, api_1.User)()),
|
|
97
|
+
__param(1, (0, common_1.Body)()),
|
|
98
|
+
__metadata("design:type", Function),
|
|
99
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
100
|
+
__metadata("design:returntype", void 0)
|
|
101
|
+
], OperationsTimesheetsController.prototype, "createTimesheet", null);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, common_1.Patch)('timesheets/:id'),
|
|
104
|
+
__param(0, (0, api_1.User)()),
|
|
105
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
106
|
+
__param(2, (0, common_1.Body)()),
|
|
107
|
+
__metadata("design:type", Function),
|
|
108
|
+
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
109
|
+
__metadata("design:returntype", void 0)
|
|
110
|
+
], OperationsTimesheetsController.prototype, "updateTimesheet", null);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, common_1.Post)('timesheets/:id/submit'),
|
|
113
|
+
__param(0, (0, api_1.User)()),
|
|
114
|
+
__param(1, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
115
|
+
__metadata("design:type", Function),
|
|
116
|
+
__metadata("design:paramtypes", [Object, Number]),
|
|
117
|
+
__metadata("design:returntype", void 0)
|
|
118
|
+
], OperationsTimesheetsController.prototype, "submitTimesheet", null);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, common_1.Get)('time-off'),
|
|
121
|
+
__param(0, (0, api_1.User)()),
|
|
122
|
+
__metadata("design:type", Function),
|
|
123
|
+
__metadata("design:paramtypes", [Object]),
|
|
124
|
+
__metadata("design:returntype", void 0)
|
|
125
|
+
], OperationsTimesheetsController.prototype, "listTimeOffRequests", null);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, common_1.Post)('time-off'),
|
|
128
|
+
__param(0, (0, api_1.User)()),
|
|
129
|
+
__param(1, (0, common_1.Body)()),
|
|
130
|
+
__metadata("design:type", Function),
|
|
131
|
+
__metadata("design:paramtypes", [Object, create_time_off_request_dto_1.CreateTimeOffRequestDto]),
|
|
132
|
+
__metadata("design:returntype", void 0)
|
|
133
|
+
], OperationsTimesheetsController.prototype, "createTimeOffRequest", null);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, common_1.Get)('schedule-adjustments'),
|
|
136
|
+
__param(0, (0, api_1.User)()),
|
|
137
|
+
__metadata("design:type", Function),
|
|
138
|
+
__metadata("design:paramtypes", [Object]),
|
|
139
|
+
__metadata("design:returntype", void 0)
|
|
140
|
+
], OperationsTimesheetsController.prototype, "listScheduleAdjustments", null);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, common_1.Post)('schedule-adjustments'),
|
|
143
|
+
__param(0, (0, api_1.User)()),
|
|
144
|
+
__param(1, (0, common_1.Body)()),
|
|
145
|
+
__metadata("design:type", Function),
|
|
146
|
+
__metadata("design:paramtypes", [Object, create_schedule_adjustment_request_dto_1.CreateScheduleAdjustmentRequestDto]),
|
|
147
|
+
__metadata("design:returntype", void 0)
|
|
148
|
+
], OperationsTimesheetsController.prototype, "createScheduleAdjustmentRequest", null);
|
|
149
|
+
exports.OperationsTimesheetsController = OperationsTimesheetsController = __decorate([
|
|
150
|
+
(0, api_1.Role)(),
|
|
151
|
+
(0, common_1.Controller)('operations'),
|
|
152
|
+
__metadata("design:paramtypes", [operations_service_1.OperationsService])
|
|
153
|
+
], OperationsTimesheetsController);
|
|
154
|
+
//# sourceMappingURL=operations-timesheets.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations-timesheets.controller.js","sourceRoot":"","sources":["../../src/controllers/operations-timesheets.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA0C;AAC1C,4DAAqD;AACrD,2CASwB;AACxB,0GAAmG;AACnG,oFAA6E;AAC7E,kFAA4E;AAC5E,kFAA4E;AAC5E,8DAA0D;AAInD,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IACzC,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAGrE,cAAc,CAAS,IAAI;QACzB,OAAO,IAAI,CAAC,iBAAiB,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AAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,YAAY,CAAC;qCAEyB,sCAAiB;GADtD,8BAA8B,CA+E1C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class CreateCollaboratorTypeDto {
|
|
2
|
+
name: string;
|
|
3
|
+
slug?: string | null;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
category?: string | null;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
sortOrder?: number | null;
|
|
8
|
+
status?: 'active' | 'inactive';
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=create-collaborator-type.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-collaborator-type.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-collaborator-type.dto.ts"],"names":[],"mappings":"AASA,qBAAa,yBAAyB;IAGpC,IAAI,EAAG,MAAM,CAAC;IAKd,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK5B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAOnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,MAAM,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;CAChC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.CreateCollaboratorTypeDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateCollaboratorTypeDto {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateCollaboratorTypeDto = CreateCollaboratorTypeDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.MaxLength)(120),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateCollaboratorTypeDto.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.MaxLength)(80),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateCollaboratorTypeDto.prototype, "slug", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateCollaboratorTypeDto.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.MaxLength)(60),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateCollaboratorTypeDto.prototype, "category", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsBoolean)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], CreateCollaboratorTypeDto.prototype, "isActive", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_transformer_1.Transform)(({ value }) => value === '' || value === undefined || value === null ? undefined : Number(value)),
|
|
48
|
+
(0, class_validator_1.IsInt)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], CreateCollaboratorTypeDto.prototype, "sortOrder", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CreateCollaboratorTypeDto.prototype, "status", void 0);
|
|
56
|
+
//# sourceMappingURL=create-collaborator-type.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-collaborator-type.dto.js","sourceRoot":"","sources":["../../src/dto/create-collaborator-type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAMyB;AAEzB,MAAa,yBAAyB;CAiCrC;AAjCD,8DAiCC;AA9BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;uDACD;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;uDACO;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACiB;AAK5B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;2DACW;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2DACO;AAOnB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACvB,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAClF;IACA,IAAA,uBAAK,GAAE;;4DACkB;AAI1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACoB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare class CollaboratorWeeklyScheduleDayDto {
|
|
2
|
+
weekday: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
3
|
+
isWorkingDay?: boolean;
|
|
4
|
+
startTime?: string | null;
|
|
5
|
+
endTime?: string | null;
|
|
6
|
+
breakMinutes?: number | null;
|
|
7
|
+
}
|
|
8
|
+
export declare class CollaboratorEquityParticipationDto {
|
|
9
|
+
participationType?: 'partner_quota_holder' | 'common_shareholder' | 'preferred_shareholder' | 'administrator' | 'other';
|
|
10
|
+
percentage?: number | null;
|
|
11
|
+
votingPower?: number | null;
|
|
12
|
+
startDate?: string | null;
|
|
13
|
+
endDate?: string | null;
|
|
14
|
+
notes?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class CreateCollaboratorDto {
|
|
17
|
+
userId?: number | null;
|
|
18
|
+
personId?: number | null;
|
|
19
|
+
code?: string | null;
|
|
20
|
+
displayName?: string | null;
|
|
21
|
+
collaboratorTypeId?: number | null;
|
|
22
|
+
collaboratorTypeSlug?: string | null;
|
|
23
|
+
collaboratorType?: string | null;
|
|
24
|
+
department?: string | null;
|
|
25
|
+
departmentId?: number | null;
|
|
26
|
+
jobTitleId?: number | null;
|
|
27
|
+
title?: string | null;
|
|
28
|
+
levelLabel?: string | null;
|
|
29
|
+
supervisorCollaboratorId?: number | null;
|
|
30
|
+
weeklyCapacityHours?: number | null;
|
|
31
|
+
status?: 'draft' | 'active' | 'on_leave' | 'inactive';
|
|
32
|
+
joinedAt?: string | null;
|
|
33
|
+
leftAt?: string | null;
|
|
34
|
+
compensationAmount?: number | null;
|
|
35
|
+
contractDescription?: string | null;
|
|
36
|
+
autoGenerateContractDraft?: boolean;
|
|
37
|
+
weeklySchedule?: CollaboratorWeeklyScheduleDayDto[];
|
|
38
|
+
equityParticipation?: CollaboratorEquityParticipationDto | null;
|
|
39
|
+
notes?: string | null;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=create-collaborator.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-collaborator.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-collaborator.dto.ts"],"names":[],"mappings":"AAaA,cAAM,gCAAgC;IAWpC,OAAO,EACH,QAAQ,GACR,SAAS,GACT,WAAW,GACX,UAAU,GACV,QAAQ,GACR,UAAU,GACV,QAAQ,CAAC;IAIb,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,qBAAa,kCAAkC;IAS7C,iBAAiB,CAAC,EACd,sBAAsB,GACtB,oBAAoB,GACpB,uBAAuB,GACvB,eAAe,GACf,OAAO,CAAC;IAOZ,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAO3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,qBAAa,qBAAqB;IAMhC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAOvB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKzB,IAAI,CAAC,EAAE,MA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