tango-api-schema 2.1.58 → 2.1.60
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/index.js
CHANGED
|
@@ -62,6 +62,7 @@ import appVersionModel from "./schema/appVersion.js";
|
|
|
62
62
|
import lenskartEmployeeMappingModel from "./schema/lenskartEmployeeMapping.model.js";
|
|
63
63
|
import locusOrderModel from "./schema/locusOrder.model.js";
|
|
64
64
|
import locusOrderUserModel from "./schema/locusOrderUser.model.js";
|
|
65
|
+
import controleCenterTemplateListModel from "./schema/controlCenterTemplateList.model.js";
|
|
65
66
|
|
|
66
67
|
|
|
67
68
|
export default {
|
|
@@ -129,4 +130,5 @@ export default {
|
|
|
129
130
|
lenskartEmployeeMappingModel,
|
|
130
131
|
locusOrderModel,
|
|
131
132
|
locusOrderUserModel,
|
|
133
|
+
controleCenterTemplateListModel
|
|
132
134
|
};
|
package/package.json
CHANGED
package/schema/client.model.js
CHANGED
|
@@ -376,6 +376,10 @@ const client = new mongoose.Schema(
|
|
|
376
376
|
type:Boolean,
|
|
377
377
|
default:false
|
|
378
378
|
},
|
|
379
|
+
isTrax:{
|
|
380
|
+
type:Boolean,
|
|
381
|
+
default:false
|
|
382
|
+
},
|
|
379
383
|
},
|
|
380
384
|
document: {
|
|
381
385
|
addressProof: {
|
|
@@ -524,6 +528,10 @@ const client = new mongoose.Schema(
|
|
|
524
528
|
type: Boolean,
|
|
525
529
|
default: false,
|
|
526
530
|
}
|
|
531
|
+
},
|
|
532
|
+
storeRadiusConfig: {
|
|
533
|
+
type: Number,
|
|
534
|
+
default: 200
|
|
527
535
|
},
|
|
528
536
|
},
|
|
529
537
|
{
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @name api_control_center
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// NPM Modules
|
|
6
|
+
import mongoose from 'mongoose';
|
|
7
|
+
|
|
8
|
+
// Schema
|
|
9
|
+
const controlCenterTemplateList = new mongoose.Schema( {
|
|
10
|
+
|
|
11
|
+
clientId: {
|
|
12
|
+
type: String,
|
|
13
|
+
require: true
|
|
14
|
+
},
|
|
15
|
+
templateName: {
|
|
16
|
+
type:String
|
|
17
|
+
},
|
|
18
|
+
templateType: {
|
|
19
|
+
type: String,
|
|
20
|
+
},
|
|
21
|
+
list: {
|
|
22
|
+
type: Array,
|
|
23
|
+
},
|
|
24
|
+
isActive: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: true,
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
timestamps: true,
|
|
31
|
+
strict: true,
|
|
32
|
+
versionKey: false,
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
controlCenterTemplateList.index({ clientId:1,templateName: 1});
|
|
38
|
+
|
|
39
|
+
export default mongoose.model( 'controlCenterTemplateList', controlCenterTemplateList, 'controlCenterTemplateList' );
|