tango-api-schema 2.1.25 → 2.1.27

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.1.25",
3
+ "version": "2.1.27",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -249,15 +249,6 @@ const client = new mongoose.Schema(
249
249
  type: Array,
250
250
  },
251
251
  },
252
- ssoLogin: {
253
- isEnable: {
254
- type: Boolean,
255
- default: false,
256
- },
257
- domainName: {
258
- type: Array,
259
- },
260
- },
261
252
  featureConfigs: {
262
253
  open: {
263
254
  type: String,
@@ -486,6 +477,30 @@ const client = new mongoose.Schema(
486
477
  type: String,
487
478
  default: ''
488
479
  },
480
+ domainConfig:{
481
+ ssoLogin: {
482
+ isEnable: {
483
+ type: Boolean,
484
+ default: false,
485
+ },
486
+ domainName: {
487
+ type: Array,
488
+ },
489
+ },
490
+ ipWhitelisting: {
491
+ enableWhitelisting: {
492
+ type: Boolean,
493
+ default: false,
494
+ },
495
+ allowedIps: {
496
+ type: Array,
497
+ },
498
+ },
499
+ enableOtp:{
500
+ type: Boolean,
501
+ default: false,
502
+ }
503
+ },
489
504
  },
490
505
  {
491
506
  strict: true,
@@ -82,7 +82,10 @@ const user = new mongoose.Schema(
82
82
  type: Boolean,
83
83
  default: false
84
84
  }
85
- },
85
+ },
86
+ employeeId:{
87
+ type:String
88
+ },
86
89
  },
87
90
  {
88
91
  strict: true,