# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

type CollectionTokenItem {
  prefix: String!
  token: String!
}

type CollectionToken {
  tokens: [CollectionTokenItem!]!
  default: String!
}

type User {
  expiresAt: DateTime
  resetToken: String
  password: String!
  history: [String]
  tag: String!
  email: String!
  phone: String!
  collectionTokens: CollectionToken!
  person: ID!
  type: ID
}

"""
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
"""
scalar DateTime

type Query {
  users: [User!]!
  user(id: ID!): User
}

type Mutation {
  createUser(input: CreateUserInput!): User!
}

input CreateUserInput {
  password: String!
  history: [String!]
  tag: String!
  email: String!
  phone: String!
  collectionTokens: CollectionTokenInput!
  person: ID!
  type: ID
}

input CollectionTokenInput {
  tokens: [CollectionTokenItemInput!]!
  default: String!
}

input CollectionTokenItemInput {
  prefix: String!
  token: String!
}