UpdateEmployeeContractPayload
Payload of the updateEmployeeContract mutation
type UpdateEmployeeContractPayload {
archivable: Boolean!
contract: EmployeeContract!
endedLendingCount: Int!
removedShiftCount: Int!
success: Boolean!
unassignedTourCount: Int!
withdrawnLendingOfferCount: Int!
}
Fields
UpdateEmployeeContractPayload.archivable ● Boolean! non-null scalar
True when the employee has no current or future contract any more, so they can be archived now.
UpdateEmployeeContractPayload.contract ● EmployeeContract! non-null object
The updated contract.
UpdateEmployeeContractPayload.endedLendingCount ● Int! non-null scalar
Number of accepted lendings to another park that were ended, not counting them in
unassignedTourCount.
UpdateEmployeeContractPayload.removedShiftCount ● Int! non-null scalar
Number of shifts removed from the live shift plan, not counting the shifts of unassigned tours.
UpdateEmployeeContractPayload.success ● Boolean! non-null scalar
True when every step completed. A partial update fails instead of reporting success.
UpdateEmployeeContractPayload.unassignedTourCount ● Int! non-null scalar
Number of tours the employee was unassigned from.
UpdateEmployeeContractPayload.withdrawnLendingOfferCount ● Int! non-null scalar
Number of lending requests on which a pending offer of the employee was withdrawn.
Returned By
updateEmployeeContract mutation