import Client from "../client"; import { PartialUser } from "./User"; import { UpdateContactUpsellSuppressionOptions, UpdateTwoStepStatusOptions, UpdateUserPrivacyOptions, UpdateUserPromotionChannelsOptions } from "../client/apis/AccountSettingsAPI"; import { DeletePhoneOptions, ResendPhoneCodeOptions, SetPhoneNumberOptions, UpdateUserBirthdateOptions, VerifyPhoneOptions } from "../client/apis/AccountInformationAPI"; export interface ClientUserOptions { id: number; name: string; } export default class ClientUser extends PartialUser { client: Client; constructor(data: ClientUserOptions, client: Client); getAppChatPrivacy(): Promise; updateAppChatPrivacy(privacy: string): Promise; getGameChatPrivacy(): Promise; updateGameChatPrivacy(privacy: string): Promise; getInventoryPrivacy(): Promise; updateInventoryPrivacy(privacy: string): Promise; getPrivacy(): Promise; updatePrivacy(options: UpdateUserPrivacyOptions): Promise; getPrivacySettingsInfo(): Promise; getPrivateMessagePrivacy(): Promise; updatePrivateMessagePrivacy(privacy: string): Promise; getEmailStatus(): Promise; updateEmail(email: string, password: string): Promise; sendEmailVerification(): Promise; getWebsiteTheme(): Promise; updateWebsiteTheme(theme: string): Promise; getTradePrivacy(): Promise; updateTradePrivacy(privacy: string): Promise; getTradeQualityFilter(): Promise; updateTradeQualityFilter(quality: string): Promise; updateTwoStepStatus(options: UpdateTwoStepStatusOptions): Promise; getContactUpsell(): Promise; updateContactUpsellSuppression(options: UpdateContactUpsellSuppressionOptions): Promise; updatePromotionChannels(options: UpdateUserPromotionChannelsOptions): Promise; getBirthdate(): Promise; updateBirthdate(options: UpdateUserBirthdateOptions): Promise; getProfileDescription(): Promise; updateProfileDescription(description: string): Promise; getGender(): Promise; updateGender(gender: number): Promise; getConsecutiveXboxLoginDays(): Promise; getVerifiedPhoneNumber(): Promise; setPhoneNumber(options: SetPhoneNumberOptions): Promise; deletePhone(options: DeletePhoneOptions): Promise; resendPhoneCode(options: ResendPhoneCodeOptions): Promise; verifyPhone(options: VerifyPhoneOptions): Promise; getPromotionChannels(): Promise; removeStarCodeAffiliate(): Promise; getStarCodeAffiliate(): Promise; addStarCodeAffiliate(code: string): Promise; getPasswordStatus(): Promise; changeUserPassword(newPassword: string, oldPassword: string): Promise; changeUsername(newUsername: string, password: string): Promise; }