@thinkai/tai-api-contract 2.219.0 → 2.221.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.
|
@@ -795,6 +795,108 @@ export interface paths {
|
|
|
795
795
|
patch: operations["patchMyOrgChartMember"];
|
|
796
796
|
trace?: never;
|
|
797
797
|
};
|
|
798
|
+
"/workspaces/{workspaceId}/pm-mappings/suggestions": {
|
|
799
|
+
parameters: {
|
|
800
|
+
query?: never;
|
|
801
|
+
header?: never;
|
|
802
|
+
path?: never;
|
|
803
|
+
cookie?: never;
|
|
804
|
+
};
|
|
805
|
+
/**
|
|
806
|
+
* Suggest org-team ↔ PM entity mappings
|
|
807
|
+
* @description Returns name/key-matched suggestions between org-chart teams and connected PM entities (Jira projects, Linear teams, GitHub Issues repositories, Azure Boards teams). Soft-fails per provider when a source is missing or unreachable. ADR 004 / workspace #629.
|
|
808
|
+
*/
|
|
809
|
+
get: operations["listPmMappingSuggestions"];
|
|
810
|
+
put?: never;
|
|
811
|
+
post?: never;
|
|
812
|
+
delete?: never;
|
|
813
|
+
options?: never;
|
|
814
|
+
head?: never;
|
|
815
|
+
patch?: never;
|
|
816
|
+
trace?: never;
|
|
817
|
+
};
|
|
818
|
+
"/workspaces/{workspaceId}/org-chart/teams/{teamId}/pm-mappings": {
|
|
819
|
+
parameters: {
|
|
820
|
+
query?: never;
|
|
821
|
+
header?: never;
|
|
822
|
+
path?: never;
|
|
823
|
+
cookie?: never;
|
|
824
|
+
};
|
|
825
|
+
/** List PM mappings for an org-chart team */
|
|
826
|
+
get: operations["listOrgTeamPmMappings"];
|
|
827
|
+
/**
|
|
828
|
+
* Confirm PM mappings for an org-chart team
|
|
829
|
+
* @description Replaces confirmed PM entity mappings for this org team. Prior confirmed rows for the team are marked inactive. Requires editor or admin workspace role.
|
|
830
|
+
*/
|
|
831
|
+
put: operations["putOrgTeamPmMappings"];
|
|
832
|
+
post?: never;
|
|
833
|
+
delete?: never;
|
|
834
|
+
options?: never;
|
|
835
|
+
head?: never;
|
|
836
|
+
patch?: never;
|
|
837
|
+
trace?: never;
|
|
838
|
+
};
|
|
839
|
+
"/workspaces/{workspaceId}/pm-link-gaps": {
|
|
840
|
+
parameters: {
|
|
841
|
+
query?: never;
|
|
842
|
+
header?: never;
|
|
843
|
+
path?: never;
|
|
844
|
+
cookie?: never;
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* List ticket↔PR links missing a PM tool link
|
|
848
|
+
* @description Returns ticket↔PR associations known only via derived issue keys (`link_source=derived`), not an authoritative PM tool remote link. Used for admin gap surfacing (ADR 004).
|
|
849
|
+
*/
|
|
850
|
+
get: operations["listPmLinkGaps"];
|
|
851
|
+
put?: never;
|
|
852
|
+
post?: never;
|
|
853
|
+
delete?: never;
|
|
854
|
+
options?: never;
|
|
855
|
+
head?: never;
|
|
856
|
+
patch?: never;
|
|
857
|
+
trace?: never;
|
|
858
|
+
};
|
|
859
|
+
"/workspaces/{workspaceId}/business-projects": {
|
|
860
|
+
parameters: {
|
|
861
|
+
query?: never;
|
|
862
|
+
header?: never;
|
|
863
|
+
path?: never;
|
|
864
|
+
cookie?: never;
|
|
865
|
+
};
|
|
866
|
+
/** List business projects */
|
|
867
|
+
get: operations["listBusinessProjects"];
|
|
868
|
+
put?: never;
|
|
869
|
+
/**
|
|
870
|
+
* Create or upsert a business project
|
|
871
|
+
* @description Upserts by workspace + slug. Requires editor or admin workspace role.
|
|
872
|
+
*/
|
|
873
|
+
post: operations["postBusinessProject"];
|
|
874
|
+
delete?: never;
|
|
875
|
+
options?: never;
|
|
876
|
+
head?: never;
|
|
877
|
+
patch?: never;
|
|
878
|
+
trace?: never;
|
|
879
|
+
};
|
|
880
|
+
"/workspaces/{workspaceId}/insights/pm-roi": {
|
|
881
|
+
parameters: {
|
|
882
|
+
query?: never;
|
|
883
|
+
header?: never;
|
|
884
|
+
path?: never;
|
|
885
|
+
cookie?: never;
|
|
886
|
+
};
|
|
887
|
+
/**
|
|
888
|
+
* PM-attributed ROI
|
|
889
|
+
* @description Ticket/project-attributed AI ROI from confirmed PM mappings and ticket↔PR links (ADR 004). `available` is false when there are no confirmed mappings or no tool-linked PRs; breakdowns by org team and business project are included when mapped.
|
|
890
|
+
*/
|
|
891
|
+
get: operations["getInsightsPmRoi"];
|
|
892
|
+
put?: never;
|
|
893
|
+
post?: never;
|
|
894
|
+
delete?: never;
|
|
895
|
+
options?: never;
|
|
896
|
+
head?: never;
|
|
897
|
+
patch?: never;
|
|
898
|
+
trace?: never;
|
|
899
|
+
};
|
|
798
900
|
"/workspaces/{workspaceId}/config": {
|
|
799
901
|
parameters: {
|
|
800
902
|
query?: never;
|
|
@@ -4727,6 +4829,26 @@ export interface paths {
|
|
|
4727
4829
|
patch?: never;
|
|
4728
4830
|
trace?: never;
|
|
4729
4831
|
};
|
|
4832
|
+
"/workspaces/{workspaceId}/code-chat/tools/ask": {
|
|
4833
|
+
parameters: {
|
|
4834
|
+
query?: never;
|
|
4835
|
+
header?: never;
|
|
4836
|
+
path?: never;
|
|
4837
|
+
cookie?: never;
|
|
4838
|
+
};
|
|
4839
|
+
get?: never;
|
|
4840
|
+
put?: never;
|
|
4841
|
+
/**
|
|
4842
|
+
* MCP/agent tool — grounded Ask answer with citations
|
|
4843
|
+
* @description Read-only. Runs the same Ask pipeline as Conversations for the repos in `repoIds` (every ready repo when `repoIds` is omitted). Does not edit files or open pull requests. The answer is `result.content` with `result.citations`. Other graph tools, when given more than one repo, return the same rows as a single repo plus `repoId` and `repoName`.
|
|
4844
|
+
*/
|
|
4845
|
+
post: operations["codeChatAskTool"];
|
|
4846
|
+
delete?: never;
|
|
4847
|
+
options?: never;
|
|
4848
|
+
head?: never;
|
|
4849
|
+
patch?: never;
|
|
4850
|
+
trace?: never;
|
|
4851
|
+
};
|
|
4730
4852
|
"/notifications/email/unsubscribe": {
|
|
4731
4853
|
parameters: {
|
|
4732
4854
|
query?: never;
|
|
@@ -6564,6 +6686,129 @@ export interface components {
|
|
|
6564
6686
|
SonarQubeRepoMappingsValidateResponseDto: {
|
|
6565
6687
|
results: components["schemas"]["SonarQubeRepoMappingValidateRowDto"][];
|
|
6566
6688
|
};
|
|
6689
|
+
/**
|
|
6690
|
+
* @description Project-management connector used for team mapping and ticket↔PR links.
|
|
6691
|
+
* @enum {string}
|
|
6692
|
+
*/
|
|
6693
|
+
PmProvider: "jira" | "linear" | "github_issues" | "azure_boards";
|
|
6694
|
+
PmTeamMappingDto: {
|
|
6695
|
+
/** Format: uuid */
|
|
6696
|
+
id: string;
|
|
6697
|
+
/** Format: uuid */
|
|
6698
|
+
workspaceId: string;
|
|
6699
|
+
orgTeamId: string;
|
|
6700
|
+
provider: components["schemas"]["PmProvider"];
|
|
6701
|
+
/** @description e.g. `project` (Jira), `team` (Linear). */
|
|
6702
|
+
pmEntityType: string;
|
|
6703
|
+
pmEntityId: string;
|
|
6704
|
+
pmEntityKey?: string | null;
|
|
6705
|
+
pmEntityName?: string | null;
|
|
6706
|
+
/** @enum {string} */
|
|
6707
|
+
status: "suggested" | "confirmed" | "inactive";
|
|
6708
|
+
/** Format: date-time */
|
|
6709
|
+
suggestedAt: string;
|
|
6710
|
+
/** Format: date-time */
|
|
6711
|
+
confirmedAt?: string | null;
|
|
6712
|
+
/** Format: date-time */
|
|
6713
|
+
updatedAt: string;
|
|
6714
|
+
};
|
|
6715
|
+
PmTeamMappingsListDto: {
|
|
6716
|
+
mappings: components["schemas"]["PmTeamMappingDto"][];
|
|
6717
|
+
};
|
|
6718
|
+
PmTeamMappingsPutDto: {
|
|
6719
|
+
mappings: {
|
|
6720
|
+
provider: components["schemas"]["PmProvider"];
|
|
6721
|
+
pmEntityType: string;
|
|
6722
|
+
pmEntityId: string;
|
|
6723
|
+
pmEntityKey?: string | null;
|
|
6724
|
+
pmEntityName?: string | null;
|
|
6725
|
+
}[];
|
|
6726
|
+
};
|
|
6727
|
+
PmMappingSuggestionDto: {
|
|
6728
|
+
orgTeamId: string;
|
|
6729
|
+
orgTeamName: string;
|
|
6730
|
+
provider: components["schemas"]["PmProvider"];
|
|
6731
|
+
pmEntityType: string;
|
|
6732
|
+
pmEntityId: string;
|
|
6733
|
+
pmEntityKey?: string | null;
|
|
6734
|
+
pmEntityName?: string | null;
|
|
6735
|
+
/**
|
|
6736
|
+
* @description Match quality between org team name and PM entity name/key.
|
|
6737
|
+
* @enum {string}
|
|
6738
|
+
*/
|
|
6739
|
+
confidence: "exact" | "normalized";
|
|
6740
|
+
};
|
|
6741
|
+
PmLinkGapDto: {
|
|
6742
|
+
pmProvider: components["schemas"]["PmProvider"];
|
|
6743
|
+
ticketKey: string;
|
|
6744
|
+
ticketId?: string | null;
|
|
6745
|
+
/** @enum {string} */
|
|
6746
|
+
scmProvider: "github" | "gitlab" | "bitbucket";
|
|
6747
|
+
scmOwner?: string | null;
|
|
6748
|
+
scmRepo: string;
|
|
6749
|
+
prNumber: number;
|
|
6750
|
+
prUrl?: string | null;
|
|
6751
|
+
/** @enum {string} */
|
|
6752
|
+
linkSource: "derived";
|
|
6753
|
+
orgTeamId?: string | null;
|
|
6754
|
+
/** Format: date-time */
|
|
6755
|
+
updatedAt: string;
|
|
6756
|
+
};
|
|
6757
|
+
PmLinkGapsDto: {
|
|
6758
|
+
gaps: components["schemas"]["PmLinkGapDto"][];
|
|
6759
|
+
};
|
|
6760
|
+
BusinessProjectDto: {
|
|
6761
|
+
/**
|
|
6762
|
+
* Format: uuid
|
|
6763
|
+
* @description Present on responses; optional on create (server assigns).
|
|
6764
|
+
*/
|
|
6765
|
+
id?: string;
|
|
6766
|
+
/** Format: uuid */
|
|
6767
|
+
workspaceId?: string;
|
|
6768
|
+
name: string;
|
|
6769
|
+
slug: string;
|
|
6770
|
+
pmProvider?: components["schemas"]["PmProvider"] | null;
|
|
6771
|
+
pmEntityType?: string | null;
|
|
6772
|
+
pmEntityId?: string | null;
|
|
6773
|
+
pmEntityKey?: string | null;
|
|
6774
|
+
orgTeamId?: string | null;
|
|
6775
|
+
/** @enum {string} */
|
|
6776
|
+
source?: "mirrored" | "override" | "manual";
|
|
6777
|
+
/** @enum {string} */
|
|
6778
|
+
status?: "active" | "archived";
|
|
6779
|
+
/** Format: date-time */
|
|
6780
|
+
createdAt?: string;
|
|
6781
|
+
/** Format: date-time */
|
|
6782
|
+
updatedAt?: string;
|
|
6783
|
+
};
|
|
6784
|
+
BusinessProjectsListDto: {
|
|
6785
|
+
projects: components["schemas"]["BusinessProjectDto"][];
|
|
6786
|
+
};
|
|
6787
|
+
/** @description PM-attributed ROI from confirmed mappings and ticket↔PR links (ADR 004). Empty breakdowns and `available: false` when no tool-linked PRs / mappings. */
|
|
6788
|
+
PmRoiDto: {
|
|
6789
|
+
/** Format: uuid */
|
|
6790
|
+
workspaceId: string;
|
|
6791
|
+
/** @description True when at least one confirmed mapping and one tool-linked PR exist. */
|
|
6792
|
+
available: boolean;
|
|
6793
|
+
metrics: {
|
|
6794
|
+
mappedTeamCount: number;
|
|
6795
|
+
toolLinkedPrCount: number;
|
|
6796
|
+
gapCount: number;
|
|
6797
|
+
attributedSpendUsd: number | null;
|
|
6798
|
+
};
|
|
6799
|
+
byOrgTeam: {
|
|
6800
|
+
orgTeamId: string;
|
|
6801
|
+
toolLinkedPrCount: number;
|
|
6802
|
+
attributedSpendUsd: number | null;
|
|
6803
|
+
}[];
|
|
6804
|
+
byBusinessProject: {
|
|
6805
|
+
/** Format: uuid */
|
|
6806
|
+
businessProjectId: string;
|
|
6807
|
+
name?: string | null;
|
|
6808
|
+
toolLinkedPrCount: number;
|
|
6809
|
+
attributedSpendUsd: number | null;
|
|
6810
|
+
}[];
|
|
6811
|
+
};
|
|
6567
6812
|
/** @description PagerDuty incident monitoring source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires a REST API v2 token (an "API Access Key" from PagerDuty → **Integrations → API Access Keys**). */
|
|
6568
6813
|
PagerDutySourceDto: {
|
|
6569
6814
|
/** @enum {string} */
|
|
@@ -6927,6 +7172,46 @@ export interface components {
|
|
|
6927
7172
|
/** @description Linear workspace URL when known from the last successful verify. */
|
|
6928
7173
|
workspaceUrl?: string;
|
|
6929
7174
|
};
|
|
7175
|
+
/** @description GitHub Issues PM source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Uses a GitHub PAT (or fine-grained token) with issues read access. Optional `repos` limits ingestion to listed `owner/repo` slugs (comma-separated string or array). */
|
|
7176
|
+
GitHubIssuesSourceDto: {
|
|
7177
|
+
/** @enum {string} */
|
|
7178
|
+
type: "github_issues";
|
|
7179
|
+
/** @description GitHub PAT / token (write-only on PUT). */
|
|
7180
|
+
token: string;
|
|
7181
|
+
/** @description Optional repo filter (`owner/repo` CSV string or array). */
|
|
7182
|
+
repos?: string | string[];
|
|
7183
|
+
};
|
|
7184
|
+
/** @description Redacted GitHub Issues source returned by `GET /workspaces/{workspaceId}/config`. Raw token is never returned. */
|
|
7185
|
+
GitHubIssuesSourceConfigDto: {
|
|
7186
|
+
/** @enum {string} */
|
|
7187
|
+
type: "github_issues";
|
|
7188
|
+
/** @description Whether a GitHub token is stored for this workspace. */
|
|
7189
|
+
hasToken: boolean;
|
|
7190
|
+
/** @description Configured repo filter when set. */
|
|
7191
|
+
repos?: string | string[];
|
|
7192
|
+
};
|
|
7193
|
+
/** @description Azure Boards PM source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires organization URL, project name, and a personal access token (PAT). */
|
|
7194
|
+
AzureBoardsSourceDto: {
|
|
7195
|
+
/** @enum {string} */
|
|
7196
|
+
type: "azure_boards";
|
|
7197
|
+
/** @description Azure DevOps organization URL (e.g. `https://dev.azure.com/acme`). */
|
|
7198
|
+
orgUrl: string;
|
|
7199
|
+
/** @description Azure DevOps project name. */
|
|
7200
|
+
project: string;
|
|
7201
|
+
/** @description Azure DevOps personal access token (write-only on PUT). */
|
|
7202
|
+
pat: string;
|
|
7203
|
+
};
|
|
7204
|
+
/** @description Redacted Azure Boards source returned by `GET /workspaces/{workspaceId}/config`. Raw PAT is never returned. */
|
|
7205
|
+
AzureBoardsSourceConfigDto: {
|
|
7206
|
+
/** @enum {string} */
|
|
7207
|
+
type: "azure_boards";
|
|
7208
|
+
/** @description Whether a PAT is stored for this workspace. */
|
|
7209
|
+
hasToken: boolean;
|
|
7210
|
+
/** @description Configured Azure DevOps organization URL. */
|
|
7211
|
+
orgUrl: string;
|
|
7212
|
+
/** @description Configured Azure DevOps project name. */
|
|
7213
|
+
project: string;
|
|
7214
|
+
};
|
|
6930
7215
|
/**
|
|
6931
7216
|
* @description The agent execution account used for Agentic Foundation runs (readiness scanner + fix queue). Exactly one is active per workspace.
|
|
6932
7217
|
* - `thinkai_platform_cursor`: ThinkAI platform Cursor key (Cursor Agent CLI) — opt-in, never default.
|
|
@@ -7042,7 +7327,7 @@ export interface components {
|
|
|
7042
7327
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
7043
7328
|
};
|
|
7044
7329
|
WorkspaceConfigDto: {
|
|
7045
|
-
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["SurveyMonkeySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
7330
|
+
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["SurveyMonkeySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["GitHubIssuesSourceConfigDto"] | components["schemas"]["AzureBoardsSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
7046
7331
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
7047
7332
|
/** @enum {string|null} */
|
|
7048
7333
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -12660,6 +12945,15 @@ export interface components {
|
|
|
12660
12945
|
intent?: "inventory_apis" | "inventory_modules";
|
|
12661
12946
|
/** @description Previously uploaded attachment ids to bind to this user turn */
|
|
12662
12947
|
attachmentIds?: string[];
|
|
12948
|
+
/** @description Slug of the wiki page the user has open. Prepended to Ask wiki context when the question is relevant to it or refers to it deictically ("explain this page"). */
|
|
12949
|
+
focusWikiSlug?: string;
|
|
12950
|
+
/**
|
|
12951
|
+
* Format: uuid
|
|
12952
|
+
* @description Repository of `focusWikiSlug` (slugs such as `overview` repeat across repos).
|
|
12953
|
+
*/
|
|
12954
|
+
focusWikiRepoId?: string;
|
|
12955
|
+
/** @description When true the server replies with `text/event-stream` (`stage`, `token`, `done`, `error` events). The `done` event carries the same JSON as the non-streaming 200 body. */
|
|
12956
|
+
stream?: boolean;
|
|
12663
12957
|
};
|
|
12664
12958
|
CodeChatUploadAttachmentBodyDto: {
|
|
12665
12959
|
filename: string;
|
|
@@ -13374,6 +13668,26 @@ export interface components {
|
|
|
13374
13668
|
maxTokensApprox?: number;
|
|
13375
13669
|
repoIds?: string[];
|
|
13376
13670
|
};
|
|
13671
|
+
CodeChatAskToolBodyDto: {
|
|
13672
|
+
question: string;
|
|
13673
|
+
repoIds?: string[];
|
|
13674
|
+
};
|
|
13675
|
+
CodeChatAskToolResponseDto: {
|
|
13676
|
+
/** @enum {string} */
|
|
13677
|
+
tool: "ask";
|
|
13678
|
+
note?: string;
|
|
13679
|
+
scanned?: {
|
|
13680
|
+
[key: string]: unknown;
|
|
13681
|
+
}[];
|
|
13682
|
+
result: {
|
|
13683
|
+
content: string;
|
|
13684
|
+
mode: string;
|
|
13685
|
+
intent?: string;
|
|
13686
|
+
citations: {
|
|
13687
|
+
[key: string]: unknown;
|
|
13688
|
+
}[];
|
|
13689
|
+
};
|
|
13690
|
+
};
|
|
13377
13691
|
CodeChatContextPackDto: {
|
|
13378
13692
|
/** Format: uuid */
|
|
13379
13693
|
repoId?: string;
|
|
@@ -14263,6 +14577,16 @@ export type SonarQubeRepoMappingsPutDto = components['schemas']['SonarQubeRepoMa
|
|
|
14263
14577
|
export type SonarQubeRepoMappingsListDto = components['schemas']['SonarQubeRepoMappingsListDto'];
|
|
14264
14578
|
export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQubeRepoMappingValidateRowDto'];
|
|
14265
14579
|
export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
|
|
14580
|
+
export type PmProvider = components['schemas']['PmProvider'];
|
|
14581
|
+
export type PmTeamMappingDto = components['schemas']['PmTeamMappingDto'];
|
|
14582
|
+
export type PmTeamMappingsListDto = components['schemas']['PmTeamMappingsListDto'];
|
|
14583
|
+
export type PmTeamMappingsPutDto = components['schemas']['PmTeamMappingsPutDto'];
|
|
14584
|
+
export type PmMappingSuggestionDto = components['schemas']['PmMappingSuggestionDto'];
|
|
14585
|
+
export type PmLinkGapDto = components['schemas']['PmLinkGapDto'];
|
|
14586
|
+
export type PmLinkGapsDto = components['schemas']['PmLinkGapsDto'];
|
|
14587
|
+
export type BusinessProjectDto = components['schemas']['BusinessProjectDto'];
|
|
14588
|
+
export type BusinessProjectsListDto = components['schemas']['BusinessProjectsListDto'];
|
|
14589
|
+
export type PmRoiDto = components['schemas']['PmRoiDto'];
|
|
14266
14590
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
14267
14591
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
14268
14592
|
export type SurveyMonkeySourceDto = components['schemas']['SurveyMonkeySourceDto'];
|
|
@@ -14286,6 +14610,10 @@ export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
|
14286
14610
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
14287
14611
|
export type LinearSourceDto = components['schemas']['LinearSourceDto'];
|
|
14288
14612
|
export type LinearSourceConfigDto = components['schemas']['LinearSourceConfigDto'];
|
|
14613
|
+
export type GitHubIssuesSourceDto = components['schemas']['GitHubIssuesSourceDto'];
|
|
14614
|
+
export type GitHubIssuesSourceConfigDto = components['schemas']['GitHubIssuesSourceConfigDto'];
|
|
14615
|
+
export type AzureBoardsSourceDto = components['schemas']['AzureBoardsSourceDto'];
|
|
14616
|
+
export type AzureBoardsSourceConfigDto = components['schemas']['AzureBoardsSourceConfigDto'];
|
|
14289
14617
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
14290
14618
|
export type PutAgentExecutionProvidersDto = components['schemas']['PutAgentExecutionProvidersDto'];
|
|
14291
14619
|
export type AgentExecutionSkipReasonDto = components['schemas']['AgentExecutionSkipReasonDto'];
|
|
@@ -14849,6 +15177,8 @@ export type CodeChatVisualizeResultDto = components['schemas']['CodeChatVisualiz
|
|
|
14849
15177
|
export type CodeChatCrossEdgesBodyDto = components['schemas']['CodeChatCrossEdgesBodyDto'];
|
|
14850
15178
|
export type CodeChatCrossEdgesResultDto = components['schemas']['CodeChatCrossEdgesResultDto'];
|
|
14851
15179
|
export type CodeChatContextPackBodyDto = components['schemas']['CodeChatContextPackBodyDto'];
|
|
15180
|
+
export type CodeChatAskToolBodyDto = components['schemas']['CodeChatAskToolBodyDto'];
|
|
15181
|
+
export type CodeChatAskToolResponseDto = components['schemas']['CodeChatAskToolResponseDto'];
|
|
14852
15182
|
export type CodeChatContextPackDto = components['schemas']['CodeChatContextPackDto'];
|
|
14853
15183
|
export type CodeInsightsMetricProvenance = components['schemas']['CodeInsightsMetricProvenance'];
|
|
14854
15184
|
export type CodeInsightsMaintainabilityBand = components['schemas']['CodeInsightsMaintainabilityBand'];
|
|
@@ -17470,6 +17800,215 @@ export interface operations {
|
|
|
17470
17800
|
};
|
|
17471
17801
|
};
|
|
17472
17802
|
};
|
|
17803
|
+
listPmMappingSuggestions: {
|
|
17804
|
+
parameters: {
|
|
17805
|
+
query?: never;
|
|
17806
|
+
header?: never;
|
|
17807
|
+
path: {
|
|
17808
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17809
|
+
};
|
|
17810
|
+
cookie?: never;
|
|
17811
|
+
};
|
|
17812
|
+
requestBody?: never;
|
|
17813
|
+
responses: {
|
|
17814
|
+
/** @description Mapping suggestions */
|
|
17815
|
+
200: {
|
|
17816
|
+
headers: {
|
|
17817
|
+
[name: string]: unknown;
|
|
17818
|
+
};
|
|
17819
|
+
content: {
|
|
17820
|
+
"application/json": {
|
|
17821
|
+
suggestions: components["schemas"]["PmMappingSuggestionDto"][];
|
|
17822
|
+
};
|
|
17823
|
+
};
|
|
17824
|
+
};
|
|
17825
|
+
401: components["responses"]["Unauthorized"];
|
|
17826
|
+
403: components["responses"]["Forbidden"];
|
|
17827
|
+
};
|
|
17828
|
+
};
|
|
17829
|
+
listOrgTeamPmMappings: {
|
|
17830
|
+
parameters: {
|
|
17831
|
+
query?: never;
|
|
17832
|
+
header?: never;
|
|
17833
|
+
path: {
|
|
17834
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17835
|
+
/** @description Org-chart team node id. */
|
|
17836
|
+
teamId: string;
|
|
17837
|
+
};
|
|
17838
|
+
cookie?: never;
|
|
17839
|
+
};
|
|
17840
|
+
requestBody?: never;
|
|
17841
|
+
responses: {
|
|
17842
|
+
/** @description Mappings for the team */
|
|
17843
|
+
200: {
|
|
17844
|
+
headers: {
|
|
17845
|
+
[name: string]: unknown;
|
|
17846
|
+
};
|
|
17847
|
+
content: {
|
|
17848
|
+
"application/json": components["schemas"]["PmTeamMappingsListDto"];
|
|
17849
|
+
};
|
|
17850
|
+
};
|
|
17851
|
+
401: components["responses"]["Unauthorized"];
|
|
17852
|
+
403: components["responses"]["Forbidden"];
|
|
17853
|
+
};
|
|
17854
|
+
};
|
|
17855
|
+
putOrgTeamPmMappings: {
|
|
17856
|
+
parameters: {
|
|
17857
|
+
query?: never;
|
|
17858
|
+
header?: never;
|
|
17859
|
+
path: {
|
|
17860
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17861
|
+
/** @description Org-chart team node id. */
|
|
17862
|
+
teamId: string;
|
|
17863
|
+
};
|
|
17864
|
+
cookie?: never;
|
|
17865
|
+
};
|
|
17866
|
+
requestBody: {
|
|
17867
|
+
content: {
|
|
17868
|
+
"application/json": components["schemas"]["PmTeamMappingsPutDto"];
|
|
17869
|
+
};
|
|
17870
|
+
};
|
|
17871
|
+
responses: {
|
|
17872
|
+
/** @description Updated mappings for the team */
|
|
17873
|
+
200: {
|
|
17874
|
+
headers: {
|
|
17875
|
+
[name: string]: unknown;
|
|
17876
|
+
};
|
|
17877
|
+
content: {
|
|
17878
|
+
"application/json": components["schemas"]["PmTeamMappingsListDto"];
|
|
17879
|
+
};
|
|
17880
|
+
};
|
|
17881
|
+
/** @description Invalid request body */
|
|
17882
|
+
400: {
|
|
17883
|
+
headers: {
|
|
17884
|
+
[name: string]: unknown;
|
|
17885
|
+
};
|
|
17886
|
+
content: {
|
|
17887
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17888
|
+
};
|
|
17889
|
+
};
|
|
17890
|
+
401: components["responses"]["Unauthorized"];
|
|
17891
|
+
403: components["responses"]["Forbidden"];
|
|
17892
|
+
/** @description PM entity is already confirmed for a different org team (`code: pm_entity_already_mapped`). */
|
|
17893
|
+
409: {
|
|
17894
|
+
headers: {
|
|
17895
|
+
[name: string]: unknown;
|
|
17896
|
+
};
|
|
17897
|
+
content: {
|
|
17898
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17899
|
+
};
|
|
17900
|
+
};
|
|
17901
|
+
};
|
|
17902
|
+
};
|
|
17903
|
+
listPmLinkGaps: {
|
|
17904
|
+
parameters: {
|
|
17905
|
+
query?: never;
|
|
17906
|
+
header?: never;
|
|
17907
|
+
path: {
|
|
17908
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17909
|
+
};
|
|
17910
|
+
cookie?: never;
|
|
17911
|
+
};
|
|
17912
|
+
requestBody?: never;
|
|
17913
|
+
responses: {
|
|
17914
|
+
/** @description Derived-only ticket↔PR gaps */
|
|
17915
|
+
200: {
|
|
17916
|
+
headers: {
|
|
17917
|
+
[name: string]: unknown;
|
|
17918
|
+
};
|
|
17919
|
+
content: {
|
|
17920
|
+
"application/json": components["schemas"]["PmLinkGapsDto"];
|
|
17921
|
+
};
|
|
17922
|
+
};
|
|
17923
|
+
401: components["responses"]["Unauthorized"];
|
|
17924
|
+
403: components["responses"]["Forbidden"];
|
|
17925
|
+
};
|
|
17926
|
+
};
|
|
17927
|
+
listBusinessProjects: {
|
|
17928
|
+
parameters: {
|
|
17929
|
+
query?: never;
|
|
17930
|
+
header?: never;
|
|
17931
|
+
path: {
|
|
17932
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17933
|
+
};
|
|
17934
|
+
cookie?: never;
|
|
17935
|
+
};
|
|
17936
|
+
requestBody?: never;
|
|
17937
|
+
responses: {
|
|
17938
|
+
/** @description Business projects for the workspace */
|
|
17939
|
+
200: {
|
|
17940
|
+
headers: {
|
|
17941
|
+
[name: string]: unknown;
|
|
17942
|
+
};
|
|
17943
|
+
content: {
|
|
17944
|
+
"application/json": components["schemas"]["BusinessProjectsListDto"];
|
|
17945
|
+
};
|
|
17946
|
+
};
|
|
17947
|
+
401: components["responses"]["Unauthorized"];
|
|
17948
|
+
403: components["responses"]["Forbidden"];
|
|
17949
|
+
};
|
|
17950
|
+
};
|
|
17951
|
+
postBusinessProject: {
|
|
17952
|
+
parameters: {
|
|
17953
|
+
query?: never;
|
|
17954
|
+
header?: never;
|
|
17955
|
+
path: {
|
|
17956
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17957
|
+
};
|
|
17958
|
+
cookie?: never;
|
|
17959
|
+
};
|
|
17960
|
+
requestBody: {
|
|
17961
|
+
content: {
|
|
17962
|
+
"application/json": components["schemas"]["BusinessProjectDto"];
|
|
17963
|
+
};
|
|
17964
|
+
};
|
|
17965
|
+
responses: {
|
|
17966
|
+
/** @description Upserted business project */
|
|
17967
|
+
200: {
|
|
17968
|
+
headers: {
|
|
17969
|
+
[name: string]: unknown;
|
|
17970
|
+
};
|
|
17971
|
+
content: {
|
|
17972
|
+
"application/json": components["schemas"]["BusinessProjectDto"];
|
|
17973
|
+
};
|
|
17974
|
+
};
|
|
17975
|
+
/** @description Invalid request body */
|
|
17976
|
+
400: {
|
|
17977
|
+
headers: {
|
|
17978
|
+
[name: string]: unknown;
|
|
17979
|
+
};
|
|
17980
|
+
content: {
|
|
17981
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17982
|
+
};
|
|
17983
|
+
};
|
|
17984
|
+
401: components["responses"]["Unauthorized"];
|
|
17985
|
+
403: components["responses"]["Forbidden"];
|
|
17986
|
+
};
|
|
17987
|
+
};
|
|
17988
|
+
getInsightsPmRoi: {
|
|
17989
|
+
parameters: {
|
|
17990
|
+
query?: never;
|
|
17991
|
+
header?: never;
|
|
17992
|
+
path: {
|
|
17993
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17994
|
+
};
|
|
17995
|
+
cookie?: never;
|
|
17996
|
+
};
|
|
17997
|
+
requestBody?: never;
|
|
17998
|
+
responses: {
|
|
17999
|
+
/** @description PM ROI payload (empty metrics when unavailable) */
|
|
18000
|
+
200: {
|
|
18001
|
+
headers: {
|
|
18002
|
+
[name: string]: unknown;
|
|
18003
|
+
};
|
|
18004
|
+
content: {
|
|
18005
|
+
"application/json": components["schemas"]["PmRoiDto"];
|
|
18006
|
+
};
|
|
18007
|
+
};
|
|
18008
|
+
401: components["responses"]["Unauthorized"];
|
|
18009
|
+
403: components["responses"]["Forbidden"];
|
|
18010
|
+
};
|
|
18011
|
+
};
|
|
17473
18012
|
getWorkspaceConfig: {
|
|
17474
18013
|
parameters: {
|
|
17475
18014
|
query?: never;
|
|
@@ -18379,7 +18918,7 @@ export interface operations {
|
|
|
18379
18918
|
requestBody: {
|
|
18380
18919
|
content: {
|
|
18381
18920
|
"application/json": {
|
|
18382
|
-
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
18921
|
+
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
18383
18922
|
};
|
|
18384
18923
|
};
|
|
18385
18924
|
};
|
|
@@ -18433,7 +18972,7 @@ export interface operations {
|
|
|
18433
18972
|
};
|
|
18434
18973
|
requestBody: {
|
|
18435
18974
|
content: {
|
|
18436
|
-
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
18975
|
+
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
18437
18976
|
};
|
|
18438
18977
|
};
|
|
18439
18978
|
responses: {
|
|
@@ -26617,13 +27156,14 @@ export interface operations {
|
|
|
26617
27156
|
};
|
|
26618
27157
|
};
|
|
26619
27158
|
responses: {
|
|
26620
|
-
/** @description Assistant message */
|
|
27159
|
+
/** @description Assistant message. With `stream: true` the body is `text/event-stream`: `event: stage` (`{ stage, detail? }`), `event: token` (`{ text }`), `event: done` (CodeChatMessageReplyDto), or `event: error` (`{ error, code }`). */
|
|
26621
27160
|
200: {
|
|
26622
27161
|
headers: {
|
|
26623
27162
|
[name: string]: unknown;
|
|
26624
27163
|
};
|
|
26625
27164
|
content: {
|
|
26626
27165
|
"application/json": components["schemas"]["CodeChatMessageReplyDto"];
|
|
27166
|
+
"text/event-stream": string;
|
|
26627
27167
|
};
|
|
26628
27168
|
};
|
|
26629
27169
|
401: components["responses"]["Unauthorized"];
|
|
@@ -27701,6 +28241,47 @@ export interface operations {
|
|
|
27701
28241
|
};
|
|
27702
28242
|
};
|
|
27703
28243
|
};
|
|
28244
|
+
codeChatAskTool: {
|
|
28245
|
+
parameters: {
|
|
28246
|
+
query?: never;
|
|
28247
|
+
header?: never;
|
|
28248
|
+
path: {
|
|
28249
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
28250
|
+
};
|
|
28251
|
+
cookie?: never;
|
|
28252
|
+
};
|
|
28253
|
+
requestBody: {
|
|
28254
|
+
content: {
|
|
28255
|
+
"application/json": components["schemas"]["CodeChatAskToolBodyDto"];
|
|
28256
|
+
};
|
|
28257
|
+
};
|
|
28258
|
+
responses: {
|
|
28259
|
+
/** @description Grounded answer */
|
|
28260
|
+
200: {
|
|
28261
|
+
headers: {
|
|
28262
|
+
[name: string]: unknown;
|
|
28263
|
+
};
|
|
28264
|
+
content: {
|
|
28265
|
+
"application/json": components["schemas"]["CodeChatAskToolResponseDto"];
|
|
28266
|
+
};
|
|
28267
|
+
};
|
|
28268
|
+
/** @description Missing or oversized question */
|
|
28269
|
+
400: {
|
|
28270
|
+
headers: {
|
|
28271
|
+
[name: string]: unknown;
|
|
28272
|
+
};
|
|
28273
|
+
content?: never;
|
|
28274
|
+
};
|
|
28275
|
+
401: components["responses"]["Unauthorized"];
|
|
28276
|
+
/** @description Corpus not ready */
|
|
28277
|
+
409: {
|
|
28278
|
+
headers: {
|
|
28279
|
+
[name: string]: unknown;
|
|
28280
|
+
};
|
|
28281
|
+
content?: never;
|
|
28282
|
+
};
|
|
28283
|
+
};
|
|
28284
|
+
};
|
|
27704
28285
|
getNotificationEmailUnsubscribe: {
|
|
27705
28286
|
parameters: {
|
|
27706
28287
|
query: {
|