@thinkai/tai-api-contract 2.39.0 → 2.40.0-pr.844.c1288a26

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.
@@ -2508,6 +2508,8 @@ export interface components {
2508
2508
  /** @description Canonical person identifier (matches org chart person_id / employeeId). */
2509
2509
  personId: string;
2510
2510
  personName: string;
2511
+ /** @description Leaf team id from the scoring org chart (stable productivity team filter key). */
2512
+ teamId?: string;
2511
2513
  teamName?: string;
2512
2514
  /** @description True when the contributor GitHub login is not mapped in the org chart. */
2513
2515
  notInOrgChart?: boolean;
@@ -2522,7 +2524,7 @@ export interface components {
2522
2524
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2523
2525
  /** Format: date-time */
2524
2526
  generatedAt: string;
2525
- /** @description Portfolio aggregate merged PR counts from org-scope metrics (all merged PRs in window). */
2527
+ /** @description Sum of contributor weekly merged PR counts (matches the contributors table). Not deduplicated org-wide unique PRs when the same PR appears on multiple rows. */
2526
2528
  weeks: components["schemas"]["ProductivityInsightsMergedPrTrendWeekDto"][];
2527
2529
  contributors: components["schemas"]["ProductivityInsightsMergedPrContributorRowDto"][];
2528
2530
  };
@@ -2558,9 +2560,11 @@ export interface components {
2558
2560
  notInOrgChart?: boolean;
2559
2561
  /** @description Present when the request included `year` — calendar-year heatmap mode. */
2560
2562
  year?: number;
2561
- /** @description Daily buckets aggregated across team members when `year` is set. */
2563
+ /** @description Daily buckets aggregated from ingested person-level merged PR events for the selected period range or calendar year (same source as memberContributors). */
2562
2564
  heatmapWeeks?: components["schemas"]["ProductivityInsightsContributorActivityWeekDto"][];
2563
2565
  heatmapSummary?: components["schemas"]["ProductivityInsightsContributorActivitySummaryDto"];
2566
+ /** @description Per-member merged PR weekly series for the selected period or year — person-level source aligned with heatmapWeeks and the team roster table. */
2567
+ memberContributors?: components["schemas"]["ProductivityInsightsMergedPrContributorRowDto"][];
2564
2568
  weeks: components["schemas"]["ProductivityInsightsAggregatedTeamWeekDto"][];
2565
2569
  summary: components["schemas"]["ProductivityInsightsTeamSummaryDto"];
2566
2570
  };