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.
@@ -31,6 +31,7 @@ import mongoose, { Document, Model } from 'mongoose';
31
31
  import Joi from 'joi';
32
32
  export interface IAppraiser {
33
33
  isDeleted: boolean;
34
+ uiId: string;
34
35
  name: string;
35
36
  speciality?: string;
36
37
  order?: number;
@@ -19,6 +19,10 @@ exports.AppraiserSchema = new mongoose_1.default.Schema({
19
19
  type: Boolean,
20
20
  default: false,
21
21
  },
22
+ uiId: {
23
+ type: String,
24
+ required: true,
25
+ },
22
26
  name: {
23
27
  type: String,
24
28
  required: true,
@@ -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,
@@ -31,6 +31,7 @@ import mongoose, { Document, Model } from 'mongoose';
31
31
  import Joi from 'joi';
32
32
  export interface IAppraiserContact {
33
33
  appraiserId: mongoose.Types.ObjectId;
34
+ uiId: string;
34
35
  isDeleted: boolean;
35
36
  name?: string;
36
37
  title?: string;
@@ -24,6 +24,10 @@ exports.AppraiserContactSchema = new mongoose_1.default.Schema({
24
24
  ref: _models_1.MODEL_NAMES.appraiser,
25
25
  required: true,
26
26
  },
27
+ uiId: {
28
+ type: String,
29
+ required: true,
30
+ },
27
31
  isDeleted: {
28
32
  type: Boolean,
29
33
  default: false,
@@ -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,
@@ -31,6 +31,7 @@ import mongoose from 'mongoose';
31
31
  import Joi from 'joi';
32
32
  export interface IAuditor {
33
33
  isDeleted: boolean;
34
+ uiId: string;
34
35
  name: string;
35
36
  order?: number;
36
37
  }
@@ -18,6 +18,10 @@ exports.AuditorSchema = new mongoose_1.default.Schema({
18
18
  type: Boolean,
19
19
  default: false,
20
20
  },
21
+ uiId: {
22
+ type: String,
23
+ required: true,
24
+ },
21
25
  name: {
22
26
  type: String,
23
27
  required: true,
@@ -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,
@@ -32,6 +32,7 @@ import Joi from 'joi';
32
32
  export interface IAuditorContact {
33
33
  auditorId: mongoose.Types.ObjectId;
34
34
  isDeleted: boolean;
35
+ uiId: string;
35
36
  name: string;
36
37
  email?: string;
37
38
  normalizedEmail?: string;
@@ -23,6 +23,10 @@ exports.AuditorContactSchema = new mongoose_1.default.Schema({
23
23
  ref: _models_1.MODEL_NAMES.auditors,
24
24
  required: true,
25
25
  },
26
+ uiId: {
27
+ type: String,
28
+ required: true,
29
+ },
26
30
  isDeleted: {
27
31
  type: Boolean,
28
32
  default: false,
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.125",
3
+ "version": "1.5.126",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {