feat(api): expose peak times explainability
This commit is contained in:
@@ -64,6 +64,7 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
calendarContextCount: 1,
|
||||
resourceCount: 4,
|
||||
groupCount: 1,
|
||||
baseAvailableHours: 416.2,
|
||||
calendarLocations: [
|
||||
{
|
||||
countryCode: "DE",
|
||||
@@ -79,6 +80,10 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
remainingCapacityHours: 79.8,
|
||||
overbookedHours: 0,
|
||||
utilizationPct: 80,
|
||||
effectiveAvailableHours: 400.2,
|
||||
publicHolidayHoursDeduction: 16,
|
||||
absenceDayEquivalent: 1.5,
|
||||
absenceHoursDeduction: 12.5,
|
||||
},
|
||||
},
|
||||
]);
|
||||
@@ -190,6 +195,19 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
effectiveAvailableHours: 400.2,
|
||||
},
|
||||
],
|
||||
explainability: {
|
||||
periodStart: "2026-03-01",
|
||||
periodEnd: "2026-03-31",
|
||||
resourceCount: 4,
|
||||
groupCount: 1,
|
||||
baseAvailableHours: 416.2,
|
||||
effectiveAvailableHours: 400.2,
|
||||
publicHolidayHoursDeduction: 16,
|
||||
absenceDayEquivalent: 1.5,
|
||||
absenceHoursDeduction: 12.5,
|
||||
remainingCapacityHours: 79.8,
|
||||
overbookedHours: 0,
|
||||
},
|
||||
},
|
||||
],
|
||||
topResources: [
|
||||
|
||||
Reference in New Issue
Block a user