import { CollectionQueryParams, QueryParams } from './HTTP'; import { Role } from './Role'; export declare enum UserStatus { INACTIVE = "INACTIVE", DISABLED = "DISABLED", ENABLED = "ENABLED" } export type User = { accountId: number; accountName: string; userAccountName: string; accountServiceIds: Array; address: string; apiKey: string; city: string; code: string; country: string; createTime: number; createdByEmail: string; createdById: number; deleteTime: number; email: string; enabled: boolean; firstName: string; id: number; isAccountOwner: boolean; lastLaunchedTestTime: number; lastLoginTime: number; lastName: string; organization: string; phone: string; registrationIP: string; roles: Array; serviceIds: Array; state: string; status: UserStatus; timeZone: string; }; export type UserData = Pick; export interface UserParams extends CollectionQueryParams { WITH_ADDRESS: boolean; WITH_USER_INFO: boolean; onlyMainUsers: boolean; onlyWithDisabledServices: boolean; withRole: string; withRoles: boolean; } export type UserUpdateAccount = Pick; export type UserDeleteData = { password: string; }; export interface LoginData { username: string; password: string; } export type UserPasswordData = { key: string; password: string; }; export type UserActivateData = { zip: string; } & UserPasswordData & Pick; export interface UserRecoveryQueryParams extends QueryParams { recoveryKey: string; } export type MarkAccountOwnerData = { value: boolean; };