Customer
No description
type Customer {
activeQuotes(
filter: ActiveQuoteFilter
first: Int
offset: Int
orderBy: [ActiveQuoteOrderBy!]
): [ActiveQuote!]!
affiliate: Affiliate
affiliateId: UUID
businessAbn: String
businessIndustry: String
businessName: String
class: String
classByClass: Class
contractor: Contractor
createdAt: Datetime!
email: String!
events(
filter: EventFilter
first: Int
offset: Int
orderBy: [EventOrderBy!]
): [Event!]!
files: [File]
firstName: String!
flags: JSON
id: UUID!
isFdvDisclosed: Boolean
isTcsAccepted: Boolean!
isVerifiedMobile: Boolean!
lastName: String!
mobile: String
primeContractor: String
projects(
filter: ProjectFilter
first: Int
offset: Int
orderBy: [ProjectOrderBy!]
): [Project!]!
projectsConnection(
after: Cursor
before: Cursor
filter: ProjectFilter
first: Int
last: Int
offset: Int
orderBy: [ProjectOrderBy!] = [PRIMARY_KEY_ASC]
): ProjectConnection!
quotes(
filter: QuoteFilter
first: Int
offset: Int
orderBy: [QuoteOrderBy!]
): [Quote!]!
ref: String!
registrationStatus: PublicRegistrationState!
retailOffers(
filter: RetailOfferFilter
first: Int
offset: Int
orderBy: [RetailOfferOrderBy!]
): [RetailOffer!]!
retailer: Retailer
retailerCode: String
reviews(
filter: ReviewFilter
first: Int
offset: Int
orderBy: [ReviewOrderBy!]
): [Review!]!
sites(
filter: SiteFilter
first: Int
offset: Int
orderBy: [SiteOrderBy!]
): [Site!]!
stripeCustomerId: String
tcsAcceptedAt: Datetime
updatedAt: Datetime!
xref: String
}
Fields
Customer.activeQuotes
● [ActiveQuote!]!
non-null object
Reads and enables pagination through a set of ActiveQuote
.
Customer.activeQuotes.filter
● ActiveQuoteFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.activeQuotes.first
● Int
scalar
Only read the first n
values of the set.
Customer.activeQuotes.offset
● Int
scalar
Skip the first n
values.
Customer.activeQuotes.orderBy
● [ActiveQuoteOrderBy!]
list enum
The method to use when ordering ActiveQuote
.
Customer.affiliate
● Affiliate
object
Reads a single Affiliate
that is related to this Customer
.
Customer.affiliateId
● UUID
scalar
Customer.businessAbn
● String
scalar
Customer.businessIndustry
● String
scalar
Customer.businessName
● String
scalar
Customer.class
● String
scalar
Customer.classByClass
● Class
object
Reads a single Class
that is related to this Customer
.
Customer.contractor
● Contractor
object
Reads a single Contractor
that is related to this Customer
.
Customer.createdAt
● Datetime!
non-null scalar
Customer.email
● String!
non-null scalar
Customer.events
● [Event!]!
non-null object
Reads and enables pagination through a set of Event
.
Customer.events.filter
● EventFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.events.first
● Int
scalar
Only read the first n
values of the set.
Customer.events.offset
● Int
scalar
Skip the first n
values.
Customer.events.orderBy
● [EventOrderBy!]
list enum
The method to use when ordering Event
.
Customer.files
● [File]
list object
Customer.firstName
● String!
non-null scalar
Customer.flags
● JSON
scalar
Customer.id
● UUID!
non-null scalar
Customer.isFdvDisclosed
● Boolean
scalar
Customer.isTcsAccepted
● Boolean!
non-null scalar
Customer.isVerifiedMobile
● Boolean!
non-null scalar
Customer.lastName
● String!
non-null scalar
Customer.mobile
● String
scalar
format: ^+[1-9]{1}[0-9]{0,2}[0-9]{10,12}$
Customer.primeContractor
● String
scalar
Customer.projects
● [Project!]!
non-null object
Reads and enables pagination through a set of Project
.
Customer.projects.filter
● ProjectFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.projects.first
● Int
scalar
Only read the first n
values of the set.
Customer.projects.offset
● Int
scalar
Skip the first n
values.
Customer.projects.orderBy
● [ProjectOrderBy!]
list enum
The method to use when ordering Project
.
Customer.projectsConnection
● ProjectConnection!
non-null object
Reads and enables pagination through a set of Project
.
Customer.projectsConnection.after
● Cursor
scalar
Read all values in the set after (below) this cursor.
Customer.projectsConnection.before
● Cursor
scalar
Read all values in the set before (above) this cursor.
Customer.projectsConnection.filter
● ProjectFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.projectsConnection.first
● Int
scalar
Only read the first n
values of the set.
Customer.projectsConnection.last
● Int
scalar
Only read the last n
values of the set.
Customer.projectsConnection.offset
● Int
scalar
Skip the first n
values from our after
cursor, an alternative to cursor
based pagination. May not be used with last
.
Customer.projectsConnection.orderBy
● [ProjectOrderBy!]
list enum
The method to use when ordering Project
.
Customer.quotes
● [Quote!]!
non-null object
Reads and enables pagination through a set of Quote
.
Customer.quotes.filter
● QuoteFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.quotes.first
● Int
scalar
Only read the first n
values of the set.
Customer.quotes.offset
● Int
scalar
Skip the first n
values.
Customer.quotes.orderBy
● [QuoteOrderBy!]
list enum
The method to use when ordering Quote
.
Customer.ref
● String!
non-null scalar
Customer.registrationStatus
● PublicRegistrationState!
non-null enum
Customer.retailOffers
● [RetailOffer!]!
non-null object
Reads and enables pagination through a set of RetailOffer
.
Customer.retailOffers.filter
● RetailOfferFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.retailOffers.first
● Int
scalar
Only read the first n
values of the set.
Customer.retailOffers.offset
● Int
scalar
Skip the first n
values.
Customer.retailOffers.orderBy
● [RetailOfferOrderBy!]
list enum
The method to use when ordering RetailOffer
.
Customer.retailer
● Retailer
object
Reads a single Retailer
that is related to this Customer
.
Customer.retailerCode
● String
scalar
Customer.reviews
● [Review!]!
non-null object
Reads and enables pagination through a set of Review
.
Customer.reviews.filter
● ReviewFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.reviews.first
● Int
scalar
Only read the first n
values of the set.
Customer.reviews.offset
● Int
scalar
Skip the first n
values.
Customer.reviews.orderBy
● [ReviewOrderBy!]
list enum
The method to use when ordering Review
.
Customer.sites
● [Site!]!
non-null object
Reads and enables pagination through a set of Site
.
Customer.sites.filter
● SiteFilter
input
A filter to be used in determining which values should be returned by the collection.
Customer.sites.first
● Int
scalar
Only read the first n
values of the set.
Customer.sites.offset
● Int
scalar
Skip the first n
values.
Customer.sites.orderBy
● [SiteOrderBy!]
list enum
The method to use when ordering Site
.
Customer.stripeCustomerId
● String
scalar
Customer.tcsAcceptedAt
● Datetime
scalar
Customer.updatedAt
● Datetime!
non-null scalar
Customer.xref
● String
scalar
Returned By
customer
query ● customerByEmail
query ● customerByRef
query ● customers
query
Member Of
ActiveQuote
object ● Affiliate
object ● Class
object ● Contractor
object ● CustomerConnection
object ● CustomerEdge
object ● Event
object ● Project
object ● Quote
object ● Retailer
object ● RetailOffer
object ● Review
object ● Site
object