@thinkai/tai-api-contract 2.82.0 → 2.83.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.
|
@@ -2122,6 +2122,28 @@ export interface paths {
|
|
|
2122
2122
|
patch: operations["patchReadinessRepo"];
|
|
2123
2123
|
trace?: never;
|
|
2124
2124
|
};
|
|
2125
|
+
"/workspaces/{workspaceId}/readiness/repos/{repoId}/issues/export": {
|
|
2126
|
+
parameters: {
|
|
2127
|
+
query?: never;
|
|
2128
|
+
header?: never;
|
|
2129
|
+
path?: never;
|
|
2130
|
+
cookie?: never;
|
|
2131
|
+
};
|
|
2132
|
+
/**
|
|
2133
|
+
* Export repository readiness issues as Markdown
|
|
2134
|
+
* @description Download outstanding readiness issues for one repository as a Markdown (`.md`) attachment for local IDE workflows. Reuses the same scorecard as `GET .../readiness/repos/{repoId}` (issues plus optional remediation from `criteriaDetails`).
|
|
2135
|
+
* The Markdown is grouped **by readiness dimension** (catalog order). Each dimension section lists matching issues sorted by severity. Default filter is outstanding issues (`open` + `pr-pending`). Optional query params narrow the set. When `includeCriteria` is true (default), each issue includes a Remediation section from the matching criterion when available.
|
|
2136
|
+
* The response sets `Content-Disposition: attachment` with filename `readiness-issues-{providerSlug}-{date}.md`.
|
|
2137
|
+
*/
|
|
2138
|
+
get: operations["exportReadinessRepoIssuesMarkdown"];
|
|
2139
|
+
put?: never;
|
|
2140
|
+
post?: never;
|
|
2141
|
+
delete?: never;
|
|
2142
|
+
options?: never;
|
|
2143
|
+
head?: never;
|
|
2144
|
+
patch?: never;
|
|
2145
|
+
trace?: never;
|
|
2146
|
+
};
|
|
2125
2147
|
"/workspaces/{workspaceId}/readiness/repos/{repoId}/runs": {
|
|
2126
2148
|
parameters: {
|
|
2127
2149
|
query?: never;
|
|
@@ -13882,6 +13904,56 @@ export interface operations {
|
|
|
13882
13904
|
};
|
|
13883
13905
|
};
|
|
13884
13906
|
};
|
|
13907
|
+
exportReadinessRepoIssuesMarkdown: {
|
|
13908
|
+
parameters: {
|
|
13909
|
+
query?: {
|
|
13910
|
+
/** @description When omitted, export outstanding issues (`open` and `pr-pending`). When set, export only issues with this fix status. */
|
|
13911
|
+
fixStatus?: "open" | "pr-pending" | "fixed";
|
|
13912
|
+
dimensionId?: components["schemas"]["ReadinessDimensionId"];
|
|
13913
|
+
severity?: "critical" | "high" | "medium" | "low";
|
|
13914
|
+
/** @description Include remediation from criteriaDetails (default true). */
|
|
13915
|
+
includeCriteria?: boolean;
|
|
13916
|
+
};
|
|
13917
|
+
header?: never;
|
|
13918
|
+
path: {
|
|
13919
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
13920
|
+
repoId: components["parameters"]["RepoId"];
|
|
13921
|
+
};
|
|
13922
|
+
cookie?: never;
|
|
13923
|
+
};
|
|
13924
|
+
requestBody?: never;
|
|
13925
|
+
responses: {
|
|
13926
|
+
/** @description Markdown file of readiness issues */
|
|
13927
|
+
200: {
|
|
13928
|
+
headers: {
|
|
13929
|
+
[name: string]: unknown;
|
|
13930
|
+
};
|
|
13931
|
+
content: {
|
|
13932
|
+
"text/markdown": string;
|
|
13933
|
+
};
|
|
13934
|
+
};
|
|
13935
|
+
/** @description Malformed `repoId` or invalid query parameters */
|
|
13936
|
+
400: {
|
|
13937
|
+
headers: {
|
|
13938
|
+
[name: string]: unknown;
|
|
13939
|
+
};
|
|
13940
|
+
content: {
|
|
13941
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
13942
|
+
};
|
|
13943
|
+
};
|
|
13944
|
+
401: components["responses"]["Unauthorized"];
|
|
13945
|
+
403: components["responses"]["Forbidden"];
|
|
13946
|
+
/** @description Workspace or repository not found */
|
|
13947
|
+
404: {
|
|
13948
|
+
headers: {
|
|
13949
|
+
[name: string]: unknown;
|
|
13950
|
+
};
|
|
13951
|
+
content: {
|
|
13952
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
13953
|
+
};
|
|
13954
|
+
};
|
|
13955
|
+
};
|
|
13956
|
+
};
|
|
13885
13957
|
listReadinessRepoRuns: {
|
|
13886
13958
|
parameters: {
|
|
13887
13959
|
query?: {
|