cloud-ide-lms-model 1.0.202 → 1.0.205
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_department.d.ts +9 -1
- package/lib/model/core/core_department.js +2 -1
- 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/collection_names.d.ts +5 -0
- package/lib/schema/collection_names.js +6 -1
- package/lib/schema/core/index.d.ts +1 -0
- package/lib/schema/core/index.js +1 -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
|
@@ -13,6 +13,9 @@ type IDepartmentDeleteErrorLogger = {
|
|
|
13
13
|
type IDepartmentInsertUpdateErrorLogger = {
|
|
14
14
|
[key in keyof MDepartmentInsertUpdatePayload]: string;
|
|
15
15
|
};
|
|
16
|
+
type IDepartmentToggleStatusErrorLogger = {
|
|
17
|
+
[key in keyof MDepartmentToggleStatusPayload]: string;
|
|
18
|
+
};
|
|
16
19
|
declare class MDepartment extends MTableQueries {
|
|
17
20
|
sydept_code?: string;
|
|
18
21
|
sydept_name?: string;
|
|
@@ -33,6 +36,11 @@ declare class MDepartmentDeletePayload {
|
|
|
33
36
|
constructor(init: MDepartmentDeletePayload);
|
|
34
37
|
Validate?(): Partial<IDepartmentDeleteErrorLogger>;
|
|
35
38
|
}
|
|
39
|
+
declare class MDepartmentToggleStatusPayload {
|
|
40
|
+
sydept_id?: string;
|
|
41
|
+
constructor(init: MDepartmentToggleStatusPayload);
|
|
42
|
+
Validate?(): Partial<IDepartmentToggleStatusErrorLogger>;
|
|
43
|
+
}
|
|
36
44
|
declare class MDepartmentInsertUpdatePayload implements ICoreSydept {
|
|
37
45
|
_id?: string;
|
|
38
46
|
sydept_code?: string;
|
|
@@ -59,4 +67,4 @@ interface departmentDeleteControllerResponse extends controllerResponse {
|
|
|
59
67
|
interface departmentToggleStatusControllerResponse extends controllerResponse {
|
|
60
68
|
data?: boolean;
|
|
61
69
|
}
|
|
62
|
-
export { IDepartmentErrorLogger, IDepartmentGetByIdErrorLogger, IDepartmentDeleteErrorLogger, IDepartmentInsertUpdateErrorLogger, MDepartment, MDepartmentGetByIdPayload, MDepartmentDeletePayload, MDepartmentInsertUpdatePayload, departmentControllerResponse, departmentByIdControllerResponse, departmentInsertUpdateControllerResponse, departmentDeleteControllerResponse, departmentToggleStatusControllerResponse };
|
|
70
|
+
export { IDepartmentErrorLogger, IDepartmentGetByIdErrorLogger, IDepartmentDeleteErrorLogger, IDepartmentInsertUpdateErrorLogger, MDepartment, MDepartmentGetByIdPayload, MDepartmentDeletePayload, MDepartmentInsertUpdatePayload, departmentControllerResponse, departmentByIdControllerResponse, departmentInsertUpdateControllerResponse, departmentDeleteControllerResponse, departmentToggleStatusControllerResponse, MDepartmentToggleStatusPayload };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MDepartmentInsertUpdatePayload = exports.MDepartmentDeletePayload = exports.MDepartmentGetByIdPayload = exports.MDepartment = void 0;
|
|
3
|
+
exports.MDepartmentToggleStatusPayload = exports.MDepartmentInsertUpdatePayload = exports.MDepartmentDeletePayload = exports.MDepartmentGetByIdPayload = exports.MDepartment = void 0;
|
|
4
4
|
const common_1 = require("../../common-types/common");
|
|
5
5
|
/* INTERFACE END */
|
|
6
6
|
/* MODEL START */
|
|
@@ -53,6 +53,7 @@ class MDepartmentToggleStatusPayload {
|
|
|
53
53
|
return errorLogger;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
+
exports.MDepartmentToggleStatusPayload = MDepartmentToggleStatusPayload;
|
|
56
57
|
class MDepartmentInsertUpdatePayload {
|
|
57
58
|
constructor(init) {
|
|
58
59
|
Object.assign(this, init);
|
|
@@ -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);
|
|
@@ -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;
|
package/lib/schema/core/index.js
CHANGED
|
@@ -39,3 +39,4 @@ __exportStar(require("./core_iso_currency"), exports);
|
|
|
39
39
|
__exportStar(require("./core_department"), exports);
|
|
40
40
|
__exportStar(require("./core_designation"), exports);
|
|
41
41
|
__exportStar(require("./core_designation_grade_level"), exports);
|
|
42
|
+
__exportStar(require("./user-master"), exports);
|
|
@@ -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 };
|