@thinkai/tai-api-contract 2.6.0 → 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;
@@ -2107,6 +2110,11 @@ export interface components {
2107
2110
  fullName?: string | null;
2108
2111
  language?: string | null;
2109
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;
2110
2118
  };
2111
2119
  GithubMissingPermissionDto: {
2112
2120
  /** @description GitHub App permission key (e.g. contents, pull_requests). */
@@ -2122,7 +2130,8 @@ export interface components {
2122
2130
  GithubInstallationSummaryDto: {
2123
2131
  installationId: string;
2124
2132
  account: components["schemas"]["GithubAccountDto"];
2125
- repos: components["schemas"]["GithubInstalledRepoDto"][];
2133
+ /** @description Paginated repositories granted on this installation (same repoLimit/repoOffset as top-level repos). */
2134
+ repos: components["schemas"]["GithubInstalledRepoListDto"];
2126
2135
  /** Format: uri */
2127
2136
  manageUrl?: string | null;
2128
2137
  /** Format: date-time */
@@ -2140,7 +2149,8 @@ export interface components {
2140
2149
  permissionsUpgradeRequired: boolean;
2141
2150
  installationId?: string | null;
2142
2151
  account?: components["schemas"]["GithubAccountDto"] | null;
2143
- repos?: components["schemas"]["GithubInstalledRepoDto"][] | null;
2152
+ /** @description Paginated merged installation repositories when `installed` is true. */
2153
+ repos?: components["schemas"]["GithubInstalledRepoListDto"] | null;
2144
2154
  /**
2145
2155
  * Format: uri
2146
2156
  * @description User accounts: github.com/settings/installations/<id>. Organizations: github.com/organizations/<login>/settings/installations/<id>.
@@ -2380,14 +2390,46 @@ export interface components {
2380
2390
  /** @enum {string} */
2381
2391
  fixStatus: "open" | "pr-pending" | "fixed";
2382
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
+ };
2383
2424
  AgenticFoundationDashboardDto: {
2384
2425
  /** Format: uuid */
2385
2426
  workspaceId: string;
2386
2427
  /** Format: date-time */
2387
2428
  generatedAt: string;
2388
2429
  summary: components["schemas"]["AgenticFoundationDashboardSummaryDto"];
2389
- repos: components["schemas"]["RepoReadinessScoreDto"][];
2390
- 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"];
2391
2433
  };
2392
2434
  FixRequestDto: {
2393
2435
  id: string;
@@ -2725,6 +2767,34 @@ export interface components {
2725
2767
  FixId: string;
2726
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). */
2727
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";
2728
2798
  };
2729
2799
  requestBodies: never;
2730
2800
  headers: never;
@@ -2828,6 +2898,12 @@ export type DimensionScoreDto = components['schemas']['DimensionScoreDto'];
2828
2898
  export type RepoReadinessScoreDto = components['schemas']['RepoReadinessScoreDto'];
2829
2899
  export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
2830
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'];
2831
2907
  export type AgenticFoundationDashboardDto = components['schemas']['AgenticFoundationDashboardDto'];
2832
2908
  export type FixRequestDto = components['schemas']['FixRequestDto'];
2833
2909
  export type FixRetryableErrorCode = components['schemas']['FixRetryableErrorCode'];
@@ -2872,6 +2948,20 @@ export type ParameterNotificationId = components['parameters']['NotificationId']
2872
2948
  export type ParameterWorkspaceMemberId = components['parameters']['WorkspaceMemberId'];
2873
2949
  export type ParameterFixId = components['parameters']['FixId'];
2874
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'];
2875
2965
  export type $defs = Record<string, never>;
2876
2966
  export interface operations {
2877
2967
  getMe: {
@@ -4249,6 +4339,14 @@ export interface operations {
4249
4339
  refresh?: boolean;
4250
4340
  /** @description When true, re-fetch GitHub App and installation permission metadata (used by the login permission gate after the user approves on GitHub). */
4251
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"];
4252
4350
  };
4253
4351
  header?: never;
4254
4352
  path: {
@@ -4914,7 +5012,20 @@ export interface operations {
4914
5012
  };
4915
5013
  listReadinessRepos: {
4916
5014
  parameters: {
4917
- 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
+ };
4918
5029
  header?: never;
4919
5030
  path: {
4920
5031
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4923,13 +5034,22 @@ export interface operations {
4923
5034
  };
4924
5035
  requestBody?: never;
4925
5036
  responses: {
4926
- /** @description Repositories analyzed */
5037
+ /** @description Paginated repositories analyzed */
4927
5038
  200: {
4928
5039
  headers: {
4929
5040
  [name: string]: unknown;
4930
5041
  };
4931
5042
  content: {
4932
- "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"];
4933
5053
  };
4934
5054
  };
4935
5055
  401: components["responses"]["Unauthorized"];
@@ -5088,7 +5208,7 @@ export interface operations {
5088
5208
  };
5089
5209
  requestBody?: never;
5090
5210
  responses: {
5091
- /** @description Dashboard scorecards and issue queue */
5211
+ /** @description Dashboard summary and aggregates */
5092
5212
  200: {
5093
5213
  headers: {
5094
5214
  [name: string]: unknown;
@@ -5112,7 +5232,20 @@ export interface operations {
5112
5232
  };
5113
5233
  getAgenticFoundationAgenticReadiness: {
5114
5234
  parameters: {
5115
- 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
+ };
5116
5249
  header?: never;
5117
5250
  path: {
5118
5251
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5121,13 +5254,22 @@ export interface operations {
5121
5254
  };
5122
5255
  requestBody?: never;
5123
5256
  responses: {
5124
- /** @description Repositories with ai-agent-readiness slice */
5257
+ /** @description Paginated repositories with ai-agent-readiness slice */
5125
5258
  200: {
5126
5259
  headers: {
5127
5260
  [name: string]: unknown;
5128
5261
  };
5129
5262
  content: {
5130
- "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"];
5131
5273
  };
5132
5274
  };
5133
5275
  401: components["responses"]["Unauthorized"];
@@ -5145,7 +5287,20 @@ export interface operations {
5145
5287
  };
5146
5288
  getAgenticFoundationRepositoryHealth: {
5147
5289
  parameters: {
5148
- 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
+ };
5149
5304
  header?: never;
5150
5305
  path: {
5151
5306
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5154,13 +5309,22 @@ export interface operations {
5154
5309
  };
5155
5310
  requestBody?: never;
5156
5311
  responses: {
5157
- /** @description Repositories with repo-hygiene slice */
5312
+ /** @description Paginated repositories with repo-hygiene slice */
5158
5313
  200: {
5159
5314
  headers: {
5160
5315
  [name: string]: unknown;
5161
5316
  };
5162
5317
  content: {
5163
- "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"];
5164
5328
  };
5165
5329
  };
5166
5330
  401: components["responses"]["Unauthorized"];
@@ -5178,7 +5342,20 @@ export interface operations {
5178
5342
  };
5179
5343
  getAgenticFoundationCodebaseQuality: {
5180
5344
  parameters: {
5181
- 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
+ };
5182
5359
  header?: never;
5183
5360
  path: {
5184
5361
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5187,13 +5364,22 @@ export interface operations {
5187
5364
  };
5188
5365
  requestBody?: never;
5189
5366
  responses: {
5190
- /** @description Repositories with stack-quality slice */
5367
+ /** @description Paginated repositories with stack-quality slice */
5191
5368
  200: {
5192
5369
  headers: {
5193
5370
  [name: string]: unknown;
5194
5371
  };
5195
5372
  content: {
5196
- "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"];
5197
5383
  };
5198
5384
  };
5199
5385
  401: components["responses"]["Unauthorized"];
@@ -5211,7 +5397,20 @@ export interface operations {
5211
5397
  };
5212
5398
  getAgenticFoundationTestQa: {
5213
5399
  parameters: {
5214
- 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
+ };
5215
5414
  header?: never;
5216
5415
  path: {
5217
5416
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5220,13 +5419,22 @@ export interface operations {
5220
5419
  };
5221
5420
  requestBody?: never;
5222
5421
  responses: {
5223
- /** @description Repositories with tests-qa slice */
5422
+ /** @description Paginated repositories with tests-qa slice */
5224
5423
  200: {
5225
5424
  headers: {
5226
5425
  [name: string]: unknown;
5227
5426
  };
5228
5427
  content: {
5229
- "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"];
5230
5438
  };
5231
5439
  };
5232
5440
  401: components["responses"]["Unauthorized"];
@@ -5244,7 +5452,20 @@ export interface operations {
5244
5452
  };
5245
5453
  getAgenticFoundationObservability: {
5246
5454
  parameters: {
5247
- 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
+ };
5248
5469
  header?: never;
5249
5470
  path: {
5250
5471
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5253,13 +5474,22 @@ export interface operations {
5253
5474
  };
5254
5475
  requestBody?: never;
5255
5476
  responses: {
5256
- /** @description Repositories with observability slice */
5477
+ /** @description Paginated repositories with observability slice */
5257
5478
  200: {
5258
5479
  headers: {
5259
5480
  [name: string]: unknown;
5260
5481
  };
5261
5482
  content: {
5262
- "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"];
5263
5493
  };
5264
5494
  };
5265
5495
  401: components["responses"]["Unauthorized"];
@@ -5277,7 +5507,20 @@ export interface operations {
5277
5507
  };
5278
5508
  getAgenticFoundationApiContract: {
5279
5509
  parameters: {
5280
- 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
+ };
5281
5524
  header?: never;
5282
5525
  path: {
5283
5526
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5286,13 +5529,22 @@ export interface operations {
5286
5529
  };
5287
5530
  requestBody?: never;
5288
5531
  responses: {
5289
- /** @description Repositories with api-contracts slice */
5532
+ /** @description Paginated repositories with api-contracts slice */
5290
5533
  200: {
5291
5534
  headers: {
5292
5535
  [name: string]: unknown;
5293
5536
  };
5294
5537
  content: {
5295
- "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"];
5296
5548
  };
5297
5549
  };
5298
5550
  401: components["responses"]["Unauthorized"];
@@ -5310,7 +5562,20 @@ export interface operations {
5310
5562
  };
5311
5563
  getAgenticFoundationPlatformGovernance: {
5312
5564
  parameters: {
5313
- 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
+ };
5314
5579
  header?: never;
5315
5580
  path: {
5316
5581
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5319,13 +5584,22 @@ export interface operations {
5319
5584
  };
5320
5585
  requestBody?: never;
5321
5586
  responses: {
5322
- /** @description Repositories with platform-governance slice */
5587
+ /** @description Paginated repositories with platform-governance slice */
5323
5588
  200: {
5324
5589
  headers: {
5325
5590
  [name: string]: unknown;
5326
5591
  };
5327
5592
  content: {
5328
- "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"];
5329
5603
  };
5330
5604
  };
5331
5605
  401: components["responses"]["Unauthorized"];
@@ -5343,7 +5617,20 @@ export interface operations {
5343
5617
  };
5344
5618
  getAgenticFoundationDeliveryGovernance: {
5345
5619
  parameters: {
5346
- 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
+ };
5347
5634
  header?: never;
5348
5635
  path: {
5349
5636
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5352,13 +5639,22 @@ export interface operations {
5352
5639
  };
5353
5640
  requestBody?: never;
5354
5641
  responses: {
5355
- /** @description Repositories with delivery slice */
5642
+ /** @description Paginated repositories with delivery slice */
5356
5643
  200: {
5357
5644
  headers: {
5358
5645
  [name: string]: unknown;
5359
5646
  };
5360
5647
  content: {
5361
- "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"];
5362
5658
  };
5363
5659
  };
5364
5660
  401: components["responses"]["Unauthorized"];
@@ -5376,7 +5672,20 @@ export interface operations {
5376
5672
  };
5377
5673
  getAgenticFoundationAiResolutionHub: {
5378
5674
  parameters: {
5379
- 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
+ };
5380
5689
  header?: never;
5381
5690
  path: {
5382
5691
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5391,7 +5700,16 @@ export interface operations {
5391
5700
  [name: string]: unknown;
5392
5701
  };
5393
5702
  content: {
5394
- "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"];
5395
5713
  };
5396
5714
  };
5397
5715
  401: components["responses"]["Unauthorized"];
@@ -5442,7 +5760,22 @@ export interface operations {
5442
5760
  };
5443
5761
  listReadinessFixes: {
5444
5762
  parameters: {
5445
- 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
+ };
5446
5779
  header?: never;
5447
5780
  path: {
5448
5781
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5451,13 +5784,22 @@ export interface operations {
5451
5784
  };
5452
5785
  requestBody?: never;
5453
5786
  responses: {
5454
- /** @description Fix queue */
5787
+ /** @description Paginated fix queue */
5455
5788
  200: {
5456
5789
  headers: {
5457
5790
  [name: string]: unknown;
5458
5791
  };
5459
5792
  content: {
5460
- "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"];
5461
5803
  };
5462
5804
  };
5463
5805
  401: components["responses"]["Unauthorized"];