@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.
@@ -824,7 +824,10 @@ export interface paths {
824
824
  path?: never;
825
825
  cookie?: never;
826
826
  };
827
- /** List repo readiness scores */
827
+ /**
828
+ * List repo readiness scores (paginated)
829
+ * @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).
830
+ */
828
831
  get: operations["listReadinessRepos"];
829
832
  put?: never;
830
833
  post?: never;
@@ -899,8 +902,8 @@ export interface paths {
899
902
  cookie?: never;
900
903
  };
901
904
  /**
902
- * Agentic Foundation dashboard
903
- * @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`.
905
+ * Agentic Foundation dashboard summary
906
+ * @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.
904
907
  */
905
908
  get: operations["getAgenticFoundationDashboard"];
906
909
  put?: never;
@@ -1119,8 +1122,8 @@ export interface paths {
1119
1122
  cookie?: never;
1120
1123
  };
1121
1124
  /**
1122
- * List fix requests
1123
- * @description Returns persisted fix-queue rows for the workspace (newest first). Empty array when none exist.
1125
+ * List fix requests (paginated)
1126
+ * @description Returns a page of persisted fix-queue rows for the workspace (default newest first).
1124
1127
  */
1125
1128
  get: operations["listReadinessFixes"];
1126
1129
  put?: never;
@@ -2108,6 +2111,11 @@ export interface components {
2108
2111
  fullName?: string | null;
2109
2112
  language?: string | null;
2110
2113
  private?: boolean | null;
2114
+ /**
2115
+ * Format: date-time
2116
+ * @description Last push or metadata update from GitHub when available.
2117
+ */
2118
+ updatedAt?: string | null;
2111
2119
  };
2112
2120
  GithubMissingPermissionDto: {
2113
2121
  /** @description GitHub App permission key (e.g. contents, pull_requests). */
@@ -2123,7 +2131,8 @@ export interface components {
2123
2131
  GithubInstallationSummaryDto: {
2124
2132
  installationId: string;
2125
2133
  account: components["schemas"]["GithubAccountDto"];
2126
- repos: components["schemas"]["GithubInstalledRepoDto"][];
2134
+ /** @description Paginated repositories granted on this installation (same repoLimit/repoOffset as top-level repos). */
2135
+ repos: components["schemas"]["GithubInstalledRepoListDto"];
2127
2136
  /** Format: uri */
2128
2137
  manageUrl?: string | null;
2129
2138
  /** Format: date-time */
@@ -2141,7 +2150,8 @@ export interface components {
2141
2150
  permissionsUpgradeRequired: boolean;
2142
2151
  installationId?: string | null;
2143
2152
  account?: components["schemas"]["GithubAccountDto"] | null;
2144
- repos?: components["schemas"]["GithubInstalledRepoDto"][] | null;
2153
+ /** @description Paginated merged installation repositories when `installed` is true. */
2154
+ repos?: components["schemas"]["GithubInstalledRepoListDto"] | null;
2145
2155
  /**
2146
2156
  * Format: uri
2147
2157
  * @description User accounts: github.com/settings/installations/<id>. Organizations: github.com/organizations/<login>/settings/installations/<id>.
@@ -2381,14 +2391,46 @@ export interface components {
2381
2391
  /** @enum {string} */
2382
2392
  fixStatus: "open" | "pr-pending" | "fixed";
2383
2393
  };
2394
+ PageMetaDto: {
2395
+ /** @description Total rows matching filters (full workspace, not just this page). */
2396
+ total: number;
2397
+ limit: number;
2398
+ offset: number;
2399
+ };
2400
+ ReadinessRepoListDto: components["schemas"]["PageMetaDto"] & {
2401
+ items: components["schemas"]["RepoReadinessScoreDto"][];
2402
+ };
2403
+ ReadinessFixListDto: components["schemas"]["PageMetaDto"] & {
2404
+ items: components["schemas"]["FixRequestDto"][];
2405
+ };
2406
+ AgenticFoundationDimensionAggregateDto: {
2407
+ dimensionId: components["schemas"]["ReadinessDimensionId"];
2408
+ /** @description Mean dimension score percent across repos with maxScore > 0. */
2409
+ averageScorePercent: number;
2410
+ /** @description Repositories with a scored row for this dimension. */
2411
+ repoCount: number;
2412
+ };
2413
+ ReadinessFixStatusSummaryDto: {
2414
+ queued: number;
2415
+ generating: number;
2416
+ /** @description Count of fixes with status `pr-created`. */
2417
+ prCreated: number;
2418
+ merged: number;
2419
+ failed: number;
2420
+ total: number;
2421
+ };
2422
+ GithubInstalledRepoListDto: components["schemas"]["PageMetaDto"] & {
2423
+ items: components["schemas"]["GithubInstalledRepoDto"][];
2424
+ };
2384
2425
  AgenticFoundationDashboardDto: {
2385
2426
  /** Format: uuid */
2386
2427
  workspaceId: string;
2387
2428
  /** Format: date-time */
2388
2429
  generatedAt: string;
2389
2430
  summary: components["schemas"]["AgenticFoundationDashboardSummaryDto"];
2390
- repos: components["schemas"]["RepoReadinessScoreDto"][];
2391
- issueQueue: components["schemas"]["AgenticFoundationDashboardIssueDto"][];
2431
+ /** @description Per-dimension average score bars for overview UI (full workspace aggregates). */
2432
+ dimensionAggregates: components["schemas"]["AgenticFoundationDimensionAggregateDto"][];
2433
+ fixStatusSummary: components["schemas"]["ReadinessFixStatusSummaryDto"];
2392
2434
  };
2393
2435
  FixRequestDto: {
2394
2436
  id: string;
@@ -2726,6 +2768,34 @@ export interface components {
2726
2768
  FixId: string;
2727
2769
  /** @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). */
2728
2770
  InsightsDepartmentFilter: string;
2771
+ /** @description Page size (default 25, max 100). */
2772
+ PaginationLimit: number;
2773
+ /** @description Zero-based row offset into the filtered, sorted result set. */
2774
+ PaginationOffset: number;
2775
+ /** @description Sort direction. */
2776
+ PaginationOrder: "asc" | "desc";
2777
+ /** @description Allowlisted repository sort field. */
2778
+ ReadinessRepoSort: "repoName" | "overallScore" | "lastAnalyzed" | "language";
2779
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
2780
+ ReadinessRepoSearch: string;
2781
+ /** @description Exact language filter (e.g. `typescript`). */
2782
+ ReadinessRepoLanguage: string;
2783
+ /** @description Allowlisted fix-queue sort field. */
2784
+ ReadinessFixSort: "createdAt" | "repoName" | "severity" | "status";
2785
+ /** @description Filter fixes by workflow status. */
2786
+ ReadinessFixStatusFilter: "queued" | "generating" | "pr-created" | "merged" | "failed";
2787
+ /** @description Filter fixes to a single workspace repository id. */
2788
+ ReadinessFixRepoIdFilter: string;
2789
+ /** @description Case-insensitive filter on repo name, issue title, label, or description. */
2790
+ ReadinessFixSearch: string;
2791
+ /** @description Page size for the nested installation repo list (default 25, max 100). */
2792
+ GithubRepoLimit: number;
2793
+ /** @description Zero-based offset into the merged installation repo list. */
2794
+ GithubRepoOffset: number;
2795
+ /** @description Allowlisted GitHub repo sort field. */
2796
+ GithubRepoSort: "name" | "updatedAt";
2797
+ /** @description Sort direction for the nested installation repo list. */
2798
+ GithubRepoOrder: "asc" | "desc";
2729
2799
  };
2730
2800
  requestBodies: never;
2731
2801
  headers: never;
@@ -2829,6 +2899,12 @@ export type DimensionScoreDto = components['schemas']['DimensionScoreDto'];
2829
2899
  export type RepoReadinessScoreDto = components['schemas']['RepoReadinessScoreDto'];
2830
2900
  export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
2831
2901
  export type AgenticFoundationDashboardIssueDto = components['schemas']['AgenticFoundationDashboardIssueDto'];
2902
+ export type PageMetaDto = components['schemas']['PageMetaDto'];
2903
+ export type ReadinessRepoListDto = components['schemas']['ReadinessRepoListDto'];
2904
+ export type ReadinessFixListDto = components['schemas']['ReadinessFixListDto'];
2905
+ export type AgenticFoundationDimensionAggregateDto = components['schemas']['AgenticFoundationDimensionAggregateDto'];
2906
+ export type ReadinessFixStatusSummaryDto = components['schemas']['ReadinessFixStatusSummaryDto'];
2907
+ export type GithubInstalledRepoListDto = components['schemas']['GithubInstalledRepoListDto'];
2832
2908
  export type AgenticFoundationDashboardDto = components['schemas']['AgenticFoundationDashboardDto'];
2833
2909
  export type FixRequestDto = components['schemas']['FixRequestDto'];
2834
2910
  export type FixRetryableErrorCode = components['schemas']['FixRetryableErrorCode'];
@@ -2873,6 +2949,20 @@ export type ParameterNotificationId = components['parameters']['NotificationId']
2873
2949
  export type ParameterWorkspaceMemberId = components['parameters']['WorkspaceMemberId'];
2874
2950
  export type ParameterFixId = components['parameters']['FixId'];
2875
2951
  export type ParameterInsightsDepartmentFilter = components['parameters']['InsightsDepartmentFilter'];
2952
+ export type ParameterPaginationLimit = components['parameters']['PaginationLimit'];
2953
+ export type ParameterPaginationOffset = components['parameters']['PaginationOffset'];
2954
+ export type ParameterPaginationOrder = components['parameters']['PaginationOrder'];
2955
+ export type ParameterReadinessRepoSort = components['parameters']['ReadinessRepoSort'];
2956
+ export type ParameterReadinessRepoSearch = components['parameters']['ReadinessRepoSearch'];
2957
+ export type ParameterReadinessRepoLanguage = components['parameters']['ReadinessRepoLanguage'];
2958
+ export type ParameterReadinessFixSort = components['parameters']['ReadinessFixSort'];
2959
+ export type ParameterReadinessFixStatusFilter = components['parameters']['ReadinessFixStatusFilter'];
2960
+ export type ParameterReadinessFixRepoIdFilter = components['parameters']['ReadinessFixRepoIdFilter'];
2961
+ export type ParameterReadinessFixSearch = components['parameters']['ReadinessFixSearch'];
2962
+ export type ParameterGithubRepoLimit = components['parameters']['GithubRepoLimit'];
2963
+ export type ParameterGithubRepoOffset = components['parameters']['GithubRepoOffset'];
2964
+ export type ParameterGithubRepoSort = components['parameters']['GithubRepoSort'];
2965
+ export type ParameterGithubRepoOrder = components['parameters']['GithubRepoOrder'];
2876
2966
  export type $defs = Record<string, never>;
2877
2967
  export interface operations {
2878
2968
  getMe: {
@@ -4250,6 +4340,14 @@ export interface operations {
4250
4340
  refresh?: boolean;
4251
4341
  /** @description When true, re-fetch GitHub App and installation permission metadata (used by the login permission gate after the user approves on GitHub). */
4252
4342
  permissionsRefresh?: boolean;
4343
+ /** @description Page size for the nested installation repo list (default 25, max 100). */
4344
+ repoLimit?: components["parameters"]["GithubRepoLimit"];
4345
+ /** @description Zero-based offset into the merged installation repo list. */
4346
+ repoOffset?: components["parameters"]["GithubRepoOffset"];
4347
+ /** @description Allowlisted GitHub repo sort field. */
4348
+ repoSort?: components["parameters"]["GithubRepoSort"];
4349
+ /** @description Sort direction for the nested installation repo list. */
4350
+ repoOrder?: components["parameters"]["GithubRepoOrder"];
4253
4351
  };
4254
4352
  header?: never;
4255
4353
  path: {
@@ -4915,7 +5013,20 @@ export interface operations {
4915
5013
  };
4916
5014
  listReadinessRepos: {
4917
5015
  parameters: {
4918
- query?: never;
5016
+ query?: {
5017
+ /** @description Page size (default 25, max 100). */
5018
+ limit?: components["parameters"]["PaginationLimit"];
5019
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5020
+ offset?: components["parameters"]["PaginationOffset"];
5021
+ /** @description Allowlisted repository sort field. */
5022
+ sort?: components["parameters"]["ReadinessRepoSort"];
5023
+ /** @description Sort direction. */
5024
+ order?: components["parameters"]["PaginationOrder"];
5025
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5026
+ search?: components["parameters"]["ReadinessRepoSearch"];
5027
+ /** @description Exact language filter (e.g. `typescript`). */
5028
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5029
+ };
4919
5030
  header?: never;
4920
5031
  path: {
4921
5032
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -4924,13 +5035,22 @@ export interface operations {
4924
5035
  };
4925
5036
  requestBody?: never;
4926
5037
  responses: {
4927
- /** @description Repositories analyzed */
5038
+ /** @description Paginated repositories analyzed */
4928
5039
  200: {
4929
5040
  headers: {
4930
5041
  [name: string]: unknown;
4931
5042
  };
4932
5043
  content: {
4933
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5044
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5045
+ };
5046
+ };
5047
+ /** @description Invalid pagination or sort query */
5048
+ 400: {
5049
+ headers: {
5050
+ [name: string]: unknown;
5051
+ };
5052
+ content: {
5053
+ "application/json": components["schemas"]["ErrorMessageDto"];
4934
5054
  };
4935
5055
  };
4936
5056
  401: components["responses"]["Unauthorized"];
@@ -5089,7 +5209,7 @@ export interface operations {
5089
5209
  };
5090
5210
  requestBody?: never;
5091
5211
  responses: {
5092
- /** @description Dashboard scorecards and issue queue */
5212
+ /** @description Dashboard summary and aggregates */
5093
5213
  200: {
5094
5214
  headers: {
5095
5215
  [name: string]: unknown;
@@ -5113,7 +5233,20 @@ export interface operations {
5113
5233
  };
5114
5234
  getAgenticFoundationAgenticReadiness: {
5115
5235
  parameters: {
5116
- query?: never;
5236
+ query?: {
5237
+ /** @description Page size (default 25, max 100). */
5238
+ limit?: components["parameters"]["PaginationLimit"];
5239
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5240
+ offset?: components["parameters"]["PaginationOffset"];
5241
+ /** @description Allowlisted repository sort field. */
5242
+ sort?: components["parameters"]["ReadinessRepoSort"];
5243
+ /** @description Sort direction. */
5244
+ order?: components["parameters"]["PaginationOrder"];
5245
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5246
+ search?: components["parameters"]["ReadinessRepoSearch"];
5247
+ /** @description Exact language filter (e.g. `typescript`). */
5248
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5249
+ };
5117
5250
  header?: never;
5118
5251
  path: {
5119
5252
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5122,13 +5255,22 @@ export interface operations {
5122
5255
  };
5123
5256
  requestBody?: never;
5124
5257
  responses: {
5125
- /** @description Repositories with ai-agent-readiness slice */
5258
+ /** @description Paginated repositories with ai-agent-readiness slice */
5126
5259
  200: {
5127
5260
  headers: {
5128
5261
  [name: string]: unknown;
5129
5262
  };
5130
5263
  content: {
5131
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5264
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5265
+ };
5266
+ };
5267
+ /** @description Invalid pagination or sort query */
5268
+ 400: {
5269
+ headers: {
5270
+ [name: string]: unknown;
5271
+ };
5272
+ content: {
5273
+ "application/json": components["schemas"]["ErrorMessageDto"];
5132
5274
  };
5133
5275
  };
5134
5276
  401: components["responses"]["Unauthorized"];
@@ -5146,7 +5288,20 @@ export interface operations {
5146
5288
  };
5147
5289
  getAgenticFoundationRepositoryHealth: {
5148
5290
  parameters: {
5149
- query?: never;
5291
+ query?: {
5292
+ /** @description Page size (default 25, max 100). */
5293
+ limit?: components["parameters"]["PaginationLimit"];
5294
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5295
+ offset?: components["parameters"]["PaginationOffset"];
5296
+ /** @description Allowlisted repository sort field. */
5297
+ sort?: components["parameters"]["ReadinessRepoSort"];
5298
+ /** @description Sort direction. */
5299
+ order?: components["parameters"]["PaginationOrder"];
5300
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5301
+ search?: components["parameters"]["ReadinessRepoSearch"];
5302
+ /** @description Exact language filter (e.g. `typescript`). */
5303
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5304
+ };
5150
5305
  header?: never;
5151
5306
  path: {
5152
5307
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5155,13 +5310,22 @@ export interface operations {
5155
5310
  };
5156
5311
  requestBody?: never;
5157
5312
  responses: {
5158
- /** @description Repositories with repo-hygiene slice */
5313
+ /** @description Paginated repositories with repo-hygiene slice */
5159
5314
  200: {
5160
5315
  headers: {
5161
5316
  [name: string]: unknown;
5162
5317
  };
5163
5318
  content: {
5164
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5319
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5320
+ };
5321
+ };
5322
+ /** @description Invalid pagination or sort query */
5323
+ 400: {
5324
+ headers: {
5325
+ [name: string]: unknown;
5326
+ };
5327
+ content: {
5328
+ "application/json": components["schemas"]["ErrorMessageDto"];
5165
5329
  };
5166
5330
  };
5167
5331
  401: components["responses"]["Unauthorized"];
@@ -5179,7 +5343,20 @@ export interface operations {
5179
5343
  };
5180
5344
  getAgenticFoundationCodebaseQuality: {
5181
5345
  parameters: {
5182
- query?: never;
5346
+ query?: {
5347
+ /** @description Page size (default 25, max 100). */
5348
+ limit?: components["parameters"]["PaginationLimit"];
5349
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5350
+ offset?: components["parameters"]["PaginationOffset"];
5351
+ /** @description Allowlisted repository sort field. */
5352
+ sort?: components["parameters"]["ReadinessRepoSort"];
5353
+ /** @description Sort direction. */
5354
+ order?: components["parameters"]["PaginationOrder"];
5355
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5356
+ search?: components["parameters"]["ReadinessRepoSearch"];
5357
+ /** @description Exact language filter (e.g. `typescript`). */
5358
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5359
+ };
5183
5360
  header?: never;
5184
5361
  path: {
5185
5362
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5188,13 +5365,22 @@ export interface operations {
5188
5365
  };
5189
5366
  requestBody?: never;
5190
5367
  responses: {
5191
- /** @description Repositories with stack-quality slice */
5368
+ /** @description Paginated repositories with stack-quality slice */
5192
5369
  200: {
5193
5370
  headers: {
5194
5371
  [name: string]: unknown;
5195
5372
  };
5196
5373
  content: {
5197
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5374
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5375
+ };
5376
+ };
5377
+ /** @description Invalid pagination or sort query */
5378
+ 400: {
5379
+ headers: {
5380
+ [name: string]: unknown;
5381
+ };
5382
+ content: {
5383
+ "application/json": components["schemas"]["ErrorMessageDto"];
5198
5384
  };
5199
5385
  };
5200
5386
  401: components["responses"]["Unauthorized"];
@@ -5212,7 +5398,20 @@ export interface operations {
5212
5398
  };
5213
5399
  getAgenticFoundationTestQa: {
5214
5400
  parameters: {
5215
- query?: never;
5401
+ query?: {
5402
+ /** @description Page size (default 25, max 100). */
5403
+ limit?: components["parameters"]["PaginationLimit"];
5404
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5405
+ offset?: components["parameters"]["PaginationOffset"];
5406
+ /** @description Allowlisted repository sort field. */
5407
+ sort?: components["parameters"]["ReadinessRepoSort"];
5408
+ /** @description Sort direction. */
5409
+ order?: components["parameters"]["PaginationOrder"];
5410
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5411
+ search?: components["parameters"]["ReadinessRepoSearch"];
5412
+ /** @description Exact language filter (e.g. `typescript`). */
5413
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5414
+ };
5216
5415
  header?: never;
5217
5416
  path: {
5218
5417
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5221,13 +5420,22 @@ export interface operations {
5221
5420
  };
5222
5421
  requestBody?: never;
5223
5422
  responses: {
5224
- /** @description Repositories with tests-qa slice */
5423
+ /** @description Paginated repositories with tests-qa slice */
5225
5424
  200: {
5226
5425
  headers: {
5227
5426
  [name: string]: unknown;
5228
5427
  };
5229
5428
  content: {
5230
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5429
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5430
+ };
5431
+ };
5432
+ /** @description Invalid pagination or sort query */
5433
+ 400: {
5434
+ headers: {
5435
+ [name: string]: unknown;
5436
+ };
5437
+ content: {
5438
+ "application/json": components["schemas"]["ErrorMessageDto"];
5231
5439
  };
5232
5440
  };
5233
5441
  401: components["responses"]["Unauthorized"];
@@ -5245,7 +5453,20 @@ export interface operations {
5245
5453
  };
5246
5454
  getAgenticFoundationObservability: {
5247
5455
  parameters: {
5248
- query?: never;
5456
+ query?: {
5457
+ /** @description Page size (default 25, max 100). */
5458
+ limit?: components["parameters"]["PaginationLimit"];
5459
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5460
+ offset?: components["parameters"]["PaginationOffset"];
5461
+ /** @description Allowlisted repository sort field. */
5462
+ sort?: components["parameters"]["ReadinessRepoSort"];
5463
+ /** @description Sort direction. */
5464
+ order?: components["parameters"]["PaginationOrder"];
5465
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5466
+ search?: components["parameters"]["ReadinessRepoSearch"];
5467
+ /** @description Exact language filter (e.g. `typescript`). */
5468
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5469
+ };
5249
5470
  header?: never;
5250
5471
  path: {
5251
5472
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5254,13 +5475,22 @@ export interface operations {
5254
5475
  };
5255
5476
  requestBody?: never;
5256
5477
  responses: {
5257
- /** @description Repositories with observability slice */
5478
+ /** @description Paginated repositories with observability slice */
5258
5479
  200: {
5259
5480
  headers: {
5260
5481
  [name: string]: unknown;
5261
5482
  };
5262
5483
  content: {
5263
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5484
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5485
+ };
5486
+ };
5487
+ /** @description Invalid pagination or sort query */
5488
+ 400: {
5489
+ headers: {
5490
+ [name: string]: unknown;
5491
+ };
5492
+ content: {
5493
+ "application/json": components["schemas"]["ErrorMessageDto"];
5264
5494
  };
5265
5495
  };
5266
5496
  401: components["responses"]["Unauthorized"];
@@ -5278,7 +5508,20 @@ export interface operations {
5278
5508
  };
5279
5509
  getAgenticFoundationApiContract: {
5280
5510
  parameters: {
5281
- query?: never;
5511
+ query?: {
5512
+ /** @description Page size (default 25, max 100). */
5513
+ limit?: components["parameters"]["PaginationLimit"];
5514
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5515
+ offset?: components["parameters"]["PaginationOffset"];
5516
+ /** @description Allowlisted repository sort field. */
5517
+ sort?: components["parameters"]["ReadinessRepoSort"];
5518
+ /** @description Sort direction. */
5519
+ order?: components["parameters"]["PaginationOrder"];
5520
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5521
+ search?: components["parameters"]["ReadinessRepoSearch"];
5522
+ /** @description Exact language filter (e.g. `typescript`). */
5523
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5524
+ };
5282
5525
  header?: never;
5283
5526
  path: {
5284
5527
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5287,13 +5530,22 @@ export interface operations {
5287
5530
  };
5288
5531
  requestBody?: never;
5289
5532
  responses: {
5290
- /** @description Repositories with api-contracts slice */
5533
+ /** @description Paginated repositories with api-contracts slice */
5291
5534
  200: {
5292
5535
  headers: {
5293
5536
  [name: string]: unknown;
5294
5537
  };
5295
5538
  content: {
5296
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5539
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5540
+ };
5541
+ };
5542
+ /** @description Invalid pagination or sort query */
5543
+ 400: {
5544
+ headers: {
5545
+ [name: string]: unknown;
5546
+ };
5547
+ content: {
5548
+ "application/json": components["schemas"]["ErrorMessageDto"];
5297
5549
  };
5298
5550
  };
5299
5551
  401: components["responses"]["Unauthorized"];
@@ -5311,7 +5563,20 @@ export interface operations {
5311
5563
  };
5312
5564
  getAgenticFoundationPlatformGovernance: {
5313
5565
  parameters: {
5314
- query?: never;
5566
+ query?: {
5567
+ /** @description Page size (default 25, max 100). */
5568
+ limit?: components["parameters"]["PaginationLimit"];
5569
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5570
+ offset?: components["parameters"]["PaginationOffset"];
5571
+ /** @description Allowlisted repository sort field. */
5572
+ sort?: components["parameters"]["ReadinessRepoSort"];
5573
+ /** @description Sort direction. */
5574
+ order?: components["parameters"]["PaginationOrder"];
5575
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5576
+ search?: components["parameters"]["ReadinessRepoSearch"];
5577
+ /** @description Exact language filter (e.g. `typescript`). */
5578
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5579
+ };
5315
5580
  header?: never;
5316
5581
  path: {
5317
5582
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5320,13 +5585,22 @@ export interface operations {
5320
5585
  };
5321
5586
  requestBody?: never;
5322
5587
  responses: {
5323
- /** @description Repositories with platform-governance slice */
5588
+ /** @description Paginated repositories with platform-governance slice */
5324
5589
  200: {
5325
5590
  headers: {
5326
5591
  [name: string]: unknown;
5327
5592
  };
5328
5593
  content: {
5329
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5594
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5595
+ };
5596
+ };
5597
+ /** @description Invalid pagination or sort query */
5598
+ 400: {
5599
+ headers: {
5600
+ [name: string]: unknown;
5601
+ };
5602
+ content: {
5603
+ "application/json": components["schemas"]["ErrorMessageDto"];
5330
5604
  };
5331
5605
  };
5332
5606
  401: components["responses"]["Unauthorized"];
@@ -5344,7 +5618,20 @@ export interface operations {
5344
5618
  };
5345
5619
  getAgenticFoundationDeliveryGovernance: {
5346
5620
  parameters: {
5347
- query?: never;
5621
+ query?: {
5622
+ /** @description Page size (default 25, max 100). */
5623
+ limit?: components["parameters"]["PaginationLimit"];
5624
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5625
+ offset?: components["parameters"]["PaginationOffset"];
5626
+ /** @description Allowlisted repository sort field. */
5627
+ sort?: components["parameters"]["ReadinessRepoSort"];
5628
+ /** @description Sort direction. */
5629
+ order?: components["parameters"]["PaginationOrder"];
5630
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5631
+ search?: components["parameters"]["ReadinessRepoSearch"];
5632
+ /** @description Exact language filter (e.g. `typescript`). */
5633
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5634
+ };
5348
5635
  header?: never;
5349
5636
  path: {
5350
5637
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5353,13 +5640,22 @@ export interface operations {
5353
5640
  };
5354
5641
  requestBody?: never;
5355
5642
  responses: {
5356
- /** @description Repositories with delivery slice */
5643
+ /** @description Paginated repositories with delivery slice */
5357
5644
  200: {
5358
5645
  headers: {
5359
5646
  [name: string]: unknown;
5360
5647
  };
5361
5648
  content: {
5362
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5649
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5650
+ };
5651
+ };
5652
+ /** @description Invalid pagination or sort query */
5653
+ 400: {
5654
+ headers: {
5655
+ [name: string]: unknown;
5656
+ };
5657
+ content: {
5658
+ "application/json": components["schemas"]["ErrorMessageDto"];
5363
5659
  };
5364
5660
  };
5365
5661
  401: components["responses"]["Unauthorized"];
@@ -5377,7 +5673,20 @@ export interface operations {
5377
5673
  };
5378
5674
  getAgenticFoundationAiResolutionHub: {
5379
5675
  parameters: {
5380
- query?: never;
5676
+ query?: {
5677
+ /** @description Page size (default 25, max 100). */
5678
+ limit?: components["parameters"]["PaginationLimit"];
5679
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5680
+ offset?: components["parameters"]["PaginationOffset"];
5681
+ /** @description Allowlisted repository sort field. */
5682
+ sort?: components["parameters"]["ReadinessRepoSort"];
5683
+ /** @description Sort direction. */
5684
+ order?: components["parameters"]["PaginationOrder"];
5685
+ /** @description Case-insensitive filter on repository name, language, or provider slug. */
5686
+ search?: components["parameters"]["ReadinessRepoSearch"];
5687
+ /** @description Exact language filter (e.g. `typescript`). */
5688
+ language?: components["parameters"]["ReadinessRepoLanguage"];
5689
+ };
5381
5690
  header?: never;
5382
5691
  path: {
5383
5692
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5392,7 +5701,16 @@ export interface operations {
5392
5701
  [name: string]: unknown;
5393
5702
  };
5394
5703
  content: {
5395
- "application/json": components["schemas"]["RepoReadinessScoreDto"][];
5704
+ "application/json": components["schemas"]["ReadinessRepoListDto"];
5705
+ };
5706
+ };
5707
+ /** @description Invalid pagination or sort query */
5708
+ 400: {
5709
+ headers: {
5710
+ [name: string]: unknown;
5711
+ };
5712
+ content: {
5713
+ "application/json": components["schemas"]["ErrorMessageDto"];
5396
5714
  };
5397
5715
  };
5398
5716
  401: components["responses"]["Unauthorized"];
@@ -5443,7 +5761,22 @@ export interface operations {
5443
5761
  };
5444
5762
  listReadinessFixes: {
5445
5763
  parameters: {
5446
- query?: never;
5764
+ query?: {
5765
+ /** @description Page size (default 25, max 100). */
5766
+ limit?: components["parameters"]["PaginationLimit"];
5767
+ /** @description Zero-based row offset into the filtered, sorted result set. */
5768
+ offset?: components["parameters"]["PaginationOffset"];
5769
+ /** @description Allowlisted fix-queue sort field. */
5770
+ sort?: components["parameters"]["ReadinessFixSort"];
5771
+ /** @description Sort direction. */
5772
+ order?: components["parameters"]["PaginationOrder"];
5773
+ /** @description Case-insensitive filter on repo name, issue title, label, or description. */
5774
+ search?: components["parameters"]["ReadinessFixSearch"];
5775
+ /** @description Filter fixes by workflow status. */
5776
+ status?: components["parameters"]["ReadinessFixStatusFilter"];
5777
+ /** @description Filter fixes to a single workspace repository id. */
5778
+ repoId?: components["parameters"]["ReadinessFixRepoIdFilter"];
5779
+ };
5447
5780
  header?: never;
5448
5781
  path: {
5449
5782
  workspaceId: components["parameters"]["WorkspaceId"];
@@ -5452,13 +5785,22 @@ export interface operations {
5452
5785
  };
5453
5786
  requestBody?: never;
5454
5787
  responses: {
5455
- /** @description Fix queue */
5788
+ /** @description Paginated fix queue */
5456
5789
  200: {
5457
5790
  headers: {
5458
5791
  [name: string]: unknown;
5459
5792
  };
5460
5793
  content: {
5461
- "application/json": components["schemas"]["FixRequestDto"][];
5794
+ "application/json": components["schemas"]["ReadinessFixListDto"];
5795
+ };
5796
+ };
5797
+ /** @description Invalid pagination or sort query */
5798
+ 400: {
5799
+ headers: {
5800
+ [name: string]: unknown;
5801
+ };
5802
+ content: {
5803
+ "application/json": components["schemas"]["ErrorMessageDto"];
5462
5804
  };
5463
5805
  };
5464
5806
  401: components["responses"]["Unauthorized"];