@thinkai/tai-api-contract 2.116.0 → 2.119.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 +498 -1
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +95 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +656 -3
- package/package.json +1 -1
- package/src/generated/openapi.ts +498 -1
- package/src/index.ts +116 -0
|
@@ -3092,6 +3092,23 @@ export interface paths {
|
|
|
3092
3092
|
patch?: never;
|
|
3093
3093
|
trace?: never;
|
|
3094
3094
|
};
|
|
3095
|
+
"/workspaces/{workspaceId}/knowledge-pages/generate/status": {
|
|
3096
|
+
parameters: {
|
|
3097
|
+
query?: never;
|
|
3098
|
+
header?: never;
|
|
3099
|
+
path?: never;
|
|
3100
|
+
cookie?: never;
|
|
3101
|
+
};
|
|
3102
|
+
/** Get live workspace context generation progress */
|
|
3103
|
+
get: operations["getWorkspaceContextGenerationStatus"];
|
|
3104
|
+
put?: never;
|
|
3105
|
+
post?: never;
|
|
3106
|
+
delete?: never;
|
|
3107
|
+
options?: never;
|
|
3108
|
+
head?: never;
|
|
3109
|
+
patch?: never;
|
|
3110
|
+
trace?: never;
|
|
3111
|
+
};
|
|
3095
3112
|
"/workspaces/{workspaceId}/knowledge-pages/prd/generate": {
|
|
3096
3113
|
parameters: {
|
|
3097
3114
|
query?: never;
|
|
@@ -3112,6 +3129,46 @@ export interface paths {
|
|
|
3112
3129
|
patch?: never;
|
|
3113
3130
|
trace?: never;
|
|
3114
3131
|
};
|
|
3132
|
+
"/workspaces/{workspaceId}/knowledge-graph": {
|
|
3133
|
+
parameters: {
|
|
3134
|
+
query?: never;
|
|
3135
|
+
header?: never;
|
|
3136
|
+
path?: never;
|
|
3137
|
+
cookie?: never;
|
|
3138
|
+
};
|
|
3139
|
+
/**
|
|
3140
|
+
* Get the persisted workspace knowledge graph
|
|
3141
|
+
* @description Cross-repository graph (repo nodes and dependency edges) built when workspace knowledge pages are generated. Empty until the first successful generate.
|
|
3142
|
+
*/
|
|
3143
|
+
get: operations["getWorkspaceKnowledgeGraph"];
|
|
3144
|
+
put?: never;
|
|
3145
|
+
post?: never;
|
|
3146
|
+
delete?: never;
|
|
3147
|
+
options?: never;
|
|
3148
|
+
head?: never;
|
|
3149
|
+
patch?: never;
|
|
3150
|
+
trace?: never;
|
|
3151
|
+
};
|
|
3152
|
+
"/workspaces/{workspaceId}/knowledge-pages/export": {
|
|
3153
|
+
parameters: {
|
|
3154
|
+
query?: never;
|
|
3155
|
+
header?: never;
|
|
3156
|
+
path?: never;
|
|
3157
|
+
cookie?: never;
|
|
3158
|
+
};
|
|
3159
|
+
/**
|
|
3160
|
+
* Export workspace knowledge for local use
|
|
3161
|
+
* @description Download workspace context as `WORKSPACE.md` (markdown) or a structured `wkg-pack` JSON bundle. Markdown rewrites `ecg://` deep links per `linkMode`.
|
|
3162
|
+
*/
|
|
3163
|
+
get: operations["exportWorkspaceKnowledgePages"];
|
|
3164
|
+
put?: never;
|
|
3165
|
+
post?: never;
|
|
3166
|
+
delete?: never;
|
|
3167
|
+
options?: never;
|
|
3168
|
+
head?: never;
|
|
3169
|
+
patch?: never;
|
|
3170
|
+
trace?: never;
|
|
3171
|
+
};
|
|
3115
3172
|
"/workspaces/{workspaceId}/code-intelligence/repo-wiki-json": {
|
|
3116
3173
|
parameters: {
|
|
3117
3174
|
query?: never;
|
|
@@ -3866,6 +3923,26 @@ export interface paths {
|
|
|
3866
3923
|
patch: operations["patchWorkspaceZenHrBranch"];
|
|
3867
3924
|
trace?: never;
|
|
3868
3925
|
};
|
|
3926
|
+
"/workspaces/{workspaceId}/ingest-coverage": {
|
|
3927
|
+
parameters: {
|
|
3928
|
+
query?: never;
|
|
3929
|
+
header?: never;
|
|
3930
|
+
path?: never;
|
|
3931
|
+
cookie?: never;
|
|
3932
|
+
};
|
|
3933
|
+
/**
|
|
3934
|
+
* Ingest / backfill data coverage
|
|
3935
|
+
* @description Read-only snapshot of historical ingest coverage for connected pipelines (productivity GitHub, AI usage/spend per provider, SDLC components, monitoring, HRIS). Aggregates existing watermarks and stored day/week evidence — does not trigger ingest or refresh. Requires workspace membership. Disconnected sources are omitted.
|
|
3936
|
+
*/
|
|
3937
|
+
get: operations["getWorkspaceIngestCoverage"];
|
|
3938
|
+
put?: never;
|
|
3939
|
+
post?: never;
|
|
3940
|
+
delete?: never;
|
|
3941
|
+
options?: never;
|
|
3942
|
+
head?: never;
|
|
3943
|
+
patch?: never;
|
|
3944
|
+
trace?: never;
|
|
3945
|
+
};
|
|
3869
3946
|
"/workspaces/{workspaceId}/hris/status": {
|
|
3870
3947
|
parameters: {
|
|
3871
3948
|
query?: never;
|
|
@@ -7593,6 +7670,115 @@ export interface components {
|
|
|
7593
7670
|
*/
|
|
7594
7671
|
syncedAt: string | null;
|
|
7595
7672
|
};
|
|
7673
|
+
IngestCoverageGapDto: {
|
|
7674
|
+
/** @description Inclusive gap start (ISO date or UTC Monday week start). */
|
|
7675
|
+
from: string;
|
|
7676
|
+
/** @description Inclusive gap end (ISO date or UTC Monday week start). */
|
|
7677
|
+
to: string;
|
|
7678
|
+
};
|
|
7679
|
+
IngestCoverageLastRunDto: {
|
|
7680
|
+
/** Format: date-time */
|
|
7681
|
+
startedAt?: string | null;
|
|
7682
|
+
/** Format: date-time */
|
|
7683
|
+
completedAt?: string | null;
|
|
7684
|
+
/** Format: int64 */
|
|
7685
|
+
durationMs?: number | null;
|
|
7686
|
+
/** @description Pipeline-specific run mode (e.g. recent, historical, refresh). */
|
|
7687
|
+
mode?: string | null;
|
|
7688
|
+
/** @enum {string|null} */
|
|
7689
|
+
outcome?: "ok" | "failed" | "in_progress" | null;
|
|
7690
|
+
};
|
|
7691
|
+
IngestCoverageProductivityRepoDto: {
|
|
7692
|
+
slug: string;
|
|
7693
|
+
/** @enum {string} */
|
|
7694
|
+
queueStatus: "pending" | "complete" | "failed" | "skipped";
|
|
7695
|
+
weeksWithData?: number | null;
|
|
7696
|
+
earliestWeek?: string | null;
|
|
7697
|
+
latestWeek?: string | null;
|
|
7698
|
+
missingWeeks?: number | null;
|
|
7699
|
+
gaps?: components["schemas"]["IngestCoverageGapDto"][];
|
|
7700
|
+
lastErrorKind?: string | null;
|
|
7701
|
+
};
|
|
7702
|
+
IngestCoverageProductivityDetailDto: {
|
|
7703
|
+
/** @enum {string|null} */
|
|
7704
|
+
phase?: "recent" | "historical" | "complete" | null;
|
|
7705
|
+
historicalWeekStart?: string | null;
|
|
7706
|
+
pendingRepoCount?: number;
|
|
7707
|
+
skippedRepoCount?: number;
|
|
7708
|
+
failedRepoCount?: number;
|
|
7709
|
+
coveragePercent?: number | null;
|
|
7710
|
+
repos?: components["schemas"]["IngestCoverageProductivityRepoDto"][];
|
|
7711
|
+
};
|
|
7712
|
+
IngestCoverageFactFamilyDto: {
|
|
7713
|
+
/** @enum {string} */
|
|
7714
|
+
id: "daily_usage" | "spend_daily" | "model_daily" | "product_daily";
|
|
7715
|
+
expectedDays?: number;
|
|
7716
|
+
daysPresent?: number;
|
|
7717
|
+
ingestedFrom?: string | null;
|
|
7718
|
+
ingestedTo?: string | null;
|
|
7719
|
+
missingDayCount?: number;
|
|
7720
|
+
gaps?: components["schemas"]["IngestCoverageGapDto"][];
|
|
7721
|
+
};
|
|
7722
|
+
IngestCoverageAiDetailDto: {
|
|
7723
|
+
factFamilies?: components["schemas"]["IngestCoverageFactFamilyDto"][];
|
|
7724
|
+
refreshInProgress?: boolean;
|
|
7725
|
+
};
|
|
7726
|
+
IngestCoverageSdlcComponentDto: {
|
|
7727
|
+
/** @enum {string} */
|
|
7728
|
+
id: "rollup" | "security_ingest" | "governance_github" | "governance_auditor" | "financial_ingest" | "cost_refresher";
|
|
7729
|
+
latestBucketDate?: string | null;
|
|
7730
|
+
lookbackDays?: number;
|
|
7731
|
+
mode?: string | null;
|
|
7732
|
+
gaps?: components["schemas"]["IngestCoverageGapDto"][];
|
|
7733
|
+
missingCount?: number | null;
|
|
7734
|
+
/** Format: date-time */
|
|
7735
|
+
lastSuccessAt?: string | null;
|
|
7736
|
+
/** Format: int64 */
|
|
7737
|
+
staleForMs?: number | null;
|
|
7738
|
+
isStale?: boolean;
|
|
7739
|
+
};
|
|
7740
|
+
IngestCoverageSdlcDetailDto: {
|
|
7741
|
+
components?: components["schemas"]["IngestCoverageSdlcComponentDto"][];
|
|
7742
|
+
};
|
|
7743
|
+
IngestCoverageSyncDetailDto: {
|
|
7744
|
+
provider?: string;
|
|
7745
|
+
/** @enum {string} */
|
|
7746
|
+
syncStatus?: "ok" | "error" | "never";
|
|
7747
|
+
};
|
|
7748
|
+
IngestCoveragePipelineDto: {
|
|
7749
|
+
id: string;
|
|
7750
|
+
/** @enum {string} */
|
|
7751
|
+
kind: "productivity_github" | "ai_usage" | "sdlc_github" | "monitoring" | "hris";
|
|
7752
|
+
provider?: string | null;
|
|
7753
|
+
/** @enum {string} */
|
|
7754
|
+
status: "not_started" | "backfilling" | "incremental" | "complete" | "failed" | "in_progress";
|
|
7755
|
+
targetWindowDays: number;
|
|
7756
|
+
ingestedFrom?: string | null;
|
|
7757
|
+
ingestedTo?: string | null;
|
|
7758
|
+
progressPercent?: number | null;
|
|
7759
|
+
/** Format: date-time */
|
|
7760
|
+
lastSuccessAt?: string | null;
|
|
7761
|
+
/** Format: date-time */
|
|
7762
|
+
lastAttemptAt?: string | null;
|
|
7763
|
+
lastErrorKind?: string | null;
|
|
7764
|
+
lastErrorMessage?: string | null;
|
|
7765
|
+
/** Format: int64 */
|
|
7766
|
+
staleForMs?: number | null;
|
|
7767
|
+
isStale: boolean;
|
|
7768
|
+
dataLagDays?: number | null;
|
|
7769
|
+
gaps?: components["schemas"]["IngestCoverageGapDto"][];
|
|
7770
|
+
missingCount?: number | null;
|
|
7771
|
+
lastRun?: components["schemas"]["IngestCoverageLastRunDto"];
|
|
7772
|
+
productivity?: components["schemas"]["IngestCoverageProductivityDetailDto"];
|
|
7773
|
+
ai?: components["schemas"]["IngestCoverageAiDetailDto"];
|
|
7774
|
+
sdlc?: components["schemas"]["IngestCoverageSdlcDetailDto"];
|
|
7775
|
+
sync?: components["schemas"]["IngestCoverageSyncDetailDto"];
|
|
7776
|
+
};
|
|
7777
|
+
IngestCoverageDto: {
|
|
7778
|
+
pipelines: components["schemas"]["IngestCoveragePipelineDto"][];
|
|
7779
|
+
/** Format: date-time */
|
|
7780
|
+
generatedAt?: string;
|
|
7781
|
+
};
|
|
7596
7782
|
HrisSyncStatusDto: {
|
|
7597
7783
|
/** @description Provider identifier (e.g. 'personio', 'zenhr'). */
|
|
7598
7784
|
provider: string;
|
|
@@ -7875,7 +8061,7 @@ export interface components {
|
|
|
7875
8061
|
InsightsResponseMeta: {
|
|
7876
8062
|
/**
|
|
7877
8063
|
* Format: date-time
|
|
7878
|
-
* @description ISO timestamp when numbers were computed server-side
|
|
8064
|
+
* @description ISO timestamp when numbers were computed server-side. An empty string means the workspace has no successful AI-tool refresh or productivity ingest timestamp yet.
|
|
7879
8065
|
*/
|
|
7880
8066
|
syncedAt: string;
|
|
7881
8067
|
/**
|
|
@@ -8371,6 +8557,8 @@ export interface components {
|
|
|
8371
8557
|
GenerateWorkspaceKnowledgePagesBodyDto: {
|
|
8372
8558
|
/** @description Ready repository indexes to synthesize from. Omit or send empty for all ready indexes. */
|
|
8373
8559
|
repoIds?: string[];
|
|
8560
|
+
/** @description When true and execution keys are configured, run a deeper LLM pass to expand Key decisions with multi-repo citations (falls back to deterministic on failure). */
|
|
8561
|
+
deepResearch?: boolean;
|
|
8374
8562
|
};
|
|
8375
8563
|
GenerateWorkspaceKnowledgePagesResultDto: {
|
|
8376
8564
|
items: components["schemas"]["WorkspaceKnowledgePageDto"][];
|
|
@@ -8384,6 +8572,21 @@ export interface components {
|
|
|
8384
8572
|
platformToolIds?: string[];
|
|
8385
8573
|
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
8386
8574
|
};
|
|
8575
|
+
WorkspaceContextGenerationStatusDto: {
|
|
8576
|
+
/** @enum {string} */
|
|
8577
|
+
phase: "inventory" | "facts" | "contracts" | "integrations" | "clustering" | "llm" | "persisted";
|
|
8578
|
+
/** @enum {string} */
|
|
8579
|
+
status: "running" | "complete" | "failed";
|
|
8580
|
+
detail: string;
|
|
8581
|
+
/** Format: date-time */
|
|
8582
|
+
updatedAt: string;
|
|
8583
|
+
partial?: {
|
|
8584
|
+
repoCount?: number;
|
|
8585
|
+
contractCount?: number;
|
|
8586
|
+
groupCount?: number;
|
|
8587
|
+
standaloneCount?: number;
|
|
8588
|
+
};
|
|
8589
|
+
};
|
|
8387
8590
|
GeneratePrdDraftBodyDto: {
|
|
8388
8591
|
/** @description Feature or change the PRD should describe */
|
|
8389
8592
|
featureIntent: string;
|
|
@@ -8409,6 +8612,7 @@ export interface components {
|
|
|
8409
8612
|
id: string;
|
|
8410
8613
|
/** Format: uuid */
|
|
8411
8614
|
workspaceId: string;
|
|
8615
|
+
/** @description Page slug. `workspace-agent` is the canonical hub; supporting pages include `workspace-overview`, `cross-repo-map`, `shared-concepts`, and `prd-*` drafts. */
|
|
8412
8616
|
slug: string;
|
|
8413
8617
|
title: string;
|
|
8414
8618
|
bodyMd: string;
|
|
@@ -8443,11 +8647,158 @@ export interface components {
|
|
|
8443
8647
|
platformMissingToolIds: string[];
|
|
8444
8648
|
/** @description Bounded markdown summary of platform evidence for the system panel */
|
|
8445
8649
|
platformSnippet?: string;
|
|
8650
|
+
insights?: components["schemas"]["WorkspaceContextInsightsDto"];
|
|
8651
|
+
};
|
|
8652
|
+
WorkspaceContextInsightsDto: {
|
|
8653
|
+
/** @enum {string} */
|
|
8654
|
+
kind: "workspace-insights";
|
|
8655
|
+
/** @enum {integer} */
|
|
8656
|
+
version: 2;
|
|
8657
|
+
/** Format: date-time */
|
|
8658
|
+
generatedAt: string;
|
|
8659
|
+
repoRoles: {
|
|
8660
|
+
/** Format: uuid */
|
|
8661
|
+
repoId: string;
|
|
8662
|
+
repoName: string;
|
|
8663
|
+
role: string;
|
|
8664
|
+
rationale: string;
|
|
8665
|
+
}[];
|
|
8666
|
+
emergentInsights: {
|
|
8667
|
+
kind: string;
|
|
8668
|
+
title: string;
|
|
8669
|
+
detail: string;
|
|
8670
|
+
repoIds: string[];
|
|
8671
|
+
/** @enum {string} */
|
|
8672
|
+
certainty: "fact" | "inference" | "possibility";
|
|
8673
|
+
evidenceRefs?: string[];
|
|
8674
|
+
}[];
|
|
8675
|
+
sharedConcepts: {
|
|
8676
|
+
term: string;
|
|
8677
|
+
repoNames: string[];
|
|
8678
|
+
kind: string;
|
|
8679
|
+
}[];
|
|
8680
|
+
crossRepoLinks: components["schemas"]["WorkspaceKnowledgeCrossRepoLinkDto"][];
|
|
8681
|
+
contracts: {
|
|
8682
|
+
id: string;
|
|
8683
|
+
kind: string;
|
|
8684
|
+
specKey: string;
|
|
8685
|
+
producers: {
|
|
8686
|
+
[key: string]: unknown;
|
|
8687
|
+
}[];
|
|
8688
|
+
consumers: {
|
|
8689
|
+
[key: string]: unknown;
|
|
8690
|
+
}[];
|
|
8691
|
+
/** @enum {string} */
|
|
8692
|
+
certainty: "fact" | "inference" | "possibility";
|
|
8693
|
+
score: number;
|
|
8694
|
+
}[];
|
|
8695
|
+
groups: {
|
|
8696
|
+
id: string;
|
|
8697
|
+
kind: string;
|
|
8698
|
+
label: string;
|
|
8699
|
+
repoIds: string[];
|
|
8700
|
+
backboneContractIds: string[];
|
|
8701
|
+
possibilityLinkCount: number;
|
|
8702
|
+
integrationSummary: string;
|
|
8703
|
+
summary: string;
|
|
8704
|
+
}[];
|
|
8705
|
+
standaloneRepos: {
|
|
8706
|
+
/** Format: uuid */
|
|
8707
|
+
repoId: string;
|
|
8708
|
+
repoName: string;
|
|
8709
|
+
summary: string;
|
|
8710
|
+
}[];
|
|
8711
|
+
coverage: {
|
|
8712
|
+
/** Format: uuid */
|
|
8713
|
+
repoId: string;
|
|
8714
|
+
detected: number;
|
|
8715
|
+
resolved: number;
|
|
8716
|
+
external: number;
|
|
8717
|
+
unresolved: number;
|
|
8718
|
+
}[];
|
|
8719
|
+
integrationFootprints: {
|
|
8720
|
+
/** Format: uuid */
|
|
8721
|
+
repoId: string;
|
|
8722
|
+
repoName: string;
|
|
8723
|
+
availableSignals: string[];
|
|
8724
|
+
missingSignals: string[];
|
|
8725
|
+
gaps: string[];
|
|
8726
|
+
}[];
|
|
8727
|
+
integrationOpportunities: string[];
|
|
8446
8728
|
};
|
|
8447
8729
|
WorkspaceKnowledgePageListDto: {
|
|
8448
8730
|
items: components["schemas"]["WorkspaceKnowledgePageDto"][];
|
|
8449
8731
|
systemContext?: components["schemas"]["WorkspaceKnowledgeSystemContextDto"];
|
|
8450
8732
|
};
|
|
8733
|
+
WorkspaceKnowledgeGraphNodeDto: {
|
|
8734
|
+
id: string;
|
|
8735
|
+
label: string;
|
|
8736
|
+
score?: number;
|
|
8737
|
+
contractId?: string;
|
|
8738
|
+
/** @enum {string} */
|
|
8739
|
+
kind: "repo" | "package" | "protocol";
|
|
8740
|
+
};
|
|
8741
|
+
WorkspaceKnowledgeGraphEdgeDto: {
|
|
8742
|
+
/** @description Source node id (usually repoId) */
|
|
8743
|
+
from: string;
|
|
8744
|
+
/** @description Target node id (usually repoId) */
|
|
8745
|
+
to: string;
|
|
8746
|
+
relation: string;
|
|
8747
|
+
label?: string;
|
|
8748
|
+
/** @enum {string} */
|
|
8749
|
+
certainty?: "fact" | "inference" | "possibility";
|
|
8750
|
+
};
|
|
8751
|
+
WorkspaceKnowledgeGraphDto: {
|
|
8752
|
+
/** @enum {string} */
|
|
8753
|
+
kind: "workspace-kg";
|
|
8754
|
+
version: number;
|
|
8755
|
+
/** Format: date-time */
|
|
8756
|
+
exportedAt: string;
|
|
8757
|
+
nodes: components["schemas"]["WorkspaceKnowledgeGraphNodeDto"][];
|
|
8758
|
+
edges: components["schemas"]["WorkspaceKnowledgeGraphEdgeDto"][];
|
|
8759
|
+
};
|
|
8760
|
+
WorkspaceKnowledgeCrossRepoLinkDto: {
|
|
8761
|
+
/** Format: uuid */
|
|
8762
|
+
fromRepoId: string;
|
|
8763
|
+
/** Format: uuid */
|
|
8764
|
+
toRepoId: string;
|
|
8765
|
+
fromRepoName?: string;
|
|
8766
|
+
toRepoName?: string;
|
|
8767
|
+
relation: string;
|
|
8768
|
+
/** @enum {string} */
|
|
8769
|
+
certainty: "fact" | "inference" | "possibility";
|
|
8770
|
+
evidence: string;
|
|
8771
|
+
label: string;
|
|
8772
|
+
};
|
|
8773
|
+
WorkspaceKnowledgePackRepoDto: {
|
|
8774
|
+
/** Format: uuid */
|
|
8775
|
+
repoId: string;
|
|
8776
|
+
repoName: string;
|
|
8777
|
+
commitSha?: string | null;
|
|
8778
|
+
providerSlug?: string | null;
|
|
8779
|
+
wikiOutline?: {
|
|
8780
|
+
slug: string;
|
|
8781
|
+
title: string;
|
|
8782
|
+
}[];
|
|
8783
|
+
};
|
|
8784
|
+
WorkspaceKnowledgePackPageDto: {
|
|
8785
|
+
slug: string;
|
|
8786
|
+
title: string;
|
|
8787
|
+
bodyMd: string;
|
|
8788
|
+
};
|
|
8789
|
+
WorkspaceKnowledgePackDto: {
|
|
8790
|
+
/** @enum {string} */
|
|
8791
|
+
kind: "wkg-pack";
|
|
8792
|
+
version: number;
|
|
8793
|
+
/** Format: date-time */
|
|
8794
|
+
exportedAt: string;
|
|
8795
|
+
workspaceName?: string;
|
|
8796
|
+
pages: components["schemas"]["WorkspaceKnowledgePackPageDto"][];
|
|
8797
|
+
crossRepoLinks: components["schemas"]["WorkspaceKnowledgeCrossRepoLinkDto"][];
|
|
8798
|
+
repos: components["schemas"]["WorkspaceKnowledgePackRepoDto"][];
|
|
8799
|
+
graph?: components["schemas"]["WorkspaceKnowledgeGraphDto"];
|
|
8800
|
+
workspaceContext?: components["schemas"]["WorkspaceContextInsightsDto"];
|
|
8801
|
+
};
|
|
8451
8802
|
CodeIntelligenceUsageDto: {
|
|
8452
8803
|
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb, wiki_json_outline, wiki_enrich, …) */
|
|
8453
8804
|
operation: string;
|
|
@@ -9374,6 +9725,17 @@ export type ActivityLogActorDto = components['schemas']['ActivityLogActorDto'];
|
|
|
9374
9725
|
export type ActivityLogEntryDto = components['schemas']['ActivityLogEntryDto'];
|
|
9375
9726
|
export type WorkspaceAbsenceDto = components['schemas']['WorkspaceAbsenceDto'];
|
|
9376
9727
|
export type WorkspaceAbsenceListDto = components['schemas']['WorkspaceAbsenceListDto'];
|
|
9728
|
+
export type IngestCoverageGapDto = components['schemas']['IngestCoverageGapDto'];
|
|
9729
|
+
export type IngestCoverageLastRunDto = components['schemas']['IngestCoverageLastRunDto'];
|
|
9730
|
+
export type IngestCoverageProductivityRepoDto = components['schemas']['IngestCoverageProductivityRepoDto'];
|
|
9731
|
+
export type IngestCoverageProductivityDetailDto = components['schemas']['IngestCoverageProductivityDetailDto'];
|
|
9732
|
+
export type IngestCoverageFactFamilyDto = components['schemas']['IngestCoverageFactFamilyDto'];
|
|
9733
|
+
export type IngestCoverageAiDetailDto = components['schemas']['IngestCoverageAiDetailDto'];
|
|
9734
|
+
export type IngestCoverageSdlcComponentDto = components['schemas']['IngestCoverageSdlcComponentDto'];
|
|
9735
|
+
export type IngestCoverageSdlcDetailDto = components['schemas']['IngestCoverageSdlcDetailDto'];
|
|
9736
|
+
export type IngestCoverageSyncDetailDto = components['schemas']['IngestCoverageSyncDetailDto'];
|
|
9737
|
+
export type IngestCoveragePipelineDto = components['schemas']['IngestCoveragePipelineDto'];
|
|
9738
|
+
export type IngestCoverageDto = components['schemas']['IngestCoverageDto'];
|
|
9377
9739
|
export type HrisSyncStatusDto = components['schemas']['HrisSyncStatusDto'];
|
|
9378
9740
|
export type HrisSyncStatusListDto = components['schemas']['HrisSyncStatusListDto'];
|
|
9379
9741
|
export type ZenHrReconnectResultDto = components['schemas']['ZenHrReconnectResultDto'];
|
|
@@ -9464,11 +9826,20 @@ export type RepoWikiJsonSummaryDto = components['schemas']['RepoWikiJsonSummaryD
|
|
|
9464
9826
|
export type RepoWikiJsonSummaryListDto = components['schemas']['RepoWikiJsonSummaryListDto'];
|
|
9465
9827
|
export type GenerateWorkspaceKnowledgePagesBodyDto = components['schemas']['GenerateWorkspaceKnowledgePagesBodyDto'];
|
|
9466
9828
|
export type GenerateWorkspaceKnowledgePagesResultDto = components['schemas']['GenerateWorkspaceKnowledgePagesResultDto'];
|
|
9829
|
+
export type WorkspaceContextGenerationStatusDto = components['schemas']['WorkspaceContextGenerationStatusDto'];
|
|
9467
9830
|
export type GeneratePrdDraftBodyDto = components['schemas']['GeneratePrdDraftBodyDto'];
|
|
9468
9831
|
export type GeneratePrdDraftResultDto = components['schemas']['GeneratePrdDraftResultDto'];
|
|
9469
9832
|
export type WorkspaceKnowledgePageDto = components['schemas']['WorkspaceKnowledgePageDto'];
|
|
9470
9833
|
export type WorkspaceKnowledgeSystemContextDto = components['schemas']['WorkspaceKnowledgeSystemContextDto'];
|
|
9834
|
+
export type WorkspaceContextInsightsDto = components['schemas']['WorkspaceContextInsightsDto'];
|
|
9471
9835
|
export type WorkspaceKnowledgePageListDto = components['schemas']['WorkspaceKnowledgePageListDto'];
|
|
9836
|
+
export type WorkspaceKnowledgeGraphNodeDto = components['schemas']['WorkspaceKnowledgeGraphNodeDto'];
|
|
9837
|
+
export type WorkspaceKnowledgeGraphEdgeDto = components['schemas']['WorkspaceKnowledgeGraphEdgeDto'];
|
|
9838
|
+
export type WorkspaceKnowledgeGraphDto = components['schemas']['WorkspaceKnowledgeGraphDto'];
|
|
9839
|
+
export type WorkspaceKnowledgeCrossRepoLinkDto = components['schemas']['WorkspaceKnowledgeCrossRepoLinkDto'];
|
|
9840
|
+
export type WorkspaceKnowledgePackRepoDto = components['schemas']['WorkspaceKnowledgePackRepoDto'];
|
|
9841
|
+
export type WorkspaceKnowledgePackPageDto = components['schemas']['WorkspaceKnowledgePackPageDto'];
|
|
9842
|
+
export type WorkspaceKnowledgePackDto = components['schemas']['WorkspaceKnowledgePackDto'];
|
|
9472
9843
|
export type CodeIntelligenceUsageDto = components['schemas']['CodeIntelligenceUsageDto'];
|
|
9473
9844
|
export type CodeIntelligenceTokenUsageByOperationDto = components['schemas']['CodeIntelligenceTokenUsageByOperationDto'];
|
|
9474
9845
|
export type CodeIntelligenceTokenUsageByRepoDto = components['schemas']['CodeIntelligenceTokenUsageByRepoDto'];
|
|
@@ -17619,6 +17990,29 @@ export interface operations {
|
|
|
17619
17990
|
};
|
|
17620
17991
|
};
|
|
17621
17992
|
};
|
|
17993
|
+
getWorkspaceContextGenerationStatus: {
|
|
17994
|
+
parameters: {
|
|
17995
|
+
query?: never;
|
|
17996
|
+
header?: never;
|
|
17997
|
+
path: {
|
|
17998
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17999
|
+
};
|
|
18000
|
+
cookie?: never;
|
|
18001
|
+
};
|
|
18002
|
+
requestBody?: never;
|
|
18003
|
+
responses: {
|
|
18004
|
+
/** @description Current or most recent workspace context generation phase */
|
|
18005
|
+
200: {
|
|
18006
|
+
headers: {
|
|
18007
|
+
[name: string]: unknown;
|
|
18008
|
+
};
|
|
18009
|
+
content: {
|
|
18010
|
+
"application/json": components["schemas"]["WorkspaceContextGenerationStatusDto"];
|
|
18011
|
+
};
|
|
18012
|
+
};
|
|
18013
|
+
401: components["responses"]["Unauthorized"];
|
|
18014
|
+
};
|
|
18015
|
+
};
|
|
17622
18016
|
generatePrdDraft: {
|
|
17623
18017
|
parameters: {
|
|
17624
18018
|
query?: never;
|
|
@@ -17667,6 +18061,85 @@ export interface operations {
|
|
|
17667
18061
|
};
|
|
17668
18062
|
};
|
|
17669
18063
|
};
|
|
18064
|
+
getWorkspaceKnowledgeGraph: {
|
|
18065
|
+
parameters: {
|
|
18066
|
+
query?: never;
|
|
18067
|
+
header?: never;
|
|
18068
|
+
path: {
|
|
18069
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18070
|
+
};
|
|
18071
|
+
cookie?: never;
|
|
18072
|
+
};
|
|
18073
|
+
requestBody?: never;
|
|
18074
|
+
responses: {
|
|
18075
|
+
/** @description Workspace knowledge graph */
|
|
18076
|
+
200: {
|
|
18077
|
+
headers: {
|
|
18078
|
+
[name: string]: unknown;
|
|
18079
|
+
};
|
|
18080
|
+
content: {
|
|
18081
|
+
"application/json": components["schemas"]["WorkspaceKnowledgeGraphDto"];
|
|
18082
|
+
};
|
|
18083
|
+
};
|
|
18084
|
+
401: components["responses"]["Unauthorized"];
|
|
18085
|
+
/** @description Graph not generated yet */
|
|
18086
|
+
404: {
|
|
18087
|
+
headers: {
|
|
18088
|
+
[name: string]: unknown;
|
|
18089
|
+
};
|
|
18090
|
+
content?: never;
|
|
18091
|
+
};
|
|
18092
|
+
};
|
|
18093
|
+
};
|
|
18094
|
+
exportWorkspaceKnowledgePages: {
|
|
18095
|
+
parameters: {
|
|
18096
|
+
query?: {
|
|
18097
|
+
format?: "markdown" | "wkg-pack" | "zip";
|
|
18098
|
+
/** @description How to rewrite ecg:// links in markdown export */
|
|
18099
|
+
linkMode?: "github" | "platform" | "relative";
|
|
18100
|
+
};
|
|
18101
|
+
header?: never;
|
|
18102
|
+
path: {
|
|
18103
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18104
|
+
};
|
|
18105
|
+
cookie?: never;
|
|
18106
|
+
};
|
|
18107
|
+
requestBody?: never;
|
|
18108
|
+
responses: {
|
|
18109
|
+
/** @description Export payload (markdown body or wkg-pack JSON) */
|
|
18110
|
+
200: {
|
|
18111
|
+
headers: {
|
|
18112
|
+
[name: string]: unknown;
|
|
18113
|
+
};
|
|
18114
|
+
content: {
|
|
18115
|
+
"text/markdown": string;
|
|
18116
|
+
"application/json": components["schemas"]["WorkspaceKnowledgePackDto"];
|
|
18117
|
+
};
|
|
18118
|
+
};
|
|
18119
|
+
401: components["responses"]["Unauthorized"];
|
|
18120
|
+
/** @description Code Intelligence is disabled for this workspace */
|
|
18121
|
+
403: {
|
|
18122
|
+
headers: {
|
|
18123
|
+
[name: string]: unknown;
|
|
18124
|
+
};
|
|
18125
|
+
content?: never;
|
|
18126
|
+
};
|
|
18127
|
+
/** @description No workspace knowledge pages to export */
|
|
18128
|
+
404: {
|
|
18129
|
+
headers: {
|
|
18130
|
+
[name: string]: unknown;
|
|
18131
|
+
};
|
|
18132
|
+
content?: never;
|
|
18133
|
+
};
|
|
18134
|
+
/** @description ZIP export not implemented (use markdown or wkg-pack) */
|
|
18135
|
+
501: {
|
|
18136
|
+
headers: {
|
|
18137
|
+
[name: string]: unknown;
|
|
18138
|
+
};
|
|
18139
|
+
content?: never;
|
|
18140
|
+
};
|
|
18141
|
+
};
|
|
18142
|
+
};
|
|
17670
18143
|
listRepoWikiJsonSummaries: {
|
|
17671
18144
|
parameters: {
|
|
17672
18145
|
query?: never;
|
|
@@ -19376,6 +19849,30 @@ export interface operations {
|
|
|
19376
19849
|
503: components["responses"]["ZenHrSyncInProgress"];
|
|
19377
19850
|
};
|
|
19378
19851
|
};
|
|
19852
|
+
getWorkspaceIngestCoverage: {
|
|
19853
|
+
parameters: {
|
|
19854
|
+
query?: never;
|
|
19855
|
+
header?: never;
|
|
19856
|
+
path: {
|
|
19857
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19858
|
+
};
|
|
19859
|
+
cookie?: never;
|
|
19860
|
+
};
|
|
19861
|
+
requestBody?: never;
|
|
19862
|
+
responses: {
|
|
19863
|
+
/** @description Ingest coverage for connected pipelines */
|
|
19864
|
+
200: {
|
|
19865
|
+
headers: {
|
|
19866
|
+
[name: string]: unknown;
|
|
19867
|
+
};
|
|
19868
|
+
content: {
|
|
19869
|
+
"application/json": components["schemas"]["IngestCoverageDto"];
|
|
19870
|
+
};
|
|
19871
|
+
};
|
|
19872
|
+
401: components["responses"]["Unauthorized"];
|
|
19873
|
+
403: components["responses"]["Forbidden"];
|
|
19874
|
+
};
|
|
19875
|
+
};
|
|
19379
19876
|
getHrisSyncStatus: {
|
|
19380
19877
|
parameters: {
|
|
19381
19878
|
query?: never;
|