Logotipo Hedhog

Get Hedhog updates in your inbox

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

operations Submodule

collaborators-org

Collaborators, org-structure catalogs, assignments, payment/invoice history, and personal context endpoints.

Source path: libraries/operations/src/controllers/operations-collaborators.controller.ts, operations-org-structure.controller.ts

Module file: operations.module.ts

Introduction

This submodule joins together the people model of Operations: collaborator records, their assignments, supporting org-structure catalogs, and contextual “me” endpoints.

It is effectively the HR and resource-planning spine of the package. Beyond core collaborator CRUD, it also tracks invoices, payment history, compensation history, department/job title catalogs, collaborator types, and project-role definitions.

HTTP Endpoints

31 endpoints

List collaborator options for selectors.

List collaborators.

Return collaborator stats.

Return the current collaborator record.

Return current-user collaborator context.

Return the team visible to the current user.

Get one collaborator.

Params
id (int)

Create a collaborator.

Update a collaborator.

Params
id (int)

List collaborator compensation history.

Params
id (int)

List collaborator payment history.

Params
id (int)

Create a collaborator payment-history item.

Params
id (int)

Update collaborator payment history.

Params
id (int), paymentId (int)

Delete collaborator payment history.

Params
id (int), paymentId (int)

List collaborator invoices.

Params
id (int)

Create a collaborator invoice.

Params
id (int)

Update a collaborator invoice.

Params
id (int), invoiceId (int)

Delete a collaborator invoice.

Params
id (int), invoiceId (int)

Assign a collaborator to a project.

Params
collaboratorId (int)

Update a collaborator project assignment.

Params
collaboratorId (int), projectId (int)

List collaborator types.

Create a collaborator type.

Reorder collaborator types.

Update a collaborator type.

Params
id (int)

List project roles.

Create a project role.

List departments.

Create a department.

Update a department.

Params
id (int)

List job titles.

Create a job title.