RequestApprovalInput
input type
Request-input for requestApproval: a live gated action + its target + the parent coordinate (tillSessionId XOR logicalFacilityId) + the required reason.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
action | String String! | yes | The gated action. |
targetId | ID ID! | yes | The blocked action's target — the construct the action gates; state-gated to where the action's op fires. |
valueMinor | Int | no | The bound value (integer minor units) — required for discount.apply; refused for whole-target actions. |
tillSessionId | ID | no | The open TillSession the action runs in (the parent; XOR logicalFacilityId). |
logicalFacilityId | ID | no | The active LF the action runs at when no till session is involved (XOR tillSessionId). |
reason | String String! | yes | Why the requester needs the override. |
caption | String | no | Optional caption override. |