Job
No description
type Job {
activeJobs(
filter: ActiveJobFilter
first: Int
offset: Int
orderBy: [ActiveJobOrderBy!]
): [ActiveJob!]!
assets(
filter: AssetFilter
first: Int
offset: Int
orderBy: [AssetOrderBy!]
): [Asset!]!
assignedAt: Datetime
bomItems(
filter: BomItemFilter
first: Int
offset: Int
orderBy: [BomItemOrderBy!]
): [BomItem!]!
cancelReason: String
cancelledByUserId: String
childJobs(
filter: JobFilter
first: Int
offset: Int
orderBy: [JobOrderBy!]
): [Job!]!
childJobsConnection(
after: Cursor
before: Cursor
filter: JobFilter
first: Int
last: Int
offset: Int
orderBy: [JobOrderBy!] = [NATURAL]
): JobConnection!
contractor: Contractor
createdAt: Datetime!
files: [File]
id: UUID
installerCompanyId: String
isAssignedToApp: Boolean
jobHistories(
filter: JobHistoryFilter
first: Int
offset: Int
orderBy: [JobHistoryOrderBy!]
): [JobHistory!]!
jobType: JobType
jobTypeId: UUID
note: String
parentJob: Job
parentJobId: UUID
primeContractor: String
project: Project
projectId: UUID!
projectsByActiveJobId(
filter: ProjectFilter
first: Int
offset: Int
orderBy: [ProjectOrderBy!]
): [Project!]!
projectsByActiveJobIdConnection(
after: Cursor
before: Cursor
filter: ProjectFilter
first: Int
last: Int
offset: Int
orderBy: [ProjectOrderBy!] = [PRIMARY_KEY_ASC]
): ProjectConnection!
quote: Quote
quoteId: UUID
ref: String
rejectReason: String
rejectedByInstallerUserId: String
rescheduleReason: String
reviews(
filter: ReviewFilter
first: Int
offset: Int
orderBy: [ReviewOrderBy!]
): [Review!]!
scheduledAt: Datetime
site: Site
siteId: String!
state: PublicJobstatusenum!
type: String!
updatedAt: Datetime!
weatherForecast: WeatherForecast
}
Fields
Job.activeJobs
● [ActiveJob!]!
non-null object
Reads and enables pagination through a set of ActiveJob
.
Job.activeJobs.filter
● ActiveJobFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.activeJobs.first
● Int
scalar
Only read the first n
values of the set.
Job.activeJobs.offset
● Int
scalar
Skip the first n
values.
Job.activeJobs.orderBy
● [ActiveJobOrderBy!]
list enum
The method to use when ordering ActiveJob
.
Job.assets
● [Asset!]!
non-null object
Reads and enables pagination through a set of Asset
.
Job.assets.filter
● AssetFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.assets.first
● Int
scalar
Only read the first n
values of the set.
Job.assets.offset
● Int
scalar
Skip the first n
values.
Job.assets.orderBy
● [AssetOrderBy!]
list enum
The method to use when ordering Asset
.
Job.assignedAt
● Datetime
scalar
Job.bomItems
● [BomItem!]!
non-null object
Reads and enables pagination through a set of BomItem
.
Job.bomItems.filter
● BomItemFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.bomItems.first
● Int
scalar
Only read the first n
values of the set.
Job.bomItems.offset
● Int
scalar
Skip the first n
values.
Job.bomItems.orderBy
● [BomItemOrderBy!]
list enum
The method to use when ordering BomItem
.
Job.cancelReason
● String
scalar
Job.cancelledByUserId
● String
scalar
Job.childJobs
● [Job!]!
non-null object
Reads and enables pagination through a set of Job
.
Job.childJobs.filter
● JobFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.childJobs.first
● Int
scalar
Only read the first n
values of the set.
Job.childJobs.offset
● Int
scalar
Skip the first n
values.
Job.childJobs.orderBy
● [JobOrderBy!]
list enum
The method to use when ordering Job
.
Job.childJobsConnection
● JobConnection!
non-null object
Reads and enables pagination through a set of Job
.
Job.childJobsConnection.after
● Cursor
scalar
Read all values in the set after (below) this cursor.
Job.childJobsConnection.before
● Cursor
scalar
Read all values in the set before (above) this cursor.
Job.childJobsConnection.filter
● JobFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.childJobsConnection.first
● Int
scalar
Only read the first n
values of the set.
Job.childJobsConnection.last
● Int
scalar
Only read the last n
values of the set.
Job.childJobsConnection.offset
● Int
scalar
Skip the first n
values from our after
cursor, an alternative to cursor
based pagination. May not be used with last
.
Job.childJobsConnection.orderBy
● [JobOrderBy!]
list enum
The method to use when ordering Job
.
Job.contractor
● Contractor
object
Reads a single Contractor
that is related to this Job
.
Job.createdAt
● Datetime!
non-null scalar
Job.files
● [File]
list object
Job.id
● UUID
scalar
Job.installerCompanyId
● String
scalar
Job.isAssignedToApp
● Boolean
scalar
Job.jobHistories
● [JobHistory!]!
non-null object
Reads and enables pagination through a set of JobHistory
.
Job.jobHistories.filter
● JobHistoryFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.jobHistories.first
● Int
scalar
Only read the first n
values of the set.
Job.jobHistories.offset
● Int
scalar
Skip the first n
values.
Job.jobHistories.orderBy
● [JobHistoryOrderBy!]
list enum
The method to use when ordering JobHistory
.
Job.jobType
● JobType
object
Reads a single JobType
that is related to this Job
.
Job.jobTypeId
● UUID
scalar
Job.note
● String
scalar
Job.parentJob
● Job
object
Reads a single Job
that is related to this Job
.
Job.parentJobId
● UUID
scalar
Job.primeContractor
● String
scalar
Job.project
● Project
object
Reads a single Project
that is related to this Job
.
Job.projectId
● UUID!
non-null scalar
Job.projectsByActiveJobId
● [Project!]!
non-null object
Reads and enables pagination through a set of Project
.
Job.projectsByActiveJobId.filter
● ProjectFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.projectsByActiveJobId.first
● Int
scalar
Only read the first n
values of the set.
Job.projectsByActiveJobId.offset
● Int
scalar
Skip the first n
values.
Job.projectsByActiveJobId.orderBy
● [ProjectOrderBy!]
list enum
The method to use when ordering Project
.
Job.projectsByActiveJobIdConnection
● ProjectConnection!
non-null object
Reads and enables pagination through a set of Project
.
Job.projectsByActiveJobIdConnection.after
● Cursor
scalar
Read all values in the set after (below) this cursor.
Job.projectsByActiveJobIdConnection.before
● Cursor
scalar
Read all values in the set before (above) this cursor.
Job.projectsByActiveJobIdConnection.filter
● ProjectFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.projectsByActiveJobIdConnection.first
● Int
scalar
Only read the first n
values of the set.
Job.projectsByActiveJobIdConnection.last
● Int
scalar
Only read the last n
values of the set.
Job.projectsByActiveJobIdConnection.offset
● Int
scalar
Skip the first n
values from our after
cursor, an alternative to cursor
based pagination. May not be used with last
.
Job.projectsByActiveJobIdConnection.orderBy
● [ProjectOrderBy!]
list enum
The method to use when ordering Project
.
Job.quote
● Quote
object
Reads a single Quote
that is related to this Job
.
Job.quoteId
● UUID
scalar
Job.ref
● String
scalar
Job.rejectReason
● String
scalar
Job.rejectedByInstallerUserId
● String
scalar
Job.rescheduleReason
● String
scalar
Job.reviews
● [Review!]!
non-null object
Reads and enables pagination through a set of Review
.
Job.reviews.filter
● ReviewFilter
input
A filter to be used in determining which values should be returned by the collection.
Job.reviews.first
● Int
scalar
Only read the first n
values of the set.
Job.reviews.offset
● Int
scalar
Skip the first n
values.
Job.reviews.orderBy
● [ReviewOrderBy!]
list enum
The method to use when ordering Review
.
Job.scheduledAt
● Datetime
scalar
Job.site
● Site
object
Reads a single Site
that is related to this Job
.
Job.siteId
● String!
non-null scalar
Job.state
● PublicJobstatusenum!
non-null enum
Job.type
● String!
non-null scalar
Job.updatedAt
● Datetime!
non-null scalar
Job.weatherForecast
● WeatherForecast
object
Reads a single WeatherForecast
that is related to this Job
.
Returned By
jobs
query
Member Of
ActiveJob
object ● Asset
object ● BomItem
object ● Job
object ● JobConnection
object ● JobEdge
object ● JobHistory
object ● JobType
object ● Project
object ● Quote
object ● Review
object ● Site
object ● WeatherForecast
object