@thinkai/tai-api-contract 2.214.0 → 2.216.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.
@@ -1025,6 +1025,50 @@ export interface paths {
1025
1025
  patch?: never;
1026
1026
  trace?: never;
1027
1027
  };
1028
+ "/workspaces/{workspaceId}/team-ownership": {
1029
+ parameters: {
1030
+ query?: never;
1031
+ header?: never;
1032
+ path?: never;
1033
+ cookie?: never;
1034
+ };
1035
+ /**
1036
+ * List team ownership mappings (Team Efficiency T1)
1037
+ * @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.
1038
+ */
1039
+ get: operations["getWorkspaceTeamOwnership"];
1040
+ /**
1041
+ * Replace team ownership mappings (Team Efficiency T1)
1042
+ * @description Full-replace ownership rows. Requires workspace **admin**. Flag-gated like GET (`404` `team_efficiency_disabled` when off).
1043
+ */
1044
+ put: operations["putWorkspaceTeamOwnership"];
1045
+ post?: never;
1046
+ delete?: never;
1047
+ options?: never;
1048
+ head?: never;
1049
+ patch?: never;
1050
+ trace?: never;
1051
+ };
1052
+ "/workspaces/{workspaceId}/team-ownership/import-datadog-catalog": {
1053
+ parameters: {
1054
+ query?: never;
1055
+ header?: never;
1056
+ path?: never;
1057
+ cookie?: never;
1058
+ };
1059
+ get?: never;
1060
+ put?: never;
1061
+ /**
1062
+ * Import Datadog service-catalog team ownership
1063
+ * @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.
1064
+ */
1065
+ post: operations["importDatadogTeamOwnershipCatalog"];
1066
+ delete?: never;
1067
+ options?: never;
1068
+ head?: never;
1069
+ patch?: never;
1070
+ trace?: never;
1071
+ };
1028
1072
  "/workspaces/{workspaceId}/productivity-targets": {
1029
1073
  parameters: {
1030
1074
  query?: never;
@@ -1573,6 +1617,66 @@ export interface paths {
1573
1617
  patch?: never;
1574
1618
  trace?: never;
1575
1619
  };
1620
+ "/workspaces/{workspaceId}/insights/devex/results": {
1621
+ parameters: {
1622
+ query?: never;
1623
+ header?: never;
1624
+ path?: never;
1625
+ cookie?: never;
1626
+ };
1627
+ /**
1628
+ * DevEx survey aggregates (SurveyMonkey)
1629
+ * @description Persisted DevEx aggregates (`devex-score`) for a workspace. Aggregates only — never email or free text. Returns 404 when `backend-api.teamEfficiency.enabled` is false (unless the workspace is on the optional allowlist).
1630
+ */
1631
+ get: operations["getDevexResults"];
1632
+ put?: never;
1633
+ post?: never;
1634
+ delete?: never;
1635
+ options?: never;
1636
+ head?: never;
1637
+ patch?: never;
1638
+ trace?: never;
1639
+ };
1640
+ "/workspaces/{workspaceId}/insights/devex/sync": {
1641
+ parameters: {
1642
+ query?: never;
1643
+ header?: never;
1644
+ path?: never;
1645
+ cookie?: never;
1646
+ };
1647
+ get?: never;
1648
+ put?: never;
1649
+ /**
1650
+ * Sync DevEx aggregates from SurveyMonkey
1651
+ * @description Pull SurveyMonkey responses, score dimensions (% favourable after reverse-score), apply team min-response rollup and response-rate flags, and persist aggregates only. Admin only. 404 when Team Efficiency is disabled.
1652
+ */
1653
+ post: operations["syncDevexSurvey"];
1654
+ delete?: never;
1655
+ options?: never;
1656
+ head?: never;
1657
+ patch?: never;
1658
+ trace?: never;
1659
+ };
1660
+ "/workspaces/{workspaceId}/connectors/surveymonkey/verify": {
1661
+ parameters: {
1662
+ query?: never;
1663
+ header?: never;
1664
+ path?: never;
1665
+ cookie?: never;
1666
+ };
1667
+ get?: never;
1668
+ put?: never;
1669
+ /**
1670
+ * Re-verify SurveyMonkey connection
1671
+ * @description Re-tests the stored SurveyMonkey token and returns an anonymity warning when the collector is not anonymous (when the API exposes that setting). 404 when flag off.
1672
+ */
1673
+ post: operations["verifySurveyMonkeyConnector"];
1674
+ delete?: never;
1675
+ options?: never;
1676
+ head?: never;
1677
+ patch?: never;
1678
+ trace?: never;
1679
+ };
1576
1680
  "/workspaces/{workspaceId}/insights/sdlc/overview": {
1577
1681
  parameters: {
1578
1682
  query?: never;
@@ -6466,6 +6570,106 @@ export interface components {
6466
6570
  /** @description PagerDuty user email when known from the last successful verify. */
6467
6571
  userEmail?: string;
6468
6572
  };
6573
+ /** @description SurveyMonkey DevEx survey source for Team Efficiency (`devex-score`). Requires a private-app access token with Responses API read. Plan tier: Advantage (or Premier / Enterprise) with API access. Hidden when `backend-api.teamEfficiency.enabled` is false (404 on PUT/test). */
6574
+ SurveyMonkeySourceDto: {
6575
+ /** @enum {string} */
6576
+ type: "surveymonkey";
6577
+ /** @description SurveyMonkey private app access token (Bearer, write-only on PUT). */
6578
+ token: string;
6579
+ /** @description SurveyMonkey survey id to score. */
6580
+ surveyId: string;
6581
+ /** @description Optional collector id for anonymity checks. */
6582
+ collectorId?: string;
6583
+ /** @description Optional API base URL override. Default `https://api.surveymonkey.com/v3`. */
6584
+ baseUrl?: string;
6585
+ /** @description Required choice question whose options map to org-chart teams. */
6586
+ teamQuestionId?: string;
6587
+ /** @description SurveyMonkey choice id → org-chart team id. */
6588
+ teamOptionMap?: {
6589
+ [key: string]: string;
6590
+ };
6591
+ /** @description SurveyMonkey choice id → department id (for <5 response rollup). */
6592
+ teamDepartmentMap?: {
6593
+ [key: string]: string;
6594
+ };
6595
+ questions?: {
6596
+ questionId: string;
6597
+ /** @enum {string} */
6598
+ dimension: "feedback_loops" | "cognitive_load" | "flow_state";
6599
+ /** @description Negatively worded questions are reverse-scored before % favourable. */
6600
+ reverse?: boolean;
6601
+ }[];
6602
+ /** @description Optional display name from a successful connection test (echo-after-test). */
6603
+ userName?: string;
6604
+ };
6605
+ /** @description Redacted SurveyMonkey source returned by `GET /workspaces/{workspaceId}/config` when Team Efficiency is enabled. Raw token is never returned. Omitted from sources when the feature flag is off. */
6606
+ SurveyMonkeySourceConfigDto: {
6607
+ /** @enum {string} */
6608
+ type: "surveymonkey";
6609
+ hasToken: boolean;
6610
+ surveyId?: string;
6611
+ collectorId?: string;
6612
+ baseUrl?: string;
6613
+ teamQuestionId?: string;
6614
+ teamOptionMap?: {
6615
+ [key: string]: string;
6616
+ };
6617
+ teamDepartmentMap?: {
6618
+ [key: string]: string;
6619
+ };
6620
+ questions?: {
6621
+ questionId: string;
6622
+ /** @enum {string} */
6623
+ dimension: "feedback_loops" | "cognitive_load" | "flow_state";
6624
+ reverse?: boolean;
6625
+ }[];
6626
+ userName?: string;
6627
+ };
6628
+ /** @description One persisted DevEx aggregate row (never email / free text). */
6629
+ DevexResultDto: {
6630
+ teamId?: string | null;
6631
+ departmentId?: string | null;
6632
+ /** @example 2026-Q1 */
6633
+ quarter: string;
6634
+ feedbackLoopsScore: number;
6635
+ cognitiveLoadScore: number;
6636
+ flowStateScore: number;
6637
+ /** @description Average of the three dimension scores (0–100). */
6638
+ devexScore: number;
6639
+ responseCount: number;
6640
+ rosterSize?: number | null;
6641
+ responseRate?: number | null;
6642
+ lowResponseRate: boolean;
6643
+ /** @description True when the team had fewer than 5 responses and rolled to department. */
6644
+ rolledUp: boolean;
6645
+ /** Format: date-time */
6646
+ updatedAt: string;
6647
+ };
6648
+ DevexResultsResponseDto: {
6649
+ /** @enum {string} */
6650
+ metricId: "devex-score";
6651
+ results: components["schemas"]["DevexResultDto"][];
6652
+ };
6653
+ DevexSyncRequestDto: {
6654
+ /** @example 2026-Q1 */
6655
+ quarter?: string;
6656
+ rosterByTeam?: {
6657
+ [key: string]: number;
6658
+ };
6659
+ rosterByDepartment?: {
6660
+ [key: string]: number;
6661
+ };
6662
+ };
6663
+ DevexSyncResultDto: {
6664
+ /** @enum {string} */
6665
+ status?: "ok" | "skipped" | "error";
6666
+ quarter?: string;
6667
+ responseCount?: number;
6668
+ resultCount?: number;
6669
+ code?: string;
6670
+ reason?: string;
6671
+ error?: string;
6672
+ };
6469
6673
  /** @description incident.io incident-management source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires an incident.io API key (incident.io → Settings → API keys) with permission to view incidents. The API host is fixed (`https://api.incident.io`); there is no base URL field. */
6470
6674
  IncidentIoSourceDto: {
6471
6675
  /** @enum {string} */
@@ -6691,7 +6895,7 @@ export interface components {
6691
6895
  topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
6692
6896
  };
6693
6897
  WorkspaceConfigDto: {
6694
- 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"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
6898
+ 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"])[];
6695
6899
  orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
6696
6900
  /** @enum {string|null} */
6697
6901
  region?: "us" | "eu" | "me" | null;
@@ -6921,6 +7125,58 @@ export interface components {
6921
7125
  /** @enum {string|null} */
6922
7126
  idpType?: "okta" | "entra" | "saml" | null;
6923
7127
  };
7128
+ /** @enum {string} */
7129
+ TeamOwnershipKindDto: "repo" | "service" | "tracker_team";
7130
+ TeamOwnershipMappingDto: {
7131
+ /** Format: uuid */
7132
+ id: string;
7133
+ /** @description Org-chart team node id */
7134
+ teamId: string;
7135
+ kind: components["schemas"]["TeamOwnershipKindDto"];
7136
+ /** @description e.g. github, datadog, linear */
7137
+ provider: string;
7138
+ /** @description Repo slug, service name, or tracker team key */
7139
+ key: string;
7140
+ /** Format: date-time */
7141
+ createdAt: string;
7142
+ /** Format: date-time */
7143
+ updatedAt: string;
7144
+ };
7145
+ TeamOwnershipUnmappedDto: {
7146
+ /** @description Workspace repo provider_slugs with no kind=repo mapping */
7147
+ repos: string[];
7148
+ /** @description Datadog catalog services with no kind=service mapping (empty when Datadog disconnected) */
7149
+ services: string[];
7150
+ };
7151
+ TeamOwnershipListDto: {
7152
+ mappings: components["schemas"]["TeamOwnershipMappingDto"][];
7153
+ unmapped: components["schemas"]["TeamOwnershipUnmappedDto"];
7154
+ };
7155
+ TeamOwnershipMappingInputDto: {
7156
+ teamId: string;
7157
+ kind: components["schemas"]["TeamOwnershipKindDto"];
7158
+ provider: string;
7159
+ key: string;
7160
+ };
7161
+ TeamOwnershipReplaceDto: {
7162
+ mappings: components["schemas"]["TeamOwnershipMappingInputDto"][];
7163
+ };
7164
+ TeamOwnershipDatadogImportMatchDto: {
7165
+ teamId: string;
7166
+ service: string;
7167
+ catalogTeam: string;
7168
+ };
7169
+ TeamOwnershipDatadogImportUnmatchedDto: {
7170
+ service: string;
7171
+ catalogTeam: string | null;
7172
+ };
7173
+ TeamOwnershipDatadogImportResultDto: {
7174
+ importedCount: number;
7175
+ upserted: number;
7176
+ unmatchedCount: number;
7177
+ imported: components["schemas"]["TeamOwnershipDatadogImportMatchDto"][];
7178
+ unmatched: components["schemas"]["TeamOwnershipDatadogImportUnmatchedDto"][];
7179
+ };
6924
7180
  /** @description Optional weekly per-engineer targets for Productivity Insights. Omitted or null fields mean no target for that metric. Additional properties are rejected. */
6925
7181
  ProductivityTargetsDto: {
6926
7182
  /** @description Floor — meet or exceed this many merged PRs per engineer per week. */
@@ -13842,6 +14098,12 @@ export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQub
13842
14098
  export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
13843
14099
  export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
13844
14100
  export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
14101
+ export type SurveyMonkeySourceDto = components['schemas']['SurveyMonkeySourceDto'];
14102
+ export type SurveyMonkeySourceConfigDto = components['schemas']['SurveyMonkeySourceConfigDto'];
14103
+ export type DevexResultDto = components['schemas']['DevexResultDto'];
14104
+ export type DevexResultsResponseDto = components['schemas']['DevexResultsResponseDto'];
14105
+ export type DevexSyncRequestDto = components['schemas']['DevexSyncRequestDto'];
14106
+ export type DevexSyncResultDto = components['schemas']['DevexSyncResultDto'];
13845
14107
  export type IncidentIoSourceDto = components['schemas']['IncidentIoSourceDto'];
13846
14108
  export type IncidentIoSourceConfigDto = components['schemas']['IncidentIoSourceConfigDto'];
13847
14109
  export type SentrySourceDto = components['schemas']['SentrySourceDto'];
@@ -13877,6 +14139,15 @@ export type AdminEnterpriseSsoApplyRequestDto = components['schemas']['AdminEnte
13877
14139
  export type AdminEnterpriseSsoApplyResponseDto = components['schemas']['AdminEnterpriseSsoApplyResponseDto'];
13878
14140
  export type AdminEnterpriseSsoRejectRequestDto = components['schemas']['AdminEnterpriseSsoRejectRequestDto'];
13879
14141
  export type AuthSsoLookupDto = components['schemas']['AuthSsoLookupDto'];
14142
+ export type TeamOwnershipKindDto = components['schemas']['TeamOwnershipKindDto'];
14143
+ export type TeamOwnershipMappingDto = components['schemas']['TeamOwnershipMappingDto'];
14144
+ export type TeamOwnershipUnmappedDto = components['schemas']['TeamOwnershipUnmappedDto'];
14145
+ export type TeamOwnershipListDto = components['schemas']['TeamOwnershipListDto'];
14146
+ export type TeamOwnershipMappingInputDto = components['schemas']['TeamOwnershipMappingInputDto'];
14147
+ export type TeamOwnershipReplaceDto = components['schemas']['TeamOwnershipReplaceDto'];
14148
+ export type TeamOwnershipDatadogImportMatchDto = components['schemas']['TeamOwnershipDatadogImportMatchDto'];
14149
+ export type TeamOwnershipDatadogImportUnmatchedDto = components['schemas']['TeamOwnershipDatadogImportUnmatchedDto'];
14150
+ export type TeamOwnershipDatadogImportResultDto = components['schemas']['TeamOwnershipDatadogImportResultDto'];
13880
14151
  export type ProductivityTargetsDto = components['schemas']['ProductivityTargetsDto'];
13881
14152
  export type DimensionTargetPercentsDto = components['schemas']['DimensionTargetPercentsDto'];
13882
14153
  export type DimensionTargetsRepoOverrideDto = components['schemas']['DimensionTargetsRepoOverrideDto'];
@@ -17614,6 +17885,144 @@ export interface operations {
17614
17885
  };
17615
17886
  };
17616
17887
  };
17888
+ getWorkspaceTeamOwnership: {
17889
+ parameters: {
17890
+ query?: never;
17891
+ header?: never;
17892
+ path: {
17893
+ workspaceId: components["parameters"]["WorkspaceId"];
17894
+ };
17895
+ cookie?: never;
17896
+ };
17897
+ requestBody?: never;
17898
+ responses: {
17899
+ /** @description Current mappings and unmapped inventory */
17900
+ 200: {
17901
+ headers: {
17902
+ [name: string]: unknown;
17903
+ };
17904
+ content: {
17905
+ "application/json": components["schemas"]["TeamOwnershipListDto"];
17906
+ };
17907
+ };
17908
+ 401: components["responses"]["Unauthorized"];
17909
+ 403: components["responses"]["Forbidden"];
17910
+ /** @description Workspace missing or Team Efficiency disabled */
17911
+ 404: {
17912
+ headers: {
17913
+ [name: string]: unknown;
17914
+ };
17915
+ content: {
17916
+ "application/json": components["schemas"]["ErrorMessageDto"];
17917
+ };
17918
+ };
17919
+ };
17920
+ };
17921
+ putWorkspaceTeamOwnership: {
17922
+ parameters: {
17923
+ query?: never;
17924
+ header?: never;
17925
+ path: {
17926
+ workspaceId: components["parameters"]["WorkspaceId"];
17927
+ };
17928
+ cookie?: never;
17929
+ };
17930
+ requestBody: {
17931
+ content: {
17932
+ "application/json": components["schemas"]["TeamOwnershipReplaceDto"];
17933
+ };
17934
+ };
17935
+ responses: {
17936
+ /** @description Replaced mappings */
17937
+ 200: {
17938
+ headers: {
17939
+ [name: string]: unknown;
17940
+ };
17941
+ content: {
17942
+ "application/json": components["schemas"]["TeamOwnershipListDto"];
17943
+ };
17944
+ };
17945
+ /** @description Invalid payload */
17946
+ 400: {
17947
+ headers: {
17948
+ [name: string]: unknown;
17949
+ };
17950
+ content: {
17951
+ "application/json": components["schemas"]["ErrorMessageDto"];
17952
+ };
17953
+ };
17954
+ 401: components["responses"]["Unauthorized"];
17955
+ /** @description Forbidden — workspace admin required */
17956
+ 403: {
17957
+ headers: {
17958
+ [name: string]: unknown;
17959
+ };
17960
+ content: {
17961
+ "application/json": components["schemas"]["ErrorMessageDto"];
17962
+ };
17963
+ };
17964
+ /** @description Workspace missing or Team Efficiency disabled */
17965
+ 404: {
17966
+ headers: {
17967
+ [name: string]: unknown;
17968
+ };
17969
+ content: {
17970
+ "application/json": components["schemas"]["ErrorMessageDto"];
17971
+ };
17972
+ };
17973
+ };
17974
+ };
17975
+ importDatadogTeamOwnershipCatalog: {
17976
+ parameters: {
17977
+ query?: never;
17978
+ header?: never;
17979
+ path: {
17980
+ workspaceId: components["parameters"]["WorkspaceId"];
17981
+ };
17982
+ cookie?: never;
17983
+ };
17984
+ requestBody?: never;
17985
+ responses: {
17986
+ /** @description Import result */
17987
+ 200: {
17988
+ headers: {
17989
+ [name: string]: unknown;
17990
+ };
17991
+ content: {
17992
+ "application/json": components["schemas"]["TeamOwnershipDatadogImportResultDto"];
17993
+ };
17994
+ };
17995
+ 401: components["responses"]["Unauthorized"];
17996
+ 403: components["responses"]["Forbidden"];
17997
+ /** @description Workspace missing or Team Efficiency disabled */
17998
+ 404: {
17999
+ headers: {
18000
+ [name: string]: unknown;
18001
+ };
18002
+ content: {
18003
+ "application/json": components["schemas"]["ErrorMessageDto"];
18004
+ };
18005
+ };
18006
+ /** @description Datadog not connected */
18007
+ 422: {
18008
+ headers: {
18009
+ [name: string]: unknown;
18010
+ };
18011
+ content: {
18012
+ "application/json": components["schemas"]["ErrorMessageDto"];
18013
+ };
18014
+ };
18015
+ /** @description Datadog catalog fetch failed */
18016
+ 503: {
18017
+ headers: {
18018
+ [name: string]: unknown;
18019
+ };
18020
+ content: {
18021
+ "application/json": components["schemas"]["ErrorMessageDto"];
18022
+ };
18023
+ };
18024
+ };
18025
+ };
17617
18026
  getWorkspaceProductivityTargets: {
17618
18027
  parameters: {
17619
18028
  query?: never;
@@ -17796,7 +18205,7 @@ export interface operations {
17796
18205
  requestBody: {
17797
18206
  content: {
17798
18207
  "application/json": {
17799
- 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"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
18208
+ 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"])[];
17800
18209
  };
17801
18210
  };
17802
18211
  };
@@ -17850,7 +18259,7 @@ export interface operations {
17850
18259
  };
17851
18260
  requestBody: {
17852
18261
  content: {
17853
- "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"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
18262
+ "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"];
17854
18263
  };
17855
18264
  };
17856
18265
  responses: {
@@ -19200,6 +19609,128 @@ export interface operations {
19200
19609
  };
19201
19610
  };
19202
19611
  };
19612
+ getDevexResults: {
19613
+ parameters: {
19614
+ query?: {
19615
+ quarter?: string;
19616
+ team?: string;
19617
+ department?: string;
19618
+ };
19619
+ header?: never;
19620
+ path: {
19621
+ workspaceId: components["parameters"]["WorkspaceId"];
19622
+ };
19623
+ cookie?: never;
19624
+ };
19625
+ requestBody?: never;
19626
+ responses: {
19627
+ /** @description DevEx aggregate rows */
19628
+ 200: {
19629
+ headers: {
19630
+ [name: string]: unknown;
19631
+ };
19632
+ content: {
19633
+ "application/json": components["schemas"]["DevexResultsResponseDto"];
19634
+ };
19635
+ };
19636
+ 401: components["responses"]["Unauthorized"];
19637
+ 403: components["responses"]["Forbidden"];
19638
+ /** @description Feature flag off or workspace not found */
19639
+ 404: {
19640
+ headers: {
19641
+ [name: string]: unknown;
19642
+ };
19643
+ content?: never;
19644
+ };
19645
+ };
19646
+ };
19647
+ syncDevexSurvey: {
19648
+ parameters: {
19649
+ query?: never;
19650
+ header?: never;
19651
+ path: {
19652
+ workspaceId: components["parameters"]["WorkspaceId"];
19653
+ };
19654
+ cookie?: never;
19655
+ };
19656
+ requestBody?: {
19657
+ content: {
19658
+ "application/json": components["schemas"]["DevexSyncRequestDto"];
19659
+ };
19660
+ };
19661
+ responses: {
19662
+ /** @description Sync completed */
19663
+ 200: {
19664
+ headers: {
19665
+ [name: string]: unknown;
19666
+ };
19667
+ content: {
19668
+ "application/json": components["schemas"]["DevexSyncResultDto"];
19669
+ };
19670
+ };
19671
+ 401: components["responses"]["Unauthorized"];
19672
+ 403: components["responses"]["Forbidden"];
19673
+ /** @description Feature flag off */
19674
+ 404: {
19675
+ headers: {
19676
+ [name: string]: unknown;
19677
+ };
19678
+ content?: never;
19679
+ };
19680
+ /** @description SurveyMonkey not connected or mapping incomplete */
19681
+ 422: {
19682
+ headers: {
19683
+ [name: string]: unknown;
19684
+ };
19685
+ content?: never;
19686
+ };
19687
+ /** @description SurveyMonkey API failure */
19688
+ 502: {
19689
+ headers: {
19690
+ [name: string]: unknown;
19691
+ };
19692
+ content?: never;
19693
+ };
19694
+ };
19695
+ };
19696
+ verifySurveyMonkeyConnector: {
19697
+ parameters: {
19698
+ query?: never;
19699
+ header?: never;
19700
+ path: {
19701
+ workspaceId: components["parameters"]["WorkspaceId"];
19702
+ };
19703
+ cookie?: never;
19704
+ };
19705
+ requestBody?: never;
19706
+ responses: {
19707
+ /** @description Connection test result */
19708
+ 200: {
19709
+ headers: {
19710
+ [name: string]: unknown;
19711
+ };
19712
+ content: {
19713
+ "application/json": components["schemas"]["TestConnectionResponseDto"];
19714
+ };
19715
+ };
19716
+ 401: components["responses"]["Unauthorized"];
19717
+ 403: components["responses"]["Forbidden"];
19718
+ /** @description Feature flag off */
19719
+ 404: {
19720
+ headers: {
19721
+ [name: string]: unknown;
19722
+ };
19723
+ content?: never;
19724
+ };
19725
+ /** @description SurveyMonkey not connected */
19726
+ 422: {
19727
+ headers: {
19728
+ [name: string]: unknown;
19729
+ };
19730
+ content?: never;
19731
+ };
19732
+ };
19733
+ };
19203
19734
  getSdlcInsightsOverview: {
19204
19735
  parameters: {
19205
19736
  query?: {