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 +1 -1
- package/schema/client.model.js +24 -9
- package/schema/user.model.js +4 -1
package/package.json
CHANGED
package/schema/client.model.js
CHANGED
|
@@ -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,
|