Production

Jobs

Explore the data types and operations available in Jobs.

250 operations

updateBatchMutation

Update a batch; validates tenant, scope and references

updateBatchComponentMutation

Update a batchComponent; validates tenant, scope and references

updateBatchContributionMutation

Update a batchContribution; validates tenant, scope and references

updateCapabilityMutation

Update a capability. Only provided fields are changed. Requires capability:write permission.

updateComponentMutation

Update a component. Only provided fields are changed. Requires component:write permission.

updateComponentGroupMutation

Update a component section. Only provided fields are changed. Requires componentGroup:write permission.

updateEntityNoteMutation

Save note changes independently of embedding success

updateJobMutation

Update a job. Only provided fields are changed. Requires job:write permission.

updateMilestoneMutation

Update a milestone. Only provided fields are changed. Requires milestone:write permission.

updateOperationMutation

Update an operation. Only provided fields are changed. Requires operation:write permission.

updateOperationEdgeMutation

Update a single operation dependency edge. Only provided fields are changed. Requires operation:write permission.

updateOperationItemMutation

Update an operation item. Only provided fields are changed. Requires operation:write permission.

updateOperationItemEdgeMutation

Patch a single item-level dependency edge. Requires operation:write permission.

updatePlannedOperationQuantitiesMutation

Update only quantities on one planned step without replacing its identity, schedule allocations, durations or legacy productionQuantity.

updateProductionCellMutation

Update a production cell. Only provided fields are changed. Requires productionCell:write permission.

updateProductionPlanMutation

Update a production plan. Only provided fields are changed. Requires productionPlan:write permission.

updateScheduleAllocationMutation

Update a schedule allocation. Only provided fields are changed. Requires scheduleScenario:write permission.

updateScheduleScenarioMutation

Update a schedule scenario. Only provided fields are changed. Requires scheduleScenario:write permission.

updateShiftDefinitionMutation

Patch an existing shift definition and stamp updatedAt. An unknown id, and any validation failure, come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.

updateTaskMutation

Edit task metadata without changing its lifecycle. Requires task:write permission.

updateWorkCenterMutation

Update a work center. Only provided fields are changed. Requires workCenter:write permission.

updateWorkCenterCapabilityMutation

Patches an existing work center capability assignment and refreshes its updatedAt. Returns an "id" error when no such assignment exists in the caller's tenant, and persists nothing if a constraint URI fails validation. Requires workCenter:write permission.

updateWorkCenterDeviceMutation

Update a work center ↔ device binding. Only provided fields are changed. Requires workCenter:write.

updateWorkCenterShiftProfileMutation

Partially updates an existing work center shift profile. Returns an id error when no such profile exists in the caller's tenant. Requires workCenter:write.

upsertCapabilityMutation

Create a capability, or replace an existing one wholesale when input.id is given. Unlike createCapability/updateCapability this does not reject a duplicate code. The capability is written under the caller's tenant. Requires capability:write permission.

upsertComponentMutation

Create or update a component. Requires component:write permission.

upsertComponentGroupMutation

Create or update a component section. Requires componentGroup:write permission.

upsertJobMutation

Create or update a job. Requires job:write permission.

upsertMilestoneMutation

Create or update a milestone. Requires milestone:write permission.

upsertOperationMutation

Create or update an operation. Requires operation:write permission.

upsertOperationGraphMutation

Replace a job's entire operation dependency graph: all existing edges for the job are deleted and the supplied ones inserted, in a single transaction that also applies any operation scheduling preferences. Validation (endpoint scopes, no self-loops, no duplicates, no cycles) is atomic with the write; on failure nothing changes and the errors are returned in the payload. Requires operation:write permission.

upsertOperationItemMutation

Create or update a single operation item. Requires operation:write permission.

upsertOperationItemEdgesMutation

Batch upsert item-level dependency edges. Requires operation:write permission.

upsertOperationItemsMutation

Batch upsert operation items for an operation (replaces all existing items). Requires operation:write permission.

upsertProductionCellMutation

Create a production cell, or fully overwrite an existing one when input.id names one in the caller's tenant. Requires productionCell:write permission.

upsertProductionPlanMutation

Create or overwrite a production plan together with its full set of planned operations and edges, in one transaction. Children are replaced wholesale (delete-then-insert). Validation failures are returned in the payload's `errors` rather than thrown. Requires productionPlan:write permission.

upsertScheduleAllocationMutation

Create a schedule allocation, or overwrite an existing one when input.id is supplied (createdAt is preserved). Requires scheduleScenario:write permission.

upsertScheduleScenarioMutation

Create a schedule scenario, or fully replace an existing one when input.id is given. Rejected when the target scenario is locked. Requires scheduleScenario:write permission.

upsertShiftDefinitionMutation

Create or overwrite a shift definition in one call. When input.id names an existing definition its createdAt is preserved; otherwise a new "shd" TypeID is minted. Validation failures come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.

upsertWorkCenterMutation

Create a work center, or fully overwrite an existing one when input.id matches one in the caller's tenant. Unlike updateWorkCenter this replaces every field, so omitted optional fields are cleared. Requires workCenter:write permission.

upsertWorkCenterCapabilityMutation

Creates or wholly overwrites a work center capability assignment. Unlike update, every field is taken from the input, so omitted constraints clear the stored list; an existing record keeps its original createdAt. Requires workCenter:write permission.

upsertWorkCenterDeviceMutation

Bind a controller device to a work center (or update its priority/active flag). Requires workCenter:write.

upsertWorkCenterShiftProfileMutation

Creates a work center shift profile, or fully replaces an existing one when input.id is supplied (createdAt is preserved). Requires workCenter:write.

voidTaskTimeEntryMutation

Void a time entry: it stays on record but counts toward no total. To correct an entry, void it and log the time again. Voiding twice changes nothing. The person who logged it, or a task:write holder.

workCenterBehaviorProfileQuery

The latest behaviour profile version of a work centre, or null when none has been built. Requires workCenterBehaviorProfile:read permission.

workCenterBehaviorProfilesQuery

Behaviour profile versions, paginated. Requires workCenterBehaviorProfile:list permission.

workCenterTwinEventsQuery

A work centre's twin transitions, newest first, of both tracks unless `track` narrows them. Requires workCenterBehaviorProfile:read permission.

workCenterTwinShadowQuery

The live shadow of one work centre, computed now. Requires workCenterBehaviorProfile:read permission.

workCenterTwinShadowChangedSubscription

Streams twin transitions as they are recorded — shadow transitions per operation and for the work centre as a whole, and pace-track transitions (STEADY, SLOWING, ENDED) — from the event bus — so a transition recorded by any node reaches the subscriber. Ends at once for a work centre this tenant cannot see, or when the server runs without an event bus. Requires workCenterBehaviorProfile:read permission.

workCenterTwinShadowsQuery

Work centres with a live shadow, newest transition first, each entry judged now; the filter applies to the state recorded by the latest transition, so an entry's live state may already differ. Catch-up confidences are the figures recorded at the latest transition (null once the judgement has moved on) — a page never replays the queue; workCenterTwinShadow recomputes them. Requires workCenterBehaviorProfile:read permission.