@trii/types 2.10.783 → 2.10.784

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.
@@ -546,15 +546,18 @@ export interface IAgentDashboardCapacity {
546
546
  new: number;
547
547
  }
548
548
  /**
549
- * Compliance of one SLA metric over the agent's root-policy clocks (customer SLA;
550
- * OLA/UC excluded) decided in the period: met when completed on time, breached when
551
- * it went past due. One entry per enabled metric definition, plus legacy metric
552
- * types (no definition) that have clocks.
549
+ * Compliance of one SLA metric for one commitment type over the agent's clocks decided
550
+ * in the period: met when completed on time, breached when it went past due. The customer
551
+ * SLA (root policy targets or SLA-type commitments) is always listed per enabled metric
552
+ * definition; OLA/UC entries appear only when they have decided clocks. Legacy metric
553
+ * types (no definition) appear when they have decided clocks.
553
554
  */
554
555
  export interface IAgentDashboardSlaCompliance {
555
556
  /** Absent for legacy clocks that have no metric definition. */
556
557
  metricDefinitionId?: string;
557
558
  metricType: SlaMetricType;
559
+ /** Which commitment the clocks belong to: SLA (customer), OLA or UC. */
560
+ commitmentType: ServiceCommitmentType;
558
561
  /** Definition code, or the metric type for legacy clocks. */
559
562
  code: string;
560
563
  /** Definition name; absent for legacy clocks (label them by metricType). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.783",
3
+ "version": "2.10.784",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",