@thinkai/tai-api-contract 2.214.0 → 2.215.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 +243 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +240 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +243 -0
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.215.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -3075,6 +3075,119 @@ paths:
|
|
|
3075
3075
|
schema:
|
|
3076
3076
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3077
3077
|
|
|
3078
|
+
/workspaces/{workspaceId}/team-ownership:
|
|
3079
|
+
get:
|
|
3080
|
+
tags: [Workspace]
|
|
3081
|
+
summary: List team ownership mappings (Team Efficiency T1)
|
|
3082
|
+
description: >
|
|
3083
|
+
Returns org-chart team ownership of repos, services, and tracker teams, plus
|
|
3084
|
+
unmapped workspace repos and (when Datadog is connected) unmapped catalog services.
|
|
3085
|
+
Requires `backend-api.teamEfficiency.enabled` (or workspace allowlist); otherwise `404`
|
|
3086
|
+
with `code: team_efficiency_disabled`. Member read.
|
|
3087
|
+
operationId: getWorkspaceTeamOwnership
|
|
3088
|
+
parameters:
|
|
3089
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
3090
|
+
responses:
|
|
3091
|
+
"200":
|
|
3092
|
+
description: Current mappings and unmapped inventory
|
|
3093
|
+
content:
|
|
3094
|
+
application/json:
|
|
3095
|
+
schema:
|
|
3096
|
+
$ref: "#/components/schemas/TeamOwnershipListDto"
|
|
3097
|
+
"401":
|
|
3098
|
+
$ref: "#/components/responses/Unauthorized"
|
|
3099
|
+
"403":
|
|
3100
|
+
$ref: "#/components/responses/Forbidden"
|
|
3101
|
+
"404":
|
|
3102
|
+
description: Workspace missing or Team Efficiency disabled
|
|
3103
|
+
content:
|
|
3104
|
+
application/json:
|
|
3105
|
+
schema:
|
|
3106
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3107
|
+
put:
|
|
3108
|
+
tags: [Workspace]
|
|
3109
|
+
summary: Replace team ownership mappings (Team Efficiency T1)
|
|
3110
|
+
description: >
|
|
3111
|
+
Full-replace ownership rows. Requires workspace **admin**. Flag-gated like GET
|
|
3112
|
+
(`404` `team_efficiency_disabled` when off).
|
|
3113
|
+
operationId: putWorkspaceTeamOwnership
|
|
3114
|
+
parameters:
|
|
3115
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
3116
|
+
requestBody:
|
|
3117
|
+
required: true
|
|
3118
|
+
content:
|
|
3119
|
+
application/json:
|
|
3120
|
+
schema:
|
|
3121
|
+
$ref: "#/components/schemas/TeamOwnershipReplaceDto"
|
|
3122
|
+
responses:
|
|
3123
|
+
"200":
|
|
3124
|
+
description: Replaced mappings
|
|
3125
|
+
content:
|
|
3126
|
+
application/json:
|
|
3127
|
+
schema:
|
|
3128
|
+
$ref: "#/components/schemas/TeamOwnershipListDto"
|
|
3129
|
+
"400":
|
|
3130
|
+
description: Invalid payload
|
|
3131
|
+
content:
|
|
3132
|
+
application/json:
|
|
3133
|
+
schema:
|
|
3134
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3135
|
+
"401":
|
|
3136
|
+
$ref: "#/components/responses/Unauthorized"
|
|
3137
|
+
"403":
|
|
3138
|
+
description: Forbidden — workspace admin required
|
|
3139
|
+
content:
|
|
3140
|
+
application/json:
|
|
3141
|
+
schema:
|
|
3142
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3143
|
+
"404":
|
|
3144
|
+
description: Workspace missing or Team Efficiency disabled
|
|
3145
|
+
content:
|
|
3146
|
+
application/json:
|
|
3147
|
+
schema:
|
|
3148
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3149
|
+
|
|
3150
|
+
/workspaces/{workspaceId}/team-ownership/import-datadog-catalog:
|
|
3151
|
+
post:
|
|
3152
|
+
tags: [Workspace]
|
|
3153
|
+
summary: Import Datadog service-catalog team ownership
|
|
3154
|
+
description: >
|
|
3155
|
+
Reads Datadog service definitions (`team` / `dd-team`), matches labels to org-chart
|
|
3156
|
+
team id or name (case-insensitive), and upserts `kind=service` rows with
|
|
3157
|
+
`provider=datadog`. Admin only; flag-gated.
|
|
3158
|
+
operationId: importDatadogTeamOwnershipCatalog
|
|
3159
|
+
parameters:
|
|
3160
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
3161
|
+
responses:
|
|
3162
|
+
"200":
|
|
3163
|
+
description: Import result
|
|
3164
|
+
content:
|
|
3165
|
+
application/json:
|
|
3166
|
+
schema:
|
|
3167
|
+
$ref: "#/components/schemas/TeamOwnershipDatadogImportResultDto"
|
|
3168
|
+
"401":
|
|
3169
|
+
$ref: "#/components/responses/Unauthorized"
|
|
3170
|
+
"403":
|
|
3171
|
+
$ref: "#/components/responses/Forbidden"
|
|
3172
|
+
"404":
|
|
3173
|
+
description: Workspace missing or Team Efficiency disabled
|
|
3174
|
+
content:
|
|
3175
|
+
application/json:
|
|
3176
|
+
schema:
|
|
3177
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3178
|
+
"422":
|
|
3179
|
+
description: Datadog not connected
|
|
3180
|
+
content:
|
|
3181
|
+
application/json:
|
|
3182
|
+
schema:
|
|
3183
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3184
|
+
"503":
|
|
3185
|
+
description: Datadog catalog fetch failed
|
|
3186
|
+
content:
|
|
3187
|
+
application/json:
|
|
3188
|
+
schema:
|
|
3189
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3190
|
+
|
|
3078
3191
|
/workspaces/{workspaceId}/productivity-targets:
|
|
3079
3192
|
get:
|
|
3080
3193
|
tags: [Workspace]
|
|
@@ -17704,6 +17817,132 @@ components:
|
|
|
17704
17817
|
enum: [okta, entra, saml]
|
|
17705
17818
|
nullable: true
|
|
17706
17819
|
|
|
17820
|
+
TeamOwnershipKindDto:
|
|
17821
|
+
type: string
|
|
17822
|
+
enum: [repo, service, tracker_team]
|
|
17823
|
+
|
|
17824
|
+
TeamOwnershipMappingDto:
|
|
17825
|
+
type: object
|
|
17826
|
+
additionalProperties: false
|
|
17827
|
+
required: [id, teamId, kind, provider, key, createdAt, updatedAt]
|
|
17828
|
+
properties:
|
|
17829
|
+
id:
|
|
17830
|
+
type: string
|
|
17831
|
+
format: uuid
|
|
17832
|
+
teamId:
|
|
17833
|
+
type: string
|
|
17834
|
+
description: Org-chart team node id
|
|
17835
|
+
kind:
|
|
17836
|
+
$ref: "#/components/schemas/TeamOwnershipKindDto"
|
|
17837
|
+
provider:
|
|
17838
|
+
type: string
|
|
17839
|
+
description: e.g. github, datadog, linear
|
|
17840
|
+
key:
|
|
17841
|
+
type: string
|
|
17842
|
+
description: Repo slug, service name, or tracker team key
|
|
17843
|
+
createdAt:
|
|
17844
|
+
type: string
|
|
17845
|
+
format: date-time
|
|
17846
|
+
updatedAt:
|
|
17847
|
+
type: string
|
|
17848
|
+
format: date-time
|
|
17849
|
+
|
|
17850
|
+
TeamOwnershipUnmappedDto:
|
|
17851
|
+
type: object
|
|
17852
|
+
additionalProperties: false
|
|
17853
|
+
required: [repos, services]
|
|
17854
|
+
properties:
|
|
17855
|
+
repos:
|
|
17856
|
+
type: array
|
|
17857
|
+
items:
|
|
17858
|
+
type: string
|
|
17859
|
+
description: Workspace repo provider_slugs with no kind=repo mapping
|
|
17860
|
+
services:
|
|
17861
|
+
type: array
|
|
17862
|
+
items:
|
|
17863
|
+
type: string
|
|
17864
|
+
description: Datadog catalog services with no kind=service mapping (empty when Datadog disconnected)
|
|
17865
|
+
|
|
17866
|
+
TeamOwnershipListDto:
|
|
17867
|
+
type: object
|
|
17868
|
+
additionalProperties: false
|
|
17869
|
+
required: [mappings, unmapped]
|
|
17870
|
+
properties:
|
|
17871
|
+
mappings:
|
|
17872
|
+
type: array
|
|
17873
|
+
items:
|
|
17874
|
+
$ref: "#/components/schemas/TeamOwnershipMappingDto"
|
|
17875
|
+
unmapped:
|
|
17876
|
+
$ref: "#/components/schemas/TeamOwnershipUnmappedDto"
|
|
17877
|
+
|
|
17878
|
+
TeamOwnershipMappingInputDto:
|
|
17879
|
+
type: object
|
|
17880
|
+
additionalProperties: false
|
|
17881
|
+
required: [teamId, kind, provider, key]
|
|
17882
|
+
properties:
|
|
17883
|
+
teamId:
|
|
17884
|
+
type: string
|
|
17885
|
+
kind:
|
|
17886
|
+
$ref: "#/components/schemas/TeamOwnershipKindDto"
|
|
17887
|
+
provider:
|
|
17888
|
+
type: string
|
|
17889
|
+
key:
|
|
17890
|
+
type: string
|
|
17891
|
+
|
|
17892
|
+
TeamOwnershipReplaceDto:
|
|
17893
|
+
type: object
|
|
17894
|
+
additionalProperties: false
|
|
17895
|
+
required: [mappings]
|
|
17896
|
+
properties:
|
|
17897
|
+
mappings:
|
|
17898
|
+
type: array
|
|
17899
|
+
maxItems: 2000
|
|
17900
|
+
items:
|
|
17901
|
+
$ref: "#/components/schemas/TeamOwnershipMappingInputDto"
|
|
17902
|
+
|
|
17903
|
+
TeamOwnershipDatadogImportMatchDto:
|
|
17904
|
+
type: object
|
|
17905
|
+
additionalProperties: false
|
|
17906
|
+
required: [teamId, service, catalogTeam]
|
|
17907
|
+
properties:
|
|
17908
|
+
teamId:
|
|
17909
|
+
type: string
|
|
17910
|
+
service:
|
|
17911
|
+
type: string
|
|
17912
|
+
catalogTeam:
|
|
17913
|
+
type: string
|
|
17914
|
+
|
|
17915
|
+
TeamOwnershipDatadogImportUnmatchedDto:
|
|
17916
|
+
type: object
|
|
17917
|
+
additionalProperties: false
|
|
17918
|
+
required: [service, catalogTeam]
|
|
17919
|
+
properties:
|
|
17920
|
+
service:
|
|
17921
|
+
type: string
|
|
17922
|
+
catalogTeam:
|
|
17923
|
+
type: string
|
|
17924
|
+
nullable: true
|
|
17925
|
+
|
|
17926
|
+
TeamOwnershipDatadogImportResultDto:
|
|
17927
|
+
type: object
|
|
17928
|
+
additionalProperties: false
|
|
17929
|
+
required: [importedCount, upserted, unmatchedCount, imported, unmatched]
|
|
17930
|
+
properties:
|
|
17931
|
+
importedCount:
|
|
17932
|
+
type: integer
|
|
17933
|
+
upserted:
|
|
17934
|
+
type: integer
|
|
17935
|
+
unmatchedCount:
|
|
17936
|
+
type: integer
|
|
17937
|
+
imported:
|
|
17938
|
+
type: array
|
|
17939
|
+
items:
|
|
17940
|
+
$ref: "#/components/schemas/TeamOwnershipDatadogImportMatchDto"
|
|
17941
|
+
unmatched:
|
|
17942
|
+
type: array
|
|
17943
|
+
items:
|
|
17944
|
+
$ref: "#/components/schemas/TeamOwnershipDatadogImportUnmatchedDto"
|
|
17945
|
+
|
|
17707
17946
|
ProductivityTargetsDto:
|
|
17708
17947
|
type: object
|
|
17709
17948
|
description: >
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -1026,6 +1026,50 @@ export interface paths {
|
|
|
1026
1026
|
patch?: never;
|
|
1027
1027
|
trace?: never;
|
|
1028
1028
|
};
|
|
1029
|
+
"/workspaces/{workspaceId}/team-ownership": {
|
|
1030
|
+
parameters: {
|
|
1031
|
+
query?: never;
|
|
1032
|
+
header?: never;
|
|
1033
|
+
path?: never;
|
|
1034
|
+
cookie?: never;
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* List team ownership mappings (Team Efficiency T1)
|
|
1038
|
+
* @description Returns org-chart team ownership of repos, services, and tracker teams, plus unmapped workspace repos and (when Datadog is connected) unmapped catalog services. Requires `backend-api.teamEfficiency.enabled` (or workspace allowlist); otherwise `404` with `code: team_efficiency_disabled`. Member read.
|
|
1039
|
+
*/
|
|
1040
|
+
get: operations["getWorkspaceTeamOwnership"];
|
|
1041
|
+
/**
|
|
1042
|
+
* Replace team ownership mappings (Team Efficiency T1)
|
|
1043
|
+
* @description Full-replace ownership rows. Requires workspace **admin**. Flag-gated like GET (`404` `team_efficiency_disabled` when off).
|
|
1044
|
+
*/
|
|
1045
|
+
put: operations["putWorkspaceTeamOwnership"];
|
|
1046
|
+
post?: never;
|
|
1047
|
+
delete?: never;
|
|
1048
|
+
options?: never;
|
|
1049
|
+
head?: never;
|
|
1050
|
+
patch?: never;
|
|
1051
|
+
trace?: never;
|
|
1052
|
+
};
|
|
1053
|
+
"/workspaces/{workspaceId}/team-ownership/import-datadog-catalog": {
|
|
1054
|
+
parameters: {
|
|
1055
|
+
query?: never;
|
|
1056
|
+
header?: never;
|
|
1057
|
+
path?: never;
|
|
1058
|
+
cookie?: never;
|
|
1059
|
+
};
|
|
1060
|
+
get?: never;
|
|
1061
|
+
put?: never;
|
|
1062
|
+
/**
|
|
1063
|
+
* Import Datadog service-catalog team ownership
|
|
1064
|
+
* @description Reads Datadog service definitions (`team` / `dd-team`), matches labels to org-chart team id or name (case-insensitive), and upserts `kind=service` rows with `provider=datadog`. Admin only; flag-gated.
|
|
1065
|
+
*/
|
|
1066
|
+
post: operations["importDatadogTeamOwnershipCatalog"];
|
|
1067
|
+
delete?: never;
|
|
1068
|
+
options?: never;
|
|
1069
|
+
head?: never;
|
|
1070
|
+
patch?: never;
|
|
1071
|
+
trace?: never;
|
|
1072
|
+
};
|
|
1029
1073
|
"/workspaces/{workspaceId}/productivity-targets": {
|
|
1030
1074
|
parameters: {
|
|
1031
1075
|
query?: never;
|
|
@@ -6922,6 +6966,58 @@ export interface components {
|
|
|
6922
6966
|
/** @enum {string|null} */
|
|
6923
6967
|
idpType?: "okta" | "entra" | "saml" | null;
|
|
6924
6968
|
};
|
|
6969
|
+
/** @enum {string} */
|
|
6970
|
+
TeamOwnershipKindDto: "repo" | "service" | "tracker_team";
|
|
6971
|
+
TeamOwnershipMappingDto: {
|
|
6972
|
+
/** Format: uuid */
|
|
6973
|
+
id: string;
|
|
6974
|
+
/** @description Org-chart team node id */
|
|
6975
|
+
teamId: string;
|
|
6976
|
+
kind: components["schemas"]["TeamOwnershipKindDto"];
|
|
6977
|
+
/** @description e.g. github, datadog, linear */
|
|
6978
|
+
provider: string;
|
|
6979
|
+
/** @description Repo slug, service name, or tracker team key */
|
|
6980
|
+
key: string;
|
|
6981
|
+
/** Format: date-time */
|
|
6982
|
+
createdAt: string;
|
|
6983
|
+
/** Format: date-time */
|
|
6984
|
+
updatedAt: string;
|
|
6985
|
+
};
|
|
6986
|
+
TeamOwnershipUnmappedDto: {
|
|
6987
|
+
/** @description Workspace repo provider_slugs with no kind=repo mapping */
|
|
6988
|
+
repos: string[];
|
|
6989
|
+
/** @description Datadog catalog services with no kind=service mapping (empty when Datadog disconnected) */
|
|
6990
|
+
services: string[];
|
|
6991
|
+
};
|
|
6992
|
+
TeamOwnershipListDto: {
|
|
6993
|
+
mappings: components["schemas"]["TeamOwnershipMappingDto"][];
|
|
6994
|
+
unmapped: components["schemas"]["TeamOwnershipUnmappedDto"];
|
|
6995
|
+
};
|
|
6996
|
+
TeamOwnershipMappingInputDto: {
|
|
6997
|
+
teamId: string;
|
|
6998
|
+
kind: components["schemas"]["TeamOwnershipKindDto"];
|
|
6999
|
+
provider: string;
|
|
7000
|
+
key: string;
|
|
7001
|
+
};
|
|
7002
|
+
TeamOwnershipReplaceDto: {
|
|
7003
|
+
mappings: components["schemas"]["TeamOwnershipMappingInputDto"][];
|
|
7004
|
+
};
|
|
7005
|
+
TeamOwnershipDatadogImportMatchDto: {
|
|
7006
|
+
teamId: string;
|
|
7007
|
+
service: string;
|
|
7008
|
+
catalogTeam: string;
|
|
7009
|
+
};
|
|
7010
|
+
TeamOwnershipDatadogImportUnmatchedDto: {
|
|
7011
|
+
service: string;
|
|
7012
|
+
catalogTeam: string | null;
|
|
7013
|
+
};
|
|
7014
|
+
TeamOwnershipDatadogImportResultDto: {
|
|
7015
|
+
importedCount: number;
|
|
7016
|
+
upserted: number;
|
|
7017
|
+
unmatchedCount: number;
|
|
7018
|
+
imported: components["schemas"]["TeamOwnershipDatadogImportMatchDto"][];
|
|
7019
|
+
unmatched: components["schemas"]["TeamOwnershipDatadogImportUnmatchedDto"][];
|
|
7020
|
+
};
|
|
6925
7021
|
/** @description Optional weekly per-engineer targets for Productivity Insights. Omitted or null fields mean no target for that metric. Additional properties are rejected. */
|
|
6926
7022
|
ProductivityTargetsDto: {
|
|
6927
7023
|
/** @description Floor — meet or exceed this many merged PRs per engineer per week. */
|
|
@@ -13878,6 +13974,15 @@ export type AdminEnterpriseSsoApplyRequestDto = components['schemas']['AdminEnte
|
|
|
13878
13974
|
export type AdminEnterpriseSsoApplyResponseDto = components['schemas']['AdminEnterpriseSsoApplyResponseDto'];
|
|
13879
13975
|
export type AdminEnterpriseSsoRejectRequestDto = components['schemas']['AdminEnterpriseSsoRejectRequestDto'];
|
|
13880
13976
|
export type AuthSsoLookupDto = components['schemas']['AuthSsoLookupDto'];
|
|
13977
|
+
export type TeamOwnershipKindDto = components['schemas']['TeamOwnershipKindDto'];
|
|
13978
|
+
export type TeamOwnershipMappingDto = components['schemas']['TeamOwnershipMappingDto'];
|
|
13979
|
+
export type TeamOwnershipUnmappedDto = components['schemas']['TeamOwnershipUnmappedDto'];
|
|
13980
|
+
export type TeamOwnershipListDto = components['schemas']['TeamOwnershipListDto'];
|
|
13981
|
+
export type TeamOwnershipMappingInputDto = components['schemas']['TeamOwnershipMappingInputDto'];
|
|
13982
|
+
export type TeamOwnershipReplaceDto = components['schemas']['TeamOwnershipReplaceDto'];
|
|
13983
|
+
export type TeamOwnershipDatadogImportMatchDto = components['schemas']['TeamOwnershipDatadogImportMatchDto'];
|
|
13984
|
+
export type TeamOwnershipDatadogImportUnmatchedDto = components['schemas']['TeamOwnershipDatadogImportUnmatchedDto'];
|
|
13985
|
+
export type TeamOwnershipDatadogImportResultDto = components['schemas']['TeamOwnershipDatadogImportResultDto'];
|
|
13881
13986
|
export type ProductivityTargetsDto = components['schemas']['ProductivityTargetsDto'];
|
|
13882
13987
|
export type DimensionTargetPercentsDto = components['schemas']['DimensionTargetPercentsDto'];
|
|
13883
13988
|
export type DimensionTargetsRepoOverrideDto = components['schemas']['DimensionTargetsRepoOverrideDto'];
|
|
@@ -17615,6 +17720,144 @@ export interface operations {
|
|
|
17615
17720
|
};
|
|
17616
17721
|
};
|
|
17617
17722
|
};
|
|
17723
|
+
getWorkspaceTeamOwnership: {
|
|
17724
|
+
parameters: {
|
|
17725
|
+
query?: never;
|
|
17726
|
+
header?: never;
|
|
17727
|
+
path: {
|
|
17728
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17729
|
+
};
|
|
17730
|
+
cookie?: never;
|
|
17731
|
+
};
|
|
17732
|
+
requestBody?: never;
|
|
17733
|
+
responses: {
|
|
17734
|
+
/** @description Current mappings and unmapped inventory */
|
|
17735
|
+
200: {
|
|
17736
|
+
headers: {
|
|
17737
|
+
[name: string]: unknown;
|
|
17738
|
+
};
|
|
17739
|
+
content: {
|
|
17740
|
+
"application/json": components["schemas"]["TeamOwnershipListDto"];
|
|
17741
|
+
};
|
|
17742
|
+
};
|
|
17743
|
+
401: components["responses"]["Unauthorized"];
|
|
17744
|
+
403: components["responses"]["Forbidden"];
|
|
17745
|
+
/** @description Workspace missing or Team Efficiency disabled */
|
|
17746
|
+
404: {
|
|
17747
|
+
headers: {
|
|
17748
|
+
[name: string]: unknown;
|
|
17749
|
+
};
|
|
17750
|
+
content: {
|
|
17751
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17752
|
+
};
|
|
17753
|
+
};
|
|
17754
|
+
};
|
|
17755
|
+
};
|
|
17756
|
+
putWorkspaceTeamOwnership: {
|
|
17757
|
+
parameters: {
|
|
17758
|
+
query?: never;
|
|
17759
|
+
header?: never;
|
|
17760
|
+
path: {
|
|
17761
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17762
|
+
};
|
|
17763
|
+
cookie?: never;
|
|
17764
|
+
};
|
|
17765
|
+
requestBody: {
|
|
17766
|
+
content: {
|
|
17767
|
+
"application/json": components["schemas"]["TeamOwnershipReplaceDto"];
|
|
17768
|
+
};
|
|
17769
|
+
};
|
|
17770
|
+
responses: {
|
|
17771
|
+
/** @description Replaced mappings */
|
|
17772
|
+
200: {
|
|
17773
|
+
headers: {
|
|
17774
|
+
[name: string]: unknown;
|
|
17775
|
+
};
|
|
17776
|
+
content: {
|
|
17777
|
+
"application/json": components["schemas"]["TeamOwnershipListDto"];
|
|
17778
|
+
};
|
|
17779
|
+
};
|
|
17780
|
+
/** @description Invalid payload */
|
|
17781
|
+
400: {
|
|
17782
|
+
headers: {
|
|
17783
|
+
[name: string]: unknown;
|
|
17784
|
+
};
|
|
17785
|
+
content: {
|
|
17786
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17787
|
+
};
|
|
17788
|
+
};
|
|
17789
|
+
401: components["responses"]["Unauthorized"];
|
|
17790
|
+
/** @description Forbidden — workspace admin required */
|
|
17791
|
+
403: {
|
|
17792
|
+
headers: {
|
|
17793
|
+
[name: string]: unknown;
|
|
17794
|
+
};
|
|
17795
|
+
content: {
|
|
17796
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17797
|
+
};
|
|
17798
|
+
};
|
|
17799
|
+
/** @description Workspace missing or Team Efficiency disabled */
|
|
17800
|
+
404: {
|
|
17801
|
+
headers: {
|
|
17802
|
+
[name: string]: unknown;
|
|
17803
|
+
};
|
|
17804
|
+
content: {
|
|
17805
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17806
|
+
};
|
|
17807
|
+
};
|
|
17808
|
+
};
|
|
17809
|
+
};
|
|
17810
|
+
importDatadogTeamOwnershipCatalog: {
|
|
17811
|
+
parameters: {
|
|
17812
|
+
query?: never;
|
|
17813
|
+
header?: never;
|
|
17814
|
+
path: {
|
|
17815
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
17816
|
+
};
|
|
17817
|
+
cookie?: never;
|
|
17818
|
+
};
|
|
17819
|
+
requestBody?: never;
|
|
17820
|
+
responses: {
|
|
17821
|
+
/** @description Import result */
|
|
17822
|
+
200: {
|
|
17823
|
+
headers: {
|
|
17824
|
+
[name: string]: unknown;
|
|
17825
|
+
};
|
|
17826
|
+
content: {
|
|
17827
|
+
"application/json": components["schemas"]["TeamOwnershipDatadogImportResultDto"];
|
|
17828
|
+
};
|
|
17829
|
+
};
|
|
17830
|
+
401: components["responses"]["Unauthorized"];
|
|
17831
|
+
403: components["responses"]["Forbidden"];
|
|
17832
|
+
/** @description Workspace missing or Team Efficiency disabled */
|
|
17833
|
+
404: {
|
|
17834
|
+
headers: {
|
|
17835
|
+
[name: string]: unknown;
|
|
17836
|
+
};
|
|
17837
|
+
content: {
|
|
17838
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17839
|
+
};
|
|
17840
|
+
};
|
|
17841
|
+
/** @description Datadog not connected */
|
|
17842
|
+
422: {
|
|
17843
|
+
headers: {
|
|
17844
|
+
[name: string]: unknown;
|
|
17845
|
+
};
|
|
17846
|
+
content: {
|
|
17847
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17848
|
+
};
|
|
17849
|
+
};
|
|
17850
|
+
/** @description Datadog catalog fetch failed */
|
|
17851
|
+
503: {
|
|
17852
|
+
headers: {
|
|
17853
|
+
[name: string]: unknown;
|
|
17854
|
+
};
|
|
17855
|
+
content: {
|
|
17856
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17857
|
+
};
|
|
17858
|
+
};
|
|
17859
|
+
};
|
|
17860
|
+
};
|
|
17618
17861
|
getWorkspaceProductivityTargets: {
|
|
17619
17862
|
parameters: {
|
|
17620
17863
|
query?: never;
|