@taiger-common/model 1.0.41 → 1.0.42
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 +32 -60
- package/dist/esm/model/User.js +32 -60
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/model/User.js
CHANGED
|
@@ -481,38 +481,39 @@ var managerSchema = new mongoose_1.Schema({
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
}, options);
|
|
484
|
+
var officehours = {
|
|
485
|
+
Monday: {
|
|
486
|
+
active: { type: Boolean, default: false },
|
|
487
|
+
time_slots: [{ type: Object }]
|
|
488
|
+
},
|
|
489
|
+
Tuesday: {
|
|
490
|
+
active: { type: Boolean, default: false },
|
|
491
|
+
time_slots: [{ type: Object }]
|
|
492
|
+
},
|
|
493
|
+
Wednesday: {
|
|
494
|
+
active: { type: Boolean, default: false },
|
|
495
|
+
time_slots: [{ type: Object }]
|
|
496
|
+
},
|
|
497
|
+
Thursday: {
|
|
498
|
+
active: { type: Boolean, default: false },
|
|
499
|
+
time_slots: [{ type: Object }]
|
|
500
|
+
},
|
|
501
|
+
Friday: {
|
|
502
|
+
active: { type: Boolean, default: false },
|
|
503
|
+
time_slots: [{ type: Object }]
|
|
504
|
+
},
|
|
505
|
+
Saturday: {
|
|
506
|
+
active: { type: Boolean, default: false },
|
|
507
|
+
time_slots: [{ type: Object }]
|
|
508
|
+
},
|
|
509
|
+
Sunday: {
|
|
510
|
+
active: { type: Boolean, default: false },
|
|
511
|
+
time_slots: [{ type: Object }]
|
|
512
|
+
}
|
|
513
|
+
};
|
|
484
514
|
var agentSchema = new mongoose_1.Schema({
|
|
485
515
|
timezone: { type: String, default: '' },
|
|
486
|
-
officehours:
|
|
487
|
-
Monday: {
|
|
488
|
-
active: { type: Boolean, default: false },
|
|
489
|
-
time_slots: [{ type: Object }]
|
|
490
|
-
},
|
|
491
|
-
Tuesday: {
|
|
492
|
-
active: { type: Boolean, default: false },
|
|
493
|
-
time_slots: [{ type: Object }]
|
|
494
|
-
},
|
|
495
|
-
Wednesday: {
|
|
496
|
-
active: { type: Boolean, default: false },
|
|
497
|
-
time_slots: [{ type: Object }]
|
|
498
|
-
},
|
|
499
|
-
Thursday: {
|
|
500
|
-
active: { type: Boolean, default: false },
|
|
501
|
-
time_slots: [{ type: Object }]
|
|
502
|
-
},
|
|
503
|
-
Friday: {
|
|
504
|
-
active: { type: Boolean, default: false },
|
|
505
|
-
time_slots: [{ type: Object }]
|
|
506
|
-
},
|
|
507
|
-
Saturday: {
|
|
508
|
-
active: { type: Boolean, default: false },
|
|
509
|
-
time_slots: [{ type: Object }]
|
|
510
|
-
},
|
|
511
|
-
Sunday: {
|
|
512
|
-
active: { type: Boolean, default: false },
|
|
513
|
-
time_slots: [{ type: Object }]
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
+
officehours: officehours,
|
|
516
517
|
selfIntroduction: {
|
|
517
518
|
type: String,
|
|
518
519
|
default: ''
|
|
@@ -550,36 +551,7 @@ var agentSchema = new mongoose_1.Schema({
|
|
|
550
551
|
}, options);
|
|
551
552
|
var editorSchema = new mongoose_1.Schema({
|
|
552
553
|
timezone: { type: String, default: '' },
|
|
553
|
-
officehours:
|
|
554
|
-
Monday: {
|
|
555
|
-
active: { type: Boolean, default: false },
|
|
556
|
-
time_slots: [{ type: Object }]
|
|
557
|
-
},
|
|
558
|
-
Tuesday: {
|
|
559
|
-
active: { type: Boolean, default: false },
|
|
560
|
-
time_slots: [{ type: Object }]
|
|
561
|
-
},
|
|
562
|
-
Wednesday: {
|
|
563
|
-
active: { type: Boolean, default: false },
|
|
564
|
-
time_slots: [{ type: Object }]
|
|
565
|
-
},
|
|
566
|
-
Thursday: {
|
|
567
|
-
active: { type: Boolean, default: false },
|
|
568
|
-
time_slots: [{ type: Object }]
|
|
569
|
-
},
|
|
570
|
-
Friday: {
|
|
571
|
-
active: { type: Boolean, default: false },
|
|
572
|
-
time_slots: [{ type: Object }]
|
|
573
|
-
},
|
|
574
|
-
Saturday: {
|
|
575
|
-
active: { type: Boolean, default: false },
|
|
576
|
-
time_slots: [{ type: Object }]
|
|
577
|
-
},
|
|
578
|
-
Sunday: {
|
|
579
|
-
active: { type: Boolean, default: false },
|
|
580
|
-
time_slots: [{ type: Object }]
|
|
581
|
-
}
|
|
582
|
-
},
|
|
554
|
+
officehours: officehours,
|
|
583
555
|
editor_notification: {
|
|
584
556
|
isRead_survey_not_complete: {
|
|
585
557
|
type: Boolean,
|
package/dist/esm/model/User.js
CHANGED
|
@@ -476,38 +476,39 @@ var managerSchema = new Schema({
|
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
}, options);
|
|
479
|
+
var officehours = {
|
|
480
|
+
Monday: {
|
|
481
|
+
active: { type: Boolean, default: false },
|
|
482
|
+
time_slots: [{ type: Object }]
|
|
483
|
+
},
|
|
484
|
+
Tuesday: {
|
|
485
|
+
active: { type: Boolean, default: false },
|
|
486
|
+
time_slots: [{ type: Object }]
|
|
487
|
+
},
|
|
488
|
+
Wednesday: {
|
|
489
|
+
active: { type: Boolean, default: false },
|
|
490
|
+
time_slots: [{ type: Object }]
|
|
491
|
+
},
|
|
492
|
+
Thursday: {
|
|
493
|
+
active: { type: Boolean, default: false },
|
|
494
|
+
time_slots: [{ type: Object }]
|
|
495
|
+
},
|
|
496
|
+
Friday: {
|
|
497
|
+
active: { type: Boolean, default: false },
|
|
498
|
+
time_slots: [{ type: Object }]
|
|
499
|
+
},
|
|
500
|
+
Saturday: {
|
|
501
|
+
active: { type: Boolean, default: false },
|
|
502
|
+
time_slots: [{ type: Object }]
|
|
503
|
+
},
|
|
504
|
+
Sunday: {
|
|
505
|
+
active: { type: Boolean, default: false },
|
|
506
|
+
time_slots: [{ type: Object }]
|
|
507
|
+
}
|
|
508
|
+
};
|
|
479
509
|
var agentSchema = new Schema({
|
|
480
510
|
timezone: { type: String, default: '' },
|
|
481
|
-
officehours:
|
|
482
|
-
Monday: {
|
|
483
|
-
active: { type: Boolean, default: false },
|
|
484
|
-
time_slots: [{ type: Object }]
|
|
485
|
-
},
|
|
486
|
-
Tuesday: {
|
|
487
|
-
active: { type: Boolean, default: false },
|
|
488
|
-
time_slots: [{ type: Object }]
|
|
489
|
-
},
|
|
490
|
-
Wednesday: {
|
|
491
|
-
active: { type: Boolean, default: false },
|
|
492
|
-
time_slots: [{ type: Object }]
|
|
493
|
-
},
|
|
494
|
-
Thursday: {
|
|
495
|
-
active: { type: Boolean, default: false },
|
|
496
|
-
time_slots: [{ type: Object }]
|
|
497
|
-
},
|
|
498
|
-
Friday: {
|
|
499
|
-
active: { type: Boolean, default: false },
|
|
500
|
-
time_slots: [{ type: Object }]
|
|
501
|
-
},
|
|
502
|
-
Saturday: {
|
|
503
|
-
active: { type: Boolean, default: false },
|
|
504
|
-
time_slots: [{ type: Object }]
|
|
505
|
-
},
|
|
506
|
-
Sunday: {
|
|
507
|
-
active: { type: Boolean, default: false },
|
|
508
|
-
time_slots: [{ type: Object }]
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
+
officehours: officehours,
|
|
511
512
|
selfIntroduction: {
|
|
512
513
|
type: String,
|
|
513
514
|
default: ''
|
|
@@ -545,36 +546,7 @@ var agentSchema = new Schema({
|
|
|
545
546
|
}, options);
|
|
546
547
|
var editorSchema = new Schema({
|
|
547
548
|
timezone: { type: String, default: '' },
|
|
548
|
-
officehours:
|
|
549
|
-
Monday: {
|
|
550
|
-
active: { type: Boolean, default: false },
|
|
551
|
-
time_slots: [{ type: Object }]
|
|
552
|
-
},
|
|
553
|
-
Tuesday: {
|
|
554
|
-
active: { type: Boolean, default: false },
|
|
555
|
-
time_slots: [{ type: Object }]
|
|
556
|
-
},
|
|
557
|
-
Wednesday: {
|
|
558
|
-
active: { type: Boolean, default: false },
|
|
559
|
-
time_slots: [{ type: Object }]
|
|
560
|
-
},
|
|
561
|
-
Thursday: {
|
|
562
|
-
active: { type: Boolean, default: false },
|
|
563
|
-
time_slots: [{ type: Object }]
|
|
564
|
-
},
|
|
565
|
-
Friday: {
|
|
566
|
-
active: { type: Boolean, default: false },
|
|
567
|
-
time_slots: [{ type: Object }]
|
|
568
|
-
},
|
|
569
|
-
Saturday: {
|
|
570
|
-
active: { type: Boolean, default: false },
|
|
571
|
-
time_slots: [{ type: Object }]
|
|
572
|
-
},
|
|
573
|
-
Sunday: {
|
|
574
|
-
active: { type: Boolean, default: false },
|
|
575
|
-
time_slots: [{ type: Object }]
|
|
576
|
-
}
|
|
577
|
-
},
|
|
549
|
+
officehours: officehours,
|
|
578
550
|
editor_notification: {
|
|
579
551
|
isRead_survey_not_complete: {
|
|
580
552
|
type: Boolean,
|