cloud-ide-lms-model 1.0.203 → 1.0.207
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.
- package/lib/model/core/core_entity_access_pass_management.d.ts +45 -0
- package/lib/model/core/core_entity_access_pass_management.js +22 -0
- package/lib/model/core/core_user_attributes.d.ts +29 -0
- package/lib/model/core/core_user_attributes.js +22 -0
- package/lib/model/core/core_user_contact_addresses.d.ts +47 -0
- package/lib/model/core/core_user_contact_addresses.js +28 -0
- package/lib/model/core/core_user_documents.d.ts +39 -0
- package/lib/model/core/core_user_documents.js +25 -0
- package/lib/model/core/core_user_family_details.d.ts +33 -0
- package/lib/model/core/core_user_family_details.js +25 -0
- package/lib/model/core/index.d.ts +5 -0
- package/lib/model/core/index.js +5 -0
- package/lib/schema/auth/auth_user_mst.d.ts +13 -19
- package/lib/schema/auth/auth_user_mst.js +9 -0
- package/lib/schema/collection_names.d.ts +5 -0
- package/lib/schema/collection_names.js +6 -1
- package/lib/schema/core/core_user_attributes.d.ts +9 -0
- package/lib/schema/core/core_user_attributes.js +6 -0
- package/lib/schema/core/core_user_contact_addresses.d.ts +18 -0
- package/lib/schema/core/core_user_contact_addresses.js +6 -0
- package/lib/schema/core/core_user_documents.d.ts +14 -0
- package/lib/schema/core/core_user_documents.js +6 -0
- package/lib/schema/core/core_user_family_details.d.ts +11 -0
- package/lib/schema/core/core_user_family_details.js +6 -0
- package/lib/schema/core/user-master.d.ts +104 -0
- package/lib/schema/core/user-master.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
export interface IEntityAccessPassManagement {
|
|
3
|
+
_id?: string;
|
|
4
|
+
syepm_user_id_user?: string;
|
|
5
|
+
syepm_entity_id_syen?: string;
|
|
6
|
+
syepm_access_passs_to?: string;
|
|
7
|
+
syepm_ownership_status?: string;
|
|
8
|
+
syepm_isactive?: boolean;
|
|
9
|
+
syepm_actions_allowed?: {
|
|
10
|
+
can_edit: {
|
|
11
|
+
status: boolean;
|
|
12
|
+
};
|
|
13
|
+
can_view: {
|
|
14
|
+
status: boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare class MEntityAccessPassManagement {
|
|
19
|
+
_id?: string;
|
|
20
|
+
syepm_user_id_user?: string;
|
|
21
|
+
syepm_entity_id_syen?: string;
|
|
22
|
+
syepm_access_passs_to?: string;
|
|
23
|
+
syepm_ownership_status?: string;
|
|
24
|
+
syepm_isactive?: boolean;
|
|
25
|
+
syepm_actions_allowed?: {
|
|
26
|
+
can_edit: {
|
|
27
|
+
status: boolean;
|
|
28
|
+
};
|
|
29
|
+
can_view: {
|
|
30
|
+
status: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
constructor(init: IEntityAccessPassManagement);
|
|
34
|
+
Validate?(): Partial<Record<keyof IEntityAccessPassManagement, string>>;
|
|
35
|
+
}
|
|
36
|
+
export interface EntityAccessControllerResponse extends controllerResponse {
|
|
37
|
+
data?: {
|
|
38
|
+
entity_access: IEntityAccessPassManagement[];
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface EntityAccessSingleControllerResponse extends controllerResponse {
|
|
42
|
+
data?: {
|
|
43
|
+
entity_access: IEntityAccessPassManagement;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MEntityAccessPassManagement = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
// Entity Access Pass Management Model
|
|
7
|
+
class MEntityAccessPassManagement {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
if (!this.syepm_user_id_user) {
|
|
14
|
+
errorLogger.syepm_user_id_user = "User ID is required!";
|
|
15
|
+
}
|
|
16
|
+
if (!this.syepm_entity_id_syen) {
|
|
17
|
+
errorLogger.syepm_entity_id_syen = "Entity ID is required!";
|
|
18
|
+
}
|
|
19
|
+
return errorLogger;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.MEntityAccessPassManagement = MEntityAccessPassManagement;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
export interface IUserAttribute {
|
|
3
|
+
_id?: string;
|
|
4
|
+
syuat_user_id_user?: string;
|
|
5
|
+
syuat_attribute_key?: string;
|
|
6
|
+
syuat_attribute_value?: any;
|
|
7
|
+
syuat_data_type?: string;
|
|
8
|
+
syuat_industry_context_sygms?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class MUserAttribute {
|
|
11
|
+
_id?: string;
|
|
12
|
+
syuat_user_id_user?: string;
|
|
13
|
+
syuat_attribute_key?: string;
|
|
14
|
+
syuat_attribute_value?: any;
|
|
15
|
+
syuat_data_type?: string;
|
|
16
|
+
syuat_industry_context_sygms?: string;
|
|
17
|
+
constructor(init: IUserAttribute);
|
|
18
|
+
Validate?(): Partial<Record<keyof IUserAttribute, string>>;
|
|
19
|
+
}
|
|
20
|
+
export interface UserAttributeControllerResponse extends controllerResponse {
|
|
21
|
+
data?: {
|
|
22
|
+
attributes: IUserAttribute[];
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface UserAttributeSingleControllerResponse extends controllerResponse {
|
|
26
|
+
data?: {
|
|
27
|
+
attribute: IUserAttribute;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MUserAttribute = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
// User Attributes Model
|
|
7
|
+
class MUserAttribute {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
if (!this.syuat_user_id_user) {
|
|
14
|
+
errorLogger.syuat_user_id_user = "User ID is required!";
|
|
15
|
+
}
|
|
16
|
+
if (!this.syuat_attribute_key) {
|
|
17
|
+
errorLogger.syuat_attribute_key = "Attribute key is required!";
|
|
18
|
+
}
|
|
19
|
+
return errorLogger;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.MUserAttribute = MUserAttribute;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
export interface IUserContactAddress {
|
|
3
|
+
_id?: string;
|
|
4
|
+
sycad_user_id_user?: string;
|
|
5
|
+
sycad_address_type_id_sygms?: string;
|
|
6
|
+
sycad_contact_person_name?: string;
|
|
7
|
+
sycad_contact_person_famb?: string;
|
|
8
|
+
sycad_contact_address?: string;
|
|
9
|
+
sycad_contact_pin_sypin?: string;
|
|
10
|
+
sycad_contact_city_sypin?: string;
|
|
11
|
+
sycad_contact_state_sypin?: string;
|
|
12
|
+
sycad_contact_country_syctr?: string;
|
|
13
|
+
sycad_contact_phone?: number;
|
|
14
|
+
sycad_contact_phone_alt?: number;
|
|
15
|
+
sycad_contact_fax?: string;
|
|
16
|
+
sycad_contact_email?: string;
|
|
17
|
+
sycad_corporate_email_alt?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class MUserContactAddress {
|
|
20
|
+
_id?: string;
|
|
21
|
+
sycad_user_id_user?: string;
|
|
22
|
+
sycad_address_type_id_sygms?: string;
|
|
23
|
+
sycad_contact_person_name?: string;
|
|
24
|
+
sycad_contact_person_famb?: string;
|
|
25
|
+
sycad_contact_address?: string;
|
|
26
|
+
sycad_contact_pin_sypin?: string;
|
|
27
|
+
sycad_contact_city_sypin?: string;
|
|
28
|
+
sycad_contact_state_sypin?: string;
|
|
29
|
+
sycad_contact_country_syctr?: string;
|
|
30
|
+
sycad_contact_phone?: number;
|
|
31
|
+
sycad_contact_phone_alt?: number;
|
|
32
|
+
sycad_contact_fax?: string;
|
|
33
|
+
sycad_contact_email?: string;
|
|
34
|
+
sycad_corporate_email_alt?: string;
|
|
35
|
+
constructor(init: IUserContactAddress);
|
|
36
|
+
Validate?(): Partial<Record<keyof IUserContactAddress, string>>;
|
|
37
|
+
}
|
|
38
|
+
export interface UserContactAddressControllerResponse extends controllerResponse {
|
|
39
|
+
data?: {
|
|
40
|
+
contact_addresses: IUserContactAddress[];
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface UserContactAddressSingleControllerResponse extends controllerResponse {
|
|
44
|
+
data?: {
|
|
45
|
+
contact_address: IUserContactAddress;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MUserContactAddress = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
// User Contact Addresses Model
|
|
7
|
+
class MUserContactAddress {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
if (!this.sycad_user_id_user) {
|
|
14
|
+
errorLogger.sycad_user_id_user = "User ID is required!";
|
|
15
|
+
}
|
|
16
|
+
if (!this.sycad_address_type_id_sygms) {
|
|
17
|
+
errorLogger.sycad_address_type_id_sygms = "Address type is required!";
|
|
18
|
+
}
|
|
19
|
+
if (!this.sycad_contact_person_name) {
|
|
20
|
+
errorLogger.sycad_contact_person_name = "Contact person name is required!";
|
|
21
|
+
}
|
|
22
|
+
if (!this.sycad_contact_address) {
|
|
23
|
+
errorLogger.sycad_contact_address = "Contact address is required!";
|
|
24
|
+
}
|
|
25
|
+
return errorLogger;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.MUserContactAddress = MUserContactAddress;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
export interface IUserDocument {
|
|
3
|
+
_id?: string;
|
|
4
|
+
syusd_user_id_user?: string;
|
|
5
|
+
syusd_address_type_id_sygms?: string;
|
|
6
|
+
syusd_doc_number?: string;
|
|
7
|
+
syusd_doc_name_as_per_doc?: string;
|
|
8
|
+
syusd_doc_issue_date?: Date;
|
|
9
|
+
syusd_doc_expiry_date?: Date;
|
|
10
|
+
syusd_photo_group_id_cyfm?: string;
|
|
11
|
+
syusd_doc_verification_status_id_sygms?: string;
|
|
12
|
+
syusd_doc_kyc_status_id_sygms?: string;
|
|
13
|
+
syusd_isactive?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class MUserDocument {
|
|
16
|
+
_id?: string;
|
|
17
|
+
syusd_user_id_user?: string;
|
|
18
|
+
syusd_address_type_id_sygms?: string;
|
|
19
|
+
syusd_doc_number?: string;
|
|
20
|
+
syusd_doc_name_as_per_doc?: string;
|
|
21
|
+
syusd_doc_issue_date?: Date;
|
|
22
|
+
syusd_doc_expiry_date?: Date;
|
|
23
|
+
syusd_photo_group_id_cyfm?: string;
|
|
24
|
+
syusd_doc_verification_status_id_sygms?: string;
|
|
25
|
+
syusd_doc_kyc_status_id_sygms?: string;
|
|
26
|
+
syusd_isactive?: boolean;
|
|
27
|
+
constructor(init: IUserDocument);
|
|
28
|
+
Validate?(): Partial<Record<keyof IUserDocument, string>>;
|
|
29
|
+
}
|
|
30
|
+
export interface UserDocumentControllerResponse extends controllerResponse {
|
|
31
|
+
data?: {
|
|
32
|
+
documents: IUserDocument[];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface UserDocumentSingleControllerResponse extends controllerResponse {
|
|
36
|
+
data?: {
|
|
37
|
+
document: IUserDocument;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MUserDocument = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
// User Documents Model
|
|
7
|
+
class MUserDocument {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
if (!this.syusd_user_id_user) {
|
|
14
|
+
errorLogger.syusd_user_id_user = "User ID is required!";
|
|
15
|
+
}
|
|
16
|
+
if (!this.syusd_doc_number) {
|
|
17
|
+
errorLogger.syusd_doc_number = "Document number is required!";
|
|
18
|
+
}
|
|
19
|
+
if (!this.syusd_doc_name_as_per_doc) {
|
|
20
|
+
errorLogger.syusd_doc_name_as_per_doc = "Document name is required!";
|
|
21
|
+
}
|
|
22
|
+
return errorLogger;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.MUserDocument = MUserDocument;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
export interface IUserFamilyDetail {
|
|
3
|
+
_id?: string;
|
|
4
|
+
syfdl_user_id_user?: string;
|
|
5
|
+
syfdl_family_member_name?: string;
|
|
6
|
+
syfdl_family_member_id_user?: string;
|
|
7
|
+
syfdl_relationship_id_sygms?: string;
|
|
8
|
+
syfdl_family_member_dob?: Date;
|
|
9
|
+
syfdl_contact_number?: number;
|
|
10
|
+
syfdl_blood_group_sygms?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class MUserFamilyDetail {
|
|
13
|
+
_id?: string;
|
|
14
|
+
syfdl_user_id_user?: string;
|
|
15
|
+
syfdl_family_member_name?: string;
|
|
16
|
+
syfdl_family_member_id_user?: string;
|
|
17
|
+
syfdl_relationship_id_sygms?: string;
|
|
18
|
+
syfdl_family_member_dob?: Date;
|
|
19
|
+
syfdl_contact_number?: number;
|
|
20
|
+
syfdl_blood_group_sygms?: string;
|
|
21
|
+
constructor(init: IUserFamilyDetail);
|
|
22
|
+
Validate?(): Partial<Record<keyof IUserFamilyDetail, string>>;
|
|
23
|
+
}
|
|
24
|
+
export interface UserFamilyDetailControllerResponse extends controllerResponse {
|
|
25
|
+
data?: {
|
|
26
|
+
family_details: IUserFamilyDetail[];
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface UserFamilyDetailSingleControllerResponse extends controllerResponse {
|
|
30
|
+
data?: {
|
|
31
|
+
family_detail: IUserFamilyDetail;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MUserFamilyDetail = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
// User Family Details Model
|
|
7
|
+
class MUserFamilyDetail {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
if (!this.syfdl_user_id_user) {
|
|
14
|
+
errorLogger.syfdl_user_id_user = "User ID is required!";
|
|
15
|
+
}
|
|
16
|
+
if (!this.syfdl_family_member_name) {
|
|
17
|
+
errorLogger.syfdl_family_member_name = "Family member name is required!";
|
|
18
|
+
}
|
|
19
|
+
if (!this.syfdl_relationship_id_sygms) {
|
|
20
|
+
errorLogger.syfdl_relationship_id_sygms = "Relationship is required!";
|
|
21
|
+
}
|
|
22
|
+
return errorLogger;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.MUserFamilyDetail = MUserFamilyDetail;
|
|
@@ -8,6 +8,11 @@ export * from "./core_general_master";
|
|
|
8
8
|
export * from "./core_system_menu";
|
|
9
9
|
export * from "./core_pin_code";
|
|
10
10
|
export * from "./user";
|
|
11
|
+
export * from "./core_user_contact_addresses";
|
|
12
|
+
export * from "./core_user_documents";
|
|
13
|
+
export * from "./core_user_family_details";
|
|
14
|
+
export * from "./core_user_attributes";
|
|
15
|
+
export * from "./core_entity_access_pass_management";
|
|
11
16
|
export * from "./core_system_themes";
|
|
12
17
|
export * from "./core_system_theme_user_preferences";
|
|
13
18
|
export * from "./core_iso_currency";
|
package/lib/model/core/index.js
CHANGED
|
@@ -24,6 +24,11 @@ __exportStar(require("./core_general_master"), exports);
|
|
|
24
24
|
__exportStar(require("./core_system_menu"), exports);
|
|
25
25
|
__exportStar(require("./core_pin_code"), exports);
|
|
26
26
|
__exportStar(require("./user"), exports);
|
|
27
|
+
__exportStar(require("./core_user_contact_addresses"), exports);
|
|
28
|
+
__exportStar(require("./core_user_documents"), exports);
|
|
29
|
+
__exportStar(require("./core_user_family_details"), exports);
|
|
30
|
+
__exportStar(require("./core_user_attributes"), exports);
|
|
31
|
+
__exportStar(require("./core_entity_access_pass_management"), exports);
|
|
27
32
|
__exportStar(require("./core_system_themes"), exports);
|
|
28
33
|
__exportStar(require("./core_system_theme_user_preferences"), exports);
|
|
29
34
|
__exportStar(require("./core_iso_currency"), exports);
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
declare class IUser {
|
|
2
2
|
_id?: string;
|
|
3
|
-
user_id_ent?: string;
|
|
4
3
|
user_username?: string;
|
|
5
4
|
user_firstname?: string;
|
|
6
5
|
user_middlename?: string;
|
|
7
6
|
user_lastname?: string;
|
|
8
7
|
user_fullname?: string;
|
|
9
8
|
user_emailid?: string;
|
|
10
|
-
user_mobileno?:
|
|
9
|
+
user_mobileno?: string;
|
|
11
10
|
user_password?: string;
|
|
12
|
-
user_activefrom?:
|
|
13
|
-
user_activeupto?:
|
|
14
|
-
|
|
15
|
-
user_passwordchangeonlogin?:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
user_isactive?:
|
|
11
|
+
user_activefrom?: string;
|
|
12
|
+
user_activeupto?: string;
|
|
13
|
+
user_photo_id_cyfm?: string;
|
|
14
|
+
user_passwordchangeonlogin?: string;
|
|
15
|
+
user_role_id_role?: string;
|
|
16
|
+
user_designation_id_sydsg?: string;
|
|
17
|
+
user_department_id_sydept?: string;
|
|
18
|
+
user_entity_id_syen?: string;
|
|
19
|
+
user_isactive?: string;
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
_id: string;
|
|
24
|
-
create?: boolean;
|
|
25
|
-
read?: boolean;
|
|
26
|
-
update?: boolean;
|
|
27
|
-
delete?: boolean;
|
|
21
|
+
declare class AuthUserMst extends IUser {
|
|
28
22
|
}
|
|
29
23
|
export { IUser, // interface name
|
|
30
|
-
|
|
24
|
+
AuthUserMst };
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthUserMst = exports.IUser = void 0;
|
|
4
|
+
/* INTERFACE START */
|
|
5
|
+
class IUser {
|
|
6
|
+
}
|
|
7
|
+
exports.IUser = IUser;
|
|
8
|
+
class AuthUserMst extends IUser {
|
|
9
|
+
}
|
|
10
|
+
exports.AuthUserMst = AuthUserMst;
|
|
11
|
+
;
|
|
@@ -5,5 +5,10 @@ declare const COLLECTIONS: {
|
|
|
5
5
|
core_system_pages: string;
|
|
6
6
|
core_file_manager: string;
|
|
7
7
|
core_general_master: string;
|
|
8
|
+
core_user_contact_addresses: string;
|
|
9
|
+
core_user_documents: string;
|
|
10
|
+
core_user_family_details: string;
|
|
11
|
+
core_user_attributes: string;
|
|
12
|
+
core_entity_access_pass_management: string;
|
|
8
13
|
};
|
|
9
14
|
export { COLLECTIONS };
|
|
@@ -7,6 +7,11 @@ const COLLECTIONS = {
|
|
|
7
7
|
core_page_elements_mapping: "core_page_elements_mapping",
|
|
8
8
|
core_system_pages: "core_system_pages",
|
|
9
9
|
core_file_manager: "core_file_manager",
|
|
10
|
-
core_general_master: "core_general_master"
|
|
10
|
+
core_general_master: "core_general_master",
|
|
11
|
+
core_user_contact_addresses: "core_user_contact_addresses",
|
|
12
|
+
core_user_documents: "core_user_documents",
|
|
13
|
+
core_user_family_details: "core_user_family_details",
|
|
14
|
+
core_user_attributes: "core_user_attributes",
|
|
15
|
+
core_entity_access_pass_management: "core_entity_access_pass_management"
|
|
11
16
|
};
|
|
12
17
|
exports.COLLECTIONS = COLLECTIONS;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare class CoreUserContactAddresses {
|
|
2
|
+
_id?: string;
|
|
3
|
+
sycad_user_id_user?: string;
|
|
4
|
+
sycad_address_type_id_sygms?: string;
|
|
5
|
+
sycad_contact_person_name?: string;
|
|
6
|
+
sycad_contact_person_famb?: string;
|
|
7
|
+
sycad_contact_address?: string;
|
|
8
|
+
sycad_contact_pin_sypin?: string;
|
|
9
|
+
sycad_contact_city_sypin?: string;
|
|
10
|
+
sycad_contact_state_sypin?: string;
|
|
11
|
+
sycad_contact_country_syctr?: string;
|
|
12
|
+
sycad_contact_phone?: number;
|
|
13
|
+
sycad_contact_phone_alt?: number;
|
|
14
|
+
sycad_contact_fax?: string;
|
|
15
|
+
sycad_contact_email?: string;
|
|
16
|
+
syen_corporate_email_alt?: string;
|
|
17
|
+
}
|
|
18
|
+
export { CoreUserContactAddresses };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare class CoreUserDocuments {
|
|
2
|
+
_id?: string;
|
|
3
|
+
syusd_user_id_user?: string;
|
|
4
|
+
syusd_address_type_id_sygms?: string;
|
|
5
|
+
syusd_doc_number?: string;
|
|
6
|
+
syusd_doc_name_as_per_doc?: string;
|
|
7
|
+
syusd_doc_issue_date?: Date;
|
|
8
|
+
syusd_doc_expiry_date?: Date;
|
|
9
|
+
syusd_photo_group_id_cyfm?: string;
|
|
10
|
+
syusd_doc_verification_status_id_sygms?: string;
|
|
11
|
+
syusd_doc_kyc_status_id_sygms?: string;
|
|
12
|
+
syusd_isactive?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export { CoreUserDocuments };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class CoreUserFamilyDetails {
|
|
2
|
+
_id?: string;
|
|
3
|
+
syfdl_user_id_user?: string;
|
|
4
|
+
syfdl_family_member_name?: string;
|
|
5
|
+
syfdl_family_member_id_user?: string;
|
|
6
|
+
syfdl_relationship_id_sygms?: string;
|
|
7
|
+
syfdl_family_member_dob?: Date;
|
|
8
|
+
syfdl_contact_number?: number;
|
|
9
|
+
syfdl_blood_group_sygms?: string;
|
|
10
|
+
}
|
|
11
|
+
export { CoreUserFamilyDetails };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
interface ICoreUserContactAddress {
|
|
2
|
+
_id?: string;
|
|
3
|
+
sycad_user_id_user?: string;
|
|
4
|
+
sycad_address_type_id_sygms?: string;
|
|
5
|
+
sycad_contact_person_name?: string;
|
|
6
|
+
sycad_contact_person_famb?: string;
|
|
7
|
+
sycad_contact_address?: string;
|
|
8
|
+
sycad_contact_pin_sypin?: string;
|
|
9
|
+
sycad_contact_city_sypin?: string;
|
|
10
|
+
sycad_contact_state_sypin?: string;
|
|
11
|
+
sycad_contact_country_syctr?: string;
|
|
12
|
+
sycad_contact_phone?: number;
|
|
13
|
+
sycad_contact_phone_alt?: number;
|
|
14
|
+
sycad_contact_fax?: string;
|
|
15
|
+
sycad_contact_email?: string;
|
|
16
|
+
sycad_corporate_email_alt?: string;
|
|
17
|
+
created_at?: Date;
|
|
18
|
+
updated_at?: Date;
|
|
19
|
+
created_by?: string;
|
|
20
|
+
updated_by?: string;
|
|
21
|
+
}
|
|
22
|
+
interface ICoreUserDocument {
|
|
23
|
+
_id?: string;
|
|
24
|
+
syusd_user_id_user?: string;
|
|
25
|
+
syusd_address_type_id_sygms?: string;
|
|
26
|
+
syusd_doc_number?: string;
|
|
27
|
+
syusd_doc_name_as_per_doc?: string;
|
|
28
|
+
syusd_doc_issue_date?: Date;
|
|
29
|
+
syusd_doc_expiry_date?: Date;
|
|
30
|
+
syusd_photo_group_id_cyfm?: string;
|
|
31
|
+
syusd_doc_verification_status_id_sygms?: string;
|
|
32
|
+
syusd_doc_kyc_status_id_sygms?: string;
|
|
33
|
+
syusd_isactive?: boolean;
|
|
34
|
+
created_at?: Date;
|
|
35
|
+
updated_at?: Date;
|
|
36
|
+
created_by?: string;
|
|
37
|
+
updated_by?: string;
|
|
38
|
+
}
|
|
39
|
+
interface ICoreUserFamilyDetail {
|
|
40
|
+
_id?: string;
|
|
41
|
+
syfdl_user_id_user?: string;
|
|
42
|
+
syfdl_family_member_name?: string;
|
|
43
|
+
syfdl_family_member_id_user?: string;
|
|
44
|
+
syfdl_relationship_id_sygms?: string;
|
|
45
|
+
syfdl_family_member_dob?: Date;
|
|
46
|
+
syfdl_contact_number?: number;
|
|
47
|
+
syfdl_blood_group_sygms?: string;
|
|
48
|
+
created_at?: Date;
|
|
49
|
+
updated_at?: Date;
|
|
50
|
+
created_by?: string;
|
|
51
|
+
updated_by?: string;
|
|
52
|
+
}
|
|
53
|
+
interface ICoreUserAttribute {
|
|
54
|
+
_id?: string;
|
|
55
|
+
syuat_user_id_user?: string;
|
|
56
|
+
syuat_attribute_key?: string;
|
|
57
|
+
syuat_attribute_value?: any;
|
|
58
|
+
syuat_data_type?: string;
|
|
59
|
+
syuat_industry_context_sygms?: string;
|
|
60
|
+
created_at?: Date;
|
|
61
|
+
updated_at?: Date;
|
|
62
|
+
created_by?: string;
|
|
63
|
+
updated_by?: string;
|
|
64
|
+
}
|
|
65
|
+
interface ICoreEntityAccessPassManagement {
|
|
66
|
+
_id?: string;
|
|
67
|
+
syepm_user_id_user?: string;
|
|
68
|
+
syepm_entity_id_syen?: string;
|
|
69
|
+
syepm_access_passs_to?: string;
|
|
70
|
+
syepm_ownership_status?: string;
|
|
71
|
+
syepm_isactive?: boolean;
|
|
72
|
+
syepm_actions_allowed?: {
|
|
73
|
+
can_edit: {
|
|
74
|
+
status: boolean;
|
|
75
|
+
};
|
|
76
|
+
can_view: {
|
|
77
|
+
status: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
created_at?: Date;
|
|
81
|
+
updated_at?: Date;
|
|
82
|
+
created_by?: string;
|
|
83
|
+
updated_by?: string;
|
|
84
|
+
}
|
|
85
|
+
interface ICoreUserMaster {
|
|
86
|
+
_id?: string;
|
|
87
|
+
user_fullname?: string;
|
|
88
|
+
user_email?: string;
|
|
89
|
+
user_phone?: string;
|
|
90
|
+
user_dob?: Date;
|
|
91
|
+
user_gender?: string;
|
|
92
|
+
user_blood_group?: string;
|
|
93
|
+
user_marital_status?: string;
|
|
94
|
+
user_nationality?: string;
|
|
95
|
+
user_religion?: string;
|
|
96
|
+
user_caste?: string;
|
|
97
|
+
user_category?: string;
|
|
98
|
+
user_isactive?: boolean;
|
|
99
|
+
created_at?: Date;
|
|
100
|
+
updated_at?: Date;
|
|
101
|
+
created_by?: string;
|
|
102
|
+
updated_by?: string;
|
|
103
|
+
}
|
|
104
|
+
export { ICoreUserContactAddress, ICoreUserDocument, ICoreUserFamilyDetail, ICoreUserAttribute, ICoreEntityAccessPassManagement, ICoreUserMaster };
|