INPUT_OBJECT

UpdateUserInput

UpdateUserInput is used for update User object. Input was generated by ent.

link GraphQL Schema definition

  • input UpdateUserInput {
  • # Whether this is an anonymous user
  • isAnonymous: Boolean
  • # Session token for anonymous users
  • sessionToken: String
  • clearSessionToken: Boolean
  • # The first name of the user
  • firstName: String
  • clearFirstName: Boolean
  • # The last name of the user
  • lastName: String
  • clearLastName: Boolean
  • # (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
  • clearVerificationLastAttemptedAt: Boolean
  • # The phone number of the user, stored in E.164 format
  • phone: String
  • clearPhone: Boolean
  • # The email address of the user
  • email: String
  • clearEmail: Boolean
  • # The password of the user, stored as a bcrypt hash
  • password: String
  • clearPassword: Boolean
  • # The username of the user
  • username: String
  • clearUsername: Boolean
  • # The credential of the user, ie MD, DO, PA, NP, etc. Note: Credentials are
  • # normalized to uppercase and any periods are removed.
  • credential: String
  • clearCredential: Boolean
  • # The NPI number of the user
  • npiNumber: String
  • clearNpiNumber: Boolean
  • # The NPI taxonomy code of the user
  • npiTaxonomyCode: String
  • clearNpiTaxonomyCode: Boolean
  • # The NPI taxonomy description of the user
  • npiTaxonomyDescription: String
  • clearNpiTaxonomyDescription: Boolean
  • # The bio of the user
  • bio: String
  • clearBio: Boolean
  • # 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!]
  • appendLimitedRoles: [String!]
  • clearLimitedRoles: Boolean
  • createdAt: Time
  • updatedAt: Time
  • # The last time the user logged in
  • lastLoginAt: Time
  • clearLastLoginAt: Boolean
  • # The CME goal value of the user
  • cmeGoalValue: String
  • clearCmeGoalValue: Boolean
  • # The CME goal date of the user
  • cmeGoalDate: Time
  • clearCmeGoalDate: Boolean
  • # The total CME earned by the user
  • totalCmeEarned: Float
  • clearTotalCmeEarned: Boolean
  • # Whether the user has should appear in the suggested users list
  • suggested: Boolean
  • # The financial disclosures for the user
  • financialDisclosures: String
  • clearFinancialDisclosures: Boolean
  • # 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
  • clearDob: Boolean
  • # The start date of the professional experience of the user
  • professionalExperienceStartDate: Time
  • clearProfessionalExperienceStartDate: Boolean
  • # The city the user is located in
  • city: String
  • clearCity: Boolean
  • # The state or province the user is located in, as a 2 digit ISO code
  • state: String
  • clearState: Boolean
  • # The country the user is located in, as a 2 digit ISO code
  • country: String
  • clearCountry: Boolean
  • # Whether the user opts in to marketing
  • optsInToMarketing: Boolean
  • primaryLicenseNumber: String
  • clearPrimaryLicenseNumber: Boolean
  • # The time the user submitted a request to delete their account
  • submittedAccountDeletionAt: Time
  • clearSubmittedAccountDeletionAt: Boolean
  • # 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
  • clearOptsInToMarketingSms: Boolean
  • # Whether the user opts in to SMS non-marketing notifications
  • optsInToNonMarketingSms: Boolean
  • clearOptsInToNonMarketingSms: Boolean
  • businessAccountPin: String
  • clearBusinessAccountPin: Boolean
  • addTenantIDs: [ID!]
  • removeTenantIDs: [ID!]
  • clearTenants: Boolean
  • addTopicIDs: [ID!]
  • removeTopicIDs: [ID!]
  • clearTopics: Boolean
  • addMentionedPostIDs: [ID!]
  • removeMentionedPostIDs: [ID!]
  • clearMentionedPosts: Boolean
  • addFollowerIDs: [ID!]
  • removeFollowerIDs: [ID!]
  • clearFollowers: Boolean
  • addFollowingIDs: [ID!]
  • removeFollowingIDs: [ID!]
  • clearFollowing: Boolean
  • addPostIDs: [ID!]
  • removePostIDs: [ID!]
  • clearPosts: Boolean
  • addLinkIDs: [ID!]
  • removeLinkIDs: [ID!]
  • clearLinks: Boolean
  • addOfficeIDs: [ID!]
  • removeOfficeIDs: [ID!]
  • clearOffices: Boolean
  • addCommentIDs: [ID!]
  • removeCommentIDs: [ID!]
  • clearComments: Boolean
  • addLikedPostIDs: [ID!]
  • removeLikedPostIDs: [ID!]
  • clearLikedPosts: Boolean
  • addLikedCommentIDs: [ID!]
  • removeLikedCommentIDs: [ID!]
  • clearLikedComments: Boolean
  • addBookmarkedPostIDs: [ID!]
  • removeBookmarkedPostIDs: [ID!]
  • clearBookmarkedPosts: Boolean
  • avatarID: ID
  • clearAvatar: Boolean
  • profileImageID: ID
  • clearProfileImage: Boolean
  • specialtyID: ID
  • clearSpecialty: Boolean
  • addWorkHistoryIDs: [ID!]
  • removeWorkHistoryIDs: [ID!]
  • clearWorkHistory: Boolean
  • addEducationHistoryIDs: [ID!]
  • removeEducationHistoryIDs: [ID!]
  • clearEducationHistory: Boolean
  • addLicenseHistoryIDs: [ID!]
  • removeLicenseHistoryIDs: [ID!]
  • clearLicenseHistory: Boolean
  • addEducationCreditIDs: [ID!]
  • removeEducationCreditIDs: [ID!]
  • clearEducationCredits: Boolean
  • addNotificationTokenIDs: [ID!]
  • removeNotificationTokenIDs: [ID!]
  • clearNotificationTokens: Boolean
  • addNotificationIDs: [ID!]
  • removeNotificationIDs: [ID!]
  • clearNotifications: Boolean
  • addOutgoingNotificationIDs: [ID!]
  • removeOutgoingNotificationIDs: [ID!]
  • clearOutgoingNotifications: Boolean
  • addSearchIDs: [ID!]
  • removeSearchIDs: [ID!]
  • clearSearches: Boolean
  • addAPITokenIDs: [ID!]
  • removeAPITokenIDs: [ID!]
  • clearAPITokens: Boolean
  • addUserCompletionIDs: [ID!]
  • removeUserCompletionIDs: [ID!]
  • clearUserCompletions: Boolean
  • financialDisclosureStatementID: ID
  • clearFinancialDisclosureStatement: Boolean
  • addCoursesCreatedIDs: [ID!]
  • removeCoursesCreatedIDs: [ID!]
  • clearCoursesCreated: Boolean
  • addCoursesReviewedIDs: [ID!]
  • removeCoursesReviewedIDs: [ID!]
  • clearCoursesReviewed: Boolean
  • addCoursesFacultyIDs: [ID!]
  • removeCoursesFacultyIDs: [ID!]
  • clearCoursesFaculty: Boolean
  • addUserReportIDs: [ID!]
  • removeUserReportIDs: [ID!]
  • clearUserReports: Boolean
  • addReportedByIDs: [ID!]
  • removeReportedByIDs: [ID!]
  • clearReportedBy: Boolean
  • addPostReportIDs: [ID!]
  • removePostReportIDs: [ID!]
  • clearPostReports: Boolean
  • addMutedUserIDs: [ID!]
  • removeMutedUserIDs: [ID!]
  • clearMutedUsers: Boolean
  • addBlockedUserIDs: [ID!]
  • removeBlockedUserIDs: [ID!]
  • clearBlockedUsers: Boolean
  • addAccountConnectionIDs: [ID!]
  • removeAccountConnectionIDs: [ID!]
  • clearAccountConnections: Boolean
  • addImportedVideoIDs: [ID!]
  • removeImportedVideoIDs: [ID!]
  • clearImportedVideos: Boolean
  • feedID: ID
  • clearFeed: Boolean
  • addFeedHistoryIDs: [ID!]
  • removeFeedHistoryIDs: [ID!]
  • clearFeedHistories: Boolean
  • addBoardCertificationIDs: [ID!]
  • removeBoardCertificationIDs: [ID!]
  • clearBoardCertifications: Boolean
  • addCohortIDs: [ID!]
  • removeCohortIDs: [ID!]
  • clearCohorts: Boolean
  • providerTypeID: ID
  • clearProviderType: Boolean
  • addFeedImpressionIDs: [ID!]
  • removeFeedImpressionIDs: [ID!]
  • clearFeedImpressions: Boolean
  • parentID: ID
  • clearParent: Boolean
  • addLinkedUserIDs: [ID!]
  • removeLinkedUserIDs: [ID!]
  • clearLinkedUsers: Boolean
  • }

link Require by