Constructors
Methods
deleteUser
- deleteUser(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
userId: string;
}auth: string
userId: string
Returns Promise<WebResponse<string>>
getUser
- getUser(__namedParameters): Promise<WebResponse<UserResponse>>
Parameters
- __namedParameters: {
auth: string;
userId: string;
}auth: string
userId: string
updateUser
- updateUser(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
user: DeepPartial<{
activeGuildSubscriptions?: null | {
guildId?: null | string;
subscriptionId?: null | string;
}[];
badges?: null | string;
birthday?: null | {
date?: null | string;
lastChanged?: null | number;
whereToCongratulate?: null | string[];
};
bitfield?: null | string;
blacklisted?: null | boolean;
email?: null | string;
gettingStarted?: null | {
didBuyPremium?: null | boolean;
didDismissUserAds?: null | boolean;
didInviteATeamMemberPremiumOnly?: null | boolean;
didJoinATeam?: null | boolean;
didLinkAllSocials?: null | boolean;
};
kickAccount?: null | {
chatRoomId?: null | string;
id?: null | string;
subscribedTo?: null | {
expiresAt?: null | number;
guildIds?: null | string[];
streamerUserName?: null | string;
}[];
username?: null | string;
};
lastVoted?: null | number;
linkedRoles?: null | {
accessToken?: null | string;
expiresAt?: null | number;
refreshToken?: null | string;
};
locale?: null | string;
mediaShare?: null | {
banList?: null | string[];
enabled?: null | boolean;
modList?: null | string[];
password?: null | string;
permissions?: null | {
command?:
| null
| "request"
| "skip"
| "pause"
| "clear"
| "rban"
| "play"
| "mode"
| "runban";
onKick?: null | (
| (...)
| (...)
| (...)
| (...)
| (...))[];
}[];
settings?: null | {
modes?: null | ("tiktok" | "youtube" | "shorts")[];
prefix?: null | string;
volume?: null | number;
};
};
oneServerPremium?: null | string;
premium?: null | {
enabled?: null | boolean;
tier?: null | string;
};
rumbleAccount?: null | {
id?: null | string;
username?: null | string;
};
serverPremiumCooldown?: null | number;
sessions?: null | {
expiresAt?: null | number;
key?: null | string;
}[];
twitchAccount?: null | {
chatRoomId?: null | string;
id?: null | string;
username?: null | string;
};
userId?: string;
username?: null | string;
votes?: null | number;
}, true>;
userId: string;
}auth: string
user: DeepPartial<{
activeGuildSubscriptions?: null | {
guildId?: null | string;
subscriptionId?: null | string;
}[];
badges?: null | string;
birthday?: null | {
date?: null | string;
lastChanged?: null | number;
whereToCongratulate?: null | string[];
};
bitfield?: null | string;
blacklisted?: null | boolean;
email?: null | string;
gettingStarted?: null | {
didBuyPremium?: null | boolean;
didDismissUserAds?: null | boolean;
didInviteATeamMemberPremiumOnly?: null | boolean;
didJoinATeam?: null | boolean;
didLinkAllSocials?: null | boolean;
};
kickAccount?: null | {
chatRoomId?: null | string;
id?: null | string;
subscribedTo?: null | {
expiresAt?: null | number;
guildIds?: null | string[];
streamerUserName?: null | string;
}[];
username?: null | string;
};
lastVoted?: null | number;
linkedRoles?: null | {
accessToken?: null | string;
expiresAt?: null | number;
refreshToken?: null | string;
};
locale?: null | string;
mediaShare?: null | {
banList?: null | string[];
enabled?: null | boolean;
modList?: null | string[];
password?: null | string;
permissions?: null | {
command?:
| null
| "request"
| "skip"
| "pause"
| "clear"
| "rban"
| "play"
| "mode"
| "runban";
onKick?: null | (
| (...)
| (...)
| (...)
| (...)
| (...))[];
}[];
settings?: null | {
modes?: null | ("tiktok" | "youtube" | "shorts")[];
prefix?: null | string;
volume?: null | number;
};
};
oneServerPremium?: null | string;
premium?: null | {
enabled?: null | boolean;
tier?: null | string;
};
rumbleAccount?: null | {
id?: null | string;
username?: null | string;
};
serverPremiumCooldown?: null | number;
sessions?: null | {
expiresAt?: null | number;
key?: null | string;
}[];
twitchAccount?: null | {
chatRoomId?: null | string;
id?: null | string;
username?: null | string;
};
userId?: string;
username?: null | string;
votes?: null | number;
}, true>
userId: string
Returns Promise<WebResponse<string>>