Skip to main content

UserMutationsClassMethods

No description

type UserMutationsClassMethods {
login(userName: String, password: String, captcha: String): q2LoginResponse
register(input: GQLUserRegister): User
logout: Boolean
getToken(userName: String, password: String): String
changeUserOrder(
ip: String
userId: ID = 0
ccard: CreditCardObject
voucherCode: String
products: [String] = []
schedule: Boolean
): User
forgotPassword(
email: String
ip: String
captcha: String
captchaKey: String
): Boolean
validateEmail(email: String): Boolean
createUser(
ip: String
username: String
password: String
firstName: String
lastName: String
mobileNumber: String
mobileCountry: String
email: String
country: String
buildingCode: String
verificationCode: String
streetNo: String
address: String
suburb: String
state: String
postCode: String
building: String
unitNo: String
countryId: ID = 0
): createUser
purchaseAndCreateUser(
ip: String
username: String
password: String
firstName: String
lastName: String
mobileNumber: String
mobileCountry: String
email: String
country: String
voucherCode: String
buildingCode: String
verificationCode: String
products: [String] = []
creditCard: CreditCardObject
streetNo: String
address: String
suburb: String
state: String
postCode: String
building: String
unitNo: String
countryId: ID = 0
schedule: String
provisioning: Boolean
): CustomUser
createUserForGroup(
firstName: String
lastName: String
email: String
limited: Boolean
start: String
end: String
groupId: ID = 0
addressId: ID = 0
mobileNumber: String
mobileCountry: String
notes: String
unit: String
password: String
): UserGroup
acceptTnc: Boolean
resetUserConnection(id: ID = 0): Boolean
}

Fields#

login (q2LoginResponse)#

register (User)#

logout (Boolean)#

getToken (String)#

changeUserOrder (User)#

forgotPassword (Boolean)#

validateEmail (Boolean)#

createUser (createUser)#

purchaseAndCreateUser (CustomUser)#

createUserForGroup (UserGroup)#

acceptTnc (Boolean)#

resetUserConnection (Boolean)#