INPUT_OBJECT

UpdateJobTypeMutationInput

The input object that defines the fields for the updateJobType mutation.

link GraphQL Schema definition

  • input UpdateJobTypeMutationInput {
  • # A descriptive name.
  • name: String
  • # Whether or not this is enabled.
  • enabled: Boolean
  • # The default length for a `Job` created using this `JobType`.
  • default_length_in_minutes: Int
  • # A 6 character hexadecimal string, representing a color used in HTML.
  • color: HtmlHexColor
  • # An icon.
  • icon: Icon
  • # Whether `Job`s associated with this `JobType` should be able to be completed
  • # with incomplete tasks.
  • allow_completion_with_incomplete_tasks: Boolean
  • # Whether or not this `JobType` is valid for all `Companies`.
  • all_companies: Boolean
  • # If this is set, any `Job` using this `JobType` that is completed successfully
  • # while associated with an `Account` will trigger the disconnection of the
  • # `Account`.
  • disconnects_account: Boolean
  • # If this is set, any `Job` using this `JobType` that is completed successfully
  • # while associated with an `Account` will change the `Account` to this
  • # `AccountStatus`.
  • account_status_id_completion: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed unsuccessfully
  • # while associated with an `Account` will change the `Account` to this
  • # `AccountStatus`.
  • account_status_id_failure: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed successfully
  • # will create a `Ticket` and assign it to this `TicketGroup`.
  • ticket_group_id_completion: Int64Bit
  • # If this is set, any `Job` using this `JobType` that is completed unsuccessfully
  • # will create a `Ticket` and assign it to this `TicketGroup`.
  • ticket_group_id_failure: Int64Bit
  • # The ID of a `ContractTemplate`.
  • contract_template_id: Int64Bit
  • # The ID of a `TaskTemplate`.
  • task_template_id: Int64Bit
  • # IDs of `Companies`.
  • company_ids: [Int64Bit]
  • # IDs of `Service`s.
  • service_ids: [Int64Bit]
  • # Completion ticket action.
  • action_on_completion: JobTypeAction
  • # Failure ticket action.
  • action_on_failure: JobTypeAction
  • # Ticket status on completion.
  • ticket_status_on_completion: TicketStatus
  • # Ticket status on failure.
  • ticket_status_on_failure: TicketStatus
  • # A note about this entity.
  • note: NoteMutationInput
  • # Setting this value to `true` will set `account_status_id_completion` to null.
  • unset_account_status_id_completion: Boolean
  • # Setting this value to `true` will set `account_status_id_failure` to null.
  • unset_account_status_id_failure: Boolean
  • # Setting this value to `true` will set `ticket_group_id_completion` to null.
  • unset_ticket_group_id_completion: Boolean
  • # Setting this value to `true` will set `ticket_group_id_failure` to null.
  • unset_ticket_group_id_failure: Boolean
  • # Setting this value to `true` will set `contract_template_id` to null.
  • unset_contract_template_id: Boolean
  • # Setting this value to `true` will set `task_template_id` to null.
  • unset_task_template_id: Boolean
  • }

link Require by