INPUT_OBJECT

CreateUserInput

CreateUserInput is used for create User object. Input was generated by ent.

link GraphQL Schema definition

  • input CreateUserInput {
  • # Whether this is an anonymous user
  • isAnonymous: Boolean
  • # Session token for anonymous users
  • sessionToken: String
  • # The first name of the user
  • firstName: String
  • # The last name of the user
  • lastName: String
  • # (Deprecated, use status instead) Whether the user is disabled
  • disabled: Boolean
  • # The status of the user
  • status: UserStatus
  • # The verification status of the user
  • verificationStatus: UserVerificationStatus
  • # The number of verification attempts the user has made
  • verificationAttempts: Int
  • # The last time the user attempted verification
  • verificationLastAttemptedAt: Time
  • # The phone number of the user, stored in E.164 format
  • phone: String
  • # The email address of the user
  • email: String
  • # The password of the user, stored as a bcrypt hash
  • password: String
  • # The username of the user
  • username: String
  • # The credential of the user, ie MD, DO, PA, NP, etc. Note: Credentials are
  • # normalized to uppercase and any periods are removed.
  • credential: String
  • # The NPI number of the user
  • npiNumber: String
  • # The NPI taxonomy code of the user
  • npiTaxonomyCode: String
  • # The NPI taxonomy description of the user
  • npiTaxonomyDescription: String
  • # The bio of the user
  • bio: String
  • # Whether the user is a student
  • isStudent: Boolean
  • # Whether the user has submitted a disclosure
  • hasSubmittedDisclosure: Boolean
  • # Whether the user has disclosures needing review
  • hasDisclosuresNeedingReview: Boolean
  • # Whether reflections are disabled on posts authored by this user
  • reflectionsOnAuthoredPostsDisabled: Boolean
  • type: UserType
  • # The role of the user
  • role: UserRole
  • # The limited roles of the user. Null or Empty array means no limited roles.
  • limitedRoles: [String!]
  • createdAt: Time
  • updatedAt: Time
  • # The last time the user logged in
  • lastLoginAt: Time
  • # The CME goal value of the user
  • cmeGoalValue: String
  • # The CME goal date of the user
  • cmeGoalDate: Time
  • # The total CME earned by the user
  • totalCmeEarned: Float
  • # Whether the user has should appear in the suggested users list
  • suggested: Boolean
  • # The financial disclosures for the user
  • financialDisclosures: String
  • # Whether the user is an oog staff user
  • isStaff: Boolean
  • # The total number of followers the user has
  • totalFollowers: Int
  • # The total number of users the user is following
  • totalFollowing: Int
  • # The trending boost of the user.
  • trendingBoost: Float
  • # Whether the user is synthetic ie. not a human user
  • synthetic: Boolean
  • # Whether the user posts AI generated content
  • isAi: Boolean
  • # Whether the user is a business account
  • isBusinessAccount: Boolean
  • # The date of birth of the user
  • dob: Time
  • # The start date of the professional experience of the user
  • professionalExperienceStartDate: Time
  • # The city the user is located in
  • city: String
  • # The state or province the user is located in, as a 2 digit ISO code
  • state: String
  • # The country the user is located in, as a 2 digit ISO code
  • country: String
  • # Whether the user opts in to marketing
  • optsInToMarketing: Boolean
  • primaryLicenseNumber: String
  • # The time the user submitted a request to delete their account
  • submittedAccountDeletionAt: Time
  • # This field is only valid to check via the currentUser query, otherwise it always
  • # returns false.
  • systemManagedGoals: Boolean
  • # Whether the user opts in to SMS marketing
  • optsInToMarketingSms: Boolean
  • # Whether the user opts in to SMS non-marketing notifications
  • optsInToNonMarketingSms: Boolean
  • businessAccountPin: String
  • tenantIDs: [ID!]
  • topicIDs: [ID!]
  • mentionedPostIDs: [ID!]
  • followerIDs: [ID!]
  • followingIDs: [ID!]
  • postIDs: [ID!]
  • linkIDs: [ID!]
  • officeIDs: [ID!]
  • commentIDs: [ID!]
  • likedPostIDs: [ID!]
  • likedCommentIDs: [ID!]
  • bookmarkedPostIDs: [ID!]
  • avatarID: ID
  • profileImageID: ID
  • specialtyID: ID
  • workHistoryIDs: [ID!]
  • educationHistoryIDs: [ID!]
  • licenseHistoryIDs: [ID!]
  • educationCreditIDs: [ID!]
  • notificationTokenIDs: [ID!]
  • notificationIDs: [ID!]
  • outgoingNotificationIDs: [ID!]
  • searchIDs: [ID!]
  • apiTokenIDs: [ID!]
  • userCompletionIDs: [ID!]
  • financialDisclosureStatementID: ID
  • coursesCreatedIDs: [ID!]
  • coursesReviewedIDs: [ID!]
  • coursesFacultyIDs: [ID!]
  • userReportIDs: [ID!]
  • reportedByIDs: [ID!]
  • postReportIDs: [ID!]
  • mutedUserIDs: [ID!]
  • blockedUserIDs: [ID!]
  • accountConnectionIDs: [ID!]
  • importedVideoIDs: [ID!]
  • feedID: ID
  • feedHistoryIDs: [ID!]
  • boardCertificationIDs: [ID!]
  • cohortIDs: [ID!]
  • providerTypeID: ID
  • feedImpressionIDs: [ID!]
  • parentID: ID
  • linkedUserIDs: [ID!]
  • }

link Require by