user
Workspace API / types/user
types/user
Interfaces
User
Defined in: types/user.ts:4
Properties
user_id
user_id:
string
Defined in: types/user.ts:5
email
email:
string
Defined in: types/user.ts:6
password_hash?
optionalpassword_hash:string
Defined in: types/user.ts:7
first_name?
optionalfirst_name:string
Defined in: types/user.ts:8
last_name?
optionallast_name:string
Defined in: types/user.ts:9
title?
optionaltitle:string
Defined in: types/user.ts:10
phone?
optionalphone:string
Defined in: types/user.ts:11
status
status:
"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:12
email_verified_at?
optionalemail_verified_at:Date
Defined in: types/user.ts:13
created_at
created_at:
Date
Defined in: types/user.ts:14
updated_at
updated_at:
Date
Defined in: types/user.ts:15
last_login_at?
optionallast_login_at:Date
Defined in: types/user.ts:16
password_reset_token?
optionalpassword_reset_token:string
Defined in: types/user.ts:17
password_reset_expires_at?
optionalpassword_reset_expires_at:Date
Defined in: types/user.ts:18
email_verification_token?
optionalemail_verification_token:string
Defined in: types/user.ts:19
CreateUserData
Defined in: types/user.ts:23
Properties
email
email:
string
Defined in: types/user.ts:24
password
password:
string
Defined in: types/user.ts:25
firstName?
optionalfirstName:string
Defined in: types/user.ts:26
lastName?
optionallastName:string
Defined in: types/user.ts:27
title?
optionaltitle:string
Defined in: types/user.ts:28
phone?
optionalphone:string
Defined in: types/user.ts:29
status?
optionalstatus:"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:30
UpdateUserData
Defined in: types/user.ts:34
Properties
firstName?
optionalfirstName:string
Defined in: types/user.ts:35
lastName?
optionallastName:string
Defined in: types/user.ts:36
title?
optionaltitle:string
Defined in: types/user.ts:37
phone?
optionalphone:string
Defined in: types/user.ts:38
status?
optionalstatus:"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:39
lastLoginAt?
optionallastLoginAt:Date
Defined in: types/user.ts:40
UserFilters
Defined in: types/user.ts:44
Properties
status?
optionalstatus:"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:45
email?
optionalemail:string
Defined in: types/user.ts:46
limit?
optionallimit:number
Defined in: types/user.ts:47
offset?
optionaloffset:number
Defined in: types/user.ts:48
PasswordValidation
Defined in: types/user.ts:52
Properties
valid
valid:
boolean
Defined in: types/user.ts:53
message?
optionalmessage:string
Defined in: types/user.ts:54
UserStats
Defined in: types/user.ts:58
Properties
total
total:
number
Defined in: types/user.ts:59
active
active:
number
Defined in: types/user.ts:60
inactive
inactive:
number
Defined in: types/user.ts:61
suspended
suspended:
number
Defined in: types/user.ts:62
pending
pending:
number
Defined in: types/user.ts:63
UserResponse
Defined in: types/user.ts:67
Properties
id
id:
string
Defined in: types/user.ts:68
email
email:
string
Defined in: types/user.ts:69
firstName?
optionalfirstName:string
Defined in: types/user.ts:70
lastName?
optionallastName:string
Defined in: types/user.ts:71
title?
optionaltitle:string
Defined in: types/user.ts:72
phone?
optionalphone:string
Defined in: types/user.ts:73
status
status:
"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:74
createdAt
createdAt:
Date
Defined in: types/user.ts:75
updatedAt
updatedAt:
Date
Defined in: types/user.ts:76
lastLoginAt?
optionallastLoginAt:Date
Defined in: types/user.ts:77
CreateUserRequest
Defined in: types/user.ts:80
Properties
email
email:
string
Defined in: types/user.ts:81
password
password:
string
Defined in: types/user.ts:82
firstName?
optionalfirstName:string
Defined in: types/user.ts:83
lastName?
optionallastName:string
Defined in: types/user.ts:84
title?
optionaltitle:string
Defined in: types/user.ts:85
phone?
optionalphone:string
Defined in: types/user.ts:86
status?
optionalstatus:"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:87
UpdateUserRequest
Defined in: types/user.ts:90
Properties
firstName?
optionalfirstName:string
Defined in: types/user.ts:91
lastName?
optionallastName:string
Defined in: types/user.ts:92
title?
optionaltitle:string
Defined in: types/user.ts:93
phone?
optionalphone:string
Defined in: types/user.ts:94
status?
optionalstatus:"active"|"inactive"|"suspended"|"pending"|"pending_verification"
Defined in: types/user.ts:95