@thinkai/tai-api-contract 2.220.0 → 2.222.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 +637 -3
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +774 -20
- package/package.json +1 -1
- package/src/generated/openapi.ts +637 -3
|
@@ -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;
|
|
@@ -4129,6 +4231,46 @@ export interface paths {
|
|
|
4129
4231
|
patch?: never;
|
|
4130
4232
|
trace?: never;
|
|
4131
4233
|
};
|
|
4234
|
+
"/workspaces/{workspaceId}/code-chat/ecg/sources": {
|
|
4235
|
+
parameters: {
|
|
4236
|
+
query?: never;
|
|
4237
|
+
header?: never;
|
|
4238
|
+
path?: never;
|
|
4239
|
+
cookie?: never;
|
|
4240
|
+
};
|
|
4241
|
+
/**
|
|
4242
|
+
* List ECG connectors
|
|
4243
|
+
* @description Any workspace member. Returns active workspace integrations with ECG fields (`kind`, `readable`, `note`, `enabled`) for Settings → Connectors. Readable today: GitHub, Bitbucket Cloud, Confluence. GitHub Actions and Notion are Coming soon; other connected connectors stay listed as not supported yet.
|
|
4244
|
+
*/
|
|
4245
|
+
get: operations["listEcgSources"];
|
|
4246
|
+
put?: never;
|
|
4247
|
+
post?: never;
|
|
4248
|
+
delete?: never;
|
|
4249
|
+
options?: never;
|
|
4250
|
+
head?: never;
|
|
4251
|
+
patch?: never;
|
|
4252
|
+
trace?: never;
|
|
4253
|
+
};
|
|
4254
|
+
"/workspaces/{workspaceId}/code-chat/ecg/sources/{integrationId}": {
|
|
4255
|
+
parameters: {
|
|
4256
|
+
query?: never;
|
|
4257
|
+
header?: never;
|
|
4258
|
+
path?: never;
|
|
4259
|
+
cookie?: never;
|
|
4260
|
+
};
|
|
4261
|
+
get?: never;
|
|
4262
|
+
put?: never;
|
|
4263
|
+
post?: never;
|
|
4264
|
+
delete?: never;
|
|
4265
|
+
options?: never;
|
|
4266
|
+
head?: never;
|
|
4267
|
+
/**
|
|
4268
|
+
* Toggle ECG for a connector
|
|
4269
|
+
* @description Any workspace member. Sets `enabled` for one integration. Enabling a non-readable connector returns **400** `ecg_connector_not_readable`. Disabling is always allowed.
|
|
4270
|
+
*/
|
|
4271
|
+
patch: operations["patchEcgSource"];
|
|
4272
|
+
trace?: never;
|
|
4273
|
+
};
|
|
4132
4274
|
"/workspaces/{workspaceId}/code-chat/attachments": {
|
|
4133
4275
|
parameters: {
|
|
4134
4276
|
query?: never;
|
|
@@ -6584,6 +6726,129 @@ export interface components {
|
|
|
6584
6726
|
SonarQubeRepoMappingsValidateResponseDto: {
|
|
6585
6727
|
results: components["schemas"]["SonarQubeRepoMappingValidateRowDto"][];
|
|
6586
6728
|
};
|
|
6729
|
+
/**
|
|
6730
|
+
* @description Project-management connector used for team mapping and ticket↔PR links.
|
|
6731
|
+
* @enum {string}
|
|
6732
|
+
*/
|
|
6733
|
+
PmProvider: "jira" | "linear" | "github_issues" | "azure_boards";
|
|
6734
|
+
PmTeamMappingDto: {
|
|
6735
|
+
/** Format: uuid */
|
|
6736
|
+
id: string;
|
|
6737
|
+
/** Format: uuid */
|
|
6738
|
+
workspaceId: string;
|
|
6739
|
+
orgTeamId: string;
|
|
6740
|
+
provider: components["schemas"]["PmProvider"];
|
|
6741
|
+
/** @description e.g. `project` (Jira), `team` (Linear). */
|
|
6742
|
+
pmEntityType: string;
|
|
6743
|
+
pmEntityId: string;
|
|
6744
|
+
pmEntityKey?: string | null;
|
|
6745
|
+
pmEntityName?: string | null;
|
|
6746
|
+
/** @enum {string} */
|
|
6747
|
+
status: "suggested" | "confirmed" | "inactive";
|
|
6748
|
+
/** Format: date-time */
|
|
6749
|
+
suggestedAt: string;
|
|
6750
|
+
/** Format: date-time */
|
|
6751
|
+
confirmedAt?: string | null;
|
|
6752
|
+
/** Format: date-time */
|
|
6753
|
+
updatedAt: string;
|
|
6754
|
+
};
|
|
6755
|
+
PmTeamMappingsListDto: {
|
|
6756
|
+
mappings: components["schemas"]["PmTeamMappingDto"][];
|
|
6757
|
+
};
|
|
6758
|
+
PmTeamMappingsPutDto: {
|
|
6759
|
+
mappings: {
|
|
6760
|
+
provider: components["schemas"]["PmProvider"];
|
|
6761
|
+
pmEntityType: string;
|
|
6762
|
+
pmEntityId: string;
|
|
6763
|
+
pmEntityKey?: string | null;
|
|
6764
|
+
pmEntityName?: string | null;
|
|
6765
|
+
}[];
|
|
6766
|
+
};
|
|
6767
|
+
PmMappingSuggestionDto: {
|
|
6768
|
+
orgTeamId: string;
|
|
6769
|
+
orgTeamName: string;
|
|
6770
|
+
provider: components["schemas"]["PmProvider"];
|
|
6771
|
+
pmEntityType: string;
|
|
6772
|
+
pmEntityId: string;
|
|
6773
|
+
pmEntityKey?: string | null;
|
|
6774
|
+
pmEntityName?: string | null;
|
|
6775
|
+
/**
|
|
6776
|
+
* @description Match quality between org team name and PM entity name/key.
|
|
6777
|
+
* @enum {string}
|
|
6778
|
+
*/
|
|
6779
|
+
confidence: "exact" | "normalized";
|
|
6780
|
+
};
|
|
6781
|
+
PmLinkGapDto: {
|
|
6782
|
+
pmProvider: components["schemas"]["PmProvider"];
|
|
6783
|
+
ticketKey: string;
|
|
6784
|
+
ticketId?: string | null;
|
|
6785
|
+
/** @enum {string} */
|
|
6786
|
+
scmProvider: "github" | "gitlab" | "bitbucket";
|
|
6787
|
+
scmOwner?: string | null;
|
|
6788
|
+
scmRepo: string;
|
|
6789
|
+
prNumber: number;
|
|
6790
|
+
prUrl?: string | null;
|
|
6791
|
+
/** @enum {string} */
|
|
6792
|
+
linkSource: "derived";
|
|
6793
|
+
orgTeamId?: string | null;
|
|
6794
|
+
/** Format: date-time */
|
|
6795
|
+
updatedAt: string;
|
|
6796
|
+
};
|
|
6797
|
+
PmLinkGapsDto: {
|
|
6798
|
+
gaps: components["schemas"]["PmLinkGapDto"][];
|
|
6799
|
+
};
|
|
6800
|
+
BusinessProjectDto: {
|
|
6801
|
+
/**
|
|
6802
|
+
* Format: uuid
|
|
6803
|
+
* @description Present on responses; optional on create (server assigns).
|
|
6804
|
+
*/
|
|
6805
|
+
id?: string;
|
|
6806
|
+
/** Format: uuid */
|
|
6807
|
+
workspaceId?: string;
|
|
6808
|
+
name: string;
|
|
6809
|
+
slug: string;
|
|
6810
|
+
pmProvider?: components["schemas"]["PmProvider"] | null;
|
|
6811
|
+
pmEntityType?: string | null;
|
|
6812
|
+
pmEntityId?: string | null;
|
|
6813
|
+
pmEntityKey?: string | null;
|
|
6814
|
+
orgTeamId?: string | null;
|
|
6815
|
+
/** @enum {string} */
|
|
6816
|
+
source?: "mirrored" | "override" | "manual";
|
|
6817
|
+
/** @enum {string} */
|
|
6818
|
+
status?: "active" | "archived";
|
|
6819
|
+
/** Format: date-time */
|
|
6820
|
+
createdAt?: string;
|
|
6821
|
+
/** Format: date-time */
|
|
6822
|
+
updatedAt?: string;
|
|
6823
|
+
};
|
|
6824
|
+
BusinessProjectsListDto: {
|
|
6825
|
+
projects: components["schemas"]["BusinessProjectDto"][];
|
|
6826
|
+
};
|
|
6827
|
+
/** @description PM-attributed ROI from confirmed mappings and ticket↔PR links (ADR 004). Empty breakdowns and `available: false` when no tool-linked PRs / mappings. */
|
|
6828
|
+
PmRoiDto: {
|
|
6829
|
+
/** Format: uuid */
|
|
6830
|
+
workspaceId: string;
|
|
6831
|
+
/** @description True when at least one confirmed mapping and one tool-linked PR exist. */
|
|
6832
|
+
available: boolean;
|
|
6833
|
+
metrics: {
|
|
6834
|
+
mappedTeamCount: number;
|
|
6835
|
+
toolLinkedPrCount: number;
|
|
6836
|
+
gapCount: number;
|
|
6837
|
+
attributedSpendUsd: number | null;
|
|
6838
|
+
};
|
|
6839
|
+
byOrgTeam: {
|
|
6840
|
+
orgTeamId: string;
|
|
6841
|
+
toolLinkedPrCount: number;
|
|
6842
|
+
attributedSpendUsd: number | null;
|
|
6843
|
+
}[];
|
|
6844
|
+
byBusinessProject: {
|
|
6845
|
+
/** Format: uuid */
|
|
6846
|
+
businessProjectId: string;
|
|
6847
|
+
name?: string | null;
|
|
6848
|
+
toolLinkedPrCount: number;
|
|
6849
|
+
attributedSpendUsd: number | null;
|
|
6850
|
+
}[];
|
|
6851
|
+
};
|
|
6587
6852
|
/** @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**). */
|
|
6588
6853
|
PagerDutySourceDto: {
|
|
6589
6854
|
/** @enum {string} */
|
|
@@ -6947,6 +7212,46 @@ export interface components {
|
|
|
6947
7212
|
/** @description Linear workspace URL when known from the last successful verify. */
|
|
6948
7213
|
workspaceUrl?: string;
|
|
6949
7214
|
};
|
|
7215
|
+
/** @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). */
|
|
7216
|
+
GitHubIssuesSourceDto: {
|
|
7217
|
+
/** @enum {string} */
|
|
7218
|
+
type: "github_issues";
|
|
7219
|
+
/** @description GitHub PAT / token (write-only on PUT). */
|
|
7220
|
+
token: string;
|
|
7221
|
+
/** @description Optional repo filter (`owner/repo` CSV string or array). */
|
|
7222
|
+
repos?: string | string[];
|
|
7223
|
+
};
|
|
7224
|
+
/** @description Redacted GitHub Issues source returned by `GET /workspaces/{workspaceId}/config`. Raw token is never returned. */
|
|
7225
|
+
GitHubIssuesSourceConfigDto: {
|
|
7226
|
+
/** @enum {string} */
|
|
7227
|
+
type: "github_issues";
|
|
7228
|
+
/** @description Whether a GitHub token is stored for this workspace. */
|
|
7229
|
+
hasToken: boolean;
|
|
7230
|
+
/** @description Configured repo filter when set. */
|
|
7231
|
+
repos?: string | string[];
|
|
7232
|
+
};
|
|
7233
|
+
/** @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). */
|
|
7234
|
+
AzureBoardsSourceDto: {
|
|
7235
|
+
/** @enum {string} */
|
|
7236
|
+
type: "azure_boards";
|
|
7237
|
+
/** @description Azure DevOps organization URL (e.g. `https://dev.azure.com/acme`). */
|
|
7238
|
+
orgUrl: string;
|
|
7239
|
+
/** @description Azure DevOps project name. */
|
|
7240
|
+
project: string;
|
|
7241
|
+
/** @description Azure DevOps personal access token (write-only on PUT). */
|
|
7242
|
+
pat: string;
|
|
7243
|
+
};
|
|
7244
|
+
/** @description Redacted Azure Boards source returned by `GET /workspaces/{workspaceId}/config`. Raw PAT is never returned. */
|
|
7245
|
+
AzureBoardsSourceConfigDto: {
|
|
7246
|
+
/** @enum {string} */
|
|
7247
|
+
type: "azure_boards";
|
|
7248
|
+
/** @description Whether a PAT is stored for this workspace. */
|
|
7249
|
+
hasToken: boolean;
|
|
7250
|
+
/** @description Configured Azure DevOps organization URL. */
|
|
7251
|
+
orgUrl: string;
|
|
7252
|
+
/** @description Configured Azure DevOps project name. */
|
|
7253
|
+
project: string;
|
|
7254
|
+
};
|
|
6950
7255
|
/**
|
|
6951
7256
|
* @description The agent execution account used for Agentic Foundation runs (readiness scanner + fix queue). Exactly one is active per workspace.
|
|
6952
7257
|
* - `thinkai_platform_cursor`: ThinkAI platform Cursor key (Cursor Agent CLI) — opt-in, never default.
|
|
@@ -7032,6 +7337,32 @@ export interface components {
|
|
|
7032
7337
|
/** Format: date-time */
|
|
7033
7338
|
createdAt: string;
|
|
7034
7339
|
};
|
|
7340
|
+
EcgSourceDto: {
|
|
7341
|
+
/** Format: uuid */
|
|
7342
|
+
id: string;
|
|
7343
|
+
/** @description Workspace integration category (for example `vcs`, `ci`, `knowledge`). */
|
|
7344
|
+
category: string;
|
|
7345
|
+
/** @description Integration provider key (for example `github`, `github_actions`). */
|
|
7346
|
+
provider: string;
|
|
7347
|
+
label: string;
|
|
7348
|
+
/** @description When false, ECG does not scan or cite this connector. */
|
|
7349
|
+
enabled: boolean;
|
|
7350
|
+
status: string;
|
|
7351
|
+
/** Format: date-time */
|
|
7352
|
+
lastScanAt: string | null;
|
|
7353
|
+
/** @enum {string} */
|
|
7354
|
+
kind: "code" | "document" | "other";
|
|
7355
|
+
/** @description When false, Settings shows Coming soon / Not supported and PATCH enable is rejected. */
|
|
7356
|
+
readable: boolean;
|
|
7357
|
+
/** @description Human-readable Coming soon / not-supported note when `readable` is false. */
|
|
7358
|
+
note: string | null;
|
|
7359
|
+
};
|
|
7360
|
+
EcgSourceListDto: {
|
|
7361
|
+
items: components["schemas"]["EcgSourceDto"][];
|
|
7362
|
+
};
|
|
7363
|
+
PatchEcgSourceBodyDto: {
|
|
7364
|
+
enabled: boolean;
|
|
7365
|
+
};
|
|
7035
7366
|
CodeChatReadinessDto: {
|
|
7036
7367
|
/** @enum {string} */
|
|
7037
7368
|
status: "indexing" | "generating_agent_md" | "failed" | "ready";
|
|
@@ -7062,7 +7393,7 @@ export interface components {
|
|
|
7062
7393
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
7063
7394
|
};
|
|
7064
7395
|
WorkspaceConfigDto: {
|
|
7065
|
-
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"])[];
|
|
7396
|
+
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"])[];
|
|
7066
7397
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
7067
7398
|
/** @enum {string|null} */
|
|
7068
7399
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -14312,6 +14643,16 @@ export type SonarQubeRepoMappingsPutDto = components['schemas']['SonarQubeRepoMa
|
|
|
14312
14643
|
export type SonarQubeRepoMappingsListDto = components['schemas']['SonarQubeRepoMappingsListDto'];
|
|
14313
14644
|
export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQubeRepoMappingValidateRowDto'];
|
|
14314
14645
|
export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
|
|
14646
|
+
export type PmProvider = components['schemas']['PmProvider'];
|
|
14647
|
+
export type PmTeamMappingDto = components['schemas']['PmTeamMappingDto'];
|
|
14648
|
+
export type PmTeamMappingsListDto = components['schemas']['PmTeamMappingsListDto'];
|
|
14649
|
+
export type PmTeamMappingsPutDto = components['schemas']['PmTeamMappingsPutDto'];
|
|
14650
|
+
export type PmMappingSuggestionDto = components['schemas']['PmMappingSuggestionDto'];
|
|
14651
|
+
export type PmLinkGapDto = components['schemas']['PmLinkGapDto'];
|
|
14652
|
+
export type PmLinkGapsDto = components['schemas']['PmLinkGapsDto'];
|
|
14653
|
+
export type BusinessProjectDto = components['schemas']['BusinessProjectDto'];
|
|
14654
|
+
export type BusinessProjectsListDto = components['schemas']['BusinessProjectsListDto'];
|
|
14655
|
+
export type PmRoiDto = components['schemas']['PmRoiDto'];
|
|
14315
14656
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
14316
14657
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
14317
14658
|
export type SurveyMonkeySourceDto = components['schemas']['SurveyMonkeySourceDto'];
|
|
@@ -14335,6 +14676,10 @@ export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
|
14335
14676
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
14336
14677
|
export type LinearSourceDto = components['schemas']['LinearSourceDto'];
|
|
14337
14678
|
export type LinearSourceConfigDto = components['schemas']['LinearSourceConfigDto'];
|
|
14679
|
+
export type GitHubIssuesSourceDto = components['schemas']['GitHubIssuesSourceDto'];
|
|
14680
|
+
export type GitHubIssuesSourceConfigDto = components['schemas']['GitHubIssuesSourceConfigDto'];
|
|
14681
|
+
export type AzureBoardsSourceDto = components['schemas']['AzureBoardsSourceDto'];
|
|
14682
|
+
export type AzureBoardsSourceConfigDto = components['schemas']['AzureBoardsSourceConfigDto'];
|
|
14338
14683
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
14339
14684
|
export type PutAgentExecutionProvidersDto = components['schemas']['PutAgentExecutionProvidersDto'];
|
|
14340
14685
|
export type AgentExecutionSkipReasonDto = components['schemas']['AgentExecutionSkipReasonDto'];
|
|
@@ -14345,6 +14690,9 @@ export type PutCodeIntelligenceAgentMdDto = components['schemas']['PutCodeIntell
|
|
|
14345
14690
|
export type CodeIntelligenceAgentMdDto = components['schemas']['CodeIntelligenceAgentMdDto'];
|
|
14346
14691
|
export type CodeChatAttachmentLimitsDto = components['schemas']['CodeChatAttachmentLimitsDto'];
|
|
14347
14692
|
export type CodeChatAttachmentMetaDto = components['schemas']['CodeChatAttachmentMetaDto'];
|
|
14693
|
+
export type EcgSourceDto = components['schemas']['EcgSourceDto'];
|
|
14694
|
+
export type EcgSourceListDto = components['schemas']['EcgSourceListDto'];
|
|
14695
|
+
export type PatchEcgSourceBodyDto = components['schemas']['PatchEcgSourceBodyDto'];
|
|
14348
14696
|
export type CodeChatReadinessDto = components['schemas']['CodeChatReadinessDto'];
|
|
14349
14697
|
export type CodeWikiGuidanceDto = components['schemas']['CodeWikiGuidanceDto'];
|
|
14350
14698
|
export type WorkspaceConfigDto = components['schemas']['WorkspaceConfigDto'];
|
|
@@ -17521,6 +17869,215 @@ export interface operations {
|
|
|
17521
17869
|
};
|
|
17522
17870
|
};
|
|
17523
17871
|
};
|
|
17872
|
+
listPmMappingSuggestions: {
|
|
17873
|
+
parameters: {
|
|
17874
|
+
query?: never;
|
|
17875
|
+
header?: never;
|
|
17876
|
+
path: {
|
|
17877
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17878
|
+
};
|
|
17879
|
+
cookie?: never;
|
|
17880
|
+
};
|
|
17881
|
+
requestBody?: never;
|
|
17882
|
+
responses: {
|
|
17883
|
+
/** @description Mapping suggestions */
|
|
17884
|
+
200: {
|
|
17885
|
+
headers: {
|
|
17886
|
+
[name: string]: unknown;
|
|
17887
|
+
};
|
|
17888
|
+
content: {
|
|
17889
|
+
"application/json": {
|
|
17890
|
+
suggestions: components["schemas"]["PmMappingSuggestionDto"][];
|
|
17891
|
+
};
|
|
17892
|
+
};
|
|
17893
|
+
};
|
|
17894
|
+
401: components["responses"]["Unauthorized"];
|
|
17895
|
+
403: components["responses"]["Forbidden"];
|
|
17896
|
+
};
|
|
17897
|
+
};
|
|
17898
|
+
listOrgTeamPmMappings: {
|
|
17899
|
+
parameters: {
|
|
17900
|
+
query?: never;
|
|
17901
|
+
header?: never;
|
|
17902
|
+
path: {
|
|
17903
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17904
|
+
/** @description Org-chart team node id. */
|
|
17905
|
+
teamId: string;
|
|
17906
|
+
};
|
|
17907
|
+
cookie?: never;
|
|
17908
|
+
};
|
|
17909
|
+
requestBody?: never;
|
|
17910
|
+
responses: {
|
|
17911
|
+
/** @description Mappings for the team */
|
|
17912
|
+
200: {
|
|
17913
|
+
headers: {
|
|
17914
|
+
[name: string]: unknown;
|
|
17915
|
+
};
|
|
17916
|
+
content: {
|
|
17917
|
+
"application/json": components["schemas"]["PmTeamMappingsListDto"];
|
|
17918
|
+
};
|
|
17919
|
+
};
|
|
17920
|
+
401: components["responses"]["Unauthorized"];
|
|
17921
|
+
403: components["responses"]["Forbidden"];
|
|
17922
|
+
};
|
|
17923
|
+
};
|
|
17924
|
+
putOrgTeamPmMappings: {
|
|
17925
|
+
parameters: {
|
|
17926
|
+
query?: never;
|
|
17927
|
+
header?: never;
|
|
17928
|
+
path: {
|
|
17929
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17930
|
+
/** @description Org-chart team node id. */
|
|
17931
|
+
teamId: string;
|
|
17932
|
+
};
|
|
17933
|
+
cookie?: never;
|
|
17934
|
+
};
|
|
17935
|
+
requestBody: {
|
|
17936
|
+
content: {
|
|
17937
|
+
"application/json": components["schemas"]["PmTeamMappingsPutDto"];
|
|
17938
|
+
};
|
|
17939
|
+
};
|
|
17940
|
+
responses: {
|
|
17941
|
+
/** @description Updated mappings for the team */
|
|
17942
|
+
200: {
|
|
17943
|
+
headers: {
|
|
17944
|
+
[name: string]: unknown;
|
|
17945
|
+
};
|
|
17946
|
+
content: {
|
|
17947
|
+
"application/json": components["schemas"]["PmTeamMappingsListDto"];
|
|
17948
|
+
};
|
|
17949
|
+
};
|
|
17950
|
+
/** @description Invalid request body */
|
|
17951
|
+
400: {
|
|
17952
|
+
headers: {
|
|
17953
|
+
[name: string]: unknown;
|
|
17954
|
+
};
|
|
17955
|
+
content: {
|
|
17956
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17957
|
+
};
|
|
17958
|
+
};
|
|
17959
|
+
401: components["responses"]["Unauthorized"];
|
|
17960
|
+
403: components["responses"]["Forbidden"];
|
|
17961
|
+
/** @description PM entity is already confirmed for a different org team (`code: pm_entity_already_mapped`). */
|
|
17962
|
+
409: {
|
|
17963
|
+
headers: {
|
|
17964
|
+
[name: string]: unknown;
|
|
17965
|
+
};
|
|
17966
|
+
content: {
|
|
17967
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17968
|
+
};
|
|
17969
|
+
};
|
|
17970
|
+
};
|
|
17971
|
+
};
|
|
17972
|
+
listPmLinkGaps: {
|
|
17973
|
+
parameters: {
|
|
17974
|
+
query?: never;
|
|
17975
|
+
header?: never;
|
|
17976
|
+
path: {
|
|
17977
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17978
|
+
};
|
|
17979
|
+
cookie?: never;
|
|
17980
|
+
};
|
|
17981
|
+
requestBody?: never;
|
|
17982
|
+
responses: {
|
|
17983
|
+
/** @description Derived-only ticket↔PR gaps */
|
|
17984
|
+
200: {
|
|
17985
|
+
headers: {
|
|
17986
|
+
[name: string]: unknown;
|
|
17987
|
+
};
|
|
17988
|
+
content: {
|
|
17989
|
+
"application/json": components["schemas"]["PmLinkGapsDto"];
|
|
17990
|
+
};
|
|
17991
|
+
};
|
|
17992
|
+
401: components["responses"]["Unauthorized"];
|
|
17993
|
+
403: components["responses"]["Forbidden"];
|
|
17994
|
+
};
|
|
17995
|
+
};
|
|
17996
|
+
listBusinessProjects: {
|
|
17997
|
+
parameters: {
|
|
17998
|
+
query?: never;
|
|
17999
|
+
header?: never;
|
|
18000
|
+
path: {
|
|
18001
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18002
|
+
};
|
|
18003
|
+
cookie?: never;
|
|
18004
|
+
};
|
|
18005
|
+
requestBody?: never;
|
|
18006
|
+
responses: {
|
|
18007
|
+
/** @description Business projects for the workspace */
|
|
18008
|
+
200: {
|
|
18009
|
+
headers: {
|
|
18010
|
+
[name: string]: unknown;
|
|
18011
|
+
};
|
|
18012
|
+
content: {
|
|
18013
|
+
"application/json": components["schemas"]["BusinessProjectsListDto"];
|
|
18014
|
+
};
|
|
18015
|
+
};
|
|
18016
|
+
401: components["responses"]["Unauthorized"];
|
|
18017
|
+
403: components["responses"]["Forbidden"];
|
|
18018
|
+
};
|
|
18019
|
+
};
|
|
18020
|
+
postBusinessProject: {
|
|
18021
|
+
parameters: {
|
|
18022
|
+
query?: never;
|
|
18023
|
+
header?: never;
|
|
18024
|
+
path: {
|
|
18025
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18026
|
+
};
|
|
18027
|
+
cookie?: never;
|
|
18028
|
+
};
|
|
18029
|
+
requestBody: {
|
|
18030
|
+
content: {
|
|
18031
|
+
"application/json": components["schemas"]["BusinessProjectDto"];
|
|
18032
|
+
};
|
|
18033
|
+
};
|
|
18034
|
+
responses: {
|
|
18035
|
+
/** @description Upserted business project */
|
|
18036
|
+
200: {
|
|
18037
|
+
headers: {
|
|
18038
|
+
[name: string]: unknown;
|
|
18039
|
+
};
|
|
18040
|
+
content: {
|
|
18041
|
+
"application/json": components["schemas"]["BusinessProjectDto"];
|
|
18042
|
+
};
|
|
18043
|
+
};
|
|
18044
|
+
/** @description Invalid request body */
|
|
18045
|
+
400: {
|
|
18046
|
+
headers: {
|
|
18047
|
+
[name: string]: unknown;
|
|
18048
|
+
};
|
|
18049
|
+
content: {
|
|
18050
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18051
|
+
};
|
|
18052
|
+
};
|
|
18053
|
+
401: components["responses"]["Unauthorized"];
|
|
18054
|
+
403: components["responses"]["Forbidden"];
|
|
18055
|
+
};
|
|
18056
|
+
};
|
|
18057
|
+
getInsightsPmRoi: {
|
|
18058
|
+
parameters: {
|
|
18059
|
+
query?: never;
|
|
18060
|
+
header?: never;
|
|
18061
|
+
path: {
|
|
18062
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18063
|
+
};
|
|
18064
|
+
cookie?: never;
|
|
18065
|
+
};
|
|
18066
|
+
requestBody?: never;
|
|
18067
|
+
responses: {
|
|
18068
|
+
/** @description PM ROI payload (empty metrics when unavailable) */
|
|
18069
|
+
200: {
|
|
18070
|
+
headers: {
|
|
18071
|
+
[name: string]: unknown;
|
|
18072
|
+
};
|
|
18073
|
+
content: {
|
|
18074
|
+
"application/json": components["schemas"]["PmRoiDto"];
|
|
18075
|
+
};
|
|
18076
|
+
};
|
|
18077
|
+
401: components["responses"]["Unauthorized"];
|
|
18078
|
+
403: components["responses"]["Forbidden"];
|
|
18079
|
+
};
|
|
18080
|
+
};
|
|
17524
18081
|
getWorkspaceConfig: {
|
|
17525
18082
|
parameters: {
|
|
17526
18083
|
query?: never;
|
|
@@ -18430,7 +18987,7 @@ export interface operations {
|
|
|
18430
18987
|
requestBody: {
|
|
18431
18988
|
content: {
|
|
18432
18989
|
"application/json": {
|
|
18433
|
-
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"])[];
|
|
18990
|
+
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"])[];
|
|
18434
18991
|
};
|
|
18435
18992
|
};
|
|
18436
18993
|
};
|
|
@@ -18484,7 +19041,7 @@ export interface operations {
|
|
|
18484
19041
|
};
|
|
18485
19042
|
requestBody: {
|
|
18486
19043
|
content: {
|
|
18487
|
-
"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"];
|
|
19044
|
+
"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"];
|
|
18488
19045
|
};
|
|
18489
19046
|
};
|
|
18490
19047
|
responses: {
|
|
@@ -26347,6 +26904,83 @@ export interface operations {
|
|
|
26347
26904
|
};
|
|
26348
26905
|
};
|
|
26349
26906
|
};
|
|
26907
|
+
listEcgSources: {
|
|
26908
|
+
parameters: {
|
|
26909
|
+
query?: never;
|
|
26910
|
+
header?: never;
|
|
26911
|
+
path: {
|
|
26912
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
26913
|
+
};
|
|
26914
|
+
cookie?: never;
|
|
26915
|
+
};
|
|
26916
|
+
requestBody?: never;
|
|
26917
|
+
responses: {
|
|
26918
|
+
/** @description Connector list */
|
|
26919
|
+
200: {
|
|
26920
|
+
headers: {
|
|
26921
|
+
[name: string]: unknown;
|
|
26922
|
+
};
|
|
26923
|
+
content: {
|
|
26924
|
+
"application/json": components["schemas"]["EcgSourceListDto"];
|
|
26925
|
+
};
|
|
26926
|
+
};
|
|
26927
|
+
401: components["responses"]["Unauthorized"];
|
|
26928
|
+
403: components["responses"]["Forbidden"];
|
|
26929
|
+
};
|
|
26930
|
+
};
|
|
26931
|
+
patchEcgSource: {
|
|
26932
|
+
parameters: {
|
|
26933
|
+
query?: never;
|
|
26934
|
+
header?: never;
|
|
26935
|
+
path: {
|
|
26936
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
26937
|
+
integrationId: string;
|
|
26938
|
+
};
|
|
26939
|
+
cookie?: never;
|
|
26940
|
+
};
|
|
26941
|
+
requestBody: {
|
|
26942
|
+
content: {
|
|
26943
|
+
"application/json": components["schemas"]["PatchEcgSourceBodyDto"];
|
|
26944
|
+
};
|
|
26945
|
+
};
|
|
26946
|
+
responses: {
|
|
26947
|
+
/** @description Updated connector */
|
|
26948
|
+
200: {
|
|
26949
|
+
headers: {
|
|
26950
|
+
[name: string]: unknown;
|
|
26951
|
+
};
|
|
26952
|
+
content: {
|
|
26953
|
+
"application/json": components["schemas"]["EcgSourceDto"];
|
|
26954
|
+
};
|
|
26955
|
+
};
|
|
26956
|
+
/** @description Invalid body or connector not readable for ECG */
|
|
26957
|
+
400: {
|
|
26958
|
+
headers: {
|
|
26959
|
+
[name: string]: unknown;
|
|
26960
|
+
};
|
|
26961
|
+
content: {
|
|
26962
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
26963
|
+
};
|
|
26964
|
+
};
|
|
26965
|
+
401: components["responses"]["Unauthorized"];
|
|
26966
|
+
403: components["responses"]["Forbidden"];
|
|
26967
|
+
/** @description Integration not found */
|
|
26968
|
+
404: {
|
|
26969
|
+
headers: {
|
|
26970
|
+
[name: string]: unknown;
|
|
26971
|
+
};
|
|
26972
|
+
content: {
|
|
26973
|
+
/**
|
|
26974
|
+
* @example {
|
|
26975
|
+
* "error": "Integration not found",
|
|
26976
|
+
* "code": "integration_not_found"
|
|
26977
|
+
* }
|
|
26978
|
+
*/
|
|
26979
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
26980
|
+
};
|
|
26981
|
+
};
|
|
26982
|
+
};
|
|
26983
|
+
};
|
|
26350
26984
|
postCodeChatAttachment: {
|
|
26351
26985
|
parameters: {
|
|
26352
26986
|
query?: never;
|