@taiger-common/model 1.0.36 → 1.0.38
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 +2 -1
- package/dist/esm/model/User.js +2 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/model/User.js
CHANGED
|
@@ -510,7 +510,7 @@ 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
516
|
officehours: { type: officehoursSchema, default: {} },
|
|
@@ -550,6 +550,7 @@ var agentSchema = new mongoose_1.Schema({
|
|
|
550
550
|
}
|
|
551
551
|
}, options);
|
|
552
552
|
var editorSchema = new mongoose_1.Schema({
|
|
553
|
+
timezone: { type: String, default: '' },
|
|
553
554
|
officehours: { type: officehoursSchema, default: {} },
|
|
554
555
|
editor_notification: {
|
|
555
556
|
isRead_survey_not_complete: {
|
package/dist/esm/model/User.js
CHANGED
|
@@ -505,7 +505,7 @@ 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
511
|
officehours: { type: officehoursSchema, default: {} },
|
|
@@ -545,6 +545,7 @@ var agentSchema = new Schema({
|
|
|
545
545
|
}
|
|
546
546
|
}, options);
|
|
547
547
|
var editorSchema = new Schema({
|
|
548
|
+
timezone: { type: String, default: '' },
|
|
548
549
|
officehours: { type: officehoursSchema, default: {} },
|
|
549
550
|
editor_notification: {
|
|
550
551
|
isRead_survey_not_complete: {
|