userId: number,
accessToken: string,
email?: string,
+ emailVerified?: boolean,
videoQuota?: number,
videoQuotaDaily?: number,
role?: UserRole
const toSend = {}
if (options.email !== undefined && options.email !== null) toSend['email'] = options.email
+ if (options.emailVerified !== undefined && options.emailVerified !== null) toSend['emailVerified'] = options.emailVerified
if (options.videoQuota !== undefined && options.videoQuota !== null) toSend['videoQuota'] = options.videoQuota
if (options.videoQuotaDaily !== undefined && options.videoQuotaDaily !== null) toSend['videoQuotaDaily'] = options.videoQuotaDaily
if (options.role !== undefined && options.role !== null) toSend['role'] = options.role