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