mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 20:37:49 +00:00
48 KiB
48 KiB
GetUserExternalIdUser
Example Usage
import { GetUserExternalIdUser } from "@lukehagar/discoursejs/sdk/models/operations";
let value: GetUserExternalIdUser = {
admin: false,
allowedPmUsernames: ["<value>"],
avatarTemplate: "<value>",
badgeCount: 852635,
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: 283519,
notificationLevel: 433439,
userId: 379927,
},
],
groups: [
{
allowMembershipRequests: false,
automatic: false,
bioCooked: "<value>",
bioExcerpt: "<value>",
bioRaw: "<value>",
canAdminGroup: false,
canSeeMembers: false,
defaultNotificationLevel: 826871,
displayName: "Chet.Lang5",
flairBgColor: "<value>",
flairColor: "<value>",
flairUrl: "<value>",
fullName: "Rickey DuBuque",
grantTrustLevel: "<value>",
hasMessages: false,
id: 777408,
incomingEmail: "<value>",
membersVisibilityLevel: 681359,
membershipRequestTemplate: "<value>",
mentionableLevel: 259422,
messageableLevel: 178367,
name: "<value>",
primaryGroup: false,
publicAdmission: false,
publicExit: false,
publishReadState: false,
title: "<value>",
userCount: 373813,
visibilityLevel: 69859,
},
],
hasTitleBadges: false,
id: 587600,
ignored: false,
ignoredUsernames: ["<value>"],
invitedBy: "<value>",
lastPostedAt: "<value>",
lastSeenAt: "<value>",
locale: "af_ZA",
mailingListPostsPerDay: 272822,
moderator: false,
muted: false,
mutedCategoryIds: ["<value>"],
mutedTags: ["<value>"],
mutedUsernames: ["<value>"],
name: "<value>",
pendingCount: 892050,
postCount: 370853,
primaryGroupId: "<value>",
primaryGroupName: "<value>",
profileViewCount: 133465,
recentTimeRead: 197054,
regularCategoryIds: ["<value>"],
secondFactorEnabled: false,
staged: false,
systemAvatarTemplate: "<value>",
systemAvatarUploadId: "<value>",
timeRead: 779192,
title: "<value>",
trackedCategoryIds: ["<value>"],
trackedTags: ["<value>"],
trustLevel: 459856,
uploadedAvatarId: "<value>",
useLogoSmallAsAvatar: false,
userApiKeys: "<value>",
userAuthTokens: [
{
browser: "<value>",
clientIp: "<value>",
createdAt: "<value>",
device: "<value>",
icon: "<value>",
id: 925164,
isActive: false,
location: "<value>",
os: "<value>",
seenAt: "<value>",
},
],
userNotificationSchedule: {
day0EndTime: 44612,
day0StartTime: 715179,
day1EndTime: 799796,
day1StartTime: 490819,
day2EndTime: 76956,
day2StartTime: 469498,
day3EndTime: 518835,
day3StartTime: 882710,
day4EndTime: 306810,
day4StartTime: 488410,
day5EndTime: 577543,
day5StartTime: 414567,
day6EndTime: 959434,
day6StartTime: 174112,
enabled: false,
},
userOption: {
allowPrivateMessages: false,
autoTrackTopicsAfterMsecs: 645570,
automaticallyUnpinTopics: false,
colorSchemeId: "<value>",
darkSchemeId: "<value>",
digestAfterMinutes: 475289,
dynamicFavicon: false,
emailDigests: false,
emailInReplyTo: false,
emailLevel: 35362,
emailMessagesLevel: 783648,
emailPreviousReplies: 430402,
enableAllowedPmUsers: false,
enableDefer: false,
enableQuoting: false,
externalLinksInNewTab: false,
hideProfileAndPresence: false,
homepageId: "<value>",
includeTl0InDigests: false,
likeNotificationFrequency: 556429,
mailingListMode: false,
mailingListModeFrequency: 510017,
newTopicDurationMinutes: 159867,
notificationLevelWhenReplying: 536178,
skipNewUserTips: false,
textSize: "<value>",
textSizeSeq: 143829,
themeIds: ["<value>"],
themeKeySeq: 681393,
timezone: "Asia/Yekaterinburg",
titleCountMode: "<value>",
userId: 277596,
},
username: "Kameron39",
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.GetUserExternalIdCustomFields | ✔️ | 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.GetUserExternalIdGroupUsers[] | ✔️ | N/A |
groups |
operations.GetUserExternalIdGroups[] | ✔️ | 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.GetUserExternalIdUserAuthTokens[] | ✔️ | N/A |
userFields |
operations.GetUserExternalIdUserFields | ➖ | N/A |
userNotificationSchedule |
operations.GetUserExternalIdUserNotificationSchedule | ✔️ | N/A |
userOption |
operations.GetUserExternalIdUserOption | ✔️ | N/A |
username |
string | ✔️ | N/A |
watchedCategoryIds |
any[] | ✔️ | N/A |
watchedFirstPostCategoryIds |
any[] | ✔️ | N/A |
watchedTags |
any[] | ✔️ | N/A |
watchingFirstPostTags |
any[] | ✔️ | N/A |