Logotipo Hedhog

Get Hedhog updates in your inbox

New releases, fresh recipes, and breaking changes — no spam.

operations Submodule

costs-finance

Collaborator costs, project cost catalogs, project cost entries, and finance-focused project summaries.

Source path: libraries/operations/src/controllers/operations-collaborator-costs.controller.ts, operations-project-costs.controller.ts, operations-project-finance.controller.ts

Module file: operations.module.ts

Introduction

This submodule bridges Operations with cost control. On one side it tracks collaborator cost types and collaborator-specific costs; on the other it manages project cost categories/types and project cost summaries or reports.

There is also a small financial summary view over projects, making this area the closest integration seam between Operations and Finance.

HTTP Endpoints

31 endpoints

List collaborator cost types.

List collaborator-cost-type mappings.

Create a cost type.

Create a collaborator-cost-type mapping.

Get collaborator cost summary.

Params
id (int)

List collaborator costs.

Params
id (int)

Create a collaborator cost.

Params
id (int)

Update a collaborator cost.

Params
id (int), costId (int)

Update a collaborator cost by global cost ID.

Params
id (int)

Delete a collaborator cost.

Params
id (int), costId (int)

Delete a collaborator cost by ID.

Params
id (int)

List project cost categories.

Create a project cost category.

Get one project cost category.

Params
id (int)

Update a project cost category.

Params
id (int)

Delete a project cost category.

Params
id (int)

List project cost types.

Get one project cost type.

Params
id (int)

Create a project cost type.

Update a project cost type.

Params
id (int)

Delete a project cost type.

Params
id (int)

Get project cost summary.

Params
projectId (int)

Get project costs summary view.

Params
projectId (int)

Get project cost report.

Params
projectId (int)

Get one project cost.

Params
projectId (int), id (int)

List project costs.

Params
projectId (int)

Create a project cost.

Params
projectId (int)

Update a project cost.

Params
projectId (int), id (int)

Delete a project cost.

Params
projectId (int), id (int)

List project finance overview data.

Get financial summary for one project.

Params
id (int)