/
models.ts
46 lines (40 loc) · 947 Bytes
/
models.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import type { ExtensibleObject } from '@abp/ng.core';
export interface ChangePasswordInput {
currentPassword?: string;
newPassword: string;
}
export interface ProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
isExternal: boolean;
hasPassword: boolean;
concurrencyStamp?: string;
}
export interface RegisterDto extends ExtensibleObject {
userName: string;
emailAddress: string;
password: string;
appName: string;
}
export interface ResetPasswordDto {
userId?: string;
resetToken: string;
password: string;
}
export interface SendPasswordResetCodeDto {
email: string;
appName: string;
returnUrl?: string;
returnUrlHash?: string;
}
export interface UpdateProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
concurrencyStamp?: string;
}