Module: Static::CreateUser

Defined in:
lib/static.rb

Constant Summary collapse

Name =
"createUser"
Query =
<<-EOS
  mutation createUser($userInfo: UserRegisterInput!, $invitationCode: String, $keepPassword: Boolean){
  createUser(userInfo: $userInfo, invitationCode: $invitationCode, keepPassword: $keepPassword){
      _id
      email
      unionid
      openid
      emailVerified
      phone
      phoneVerified
      username
      nickname
      company
      photo
      browser
      device
      password
      registerInClient
      registerMethod
      oauth
      token
      tokenExpiredAt
      loginsCount
      lastLogin
      lastIP
      signedUp
      blocked
      isDeleted
      name
      givenName
      familyName
      middleName
      profile
      preferredUsername
      website
      gender
      birthdate
      zoneinfo
      locale
      address
      formatted
      streetAddress
      locality
      region
      postalCode
      country
      updatedAt
      group{
          _id
          name
          descriptions
          client
          permissions
          createdAt
      }
      clientType{
          _id
          name
          description
          image
          example
      }
      userLocation{
          _id
          when
          where
      }
      userLoginHistory{
          totalCount
      }
      systemApplicationType{
          _id
          name
          descriptions
          price
      }
      thirdPartyIdentity{
          provider
          refreshToken
          accessToken
          expiresIn
          updatedAt
      }
      customData
      metadata
  }
}
EOS