AlmondTill/G3N API

EditSchedulableResourceInput

input type

Edit-input for a SchedulableResource. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved except userId, where null explicitly clears the staff link (the EditPlugin.apiKeyId nullish-clear law). The parent LF and resourceType are immutable at birth (re-home/re-kind = create + doom). A supplied workingHours array replaces wholesale.

Fields

FieldTypeRequiredNotes
captionStringno
userIdIDnoSet (staff-kind only — CONFLICT/REF_STATE else) or null-CLEAR the staff link.
capacityIntno1..100 — raising/lowering re-gates nothing retroactively (existing reservations stand; the ceiling applies at future confirms).
workingHoursWorkingHoursWindowInput [WorkingHoursWindowInput!]noThe wholesale replacement (strips every window).
codeStringno

Used by