@thinkai/tai-api-contract 2.110.0 → 2.112.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 +728 -2
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +741 -4
- package/package.json +1 -1
- package/src/generated/openapi.ts +728 -2
- package/src/index.ts +4 -0
|
@@ -2755,6 +2755,26 @@ export interface paths {
|
|
|
2755
2755
|
patch?: never;
|
|
2756
2756
|
trace?: never;
|
|
2757
2757
|
};
|
|
2758
|
+
"/workspaces/{workspaceId}/code-intelligence/token-usage/summary": {
|
|
2759
|
+
parameters: {
|
|
2760
|
+
query?: never;
|
|
2761
|
+
header?: never;
|
|
2762
|
+
path?: never;
|
|
2763
|
+
cookie?: never;
|
|
2764
|
+
};
|
|
2765
|
+
/**
|
|
2766
|
+
* ECG token usage rollup for this workspace
|
|
2767
|
+
* @description Member-readable totals and per-operation breakdown from `tai_workspace_code_intelligence_token_usage` (Ask, wiki enrich, PRD, workspace KB, wiki.json outline). Default window is 30 days (max 90).
|
|
2768
|
+
*/
|
|
2769
|
+
get: operations["getCodeIntelligenceTokenUsageSummary"];
|
|
2770
|
+
put?: never;
|
|
2771
|
+
post?: never;
|
|
2772
|
+
delete?: never;
|
|
2773
|
+
options?: never;
|
|
2774
|
+
head?: never;
|
|
2775
|
+
patch?: never;
|
|
2776
|
+
trace?: never;
|
|
2777
|
+
};
|
|
2758
2778
|
"/workspaces/{workspaceId}/repo-eligibility": {
|
|
2759
2779
|
parameters: {
|
|
2760
2780
|
query?: never;
|
|
@@ -2994,6 +3014,118 @@ export interface paths {
|
|
|
2994
3014
|
patch?: never;
|
|
2995
3015
|
trace?: never;
|
|
2996
3016
|
};
|
|
3017
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki-config": {
|
|
3018
|
+
parameters: {
|
|
3019
|
+
query?: never;
|
|
3020
|
+
header?: never;
|
|
3021
|
+
path?: never;
|
|
3022
|
+
cookie?: never;
|
|
3023
|
+
};
|
|
3024
|
+
/** Effective wiki.json for an index (server + repo + workspace) */
|
|
3025
|
+
get: operations["getCodeChatEffectiveWikiConfig"];
|
|
3026
|
+
put?: never;
|
|
3027
|
+
post?: never;
|
|
3028
|
+
delete?: never;
|
|
3029
|
+
options?: never;
|
|
3030
|
+
head?: never;
|
|
3031
|
+
patch?: never;
|
|
3032
|
+
trace?: never;
|
|
3033
|
+
};
|
|
3034
|
+
"/workspaces/{workspaceId}/knowledge-pages": {
|
|
3035
|
+
parameters: {
|
|
3036
|
+
query?: never;
|
|
3037
|
+
header?: never;
|
|
3038
|
+
path?: never;
|
|
3039
|
+
cookie?: never;
|
|
3040
|
+
};
|
|
3041
|
+
/** List workspace knowledge base pages (no repo pick) */
|
|
3042
|
+
get: operations["listWorkspaceKnowledgePages"];
|
|
3043
|
+
put?: never;
|
|
3044
|
+
post?: never;
|
|
3045
|
+
delete?: never;
|
|
3046
|
+
options?: never;
|
|
3047
|
+
head?: never;
|
|
3048
|
+
patch?: never;
|
|
3049
|
+
trace?: never;
|
|
3050
|
+
};
|
|
3051
|
+
"/workspaces/{workspaceId}/knowledge-pages/generate": {
|
|
3052
|
+
parameters: {
|
|
3053
|
+
query?: never;
|
|
3054
|
+
header?: never;
|
|
3055
|
+
path?: never;
|
|
3056
|
+
cookie?: never;
|
|
3057
|
+
};
|
|
3058
|
+
get?: never;
|
|
3059
|
+
put?: never;
|
|
3060
|
+
/**
|
|
3061
|
+
* Generate the cross-repo workspace knowledge base
|
|
3062
|
+
* @description Synthesizes workspace-level pages from the repository wikis that already exist. Does not clone or re-index. Replaces the whole workspace knowledge base.
|
|
3063
|
+
*/
|
|
3064
|
+
post: operations["generateWorkspaceKnowledgePages"];
|
|
3065
|
+
delete?: never;
|
|
3066
|
+
options?: never;
|
|
3067
|
+
head?: never;
|
|
3068
|
+
patch?: never;
|
|
3069
|
+
trace?: never;
|
|
3070
|
+
};
|
|
3071
|
+
"/workspaces/{workspaceId}/knowledge-pages/prd/generate": {
|
|
3072
|
+
parameters: {
|
|
3073
|
+
query?: never;
|
|
3074
|
+
header?: never;
|
|
3075
|
+
path?: never;
|
|
3076
|
+
cookie?: never;
|
|
3077
|
+
};
|
|
3078
|
+
get?: never;
|
|
3079
|
+
put?: never;
|
|
3080
|
+
/**
|
|
3081
|
+
* Generate a workspace-scoped PRD draft
|
|
3082
|
+
* @description Builds a PRD draft from ready repository wikis, code graphs, and platform evidence (readiness, quality, delivery, AI adoption, monitoring). Upserts one workspace knowledge page (`prd-<slug>` / `prd-draft`) without replacing the whole knowledge base.
|
|
3083
|
+
*/
|
|
3084
|
+
post: operations["generatePrdDraft"];
|
|
3085
|
+
delete?: never;
|
|
3086
|
+
options?: never;
|
|
3087
|
+
head?: never;
|
|
3088
|
+
patch?: never;
|
|
3089
|
+
trace?: never;
|
|
3090
|
+
};
|
|
3091
|
+
"/workspaces/{workspaceId}/code-intelligence/repo-wiki-json": {
|
|
3092
|
+
parameters: {
|
|
3093
|
+
query?: never;
|
|
3094
|
+
header?: never;
|
|
3095
|
+
path?: never;
|
|
3096
|
+
cookie?: never;
|
|
3097
|
+
};
|
|
3098
|
+
/** List repositories with an admin wiki.json override (admin only) */
|
|
3099
|
+
get: operations["listRepoWikiJsonSummaries"];
|
|
3100
|
+
put?: never;
|
|
3101
|
+
post?: never;
|
|
3102
|
+
delete?: never;
|
|
3103
|
+
options?: never;
|
|
3104
|
+
head?: never;
|
|
3105
|
+
patch?: never;
|
|
3106
|
+
trace?: never;
|
|
3107
|
+
};
|
|
3108
|
+
"/workspaces/{workspaceId}/code-intelligence/repos/{repoId}/wiki-json": {
|
|
3109
|
+
parameters: {
|
|
3110
|
+
query?: never;
|
|
3111
|
+
header?: never;
|
|
3112
|
+
path?: never;
|
|
3113
|
+
cookie?: never;
|
|
3114
|
+
};
|
|
3115
|
+
/** Get the admin wiki.json override for a repository (admin only) */
|
|
3116
|
+
get: operations["getRepoWikiJson"];
|
|
3117
|
+
/**
|
|
3118
|
+
* Write or clear the admin wiki.json override for a repository (admin only)
|
|
3119
|
+
* @description Sits between workspace guidance and the in-repo `.aidrivensdlc/wiki.json`, so a file committed to the repository still wins.
|
|
3120
|
+
*/
|
|
3121
|
+
put: operations["putRepoWikiJson"];
|
|
3122
|
+
post?: never;
|
|
3123
|
+
delete?: never;
|
|
3124
|
+
options?: never;
|
|
3125
|
+
head?: never;
|
|
3126
|
+
patch?: never;
|
|
3127
|
+
trace?: never;
|
|
3128
|
+
};
|
|
2997
3129
|
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki/export": {
|
|
2998
3130
|
parameters: {
|
|
2999
3131
|
query?: never;
|
|
@@ -4316,6 +4448,23 @@ export interface components {
|
|
|
4316
4448
|
provider?: components["schemas"]["AgentExecutionProviderDto"] | null;
|
|
4317
4449
|
cursorModel?: string | null;
|
|
4318
4450
|
claudeModel?: string | null;
|
|
4451
|
+
/** @description Deep Wiki documentation focus for this workspace. Steers topic planning when generating Engineering Context wiki pages. Optional in-repo `.aidrivensdlc/wiki.json` still overrides the topic outline when present. */
|
|
4452
|
+
wikiGuidance?: components["schemas"]["CodeWikiGuidanceDto"] | null;
|
|
4453
|
+
};
|
|
4454
|
+
CodeWikiGuidanceTopicDto: {
|
|
4455
|
+
title: string;
|
|
4456
|
+
purpose: string;
|
|
4457
|
+
/** @description Title of the parent topic for hierarchy (must match another topic title). */
|
|
4458
|
+
parentTitle?: string | null;
|
|
4459
|
+
};
|
|
4460
|
+
CodeWikiGuidanceDto: {
|
|
4461
|
+
/**
|
|
4462
|
+
* @description Free-form notes describing what the wiki should emphasize.
|
|
4463
|
+
* @default
|
|
4464
|
+
*/
|
|
4465
|
+
guidance: string;
|
|
4466
|
+
/** @description Preferred topic outline for Deep Wiki pages. */
|
|
4467
|
+
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
4319
4468
|
};
|
|
4320
4469
|
WorkspaceConfigDto: {
|
|
4321
4470
|
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
@@ -4346,6 +4495,8 @@ export interface components {
|
|
|
4346
4495
|
hasCodeIntelligenceExecutionToken?: boolean;
|
|
4347
4496
|
/** @description Federated-readiness delivery topology: which connected repos hold terraform / gitops / ci_templates / api_contracts truth for this workspace. Null when not configured. Change via `PUT /workspaces/{workspaceId}/delivery-topology`. */
|
|
4348
4497
|
deliveryTopology?: components["schemas"]["DeliveryTopologyDto"] | null;
|
|
4498
|
+
/** @description Deep Wiki documentation focus for this workspace (guidance notes + optional topic outline). Saved via `PUT /workspaces/{workspaceId}/code-intelligence` (`wikiGuidance`). */
|
|
4499
|
+
codeWikiGuidance?: components["schemas"]["CodeWikiGuidanceDto"];
|
|
4349
4500
|
};
|
|
4350
4501
|
DeliveryRoleConfigDto: {
|
|
4351
4502
|
/** @description Connected workspace repo (`owner/repo`) that holds this role's artifacts. */
|
|
@@ -7794,6 +7945,10 @@ export interface components {
|
|
|
7794
7945
|
InsightsRecommendationsCostPerPr: {
|
|
7795
7946
|
orgAvgCostUsd: number;
|
|
7796
7947
|
orgAvgPrevUsd: number;
|
|
7948
|
+
/** @description Total scoped AI spend (USD) underlying orgAvgCostUsd. */
|
|
7949
|
+
orgSpendUsd: number;
|
|
7950
|
+
/** @description Total scoped merged PRs underlying orgAvgCostUsd. */
|
|
7951
|
+
orgMergedPrs: number;
|
|
7797
7952
|
teams: components["schemas"]["InsightsCostPerPrTeam"][];
|
|
7798
7953
|
};
|
|
7799
7954
|
InsightsRecommendationsCostPerPrResponse: components["schemas"]["InsightsRecommendationsCostPerPr"] & {
|
|
@@ -7892,6 +8047,8 @@ export interface components {
|
|
|
7892
8047
|
errorMessage?: string | null;
|
|
7893
8048
|
/** @description Human-readable indexing stage while a job is running (queued, clone, graph, save, wiki). Cleared when the index is ready or failed. */
|
|
7894
8049
|
progressMessage?: string | null;
|
|
8050
|
+
/** @description Active knowledge job for this repo when status is queued/running — phase, tracks, and token/cost rollups for SPA transparency (Wave 1). */
|
|
8051
|
+
knowledgeJob?: components["schemas"]["CodeKnowledgeJobDto"] | null;
|
|
7895
8052
|
/** Format: date-time */
|
|
7896
8053
|
indexedAt?: string | null;
|
|
7897
8054
|
/** Format: date-time */
|
|
@@ -7901,6 +8058,47 @@ export interface components {
|
|
|
7901
8058
|
/** @description True when the indexed graph stores durable code excerpts (required for useful chat answers). */
|
|
7902
8059
|
hasCodeExcerpts?: boolean;
|
|
7903
8060
|
};
|
|
8061
|
+
CodeKnowledgeJobDto: {
|
|
8062
|
+
/** Format: uuid */
|
|
8063
|
+
id: string;
|
|
8064
|
+
/** Format: uuid */
|
|
8065
|
+
workspaceId: string;
|
|
8066
|
+
/** Format: uuid */
|
|
8067
|
+
repoId: string;
|
|
8068
|
+
/** Format: uuid */
|
|
8069
|
+
indexId?: string | null;
|
|
8070
|
+
/** @enum {string} */
|
|
8071
|
+
status: "queued" | "running" | "completed" | "failed";
|
|
8072
|
+
/**
|
|
8073
|
+
* @description Coarse UX phase while status=running.
|
|
8074
|
+
* @enum {string|null}
|
|
8075
|
+
*/
|
|
8076
|
+
phase?: "cloning" | "indexing" | "track_a" | "track_b" | "completing" | null;
|
|
8077
|
+
/** @description Human-readable detail (e.g. enriching · page 3/8 · how-it-works). */
|
|
8078
|
+
phaseDetail?: string | null;
|
|
8079
|
+
/** Format: date-time */
|
|
8080
|
+
phaseUpdatedAt?: string | null;
|
|
8081
|
+
trackAStatus?: components["schemas"]["CodeKnowledgeTrackStatus"];
|
|
8082
|
+
trackBStatus?: components["schemas"]["CodeKnowledgeTrackStatus"];
|
|
8083
|
+
graphStatus?: components["schemas"]["CodeKnowledgeTrackStatus"];
|
|
8084
|
+
inputTokensTotal: number;
|
|
8085
|
+
outputTokensTotal: number;
|
|
8086
|
+
estimatedCostUsdTotal: number;
|
|
8087
|
+
llmInvocationCount: number;
|
|
8088
|
+
lastProvider?: string | null;
|
|
8089
|
+
lastModel?: string | null;
|
|
8090
|
+
lastKeySource?: string | null;
|
|
8091
|
+
errorMessage?: string | null;
|
|
8092
|
+
/** Format: date-time */
|
|
8093
|
+
createdAt: string;
|
|
8094
|
+
/** Format: date-time */
|
|
8095
|
+
updatedAt: string;
|
|
8096
|
+
};
|
|
8097
|
+
/**
|
|
8098
|
+
* @description Per-track status for dual-track Deep Wiki (Track A skeleton, Track B enrich, graph index).
|
|
8099
|
+
* @enum {string|null}
|
|
8100
|
+
*/
|
|
8101
|
+
CodeKnowledgeTrackStatus: "pending" | "running" | "completed" | "skipped" | "failed" | null;
|
|
7904
8102
|
CodeChatIndexListDto: {
|
|
7905
8103
|
items: components["schemas"]["CodeChatIndexDto"][];
|
|
7906
8104
|
};
|
|
@@ -7992,6 +8190,11 @@ export interface components {
|
|
|
7992
8190
|
};
|
|
7993
8191
|
CodeChatPostMessageBodyDto: {
|
|
7994
8192
|
content: string;
|
|
8193
|
+
/**
|
|
8194
|
+
* @description Optional Ask tone preference (FE localStorage / request — not a DB role)
|
|
8195
|
+
* @enum {string}
|
|
8196
|
+
*/
|
|
8197
|
+
persona?: "engineer" | "lead" | "pm";
|
|
7995
8198
|
};
|
|
7996
8199
|
CodeChatMessageReplyDto: components["schemas"]["CodeChatMessageDto"] & {
|
|
7997
8200
|
/**
|
|
@@ -8005,6 +8208,16 @@ export interface components {
|
|
|
8005
8208
|
groundedInWiki?: boolean;
|
|
8006
8209
|
/** @description Repository names whose wiki pages grounded the answer */
|
|
8007
8210
|
wikiRepos?: string[];
|
|
8211
|
+
/** @description True when platform evidence tools P–U contributed facts */
|
|
8212
|
+
groundedInPlatform?: boolean;
|
|
8213
|
+
/** @description Tool ids that returned data (e.g. readiness_summary) */
|
|
8214
|
+
platformToolIds?: string[];
|
|
8215
|
+
/**
|
|
8216
|
+
* @description Classified Ask intent for the turn
|
|
8217
|
+
* @enum {string}
|
|
8218
|
+
*/
|
|
8219
|
+
intent?: "inventory_apis" | "inventory_modules" | "explain" | "platform_ops" | "feature_impact" | "prd_request";
|
|
8220
|
+
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
8008
8221
|
};
|
|
8009
8222
|
CodeChatApiRouteRowDto: {
|
|
8010
8223
|
method: string;
|
|
@@ -8050,10 +8263,181 @@ export interface components {
|
|
|
8050
8263
|
sortOrder: number;
|
|
8051
8264
|
sourcePaths: string[];
|
|
8052
8265
|
diagramMermaid?: string | null;
|
|
8266
|
+
/**
|
|
8267
|
+
* @description Deep Wiki page quality chip (D6 / D12).
|
|
8268
|
+
* @enum {string}
|
|
8269
|
+
*/
|
|
8270
|
+
enrichmentStatus?: "skeleton" | "enriched" | "shallow" | "needs_review";
|
|
8271
|
+
/** Format: date-time */
|
|
8272
|
+
createdAt: string;
|
|
8273
|
+
/** Format: date-time */
|
|
8274
|
+
updatedAt: string;
|
|
8275
|
+
};
|
|
8276
|
+
EffectiveWikiConfigDto: {
|
|
8277
|
+
/** @description Layers that contributed, in applied order. Later layers win: server_default → workspace_guidance → admin_repo → repo_override. */
|
|
8278
|
+
sources: ("server_default" | "workspace_guidance" | "admin_repo" | "repo_override")[];
|
|
8279
|
+
repoOverridePath?: string | null;
|
|
8280
|
+
/** @description Effective wiki.json document (version, pages, slugAllowlist, diagramPolicies). */
|
|
8281
|
+
document: {
|
|
8282
|
+
[key: string]: unknown;
|
|
8283
|
+
};
|
|
8284
|
+
};
|
|
8285
|
+
/** @description Admin-authored wiki.json override stored for a single repository. */
|
|
8286
|
+
RepoWikiJsonDto: {
|
|
8287
|
+
/** Format: uuid */
|
|
8288
|
+
repoId: string;
|
|
8289
|
+
repoName: string;
|
|
8290
|
+
providerSlug: string;
|
|
8291
|
+
/** @description Stored wiki.json document, or null when no override is set. */
|
|
8292
|
+
document: {
|
|
8293
|
+
[key: string]: unknown;
|
|
8294
|
+
} | null;
|
|
8295
|
+
hasOverride: boolean;
|
|
8296
|
+
/** Format: date-time */
|
|
8297
|
+
updatedAt: string | null;
|
|
8298
|
+
/** Format: uuid */
|
|
8299
|
+
updatedBy: string | null;
|
|
8300
|
+
};
|
|
8301
|
+
/** @description Wiki.json override to store. Send `document: null`, or a document with no usable pages, notes, allowlist, or diagram policies, to clear the override. */
|
|
8302
|
+
PutRepoWikiJsonDto: {
|
|
8303
|
+
document?: {
|
|
8304
|
+
[key: string]: unknown;
|
|
8305
|
+
} | null;
|
|
8306
|
+
};
|
|
8307
|
+
RepoWikiJsonSummaryDto: {
|
|
8308
|
+
/** Format: uuid */
|
|
8309
|
+
repoId: string;
|
|
8310
|
+
repoName: string;
|
|
8311
|
+
providerSlug: string;
|
|
8312
|
+
hasOverride: boolean;
|
|
8313
|
+
/** Format: date-time */
|
|
8314
|
+
updatedAt: string | null;
|
|
8315
|
+
/** Format: uuid */
|
|
8316
|
+
updatedBy: string | null;
|
|
8317
|
+
};
|
|
8318
|
+
RepoWikiJsonSummaryListDto: {
|
|
8319
|
+
items: components["schemas"]["RepoWikiJsonSummaryDto"][];
|
|
8320
|
+
};
|
|
8321
|
+
GenerateWorkspaceKnowledgePagesBodyDto: {
|
|
8322
|
+
/** @description Ready repository indexes to synthesize from. Omit or send empty for all ready indexes. */
|
|
8323
|
+
repoIds?: string[];
|
|
8324
|
+
};
|
|
8325
|
+
GenerateWorkspaceKnowledgePagesResultDto: {
|
|
8326
|
+
items: components["schemas"]["WorkspaceKnowledgePageDto"][];
|
|
8327
|
+
/**
|
|
8328
|
+
* @description llm when a model produced page bodies; deterministic when synthesized from wiki text alone.
|
|
8329
|
+
* @enum {string}
|
|
8330
|
+
*/
|
|
8331
|
+
mode: "deterministic" | "llm";
|
|
8332
|
+
repoIds: string[];
|
|
8333
|
+
/** @description Platform evidence tool ids that contributed facts (P–U) */
|
|
8334
|
+
platformToolIds?: string[];
|
|
8335
|
+
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
8336
|
+
};
|
|
8337
|
+
GeneratePrdDraftBodyDto: {
|
|
8338
|
+
/** @description Feature or change the PRD should describe */
|
|
8339
|
+
featureIntent: string;
|
|
8340
|
+
/** @description Ready repository indexes to analyze. Omit or send empty for all ready indexes. */
|
|
8341
|
+
repoIds?: string[];
|
|
8342
|
+
/**
|
|
8343
|
+
* @description Draft voice preference (FE localStorage / request)
|
|
8344
|
+
* @enum {string}
|
|
8345
|
+
*/
|
|
8346
|
+
persona?: "engineer" | "lead" | "pm";
|
|
8347
|
+
};
|
|
8348
|
+
GeneratePrdDraftResultDto: {
|
|
8349
|
+
item: components["schemas"]["WorkspaceKnowledgePageDto"];
|
|
8350
|
+
/** @enum {string} */
|
|
8351
|
+
mode: "deterministic" | "llm";
|
|
8352
|
+
repoIds: string[];
|
|
8353
|
+
/** @description Persisted workspace knowledge page slug (prd-draft or prd-<safe-slug>) */
|
|
8354
|
+
slug: string;
|
|
8355
|
+
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
8356
|
+
};
|
|
8357
|
+
WorkspaceKnowledgePageDto: {
|
|
8358
|
+
/** Format: uuid */
|
|
8359
|
+
id: string;
|
|
8360
|
+
/** Format: uuid */
|
|
8361
|
+
workspaceId: string;
|
|
8362
|
+
slug: string;
|
|
8363
|
+
title: string;
|
|
8364
|
+
bodyMd: string;
|
|
8365
|
+
sortOrder: number;
|
|
8366
|
+
sourceRepoIds: string[];
|
|
8367
|
+
/** @enum {string} */
|
|
8368
|
+
status: "draft" | "published" | "needs_review";
|
|
8053
8369
|
/** Format: date-time */
|
|
8054
8370
|
createdAt: string;
|
|
8055
8371
|
/** Format: date-time */
|
|
8056
8372
|
updatedAt: string;
|
|
8373
|
+
/** @description First readable prose sentence for list previews */
|
|
8374
|
+
excerpt?: string;
|
|
8375
|
+
/** @description Display names for sourceRepoIds when resolvable */
|
|
8376
|
+
sourceRepoNames?: string[];
|
|
8377
|
+
};
|
|
8378
|
+
WorkspaceKnowledgeSystemContextDto: {
|
|
8379
|
+
indexes: {
|
|
8380
|
+
/** Format: uuid */
|
|
8381
|
+
repoId: string;
|
|
8382
|
+
repoName: string;
|
|
8383
|
+
/** Format: uuid */
|
|
8384
|
+
indexId: string;
|
|
8385
|
+
nodeCount: number;
|
|
8386
|
+
edgeCount: number;
|
|
8387
|
+
commitSha?: string | null;
|
|
8388
|
+
indexer?: string | null;
|
|
8389
|
+
knowledgeJobPhase?: string | null;
|
|
8390
|
+
knowledgeJobStatus?: string | null;
|
|
8391
|
+
}[];
|
|
8392
|
+
platformToolIds: string[];
|
|
8393
|
+
platformMissingToolIds: string[];
|
|
8394
|
+
/** @description Bounded markdown summary of platform evidence for the system panel */
|
|
8395
|
+
platformSnippet?: string;
|
|
8396
|
+
};
|
|
8397
|
+
WorkspaceKnowledgePageListDto: {
|
|
8398
|
+
items: components["schemas"]["WorkspaceKnowledgePageDto"][];
|
|
8399
|
+
systemContext?: components["schemas"]["WorkspaceKnowledgeSystemContextDto"];
|
|
8400
|
+
};
|
|
8401
|
+
CodeIntelligenceUsageDto: {
|
|
8402
|
+
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb, wiki_json_outline, wiki_enrich, …) */
|
|
8403
|
+
operation: string;
|
|
8404
|
+
provider: string;
|
|
8405
|
+
model?: string | null;
|
|
8406
|
+
inputTokens: number;
|
|
8407
|
+
outputTokens: number;
|
|
8408
|
+
estimatedCostUsd?: number | null;
|
|
8409
|
+
estimated?: boolean;
|
|
8410
|
+
};
|
|
8411
|
+
CodeIntelligenceTokenUsageByOperationDto: {
|
|
8412
|
+
operation: string;
|
|
8413
|
+
inputTokens: number;
|
|
8414
|
+
outputTokens: number;
|
|
8415
|
+
estimatedCostUsd: number;
|
|
8416
|
+
invocationCount: number;
|
|
8417
|
+
};
|
|
8418
|
+
CodeIntelligenceTokenUsageByRepoDto: {
|
|
8419
|
+
/** Format: uuid */
|
|
8420
|
+
repoId: string;
|
|
8421
|
+
repoName?: string | null;
|
|
8422
|
+
inputTokens: number;
|
|
8423
|
+
outputTokens: number;
|
|
8424
|
+
estimatedCostUsd: number;
|
|
8425
|
+
invocationCount: number;
|
|
8426
|
+
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
8427
|
+
};
|
|
8428
|
+
CodeIntelligenceTokenUsageSummaryDto: {
|
|
8429
|
+
days: number;
|
|
8430
|
+
inputTokensTotal: number;
|
|
8431
|
+
outputTokensTotal: number;
|
|
8432
|
+
estimatedCostUsdTotal: number;
|
|
8433
|
+
invocationCountTotal: number;
|
|
8434
|
+
/** @description True when any cost was derived from published model rates because the provider reported tokens without a price (for example the Cursor agent CLI). */
|
|
8435
|
+
costEstimated?: boolean;
|
|
8436
|
+
/** @description Rate basis used for the derived cost, for display in tooltips. */
|
|
8437
|
+
costBasis?: string | null;
|
|
8438
|
+
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
8439
|
+
/** @description Per-repository split (wiki generation, conversations, outline). Only rows with repository attribution appear here; workspace-wide operations stay in totals. */
|
|
8440
|
+
byRepo: components["schemas"]["CodeIntelligenceTokenUsageByRepoDto"][];
|
|
8057
8441
|
};
|
|
8058
8442
|
CodeChatWikiPageListDto: {
|
|
8059
8443
|
items: components["schemas"]["CodeChatWikiPageDto"][];
|
|
@@ -8179,7 +8563,7 @@ export interface components {
|
|
|
8179
8563
|
* @description Omit or send `auto` to let the server pick the most informative view for the repository. `blast` traces `query` as a symbol and falls back to a focused subgraph, or to impact hotspots when `query` is empty.
|
|
8180
8564
|
* @enum {string}
|
|
8181
8565
|
*/
|
|
8182
|
-
kind?: "auto" | "dependency" | "module" | "focus" | "impact" | "blast" | "atlas";
|
|
8566
|
+
kind?: "auto" | "dependency" | "module" | "focus" | "impact" | "blast" | "atlas" | "call_graph" | "cfg_lite" | "dataflow" | "ssa" | "terraform_deps" | "layers" | "domain" | "runtime" | "communication" | "delivery";
|
|
8183
8567
|
/** @description Symbol, path, or plain-language request ("how does billing reach the ledger"). Free text is resolved against the graph to seed a focused view. */
|
|
8184
8568
|
query?: string;
|
|
8185
8569
|
/** @description Deprecated alias for `query`. */
|
|
@@ -8203,9 +8587,45 @@ export interface components {
|
|
|
8203
8587
|
* @description Which reading of the repository this diagram is. `module` rolls files up into source groups when too few file dependencies resolved for a file map, `focus` answers a plain-language request, `impact` shows the most depended-on files, and `blast` traces one symbol.
|
|
8204
8588
|
* @enum {string}
|
|
8205
8589
|
*/
|
|
8206
|
-
kind?: "dependency" | "module" | "focus" | "impact" | "blast";
|
|
8590
|
+
kind?: "dependency" | "module" | "focus" | "impact" | "blast" | "call_graph" | "cfg_lite" | "dataflow" | "ssa" | "terraform_deps" | "layers" | "domain" | "runtime" | "communication" | "delivery";
|
|
8207
8591
|
/** @description Measured facts about the graph — hubs, dependency coverage, test share, route count. */
|
|
8208
8592
|
insights?: string[];
|
|
8593
|
+
/** @description Deterministic reading beside the canvas for layers, domains, dataflow, and SSA. Coverage, heatmaps, and ledgers are derived from the indexed graph — no LLM. */
|
|
8594
|
+
structurePanel?: {
|
|
8595
|
+
/** @enum {string} */
|
|
8596
|
+
kind: "layers" | "domain" | "dataflow" | "ssa";
|
|
8597
|
+
coverage?: {
|
|
8598
|
+
totalFiles: number;
|
|
8599
|
+
connectedFiles: number;
|
|
8600
|
+
dependencyEdges: number;
|
|
8601
|
+
connectedShare: number;
|
|
8602
|
+
/** @description Cross-bucket edges in this roll-up, or relation edges shown for dataflow/SSA. */
|
|
8603
|
+
rollupEdges: number;
|
|
8604
|
+
};
|
|
8605
|
+
/** @description Ordered axis labels for the heatmap. */
|
|
8606
|
+
axes?: string[];
|
|
8607
|
+
matrix?: {
|
|
8608
|
+
from: string;
|
|
8609
|
+
to: string;
|
|
8610
|
+
weight: number;
|
|
8611
|
+
}[];
|
|
8612
|
+
/** @description Layers or domains that own the selected node / query, so roll-up views still answer a selection instead of silently ignoring it. */
|
|
8613
|
+
focusBuckets?: string[];
|
|
8614
|
+
/** @description Layer-stack edges that climb the usual API → Service → Data → UI order. */
|
|
8615
|
+
violations?: {
|
|
8616
|
+
from: string;
|
|
8617
|
+
to: string;
|
|
8618
|
+
weight: number;
|
|
8619
|
+
reason: string;
|
|
8620
|
+
}[];
|
|
8621
|
+
/** @description Top dataflow / SSA flows with relation and certainty. */
|
|
8622
|
+
ledger?: {
|
|
8623
|
+
from: string;
|
|
8624
|
+
to: string;
|
|
8625
|
+
relation?: string;
|
|
8626
|
+
certainty?: string;
|
|
8627
|
+
}[];
|
|
8628
|
+
};
|
|
8209
8629
|
/** @description Present when free text drove the view. */
|
|
8210
8630
|
focus?: {
|
|
8211
8631
|
query: string;
|
|
@@ -8641,6 +9061,8 @@ export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
|
8641
9061
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
8642
9062
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
8643
9063
|
export type PutCodeIntelligenceSettingsDto = components['schemas']['PutCodeIntelligenceSettingsDto'];
|
|
9064
|
+
export type CodeWikiGuidanceTopicDto = components['schemas']['CodeWikiGuidanceTopicDto'];
|
|
9065
|
+
export type CodeWikiGuidanceDto = components['schemas']['CodeWikiGuidanceDto'];
|
|
8644
9066
|
export type WorkspaceConfigDto = components['schemas']['WorkspaceConfigDto'];
|
|
8645
9067
|
export type DeliveryRoleConfigDto = components['schemas']['DeliveryRoleConfigDto'];
|
|
8646
9068
|
export type RepoDeliveryOverrideDto = components['schemas']['RepoDeliveryOverrideDto'];
|
|
@@ -8964,6 +9386,8 @@ export type InsightsRecommendationsPageBundleResponse = components['schemas']['I
|
|
|
8964
9386
|
export type CodeChatIndexStatus = components['schemas']['CodeChatIndexStatus'];
|
|
8965
9387
|
export type CodeChatIndexer = components['schemas']['CodeChatIndexer'];
|
|
8966
9388
|
export type CodeChatIndexDto = components['schemas']['CodeChatIndexDto'];
|
|
9389
|
+
export type CodeKnowledgeJobDto = components['schemas']['CodeKnowledgeJobDto'];
|
|
9390
|
+
export type CodeKnowledgeTrackStatus = components['schemas']['CodeKnowledgeTrackStatus'];
|
|
8967
9391
|
export type CodeChatIndexListDto = components['schemas']['CodeChatIndexListDto'];
|
|
8968
9392
|
export type CodeChatCreateIndexBodyDto = components['schemas']['CodeChatCreateIndexBodyDto'];
|
|
8969
9393
|
export type CodeChatSyncIndexesBodyDto = components['schemas']['CodeChatSyncIndexesBodyDto'];
|
|
@@ -8981,6 +9405,22 @@ export type CodeChatApiRouteRowDto = components['schemas']['CodeChatApiRouteRowD
|
|
|
8981
9405
|
export type CodeChatModuleInventoryRowDto = components['schemas']['CodeChatModuleInventoryRowDto'];
|
|
8982
9406
|
export type CodeChatStructuredBlockDto = components['schemas']['CodeChatStructuredBlockDto'];
|
|
8983
9407
|
export type CodeChatWikiPageDto = components['schemas']['CodeChatWikiPageDto'];
|
|
9408
|
+
export type EffectiveWikiConfigDto = components['schemas']['EffectiveWikiConfigDto'];
|
|
9409
|
+
export type RepoWikiJsonDto = components['schemas']['RepoWikiJsonDto'];
|
|
9410
|
+
export type PutRepoWikiJsonDto = components['schemas']['PutRepoWikiJsonDto'];
|
|
9411
|
+
export type RepoWikiJsonSummaryDto = components['schemas']['RepoWikiJsonSummaryDto'];
|
|
9412
|
+
export type RepoWikiJsonSummaryListDto = components['schemas']['RepoWikiJsonSummaryListDto'];
|
|
9413
|
+
export type GenerateWorkspaceKnowledgePagesBodyDto = components['schemas']['GenerateWorkspaceKnowledgePagesBodyDto'];
|
|
9414
|
+
export type GenerateWorkspaceKnowledgePagesResultDto = components['schemas']['GenerateWorkspaceKnowledgePagesResultDto'];
|
|
9415
|
+
export type GeneratePrdDraftBodyDto = components['schemas']['GeneratePrdDraftBodyDto'];
|
|
9416
|
+
export type GeneratePrdDraftResultDto = components['schemas']['GeneratePrdDraftResultDto'];
|
|
9417
|
+
export type WorkspaceKnowledgePageDto = components['schemas']['WorkspaceKnowledgePageDto'];
|
|
9418
|
+
export type WorkspaceKnowledgeSystemContextDto = components['schemas']['WorkspaceKnowledgeSystemContextDto'];
|
|
9419
|
+
export type WorkspaceKnowledgePageListDto = components['schemas']['WorkspaceKnowledgePageListDto'];
|
|
9420
|
+
export type CodeIntelligenceUsageDto = components['schemas']['CodeIntelligenceUsageDto'];
|
|
9421
|
+
export type CodeIntelligenceTokenUsageByOperationDto = components['schemas']['CodeIntelligenceTokenUsageByOperationDto'];
|
|
9422
|
+
export type CodeIntelligenceTokenUsageByRepoDto = components['schemas']['CodeIntelligenceTokenUsageByRepoDto'];
|
|
9423
|
+
export type CodeIntelligenceTokenUsageSummaryDto = components['schemas']['CodeIntelligenceTokenUsageSummaryDto'];
|
|
8984
9424
|
export type CodeChatWikiPageListDto = components['schemas']['CodeChatWikiPageListDto'];
|
|
8985
9425
|
export type CodeChatWikiOkfExportDto = components['schemas']['CodeChatWikiOkfExportDto'];
|
|
8986
9426
|
export type CodeChatSymbolQueryBodyDto = components['schemas']['CodeChatSymbolQueryBodyDto'];
|
|
@@ -16310,6 +16750,32 @@ export interface operations {
|
|
|
16310
16750
|
403: components["responses"]["Forbidden"];
|
|
16311
16751
|
};
|
|
16312
16752
|
};
|
|
16753
|
+
getCodeIntelligenceTokenUsageSummary: {
|
|
16754
|
+
parameters: {
|
|
16755
|
+
query?: {
|
|
16756
|
+
days?: number;
|
|
16757
|
+
};
|
|
16758
|
+
header?: never;
|
|
16759
|
+
path: {
|
|
16760
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
16761
|
+
};
|
|
16762
|
+
cookie?: never;
|
|
16763
|
+
};
|
|
16764
|
+
requestBody?: never;
|
|
16765
|
+
responses: {
|
|
16766
|
+
/** @description Token usage summary */
|
|
16767
|
+
200: {
|
|
16768
|
+
headers: {
|
|
16769
|
+
[name: string]: unknown;
|
|
16770
|
+
};
|
|
16771
|
+
content: {
|
|
16772
|
+
"application/json": components["schemas"]["CodeIntelligenceTokenUsageSummaryDto"];
|
|
16773
|
+
};
|
|
16774
|
+
};
|
|
16775
|
+
401: components["responses"]["Unauthorized"];
|
|
16776
|
+
403: components["responses"]["Forbidden"];
|
|
16777
|
+
};
|
|
16778
|
+
};
|
|
16313
16779
|
getWorkspaceRepoEligibility: {
|
|
16314
16780
|
parameters: {
|
|
16315
16781
|
query?: never;
|
|
@@ -16924,6 +17390,266 @@ export interface operations {
|
|
|
16924
17390
|
};
|
|
16925
17391
|
};
|
|
16926
17392
|
};
|
|
17393
|
+
getCodeChatEffectiveWikiConfig: {
|
|
17394
|
+
parameters: {
|
|
17395
|
+
query?: never;
|
|
17396
|
+
header?: never;
|
|
17397
|
+
path: {
|
|
17398
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17399
|
+
indexId: string;
|
|
17400
|
+
};
|
|
17401
|
+
cookie?: never;
|
|
17402
|
+
};
|
|
17403
|
+
requestBody?: never;
|
|
17404
|
+
responses: {
|
|
17405
|
+
/** @description Effective wiki config */
|
|
17406
|
+
200: {
|
|
17407
|
+
headers: {
|
|
17408
|
+
[name: string]: unknown;
|
|
17409
|
+
};
|
|
17410
|
+
content: {
|
|
17411
|
+
"application/json": components["schemas"]["EffectiveWikiConfigDto"];
|
|
17412
|
+
};
|
|
17413
|
+
};
|
|
17414
|
+
401: components["responses"]["Unauthorized"];
|
|
17415
|
+
/** @description Graph not ready */
|
|
17416
|
+
404: {
|
|
17417
|
+
headers: {
|
|
17418
|
+
[name: string]: unknown;
|
|
17419
|
+
};
|
|
17420
|
+
content?: never;
|
|
17421
|
+
};
|
|
17422
|
+
};
|
|
17423
|
+
};
|
|
17424
|
+
listWorkspaceKnowledgePages: {
|
|
17425
|
+
parameters: {
|
|
17426
|
+
query?: never;
|
|
17427
|
+
header?: never;
|
|
17428
|
+
path: {
|
|
17429
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17430
|
+
};
|
|
17431
|
+
cookie?: never;
|
|
17432
|
+
};
|
|
17433
|
+
requestBody?: never;
|
|
17434
|
+
responses: {
|
|
17435
|
+
/** @description Workspace knowledge pages */
|
|
17436
|
+
200: {
|
|
17437
|
+
headers: {
|
|
17438
|
+
[name: string]: unknown;
|
|
17439
|
+
};
|
|
17440
|
+
content: {
|
|
17441
|
+
"application/json": components["schemas"]["WorkspaceKnowledgePageListDto"];
|
|
17442
|
+
};
|
|
17443
|
+
};
|
|
17444
|
+
401: components["responses"]["Unauthorized"];
|
|
17445
|
+
};
|
|
17446
|
+
};
|
|
17447
|
+
generateWorkspaceKnowledgePages: {
|
|
17448
|
+
parameters: {
|
|
17449
|
+
query?: never;
|
|
17450
|
+
header?: never;
|
|
17451
|
+
path: {
|
|
17452
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17453
|
+
};
|
|
17454
|
+
cookie?: never;
|
|
17455
|
+
};
|
|
17456
|
+
requestBody?: {
|
|
17457
|
+
content: {
|
|
17458
|
+
"application/json": components["schemas"]["GenerateWorkspaceKnowledgePagesBodyDto"];
|
|
17459
|
+
};
|
|
17460
|
+
};
|
|
17461
|
+
responses: {
|
|
17462
|
+
/** @description Generated workspace knowledge pages */
|
|
17463
|
+
200: {
|
|
17464
|
+
headers: {
|
|
17465
|
+
[name: string]: unknown;
|
|
17466
|
+
};
|
|
17467
|
+
content: {
|
|
17468
|
+
"application/json": components["schemas"]["GenerateWorkspaceKnowledgePagesResultDto"];
|
|
17469
|
+
};
|
|
17470
|
+
};
|
|
17471
|
+
401: components["responses"]["Unauthorized"];
|
|
17472
|
+
/** @description Code Intelligence is disabled for this workspace */
|
|
17473
|
+
403: {
|
|
17474
|
+
headers: {
|
|
17475
|
+
[name: string]: unknown;
|
|
17476
|
+
};
|
|
17477
|
+
content?: never;
|
|
17478
|
+
};
|
|
17479
|
+
/** @description No ready repository index in scope */
|
|
17480
|
+
409: {
|
|
17481
|
+
headers: {
|
|
17482
|
+
[name: string]: unknown;
|
|
17483
|
+
};
|
|
17484
|
+
content?: never;
|
|
17485
|
+
};
|
|
17486
|
+
};
|
|
17487
|
+
};
|
|
17488
|
+
generatePrdDraft: {
|
|
17489
|
+
parameters: {
|
|
17490
|
+
query?: never;
|
|
17491
|
+
header?: never;
|
|
17492
|
+
path: {
|
|
17493
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17494
|
+
};
|
|
17495
|
+
cookie?: never;
|
|
17496
|
+
};
|
|
17497
|
+
requestBody: {
|
|
17498
|
+
content: {
|
|
17499
|
+
"application/json": components["schemas"]["GeneratePrdDraftBodyDto"];
|
|
17500
|
+
};
|
|
17501
|
+
};
|
|
17502
|
+
responses: {
|
|
17503
|
+
/** @description Generated PRD draft page */
|
|
17504
|
+
200: {
|
|
17505
|
+
headers: {
|
|
17506
|
+
[name: string]: unknown;
|
|
17507
|
+
};
|
|
17508
|
+
content: {
|
|
17509
|
+
"application/json": components["schemas"]["GeneratePrdDraftResultDto"];
|
|
17510
|
+
};
|
|
17511
|
+
};
|
|
17512
|
+
/** @description Missing or invalid featureIntent */
|
|
17513
|
+
400: {
|
|
17514
|
+
headers: {
|
|
17515
|
+
[name: string]: unknown;
|
|
17516
|
+
};
|
|
17517
|
+
content?: never;
|
|
17518
|
+
};
|
|
17519
|
+
401: components["responses"]["Unauthorized"];
|
|
17520
|
+
/** @description Code Intelligence is disabled for this workspace */
|
|
17521
|
+
403: {
|
|
17522
|
+
headers: {
|
|
17523
|
+
[name: string]: unknown;
|
|
17524
|
+
};
|
|
17525
|
+
content?: never;
|
|
17526
|
+
};
|
|
17527
|
+
/** @description No ready repository index in scope */
|
|
17528
|
+
409: {
|
|
17529
|
+
headers: {
|
|
17530
|
+
[name: string]: unknown;
|
|
17531
|
+
};
|
|
17532
|
+
content?: never;
|
|
17533
|
+
};
|
|
17534
|
+
};
|
|
17535
|
+
};
|
|
17536
|
+
listRepoWikiJsonSummaries: {
|
|
17537
|
+
parameters: {
|
|
17538
|
+
query?: never;
|
|
17539
|
+
header?: never;
|
|
17540
|
+
path: {
|
|
17541
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17542
|
+
};
|
|
17543
|
+
cookie?: never;
|
|
17544
|
+
};
|
|
17545
|
+
requestBody?: never;
|
|
17546
|
+
responses: {
|
|
17547
|
+
/** @description Override summaries */
|
|
17548
|
+
200: {
|
|
17549
|
+
headers: {
|
|
17550
|
+
[name: string]: unknown;
|
|
17551
|
+
};
|
|
17552
|
+
content: {
|
|
17553
|
+
"application/json": components["schemas"]["RepoWikiJsonSummaryListDto"];
|
|
17554
|
+
};
|
|
17555
|
+
};
|
|
17556
|
+
401: components["responses"]["Unauthorized"];
|
|
17557
|
+
/** @description Workspace admin required */
|
|
17558
|
+
403: {
|
|
17559
|
+
headers: {
|
|
17560
|
+
[name: string]: unknown;
|
|
17561
|
+
};
|
|
17562
|
+
content?: never;
|
|
17563
|
+
};
|
|
17564
|
+
};
|
|
17565
|
+
};
|
|
17566
|
+
getRepoWikiJson: {
|
|
17567
|
+
parameters: {
|
|
17568
|
+
query?: never;
|
|
17569
|
+
header?: never;
|
|
17570
|
+
path: {
|
|
17571
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17572
|
+
repoId: string;
|
|
17573
|
+
};
|
|
17574
|
+
cookie?: never;
|
|
17575
|
+
};
|
|
17576
|
+
requestBody?: never;
|
|
17577
|
+
responses: {
|
|
17578
|
+
/** @description Stored override (document is null when unset) */
|
|
17579
|
+
200: {
|
|
17580
|
+
headers: {
|
|
17581
|
+
[name: string]: unknown;
|
|
17582
|
+
};
|
|
17583
|
+
content: {
|
|
17584
|
+
"application/json": components["schemas"]["RepoWikiJsonDto"];
|
|
17585
|
+
};
|
|
17586
|
+
};
|
|
17587
|
+
401: components["responses"]["Unauthorized"];
|
|
17588
|
+
/** @description Workspace admin required */
|
|
17589
|
+
403: {
|
|
17590
|
+
headers: {
|
|
17591
|
+
[name: string]: unknown;
|
|
17592
|
+
};
|
|
17593
|
+
content?: never;
|
|
17594
|
+
};
|
|
17595
|
+
/** @description Repository not found */
|
|
17596
|
+
404: {
|
|
17597
|
+
headers: {
|
|
17598
|
+
[name: string]: unknown;
|
|
17599
|
+
};
|
|
17600
|
+
content?: never;
|
|
17601
|
+
};
|
|
17602
|
+
};
|
|
17603
|
+
};
|
|
17604
|
+
putRepoWikiJson: {
|
|
17605
|
+
parameters: {
|
|
17606
|
+
query?: never;
|
|
17607
|
+
header?: never;
|
|
17608
|
+
path: {
|
|
17609
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17610
|
+
repoId: string;
|
|
17611
|
+
};
|
|
17612
|
+
cookie?: never;
|
|
17613
|
+
};
|
|
17614
|
+
requestBody: {
|
|
17615
|
+
content: {
|
|
17616
|
+
"application/json": components["schemas"]["PutRepoWikiJsonDto"];
|
|
17617
|
+
};
|
|
17618
|
+
};
|
|
17619
|
+
responses: {
|
|
17620
|
+
/** @description Stored override */
|
|
17621
|
+
200: {
|
|
17622
|
+
headers: {
|
|
17623
|
+
[name: string]: unknown;
|
|
17624
|
+
};
|
|
17625
|
+
content: {
|
|
17626
|
+
"application/json": components["schemas"]["RepoWikiJsonDto"];
|
|
17627
|
+
};
|
|
17628
|
+
};
|
|
17629
|
+
/** @description Invalid document */
|
|
17630
|
+
400: {
|
|
17631
|
+
headers: {
|
|
17632
|
+
[name: string]: unknown;
|
|
17633
|
+
};
|
|
17634
|
+
content?: never;
|
|
17635
|
+
};
|
|
17636
|
+
401: components["responses"]["Unauthorized"];
|
|
17637
|
+
/** @description Workspace admin required */
|
|
17638
|
+
403: {
|
|
17639
|
+
headers: {
|
|
17640
|
+
[name: string]: unknown;
|
|
17641
|
+
};
|
|
17642
|
+
content?: never;
|
|
17643
|
+
};
|
|
17644
|
+
/** @description Repository not found */
|
|
17645
|
+
404: {
|
|
17646
|
+
headers: {
|
|
17647
|
+
[name: string]: unknown;
|
|
17648
|
+
};
|
|
17649
|
+
content?: never;
|
|
17650
|
+
};
|
|
17651
|
+
};
|
|
17652
|
+
};
|
|
16927
17653
|
exportCodeChatWikiOkf: {
|
|
16928
17654
|
parameters: {
|
|
16929
17655
|
query?: {
|