WorkCenterShiftProfileState
A shift profile assigning a shift definition to a work center for a validity period
TypeID of this shift profile (prefix "wsp", e.g. "wsp_01K…").
TypeID of the work center this profile schedules (prefix "wcr").
TypeID of the shift definition the work center runs during this profile's validity window (prefix "shd").
ISO-8601 timestamp at which this shift assignment starts applying. Profiles of a work center are listed ordered by this value, ascending.
ISO-8601 timestamp at which this shift assignment stops applying. Null means the assignment is open-ended. When set it must be strictly after validFrom.
ISO-8601 timestamp at which the profile row was first created. Preserved across updates and across an upsert that targets an existing id.
ISO-8601 timestamp of the last write to this profile.
View exact SDL
"""
A shift profile assigning a shift definition to a work center for a validity period
"""
type WorkCenterShiftProfileState @iac_resource(name: "work_center_shift_profile") @iac_ops(create: "createWorkCenterShiftProfile", read: "getWorkCenterShiftProfile", update: "updateWorkCenterShiftProfile", delete: "deleteWorkCenterShiftProfile") {
"""TypeID of this shift profile (prefix "wsp", e.g. "wsp_01K…")."""
id: WorkCenterShiftProfileID! @iac_identity(assignedBy: SERVER) @iac_computed
"""TypeID of the work center this profile schedules (prefix "wcr")."""
workCenterId: WorkCenterID! @iac_ref(resource: "work_center") @iac_createOnly
"""
TypeID of the shift definition the work center runs during this profile's validity window (prefix "shd").
"""
shiftDefinitionId: ShiftDefinitionID! @iac_ref(resource: "shift_definition") @iac_createOnly
"""
ISO-8601 timestamp at which this shift assignment starts applying. Profiles of a work center are listed ordered by this value, ascending.
"""
validFrom: ISO8601!
"""
ISO-8601 timestamp at which this shift assignment stops applying. Null means the assignment is open-ended. When set it must be strictly after validFrom.
"""
validUntil: ISO8601
"""
ISO-8601 timestamp at which the profile row was first created. Preserved across updates and across an upsert that targets an existing id.
"""
createdAt: ISO8601! @iac_computed
"""ISO-8601 timestamp of the last write to this profile."""
updatedAt: ISO8601! @iac_computed
}One stable address across all schema views. Follow a field’s type to explore connections between domains.