ia-common 1.1.1-beta.8 → 1.1.1-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export declare enum UserRoleEnum {
|
|
2
|
-
USER = "user",
|
|
3
2
|
ADVISOR = "advisor",
|
|
4
3
|
SUPERADMIN = "superadmin",
|
|
5
4
|
BOT_USER = "bot_user",
|
|
6
|
-
PUBLIC_USER = "public_user",
|
|
7
|
-
ADVISOR_CLIENT = "advisor_client",
|
|
8
|
-
STAFF = "staff",
|
|
9
5
|
OWNER = "owner",
|
|
10
6
|
CLIENT = "client"
|
|
11
7
|
}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UserRoleEnum = void 0;
|
|
4
4
|
var UserRoleEnum;
|
|
5
5
|
(function (UserRoleEnum) {
|
|
6
|
-
|
|
6
|
+
// USER = "user",
|
|
7
7
|
UserRoleEnum["ADVISOR"] = "advisor";
|
|
8
8
|
UserRoleEnum["SUPERADMIN"] = "superadmin";
|
|
9
9
|
UserRoleEnum["BOT_USER"] = "bot_user";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
// PUBLIC_USER = "public_user",
|
|
11
|
+
// ADVISOR_CLIENT = "acdvisor_client",
|
|
12
|
+
// STAFF = "staff",
|
|
13
13
|
UserRoleEnum["OWNER"] = "owner";
|
|
14
14
|
UserRoleEnum["CLIENT"] = "client";
|
|
15
15
|
})(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserStatus
|
|
1
|
+
import { UserStatus } from "../../@enum";
|
|
2
2
|
import { IEntityCreateDto, IUserEntity } from "../entity";
|
|
3
3
|
export type IUserCreateDtoExclude = "status" | "isEmailVerified" | "isMobileVerified" | "isAccountVerified" | "requireNewPassword" | "type" | "registrationId" | "organizationId" | "imageUrl" | "documentUrls" | "password" | "panNo";
|
|
4
4
|
export interface IUserCreateDto extends IEntityCreateDto<Omit<IUserEntity, IUserCreateDtoExclude>> {
|
|
@@ -7,7 +7,6 @@ export interface IUserCreateDto extends IEntityCreateDto<Omit<IUserEntity, IUser
|
|
|
7
7
|
isMobileVerified?: boolean;
|
|
8
8
|
isAccountVerified?: boolean;
|
|
9
9
|
requireNewPassword?: boolean;
|
|
10
|
-
role: UserRoleEnum;
|
|
11
10
|
registrationId?: number;
|
|
12
11
|
organizationId?: number;
|
|
13
12
|
panNo?: string;
|