@taiger-common/model 1.0.37 → 1.0.39
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/dist/cjs/model/User.js +3 -3
- package/dist/esm/model/User.js +3 -3
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/model/User.js
CHANGED
|
@@ -510,10 +510,10 @@ var officehoursSchema = new mongoose_1.Schema({
|
|
|
510
510
|
active: { type: Boolean, default: false },
|
|
511
511
|
time_slots: [{ type: Object }]
|
|
512
512
|
}
|
|
513
|
-
});
|
|
513
|
+
}, { _id: false });
|
|
514
514
|
var agentSchema = new mongoose_1.Schema({
|
|
515
515
|
timezone: { type: String, default: '' },
|
|
516
|
-
officehours:
|
|
516
|
+
officehours: officehoursSchema,
|
|
517
517
|
selfIntroduction: {
|
|
518
518
|
type: String,
|
|
519
519
|
default: ''
|
|
@@ -551,7 +551,7 @@ var agentSchema = new mongoose_1.Schema({
|
|
|
551
551
|
}, options);
|
|
552
552
|
var editorSchema = new mongoose_1.Schema({
|
|
553
553
|
timezone: { type: String, default: '' },
|
|
554
|
-
officehours:
|
|
554
|
+
officehours: officehoursSchema,
|
|
555
555
|
editor_notification: {
|
|
556
556
|
isRead_survey_not_complete: {
|
|
557
557
|
type: Boolean,
|
package/dist/esm/model/User.js
CHANGED
|
@@ -505,10 +505,10 @@ var officehoursSchema = new Schema({
|
|
|
505
505
|
active: { type: Boolean, default: false },
|
|
506
506
|
time_slots: [{ type: Object }]
|
|
507
507
|
}
|
|
508
|
-
});
|
|
508
|
+
}, { _id: false });
|
|
509
509
|
var agentSchema = new Schema({
|
|
510
510
|
timezone: { type: String, default: '' },
|
|
511
|
-
officehours:
|
|
511
|
+
officehours: officehoursSchema,
|
|
512
512
|
selfIntroduction: {
|
|
513
513
|
type: String,
|
|
514
514
|
default: ''
|
|
@@ -546,7 +546,7 @@ var agentSchema = new Schema({
|
|
|
546
546
|
}, options);
|
|
547
547
|
var editorSchema = new Schema({
|
|
548
548
|
timezone: { type: String, default: '' },
|
|
549
|
-
officehours:
|
|
549
|
+
officehours: officehoursSchema,
|
|
550
550
|
editor_notification: {
|
|
551
551
|
isRead_survey_not_complete: {
|
|
552
552
|
type: Boolean,
|