gemcap-be-common 1.5.125 → 1.5.126
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/models/Appraiser.model.d.ts +1 -0
- package/models/Appraiser.model.js +4 -0
- package/models/Appraiser.model.ts +5 -0
- package/models/AppraiserContact.model.d.ts +1 -0
- package/models/AppraiserContact.model.js +4 -0
- package/models/AppraiserContact.model.ts +5 -0
- package/models/Auditor.model.d.ts +1 -0
- package/models/Auditor.model.js +4 -0
- package/models/Auditor.model.ts +5 -0
- package/models/AuditorContact.model.d.ts +1 -0
- package/models/AuditorContact.model.js +4 -0
- package/models/AuditorContact.model.ts +5 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -5,6 +5,7 @@ import { MODEL_NAMES } from './_models';
|
|
|
5
5
|
|
|
6
6
|
export interface IAppraiser {
|
|
7
7
|
isDeleted: boolean;
|
|
8
|
+
uiId: string;
|
|
8
9
|
name: string;
|
|
9
10
|
speciality?: string;
|
|
10
11
|
order?: number;
|
|
@@ -33,6 +34,10 @@ export const AppraiserSchema = new mongoose.Schema<IAppraiser, AppraiserModel>(
|
|
|
33
34
|
type: Boolean,
|
|
34
35
|
default: false,
|
|
35
36
|
},
|
|
37
|
+
uiId: {
|
|
38
|
+
type: String,
|
|
39
|
+
required: true,
|
|
40
|
+
},
|
|
36
41
|
name: {
|
|
37
42
|
type: String,
|
|
38
43
|
required: true,
|
|
@@ -5,6 +5,7 @@ import { MODEL_NAMES } from './_models';
|
|
|
5
5
|
|
|
6
6
|
export interface IAppraiserContact {
|
|
7
7
|
appraiserId: mongoose.Types.ObjectId;
|
|
8
|
+
uiId: string;
|
|
8
9
|
isDeleted: boolean;
|
|
9
10
|
name?: string;
|
|
10
11
|
title?: string;
|
|
@@ -43,6 +44,10 @@ export const AppraiserContactSchema = new mongoose.Schema<IAppraiserContact, App
|
|
|
43
44
|
ref: MODEL_NAMES.appraiser,
|
|
44
45
|
required: true,
|
|
45
46
|
},
|
|
47
|
+
uiId: {
|
|
48
|
+
type: String,
|
|
49
|
+
required: true,
|
|
50
|
+
},
|
|
46
51
|
isDeleted: {
|
|
47
52
|
type: Boolean,
|
|
48
53
|
default: false,
|
package/models/Auditor.model.js
CHANGED
package/models/Auditor.model.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { MODEL_NAMES } from './_models';
|
|
|
5
5
|
|
|
6
6
|
export interface IAuditor {
|
|
7
7
|
isDeleted: boolean;
|
|
8
|
+
uiId: string;
|
|
8
9
|
name: string;
|
|
9
10
|
order?: number;
|
|
10
11
|
}
|
|
@@ -42,6 +43,10 @@ export const AuditorSchema = new mongoose.Schema<IAuditor, AuditorModel>(
|
|
|
42
43
|
type: Boolean,
|
|
43
44
|
default: false,
|
|
44
45
|
},
|
|
46
|
+
uiId: {
|
|
47
|
+
type: String,
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
45
50
|
name: {
|
|
46
51
|
type: String,
|
|
47
52
|
required: true,
|
|
@@ -6,6 +6,7 @@ import { MODEL_NAMES } from './_models';
|
|
|
6
6
|
export interface IAuditorContact {
|
|
7
7
|
auditorId: mongoose.Types.ObjectId;
|
|
8
8
|
isDeleted: boolean;
|
|
9
|
+
uiId: string;
|
|
9
10
|
name: string;
|
|
10
11
|
email?: string;
|
|
11
12
|
normalizedEmail?: string;
|
|
@@ -49,6 +50,10 @@ export const AuditorContactSchema = new mongoose.Schema<IAuditorContact, Auditor
|
|
|
49
50
|
ref: MODEL_NAMES.auditors,
|
|
50
51
|
required: true,
|
|
51
52
|
},
|
|
53
|
+
uiId: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: true,
|
|
56
|
+
},
|
|
52
57
|
isDeleted: {
|
|
53
58
|
type: Boolean,
|
|
54
59
|
default: false,
|