@thinkai/tai-api-contract 2.5.17 → 2.7.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.
@@ -823,7 +823,10 @@ export interface paths {
823
823
  path?: never;
824
824
  cookie?: never;
825
825
  };
826
- /** List repo readiness scores */
826
+ /**
827
+ * List repo readiness scores (paginated)
828
+ * @description Returns a page of repository readiness scorecards. Use `GET .../readiness/repos/{repoId}` for a single repo. Summary aggregates on the Agentic Foundation dashboard use separate aggregate queries over the full workspace (#403).
829
+ */
827
830
  get: operations["listReadinessRepos"];
828
831
  put?: never;
829
832
  post?: never;
@@ -898,8 +901,8 @@ export interface paths {
898
901
  cookie?: never;
899
902
  };
900
903
  /**
901
- * Agentic Foundation dashboard
902
- * @description Returns stored repository readiness scorecards plus a flattened issue queue for the Agentic Foundation dashboard surfaces. This is read-only and does not run scoring on the request path (issue #279). Field `generatedAt` is the server timestamp when this JSON payload was assembled; it is not the same as per-repo `lastAnalyzed` on `RepoReadinessScoreDto`.
904
+ * Agentic Foundation dashboard summary
905
+ * @description Returns workspace-level readiness summary, per-dimension aggregate bars, and fix status counts for Agentic Foundation dashboard surfaces. Repository and issue lists are paginated on `GET .../readiness/repos` and related segment routes (#403). Read-only; does not run scoring on the request path (issue #279). Field `generatedAt` is the server timestamp when this JSON payload was assembled.
903
906
  */
904
907
  get: operations["getAgenticFoundationDashboard"];
905
908
  put?: never;
@@ -1118,8 +1121,8 @@ export interface paths {
1118
1121
  cookie?: never;
1119
1122
  };
1120
1123
  /**
1121
- * List fix requests
1122
- * @description Returns persisted fix-queue rows for the workspace (newest first). Empty array when none exist.
1124
+ * List fix requests (paginated)
1125
+ * @description Returns a page of persisted fix-queue rows for the workspace (default newest first).
1123
1126
  */
1124
1127
  get: operations["listReadinessFixes"];
1125
1128
  put?: never;
@@ -1334,6 +1337,150 @@ export interface paths {
1334
1337
  patch?: never;
1335
1338
  trace?: never;
1336
1339
  };
1340
+ "/workspaces/{workspaceId}/your-ai-journey/analytics": {
1341
+ parameters: {
1342
+ query?: never;
1343
+ header?: never;
1344
+ path?: never;
1345
+ cookie?: never;
1346
+ };
1347
+ /**
1348
+ * Combined analytics summary for the /dashboard page
1349
+ * @description Returns a single aggregated payload combining journey step progress, readiness summary, and PR-signal headline metrics. Covers issue #268. Results are cached for 60 seconds.
1350
+ */
1351
+ get: operations["getYourAiJourneyAnalytics"];
1352
+ put?: never;
1353
+ post?: never;
1354
+ delete?: never;
1355
+ options?: never;
1356
+ head?: never;
1357
+ patch?: never;
1358
+ trace?: never;
1359
+ };
1360
+ "/workspaces/{workspaceId}/your-ai-journey/pr-signals": {
1361
+ parameters: {
1362
+ query?: never;
1363
+ header?: never;
1364
+ path?: never;
1365
+ cookie?: never;
1366
+ };
1367
+ /**
1368
+ * Weekly PR velocity and change-failure-rate time series
1369
+ * @description Returns a per-week time series of PR throughput and DORA change-failure-rate metrics, sourced from stored dashboard metrics. Covers issue #269. Results are cached for 60 seconds.
1370
+ */
1371
+ get: operations["getYourAiJourneyPrSignals"];
1372
+ put?: never;
1373
+ post?: never;
1374
+ delete?: never;
1375
+ options?: never;
1376
+ head?: never;
1377
+ patch?: never;
1378
+ trace?: never;
1379
+ };
1380
+ "/workspaces/{workspaceId}/your-ai-journey/readiness/aggregate": {
1381
+ parameters: {
1382
+ query?: never;
1383
+ header?: never;
1384
+ path?: never;
1385
+ cookie?: never;
1386
+ };
1387
+ /**
1388
+ * Per-dimension readiness aggregate across all repos
1389
+ * @description Aggregates stored readiness scores across all workspace repos by dimension. Covers issue #270. Results are cached for 60 seconds.
1390
+ */
1391
+ get: operations["getYourAiJourneyReadinessAggregate"];
1392
+ put?: never;
1393
+ post?: never;
1394
+ delete?: never;
1395
+ options?: never;
1396
+ head?: never;
1397
+ patch?: never;
1398
+ trace?: never;
1399
+ };
1400
+ "/workspaces/{workspaceId}/your-ai-journey/journey/progress": {
1401
+ parameters: {
1402
+ query?: never;
1403
+ header?: never;
1404
+ path?: never;
1405
+ cookie?: never;
1406
+ };
1407
+ /**
1408
+ * Workspace journey step completion
1409
+ * @description Returns the workspace-scoped journey progress state. Returns an empty `completedSteps` list with a synthetic `updatedAt` if no row exists yet. Covers issue #271.
1410
+ */
1411
+ get: operations["getYourAiJourneyProgress"];
1412
+ /**
1413
+ * Replace workspace journey completed steps
1414
+ * @description Idempotent replace-all of completed route strings for the workspace journey. Requires editor role. Covers issue #271.
1415
+ */
1416
+ put: operations["putYourAiJourneyProgress"];
1417
+ post?: never;
1418
+ delete?: never;
1419
+ options?: never;
1420
+ head?: never;
1421
+ patch?: never;
1422
+ trace?: never;
1423
+ };
1424
+ "/workspaces/{workspaceId}/your-ai-journey/agentic-foundation": {
1425
+ parameters: {
1426
+ query?: never;
1427
+ header?: never;
1428
+ path?: never;
1429
+ cookie?: never;
1430
+ };
1431
+ /**
1432
+ * Agentic foundation dashboard slice for /dashboard
1433
+ * @description Returns the same `AgenticFoundationDashboardDto` payload as `GET /agentic-foundation/dashboard`, scoped to the /dashboard page context. Covers issue #272. Results are cached for 60 seconds.
1434
+ */
1435
+ get: operations["getYourAiJourneyAgenticFoundation"];
1436
+ put?: never;
1437
+ post?: never;
1438
+ delete?: never;
1439
+ options?: never;
1440
+ head?: never;
1441
+ patch?: never;
1442
+ trace?: never;
1443
+ };
1444
+ "/workspaces/{workspaceId}/your-ai-journey/productivity": {
1445
+ parameters: {
1446
+ query?: never;
1447
+ header?: never;
1448
+ path?: never;
1449
+ cookie?: never;
1450
+ };
1451
+ /**
1452
+ * Workspace productivity metrics for /dashboard
1453
+ * @description Returns the most recent stored dashboard productivity metrics snapshot that overlaps the requested window (defaults to the trailing 7 days). Same schema as `GET /dashboard/productivity`. Covers issue #273. Results are cached for 60 seconds.
1454
+ */
1455
+ get: operations["getYourAiJourneyProductivity"];
1456
+ put?: never;
1457
+ post?: never;
1458
+ delete?: never;
1459
+ options?: never;
1460
+ head?: never;
1461
+ patch?: never;
1462
+ trace?: never;
1463
+ };
1464
+ "/workspaces/{workspaceId}/your-ai-journey/ai-spend": {
1465
+ parameters: {
1466
+ query?: never;
1467
+ header?: never;
1468
+ path?: never;
1469
+ cookie?: never;
1470
+ };
1471
+ /**
1472
+ * AI tool spend and usage aggregated by week and provider
1473
+ * @description Returns token usage and spend aggregated from connected AI tool sources (e.g. Cursor) over the requested range, broken down by week and provider. Covers issue #274. Results are cached for 60 seconds.
1474
+ */
1475
+ get: operations["getYourAiJourneyAiSpend"];
1476
+ put?: never;
1477
+ post?: never;
1478
+ delete?: never;
1479
+ options?: never;
1480
+ head?: never;
1481
+ patch?: never;
1482
+ trace?: never;
1483
+ };
1337
1484
  }
1338
1485
  export type webhooks = Record<string, never>;
1339
1486
  export interface components {
@@ -1579,6 +1726,10 @@ export interface components {
1579
1726
  personId: string;
1580
1727
  personName: string;
1581
1728
  teamName?: string;
1729
+ /** @description True when the contributor GitHub login is not mapped in the org chart. */
1730
+ notInOrgChart?: boolean;
1731
+ /** @description GitHub login for unattributed contributors (when notInOrgChart is true). */
1732
+ githubLogin?: string;
1582
1733
  weeks: components["schemas"]["ProductivityInsightsMergedPrTrendWeekDto"][];
1583
1734
  };
1584
1735
  ProductivityInsightsMergedPrTrendsDto: {
@@ -1589,7 +1740,7 @@ export interface components {
1589
1740
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
1590
1741
  /** Format: date-time */
1591
1742
  generatedAt: string;
1592
- /** @description Portfolio aggregate merged PR counts (sum of filtered contributors per week). */
1743
+ /** @description Portfolio aggregate merged PR counts from org-scope metrics (all merged PRs in window). */
1593
1744
  weeks: components["schemas"]["ProductivityInsightsMergedPrTrendWeekDto"][];
1594
1745
  contributors: components["schemas"]["ProductivityInsightsMergedPrContributorRowDto"][];
1595
1746
  };
@@ -1959,6 +2110,11 @@ export interface components {
1959
2110
  fullName?: string | null;
1960
2111
  language?: string | null;
1961
2112
  private?: boolean | null;
2113
+ /**
2114
+ * Format: date-time
2115
+ * @description Last push or metadata update from GitHub when available.
2116
+ */
2117
+ updatedAt?: string | null;
1962
2118
  };
1963
2119
  GithubMissingPermissionDto: {
1964
2120
  /** @description GitHub App permission key (e.g. contents, pull_requests). */
@@ -1974,7 +2130,8 @@ export interface components {
1974
2130
  GithubInstallationSummaryDto: {
1975
2131
  installationId: string;
1976
2132
  account: components["schemas"]["GithubAccountDto"];
1977
- repos: components["schemas"]["GithubInstalledRepoDto"][];
2133
+ /** @description Paginated repositories granted on this installation (same repoLimit/repoOffset as top-level repos). */
2134
+ repos: components["schemas"]["GithubInstalledRepoListDto"];
1978
2135
  /** Format: uri */
1979
2136
  manageUrl?: string | null;
1980
2137
  /** Format: date-time */
@@ -1992,7 +2149,8 @@ export interface components {
1992
2149
  permissionsUpgradeRequired: boolean;
1993
2150
  installationId?: string | null;
1994
2151
  account?: components["schemas"]["GithubAccountDto"] | null;
1995
- repos?: components["schemas"]["GithubInstalledRepoDto"][] | null;
2152
+ /** @description Paginated merged installation repositories when `installed` is true. */
2153
+ repos?: components["schemas"]["GithubInstalledRepoListDto"] | null;
1996
2154
  /**
1997
2155
  * Format: uri
1998
2156
  * @description User accounts: github.com/settings/installations/<id>. Organizations: github.com/organizations/<login>/settings/installations/<id>.
@@ -2232,14 +2390,46 @@ export interface components {
2232
2390
  /** @enum {string} */
2233
2391
  fixStatus: "open" | "pr-pending" | "fixed";
2234
2392
  };
2393
+ PageMetaDto: {
2394
+ /** @description Total rows matching filters (full workspace, not just this page). */
2395
+ total: number;
2396
+ limit: number;
2397
+ offset: number;
2398
+ };
2399
+ ReadinessRepoListDto: components["schemas"]["PageMetaDto"] & {
2400
+ items: components["schemas"]["RepoReadinessScoreDto"][];
2401
+ };
2402
+ ReadinessFixListDto: components["schemas"]["PageMetaDto"] & {
2403
+ items: components["schemas"]["FixRequestDto"][];
2404
+ };
2405
+ AgenticFoundationDimensionAggregateDto: {
2406
+ dimensionId: components["schemas"]["ReadinessDimensionId"];
2407
+ /** @description Mean dimension score percent across repos with maxScore > 0. */
2408
+ averageScorePercent: number;
2409
+ /** @description Repositories with a scored row for this dimension. */
2410
+ repoCount: number;
2411
+ };
2412
+ ReadinessFixStatusSummaryDto: {
2413
+ queued: number;
2414
+ generating: number;
2415
+ /** @description Count of fixes with status `pr-created`. */
2416
+ prCreated: number;
2417
+ merged: number;
2418
+ failed: number;
2419
+ total: number;
2420
+ };
2421
+ GithubInstalledRepoListDto: components["schemas"]["PageMetaDto"] & {
2422
+ items: components["schemas"]["GithubInstalledRepoDto"][];
2423
+ };
2235
2424
  AgenticFoundationDashboardDto: {
2236
2425
  /** Format: uuid */
2237
2426
  workspaceId: string;
2238
2427
  /** Format: date-time */
2239
2428
  generatedAt: string;
2240
2429
  summary: components["schemas"]["AgenticFoundationDashboardSummaryDto"];
2241
- repos: components["schemas"]["RepoReadinessScoreDto"][];
2242
- issueQueue: components["schemas"]["AgenticFoundationDashboardIssueDto"][];
2430
+ /** @description Per-dimension average score bars for overview UI (full workspace aggregates). */
2431
+ dimensionAggregates: components["schemas"]["AgenticFoundationDimensionAggregateDto"][];
2432
+ fixStatusSummary: components["schemas"]["ReadinessFixStatusSummaryDto"];
2243
2433
  };
2244
2434
  FixRequestDto: {
2245
2435
  id: string;
@@ -2437,6 +2627,115 @@ export interface components {
2437
2627
  /** @description Path in `org-charts` bucket after Supabase upload */
2438
2628
  storagePath: string;
2439
2629
  };
2630
+ YourAiJourneyPrSignalsWeekDto: {
2631
+ /** Format: date-time */
2632
+ bucketStart: string;
2633
+ /** Format: date-time */
2634
+ bucketEnd: string;
2635
+ /** @description Display label in MM/DD format. */
2636
+ weekLabel: string;
2637
+ prsPerDeveloperPerWeek: number;
2638
+ changeFailureRatePercent: number;
2639
+ };
2640
+ YourAiJourneyPrSignalsDto: {
2641
+ /** Format: uuid */
2642
+ workspaceId: string;
2643
+ /** Format: date-time */
2644
+ generatedAt: string;
2645
+ /** Format: date-time */
2646
+ windowStart: string;
2647
+ /** Format: date-time */
2648
+ windowEnd: string;
2649
+ weeks: components["schemas"]["YourAiJourneyPrSignalsWeekDto"][];
2650
+ summary: {
2651
+ avgPrsPerDeveloperPerWeek: number;
2652
+ avgFailureRatePercent: number;
2653
+ prVelocityDeltaPercent: number;
2654
+ };
2655
+ };
2656
+ YourAiJourneyReadinessDimensionDto: {
2657
+ dimensionId: string;
2658
+ name: string;
2659
+ totalScore: number;
2660
+ maxScore: number;
2661
+ /** @description Rounded percentage 0–100. */
2662
+ percent: number;
2663
+ };
2664
+ YourAiJourneyReadinessAggregateDto: {
2665
+ /** Format: uuid */
2666
+ workspaceId: string;
2667
+ /** Format: date-time */
2668
+ generatedAt: string;
2669
+ dimensions: components["schemas"]["YourAiJourneyReadinessDimensionDto"][];
2670
+ summary: {
2671
+ avgScore: number;
2672
+ repoCount: number;
2673
+ fixRate: number;
2674
+ totalOpenIssues: number;
2675
+ totalFixedIssues: number;
2676
+ };
2677
+ };
2678
+ YourAiJourneyAnalyticsDto: {
2679
+ /** Format: uuid */
2680
+ workspaceId: string;
2681
+ /** Format: date-time */
2682
+ generatedAt: string;
2683
+ /** Format: date-time */
2684
+ windowStart: string;
2685
+ /** Format: date-time */
2686
+ windowEnd: string;
2687
+ journey: {
2688
+ completedSteps: string[];
2689
+ /** Format: date-time */
2690
+ updatedAt: string | null;
2691
+ };
2692
+ readiness: {
2693
+ avgScore: number;
2694
+ repoCount: number;
2695
+ fixRate: number;
2696
+ totalOpenIssues: number;
2697
+ totalFixedIssues: number;
2698
+ };
2699
+ prSignals: {
2700
+ avgPrsPerDeveloperPerWeek: number;
2701
+ prVelocityDeltaPercent: number;
2702
+ avgFailureRatePercent: number;
2703
+ };
2704
+ };
2705
+ YourAiJourneyAiSpendWeekDto: {
2706
+ /** Format: date-time */
2707
+ bucketStart: string;
2708
+ /** Format: date-time */
2709
+ bucketEnd: string;
2710
+ weekLabel: string;
2711
+ mergedPrCount: number;
2712
+ tokenCount: number;
2713
+ };
2714
+ YourAiJourneyAiSpendDto: {
2715
+ /** Format: uuid */
2716
+ workspaceId: string;
2717
+ /** Format: date-time */
2718
+ generatedAt: string;
2719
+ /** Format: date-time */
2720
+ windowStart: string;
2721
+ /** Format: date-time */
2722
+ windowEnd: string;
2723
+ totalSpendCents: number;
2724
+ totalTokenCount: number;
2725
+ activeUsers: number;
2726
+ /** @description Fraction 0–1 of PRs that are AI-assisted. */
2727
+ aiAssistedPrRatio: number;
2728
+ prThroughputDeltaPercent: number;
2729
+ usageDeltaPercent: number;
2730
+ weeks: components["schemas"]["YourAiJourneyAiSpendWeekDto"][];
2731
+ providers: {
2732
+ providerId: string;
2733
+ providerName: string;
2734
+ tokenCount: number;
2735
+ spendCents: number;
2736
+ activeUsers: number;
2737
+ }[];
2738
+ };
2440
2739
  };
2441
2740
  responses: {
2442
2741
  /** @description Missing or invalid bearer token */
@@ -2468,6 +2767,34 @@ export interface components {
2468
2767
  FixId: string;
2469
2768
  /** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
2470
2769
  InsightsDepartmentFilter: string;
2770
+ /** @description Page size (default 25, max 100). */
2771
+ PaginationLimit: number;
2772
+ /** @description Zero-based row offset into the filtered, sorted result set. */
2773
+ PaginationOffset: number;
2774
+ /** @description Sort direction. */
2775
+ PaginationOrder: "asc" | "desc";
2776
+ /** @description Allowlisted repository sort field. */
2777
+ ReadinessRepoSort: "repoName" | "overallScore" | "lastAnalyzed" | "language";
2778
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
2779
+ ReadinessRepoSearch: string;
2780
+ /** @description Exact language filter (e.g. `typescript`). */
2781
+ ReadinessRepoLanguage: string;
2782
+ /** @description Allowlisted fix-queue sort field. */
2783
+ ReadinessFixSort: "createdAt" | "repoName" | "severity" | "status";
2784
+ /** @description Filter fixes by workflow status. */
2785
+ ReadinessFixStatusFilter: "queued" | "generating" | "pr-created" | "merged" | "failed";
2786
+ /** @description Filter fixes to a single workspace repository id. */
2787
+ ReadinessFixRepoIdFilter: string;
2788
+ /** @description Case-insensitive filter on repo name, issue title, label, or description. */
2789
+ ReadinessFixSearch: string;
2790
+ /** @description Page size for the nested installation repo list (default 25, max 100). */
2791
+ GithubRepoLimit: number;
2792
+ /** @description Zero-based offset into the merged installation repo list. */
2793
+ GithubRepoOffset: number;
2794
+ /** @description Allowlisted GitHub repo sort field. */
2795
+ GithubRepoSort: "name" | "updatedAt";
2796
+ /** @description Sort direction for the nested installation repo list. */
2797
+ GithubRepoOrder: "asc" | "desc";
2471
2798
  };
2472
2799
  requestBodies: never;
2473
2800
  headers: never;
@@ -2571,6 +2898,12 @@ export type DimensionScoreDto = components['schemas']['DimensionScoreDto'];
2571
2898
  export type RepoReadinessScoreDto = components['schemas']['RepoReadinessScoreDto'];
2572
2899
  export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
2573
2900
  export type AgenticFoundationDashboardIssueDto = components['schemas']['AgenticFoundationDashboardIssueDto'];
2901
+ export type PageMetaDto = components['schemas']['PageMetaDto'];
2902
+ export type ReadinessRepoListDto = components['schemas']['ReadinessRepoListDto'];
2903
+ export type ReadinessFixListDto = components['schemas']['ReadinessFixListDto'];
2904
+ export type AgenticFoundationDimensionAggregateDto = components['schemas']['AgenticFoundationDimensionAggregateDto'];
2905
+ export type ReadinessFixStatusSummaryDto = components['schemas']['ReadinessFixStatusSummaryDto'];
2906
+ export type GithubInstalledRepoListDto = components['schemas']['GithubInstalledRepoListDto'];
2574
2907
  export type AgenticFoundationDashboardDto = components['schemas']['AgenticFoundationDashboardDto'];
2575
2908
  export type FixRequestDto = components['schemas']['FixRequestDto'];
2576
2909
  export type FixRetryableErrorCode = components['schemas']['FixRetryableErrorCode'];
@@ -2599,6 +2932,13 @@ export type PreferencesDto = components['schemas']['PreferencesDto'];
2599
2932
  export type ValidationIssueDto = components['schemas']['ValidationIssueDto'];
2600
2933
  export type PreferencesValidationErrorDto = components['schemas']['PreferencesValidationErrorDto'];
2601
2934
  export type OrgChartImportBodyDto = components['schemas']['OrgChartImportBodyDto'];
2935
+ export type YourAiJourneyPrSignalsWeekDto = components['schemas']['YourAiJourneyPrSignalsWeekDto'];
2936
+ export type YourAiJourneyPrSignalsDto = components['schemas']['YourAiJourneyPrSignalsDto'];
2937
+ export type YourAiJourneyReadinessDimensionDto = components['schemas']['YourAiJourneyReadinessDimensionDto'];
2938
+ export type YourAiJourneyReadinessAggregateDto = components['schemas']['YourAiJourneyReadinessAggregateDto'];
2939
+ export type YourAiJourneyAnalyticsDto = components['schemas']['YourAiJourneyAnalyticsDto'];
2940
+ export type YourAiJourneyAiSpendWeekDto = components['schemas']['YourAiJourneyAiSpendWeekDto'];
2941
+ export type YourAiJourneyAiSpendDto = components['schemas']['YourAiJourneyAiSpendDto'];
2602
2942
  export type ResponseUnauthorized = components['responses']['Unauthorized'];
2603
2943
  export type ResponseForbidden = components['responses']['Forbidden'];
2604
2944
  export type ParameterWorkspaceId = components['parameters']['WorkspaceId'];
@@ -2608,6 +2948,20 @@ export type ParameterNotificationId = components['parameters']['NotificationId']
2608
2948
  export type ParameterWorkspaceMemberId = components['parameters']['WorkspaceMemberId'];
2609
2949
  export type ParameterFixId = components['parameters']['FixId'];
2610
2950
  export type ParameterInsightsDepartmentFilter = components['parameters']['InsightsDepartmentFilter'];
2951
+ export type ParameterPaginationLimit = components['parameters']['PaginationLimit'];
2952
+ export type ParameterPaginationOffset = components['parameters']['PaginationOffset'];
2953
+ export type ParameterPaginationOrder = components['parameters']['PaginationOrder'];
2954
+ export type ParameterReadinessRepoSort = components['parameters']['ReadinessRepoSort'];
2955
+ export type ParameterReadinessRepoSearch = components['parameters']['ReadinessRepoSearch'];
2956
+ export type ParameterReadinessRepoLanguage = components['parameters']['ReadinessRepoLanguage'];
2957
+ export type ParameterReadinessFixSort = components['parameters']['ReadinessFixSort'];
2958
+ export type ParameterReadinessFixStatusFilter = components['parameters']['ReadinessFixStatusFilter'];
2959
+ export type ParameterReadinessFixRepoIdFilter = components['parameters']['ReadinessFixRepoIdFilter'];
2960
+ export type ParameterReadinessFixSearch = components['parameters']['ReadinessFixSearch'];
2961
+ export type ParameterGithubRepoLimit = components['parameters']['GithubRepoLimit'];
2962
+ export type ParameterGithubRepoOffset = components['parameters']['GithubRepoOffset'];
2963
+ export type ParameterGithubRepoSort = components['parameters']['GithubRepoSort'];
2964
+ export type ParameterGithubRepoOrder = components['parameters']['GithubRepoOrder'];
2611
2965
  export type $defs = Record<string, never>;
2612
2966
  export interface operations {
2613
2967
  getMe: {
@@ -3985,6 +4339,14 @@ export interface operations {
3985
4339
  refresh?: boolean;
3986
4340
  /** @description When true, re-fetch GitHub App and installation permission metadata (used by the login permission gate after the user approves on GitHub). */
3987
4341
  permissionsRefresh?: boolean;
4342
+ /** @description Page size for the nested installation repo list (default 25, max 100). */
4343
+ repoLimit?: components["parameters"]["GithubRepoLimit"];
4344
+ /** @description Zero-based offset into the merged installation repo list. */
4345
+ repoOffset?: components["parameters"]["GithubRepoOffset"];
4346
+ /** @description Allowlisted GitHub repo sort field. */
4347
+ repoSort?: components["parameters"]["GithubRepoSort"];
4348
+ /** @description Sort direction for the nested installation repo list. */
4349
+ repoOrder?: components["parameters"]["GithubRepoOrder"];
3988
4350
  };
3989
4351
  header?: never;
3990
4352
  path: {
@@ -4650,7 +5012,20 @@ export interface operations {
4650
5012
  };
4651
5013
  listReadinessRepos: {
4652
5014
  parameters: {
4653
- query?: never;
5015
+ query?: {
5016
+ /** @description Page size (default 25, max 100). */
5017
+ limit?: components["parameters"]["PaginationLimit"];
5018
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5019
+ offset?: components["parameters"]["PaginationOffset"];
5020
+ /** @description Allowlisted repository sort field. */
5021
+ sort?: components["parameters"]["ReadinessRepoSort"];
5022
+ /** @description Sort direction. */
5023
+ order?: components["parameters"]["PaginationOrder"];
5024
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5025
+ search?: components["parameters"]["ReadinessRepoSearch"];
5026
+ /** @description Exact language filter (e.g. `typescript`). */
5027
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5028
+ };
4654
5029
  header?: never;
4655
5030
  path: {
4656
5031
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4659,13 +5034,22 @@ export interface operations {
4659
5034
  };
4660
5035
  requestBody?: never;
4661
5036
  responses: {
4662
- /** @description Repositories analyzed */
5037
+ /** @description Paginated repositories analyzed */
4663
5038
  200: {
4664
5039
  headers: {
4665
5040
  [name: string]: unknown;
4666
5041
  };
4667
5042
  content: {
4668
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5043
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5044
+ };
5045
+ };
5046
+ /** @description Invalid pagination or sort query */
5047
+ 400: {
5048
+ headers: {
5049
+ [name: string]: unknown;
5050
+ };
5051
+ content: {
5052
+ "application/json": components["schemas"]["ErrorMessageDto"];
4669
5053
  };
4670
5054
  };
4671
5055
  401: components["responses"]["Unauthorized"];
@@ -4824,7 +5208,7 @@ export interface operations {
4824
5208
  };
4825
5209
  requestBody?: never;
4826
5210
  responses: {
4827
- /** @description Dashboard scorecards and issue queue */
5211
+ /** @description Dashboard summary and aggregates */
4828
5212
  200: {
4829
5213
  headers: {
4830
5214
  [name: string]: unknown;
@@ -4848,7 +5232,20 @@ export interface operations {
4848
5232
  };
4849
5233
  getAgenticFoundationAgenticReadiness: {
4850
5234
  parameters: {
4851
- query?: never;
5235
+ query?: {
5236
+ /** @description Page size (default 25, max 100). */
5237
+ limit?: components["parameters"]["PaginationLimit"];
5238
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5239
+ offset?: components["parameters"]["PaginationOffset"];
5240
+ /** @description Allowlisted repository sort field. */
5241
+ sort?: components["parameters"]["ReadinessRepoSort"];
5242
+ /** @description Sort direction. */
5243
+ order?: components["parameters"]["PaginationOrder"];
5244
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5245
+ search?: components["parameters"]["ReadinessRepoSearch"];
5246
+ /** @description Exact language filter (e.g. `typescript`). */
5247
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5248
+ };
4852
5249
  header?: never;
4853
5250
  path: {
4854
5251
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4857,13 +5254,22 @@ export interface operations {
4857
5254
  };
4858
5255
  requestBody?: never;
4859
5256
  responses: {
4860
- /** @description Repositories with ai-agent-readiness slice */
5257
+ /** @description Paginated repositories with ai-agent-readiness slice */
4861
5258
  200: {
4862
5259
  headers: {
4863
5260
  [name: string]: unknown;
4864
5261
  };
4865
5262
  content: {
4866
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5263
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5264
+ };
5265
+ };
5266
+ /** @description Invalid pagination or sort query */
5267
+ 400: {
5268
+ headers: {
5269
+ [name: string]: unknown;
5270
+ };
5271
+ content: {
5272
+ "application/json": components["schemas"]["ErrorMessageDto"];
4867
5273
  };
4868
5274
  };
4869
5275
  401: components["responses"]["Unauthorized"];
@@ -4881,7 +5287,20 @@ export interface operations {
4881
5287
  };
4882
5288
  getAgenticFoundationRepositoryHealth: {
4883
5289
  parameters: {
4884
- query?: never;
5290
+ query?: {
5291
+ /** @description Page size (default 25, max 100). */
5292
+ limit?: components["parameters"]["PaginationLimit"];
5293
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5294
+ offset?: components["parameters"]["PaginationOffset"];
5295
+ /** @description Allowlisted repository sort field. */
5296
+ sort?: components["parameters"]["ReadinessRepoSort"];
5297
+ /** @description Sort direction. */
5298
+ order?: components["parameters"]["PaginationOrder"];
5299
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5300
+ search?: components["parameters"]["ReadinessRepoSearch"];
5301
+ /** @description Exact language filter (e.g. `typescript`). */
5302
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5303
+ };
4885
5304
  header?: never;
4886
5305
  path: {
4887
5306
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4890,13 +5309,22 @@ export interface operations {
4890
5309
  };
4891
5310
  requestBody?: never;
4892
5311
  responses: {
4893
- /** @description Repositories with repo-hygiene slice */
5312
+ /** @description Paginated repositories with repo-hygiene slice */
4894
5313
  200: {
4895
5314
  headers: {
4896
5315
  [name: string]: unknown;
4897
5316
  };
4898
5317
  content: {
4899
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5318
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5319
+ };
5320
+ };
5321
+ /** @description Invalid pagination or sort query */
5322
+ 400: {
5323
+ headers: {
5324
+ [name: string]: unknown;
5325
+ };
5326
+ content: {
5327
+ "application/json": components["schemas"]["ErrorMessageDto"];
4900
5328
  };
4901
5329
  };
4902
5330
  401: components["responses"]["Unauthorized"];
@@ -4914,7 +5342,20 @@ export interface operations {
4914
5342
  };
4915
5343
  getAgenticFoundationCodebaseQuality: {
4916
5344
  parameters: {
4917
- query?: never;
5345
+ query?: {
5346
+ /** @description Page size (default 25, max 100). */
5347
+ limit?: components["parameters"]["PaginationLimit"];
5348
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5349
+ offset?: components["parameters"]["PaginationOffset"];
5350
+ /** @description Allowlisted repository sort field. */
5351
+ sort?: components["parameters"]["ReadinessRepoSort"];
5352
+ /** @description Sort direction. */
5353
+ order?: components["parameters"]["PaginationOrder"];
5354
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5355
+ search?: components["parameters"]["ReadinessRepoSearch"];
5356
+ /** @description Exact language filter (e.g. `typescript`). */
5357
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5358
+ };
4918
5359
  header?: never;
4919
5360
  path: {
4920
5361
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4923,13 +5364,22 @@ export interface operations {
4923
5364
  };
4924
5365
  requestBody?: never;
4925
5366
  responses: {
4926
- /** @description Repositories with stack-quality slice */
5367
+ /** @description Paginated repositories with stack-quality slice */
4927
5368
  200: {
4928
5369
  headers: {
4929
5370
  [name: string]: unknown;
4930
5371
  };
4931
5372
  content: {
4932
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5373
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5374
+ };
5375
+ };
5376
+ /** @description Invalid pagination or sort query */
5377
+ 400: {
5378
+ headers: {
5379
+ [name: string]: unknown;
5380
+ };
5381
+ content: {
5382
+ "application/json": components["schemas"]["ErrorMessageDto"];
4933
5383
  };
4934
5384
  };
4935
5385
  401: components["responses"]["Unauthorized"];
@@ -4947,7 +5397,20 @@ export interface operations {
4947
5397
  };
4948
5398
  getAgenticFoundationTestQa: {
4949
5399
  parameters: {
4950
- query?: never;
5400
+ query?: {
5401
+ /** @description Page size (default 25, max 100). */
5402
+ limit?: components["parameters"]["PaginationLimit"];
5403
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5404
+ offset?: components["parameters"]["PaginationOffset"];
5405
+ /** @description Allowlisted repository sort field. */
5406
+ sort?: components["parameters"]["ReadinessRepoSort"];
5407
+ /** @description Sort direction. */
5408
+ order?: components["parameters"]["PaginationOrder"];
5409
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5410
+ search?: components["parameters"]["ReadinessRepoSearch"];
5411
+ /** @description Exact language filter (e.g. `typescript`). */
5412
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5413
+ };
4951
5414
  header?: never;
4952
5415
  path: {
4953
5416
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4956,13 +5419,22 @@ export interface operations {
4956
5419
  };
4957
5420
  requestBody?: never;
4958
5421
  responses: {
4959
- /** @description Repositories with tests-qa slice */
5422
+ /** @description Paginated repositories with tests-qa slice */
4960
5423
  200: {
4961
5424
  headers: {
4962
5425
  [name: string]: unknown;
4963
5426
  };
4964
5427
  content: {
4965
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5428
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5429
+ };
5430
+ };
5431
+ /** @description Invalid pagination or sort query */
5432
+ 400: {
5433
+ headers: {
5434
+ [name: string]: unknown;
5435
+ };
5436
+ content: {
5437
+ "application/json": components["schemas"]["ErrorMessageDto"];
4966
5438
  };
4967
5439
  };
4968
5440
  401: components["responses"]["Unauthorized"];
@@ -4980,7 +5452,20 @@ export interface operations {
4980
5452
  };
4981
5453
  getAgenticFoundationObservability: {
4982
5454
  parameters: {
4983
- query?: never;
5455
+ query?: {
5456
+ /** @description Page size (default 25, max 100). */
5457
+ limit?: components["parameters"]["PaginationLimit"];
5458
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5459
+ offset?: components["parameters"]["PaginationOffset"];
5460
+ /** @description Allowlisted repository sort field. */
5461
+ sort?: components["parameters"]["ReadinessRepoSort"];
5462
+ /** @description Sort direction. */
5463
+ order?: components["parameters"]["PaginationOrder"];
5464
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5465
+ search?: components["parameters"]["ReadinessRepoSearch"];
5466
+ /** @description Exact language filter (e.g. `typescript`). */
5467
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5468
+ };
4984
5469
  header?: never;
4985
5470
  path: {
4986
5471
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4989,13 +5474,22 @@ export interface operations {
4989
5474
  };
4990
5475
  requestBody?: never;
4991
5476
  responses: {
4992
- /** @description Repositories with observability slice */
5477
+ /** @description Paginated repositories with observability slice */
4993
5478
  200: {
4994
5479
  headers: {
4995
5480
  [name: string]: unknown;
4996
5481
  };
4997
5482
  content: {
4998
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5483
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5484
+ };
5485
+ };
5486
+ /** @description Invalid pagination or sort query */
5487
+ 400: {
5488
+ headers: {
5489
+ [name: string]: unknown;
5490
+ };
5491
+ content: {
5492
+ "application/json": components["schemas"]["ErrorMessageDto"];
4999
5493
  };
5000
5494
  };
5001
5495
  401: components["responses"]["Unauthorized"];
@@ -5013,7 +5507,20 @@ export interface operations {
5013
5507
  };
5014
5508
  getAgenticFoundationApiContract: {
5015
5509
  parameters: {
5016
- query?: never;
5510
+ query?: {
5511
+ /** @description Page size (default 25, max 100). */
5512
+ limit?: components["parameters"]["PaginationLimit"];
5513
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5514
+ offset?: components["parameters"]["PaginationOffset"];
5515
+ /** @description Allowlisted repository sort field. */
5516
+ sort?: components["parameters"]["ReadinessRepoSort"];
5517
+ /** @description Sort direction. */
5518
+ order?: components["parameters"]["PaginationOrder"];
5519
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5520
+ search?: components["parameters"]["ReadinessRepoSearch"];
5521
+ /** @description Exact language filter (e.g. `typescript`). */
5522
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5523
+ };
5017
5524
  header?: never;
5018
5525
  path: {
5019
5526
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5022,13 +5529,22 @@ export interface operations {
5022
5529
  };
5023
5530
  requestBody?: never;
5024
5531
  responses: {
5025
- /** @description Repositories with api-contracts slice */
5532
+ /** @description Paginated repositories with api-contracts slice */
5026
5533
  200: {
5027
5534
  headers: {
5028
5535
  [name: string]: unknown;
5029
5536
  };
5030
5537
  content: {
5031
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5538
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5539
+ };
5540
+ };
5541
+ /** @description Invalid pagination or sort query */
5542
+ 400: {
5543
+ headers: {
5544
+ [name: string]: unknown;
5545
+ };
5546
+ content: {
5547
+ "application/json": components["schemas"]["ErrorMessageDto"];
5032
5548
  };
5033
5549
  };
5034
5550
  401: components["responses"]["Unauthorized"];
@@ -5046,7 +5562,20 @@ export interface operations {
5046
5562
  };
5047
5563
  getAgenticFoundationPlatformGovernance: {
5048
5564
  parameters: {
5049
- query?: never;
5565
+ query?: {
5566
+ /** @description Page size (default 25, max 100). */
5567
+ limit?: components["parameters"]["PaginationLimit"];
5568
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5569
+ offset?: components["parameters"]["PaginationOffset"];
5570
+ /** @description Allowlisted repository sort field. */
5571
+ sort?: components["parameters"]["ReadinessRepoSort"];
5572
+ /** @description Sort direction. */
5573
+ order?: components["parameters"]["PaginationOrder"];
5574
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5575
+ search?: components["parameters"]["ReadinessRepoSearch"];
5576
+ /** @description Exact language filter (e.g. `typescript`). */
5577
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5578
+ };
5050
5579
  header?: never;
5051
5580
  path: {
5052
5581
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5055,13 +5584,22 @@ export interface operations {
5055
5584
  };
5056
5585
  requestBody?: never;
5057
5586
  responses: {
5058
- /** @description Repositories with platform-governance slice */
5587
+ /** @description Paginated repositories with platform-governance slice */
5059
5588
  200: {
5060
5589
  headers: {
5061
5590
  [name: string]: unknown;
5062
5591
  };
5063
5592
  content: {
5064
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5593
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5594
+ };
5595
+ };
5596
+ /** @description Invalid pagination or sort query */
5597
+ 400: {
5598
+ headers: {
5599
+ [name: string]: unknown;
5600
+ };
5601
+ content: {
5602
+ "application/json": components["schemas"]["ErrorMessageDto"];
5065
5603
  };
5066
5604
  };
5067
5605
  401: components["responses"]["Unauthorized"];
@@ -5079,7 +5617,20 @@ export interface operations {
5079
5617
  };
5080
5618
  getAgenticFoundationDeliveryGovernance: {
5081
5619
  parameters: {
5082
- query?: never;
5620
+ query?: {
5621
+ /** @description Page size (default 25, max 100). */
5622
+ limit?: components["parameters"]["PaginationLimit"];
5623
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5624
+ offset?: components["parameters"]["PaginationOffset"];
5625
+ /** @description Allowlisted repository sort field. */
5626
+ sort?: components["parameters"]["ReadinessRepoSort"];
5627
+ /** @description Sort direction. */
5628
+ order?: components["parameters"]["PaginationOrder"];
5629
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5630
+ search?: components["parameters"]["ReadinessRepoSearch"];
5631
+ /** @description Exact language filter (e.g. `typescript`). */
5632
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5633
+ };
5083
5634
  header?: never;
5084
5635
  path: {
5085
5636
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5088,13 +5639,22 @@ export interface operations {
5088
5639
  };
5089
5640
  requestBody?: never;
5090
5641
  responses: {
5091
- /** @description Repositories with delivery slice */
5642
+ /** @description Paginated repositories with delivery slice */
5092
5643
  200: {
5093
5644
  headers: {
5094
5645
  [name: string]: unknown;
5095
5646
  };
5096
5647
  content: {
5097
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5648
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5649
+ };
5650
+ };
5651
+ /** @description Invalid pagination or sort query */
5652
+ 400: {
5653
+ headers: {
5654
+ [name: string]: unknown;
5655
+ };
5656
+ content: {
5657
+ "application/json": components["schemas"]["ErrorMessageDto"];
5098
5658
  };
5099
5659
  };
5100
5660
  401: components["responses"]["Unauthorized"];
@@ -5112,7 +5672,20 @@ export interface operations {
5112
5672
  };
5113
5673
  getAgenticFoundationAiResolutionHub: {
5114
5674
  parameters: {
5115
- query?: never;
5675
+ query?: {
5676
+ /** @description Page size (default 25, max 100). */
5677
+ limit?: components["parameters"]["PaginationLimit"];
5678
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5679
+ offset?: components["parameters"]["PaginationOffset"];
5680
+ /** @description Allowlisted repository sort field. */
5681
+ sort?: components["parameters"]["ReadinessRepoSort"];
5682
+ /** @description Sort direction. */
5683
+ order?: components["parameters"]["PaginationOrder"];
5684
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5685
+ search?: components["parameters"]["ReadinessRepoSearch"];
5686
+ /** @description Exact language filter (e.g. `typescript`). */
5687
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5688
+ };
5116
5689
  header?: never;
5117
5690
  path: {
5118
5691
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5127,7 +5700,16 @@ export interface operations {
5127
5700
  [name: string]: unknown;
5128
5701
  };
5129
5702
  content: {
5130
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5703
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5704
+ };
5705
+ };
5706
+ /** @description Invalid pagination or sort query */
5707
+ 400: {
5708
+ headers: {
5709
+ [name: string]: unknown;
5710
+ };
5711
+ content: {
5712
+ "application/json": components["schemas"]["ErrorMessageDto"];
5131
5713
  };
5132
5714
  };
5133
5715
  401: components["responses"]["Unauthorized"];
@@ -5178,7 +5760,22 @@ export interface operations {
5178
5760
  };
5179
5761
  listReadinessFixes: {
5180
5762
  parameters: {
5181
- query?: never;
5763
+ query?: {
5764
+ /** @description Page size (default 25, max 100). */
5765
+ limit?: components["parameters"]["PaginationLimit"];
5766
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5767
+ offset?: components["parameters"]["PaginationOffset"];
5768
+ /** @description Allowlisted fix-queue sort field. */
5769
+ sort?: components["parameters"]["ReadinessFixSort"];
5770
+ /** @description Sort direction. */
5771
+ order?: components["parameters"]["PaginationOrder"];
5772
+ /** @description Case-insensitive filter on repo name, issue title, label, or description. */
5773
+ search?: components["parameters"]["ReadinessFixSearch"];
5774
+ /** @description Filter fixes by workflow status. */
5775
+ status?: components["parameters"]["ReadinessFixStatusFilter"];
5776
+ /** @description Filter fixes to a single workspace repository id. */
5777
+ repoId?: components["parameters"]["ReadinessFixRepoIdFilter"];
5778
+ };
5182
5779
  header?: never;
5183
5780
  path: {
5184
5781
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5187,13 +5784,22 @@ export interface operations {
5187
5784
  };
5188
5785
  requestBody?: never;
5189
5786
  responses: {
5190
- /** @description Fix queue */
5787
+ /** @description Paginated fix queue */
5191
5788
  200: {
5192
5789
  headers: {
5193
5790
  [name: string]: unknown;
5194
5791
  };
5195
5792
  content: {
5196
- "application/json": components["schemas"]["FixRequestDto"][];
5793
+ "application/json": components["schemas"]["ReadinessFixListDto"];
5794
+ };
5795
+ };
5796
+ /** @description Invalid pagination or sort query */
5797
+ 400: {
5798
+ headers: {
5799
+ [name: string]: unknown;
5800
+ };
5801
+ content: {
5802
+ "application/json": components["schemas"]["ErrorMessageDto"];
5197
5803
  };
5198
5804
  };
5199
5805
  401: components["responses"]["Unauthorized"];
@@ -5727,5 +6333,300 @@ export interface operations {
5727
6333
  };
5728
6334
  };
5729
6335
  };
6336
+ getYourAiJourneyAnalytics: {
6337
+ parameters: {
6338
+ query?: never;
6339
+ header?: never;
6340
+ path: {
6341
+ workspaceId: components["parameters"]["WorkspaceId"];
6342
+ };
6343
+ cookie?: never;
6344
+ };
6345
+ requestBody?: never;
6346
+ responses: {
6347
+ /** @description Analytics summary */
6348
+ 200: {
6349
+ headers: {
6350
+ [name: string]: unknown;
6351
+ };
6352
+ content: {
6353
+ "application/json": components["schemas"]["YourAiJourneyAnalyticsDto"];
6354
+ };
6355
+ };
6356
+ 401: components["responses"]["Unauthorized"];
6357
+ 403: components["responses"]["Forbidden"];
6358
+ /** @description Workspace does not exist */
6359
+ 404: {
6360
+ headers: {
6361
+ [name: string]: unknown;
6362
+ };
6363
+ content: {
6364
+ "application/json": components["schemas"]["ErrorMessageDto"];
6365
+ };
6366
+ };
6367
+ };
6368
+ };
6369
+ getYourAiJourneyPrSignals: {
6370
+ parameters: {
6371
+ query?: {
6372
+ /** @description Number of weekly buckets to return (1–52; default 8). */
6373
+ limit?: number;
6374
+ };
6375
+ header?: never;
6376
+ path: {
6377
+ workspaceId: components["parameters"]["WorkspaceId"];
6378
+ };
6379
+ cookie?: never;
6380
+ };
6381
+ requestBody?: never;
6382
+ responses: {
6383
+ /** @description Weekly PR signals */
6384
+ 200: {
6385
+ headers: {
6386
+ [name: string]: unknown;
6387
+ };
6388
+ content: {
6389
+ "application/json": components["schemas"]["YourAiJourneyPrSignalsDto"];
6390
+ };
6391
+ };
6392
+ /** @description Invalid query parameter (limit out of range) */
6393
+ 400: {
6394
+ headers: {
6395
+ [name: string]: unknown;
6396
+ };
6397
+ content: {
6398
+ "application/json": components["schemas"]["ErrorMessageDto"];
6399
+ };
6400
+ };
6401
+ 401: components["responses"]["Unauthorized"];
6402
+ 403: components["responses"]["Forbidden"];
6403
+ /** @description Workspace does not exist */
6404
+ 404: {
6405
+ headers: {
6406
+ [name: string]: unknown;
6407
+ };
6408
+ content: {
6409
+ "application/json": components["schemas"]["ErrorMessageDto"];
6410
+ };
6411
+ };
6412
+ };
6413
+ };
6414
+ getYourAiJourneyReadinessAggregate: {
6415
+ parameters: {
6416
+ query?: never;
6417
+ header?: never;
6418
+ path: {
6419
+ workspaceId: components["parameters"]["WorkspaceId"];
6420
+ };
6421
+ cookie?: never;
6422
+ };
6423
+ requestBody?: never;
6424
+ responses: {
6425
+ /** @description Readiness aggregate */
6426
+ 200: {
6427
+ headers: {
6428
+ [name: string]: unknown;
6429
+ };
6430
+ content: {
6431
+ "application/json": components["schemas"]["YourAiJourneyReadinessAggregateDto"];
6432
+ };
6433
+ };
6434
+ 401: components["responses"]["Unauthorized"];
6435
+ 403: components["responses"]["Forbidden"];
6436
+ /** @description Workspace does not exist */
6437
+ 404: {
6438
+ headers: {
6439
+ [name: string]: unknown;
6440
+ };
6441
+ content: {
6442
+ "application/json": components["schemas"]["ErrorMessageDto"];
6443
+ };
6444
+ };
6445
+ };
6446
+ };
6447
+ getYourAiJourneyProgress: {
6448
+ parameters: {
6449
+ query?: never;
6450
+ header?: never;
6451
+ path: {
6452
+ workspaceId: components["parameters"]["WorkspaceId"];
6453
+ };
6454
+ cookie?: never;
6455
+ };
6456
+ requestBody?: never;
6457
+ responses: {
6458
+ /** @description Journey progress */
6459
+ 200: {
6460
+ headers: {
6461
+ [name: string]: unknown;
6462
+ };
6463
+ content: {
6464
+ "application/json": components["schemas"]["JourneyProgressDto"];
6465
+ };
6466
+ };
6467
+ 401: components["responses"]["Unauthorized"];
6468
+ 403: components["responses"]["Forbidden"];
6469
+ /** @description Workspace does not exist */
6470
+ 404: {
6471
+ headers: {
6472
+ [name: string]: unknown;
6473
+ };
6474
+ content: {
6475
+ "application/json": components["schemas"]["ErrorMessageDto"];
6476
+ };
6477
+ };
6478
+ };
6479
+ };
6480
+ putYourAiJourneyProgress: {
6481
+ parameters: {
6482
+ query?: never;
6483
+ header?: never;
6484
+ path: {
6485
+ workspaceId: components["parameters"]["WorkspaceId"];
6486
+ };
6487
+ cookie?: never;
6488
+ };
6489
+ requestBody: {
6490
+ content: {
6491
+ "application/json": components["schemas"]["JourneyProgressUpdateDto"];
6492
+ };
6493
+ };
6494
+ responses: {
6495
+ /** @description Saved progress */
6496
+ 200: {
6497
+ headers: {
6498
+ [name: string]: unknown;
6499
+ };
6500
+ content: {
6501
+ "application/json": components["schemas"]["JourneyProgressDto"];
6502
+ };
6503
+ };
6504
+ /** @description Body fails validation (non-array, invalid entries, too many steps) */
6505
+ 400: {
6506
+ headers: {
6507
+ [name: string]: unknown;
6508
+ };
6509
+ content: {
6510
+ "application/json": components["schemas"]["ErrorMessageDto"];
6511
+ };
6512
+ };
6513
+ 401: components["responses"]["Unauthorized"];
6514
+ 403: components["responses"]["Forbidden"];
6515
+ /** @description Workspace does not exist */
6516
+ 404: {
6517
+ headers: {
6518
+ [name: string]: unknown;
6519
+ };
6520
+ content: {
6521
+ "application/json": components["schemas"]["ErrorMessageDto"];
6522
+ };
6523
+ };
6524
+ };
6525
+ };
6526
+ getYourAiJourneyAgenticFoundation: {
6527
+ parameters: {
6528
+ query?: never;
6529
+ header?: never;
6530
+ path: {
6531
+ workspaceId: components["parameters"]["WorkspaceId"];
6532
+ };
6533
+ cookie?: never;
6534
+ };
6535
+ requestBody?: never;
6536
+ responses: {
6537
+ /** @description Agentic foundation dashboard */
6538
+ 200: {
6539
+ headers: {
6540
+ [name: string]: unknown;
6541
+ };
6542
+ content: {
6543
+ "application/json": components["schemas"]["AgenticFoundationDashboardDto"];
6544
+ };
6545
+ };
6546
+ 401: components["responses"]["Unauthorized"];
6547
+ 403: components["responses"]["Forbidden"];
6548
+ /** @description Workspace does not exist */
6549
+ 404: {
6550
+ headers: {
6551
+ [name: string]: unknown;
6552
+ };
6553
+ content: {
6554
+ "application/json": components["schemas"]["ErrorMessageDto"];
6555
+ };
6556
+ };
6557
+ };
6558
+ };
6559
+ getYourAiJourneyProductivity: {
6560
+ parameters: {
6561
+ query?: {
6562
+ /** @description Upper bound of the requested window (ISO 8601; defaults to now). */
6563
+ windowEnd?: string;
6564
+ };
6565
+ header?: never;
6566
+ path: {
6567
+ workspaceId: components["parameters"]["WorkspaceId"];
6568
+ };
6569
+ cookie?: never;
6570
+ };
6571
+ requestBody?: never;
6572
+ responses: {
6573
+ /** @description Productivity metrics snapshot */
6574
+ 200: {
6575
+ headers: {
6576
+ [name: string]: unknown;
6577
+ };
6578
+ content: {
6579
+ "application/json": components["schemas"]["DashboardProductivityDto"];
6580
+ };
6581
+ };
6582
+ 401: components["responses"]["Unauthorized"];
6583
+ 403: components["responses"]["Forbidden"];
6584
+ /** @description Workspace does not exist */
6585
+ 404: {
6586
+ headers: {
6587
+ [name: string]: unknown;
6588
+ };
6589
+ content: {
6590
+ "application/json": components["schemas"]["ErrorMessageDto"];
6591
+ };
6592
+ };
6593
+ };
6594
+ };
6595
+ getYourAiJourneyAiSpend: {
6596
+ parameters: {
6597
+ query?: {
6598
+ /** @description Time range — `4w` (4 weeks), `8w` (8 weeks), or `q` (quarter, 12 weeks). */
6599
+ rangeId?: "4w" | "8w" | "q";
6600
+ };
6601
+ header?: never;
6602
+ path: {
6603
+ workspaceId: components["parameters"]["WorkspaceId"];
6604
+ };
6605
+ cookie?: never;
6606
+ };
6607
+ requestBody?: never;
6608
+ responses: {
6609
+ /** @description AI spend aggregation */
6610
+ 200: {
6611
+ headers: {
6612
+ [name: string]: unknown;
6613
+ };
6614
+ content: {
6615
+ "application/json": components["schemas"]["YourAiJourneyAiSpendDto"];
6616
+ };
6617
+ };
6618
+ 401: components["responses"]["Unauthorized"];
6619
+ 403: components["responses"]["Forbidden"];
6620
+ /** @description Workspace does not exist */
6621
+ 404: {
6622
+ headers: {
6623
+ [name: string]: unknown;
6624
+ };
6625
+ content: {
6626
+ "application/json": components["schemas"]["ErrorMessageDto"];
6627
+ };
6628
+ };
6629
+ };
6630
+ };
5730
6631
  }
5731
6632
  //# sourceMappingURL=openapi.d.ts.map