tango-api-schema 2.3.21 → 2.3.22
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/package.json +1 -1
- package/schema/aiTicketConfig.js +42 -42
- package/schema/applicationDefault.model.js +24 -24
- package/schema/assignAudit.model.js +55 -55
- package/schema/auditLogs.model.js +77 -77
- package/schema/auditStoreData.model.js +56 -56
- package/schema/auditUserWallet.model.js +98 -98
- package/schema/auditUsers.model.js +53 -53
- package/schema/authentication.model.js +27 -27
- package/schema/basePricing.model.js +28 -28
- package/schema/billing.model.js +99 -99
- package/schema/clientRequest.model.js +38 -38
- package/schema/cluster.model.js +70 -70
- package/schema/controlCenterTemplateList.model.js +39 -39
- package/schema/countryCodes.model.js +26 -26
- package/schema/dataMismatchDraft.model.js +22 -22
- package/schema/domain.js +18 -18
- package/schema/edgeAppVersion.model.js +33 -33
- package/schema/edgeappAuth.model.js +30 -30
- package/schema/empDetectionOutput.model.js +67 -67
- package/schema/eyetest.model.js +18 -18
- package/schema/fitting.model.js +52 -52
- package/schema/group.model.js +34 -34
- package/schema/hotjar.model.js +11 -11
- package/schema/infraReason.model.js +44 -44
- package/schema/internalAuth.model.js +35 -35
- package/schema/invoice.model.js +104 -104
- package/schema/ipLogs.model.js +37 -37
- package/schema/lead.model.js +76 -76
- package/schema/lenskartEmployeeMapping.model.js +63 -63
- package/schema/locusOrder.model.js +154 -154
- package/schema/locusOrderUser.model.js +14 -14
- package/schema/lowcountReason.model.js +44 -44
- package/schema/mailOnlyuser.model.js +42 -42
- package/schema/matLog.model.js +26 -26
- package/schema/nobBilling.model.js +41 -41
- package/schema/otp.model.js +25 -25
- package/schema/paymentAccount.model.js +60 -60
- package/schema/planoCompliance.model.js +62 -62
- package/schema/planoTaskCompliance.model.js +3 -0
- package/schema/processeddetection.js +85 -85
- package/schema/quality.model.js +57 -57
- package/schema/report.model.js +30 -30
- package/schema/standaredRole.model.js +76 -76
- package/schema/storeAudit.model.js +62 -62
- package/schema/storeEmpDetection.model.js +62 -62
- package/schema/tagging.model.js +42 -42
- package/schema/tangoTicket.model.js +210 -210
- package/schema/taskQuestion.model.js +46 -46
- package/schema/teams.model.js +46 -46
- package/schema/transaction.model.js +54 -54
- package/schema/traxApprover.model.js +35 -35
- package/schema/traxAuditData.model.js +64 -64
- package/schema/userAssignedStore.model.js +41 -41
- package/schema/userAudit.model.js +77 -77
- package/schema/userEmpDetection.model.js +83 -83
- package/schema/workstation.model.js +75 -75
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
|
|
3
|
-
const taskQuestionconfigSchema = new mongoose.Schema({
|
|
4
|
-
question: {
|
|
5
|
-
type: Array,
|
|
6
|
-
required:true
|
|
7
|
-
},
|
|
8
|
-
section: {
|
|
9
|
-
type: String,
|
|
10
|
-
required:true
|
|
11
|
-
},
|
|
12
|
-
checkList: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
checkListId: {
|
|
17
|
-
type: mongoose.SchemaTypes.ObjectId,
|
|
18
|
-
required: true
|
|
19
|
-
},
|
|
20
|
-
client_id: {
|
|
21
|
-
type: String,
|
|
22
|
-
required: true
|
|
23
|
-
},
|
|
24
|
-
createdAt: {
|
|
25
|
-
type: Date,
|
|
26
|
-
default: Date.now
|
|
27
|
-
},
|
|
28
|
-
updatedAt: {
|
|
29
|
-
type: Date,
|
|
30
|
-
default: Date.now
|
|
31
|
-
},
|
|
32
|
-
isdeleted: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: false
|
|
35
|
-
},
|
|
36
|
-
sectionOldName:{
|
|
37
|
-
type: String,
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
strict: true,
|
|
42
|
-
versionKey: false,
|
|
43
|
-
timestamps: true,
|
|
44
|
-
},
|
|
45
|
-
);
|
|
46
|
-
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const taskQuestionconfigSchema = new mongoose.Schema({
|
|
4
|
+
question: {
|
|
5
|
+
type: Array,
|
|
6
|
+
required:true
|
|
7
|
+
},
|
|
8
|
+
section: {
|
|
9
|
+
type: String,
|
|
10
|
+
required:true
|
|
11
|
+
},
|
|
12
|
+
checkList: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
checkListId: {
|
|
17
|
+
type: mongoose.SchemaTypes.ObjectId,
|
|
18
|
+
required: true
|
|
19
|
+
},
|
|
20
|
+
client_id: {
|
|
21
|
+
type: String,
|
|
22
|
+
required: true
|
|
23
|
+
},
|
|
24
|
+
createdAt: {
|
|
25
|
+
type: Date,
|
|
26
|
+
default: Date.now
|
|
27
|
+
},
|
|
28
|
+
updatedAt: {
|
|
29
|
+
type: Date,
|
|
30
|
+
default: Date.now
|
|
31
|
+
},
|
|
32
|
+
isdeleted: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
sectionOldName:{
|
|
37
|
+
type: String,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
strict: true,
|
|
42
|
+
versionKey: false,
|
|
43
|
+
timestamps: true,
|
|
44
|
+
},
|
|
45
|
+
);
|
|
46
|
+
|
|
47
47
|
export default mongoose.model( 'taskQuestionsConfig', taskQuestionconfigSchema);
|
package/schema/teams.model.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import mongoose from 'mongoose'
|
|
2
|
-
|
|
3
|
-
let teamsSchema = new mongoose.Schema(
|
|
4
|
-
{
|
|
5
|
-
clientId: {
|
|
6
|
-
type: String
|
|
7
|
-
},
|
|
8
|
-
teamName: {
|
|
9
|
-
type: String
|
|
10
|
-
},
|
|
11
|
-
description: {
|
|
12
|
-
type: String
|
|
13
|
-
},
|
|
14
|
-
Teamlead: [
|
|
15
|
-
{
|
|
16
|
-
email: {
|
|
17
|
-
type: String,
|
|
18
|
-
},
|
|
19
|
-
userId: {
|
|
20
|
-
type: mongoose.Types.ObjectId
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
users: [
|
|
25
|
-
{
|
|
26
|
-
email: {
|
|
27
|
-
type: String,
|
|
28
|
-
},
|
|
29
|
-
userId: {
|
|
30
|
-
type: mongoose.Types.ObjectId
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
status: {
|
|
35
|
-
type: String,
|
|
36
|
-
default:"active"
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
strict: true,
|
|
42
|
-
versionKey: false,
|
|
43
|
-
timestamps: true,
|
|
44
|
-
}
|
|
45
|
-
)
|
|
46
|
-
|
|
1
|
+
import mongoose from 'mongoose'
|
|
2
|
+
|
|
3
|
+
let teamsSchema = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
clientId: {
|
|
6
|
+
type: String
|
|
7
|
+
},
|
|
8
|
+
teamName: {
|
|
9
|
+
type: String
|
|
10
|
+
},
|
|
11
|
+
description: {
|
|
12
|
+
type: String
|
|
13
|
+
},
|
|
14
|
+
Teamlead: [
|
|
15
|
+
{
|
|
16
|
+
email: {
|
|
17
|
+
type: String,
|
|
18
|
+
},
|
|
19
|
+
userId: {
|
|
20
|
+
type: mongoose.Types.ObjectId
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
users: [
|
|
25
|
+
{
|
|
26
|
+
email: {
|
|
27
|
+
type: String,
|
|
28
|
+
},
|
|
29
|
+
userId: {
|
|
30
|
+
type: mongoose.Types.ObjectId
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
status: {
|
|
35
|
+
type: String,
|
|
36
|
+
default:"active"
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
strict: true,
|
|
42
|
+
versionKey: false,
|
|
43
|
+
timestamps: true,
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
|
|
47
47
|
export default mongoose.model('teams', teamsSchema);
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
|
|
3
|
-
const transactionSchema = new mongoose.Schema(
|
|
4
|
-
{
|
|
5
|
-
clientId: {
|
|
6
|
-
type: String
|
|
7
|
-
},
|
|
8
|
-
orderId: {
|
|
9
|
-
type: String
|
|
10
|
-
},
|
|
11
|
-
paymentId: {
|
|
12
|
-
type: String
|
|
13
|
-
},
|
|
14
|
-
debtType: {
|
|
15
|
-
type: String,
|
|
16
|
-
enum: [ 'wallet', 'razor' ],
|
|
17
|
-
},
|
|
18
|
-
billingDate: {
|
|
19
|
-
type: Date
|
|
20
|
-
},
|
|
21
|
-
invoice: {
|
|
22
|
-
type: String
|
|
23
|
-
},
|
|
24
|
-
groupName: {
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
groupId: {
|
|
28
|
-
type: mongoose.Types.ObjectId
|
|
29
|
-
},
|
|
30
|
-
amount: {
|
|
31
|
-
type: Number
|
|
32
|
-
},
|
|
33
|
-
currency: {
|
|
34
|
-
type: String,
|
|
35
|
-
enum: [ 'dollar', 'inr' ],
|
|
36
|
-
},
|
|
37
|
-
transactionType: {
|
|
38
|
-
type: String,
|
|
39
|
-
enum: [ 'credit', 'debt' ],
|
|
40
|
-
},
|
|
41
|
-
balanceCredit: {
|
|
42
|
-
type: Number
|
|
43
|
-
},
|
|
44
|
-
balanceCreditCurrency: {
|
|
45
|
-
type: String,
|
|
46
|
-
enum: [ 'dollar', 'inr' ],
|
|
47
|
-
},
|
|
48
|
-
}, {
|
|
49
|
-
strict: true,
|
|
50
|
-
versionKey: false,
|
|
51
|
-
timestamps: true,
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const transactionSchema = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
clientId: {
|
|
6
|
+
type: String
|
|
7
|
+
},
|
|
8
|
+
orderId: {
|
|
9
|
+
type: String
|
|
10
|
+
},
|
|
11
|
+
paymentId: {
|
|
12
|
+
type: String
|
|
13
|
+
},
|
|
14
|
+
debtType: {
|
|
15
|
+
type: String,
|
|
16
|
+
enum: [ 'wallet', 'razor' ],
|
|
17
|
+
},
|
|
18
|
+
billingDate: {
|
|
19
|
+
type: Date
|
|
20
|
+
},
|
|
21
|
+
invoice: {
|
|
22
|
+
type: String
|
|
23
|
+
},
|
|
24
|
+
groupName: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
groupId: {
|
|
28
|
+
type: mongoose.Types.ObjectId
|
|
29
|
+
},
|
|
30
|
+
amount: {
|
|
31
|
+
type: Number
|
|
32
|
+
},
|
|
33
|
+
currency: {
|
|
34
|
+
type: String,
|
|
35
|
+
enum: [ 'dollar', 'inr' ],
|
|
36
|
+
},
|
|
37
|
+
transactionType: {
|
|
38
|
+
type: String,
|
|
39
|
+
enum: [ 'credit', 'debt' ],
|
|
40
|
+
},
|
|
41
|
+
balanceCredit: {
|
|
42
|
+
type: Number
|
|
43
|
+
},
|
|
44
|
+
balanceCreditCurrency: {
|
|
45
|
+
type: String,
|
|
46
|
+
enum: [ 'dollar', 'inr' ],
|
|
47
|
+
},
|
|
48
|
+
}, {
|
|
49
|
+
strict: true,
|
|
50
|
+
versionKey: false,
|
|
51
|
+
timestamps: true,
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
|
|
55
55
|
export default mongoose.model('transaction', transactionSchema);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
|
|
3
|
-
const traxApproverSchema = new mongoose.Schema({
|
|
4
|
-
userEmail:{
|
|
5
|
-
type:String,
|
|
6
|
-
require:true
|
|
7
|
-
},
|
|
8
|
-
checkListId:{
|
|
9
|
-
type:mongoose.Types.ObjectId,
|
|
10
|
-
required:true
|
|
11
|
-
},
|
|
12
|
-
isDeleted:{
|
|
13
|
-
type:Boolean,
|
|
14
|
-
default:false
|
|
15
|
-
},
|
|
16
|
-
type:{
|
|
17
|
-
type:String,
|
|
18
|
-
enum:['checklist','task']
|
|
19
|
-
},
|
|
20
|
-
client_id:{
|
|
21
|
-
type:String,
|
|
22
|
-
default:''
|
|
23
|
-
},
|
|
24
|
-
checkListName:{
|
|
25
|
-
type:String,
|
|
26
|
-
default:''
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
strict: true,
|
|
31
|
-
versionKey: false,
|
|
32
|
-
timestamps: true,
|
|
33
|
-
},
|
|
34
|
-
);
|
|
35
|
-
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const traxApproverSchema = new mongoose.Schema({
|
|
4
|
+
userEmail:{
|
|
5
|
+
type:String,
|
|
6
|
+
require:true
|
|
7
|
+
},
|
|
8
|
+
checkListId:{
|
|
9
|
+
type:mongoose.Types.ObjectId,
|
|
10
|
+
required:true
|
|
11
|
+
},
|
|
12
|
+
isDeleted:{
|
|
13
|
+
type:Boolean,
|
|
14
|
+
default:false
|
|
15
|
+
},
|
|
16
|
+
type:{
|
|
17
|
+
type:String,
|
|
18
|
+
enum:['checklist','task']
|
|
19
|
+
},
|
|
20
|
+
client_id:{
|
|
21
|
+
type:String,
|
|
22
|
+
default:''
|
|
23
|
+
},
|
|
24
|
+
checkListName:{
|
|
25
|
+
type:String,
|
|
26
|
+
default:''
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
strict: true,
|
|
31
|
+
versionKey: false,
|
|
32
|
+
timestamps: true,
|
|
33
|
+
},
|
|
34
|
+
);
|
|
35
|
+
|
|
36
36
|
export default mongoose.model( 'traxApprover', traxApproverSchema);
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @name api_audit
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// NPM Modules
|
|
6
|
-
import mongoose from 'mongoose';
|
|
7
|
-
|
|
8
|
-
// Schema
|
|
9
|
-
const traxAuditData = new mongoose.Schema( {
|
|
10
|
-
|
|
11
|
-
clientId: {
|
|
12
|
-
type: String,
|
|
13
|
-
},
|
|
14
|
-
clientName: {
|
|
15
|
-
type: String,
|
|
16
|
-
trim:true
|
|
17
|
-
},
|
|
18
|
-
storeId:{
|
|
19
|
-
type:String
|
|
20
|
-
},
|
|
21
|
-
zoneName:{
|
|
22
|
-
type: String
|
|
23
|
-
},
|
|
24
|
-
moduleType:{
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
streamName:{
|
|
28
|
-
type: String
|
|
29
|
-
},
|
|
30
|
-
tempId:{
|
|
31
|
-
type: Number
|
|
32
|
-
},
|
|
33
|
-
question:{
|
|
34
|
-
type:String
|
|
35
|
-
},
|
|
36
|
-
fileDate: {
|
|
37
|
-
type: String,
|
|
38
|
-
},
|
|
39
|
-
fileDateISO: {
|
|
40
|
-
type: Date,
|
|
41
|
-
},
|
|
42
|
-
queueName: {
|
|
43
|
-
type: String,
|
|
44
|
-
trim:true
|
|
45
|
-
},
|
|
46
|
-
installedStore: {
|
|
47
|
-
type: Number,
|
|
48
|
-
},
|
|
49
|
-
sqs:{
|
|
50
|
-
type:Object
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
timestamps: true,
|
|
55
|
-
strict: true,
|
|
56
|
-
versionKey: false,
|
|
57
|
-
} );
|
|
58
|
-
|
|
59
|
-
traxAuditData.index({ storeId: 1,moduleType:1, fileDate:1,clientId:1});
|
|
60
|
-
|
|
61
|
-
export default mongoose.model( 'traxAuditData', traxAuditData, 'traxAuditData' );
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @name api_audit
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// NPM Modules
|
|
6
|
+
import mongoose from 'mongoose';
|
|
7
|
+
|
|
8
|
+
// Schema
|
|
9
|
+
const traxAuditData = new mongoose.Schema( {
|
|
10
|
+
|
|
11
|
+
clientId: {
|
|
12
|
+
type: String,
|
|
13
|
+
},
|
|
14
|
+
clientName: {
|
|
15
|
+
type: String,
|
|
16
|
+
trim:true
|
|
17
|
+
},
|
|
18
|
+
storeId:{
|
|
19
|
+
type:String
|
|
20
|
+
},
|
|
21
|
+
zoneName:{
|
|
22
|
+
type: String
|
|
23
|
+
},
|
|
24
|
+
moduleType:{
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
streamName:{
|
|
28
|
+
type: String
|
|
29
|
+
},
|
|
30
|
+
tempId:{
|
|
31
|
+
type: Number
|
|
32
|
+
},
|
|
33
|
+
question:{
|
|
34
|
+
type:String
|
|
35
|
+
},
|
|
36
|
+
fileDate: {
|
|
37
|
+
type: String,
|
|
38
|
+
},
|
|
39
|
+
fileDateISO: {
|
|
40
|
+
type: Date,
|
|
41
|
+
},
|
|
42
|
+
queueName: {
|
|
43
|
+
type: String,
|
|
44
|
+
trim:true
|
|
45
|
+
},
|
|
46
|
+
installedStore: {
|
|
47
|
+
type: Number,
|
|
48
|
+
},
|
|
49
|
+
sqs:{
|
|
50
|
+
type:Object
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
timestamps: true,
|
|
55
|
+
strict: true,
|
|
56
|
+
versionKey: false,
|
|
57
|
+
} );
|
|
58
|
+
|
|
59
|
+
traxAuditData.index({ storeId: 1,moduleType:1, fileDate:1,clientId:1});
|
|
60
|
+
|
|
61
|
+
export default mongoose.model( 'traxAuditData', traxAuditData, 'traxAuditData' );
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const userAssigned = new mongoose.Schema(
|
|
5
|
-
{
|
|
6
|
-
userEmail: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
},
|
|
10
|
-
clientId:{
|
|
11
|
-
type: String
|
|
12
|
-
},
|
|
13
|
-
assignedType: {
|
|
14
|
-
type: String,
|
|
15
|
-
enum: [ 'store', 'group', 'client'],
|
|
16
|
-
},
|
|
17
|
-
assignedValue: {
|
|
18
|
-
type: String
|
|
19
|
-
},
|
|
20
|
-
userType:{
|
|
21
|
-
type: String,
|
|
22
|
-
enum:['tango','client']
|
|
23
|
-
},
|
|
24
|
-
tangoUserType: {
|
|
25
|
-
type: String,
|
|
26
|
-
enum: ['user', 'csm'],
|
|
27
|
-
default: 'user'
|
|
28
|
-
},
|
|
29
|
-
isClientApproved: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: false
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
strict: true,
|
|
36
|
-
versionKey: false,
|
|
37
|
-
timestamps: true,
|
|
38
|
-
},
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
export default mongoose.model( 'userAssignedStore', userAssigned ,'userAssignedStore');
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const userAssigned = new mongoose.Schema(
|
|
5
|
+
{
|
|
6
|
+
userEmail: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
clientId:{
|
|
11
|
+
type: String
|
|
12
|
+
},
|
|
13
|
+
assignedType: {
|
|
14
|
+
type: String,
|
|
15
|
+
enum: [ 'store', 'group', 'client'],
|
|
16
|
+
},
|
|
17
|
+
assignedValue: {
|
|
18
|
+
type: String
|
|
19
|
+
},
|
|
20
|
+
userType:{
|
|
21
|
+
type: String,
|
|
22
|
+
enum:['tango','client']
|
|
23
|
+
},
|
|
24
|
+
tangoUserType: {
|
|
25
|
+
type: String,
|
|
26
|
+
enum: ['user', 'csm'],
|
|
27
|
+
default: 'user'
|
|
28
|
+
},
|
|
29
|
+
isClientApproved: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
strict: true,
|
|
36
|
+
versionKey: false,
|
|
37
|
+
timestamps: true,
|
|
38
|
+
},
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
export default mongoose.model( 'userAssignedStore', userAssigned ,'userAssignedStore');
|