Skip to main content

EndCustomer

End customer

type EndCustomer {
id: String!
uniqueIdNumber: String!
companyName: String!
sites: [Site!]
devices: [Device!]
integrator: Integrator
isGoogleOauthMandatory: Boolean!
isMicrosoftOauthMandatory: Boolean!
isDefault: Boolean!
address: String!
city: String!
zipCode: String!
country: String!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

EndCustomer.id ● String! non-null scalar

The ID of the end customer

EndCustomer.uniqueIdNumber ● String! non-null scalar

The unique ID number of the end customer

EndCustomer.companyName ● String! non-null scalar

The name of the end customer

EndCustomer.sites ● [Site!] list object

The sites that belong to the end customer

EndCustomer.devices ● [Device!] list object

The devices that belong to the end customer

EndCustomer.integrator ● Integrator object

The integrator that the end customer belongs to

EndCustomer.isGoogleOauthMandatory ● Boolean! non-null scalar

The flag that indicates if the user related to this end customer is mandatory to use Google OAuth

EndCustomer.isMicrosoftOauthMandatory ● Boolean! non-null scalar

The flag that indicates if the user related to this end customer is mandatory to use Google OAuth

EndCustomer.isDefault ● Boolean! non-null scalar

Whether the site is the default end customer for integrator

EndCustomer.address ● String! non-null scalar

The address of the end customer

EndCustomer.city ● String! non-null scalar

The city of the end customer

EndCustomer.zipCode ● String! non-null scalar

The zip code of the end customer

EndCustomer.country ● String! non-null scalar

The country of the end customer

EndCustomer.createdAt ● DateTime! non-null scalar

The date and time when the end customer was created

EndCustomer.updatedAt ● DateTime! non-null scalar

The date and time when the end customer was last updated

Returned By

createEndCustomer mutation ● findEndCustomerById query ● getAllEndCustomers query ● updateEndCustomerInfos mutation ● updateEndCustomerOauthProviderRule mutation

Member Of

GetIntegratorInfosOutput object ● Integrator object ● Site object