@thinkai/tai-api-contract 2.106.0 → 2.107.0

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.
@@ -7654,6 +7654,11 @@ export interface components {
7654
7654
  InsightsRecommendationsReviewPipelineResponse: components["schemas"]["InsightsRecommendationsReviewPipeline"] & {
7655
7655
  _meta: components["schemas"]["InsightsResponseMeta"];
7656
7656
  };
7657
+ InsightsCostPerPrModelSlice: {
7658
+ modelName: string;
7659
+ spendUsd: number;
7660
+ tokenCount: number;
7661
+ };
7657
7662
  InsightsCostPerPrTeam: {
7658
7663
  id: string;
7659
7664
  name: string;
@@ -7664,6 +7669,8 @@ export interface components {
7664
7669
  changePct: number;
7665
7670
  /** @description Weekly cost per merged PR aligned to the selected week buckets (same order as filters.weekBuckets). Null when the team had no merged PRs in that week. */
7666
7671
  trendUsdPerPr?: (number | null)[];
7672
+ /** @description Model spend mix for teams in the top five by spend in this response (server-computed from AI-tool usage). When multiple providers are in scope, each team's mix reflects that team's dominant provider by spend. Omitted when unavailable. */
7673
+ models?: components["schemas"]["InsightsCostPerPrModelSlice"][];
7667
7674
  };
7668
7675
  InsightsRecommendationsCostPerPr: {
7669
7676
  orgAvgCostUsd: number;
@@ -8811,6 +8818,7 @@ export type InsightsReviewStage = components['schemas']['InsightsReviewStage'];
8811
8818
  export type InsightsReviewerLoadItem = components['schemas']['InsightsReviewerLoadItem'];
8812
8819
  export type InsightsRecommendationsReviewPipeline = components['schemas']['InsightsRecommendationsReviewPipeline'];
8813
8820
  export type InsightsRecommendationsReviewPipelineResponse = components['schemas']['InsightsRecommendationsReviewPipelineResponse'];
8821
+ export type InsightsCostPerPrModelSlice = components['schemas']['InsightsCostPerPrModelSlice'];
8814
8822
  export type InsightsCostPerPrTeam = components['schemas']['InsightsCostPerPrTeam'];
8815
8823
  export type InsightsRecommendationsCostPerPr = components['schemas']['InsightsRecommendationsCostPerPr'];
8816
8824
  export type InsightsRecommendationsCostPerPrResponse = components['schemas']['InsightsRecommendationsCostPerPrResponse'];