@thinkai/tai-api-contract 2.133.0 → 2.135.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.
- package/dist/generated/openapi.d.ts +177 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +226 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +177 -0
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.135.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -4219,6 +4219,79 @@ paths:
|
|
|
4219
4219
|
schema:
|
|
4220
4220
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4221
4221
|
|
|
4222
|
+
/workspaces/{workspaceId}/company-profile/logo:
|
|
4223
|
+
put:
|
|
4224
|
+
tags: [CompanyProfile]
|
|
4225
|
+
summary: Upload company logo
|
|
4226
|
+
operationId: putCompanyProfileLogo
|
|
4227
|
+
description: >
|
|
4228
|
+
Scales the uploaded PNG, JPEG, or WebP to a 128×128 WebP (the mark is fitted inside
|
|
4229
|
+
the square with transparent padding) and stores that image. Requires a saved company
|
|
4230
|
+
profile. Editor or admin only. Source images larger than 2 MB decoded are rejected.
|
|
4231
|
+
parameters:
|
|
4232
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
4233
|
+
requestBody:
|
|
4234
|
+
required: true
|
|
4235
|
+
content:
|
|
4236
|
+
application/json:
|
|
4237
|
+
schema:
|
|
4238
|
+
$ref: "#/components/schemas/CompanyProfileLogoPutDto"
|
|
4239
|
+
responses:
|
|
4240
|
+
"200":
|
|
4241
|
+
description: Stored 128×128 WebP
|
|
4242
|
+
content:
|
|
4243
|
+
application/json:
|
|
4244
|
+
schema:
|
|
4245
|
+
$ref: "#/components/schemas/WorkspaceLogoDto"
|
|
4246
|
+
"400":
|
|
4247
|
+
description: Invalid image, unsupported type, or result still too large
|
|
4248
|
+
content:
|
|
4249
|
+
application/json:
|
|
4250
|
+
schema:
|
|
4251
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4252
|
+
"401":
|
|
4253
|
+
$ref: "#/components/responses/Unauthorized"
|
|
4254
|
+
"403":
|
|
4255
|
+
$ref: "#/components/responses/Forbidden"
|
|
4256
|
+
"404":
|
|
4257
|
+
description: Workspace does not exist
|
|
4258
|
+
content:
|
|
4259
|
+
application/json:
|
|
4260
|
+
schema:
|
|
4261
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4262
|
+
"409":
|
|
4263
|
+
description: No company profile saved yet (`company_profile_required`)
|
|
4264
|
+
content:
|
|
4265
|
+
application/json:
|
|
4266
|
+
schema:
|
|
4267
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4268
|
+
delete:
|
|
4269
|
+
tags: [CompanyProfile]
|
|
4270
|
+
summary: Remove company logo
|
|
4271
|
+
operationId: deleteCompanyProfileLogo
|
|
4272
|
+
description: Clears the stored logo. Editor or admin only. Succeeds when no logo is stored.
|
|
4273
|
+
parameters:
|
|
4274
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
4275
|
+
responses:
|
|
4276
|
+
"204":
|
|
4277
|
+
description: Logo cleared
|
|
4278
|
+
"401":
|
|
4279
|
+
$ref: "#/components/responses/Unauthorized"
|
|
4280
|
+
"403":
|
|
4281
|
+
$ref: "#/components/responses/Forbidden"
|
|
4282
|
+
"404":
|
|
4283
|
+
description: Workspace does not exist
|
|
4284
|
+
content:
|
|
4285
|
+
application/json:
|
|
4286
|
+
schema:
|
|
4287
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4288
|
+
"409":
|
|
4289
|
+
description: No company profile saved yet (`company_profile_required`)
|
|
4290
|
+
content:
|
|
4291
|
+
application/json:
|
|
4292
|
+
schema:
|
|
4293
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
4294
|
+
|
|
4222
4295
|
/workspaces/{workspaceId}/integrations/connectors-snapshot:
|
|
4223
4296
|
get:
|
|
4224
4297
|
tags: [Integrations]
|
|
@@ -14644,6 +14717,39 @@ components:
|
|
|
14644
14717
|
type: string
|
|
14645
14718
|
enum: [admin, editor, viewer]
|
|
14646
14719
|
description: Caller's role in this workspace (from tai_workspace_members).
|
|
14720
|
+
logo:
|
|
14721
|
+
type: object
|
|
14722
|
+
nullable: true
|
|
14723
|
+
description: >
|
|
14724
|
+
Square 128px WebP for the workspace switcher. Omitted or null when no logo is stored.
|
|
14725
|
+
allOf:
|
|
14726
|
+
- $ref: "#/components/schemas/WorkspaceLogoDto"
|
|
14727
|
+
|
|
14728
|
+
WorkspaceLogoDto:
|
|
14729
|
+
type: object
|
|
14730
|
+
required: [contentType, data]
|
|
14731
|
+
properties:
|
|
14732
|
+
contentType:
|
|
14733
|
+
type: string
|
|
14734
|
+
enum: [image/webp]
|
|
14735
|
+
data:
|
|
14736
|
+
type: string
|
|
14737
|
+
minLength: 1
|
|
14738
|
+
maxLength: 48000
|
|
14739
|
+
description: Base64-encoded 128×128 WebP. No data-URL prefix.
|
|
14740
|
+
|
|
14741
|
+
CompanyProfileLogoPutDto:
|
|
14742
|
+
type: object
|
|
14743
|
+
required: [contentType, data]
|
|
14744
|
+
properties:
|
|
14745
|
+
contentType:
|
|
14746
|
+
type: string
|
|
14747
|
+
enum: [image/png, image/jpeg, image/webp]
|
|
14748
|
+
data:
|
|
14749
|
+
type: string
|
|
14750
|
+
minLength: 1
|
|
14751
|
+
maxLength: 2800000
|
|
14752
|
+
description: Base64-encoded source image, at most 2 MB after decoding.
|
|
14647
14753
|
|
|
14648
14754
|
WorkspacesForUserDto:
|
|
14649
14755
|
type: object
|
|
@@ -14680,6 +14786,14 @@ components:
|
|
|
14680
14786
|
type: string
|
|
14681
14787
|
headquarters:
|
|
14682
14788
|
type: string
|
|
14789
|
+
logo:
|
|
14790
|
+
type: object
|
|
14791
|
+
nullable: true
|
|
14792
|
+
description: >
|
|
14793
|
+
Present on GET when a logo is stored. Ignored by PUT /company-profile.
|
|
14794
|
+
Upload and delete use the /company-profile/logo routes.
|
|
14795
|
+
allOf:
|
|
14796
|
+
- $ref: "#/components/schemas/WorkspaceLogoDto"
|
|
14683
14797
|
|
|
14684
14798
|
GithubAccountDto:
|
|
14685
14799
|
type: object
|
|
@@ -16055,6 +16169,90 @@ components:
|
|
|
16055
16169
|
`platform_env_key`: ThinkAI platform key was used (opt-in required; additional cost applies).
|
|
16056
16170
|
`null`: run did not reach the Cursor agent stage.
|
|
16057
16171
|
|
|
16172
|
+
CriterionEvidenceKind:
|
|
16173
|
+
type: string
|
|
16174
|
+
enum: [in_repo, linked_platform]
|
|
16175
|
+
description: >
|
|
16176
|
+
Where a CI setup criterion's evidence came from.
|
|
16177
|
+
`in_repo` — this repository's CI config contributed.
|
|
16178
|
+
`linked_platform` — a linked CI templates platform repo (role `ci_templates`
|
|
16179
|
+
or the `jenkins_shared` alias) contributed.
|
|
16180
|
+
|
|
16181
|
+
CriterionEvidenceSourceDto:
|
|
16182
|
+
type: object
|
|
16183
|
+
additionalProperties: false
|
|
16184
|
+
required: [kind, label]
|
|
16185
|
+
description: >
|
|
16186
|
+
One evidence chip for a CI setup criterion (CI on change, CI runs build,
|
|
16187
|
+
CI runs tests, CI static analysis). `role` and `providerSlug` are present
|
|
16188
|
+
when `kind` is `linked_platform` and omitted for `in_repo`.
|
|
16189
|
+
properties:
|
|
16190
|
+
kind:
|
|
16191
|
+
$ref: "#/components/schemas/CriterionEvidenceKind"
|
|
16192
|
+
label:
|
|
16193
|
+
type: string
|
|
16194
|
+
minLength: 1
|
|
16195
|
+
maxLength: 256
|
|
16196
|
+
description: Chip text shown in the UI (for example "In this repo" or "CI templates · org/platform-ci").
|
|
16197
|
+
role:
|
|
16198
|
+
type: string
|
|
16199
|
+
minLength: 1
|
|
16200
|
+
maxLength: 64
|
|
16201
|
+
description: >
|
|
16202
|
+
Topology role when `kind` is `linked_platform` (for example `ci_templates`
|
|
16203
|
+
or `jenkins_shared`). Omit for `in_repo`.
|
|
16204
|
+
providerSlug:
|
|
16205
|
+
type: string
|
|
16206
|
+
minLength: 1
|
|
16207
|
+
maxLength: 256
|
|
16208
|
+
description: >
|
|
16209
|
+
Platform repository `owner/name` when `kind` is `linked_platform`. Omit for `in_repo`.
|
|
16210
|
+
|
|
16211
|
+
ScanImprovementCode:
|
|
16212
|
+
type: string
|
|
16213
|
+
enum:
|
|
16214
|
+
- configure_linked_ci_templates
|
|
16215
|
+
- scan_linked_ci_templates
|
|
16216
|
+
- view_ci_health_in_insights
|
|
16217
|
+
description: >
|
|
16218
|
+
Stable "Improve this scan" code for Agentic Foundation CI setup honesty.
|
|
16219
|
+
`configure_linked_ci_templates` — map a linked CI templates repo.
|
|
16220
|
+
`scan_linked_ci_templates` — the mapped platform repo still needs a fresh scan.
|
|
16221
|
+
`view_ci_health_in_insights` — CI config is present; live pass/fail health is in SDLC Insights.
|
|
16222
|
+
|
|
16223
|
+
ScanImprovementDto:
|
|
16224
|
+
type: object
|
|
16225
|
+
additionalProperties: false
|
|
16226
|
+
required: [code, title, description]
|
|
16227
|
+
description: >
|
|
16228
|
+
One repo-level recommendation on a readiness scorecard. Display copy is
|
|
16229
|
+
`title` and `description`; clients may also route from `code`.
|
|
16230
|
+
properties:
|
|
16231
|
+
code:
|
|
16232
|
+
$ref: "#/components/schemas/ScanImprovementCode"
|
|
16233
|
+
title:
|
|
16234
|
+
type: string
|
|
16235
|
+
minLength: 1
|
|
16236
|
+
maxLength: 256
|
|
16237
|
+
description:
|
|
16238
|
+
type: string
|
|
16239
|
+
minLength: 1
|
|
16240
|
+
maxLength: 1024
|
|
16241
|
+
href:
|
|
16242
|
+
type: string
|
|
16243
|
+
minLength: 1
|
|
16244
|
+
maxLength: 512
|
|
16245
|
+
description: >
|
|
16246
|
+
Optional SPA path for the recommendation (linked-platform settings or
|
|
16247
|
+
SDLC Insights). Not a scored URL.
|
|
16248
|
+
providerSlug:
|
|
16249
|
+
type: string
|
|
16250
|
+
minLength: 1
|
|
16251
|
+
maxLength: 256
|
|
16252
|
+
description: >
|
|
16253
|
+
Platform repository `owner/name` when the recommendation names a specific
|
|
16254
|
+
linked repo (typically `scan_linked_ci_templates`).
|
|
16255
|
+
|
|
16058
16256
|
CriterionDetailDto:
|
|
16059
16257
|
type: object
|
|
16060
16258
|
required: [rubricId, title, status, severity]
|
|
@@ -16098,6 +16296,16 @@ components:
|
|
|
16098
16296
|
UUID of the linked open issue in tai_workspace_repo_issues.
|
|
16099
16297
|
Present only for gap/partial criteria that have a corresponding issue row.
|
|
16100
16298
|
Use this to navigate to the Fix flow.
|
|
16299
|
+
evidenceUsed:
|
|
16300
|
+
type: array
|
|
16301
|
+
minItems: 1
|
|
16302
|
+
description: >
|
|
16303
|
+
Sources that contributed to CI setup criteria (CI on change, CI runs build,
|
|
16304
|
+
CI runs tests, CI static analysis). Met or Partial on those rows includes
|
|
16305
|
+
at least one entry (`in_repo` and/or `linked_platform`). Omitted on other
|
|
16306
|
+
criteria and when the scan did not record evidence.
|
|
16307
|
+
items:
|
|
16308
|
+
$ref: "#/components/schemas/CriterionEvidenceSourceDto"
|
|
16101
16309
|
|
|
16102
16310
|
ReadinessCriteriaSummaryDto:
|
|
16103
16311
|
type: object
|
|
@@ -16963,6 +17171,16 @@ components:
|
|
|
16963
17171
|
(terraform/gitops/ci_templates/api_contracts, from the workspace delivery topology)
|
|
16964
17172
|
are still missing scan evidence. Absent/null when no topology is configured or every
|
|
16965
17173
|
declared role has fresh metadata (`complete: true`).
|
|
17174
|
+
scanImprovements:
|
|
17175
|
+
type: array
|
|
17176
|
+
minItems: 1
|
|
17177
|
+
maxItems: 3
|
|
17178
|
+
description: >
|
|
17179
|
+
Repo-level "Improve this scan" recommendations for Agentic Foundation CI setup
|
|
17180
|
+
(at most three). Omitted when the scan emitted none. Does not change criterion
|
|
17181
|
+
scores; live CI health stays in SDLC Insights.
|
|
17182
|
+
items:
|
|
17183
|
+
$ref: "#/components/schemas/ScanImprovementDto"
|
|
16966
17184
|
|
|
16967
17185
|
LinkedRolePendingDto:
|
|
16968
17186
|
type: object
|
|
@@ -17134,6 +17352,13 @@ components:
|
|
|
17134
17352
|
allOf:
|
|
17135
17353
|
- $ref: "#/components/schemas/LinkedRoleAssessmentDto"
|
|
17136
17354
|
description: See RepoReadinessScoreDto.linkedRoleAssessment.
|
|
17355
|
+
scanImprovements:
|
|
17356
|
+
type: array
|
|
17357
|
+
minItems: 1
|
|
17358
|
+
maxItems: 3
|
|
17359
|
+
description: See RepoReadinessScoreDto.scanImprovements.
|
|
17360
|
+
items:
|
|
17361
|
+
$ref: "#/components/schemas/ScanImprovementDto"
|
|
17137
17362
|
|
|
17138
17363
|
AgenticFoundationDashboardSummaryDto:
|
|
17139
17364
|
type: object
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -1515,6 +1515,30 @@ export interface paths {
|
|
|
1515
1515
|
patch?: never;
|
|
1516
1516
|
trace?: never;
|
|
1517
1517
|
};
|
|
1518
|
+
"/workspaces/{workspaceId}/company-profile/logo": {
|
|
1519
|
+
parameters: {
|
|
1520
|
+
query?: never;
|
|
1521
|
+
header?: never;
|
|
1522
|
+
path?: never;
|
|
1523
|
+
cookie?: never;
|
|
1524
|
+
};
|
|
1525
|
+
get?: never;
|
|
1526
|
+
/**
|
|
1527
|
+
* Upload company logo
|
|
1528
|
+
* @description Scales the uploaded PNG, JPEG, or WebP to a 128×128 WebP (the mark is fitted inside the square with transparent padding) and stores that image. Requires a saved company profile. Editor or admin only. Source images larger than 2 MB decoded are rejected.
|
|
1529
|
+
*/
|
|
1530
|
+
put: operations["putCompanyProfileLogo"];
|
|
1531
|
+
post?: never;
|
|
1532
|
+
/**
|
|
1533
|
+
* Remove company logo
|
|
1534
|
+
* @description Clears the stored logo. Editor or admin only. Succeeds when no logo is stored.
|
|
1535
|
+
*/
|
|
1536
|
+
delete: operations["deleteCompanyProfileLogo"];
|
|
1537
|
+
options?: never;
|
|
1538
|
+
head?: never;
|
|
1539
|
+
patch?: never;
|
|
1540
|
+
trace?: never;
|
|
1541
|
+
};
|
|
1518
1542
|
"/workspaces/{workspaceId}/integrations/connectors-snapshot": {
|
|
1519
1543
|
parameters: {
|
|
1520
1544
|
query?: never;
|
|
@@ -6211,6 +6235,20 @@ export interface components {
|
|
|
6211
6235
|
* @enum {string}
|
|
6212
6236
|
*/
|
|
6213
6237
|
role: "admin" | "editor" | "viewer";
|
|
6238
|
+
/** @description Square 128px WebP for the workspace switcher. Omitted or null when no logo is stored. */
|
|
6239
|
+
logo?: components["schemas"]["WorkspaceLogoDto"] | null;
|
|
6240
|
+
};
|
|
6241
|
+
WorkspaceLogoDto: {
|
|
6242
|
+
/** @enum {string} */
|
|
6243
|
+
contentType: "image/webp";
|
|
6244
|
+
/** @description Base64-encoded 128×128 WebP. No data-URL prefix. */
|
|
6245
|
+
data: string;
|
|
6246
|
+
};
|
|
6247
|
+
CompanyProfileLogoPutDto: {
|
|
6248
|
+
/** @enum {string} */
|
|
6249
|
+
contentType: "image/png" | "image/jpeg" | "image/webp";
|
|
6250
|
+
/** @description Base64-encoded source image, at most 2 MB after decoding. */
|
|
6251
|
+
data: string;
|
|
6214
6252
|
};
|
|
6215
6253
|
WorkspacesForUserDto: {
|
|
6216
6254
|
workspaces: components["schemas"]["WorkspaceSummaryDto"][];
|
|
@@ -6227,6 +6265,8 @@ export interface components {
|
|
|
6227
6265
|
companySize: string;
|
|
6228
6266
|
engineeringHC: string;
|
|
6229
6267
|
headquarters: string;
|
|
6268
|
+
/** @description Present on GET when a logo is stored. Ignored by PUT /company-profile. Upload and delete use the /company-profile/logo routes. */
|
|
6269
|
+
logo?: components["schemas"]["WorkspaceLogoDto"] | null;
|
|
6230
6270
|
};
|
|
6231
6271
|
GithubAccountDto: {
|
|
6232
6272
|
login: string;
|
|
@@ -6875,6 +6915,36 @@ export interface components {
|
|
|
6875
6915
|
*/
|
|
6876
6916
|
cursorKeySource?: "workspace_execution_token" | "platform_env_key" | null;
|
|
6877
6917
|
};
|
|
6918
|
+
/**
|
|
6919
|
+
* @description Where a CI setup criterion's evidence came from. `in_repo` — this repository's CI config contributed. `linked_platform` — a linked CI templates platform repo (role `ci_templates` or the `jenkins_shared` alias) contributed.
|
|
6920
|
+
* @enum {string}
|
|
6921
|
+
*/
|
|
6922
|
+
CriterionEvidenceKind: "in_repo" | "linked_platform";
|
|
6923
|
+
/** @description One evidence chip for a CI setup criterion (CI on change, CI runs build, CI runs tests, CI static analysis). `role` and `providerSlug` are present when `kind` is `linked_platform` and omitted for `in_repo`. */
|
|
6924
|
+
CriterionEvidenceSourceDto: {
|
|
6925
|
+
kind: components["schemas"]["CriterionEvidenceKind"];
|
|
6926
|
+
/** @description Chip text shown in the UI (for example "In this repo" or "CI templates · org/platform-ci"). */
|
|
6927
|
+
label: string;
|
|
6928
|
+
/** @description Topology role when `kind` is `linked_platform` (for example `ci_templates` or `jenkins_shared`). Omit for `in_repo`. */
|
|
6929
|
+
role?: string;
|
|
6930
|
+
/** @description Platform repository `owner/name` when `kind` is `linked_platform`. Omit for `in_repo`. */
|
|
6931
|
+
providerSlug?: string;
|
|
6932
|
+
};
|
|
6933
|
+
/**
|
|
6934
|
+
* @description Stable "Improve this scan" code for Agentic Foundation CI setup honesty. `configure_linked_ci_templates` — map a linked CI templates repo. `scan_linked_ci_templates` — the mapped platform repo still needs a fresh scan. `view_ci_health_in_insights` — CI config is present; live pass/fail health is in SDLC Insights.
|
|
6935
|
+
* @enum {string}
|
|
6936
|
+
*/
|
|
6937
|
+
ScanImprovementCode: "configure_linked_ci_templates" | "scan_linked_ci_templates" | "view_ci_health_in_insights";
|
|
6938
|
+
/** @description One repo-level recommendation on a readiness scorecard. Display copy is `title` and `description`; clients may also route from `code`. */
|
|
6939
|
+
ScanImprovementDto: {
|
|
6940
|
+
code: components["schemas"]["ScanImprovementCode"];
|
|
6941
|
+
title: string;
|
|
6942
|
+
description: string;
|
|
6943
|
+
/** @description Optional SPA path for the recommendation (linked-platform settings or SDLC Insights). Not a scored URL. */
|
|
6944
|
+
href?: string;
|
|
6945
|
+
/** @description Platform repository `owner/name` when the recommendation names a specific linked repo (typically `scan_linked_ci_templates`). */
|
|
6946
|
+
providerSlug?: string;
|
|
6947
|
+
};
|
|
6878
6948
|
CriterionDetailDto: {
|
|
6879
6949
|
/** @description Rubric criterion id (e.g. A1, B3) */
|
|
6880
6950
|
rubricId: string;
|
|
@@ -6901,6 +6971,8 @@ export interface components {
|
|
|
6901
6971
|
* @description UUID of the linked open issue in tai_workspace_repo_issues. Present only for gap/partial criteria that have a corresponding issue row. Use this to navigate to the Fix flow.
|
|
6902
6972
|
*/
|
|
6903
6973
|
issueId?: string | null;
|
|
6974
|
+
/** @description Sources that contributed to CI setup criteria (CI on change, CI runs build, CI runs tests, CI static analysis). Met or Partial on those rows includes at least one entry (`in_repo` and/or `linked_platform`). Omitted on other criteria and when the scan did not record evidence. */
|
|
6975
|
+
evidenceUsed?: components["schemas"]["CriterionEvidenceSourceDto"][];
|
|
6904
6976
|
};
|
|
6905
6977
|
ReadinessCriteriaSummaryDto: {
|
|
6906
6978
|
total: number;
|
|
@@ -7268,6 +7340,8 @@ export interface components {
|
|
|
7268
7340
|
platformArchetype?: "terraform_platform" | "gitops_platform" | "ci_templates" | "api_contracts_platform" | null;
|
|
7269
7341
|
/** @description Federated readiness completeness for service repos: which linked platform roles (terraform/gitops/ci_templates/api_contracts, from the workspace delivery topology) are still missing scan evidence. Absent/null when no topology is configured or every declared role has fresh metadata (`complete: true`). */
|
|
7270
7342
|
linkedRoleAssessment?: components["schemas"]["LinkedRoleAssessmentDto"] | null;
|
|
7343
|
+
/** @description Repo-level "Improve this scan" recommendations for Agentic Foundation CI setup (at most three). Omitted when the scan emitted none. Does not change criterion scores; live CI health stays in SDLC Insights. */
|
|
7344
|
+
scanImprovements?: components["schemas"]["ScanImprovementDto"][];
|
|
7271
7345
|
};
|
|
7272
7346
|
LinkedRolePendingDto: {
|
|
7273
7347
|
/** @description Topology role key, e.g. terraform | gitops | ci_templates | api_contracts. */
|
|
@@ -7346,6 +7420,8 @@ export interface components {
|
|
|
7346
7420
|
platformArchetype?: "terraform_platform" | "gitops_platform" | "ci_templates" | "api_contracts_platform" | null;
|
|
7347
7421
|
/** @description See RepoReadinessScoreDto.linkedRoleAssessment. */
|
|
7348
7422
|
linkedRoleAssessment?: components["schemas"]["LinkedRoleAssessmentDto"] | null;
|
|
7423
|
+
/** @description See RepoReadinessScoreDto.scanImprovements. */
|
|
7424
|
+
scanImprovements?: components["schemas"]["ScanImprovementDto"][];
|
|
7349
7425
|
};
|
|
7350
7426
|
AgenticFoundationDashboardSummaryDto: {
|
|
7351
7427
|
repoCount: number;
|
|
@@ -10206,6 +10282,8 @@ export type FulfillPersonErasureBodyDto = components['schemas']['FulfillPersonEr
|
|
|
10206
10282
|
export type PrivacyRequestPersonErasureResultDto = components['schemas']['PrivacyRequestPersonErasureResultDto'];
|
|
10207
10283
|
export type PrivacyRequestExportDto = components['schemas']['PrivacyRequestExportDto'];
|
|
10208
10284
|
export type WorkspaceSummaryDto = components['schemas']['WorkspaceSummaryDto'];
|
|
10285
|
+
export type WorkspaceLogoDto = components['schemas']['WorkspaceLogoDto'];
|
|
10286
|
+
export type CompanyProfileLogoPutDto = components['schemas']['CompanyProfileLogoPutDto'];
|
|
10209
10287
|
export type WorkspacesForUserDto = components['schemas']['WorkspacesForUserDto'];
|
|
10210
10288
|
export type CreateWorkspaceBodyDto = components['schemas']['CreateWorkspaceBodyDto'];
|
|
10211
10289
|
export type CompanyProfileDto = components['schemas']['CompanyProfileDto'];
|
|
@@ -10264,6 +10342,10 @@ export type ReadinessAnalyzeResponseDto = components['schemas']['ReadinessAnalyz
|
|
|
10264
10342
|
export type ReadinessRunStatusDto = components['schemas']['ReadinessRunStatusDto'];
|
|
10265
10343
|
export type ReadinessRepoAnalysisStatusDto = components['schemas']['ReadinessRepoAnalysisStatusDto'];
|
|
10266
10344
|
export type ReadinessRunSummaryDto = components['schemas']['ReadinessRunSummaryDto'];
|
|
10345
|
+
export type CriterionEvidenceKind = components['schemas']['CriterionEvidenceKind'];
|
|
10346
|
+
export type CriterionEvidenceSourceDto = components['schemas']['CriterionEvidenceSourceDto'];
|
|
10347
|
+
export type ScanImprovementCode = components['schemas']['ScanImprovementCode'];
|
|
10348
|
+
export type ScanImprovementDto = components['schemas']['ScanImprovementDto'];
|
|
10267
10349
|
export type CriterionDetailDto = components['schemas']['CriterionDetailDto'];
|
|
10268
10350
|
export type ReadinessCriteriaSummaryDto = components['schemas']['ReadinessCriteriaSummaryDto'];
|
|
10269
10351
|
export type ReadinessIssueDto = components['schemas']['ReadinessIssueDto'];
|
|
@@ -14861,6 +14943,101 @@ export interface operations {
|
|
|
14861
14943
|
};
|
|
14862
14944
|
};
|
|
14863
14945
|
};
|
|
14946
|
+
putCompanyProfileLogo: {
|
|
14947
|
+
parameters: {
|
|
14948
|
+
query?: never;
|
|
14949
|
+
header?: never;
|
|
14950
|
+
path: {
|
|
14951
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
14952
|
+
};
|
|
14953
|
+
cookie?: never;
|
|
14954
|
+
};
|
|
14955
|
+
requestBody: {
|
|
14956
|
+
content: {
|
|
14957
|
+
"application/json": components["schemas"]["CompanyProfileLogoPutDto"];
|
|
14958
|
+
};
|
|
14959
|
+
};
|
|
14960
|
+
responses: {
|
|
14961
|
+
/** @description Stored 128×128 WebP */
|
|
14962
|
+
200: {
|
|
14963
|
+
headers: {
|
|
14964
|
+
[name: string]: unknown;
|
|
14965
|
+
};
|
|
14966
|
+
content: {
|
|
14967
|
+
"application/json": components["schemas"]["WorkspaceLogoDto"];
|
|
14968
|
+
};
|
|
14969
|
+
};
|
|
14970
|
+
/** @description Invalid image, unsupported type, or result still too large */
|
|
14971
|
+
400: {
|
|
14972
|
+
headers: {
|
|
14973
|
+
[name: string]: unknown;
|
|
14974
|
+
};
|
|
14975
|
+
content: {
|
|
14976
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
14977
|
+
};
|
|
14978
|
+
};
|
|
14979
|
+
401: components["responses"]["Unauthorized"];
|
|
14980
|
+
403: components["responses"]["Forbidden"];
|
|
14981
|
+
/** @description Workspace does not exist */
|
|
14982
|
+
404: {
|
|
14983
|
+
headers: {
|
|
14984
|
+
[name: string]: unknown;
|
|
14985
|
+
};
|
|
14986
|
+
content: {
|
|
14987
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
14988
|
+
};
|
|
14989
|
+
};
|
|
14990
|
+
/** @description No company profile saved yet (`company_profile_required`) */
|
|
14991
|
+
409: {
|
|
14992
|
+
headers: {
|
|
14993
|
+
[name: string]: unknown;
|
|
14994
|
+
};
|
|
14995
|
+
content: {
|
|
14996
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
14997
|
+
};
|
|
14998
|
+
};
|
|
14999
|
+
};
|
|
15000
|
+
};
|
|
15001
|
+
deleteCompanyProfileLogo: {
|
|
15002
|
+
parameters: {
|
|
15003
|
+
query?: never;
|
|
15004
|
+
header?: never;
|
|
15005
|
+
path: {
|
|
15006
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15007
|
+
};
|
|
15008
|
+
cookie?: never;
|
|
15009
|
+
};
|
|
15010
|
+
requestBody?: never;
|
|
15011
|
+
responses: {
|
|
15012
|
+
/** @description Logo cleared */
|
|
15013
|
+
204: {
|
|
15014
|
+
headers: {
|
|
15015
|
+
[name: string]: unknown;
|
|
15016
|
+
};
|
|
15017
|
+
content?: never;
|
|
15018
|
+
};
|
|
15019
|
+
401: components["responses"]["Unauthorized"];
|
|
15020
|
+
403: components["responses"]["Forbidden"];
|
|
15021
|
+
/** @description Workspace does not exist */
|
|
15022
|
+
404: {
|
|
15023
|
+
headers: {
|
|
15024
|
+
[name: string]: unknown;
|
|
15025
|
+
};
|
|
15026
|
+
content: {
|
|
15027
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15028
|
+
};
|
|
15029
|
+
};
|
|
15030
|
+
/** @description No company profile saved yet (`company_profile_required`) */
|
|
15031
|
+
409: {
|
|
15032
|
+
headers: {
|
|
15033
|
+
[name: string]: unknown;
|
|
15034
|
+
};
|
|
15035
|
+
content: {
|
|
15036
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15037
|
+
};
|
|
15038
|
+
};
|
|
15039
|
+
};
|
|
15040
|
+
};
|
|
14864
15041
|
getWorkspaceConnectorsSnapshot: {
|
|
14865
15042
|
parameters: {
|
|
14866
15043
|
query?: never;
|