mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
57 KiB
57 KiB
GetUserIdentiyProviderExternalIdUser
Example Usage
import { GetUserIdentiyProviderExternalIdUser } from "@lukehagar/discoursejs/sdk/models/operations";
let value: GetUserIdentiyProviderExternalIdUser = {
admin: false,
allowedPmUsernames: ["<value>"],
avatarTemplate: "<value>",
badgeCount: 221161,
canBeDeleted: false,
canChangeBio: false,
canChangeLocation: false,
canChangeTrackingPreferences: false,
canChangeWebsite: false,
canDeleteAllPosts: false,
canEdit: false,
canEditEmail: false,
canEditName: false,
canEditUsername: false,
canIgnoreUser: false,
canMuteUser: false,
canSendPrivateMessageToUser: false,
canSendPrivateMessages: false,
canUploadProfileHeader: false,
canUploadUserCardBackground: false,
createdAt: "<value>",
customFields: {},
featuredTopic: "<value>",
featuredUserBadgeIds: ["<value>"],
flairBgColor: "<value>",
flairColor: "<value>",
flairGroupId: "<value>",
flairName: "<value>",
flairUrl: "<value>",
groupUsers: [
{
groupId: 580152,
notificationLevel: 253191,
userId: 771089,
},
],
groups: [
{
allowMembershipRequests: false,
automatic: false,
bioCooked: "<value>",
bioExcerpt: "<value>",
bioRaw: "<value>",
canAdminGroup: false,
canSeeMembers: false,
defaultNotificationLevel: 131055,
displayName: "Garrison.Anderson",
flairBgColor: "<value>",
flairColor: "<value>",
flairUrl: "<value>",
fullName: "Wendell Frami",
grantTrustLevel: "<value>",
hasMessages: false,
id: 990345,
incomingEmail: "<value>",
membersVisibilityLevel: 45659,
membershipRequestTemplate: "<value>",
mentionableLevel: 409054,
messageableLevel: 310067,
name: "<value>",
primaryGroup: false,
publicAdmission: false,
publicExit: false,
publishReadState: false,
title: "<value>",
userCount: 162954,
visibilityLevel: 831520,
},
],
hasTitleBadges: false,
id: 638762,
ignored: false,
ignoredUsernames: ["<value>"],
invitedBy: "<value>",
lastPostedAt: "<value>",
lastSeenAt: "<value>",
locale: "ro",
mailingListPostsPerDay: 490305,
moderator: false,
muted: false,
mutedCategoryIds: ["<value>"],
mutedTags: ["<value>"],
mutedUsernames: ["<value>"],
name: "<value>",
pendingCount: 640024,
postCount: 989410,
primaryGroupId: "<value>",
primaryGroupName: "<value>",
profileViewCount: 368102,
recentTimeRead: 65304,
regularCategoryIds: ["<value>"],
secondFactorEnabled: false,
staged: false,
systemAvatarTemplate: "<value>",
systemAvatarUploadId: "<value>",
timeRead: 312753,
title: "<value>",
trackedCategoryIds: ["<value>"],
trackedTags: ["<value>"],
trustLevel: 783235,
uploadedAvatarId: "<value>",
useLogoSmallAsAvatar: false,
userApiKeys: "<value>",
userAuthTokens: [
{
browser: "<value>",
clientIp: "<value>",
createdAt: "<value>",
device: "<value>",
icon: "<value>",
id: 801836,
isActive: false,
location: "<value>",
os: "<value>",
seenAt: "<value>",
},
],
userNotificationSchedule: {
day0EndTime: 288398,
day0StartTime: 70447,
day1EndTime: 241418,
day1StartTime: 683573,
day2EndTime: 662505,
day2StartTime: 380729,
day3EndTime: 246063,
day3StartTime: 633931,
day4EndTime: 665859,
day4StartTime: 926880,
day5EndTime: 517309,
day5StartTime: 853940,
day6EndTime: 424089,
day6StartTime: 497678,
enabled: false,
},
userOption: {
allowPrivateMessages: false,
autoTrackTopicsAfterMsecs: 554688,
automaticallyUnpinTopics: false,
colorSchemeId: "<value>",
darkSchemeId: "<value>",
digestAfterMinutes: 427834,
dynamicFavicon: false,
emailDigests: false,
emailInReplyTo: false,
emailLevel: 287051,
emailMessagesLevel: 822560,
emailPreviousReplies: 706575,
enableAllowedPmUsers: false,
enableDefer: false,
enableQuoting: false,
externalLinksInNewTab: false,
hideProfileAndPresence: false,
homepageId: "<value>",
includeTl0InDigests: false,
likeNotificationFrequency: 738227,
mailingListMode: false,
mailingListModeFrequency: 414857,
newTopicDurationMinutes: 447144,
notificationLevelWhenReplying: 360545,
skipNewUserTips: false,
textSize: "<value>",
textSizeSeq: 968904,
themeIds: ["<value>"],
themeKeySeq: 828657,
timezone: "Europe/Zagreb",
titleCountMode: "<value>",
userId: 924967,
},
username: "Graham.Bayer44",
watchedCategoryIds: ["<value>"],
watchedFirstPostCategoryIds: ["<value>"],
watchedTags: ["<value>"],
watchingFirstPostTags: ["<value>"],
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
admin |
boolean | ✔️ | N/A |
allowedPmUsernames |
any[] | ✔️ | N/A |
avatarTemplate |
string | ✔️ | N/A |
badgeCount |
number | ✔️ | N/A |
canBeDeleted |
boolean | ✔️ | N/A |
canChangeBio |
boolean | ✔️ | N/A |
canChangeLocation |
boolean | ✔️ | N/A |
canChangeTrackingPreferences |
boolean | ✔️ | N/A |
canChangeWebsite |
boolean | ✔️ | N/A |
canDeleteAllPosts |
boolean | ✔️ | N/A |
canEdit |
boolean | ✔️ | N/A |
canEditEmail |
boolean | ✔️ | N/A |
canEditName |
boolean | ✔️ | N/A |
canEditUsername |
boolean | ✔️ | N/A |
canIgnoreUser |
boolean | ✔️ | N/A |
canMuteUser |
boolean | ✔️ | N/A |
canSendPrivateMessageToUser |
boolean | ✔️ | N/A |
canSendPrivateMessages |
boolean | ✔️ | N/A |
canUploadProfileHeader |
boolean | ✔️ | N/A |
canUploadUserCardBackground |
boolean | ✔️ | N/A |
createdAt |
string | ✔️ | N/A |
customFields |
operations.GetUserIdentiyProviderExternalIdCustomFields | ✔️ | N/A |
displaySidebarTags |
boolean | ➖ | N/A |
featuredTopic |
string | ✔️ | N/A |
featuredUserBadgeIds |
any[] | ✔️ | N/A |
flairBgColor |
string | ✔️ | N/A |
flairColor |
string | ✔️ | N/A |
flairGroupId |
string | ✔️ | N/A |
flairName |
string | ✔️ | N/A |
flairUrl |
string | ✔️ | N/A |
groupUsers |
operations.GetUserIdentiyProviderExternalIdGroupUsers[] | ✔️ | N/A |
groups |
operations.GetUserIdentiyProviderExternalIdGroups[] | ✔️ | N/A |
hasTitleBadges |
boolean | ✔️ | N/A |
id |
number | ✔️ | N/A |
ignored |
boolean | ✔️ | N/A |
ignoredUsernames |
any[] | ✔️ | N/A |
invitedBy |
string | ✔️ | N/A |
lastPostedAt |
string | ✔️ | N/A |
lastSeenAt |
string | ✔️ | N/A |
locale |
string | ✔️ | N/A |
mailingListPostsPerDay |
number | ✔️ | N/A |
moderator |
boolean | ✔️ | N/A |
muted |
boolean | ✔️ | N/A |
mutedCategoryIds |
any[] | ✔️ | N/A |
mutedTags |
any[] | ✔️ | N/A |
mutedUsernames |
any[] | ✔️ | N/A |
name |
string | ✔️ | N/A |
pendingCount |
number | ✔️ | N/A |
pendingPostsCount |
number | ➖ | N/A |
postCount |
number | ✔️ | N/A |
primaryGroupId |
string | ✔️ | N/A |
primaryGroupName |
string | ✔️ | N/A |
profileViewCount |
number | ✔️ | N/A |
recentTimeRead |
number | ✔️ | N/A |
regularCategoryIds |
any[] | ✔️ | N/A |
secondFactorBackupEnabled |
boolean | ➖ | N/A |
secondFactorEnabled |
boolean | ✔️ | N/A |
sidebarCategoryIds |
any[] | ➖ | N/A |
sidebarTags |
any[] | ➖ | N/A |
staged |
boolean | ✔️ | N/A |
systemAvatarTemplate |
string | ✔️ | N/A |
systemAvatarUploadId |
string | ✔️ | N/A |
timeRead |
number | ✔️ | N/A |
title |
string | ✔️ | N/A |
trackedCategoryIds |
any[] | ✔️ | N/A |
trackedTags |
any[] | ✔️ | N/A |
trustLevel |
number | ✔️ | N/A |
uploadedAvatarId |
string | ✔️ | N/A |
useLogoSmallAsAvatar |
boolean | ✔️ | N/A |
userApiKeys |
string | ✔️ | N/A |
userAuthTokens |
operations.GetUserIdentiyProviderExternalIdUserAuthTokens[] | ✔️ | N/A |
userFields |
operations.GetUserIdentiyProviderExternalIdUserFields | ➖ | N/A |
userNotificationSchedule |
operations.GetUserIdentiyProviderExternalIdUserNotificationSchedule | ✔️ | N/A |
userOption |
operations.GetUserIdentiyProviderExternalIdUserOption | ✔️ | N/A |
username |
string | ✔️ | N/A |
watchedCategoryIds |
any[] | ✔️ | N/A |
watchedFirstPostCategoryIds |
any[] | ✔️ | N/A |
watchedTags |
any[] | ✔️ | N/A |
watchingFirstPostTags |
any[] | ✔️ | N/A |