@harnessio/react-sei-panorama-service-client 0.25.13 → 0.25.14
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/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.d.ts +16 -2
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.js +16 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +4 -44
- package/dist/sei-panorama-service/src/services/index.js +0 -10
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiCombinedInsightsRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiMetrics.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/AiMetrics.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsRequestDto.d.ts +4 -4
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsResponseDto.d.ts +8 -11
- package/dist/sei-panorama-service/src/services/schemas/AiSummaryRequestDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiSummaryResponseDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/CursorMetrics.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityMetrics.d.ts +53 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryMetadata.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/UserMetrics.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfMetrics.d.ts +23 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.d.ts +0 -46
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.d.ts +0 -40
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesDataPointDto.d.ts +0 -41
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.d.ts +0 -15
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrBreakdownItemDto.d.ts +0 -22
- package/dist/sei-panorama-service/src/services/schemas/MttrBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/MttrBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrDataPointDto.d.ts +0 -23
- package/dist/sei-panorama-service/src/services/schemas/MttrDataPointDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/MttrResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/MttrResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/MttrSummaryDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.d.ts +0 -35
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.d.ts +0 -46
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.d.ts +0 -47
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.d.ts +0 -6
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.d.ts +0 -48
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.js +0 -4
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesBreakdownItemDto.js → CursorMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesDataPointDto.js → ProductivityMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesSummaryDto.js → SummaryMetadata.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{MttrBreakdownItemDto.js → WindsurfMetrics.js} +0 -0
package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.d.ts
CHANGED
|
@@ -24,6 +24,16 @@ export declare function aiInsightsControllerGetRawMetrics(props: AiInsightsContr
|
|
|
24
24
|
* - `inactive`: Returns only userName, userEmail, team for inactive users (licensed but not active)
|
|
25
25
|
* - `unassigned`: Returns only userName, userEmail, team for unassigned users (not licensed)
|
|
26
26
|
*
|
|
27
|
+
* **Productivity Metrics:**
|
|
28
|
+
* For `type=active`, automatically includes productivity metrics:
|
|
29
|
+
* - prMerged: Number of PRs merged
|
|
30
|
+
* - defectsResolved: Number of defects resolved
|
|
31
|
+
* - featuresDelivered: Number of features delivered
|
|
32
|
+
* - codingDays: Number of active coding days
|
|
33
|
+
* - recentRework: Recent code rework volume
|
|
34
|
+
* - legacyRework: Legacy code rework volume
|
|
35
|
+
* - avgPRCycleTime: PR cycle time statistics (mean, median, p90, p95)
|
|
36
|
+
*
|
|
27
37
|
* **Integration Types:**
|
|
28
38
|
* Specify using an array of enum values:
|
|
29
39
|
* - `cursor` - Cursor AI coding assistant
|
|
@@ -89,13 +99,17 @@ export declare function aiInsightsControllerGetRawMetrics(props: AiInsightsContr
|
|
|
89
99
|
* - Default sort: lines_accept_percent (DESC) - shows top performers first
|
|
90
100
|
* - Supported fields: userName/user_name, userEmail/user_email, totalActiveDays/total_active_days,
|
|
91
101
|
* lastActiveDate/last_active_date, primaryLanguage/primary_language, linesAccepted/lines_accepted,
|
|
92
|
-
* linesSuggested/lines_suggested, linesAcceptPercent/lines_accept_percent
|
|
102
|
+
* linesSuggested/lines_suggested, linesAcceptPercent/lines_accept_percent,
|
|
103
|
+
* prMerged/pr_merged, defectsResolved/defects_resolved, featuresDelivered/features_delivered,
|
|
104
|
+
* codingDays/coding_days, recentRework/recent_rework, legacyRework/legacy_rework
|
|
93
105
|
*
|
|
94
106
|
* For active users (Windsurf):
|
|
95
107
|
* - Default sort: lines_accept_percent (DESC) - shows top performers first
|
|
96
108
|
* - Supported fields: userName/user_name, userEmail/user_email, totalActiveDays/total_active_days,
|
|
97
109
|
* lastActiveDate/last_active_date, linesAccepted/lines_accepted, linesSuggested/lines_suggested,
|
|
98
|
-
* linesAcceptPercent/lines_accept_percent
|
|
110
|
+
* linesAcceptPercent/lines_accept_percent,
|
|
111
|
+
* prMerged/pr_merged, defectsResolved/defects_resolved, featuresDelivered/features_delivered,
|
|
112
|
+
* codingDays/coding_days, recentRework/recent_rework, legacyRework/legacy_rework
|
|
99
113
|
*
|
|
100
114
|
* Sort criteria: ASC or DESC (defaults to DESC)
|
|
101
115
|
*
|
package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.js
CHANGED
|
@@ -14,6 +14,16 @@ export function aiInsightsControllerGetRawMetrics(props) {
|
|
|
14
14
|
* - `inactive`: Returns only userName, userEmail, team for inactive users (licensed but not active)
|
|
15
15
|
* - `unassigned`: Returns only userName, userEmail, team for unassigned users (not licensed)
|
|
16
16
|
*
|
|
17
|
+
* **Productivity Metrics:**
|
|
18
|
+
* For `type=active`, automatically includes productivity metrics:
|
|
19
|
+
* - prMerged: Number of PRs merged
|
|
20
|
+
* - defectsResolved: Number of defects resolved
|
|
21
|
+
* - featuresDelivered: Number of features delivered
|
|
22
|
+
* - codingDays: Number of active coding days
|
|
23
|
+
* - recentRework: Recent code rework volume
|
|
24
|
+
* - legacyRework: Legacy code rework volume
|
|
25
|
+
* - avgPRCycleTime: PR cycle time statistics (mean, median, p90, p95)
|
|
26
|
+
*
|
|
17
27
|
* **Integration Types:**
|
|
18
28
|
* Specify using an array of enum values:
|
|
19
29
|
* - `cursor` - Cursor AI coding assistant
|
|
@@ -79,13 +89,17 @@ export function aiInsightsControllerGetRawMetrics(props) {
|
|
|
79
89
|
* - Default sort: lines_accept_percent (DESC) - shows top performers first
|
|
80
90
|
* - Supported fields: userName/user_name, userEmail/user_email, totalActiveDays/total_active_days,
|
|
81
91
|
* lastActiveDate/last_active_date, primaryLanguage/primary_language, linesAccepted/lines_accepted,
|
|
82
|
-
* linesSuggested/lines_suggested, linesAcceptPercent/lines_accept_percent
|
|
92
|
+
* linesSuggested/lines_suggested, linesAcceptPercent/lines_accept_percent,
|
|
93
|
+
* prMerged/pr_merged, defectsResolved/defects_resolved, featuresDelivered/features_delivered,
|
|
94
|
+
* codingDays/coding_days, recentRework/recent_rework, legacyRework/legacy_rework
|
|
83
95
|
*
|
|
84
96
|
* For active users (Windsurf):
|
|
85
97
|
* - Default sort: lines_accept_percent (DESC) - shows top performers first
|
|
86
98
|
* - Supported fields: userName/user_name, userEmail/user_email, totalActiveDays/total_active_days,
|
|
87
99
|
* lastActiveDate/last_active_date, linesAccepted/lines_accepted, linesSuggested/lines_suggested,
|
|
88
|
-
* linesAcceptPercent/lines_accept_percent
|
|
100
|
+
* linesAcceptPercent/lines_accept_percent,
|
|
101
|
+
* prMerged/pr_merged, defectsResolved/defects_resolved, featuresDelivered/features_delivered,
|
|
102
|
+
* codingDays/coding_days, recentRework/recent_rework, legacyRework/legacy_rework
|
|
89
103
|
*
|
|
90
104
|
* Sort criteria: ASC or DESC (defaults to DESC)
|
|
91
105
|
*
|
|
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
|
|
9
9
|
export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
|
|
10
|
-
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse =
|
|
10
|
+
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
|
|
11
11
|
export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
|
|
12
12
|
body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
|
|
13
13
|
}
|
|
@@ -319,26 +319,6 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
|
|
|
319
319
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
320
320
|
export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
321
321
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
322
|
-
export type { SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
|
|
323
|
-
export { securityInsightsControllerGetAgedVulnerabilitiesBreakdown, useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
|
|
324
|
-
export type { SecurityInsightsControllerGetAgedVulnerabilitiesErrorResponse, SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesProps, SecurityInsightsControllerGetAgedVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
|
|
325
|
-
export { securityInsightsControllerGetAgedVulnerabilities, useSecurityInsightsControllerGetAgedVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
|
|
326
|
-
export type { SecurityInsightsControllerGetMttrBreakdownErrorResponse, SecurityInsightsControllerGetMttrBreakdownOkResponse, SecurityInsightsControllerGetMttrBreakdownProps, SecurityInsightsControllerGetMttrBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
|
|
327
|
-
export { securityInsightsControllerGetMttrBreakdown, useSecurityInsightsControllerGetMttrBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
|
|
328
|
-
export type { SecurityInsightsControllerGetMttrErrorResponse, SecurityInsightsControllerGetMttrOkResponse, SecurityInsightsControllerGetMttrProps, SecurityInsightsControllerGetMttrQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
|
|
329
|
-
export { securityInsightsControllerGetMttr, useSecurityInsightsControllerGetMttrQuery, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
|
|
330
|
-
export type { SecurityInsightsControllerGetOpenCloseRateBreakdownErrorResponse, SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse, SecurityInsightsControllerGetOpenCloseRateBreakdownProps, SecurityInsightsControllerGetOpenCloseRateBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
|
|
331
|
-
export { securityInsightsControllerGetOpenCloseRateBreakdown, useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
|
|
332
|
-
export type { SecurityInsightsControllerGetOpenCloseRateErrorResponse, SecurityInsightsControllerGetOpenCloseRateOkResponse, SecurityInsightsControllerGetOpenCloseRateProps, SecurityInsightsControllerGetOpenCloseRateQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
|
|
333
|
-
export { securityInsightsControllerGetOpenCloseRate, useSecurityInsightsControllerGetOpenCloseRateQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
|
|
334
|
-
export type { SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
335
|
-
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
336
|
-
export type { SecurityInsightsControllerGetSecurityDrilldownErrorResponse, SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownProps, SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
337
|
-
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
338
|
-
export type { SecurityInsightsControllerGetSecurityFilterValuesErrorResponse, SecurityInsightsControllerGetSecurityFilterValuesOkResponse, SecurityInsightsControllerGetSecurityFilterValuesProps, SecurityInsightsControllerGetSecurityFilterValuesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery';
|
|
339
|
-
export { securityInsightsControllerGetSecurityFilterValues, useSecurityInsightsControllerGetSecurityFilterValuesQuery, } from './hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery';
|
|
340
|
-
export type { SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
|
|
341
|
-
export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
|
|
342
322
|
export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
343
323
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
344
324
|
export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
@@ -391,11 +371,6 @@ export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
|
391
371
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
392
372
|
export type { AdoptionDataPoint } from './schemas/AdoptionDataPoint';
|
|
393
373
|
export type { AdoptionPeriodData } from './schemas/AdoptionPeriodData';
|
|
394
|
-
export type { AgedVulnerabilitiesBreakdownItemDto } from './schemas/AgedVulnerabilitiesBreakdownItemDto';
|
|
395
|
-
export type { AgedVulnerabilitiesBreakdownResponseDto } from './schemas/AgedVulnerabilitiesBreakdownResponseDto';
|
|
396
|
-
export type { AgedVulnerabilitiesDataPointDto } from './schemas/AgedVulnerabilitiesDataPointDto';
|
|
397
|
-
export type { AgedVulnerabilitiesResponseDto } from './schemas/AgedVulnerabilitiesResponseDto';
|
|
398
|
-
export type { AgedVulnerabilitiesSummaryDto } from './schemas/AgedVulnerabilitiesSummaryDto';
|
|
399
374
|
export type { AiAdoptionBreakdownRequestDto } from './schemas/AiAdoptionBreakdownRequestDto';
|
|
400
375
|
export type { AiAdoptionBreakdownResponseDto } from './schemas/AiAdoptionBreakdownResponseDto';
|
|
401
376
|
export type { AiAdoptionMetricsRequestDto } from './schemas/AiAdoptionMetricsRequestDto';
|
|
@@ -454,6 +429,7 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
|
|
454
429
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
455
430
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
456
431
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
432
|
+
export type { CursorMetrics } from './schemas/CursorMetrics';
|
|
457
433
|
export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
|
|
458
434
|
export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
|
|
459
435
|
export type { DataPoint } from './schemas/DataPoint';
|
|
@@ -547,7 +523,6 @@ export type { IntegrationHealthDrillDownDto } from './schemas/IntegrationHealthD
|
|
|
547
523
|
export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
|
|
548
524
|
export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
|
549
525
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
|
550
|
-
export type { IntegrationRawMetrics } from './schemas/IntegrationRawMetrics';
|
|
551
526
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
|
552
527
|
export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
|
|
553
528
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
|
@@ -583,26 +558,11 @@ export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
|
|
|
583
558
|
export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
|
|
584
559
|
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
|
585
560
|
export type { MonthlyLicenseUsageResponseDto } from './schemas/MonthlyLicenseUsageResponseDto';
|
|
586
|
-
export type { MttrBreakdownItemDto } from './schemas/MttrBreakdownItemDto';
|
|
587
|
-
export type { MttrBreakdownResponseDto } from './schemas/MttrBreakdownResponseDto';
|
|
588
561
|
export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
|
589
562
|
export type { MttrDataPoint } from './schemas/MttrDataPoint';
|
|
590
|
-
export type { MttrDataPointDto } from './schemas/MttrDataPointDto';
|
|
591
563
|
export type { MttrDrillDownResponseDto } from './schemas/MttrDrillDownResponseDto';
|
|
592
564
|
export type { MttrDrilldownRequest } from './schemas/MttrDrilldownRequest';
|
|
593
565
|
export type { MttrMetric } from './schemas/MttrMetric';
|
|
594
|
-
export type { MttrResponseDto } from './schemas/MttrResponseDto';
|
|
595
|
-
export type { MttrSummaryDto } from './schemas/MttrSummaryDto';
|
|
596
|
-
export type { OpenCloseRateBreakdownItemDto } from './schemas/OpenCloseRateBreakdownItemDto';
|
|
597
|
-
export type { OpenCloseRateBreakdownResponseDto } from './schemas/OpenCloseRateBreakdownResponseDto';
|
|
598
|
-
export type { OpenCloseRateDataPointDto } from './schemas/OpenCloseRateDataPointDto';
|
|
599
|
-
export type { OpenCloseRateResponseDto } from './schemas/OpenCloseRateResponseDto';
|
|
600
|
-
export type { OpenCloseRateSummaryDto } from './schemas/OpenCloseRateSummaryDto';
|
|
601
|
-
export type { OpenVulnerabilitiesBreakdownItemDto } from './schemas/OpenVulnerabilitiesBreakdownItemDto';
|
|
602
|
-
export type { OpenVulnerabilitiesBreakdownResponseDto } from './schemas/OpenVulnerabilitiesBreakdownResponseDto';
|
|
603
|
-
export type { OpenVulnerabilitiesDataPointDto } from './schemas/OpenVulnerabilitiesDataPointDto';
|
|
604
|
-
export type { OpenVulnerabilitiesResponseDto } from './schemas/OpenVulnerabilitiesResponseDto';
|
|
605
|
-
export type { OpenVulnerabilitiesSummaryDto } from './schemas/OpenVulnerabilitiesSummaryDto';
|
|
606
566
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
|
607
567
|
export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
|
|
608
568
|
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
|
@@ -612,7 +572,6 @@ export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto'
|
|
|
612
572
|
export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
|
|
613
573
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
|
614
574
|
export type { PaginationMetadata } from './schemas/PaginationMetadata';
|
|
615
|
-
export type { PaginationParams } from './schemas/PaginationParams';
|
|
616
575
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
|
617
576
|
export type { PrCommitsRequest } from './schemas/PrCommitsRequest';
|
|
618
577
|
export type { PrCommitsResponse } from './schemas/PrCommitsResponse';
|
|
@@ -635,6 +594,7 @@ export type { ProductivityFeatureDrilldownResponseDto } from './schemas/Producti
|
|
|
635
594
|
export type { ProductivityFeatureIndividualDrilldownResponseDto } from './schemas/ProductivityFeatureIndividualDrilldownResponseDto';
|
|
636
595
|
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
|
637
596
|
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
|
597
|
+
export type { ProductivityMetrics } from './schemas/ProductivityMetrics';
|
|
638
598
|
export type { ProductivityProfileCreateRequestDto } from './schemas/ProductivityProfileCreateRequestDto';
|
|
639
599
|
export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
|
|
640
600
|
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
|
@@ -653,7 +613,6 @@ export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
|
|
|
653
613
|
export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
|
|
654
614
|
export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
|
|
655
615
|
export type { SectionDto } from './schemas/SectionDto';
|
|
656
|
-
export type { SecurityDrilldownResponseDto } from './schemas/SecurityDrilldownResponseDto';
|
|
657
616
|
export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
|
|
658
617
|
export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
|
|
659
618
|
export type { SortOption } from './schemas/SortOption';
|
|
@@ -684,6 +643,7 @@ export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDt
|
|
|
684
643
|
export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
|
|
685
644
|
export type { Stage } from './schemas/Stage';
|
|
686
645
|
export type { SummaryCard } from './schemas/SummaryCard';
|
|
646
|
+
export type { SummaryMetadata } from './schemas/SummaryMetadata';
|
|
687
647
|
export type { SummarySection } from './schemas/SummarySection';
|
|
688
648
|
export type { SummaryValue } from './schemas/SummaryValue';
|
|
689
649
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
|
@@ -707,7 +667,7 @@ export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
|
707
667
|
export type { UserMetrics } from './schemas/UserMetrics';
|
|
708
668
|
export type { ValidationError } from './schemas/ValidationError';
|
|
709
669
|
export type { VersionReleaseRequest } from './schemas/VersionReleaseRequest';
|
|
710
|
-
export type {
|
|
670
|
+
export type { WindsurfMetrics } from './schemas/WindsurfMetrics';
|
|
711
671
|
export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
|
|
712
672
|
export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
|
|
713
673
|
export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
|
@@ -158,16 +158,6 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
|
|
|
158
158
|
export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
|
|
159
159
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
160
160
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
161
|
-
export { securityInsightsControllerGetAgedVulnerabilitiesBreakdown, useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
|
|
162
|
-
export { securityInsightsControllerGetAgedVulnerabilities, useSecurityInsightsControllerGetAgedVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
|
|
163
|
-
export { securityInsightsControllerGetMttrBreakdown, useSecurityInsightsControllerGetMttrBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
|
|
164
|
-
export { securityInsightsControllerGetMttr, useSecurityInsightsControllerGetMttrQuery, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
|
|
165
|
-
export { securityInsightsControllerGetOpenCloseRateBreakdown, useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
|
|
166
|
-
export { securityInsightsControllerGetOpenCloseRate, useSecurityInsightsControllerGetOpenCloseRateQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
|
|
167
|
-
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
168
|
-
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
169
|
-
export { securityInsightsControllerGetSecurityFilterValues, useSecurityInsightsControllerGetSecurityFilterValuesQuery, } from './hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery';
|
|
170
|
-
export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
|
|
171
161
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
172
162
|
export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
173
163
|
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
@@ -19,8 +19,8 @@ export interface AiAdoptionBreakdownRequestDto {
|
|
|
19
19
|
* List of integration types to include
|
|
20
20
|
* @example ["cursor","windsurf"]
|
|
21
21
|
*/
|
|
22
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
23
|
-
integrationTypeList?: Array<'cursor' | 'windsurf'>;
|
|
22
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
23
|
+
integrationTypeList?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
24
24
|
/**
|
|
25
25
|
* Start date of the analysis period
|
|
26
26
|
* @format date-time
|
|
@@ -17,8 +17,8 @@ export interface AiAdoptionMetricsRequestDto {
|
|
|
17
17
|
* List of AI integration types to include in the response
|
|
18
18
|
* @example ["cursor","windsurf"]
|
|
19
19
|
*/
|
|
20
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
21
|
-
integrationTypeList?: Array<'cursor' | 'windsurf'>;
|
|
20
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
21
|
+
integrationTypeList?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
22
22
|
/**
|
|
23
23
|
* Start date for the metrics period (ISO 8601 format)
|
|
24
24
|
* @format date-time
|
|
@@ -14,8 +14,8 @@ export interface AiAdoptionSummaryRequestDto {
|
|
|
14
14
|
* List of integration types to include
|
|
15
15
|
* @example ["cursor","windsurf"]
|
|
16
16
|
*/
|
|
17
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
18
|
-
integrationTypeList?: Array<'cursor' | 'windsurf'>;
|
|
17
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
18
|
+
integrationTypeList?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
19
19
|
/**
|
|
20
20
|
* Start date of the analysis period
|
|
21
21
|
* @format date-time
|
|
@@ -21,7 +21,7 @@ export interface AiCombinedInsightsRequestDto {
|
|
|
21
21
|
* Metric type to fetch
|
|
22
22
|
* @example "DAILY_ACTIVE_USERS"
|
|
23
23
|
*/
|
|
24
|
-
metricType: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
|
|
24
|
+
metricType: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'dailyActiveUsers' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested' | 'netLinesAddedPerContributor';
|
|
25
25
|
/**
|
|
26
26
|
* Start date for the metrics
|
|
27
27
|
* @format date-time
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ProductivityMetrics } from '../schemas/ProductivityMetrics';
|
|
1
2
|
/**
|
|
2
3
|
* AI metrics data
|
|
3
4
|
*/
|
|
@@ -31,6 +32,10 @@ export interface AiMetrics {
|
|
|
31
32
|
* @example "Java"
|
|
32
33
|
*/
|
|
33
34
|
primaryLanguage?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Productivity metrics
|
|
37
|
+
*/
|
|
38
|
+
productivity?: ProductivityMetrics;
|
|
34
39
|
/**
|
|
35
40
|
* Total active days (Cursor only)
|
|
36
41
|
* @format int32
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PaginationRequest } from '../schemas/PaginationRequest';
|
|
2
2
|
/**
|
|
3
3
|
* Request for AI raw metrics with pagination
|
|
4
4
|
*/
|
|
@@ -16,8 +16,8 @@ export interface AiRawMetricsRequestDto {
|
|
|
16
16
|
* List of integration types to include
|
|
17
17
|
* @example ["cursor","windsurf"]
|
|
18
18
|
*/
|
|
19
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
20
|
-
integrationTypeList?: Array<'cursor' | 'windsurf'>;
|
|
19
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
20
|
+
integrationTypeList?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
21
21
|
/**
|
|
22
22
|
* @format int32
|
|
23
23
|
*/
|
|
@@ -29,7 +29,7 @@ export interface AiRawMetricsRequestDto {
|
|
|
29
29
|
/**
|
|
30
30
|
* Pagination parameters
|
|
31
31
|
*/
|
|
32
|
-
pagination?:
|
|
32
|
+
pagination?: PaginationRequest;
|
|
33
33
|
/**
|
|
34
34
|
* Field to sort by (camelCase will be auto-converted to snake_case). For inactive: defaults to user_name. For active: defaults to lines_accept_percent. Supported fields vary by type - see endpoint documentation for details.
|
|
35
35
|
* @example "linesAcceptPercent"
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
2
|
+
import type { UserMetrics } from '../schemas/UserMetrics';
|
|
2
3
|
/**
|
|
3
4
|
* AI raw metrics with pagination
|
|
4
5
|
*/
|
|
5
6
|
export interface AiRawMetricsResponseDto {
|
|
6
|
-
/**
|
|
7
|
-
* Cursor raw metrics data
|
|
8
|
-
*/
|
|
9
|
-
cursor?: IntegrationRawMetrics;
|
|
10
|
-
/**
|
|
11
|
-
* Combined Cursor and Windsurf raw metrics data
|
|
12
|
-
*/
|
|
13
|
-
cursorAndWindsurf?: IntegrationRawMetrics;
|
|
14
7
|
/**
|
|
15
8
|
* End date of the analysis period
|
|
16
9
|
* @format date-time
|
|
17
10
|
* @example "2025-10-12"
|
|
18
11
|
*/
|
|
19
12
|
endDate?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Pagination information
|
|
15
|
+
*/
|
|
16
|
+
pagination?: PaginationInfo;
|
|
20
17
|
/**
|
|
21
18
|
* Start date of the analysis period
|
|
22
19
|
* @format date-time
|
|
@@ -24,7 +21,7 @@ export interface AiRawMetricsResponseDto {
|
|
|
24
21
|
*/
|
|
25
22
|
startDate?: string;
|
|
26
23
|
/**
|
|
27
|
-
*
|
|
24
|
+
* List of user metrics combining all integrations
|
|
28
25
|
*/
|
|
29
|
-
|
|
26
|
+
users?: UserMetrics[];
|
|
30
27
|
}
|
|
@@ -3,8 +3,8 @@ export interface AiTeamBreakdownRequestDto {
|
|
|
3
3
|
* @format date-time
|
|
4
4
|
*/
|
|
5
5
|
endDate?: string;
|
|
6
|
-
integrationType?: Array<'cursor' | 'windsurf'>;
|
|
7
|
-
metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
|
|
6
|
+
integrationType?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
7
|
+
metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'dailyActiveUsers' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested' | 'netLinesAddedPerContributor';
|
|
8
8
|
/**
|
|
9
9
|
* @format date-time
|
|
10
10
|
*/
|
|
@@ -5,7 +5,7 @@ export interface AiTeamBreakdownResponseDto {
|
|
|
5
5
|
* @format date-time
|
|
6
6
|
*/
|
|
7
7
|
endDate?: string;
|
|
8
|
-
metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
|
|
8
|
+
metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'dailyActiveUsers' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested' | 'netLinesAddedPerContributor';
|
|
9
9
|
/**
|
|
10
10
|
* @format date-time
|
|
11
11
|
*/
|
|
@@ -12,7 +12,7 @@ export interface AiToolUsersSummaryRequestDto {
|
|
|
12
12
|
* List of AI integration types to include in the summary
|
|
13
13
|
* @example ["windsurf","cursor"]
|
|
14
14
|
*/
|
|
15
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
15
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
16
16
|
/**
|
|
17
17
|
* Start date of the analysis period
|
|
18
18
|
* @format date-time
|
|
@@ -12,7 +12,7 @@ export interface AiTopLanguagesRequestDto {
|
|
|
12
12
|
* Integration type (cursor or windsurf)
|
|
13
13
|
* @example ["cursor"]
|
|
14
14
|
*/
|
|
15
|
-
integrationType: Array<'cursor' | 'windsurf'>;
|
|
15
|
+
integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
|
|
16
16
|
/**
|
|
17
17
|
* Start date for the query period
|
|
18
18
|
* @format date-time
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cursor AI metrics data
|
|
3
|
+
*/
|
|
4
|
+
export interface CursorMetrics {
|
|
5
|
+
/**
|
|
6
|
+
* Last active date
|
|
7
|
+
* @format date-time
|
|
8
|
+
* @example "2025-11-21"
|
|
9
|
+
*/
|
|
10
|
+
lastActiveDate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Primary programming language
|
|
13
|
+
* @example "TypeScript"
|
|
14
|
+
*/
|
|
15
|
+
primaryLanguage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Total accept rate
|
|
18
|
+
* @format double
|
|
19
|
+
* @example 51.2
|
|
20
|
+
*/
|
|
21
|
+
totalAcceptRate?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Total accepts
|
|
24
|
+
* @format int64
|
|
25
|
+
* @example 12088
|
|
26
|
+
*/
|
|
27
|
+
totalAccepts?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Total active days
|
|
30
|
+
* @format int32
|
|
31
|
+
* @example 73
|
|
32
|
+
*/
|
|
33
|
+
totalActiveDays?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Total suggestions
|
|
36
|
+
* @format int64
|
|
37
|
+
* @example 23632
|
|
38
|
+
*/
|
|
39
|
+
totalSuggestions?: number;
|
|
40
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface FilterValuesRequestDto {
|
|
|
11
11
|
/**
|
|
12
12
|
* Filter key to get values for (used when isCustom = false)
|
|
13
13
|
*/
|
|
14
|
-
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
14
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
15
15
|
/**
|
|
16
16
|
* Integration ID
|
|
17
17
|
*/
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Productivity metrics data
|
|
3
|
+
*/
|
|
4
|
+
export interface ProductivityMetrics {
|
|
5
|
+
/**
|
|
6
|
+
* Average PR cycle time in seconds
|
|
7
|
+
* @format double
|
|
8
|
+
* @example 172800
|
|
9
|
+
*/
|
|
10
|
+
avgPRCycleTime?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Number of coding days
|
|
13
|
+
* @format int32
|
|
14
|
+
* @example 22
|
|
15
|
+
*/
|
|
16
|
+
codingDays?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Number of defects resolved
|
|
19
|
+
* @format double
|
|
20
|
+
* @example 8
|
|
21
|
+
*/
|
|
22
|
+
defectsResolved?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Number of features delivered
|
|
25
|
+
* @format double
|
|
26
|
+
* @example 6
|
|
27
|
+
*/
|
|
28
|
+
featuresDelivered?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Legacy rework percentage (lines modified after 30+ days)
|
|
31
|
+
* @format double
|
|
32
|
+
* @example 9.3
|
|
33
|
+
*/
|
|
34
|
+
legacyRework?: number;
|
|
35
|
+
/**
|
|
36
|
+
* New work percentage (net new lines of code)
|
|
37
|
+
* @format double
|
|
38
|
+
* @example 75.5
|
|
39
|
+
*/
|
|
40
|
+
newWork?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of PRs merged
|
|
43
|
+
* @format double
|
|
44
|
+
* @example 15
|
|
45
|
+
*/
|
|
46
|
+
prMerged?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Recent rework percentage (lines modified within 30 days)
|
|
49
|
+
* @format double
|
|
50
|
+
* @example 15.2
|
|
51
|
+
*/
|
|
52
|
+
recentRework?: number;
|
|
53
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface TeamFilter {
|
|
|
7
7
|
applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'WORK_COMPLETED'>;
|
|
8
8
|
customFilterId?: string;
|
|
9
9
|
customFilterKey?: string;
|
|
10
|
-
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
10
|
+
filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
11
11
|
/**
|
|
12
12
|
* @format int32
|
|
13
13
|
*/
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import type { AiMetrics } from '../schemas/AiMetrics';
|
|
2
|
+
import type { CursorMetrics } from '../schemas/CursorMetrics';
|
|
3
|
+
import type { ProductivityMetrics } from '../schemas/ProductivityMetrics';
|
|
4
|
+
import type { WindsurfMetrics } from '../schemas/WindsurfMetrics';
|
|
2
5
|
/**
|
|
3
6
|
* User metrics data
|
|
4
7
|
*/
|
|
5
8
|
export interface UserMetrics {
|
|
6
9
|
/**
|
|
7
10
|
* AI metrics data
|
|
11
|
+
* @deprecated
|
|
8
12
|
*/
|
|
9
13
|
ai?: AiMetrics;
|
|
14
|
+
/**
|
|
15
|
+
* Cursor AI metrics
|
|
16
|
+
*/
|
|
17
|
+
cursor?: CursorMetrics;
|
|
18
|
+
/**
|
|
19
|
+
* Productivity metrics
|
|
20
|
+
*/
|
|
21
|
+
productivity?: ProductivityMetrics;
|
|
10
22
|
/**
|
|
11
23
|
* Team name
|
|
12
24
|
* @example "Engineering Team"
|
|
@@ -22,4 +34,8 @@ export interface UserMetrics {
|
|
|
22
34
|
* @example "sunil gattupalle"
|
|
23
35
|
*/
|
|
24
36
|
userName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Windsurf AI metrics
|
|
39
|
+
*/
|
|
40
|
+
windsurf?: WindsurfMetrics;
|
|
25
41
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Windsurf AI metrics data
|
|
3
|
+
*/
|
|
4
|
+
export interface WindsurfMetrics {
|
|
5
|
+
/**
|
|
6
|
+
* Line accept percentage
|
|
7
|
+
* @format double
|
|
8
|
+
* @example 99.8
|
|
9
|
+
*/
|
|
10
|
+
linesAcceptPercent?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Lines accepted
|
|
13
|
+
* @format int64
|
|
14
|
+
* @example 6875
|
|
15
|
+
*/
|
|
16
|
+
linesAccepted?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Lines suggested
|
|
19
|
+
* @format int64
|
|
20
|
+
* @example 6886
|
|
21
|
+
*/
|
|
22
|
+
linesSuggested?: number;
|
|
23
|
+
}
|