@thinkai/tai-api-contract 2.63.0 → 2.64.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 +744 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +125 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +683 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +744 -0
- package/src/index.ts +163 -0
|
@@ -962,6 +962,146 @@ export interface paths {
|
|
|
962
962
|
patch?: never;
|
|
963
963
|
trace?: never;
|
|
964
964
|
};
|
|
965
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/verdict-summary": {
|
|
966
|
+
parameters: {
|
|
967
|
+
query?: never;
|
|
968
|
+
header?: never;
|
|
969
|
+
path?: never;
|
|
970
|
+
cookie?: never;
|
|
971
|
+
};
|
|
972
|
+
/**
|
|
973
|
+
* Insights recommendations — verdict summary cards
|
|
974
|
+
* @description Top status cards for `/insights-recommendations`. `productivityMultiplier` is the merged-PR volume ratio versus the previous equal-length window (not AI-active vs non-users). `ciFailRatePct` is portfolio CI fail rate percent. Cost statuses compare AI spend per merged PR to the prior window. Status thresholds match the product UI: productivity ≥1.5 healthy / ≥1.0 watch / else at-risk; CI fail <15 healthy / ≤30 watch / else at-risk; cost change ≤0 healthy / <20% watch / else at-risk (prev≤0 → watch).
|
|
975
|
+
*/
|
|
976
|
+
get: operations["getInsightsRecommendationsVerdictSummary"];
|
|
977
|
+
put?: never;
|
|
978
|
+
post?: never;
|
|
979
|
+
delete?: never;
|
|
980
|
+
options?: never;
|
|
981
|
+
head?: never;
|
|
982
|
+
patch?: never;
|
|
983
|
+
trace?: never;
|
|
984
|
+
};
|
|
985
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/roi-quadrant": {
|
|
986
|
+
parameters: {
|
|
987
|
+
query?: never;
|
|
988
|
+
header?: never;
|
|
989
|
+
path?: never;
|
|
990
|
+
cookie?: never;
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* Insights recommendations — AI spend vs delivery output
|
|
994
|
+
* @description Per-engineer AI spend (USD) and merged PR counts for the scatter / ROI quadrant. Includes engineers with spend>0 or mergedPrs>0. Medians are over the returned set (n<2 uses the single point or zeros when empty). `id` is the stable org person id.
|
|
995
|
+
*/
|
|
996
|
+
get: operations["getInsightsRecommendationsRoiQuadrant"];
|
|
997
|
+
put?: never;
|
|
998
|
+
post?: never;
|
|
999
|
+
delete?: never;
|
|
1000
|
+
options?: never;
|
|
1001
|
+
head?: never;
|
|
1002
|
+
patch?: never;
|
|
1003
|
+
trace?: never;
|
|
1004
|
+
};
|
|
1005
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/velocity-quality": {
|
|
1006
|
+
parameters: {
|
|
1007
|
+
query?: never;
|
|
1008
|
+
header?: never;
|
|
1009
|
+
path?: never;
|
|
1010
|
+
cookie?: never;
|
|
1011
|
+
};
|
|
1012
|
+
/**
|
|
1013
|
+
* Insights recommendations — velocity vs quality weekly series
|
|
1014
|
+
* @description Weekly merged PR volume and CI fail rate for the filter window. Weeks follow the Measure calendar-week bucket convention. `targetFailRatePct` is the org target (15). `volumeGrowthPct` is percent change vs the prior equal-length period.
|
|
1015
|
+
*/
|
|
1016
|
+
get: operations["getInsightsRecommendationsVelocityQuality"];
|
|
1017
|
+
put?: never;
|
|
1018
|
+
post?: never;
|
|
1019
|
+
delete?: never;
|
|
1020
|
+
options?: never;
|
|
1021
|
+
head?: never;
|
|
1022
|
+
patch?: never;
|
|
1023
|
+
trace?: never;
|
|
1024
|
+
};
|
|
1025
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/review-pipeline": {
|
|
1026
|
+
parameters: {
|
|
1027
|
+
query?: never;
|
|
1028
|
+
header?: never;
|
|
1029
|
+
path?: never;
|
|
1030
|
+
cookie?: never;
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* Insights recommendations — review bottleneck funnel
|
|
1034
|
+
* @description Review funnel stages `open-review`, `review-approval`, `approval-merge`, and `merged`. Wait stages use delivery-health hours (`avgReviewWaitHours`, `avgApprovalHours`, and approval→merge as max(0, avgTimeToMergeHours − wait − approval)). The `merged` stage uses `medianHours=0` (volume is not hours). `bottleneckStageId` is the wait stage with the highest median hours. `reviewerLoad` comes from persisted `deliveryHealth.topReviewers` when available; otherwise an empty array (never invented reviewers).
|
|
1035
|
+
*/
|
|
1036
|
+
get: operations["getInsightsRecommendationsReviewPipeline"];
|
|
1037
|
+
put?: never;
|
|
1038
|
+
post?: never;
|
|
1039
|
+
delete?: never;
|
|
1040
|
+
options?: never;
|
|
1041
|
+
head?: never;
|
|
1042
|
+
patch?: never;
|
|
1043
|
+
trace?: never;
|
|
1044
|
+
};
|
|
1045
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/cost-per-pr": {
|
|
1046
|
+
parameters: {
|
|
1047
|
+
query?: never;
|
|
1048
|
+
header?: never;
|
|
1049
|
+
path?: never;
|
|
1050
|
+
cookie?: never;
|
|
1051
|
+
};
|
|
1052
|
+
/**
|
|
1053
|
+
* Insights recommendations — cost per merged PR by team
|
|
1054
|
+
* @description Org and per-team AI spend / merged PRs. Teams with zero merged PRs in the window are omitted. `costPerPrUsd = spendUsd / mergedPrs`. `activeAi` is distinct AI-active members on the team in the window (provider filter applied).
|
|
1055
|
+
*/
|
|
1056
|
+
get: operations["getInsightsRecommendationsCostPerPr"];
|
|
1057
|
+
put?: never;
|
|
1058
|
+
post?: never;
|
|
1059
|
+
delete?: never;
|
|
1060
|
+
options?: never;
|
|
1061
|
+
head?: never;
|
|
1062
|
+
patch?: never;
|
|
1063
|
+
trace?: never;
|
|
1064
|
+
};
|
|
1065
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/adoption-gap": {
|
|
1066
|
+
parameters: {
|
|
1067
|
+
query?: never;
|
|
1068
|
+
header?: never;
|
|
1069
|
+
path?: never;
|
|
1070
|
+
cookie?: never;
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* Insights recommendations — AI adoption gap by team
|
|
1074
|
+
* @description Headcount vs AI-active contributors and per-team readiness/output. `readinessPct` is the mean latest overallScore of repos with matching `teamId` (workspace mean fallback). `outputPerEngPerWeek` is team merged PRs / headcount / weeks in window. `upliftPct` estimates additional PR volume if non-adopters matched leader-team output (teams with >50% adoption).
|
|
1075
|
+
*/
|
|
1076
|
+
get: operations["getInsightsRecommendationsAdoptionGap"];
|
|
1077
|
+
put?: never;
|
|
1078
|
+
post?: never;
|
|
1079
|
+
delete?: never;
|
|
1080
|
+
options?: never;
|
|
1081
|
+
head?: never;
|
|
1082
|
+
patch?: never;
|
|
1083
|
+
trace?: never;
|
|
1084
|
+
};
|
|
1085
|
+
"/workspaces/{workspaceId}/insights/recommendations-page/recommendations": {
|
|
1086
|
+
parameters: {
|
|
1087
|
+
query?: never;
|
|
1088
|
+
header?: never;
|
|
1089
|
+
path?: never;
|
|
1090
|
+
cookie?: never;
|
|
1091
|
+
};
|
|
1092
|
+
/**
|
|
1093
|
+
* Insights recommendations — deterministic action items
|
|
1094
|
+
* @description Deterministic rules engine (no LLM). Emits module-anchored recommendations with `moduleId` in {mod-spend-vs-output, mod-velocity-vs-quality, mod-review-bottleneck, mod-cost-per-pr, mod-adoption-gap}. Action items must cite one AI metric and one delivery metric in `observed`. Evidence chips use kinds user-spend|team|contributor|repo|module with real target ids when available.
|
|
1095
|
+
*/
|
|
1096
|
+
get: operations["getInsightsRecommendationsRecommendations"];
|
|
1097
|
+
put?: never;
|
|
1098
|
+
post?: never;
|
|
1099
|
+
delete?: never;
|
|
1100
|
+
options?: never;
|
|
1101
|
+
head?: never;
|
|
1102
|
+
patch?: never;
|
|
1103
|
+
trace?: never;
|
|
1104
|
+
};
|
|
965
1105
|
"/workspaces/{workspaceId}/integrations/ai-tool/{provider}/members": {
|
|
966
1106
|
parameters: {
|
|
967
1107
|
query?: never;
|
|
@@ -6228,6 +6368,154 @@ export interface components {
|
|
|
6228
6368
|
items: components["schemas"]["SdlcDrilldownItemDto"][];
|
|
6229
6369
|
nextCursor?: string;
|
|
6230
6370
|
};
|
|
6371
|
+
InsightsResponseMeta: {
|
|
6372
|
+
/**
|
|
6373
|
+
* Format: date-time
|
|
6374
|
+
* @description ISO timestamp when numbers were computed server-side
|
|
6375
|
+
*/
|
|
6376
|
+
syncedAt: string;
|
|
6377
|
+
/**
|
|
6378
|
+
* @description Must be false for production handlers
|
|
6379
|
+
* @enum {boolean}
|
|
6380
|
+
*/
|
|
6381
|
+
isMock: false;
|
|
6382
|
+
};
|
|
6383
|
+
/** @enum {string} */
|
|
6384
|
+
InsightsVerdictStatus: "healthy" | "watch" | "at-risk";
|
|
6385
|
+
InsightsRecommendationsVerdictSummary: {
|
|
6386
|
+
/** @description Merged-PR volume ratio vs prior equal-length window (current/prior). When priorMergedPrs is 0, value is 1.0 and productivityStatus is watch. */
|
|
6387
|
+
productivityMultiplier: number;
|
|
6388
|
+
productivityStatus: components["schemas"]["InsightsVerdictStatus"];
|
|
6389
|
+
ciFailRatePct: number;
|
|
6390
|
+
qualityStatus: components["schemas"]["InsightsVerdictStatus"];
|
|
6391
|
+
spendPerMergedPrUsd: number;
|
|
6392
|
+
spendPerMergedPrPrevUsd: number;
|
|
6393
|
+
costStatus: components["schemas"]["InsightsVerdictStatus"];
|
|
6394
|
+
};
|
|
6395
|
+
InsightsRecommendationsVerdictSummaryResponse: components["schemas"]["InsightsRecommendationsVerdictSummary"] & {
|
|
6396
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6397
|
+
};
|
|
6398
|
+
InsightsRoiEngineerPoint: {
|
|
6399
|
+
id: string;
|
|
6400
|
+
name: string;
|
|
6401
|
+
team: string;
|
|
6402
|
+
spendUsd: number;
|
|
6403
|
+
mergedPrs: number;
|
|
6404
|
+
};
|
|
6405
|
+
InsightsRecommendationsRoiQuadrant: {
|
|
6406
|
+
medianSpendUsd: number;
|
|
6407
|
+
medianMergedPrs: number;
|
|
6408
|
+
engineers: components["schemas"]["InsightsRoiEngineerPoint"][];
|
|
6409
|
+
correlationHint: string;
|
|
6410
|
+
};
|
|
6411
|
+
InsightsRecommendationsRoiQuadrantResponse: components["schemas"]["InsightsRecommendationsRoiQuadrant"] & {
|
|
6412
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6413
|
+
};
|
|
6414
|
+
InsightsVelocityQualityWeek: {
|
|
6415
|
+
/** Format: date */
|
|
6416
|
+
weekStartIso: string;
|
|
6417
|
+
mergedPrs: number;
|
|
6418
|
+
ciFailRatePct: number;
|
|
6419
|
+
};
|
|
6420
|
+
InsightsRecommendationsVelocityQuality: {
|
|
6421
|
+
weeks: components["schemas"]["InsightsVelocityQualityWeek"][];
|
|
6422
|
+
targetFailRatePct: number;
|
|
6423
|
+
volumeGrowthPct: number;
|
|
6424
|
+
};
|
|
6425
|
+
InsightsRecommendationsVelocityQualityResponse: components["schemas"]["InsightsRecommendationsVelocityQuality"] & {
|
|
6426
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6427
|
+
};
|
|
6428
|
+
/** @enum {string} */
|
|
6429
|
+
InsightsReviewStageId: "open-review" | "review-approval" | "approval-merge" | "merged";
|
|
6430
|
+
InsightsReviewStage: {
|
|
6431
|
+
id: components["schemas"]["InsightsReviewStageId"];
|
|
6432
|
+
name: string;
|
|
6433
|
+
/** @description Wait hours for funnel stages; 0 for the merged volume stage */
|
|
6434
|
+
medianHours: number;
|
|
6435
|
+
trendPct: number;
|
|
6436
|
+
};
|
|
6437
|
+
InsightsReviewerLoadItem: {
|
|
6438
|
+
id: string;
|
|
6439
|
+
name: string;
|
|
6440
|
+
reviewsCount: number;
|
|
6441
|
+
sharePct: number;
|
|
6442
|
+
};
|
|
6443
|
+
InsightsRecommendationsReviewPipeline: {
|
|
6444
|
+
stages: components["schemas"]["InsightsReviewStage"][];
|
|
6445
|
+
bottleneckStageId: components["schemas"]["InsightsReviewStageId"];
|
|
6446
|
+
reviewerLoad: components["schemas"]["InsightsReviewerLoadItem"][];
|
|
6447
|
+
};
|
|
6448
|
+
InsightsRecommendationsReviewPipelineResponse: components["schemas"]["InsightsRecommendationsReviewPipeline"] & {
|
|
6449
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6450
|
+
};
|
|
6451
|
+
InsightsCostPerPrTeam: {
|
|
6452
|
+
id: string;
|
|
6453
|
+
name: string;
|
|
6454
|
+
activeAi: number;
|
|
6455
|
+
spendUsd: number;
|
|
6456
|
+
mergedPrs: number;
|
|
6457
|
+
costPerPrUsd: number;
|
|
6458
|
+
changePct: number;
|
|
6459
|
+
};
|
|
6460
|
+
InsightsRecommendationsCostPerPr: {
|
|
6461
|
+
orgAvgCostUsd: number;
|
|
6462
|
+
orgAvgPrevUsd: number;
|
|
6463
|
+
teams: components["schemas"]["InsightsCostPerPrTeam"][];
|
|
6464
|
+
};
|
|
6465
|
+
InsightsRecommendationsCostPerPrResponse: components["schemas"]["InsightsRecommendationsCostPerPr"] & {
|
|
6466
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6467
|
+
};
|
|
6468
|
+
InsightsAdoptionTeam: {
|
|
6469
|
+
id: string;
|
|
6470
|
+
name: string;
|
|
6471
|
+
activeAi: number;
|
|
6472
|
+
totalMembers: number;
|
|
6473
|
+
readinessPct: number;
|
|
6474
|
+
outputPerEngPerWeek: number;
|
|
6475
|
+
};
|
|
6476
|
+
InsightsRecommendationsAdoptionGap: {
|
|
6477
|
+
totalContributors: number;
|
|
6478
|
+
activeContributors: number;
|
|
6479
|
+
upliftPct: number;
|
|
6480
|
+
teams: components["schemas"]["InsightsAdoptionTeam"][];
|
|
6481
|
+
};
|
|
6482
|
+
InsightsRecommendationsAdoptionGapResponse: components["schemas"]["InsightsRecommendationsAdoptionGap"] & {
|
|
6483
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6484
|
+
};
|
|
6485
|
+
/** @enum {string} */
|
|
6486
|
+
InsightsRecommendationModuleId: "mod-spend-vs-output" | "mod-velocity-vs-quality" | "mod-review-bottleneck" | "mod-cost-per-pr" | "mod-adoption-gap";
|
|
6487
|
+
/** @enum {string} */
|
|
6488
|
+
InsightsRecommendationImpact: "high" | "medium";
|
|
6489
|
+
/** @enum {string} */
|
|
6490
|
+
InsightsRecommendationTone: "action" | "no-action";
|
|
6491
|
+
/** @enum {string} */
|
|
6492
|
+
InsightsEvidenceLinkKind: "user-spend" | "team" | "contributor" | "repo" | "module";
|
|
6493
|
+
InsightsEvidenceChip: {
|
|
6494
|
+
label: string;
|
|
6495
|
+
kind: components["schemas"]["InsightsEvidenceLinkKind"];
|
|
6496
|
+
targetId: string;
|
|
6497
|
+
};
|
|
6498
|
+
InsightsRecommendationEvidenceGroup: {
|
|
6499
|
+
title: string;
|
|
6500
|
+
chips: components["schemas"]["InsightsEvidenceChip"][];
|
|
6501
|
+
};
|
|
6502
|
+
InsightsRecommendationDto: {
|
|
6503
|
+
moduleId: components["schemas"]["InsightsRecommendationModuleId"];
|
|
6504
|
+
moduleName: string;
|
|
6505
|
+
tone: components["schemas"]["InsightsRecommendationTone"];
|
|
6506
|
+
impact: components["schemas"]["InsightsRecommendationImpact"];
|
|
6507
|
+
headline: string;
|
|
6508
|
+
/** @description For tone=action must cite one AI metric and one delivery metric */
|
|
6509
|
+
observed: string;
|
|
6510
|
+
action: string;
|
|
6511
|
+
benefit: string;
|
|
6512
|
+
confidencePct: number;
|
|
6513
|
+
evidence: components["schemas"]["InsightsRecommendationEvidenceGroup"][];
|
|
6514
|
+
};
|
|
6515
|
+
InsightsRecommendationsListResponse: {
|
|
6516
|
+
items: components["schemas"]["InsightsRecommendationDto"][];
|
|
6517
|
+
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6518
|
+
};
|
|
6231
6519
|
};
|
|
6232
6520
|
responses: {
|
|
6233
6521
|
/** @description Missing or invalid bearer token */
|
|
@@ -6285,6 +6573,20 @@ export interface components {
|
|
|
6285
6573
|
InsightsSdlcRangeId: string;
|
|
6286
6574
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
6287
6575
|
InsightsDepartmentFilter: string;
|
|
6576
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
6577
|
+
InsightsRecommendationsDepartments: string[];
|
|
6578
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
6579
|
+
InsightsRecommendationsTeams: string[];
|
|
6580
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
6581
|
+
InsightsRecommendationsDateFrom: string;
|
|
6582
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
6583
|
+
InsightsRecommendationsDateTo: string;
|
|
6584
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
6585
|
+
InsightsRecommendationsProvider: string[];
|
|
6586
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
6587
|
+
InsightsRecommendationsIncludeUnmapped: boolean;
|
|
6588
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
6589
|
+
InsightsRecommendationsIncludeBots: boolean;
|
|
6288
6590
|
/** @description Page size (default 25, max 100). */
|
|
6289
6591
|
PaginationLimit: number;
|
|
6290
6592
|
/** @description Zero-based row offset into the filtered, sorted result set. */
|
|
@@ -6621,6 +6923,35 @@ export type SdlcModuleDto = components['schemas']['SdlcModuleDto'];
|
|
|
6621
6923
|
export type SdlcOverviewDto = components['schemas']['SdlcOverviewDto'];
|
|
6622
6924
|
export type SdlcDrilldownItemDto = components['schemas']['SdlcDrilldownItemDto'];
|
|
6623
6925
|
export type SdlcDrilldownDto = components['schemas']['SdlcDrilldownDto'];
|
|
6926
|
+
export type InsightsResponseMeta = components['schemas']['InsightsResponseMeta'];
|
|
6927
|
+
export type InsightsVerdictStatus = components['schemas']['InsightsVerdictStatus'];
|
|
6928
|
+
export type InsightsRecommendationsVerdictSummary = components['schemas']['InsightsRecommendationsVerdictSummary'];
|
|
6929
|
+
export type InsightsRecommendationsVerdictSummaryResponse = components['schemas']['InsightsRecommendationsVerdictSummaryResponse'];
|
|
6930
|
+
export type InsightsRoiEngineerPoint = components['schemas']['InsightsRoiEngineerPoint'];
|
|
6931
|
+
export type InsightsRecommendationsRoiQuadrant = components['schemas']['InsightsRecommendationsRoiQuadrant'];
|
|
6932
|
+
export type InsightsRecommendationsRoiQuadrantResponse = components['schemas']['InsightsRecommendationsRoiQuadrantResponse'];
|
|
6933
|
+
export type InsightsVelocityQualityWeek = components['schemas']['InsightsVelocityQualityWeek'];
|
|
6934
|
+
export type InsightsRecommendationsVelocityQuality = components['schemas']['InsightsRecommendationsVelocityQuality'];
|
|
6935
|
+
export type InsightsRecommendationsVelocityQualityResponse = components['schemas']['InsightsRecommendationsVelocityQualityResponse'];
|
|
6936
|
+
export type InsightsReviewStageId = components['schemas']['InsightsReviewStageId'];
|
|
6937
|
+
export type InsightsReviewStage = components['schemas']['InsightsReviewStage'];
|
|
6938
|
+
export type InsightsReviewerLoadItem = components['schemas']['InsightsReviewerLoadItem'];
|
|
6939
|
+
export type InsightsRecommendationsReviewPipeline = components['schemas']['InsightsRecommendationsReviewPipeline'];
|
|
6940
|
+
export type InsightsRecommendationsReviewPipelineResponse = components['schemas']['InsightsRecommendationsReviewPipelineResponse'];
|
|
6941
|
+
export type InsightsCostPerPrTeam = components['schemas']['InsightsCostPerPrTeam'];
|
|
6942
|
+
export type InsightsRecommendationsCostPerPr = components['schemas']['InsightsRecommendationsCostPerPr'];
|
|
6943
|
+
export type InsightsRecommendationsCostPerPrResponse = components['schemas']['InsightsRecommendationsCostPerPrResponse'];
|
|
6944
|
+
export type InsightsAdoptionTeam = components['schemas']['InsightsAdoptionTeam'];
|
|
6945
|
+
export type InsightsRecommendationsAdoptionGap = components['schemas']['InsightsRecommendationsAdoptionGap'];
|
|
6946
|
+
export type InsightsRecommendationsAdoptionGapResponse = components['schemas']['InsightsRecommendationsAdoptionGapResponse'];
|
|
6947
|
+
export type InsightsRecommendationModuleId = components['schemas']['InsightsRecommendationModuleId'];
|
|
6948
|
+
export type InsightsRecommendationImpact = components['schemas']['InsightsRecommendationImpact'];
|
|
6949
|
+
export type InsightsRecommendationTone = components['schemas']['InsightsRecommendationTone'];
|
|
6950
|
+
export type InsightsEvidenceLinkKind = components['schemas']['InsightsEvidenceLinkKind'];
|
|
6951
|
+
export type InsightsEvidenceChip = components['schemas']['InsightsEvidenceChip'];
|
|
6952
|
+
export type InsightsRecommendationEvidenceGroup = components['schemas']['InsightsRecommendationEvidenceGroup'];
|
|
6953
|
+
export type InsightsRecommendationDto = components['schemas']['InsightsRecommendationDto'];
|
|
6954
|
+
export type InsightsRecommendationsListResponse = components['schemas']['InsightsRecommendationsListResponse'];
|
|
6624
6955
|
export type ResponseUnauthorized = components['responses']['Unauthorized'];
|
|
6625
6956
|
export type ResponseForbidden = components['responses']['Forbidden'];
|
|
6626
6957
|
export type ResponseZenHrSyncInProgress = components['responses']['ZenHrSyncInProgress'];
|
|
@@ -6637,6 +6968,13 @@ export type ParameterInsightsProductivityFrom = components['parameters']['Insigh
|
|
|
6637
6968
|
export type ParameterInsightsProductivityTo = components['parameters']['InsightsProductivityTo'];
|
|
6638
6969
|
export type ParameterInsightsSdlcRangeId = components['parameters']['InsightsSdlcRangeId'];
|
|
6639
6970
|
export type ParameterInsightsDepartmentFilter = components['parameters']['InsightsDepartmentFilter'];
|
|
6971
|
+
export type ParameterInsightsRecommendationsDepartments = components['parameters']['InsightsRecommendationsDepartments'];
|
|
6972
|
+
export type ParameterInsightsRecommendationsTeams = components['parameters']['InsightsRecommendationsTeams'];
|
|
6973
|
+
export type ParameterInsightsRecommendationsDateFrom = components['parameters']['InsightsRecommendationsDateFrom'];
|
|
6974
|
+
export type ParameterInsightsRecommendationsDateTo = components['parameters']['InsightsRecommendationsDateTo'];
|
|
6975
|
+
export type ParameterInsightsRecommendationsProvider = components['parameters']['InsightsRecommendationsProvider'];
|
|
6976
|
+
export type ParameterInsightsRecommendationsIncludeUnmapped = components['parameters']['InsightsRecommendationsIncludeUnmapped'];
|
|
6977
|
+
export type ParameterInsightsRecommendationsIncludeBots = components['parameters']['InsightsRecommendationsIncludeBots'];
|
|
6640
6978
|
export type ParameterPaginationLimit = components['parameters']['PaginationLimit'];
|
|
6641
6979
|
export type ParameterPaginationOffset = components['parameters']['PaginationOffset'];
|
|
6642
6980
|
export type ParameterPaginationOrder = components['parameters']['PaginationOrder'];
|
|
@@ -9334,6 +9672,412 @@ export interface operations {
|
|
|
9334
9672
|
};
|
|
9335
9673
|
};
|
|
9336
9674
|
};
|
|
9675
|
+
getInsightsRecommendationsVerdictSummary: {
|
|
9676
|
+
parameters: {
|
|
9677
|
+
query: {
|
|
9678
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9679
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9680
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9681
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9682
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9683
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9684
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9685
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9686
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9687
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9688
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9689
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9690
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9691
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9692
|
+
};
|
|
9693
|
+
header?: never;
|
|
9694
|
+
path: {
|
|
9695
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9696
|
+
};
|
|
9697
|
+
cookie?: never;
|
|
9698
|
+
};
|
|
9699
|
+
requestBody?: never;
|
|
9700
|
+
responses: {
|
|
9701
|
+
/** @description Verdict summary with `_meta.isMock=false` */
|
|
9702
|
+
200: {
|
|
9703
|
+
headers: {
|
|
9704
|
+
[name: string]: unknown;
|
|
9705
|
+
};
|
|
9706
|
+
content: {
|
|
9707
|
+
"application/json": components["schemas"]["InsightsRecommendationsVerdictSummaryResponse"];
|
|
9708
|
+
};
|
|
9709
|
+
};
|
|
9710
|
+
/** @description Invalid filter or date range */
|
|
9711
|
+
400: {
|
|
9712
|
+
headers: {
|
|
9713
|
+
[name: string]: unknown;
|
|
9714
|
+
};
|
|
9715
|
+
content: {
|
|
9716
|
+
"application/json": {
|
|
9717
|
+
/** @example invalid_query */
|
|
9718
|
+
error: string;
|
|
9719
|
+
};
|
|
9720
|
+
};
|
|
9721
|
+
};
|
|
9722
|
+
401: components["responses"]["Unauthorized"];
|
|
9723
|
+
403: components["responses"]["Forbidden"];
|
|
9724
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
9725
|
+
404: {
|
|
9726
|
+
headers: {
|
|
9727
|
+
[name: string]: unknown;
|
|
9728
|
+
};
|
|
9729
|
+
content?: never;
|
|
9730
|
+
};
|
|
9731
|
+
};
|
|
9732
|
+
};
|
|
9733
|
+
getInsightsRecommendationsRoiQuadrant: {
|
|
9734
|
+
parameters: {
|
|
9735
|
+
query: {
|
|
9736
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9737
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9738
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9739
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9740
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9741
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9742
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9743
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9744
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9745
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9746
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9747
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9748
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9749
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9750
|
+
};
|
|
9751
|
+
header?: never;
|
|
9752
|
+
path: {
|
|
9753
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9754
|
+
};
|
|
9755
|
+
cookie?: never;
|
|
9756
|
+
};
|
|
9757
|
+
requestBody?: never;
|
|
9758
|
+
responses: {
|
|
9759
|
+
/** @description ROI quadrant payload */
|
|
9760
|
+
200: {
|
|
9761
|
+
headers: {
|
|
9762
|
+
[name: string]: unknown;
|
|
9763
|
+
};
|
|
9764
|
+
content: {
|
|
9765
|
+
"application/json": components["schemas"]["InsightsRecommendationsRoiQuadrantResponse"];
|
|
9766
|
+
};
|
|
9767
|
+
};
|
|
9768
|
+
/** @description Invalid filter or date range */
|
|
9769
|
+
400: {
|
|
9770
|
+
headers: {
|
|
9771
|
+
[name: string]: unknown;
|
|
9772
|
+
};
|
|
9773
|
+
content: {
|
|
9774
|
+
"application/json": {
|
|
9775
|
+
/** @example invalid_query */
|
|
9776
|
+
error: string;
|
|
9777
|
+
};
|
|
9778
|
+
};
|
|
9779
|
+
};
|
|
9780
|
+
401: components["responses"]["Unauthorized"];
|
|
9781
|
+
403: components["responses"]["Forbidden"];
|
|
9782
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
9783
|
+
404: {
|
|
9784
|
+
headers: {
|
|
9785
|
+
[name: string]: unknown;
|
|
9786
|
+
};
|
|
9787
|
+
content?: never;
|
|
9788
|
+
};
|
|
9789
|
+
};
|
|
9790
|
+
};
|
|
9791
|
+
getInsightsRecommendationsVelocityQuality: {
|
|
9792
|
+
parameters: {
|
|
9793
|
+
query: {
|
|
9794
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9795
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9796
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9797
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9798
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9799
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9800
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9801
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9802
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9803
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9804
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9805
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9806
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9807
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9808
|
+
};
|
|
9809
|
+
header?: never;
|
|
9810
|
+
path: {
|
|
9811
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9812
|
+
};
|
|
9813
|
+
cookie?: never;
|
|
9814
|
+
};
|
|
9815
|
+
requestBody?: never;
|
|
9816
|
+
responses: {
|
|
9817
|
+
/** @description Velocity vs quality payload */
|
|
9818
|
+
200: {
|
|
9819
|
+
headers: {
|
|
9820
|
+
[name: string]: unknown;
|
|
9821
|
+
};
|
|
9822
|
+
content: {
|
|
9823
|
+
"application/json": components["schemas"]["InsightsRecommendationsVelocityQualityResponse"];
|
|
9824
|
+
};
|
|
9825
|
+
};
|
|
9826
|
+
/** @description Invalid filter or date range */
|
|
9827
|
+
400: {
|
|
9828
|
+
headers: {
|
|
9829
|
+
[name: string]: unknown;
|
|
9830
|
+
};
|
|
9831
|
+
content: {
|
|
9832
|
+
"application/json": {
|
|
9833
|
+
/** @example invalid_query */
|
|
9834
|
+
error: string;
|
|
9835
|
+
};
|
|
9836
|
+
};
|
|
9837
|
+
};
|
|
9838
|
+
401: components["responses"]["Unauthorized"];
|
|
9839
|
+
403: components["responses"]["Forbidden"];
|
|
9840
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
9841
|
+
404: {
|
|
9842
|
+
headers: {
|
|
9843
|
+
[name: string]: unknown;
|
|
9844
|
+
};
|
|
9845
|
+
content?: never;
|
|
9846
|
+
};
|
|
9847
|
+
};
|
|
9848
|
+
};
|
|
9849
|
+
getInsightsRecommendationsReviewPipeline: {
|
|
9850
|
+
parameters: {
|
|
9851
|
+
query: {
|
|
9852
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9853
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9854
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9855
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9856
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9857
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9858
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9859
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9860
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9861
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9862
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9863
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9864
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9865
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9866
|
+
};
|
|
9867
|
+
header?: never;
|
|
9868
|
+
path: {
|
|
9869
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9870
|
+
};
|
|
9871
|
+
cookie?: never;
|
|
9872
|
+
};
|
|
9873
|
+
requestBody?: never;
|
|
9874
|
+
responses: {
|
|
9875
|
+
/** @description Review pipeline payload */
|
|
9876
|
+
200: {
|
|
9877
|
+
headers: {
|
|
9878
|
+
[name: string]: unknown;
|
|
9879
|
+
};
|
|
9880
|
+
content: {
|
|
9881
|
+
"application/json": components["schemas"]["InsightsRecommendationsReviewPipelineResponse"];
|
|
9882
|
+
};
|
|
9883
|
+
};
|
|
9884
|
+
/** @description Invalid filter or date range */
|
|
9885
|
+
400: {
|
|
9886
|
+
headers: {
|
|
9887
|
+
[name: string]: unknown;
|
|
9888
|
+
};
|
|
9889
|
+
content: {
|
|
9890
|
+
"application/json": {
|
|
9891
|
+
/** @example invalid_query */
|
|
9892
|
+
error: string;
|
|
9893
|
+
};
|
|
9894
|
+
};
|
|
9895
|
+
};
|
|
9896
|
+
401: components["responses"]["Unauthorized"];
|
|
9897
|
+
403: components["responses"]["Forbidden"];
|
|
9898
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
9899
|
+
404: {
|
|
9900
|
+
headers: {
|
|
9901
|
+
[name: string]: unknown;
|
|
9902
|
+
};
|
|
9903
|
+
content?: never;
|
|
9904
|
+
};
|
|
9905
|
+
};
|
|
9906
|
+
};
|
|
9907
|
+
getInsightsRecommendationsCostPerPr: {
|
|
9908
|
+
parameters: {
|
|
9909
|
+
query: {
|
|
9910
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9911
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9912
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9913
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9914
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9915
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9916
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9917
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9918
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9919
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9920
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9921
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9922
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9923
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9924
|
+
};
|
|
9925
|
+
header?: never;
|
|
9926
|
+
path: {
|
|
9927
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9928
|
+
};
|
|
9929
|
+
cookie?: never;
|
|
9930
|
+
};
|
|
9931
|
+
requestBody?: never;
|
|
9932
|
+
responses: {
|
|
9933
|
+
/** @description Cost per PR payload */
|
|
9934
|
+
200: {
|
|
9935
|
+
headers: {
|
|
9936
|
+
[name: string]: unknown;
|
|
9937
|
+
};
|
|
9938
|
+
content: {
|
|
9939
|
+
"application/json": components["schemas"]["InsightsRecommendationsCostPerPrResponse"];
|
|
9940
|
+
};
|
|
9941
|
+
};
|
|
9942
|
+
/** @description Invalid filter or date range */
|
|
9943
|
+
400: {
|
|
9944
|
+
headers: {
|
|
9945
|
+
[name: string]: unknown;
|
|
9946
|
+
};
|
|
9947
|
+
content: {
|
|
9948
|
+
"application/json": {
|
|
9949
|
+
/** @example invalid_query */
|
|
9950
|
+
error: string;
|
|
9951
|
+
};
|
|
9952
|
+
};
|
|
9953
|
+
};
|
|
9954
|
+
401: components["responses"]["Unauthorized"];
|
|
9955
|
+
403: components["responses"]["Forbidden"];
|
|
9956
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
9957
|
+
404: {
|
|
9958
|
+
headers: {
|
|
9959
|
+
[name: string]: unknown;
|
|
9960
|
+
};
|
|
9961
|
+
content?: never;
|
|
9962
|
+
};
|
|
9963
|
+
};
|
|
9964
|
+
};
|
|
9965
|
+
getInsightsRecommendationsAdoptionGap: {
|
|
9966
|
+
parameters: {
|
|
9967
|
+
query: {
|
|
9968
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
9969
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
9970
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
9971
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
9972
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
9973
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
9974
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
9975
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
9976
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
9977
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
9978
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
9979
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
9980
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
9981
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
9982
|
+
};
|
|
9983
|
+
header?: never;
|
|
9984
|
+
path: {
|
|
9985
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
9986
|
+
};
|
|
9987
|
+
cookie?: never;
|
|
9988
|
+
};
|
|
9989
|
+
requestBody?: never;
|
|
9990
|
+
responses: {
|
|
9991
|
+
/** @description Adoption gap payload */
|
|
9992
|
+
200: {
|
|
9993
|
+
headers: {
|
|
9994
|
+
[name: string]: unknown;
|
|
9995
|
+
};
|
|
9996
|
+
content: {
|
|
9997
|
+
"application/json": components["schemas"]["InsightsRecommendationsAdoptionGapResponse"];
|
|
9998
|
+
};
|
|
9999
|
+
};
|
|
10000
|
+
/** @description Invalid filter or date range */
|
|
10001
|
+
400: {
|
|
10002
|
+
headers: {
|
|
10003
|
+
[name: string]: unknown;
|
|
10004
|
+
};
|
|
10005
|
+
content: {
|
|
10006
|
+
"application/json": {
|
|
10007
|
+
/** @example invalid_query */
|
|
10008
|
+
error: string;
|
|
10009
|
+
};
|
|
10010
|
+
};
|
|
10011
|
+
};
|
|
10012
|
+
401: components["responses"]["Unauthorized"];
|
|
10013
|
+
403: components["responses"]["Forbidden"];
|
|
10014
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
10015
|
+
404: {
|
|
10016
|
+
headers: {
|
|
10017
|
+
[name: string]: unknown;
|
|
10018
|
+
};
|
|
10019
|
+
content?: never;
|
|
10020
|
+
};
|
|
10021
|
+
};
|
|
10022
|
+
};
|
|
10023
|
+
getInsightsRecommendationsRecommendations: {
|
|
10024
|
+
parameters: {
|
|
10025
|
+
query: {
|
|
10026
|
+
/** @description Org-chart department ids (repeat param or comma-separated). Empty/omitted = all departments. */
|
|
10027
|
+
departments?: components["parameters"]["InsightsRecommendationsDepartments"];
|
|
10028
|
+
/** @description Org-chart team ids (repeat param or comma-separated). Empty/omitted = all teams in department scope. */
|
|
10029
|
+
teams?: components["parameters"]["InsightsRecommendationsTeams"];
|
|
10030
|
+
/** @description Inclusive window start (`YYYY-MM-DD`). Required with `dateTo`. Maps to Measure day-mode custom range (`from`/`to`). Max span 180 days. */
|
|
10031
|
+
dateFrom: components["parameters"]["InsightsRecommendationsDateFrom"];
|
|
10032
|
+
/** @description Inclusive window end (`YYYY-MM-DD`). Required with `dateFrom`. */
|
|
10033
|
+
dateTo: components["parameters"]["InsightsRecommendationsDateTo"];
|
|
10034
|
+
/** @description AI provider ids (e.g. `cursor`, `copilot`). Empty/omitted = all configured providers. */
|
|
10035
|
+
provider?: components["parameters"]["InsightsRecommendationsProvider"];
|
|
10036
|
+
/** @description Include contributors / AI rows not mapped to a team. */
|
|
10037
|
+
includeUnmapped?: components["parameters"]["InsightsRecommendationsIncludeUnmapped"];
|
|
10038
|
+
/** @description Include bot accounts in PR/CI stats. */
|
|
10039
|
+
includeBots?: components["parameters"]["InsightsRecommendationsIncludeBots"];
|
|
10040
|
+
};
|
|
10041
|
+
header?: never;
|
|
10042
|
+
path: {
|
|
10043
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
10044
|
+
};
|
|
10045
|
+
cookie?: never;
|
|
10046
|
+
};
|
|
10047
|
+
requestBody?: never;
|
|
10048
|
+
responses: {
|
|
10049
|
+
/** @description Recommendation items */
|
|
10050
|
+
200: {
|
|
10051
|
+
headers: {
|
|
10052
|
+
[name: string]: unknown;
|
|
10053
|
+
};
|
|
10054
|
+
content: {
|
|
10055
|
+
"application/json": components["schemas"]["InsightsRecommendationsListResponse"];
|
|
10056
|
+
};
|
|
10057
|
+
};
|
|
10058
|
+
/** @description Invalid filter or date range */
|
|
10059
|
+
400: {
|
|
10060
|
+
headers: {
|
|
10061
|
+
[name: string]: unknown;
|
|
10062
|
+
};
|
|
10063
|
+
content: {
|
|
10064
|
+
"application/json": {
|
|
10065
|
+
/** @example invalid_query */
|
|
10066
|
+
error: string;
|
|
10067
|
+
};
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
10070
|
+
401: components["responses"]["Unauthorized"];
|
|
10071
|
+
403: components["responses"]["Forbidden"];
|
|
10072
|
+
/** @description Workspace does not exist or malformed workspaceId */
|
|
10073
|
+
404: {
|
|
10074
|
+
headers: {
|
|
10075
|
+
[name: string]: unknown;
|
|
10076
|
+
};
|
|
10077
|
+
content?: never;
|
|
10078
|
+
};
|
|
10079
|
+
};
|
|
10080
|
+
};
|
|
9337
10081
|
getAiToolMembers: {
|
|
9338
10082
|
parameters: {
|
|
9339
10083
|
query?: {
|