@thinkai/tai-api-contract 2.220.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.
- package/dist/generated/openapi.d.ts +491 -3
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +612 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +491 -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;
|
|
@@ -6584,6 +6686,129 @@ export interface components {
|
|
|
6584
6686
|
SonarQubeRepoMappingsValidateResponseDto: {
|
|
6585
6687
|
results: components["schemas"]["SonarQubeRepoMappingValidateRowDto"][];
|
|
6586
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
|
+
};
|
|
6587
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**). */
|
|
6588
6813
|
PagerDutySourceDto: {
|
|
6589
6814
|
/** @enum {string} */
|
|
@@ -6947,6 +7172,46 @@ export interface components {
|
|
|
6947
7172
|
/** @description Linear workspace URL when known from the last successful verify. */
|
|
6948
7173
|
workspaceUrl?: string;
|
|
6949
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
|
+
};
|
|
6950
7215
|
/**
|
|
6951
7216
|
* @description The agent execution account used for Agentic Foundation runs (readiness scanner + fix queue). Exactly one is active per workspace.
|
|
6952
7217
|
* - `thinkai_platform_cursor`: ThinkAI platform Cursor key (Cursor Agent CLI) — opt-in, never default.
|
|
@@ -7062,7 +7327,7 @@ export interface components {
|
|
|
7062
7327
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
7063
7328
|
};
|
|
7064
7329
|
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"])[];
|
|
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"])[];
|
|
7066
7331
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
7067
7332
|
/** @enum {string|null} */
|
|
7068
7333
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -14312,6 +14577,16 @@ export type SonarQubeRepoMappingsPutDto = components['schemas']['SonarQubeRepoMa
|
|
|
14312
14577
|
export type SonarQubeRepoMappingsListDto = components['schemas']['SonarQubeRepoMappingsListDto'];
|
|
14313
14578
|
export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQubeRepoMappingValidateRowDto'];
|
|
14314
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'];
|
|
14315
14590
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
14316
14591
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
14317
14592
|
export type SurveyMonkeySourceDto = components['schemas']['SurveyMonkeySourceDto'];
|
|
@@ -14335,6 +14610,10 @@ export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
|
14335
14610
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
14336
14611
|
export type LinearSourceDto = components['schemas']['LinearSourceDto'];
|
|
14337
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'];
|
|
14338
14617
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
14339
14618
|
export type PutAgentExecutionProvidersDto = components['schemas']['PutAgentExecutionProvidersDto'];
|
|
14340
14619
|
export type AgentExecutionSkipReasonDto = components['schemas']['AgentExecutionSkipReasonDto'];
|
|
@@ -17521,6 +17800,215 @@ export interface operations {
|
|
|
17521
17800
|
};
|
|
17522
17801
|
};
|
|
17523
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
|
+
};
|
|
17524
18012
|
getWorkspaceConfig: {
|
|
17525
18013
|
parameters: {
|
|
17526
18014
|
query?: never;
|
|
@@ -18430,7 +18918,7 @@ export interface operations {
|
|
|
18430
18918
|
requestBody: {
|
|
18431
18919
|
content: {
|
|
18432
18920
|
"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"])[];
|
|
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"])[];
|
|
18434
18922
|
};
|
|
18435
18923
|
};
|
|
18436
18924
|
};
|
|
@@ -18484,7 +18972,7 @@ export interface operations {
|
|
|
18484
18972
|
};
|
|
18485
18973
|
requestBody: {
|
|
18486
18974
|
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"];
|
|
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"];
|
|
18488
18976
|
};
|
|
18489
18977
|
};
|
|
18490
18978
|
responses: {
|