@harnessio/react-sei-panorama-service-client 0.25.3 → 0.25.5

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.
Files changed (104) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.d.ts +57 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.js +49 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionMetricsQuery.d.ts +52 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionMetricsQuery.js +44 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionSummaryQuery.d.ts +51 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionSummaryQuery.js +43 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.d.ts +27 -8
  8. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.js +22 -2
  9. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.d.ts +103 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.js +95 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamBreakdownQuery.d.ts +50 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamBreakdownQuery.js +42 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetToolUsersSummaryQuery.d.ts +44 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetToolUsersSummaryQuery.js +36 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.d.ts +30 -6
  16. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.js +26 -2
  17. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  18. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +1 -1
  19. package/dist/sei-panorama-service/src/services/index.d.ts +38 -18
  20. package/dist/sei-panorama-service/src/services/index.js +6 -2
  21. package/dist/sei-panorama-service/src/services/schemas/AdoptionDataPoint.d.ts +35 -0
  22. package/dist/sei-panorama-service/src/services/schemas/AdoptionPeriodData.d.ts +35 -0
  23. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownRequestDto.d.ts +38 -0
  24. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownResponseDto.d.ts +30 -0
  25. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsRequestDto.d.ts +34 -0
  26. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsResponseDto.d.ts +35 -0
  27. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryRequestDto.d.ts +32 -0
  28. package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryResponseDto.d.ts +30 -0
  29. package/dist/sei-panorama-service/src/services/schemas/AiCombinedInsightsRequestDto.d.ts +37 -0
  30. package/dist/sei-panorama-service/src/services/schemas/AiMetrics.d.ts +40 -0
  31. package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsRequestDto.d.ts +66 -0
  32. package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsResponseDto.d.ts +30 -0
  33. package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownDataPoint.d.ts +31 -0
  34. package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownDataPoint.js +4 -0
  35. package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.d.ts +16 -0
  36. package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.js +4 -0
  37. package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownResponseDto.d.ts +14 -0
  38. package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.d.ts +28 -0
  39. package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.js +4 -0
  40. package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryResponseDto.d.ts +31 -0
  41. package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.d.ts +28 -0
  42. package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.js +4 -0
  43. package/dist/sei-panorama-service/src/services/schemas/ApiError.d.ts +31 -0
  44. package/dist/sei-panorama-service/src/services/schemas/ApiError.js +1 -0
  45. package/dist/sei-panorama-service/src/services/schemas/DoraLttcMttrMetric.d.ts +1 -1
  46. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +1 -1
  47. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +1 -1
  48. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  49. package/dist/sei-panorama-service/src/services/schemas/Integration.d.ts +1 -1
  50. package/dist/sei-panorama-service/src/services/schemas/IntegrationAdoptionSummary.d.ts +14 -0
  51. package/dist/sei-panorama-service/src/services/schemas/IntegrationAdoptionSummary.js +1 -0
  52. package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.d.ts +15 -0
  53. package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.js +1 -0
  54. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +2 -2
  55. package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.d.ts +10 -4
  56. package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.js +0 -3
  57. package/dist/sei-panorama-service/src/services/schemas/LanguageCount.d.ts +1 -1
  58. package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +1 -1
  59. package/dist/sei-panorama-service/src/services/schemas/MttrMetric.d.ts +1 -1
  60. package/dist/sei-panorama-service/src/services/schemas/PaginationInfo.d.ts +14 -4
  61. package/dist/sei-panorama-service/src/services/schemas/PaginationParams.d.ts +19 -0
  62. package/dist/sei-panorama-service/src/services/schemas/PaginationParams.js +4 -0
  63. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  64. package/dist/sei-panorama-service/src/services/schemas/TeamPeriodData.d.ts +46 -0
  65. package/dist/sei-panorama-service/src/services/schemas/TeamPeriodData.js +4 -0
  66. package/dist/sei-panorama-service/src/services/schemas/ToolSummary.d.ts +53 -0
  67. package/dist/sei-panorama-service/src/services/schemas/ToolSummary.js +4 -0
  68. package/dist/sei-panorama-service/src/services/schemas/UserMetrics.d.ts +25 -0
  69. package/dist/sei-panorama-service/src/services/schemas/UserMetrics.js +1 -0
  70. package/dist/sei-panorama-service/src/services/schemas/ValidationError.d.ts +19 -0
  71. package/dist/sei-panorama-service/src/services/schemas/ValidationError.js +4 -0
  72. package/package.json +1 -1
  73. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.d.ts +0 -22
  74. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.js +0 -14
  75. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.d.ts +0 -22
  76. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.js +0 -14
  77. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts +0 -34
  78. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts +0 -58
  79. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataPoint.d.ts +0 -14
  80. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataResponseDto.d.ts +0 -22
  81. package/dist/sei-panorama-service/src/services/schemas/AiInsightsRequestDto.d.ts +0 -17
  82. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionRequestDto.d.ts +0 -34
  83. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionResponseDto.d.ts +0 -35
  84. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionUserDto.d.ts +0 -30
  85. package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownDataDto.d.ts +0 -27
  86. package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.d.ts +0 -12
  87. package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownUserDto.d.ts +0 -52
  88. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.d.ts +0 -17
  89. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.d.ts +0 -12
  90. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.d.ts +0 -60
  91. /package/dist/sei-panorama-service/src/services/schemas/{AiFeatureDataPoint.js → AdoptionDataPoint.js} +0 -0
  92. /package/dist/sei-panorama-service/src/services/schemas/{AiInsightsRequestDto.js → AdoptionPeriodData.js} +0 -0
  93. /package/dist/sei-panorama-service/src/services/schemas/{AiTeamAdoptionUserDto.js → AiAdoptionBreakdownRequestDto.js} +0 -0
  94. /package/dist/sei-panorama-service/src/services/schemas/{AiDailyActiveUsersDrilldownRequestDto.js → AiAdoptionBreakdownResponseDto.js} +0 -0
  95. /package/dist/sei-panorama-service/src/services/schemas/{CursorDrilldownOptions.js → AiAdoptionMetricsRequestDto.js} +0 -0
  96. /package/dist/sei-panorama-service/src/services/schemas/{AiDailyActiveUsersDrilldownResponseDto.js → AiAdoptionMetricsResponseDto.js} +0 -0
  97. /package/dist/sei-panorama-service/src/services/schemas/{CursorDrilldownUserDto.js → AiAdoptionSummaryRequestDto.js} +0 -0
  98. /package/dist/sei-panorama-service/src/services/schemas/{AiFeatureDataResponseDto.js → AiAdoptionSummaryResponseDto.js} +0 -0
  99. /package/dist/sei-panorama-service/src/services/schemas/{WindsurfDrilldownOptions.js → AiCombinedInsightsRequestDto.js} +0 -0
  100. /package/dist/sei-panorama-service/src/services/schemas/{WindsurfDrilldownUserDto.js → AiMetrics.js} +0 -0
  101. /package/dist/sei-panorama-service/src/services/schemas/{AiTeamAdoptionRequestDto.js → AiRawMetricsRequestDto.js} +0 -0
  102. /package/dist/sei-panorama-service/src/services/schemas/{AiTeamAdoptionResponseDto.js → AiRawMetricsResponseDto.js} +0 -0
  103. /package/dist/sei-panorama-service/src/services/schemas/{CursorDrilldownDataDto.js → AiTeamBreakdownResponseDto.js} +0 -0
  104. /package/dist/sei-panorama-service/src/services/schemas/{WindsurfDrilldownDataDto.js → AiToolUsersSummaryResponseDto.js} +0 -0
@@ -0,0 +1,30 @@
1
+ import type { IntegrationAdoptionSummary } from '../schemas/IntegrationAdoptionSummary';
2
+ /**
3
+ * AI adoption summary with current and previous period comparison
4
+ */
5
+ export interface AiAdoptionSummaryResponseDto {
6
+ /**
7
+ * Cursor adoption summary with current and previous period data
8
+ */
9
+ cursor?: IntegrationAdoptionSummary;
10
+ /**
11
+ * Combined Cursor and Windsurf adoption summary
12
+ */
13
+ cursorAndWindsurf?: IntegrationAdoptionSummary;
14
+ /**
15
+ * End date of the current analysis period
16
+ * @format date-time
17
+ * @example "2025-12-07"
18
+ */
19
+ endDate?: string;
20
+ /**
21
+ * Start date of the current analysis period
22
+ * @format date-time
23
+ * @example "2025-11-10"
24
+ */
25
+ startDate?: string;
26
+ /**
27
+ * Windsurf adoption summary with current and previous period data
28
+ */
29
+ windsurf?: IntegrationAdoptionSummary;
30
+ }
@@ -0,0 +1,37 @@
1
+ export interface AiCombinedInsightsRequestDto {
2
+ /**
3
+ * End date for the metrics
4
+ * @format date-time
5
+ * @example "2025-12-07"
6
+ */
7
+ endDate: string;
8
+ /**
9
+ * Granularity for data aggregation (DAILY, WEEKLY, MONTHLY)
10
+ * @example "WEEKLY"
11
+ */
12
+ granularity: 'DAILY' | 'MONTHLY' | 'WEEKLY';
13
+ /**
14
+ * Array of integration types or comma-separated string (e.g., ['windsurf','cursor'] or 'windsurf,cursor' or 'all')
15
+ * @example ["windsurf","cursor"]
16
+ */
17
+ integrationType: {
18
+ [key: string]: any;
19
+ };
20
+ /**
21
+ * Metric type to fetch
22
+ * @example "DAILY_ACTIVE_USERS"
23
+ */
24
+ metricType: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
25
+ /**
26
+ * Start date for the metrics
27
+ * @format date-time
28
+ * @example "2025-11-10"
29
+ */
30
+ startDate: string;
31
+ /**
32
+ * Team reference ID
33
+ * @format int32
34
+ * @example 203128
35
+ */
36
+ teamRefId: number;
37
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * AI metrics data
3
+ */
4
+ export interface AiMetrics {
5
+ /**
6
+ * Last active date (Cursor only)
7
+ * @format date-time
8
+ * @example "2025-11-21"
9
+ */
10
+ lastActiveDate?: string;
11
+ /**
12
+ * Line accept percentage
13
+ * @format double
14
+ * @example 74.7
15
+ */
16
+ linesAcceptPercent?: number;
17
+ /**
18
+ * Lines accepted
19
+ * @format int64
20
+ * @example 40248
21
+ */
22
+ linesAccepted?: number;
23
+ /**
24
+ * Lines suggested
25
+ * @format int64
26
+ * @example 53844
27
+ */
28
+ linesSuggested?: number;
29
+ /**
30
+ * Primary programming language (Cursor only)
31
+ * @example "Java"
32
+ */
33
+ primaryLanguage?: string;
34
+ /**
35
+ * Total active days (Cursor only)
36
+ * @format int32
37
+ * @example 11
38
+ */
39
+ totalActiveDays?: number;
40
+ }
@@ -0,0 +1,66 @@
1
+ import type { PaginationParams } from '../schemas/PaginationParams';
2
+ /**
3
+ * Request for AI raw metrics with pagination
4
+ */
5
+ export interface AiRawMetricsRequestDto {
6
+ active?: boolean;
7
+ cursorRequested?: boolean;
8
+ /**
9
+ * End date of the analysis period
10
+ * @format date-time
11
+ * @example "2025-12-07"
12
+ */
13
+ endDate: string;
14
+ inactive?: boolean;
15
+ /**
16
+ * List of integration types to include
17
+ * @example ["cursor","windsurf"]
18
+ */
19
+ integrationType: Array<'cursor' | 'windsurf'>;
20
+ integrationTypeList?: Array<'cursor' | 'windsurf'>;
21
+ /**
22
+ * @format int32
23
+ */
24
+ pageNumber?: number;
25
+ /**
26
+ * @format int32
27
+ */
28
+ pageSize?: number;
29
+ /**
30
+ * Pagination parameters
31
+ */
32
+ pagination?: PaginationParams;
33
+ /**
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
+ * @example "linesAcceptPercent"
36
+ */
37
+ sortBy?: string;
38
+ /**
39
+ * Sort criteria: ASC or DESC. Defaults to DESC.
40
+ * @example "DESC"
41
+ */
42
+ sortByCriteria?: string;
43
+ sortByCriteriaOrDefault?: string;
44
+ sortByOrDefault?: string;
45
+ /**
46
+ * Start date of the analysis period
47
+ * @format date-time
48
+ * @example "2025-11-10"
49
+ */
50
+ startDate: string;
51
+ /**
52
+ * Team reference ID
53
+ * @format int32
54
+ * @example 203128
55
+ */
56
+ teamRefId: number;
57
+ /**
58
+ * Type of users to retrieve: 'active', 'inactive', or 'unassigned'
59
+ * @default "active"
60
+ * @example "active"
61
+ */
62
+ type?: string;
63
+ typeOrDefault?: string;
64
+ unassigned?: boolean;
65
+ windsurfRequested?: boolean;
66
+ }
@@ -0,0 +1,30 @@
1
+ import type { IntegrationRawMetrics } from '../schemas/IntegrationRawMetrics';
2
+ /**
3
+ * AI raw metrics with pagination
4
+ */
5
+ 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
+ /**
15
+ * End date of the analysis period
16
+ * @format date-time
17
+ * @example "2025-10-12"
18
+ */
19
+ endDate?: string;
20
+ /**
21
+ * Start date of the analysis period
22
+ * @format date-time
23
+ * @example "2025-10-10"
24
+ */
25
+ startDate?: string;
26
+ /**
27
+ * Windsurf raw metrics data
28
+ */
29
+ windsurf?: IntegrationRawMetrics;
30
+ }
@@ -0,0 +1,31 @@
1
+ export interface AiTeamBreakdownDataPoint {
2
+ /**
3
+ * @format int32
4
+ */
5
+ activeUsers?: number;
6
+ /**
7
+ * @format date-time
8
+ */
9
+ endDate?: string;
10
+ /**
11
+ * @format int32
12
+ */
13
+ inactiveUsers?: number;
14
+ /**
15
+ * @format date-time
16
+ */
17
+ startDate?: string;
18
+ /**
19
+ * @format int32
20
+ */
21
+ teamId?: number;
22
+ teamName?: string;
23
+ /**
24
+ * @format int32
25
+ */
26
+ unAssigned?: number;
27
+ /**
28
+ * @format double
29
+ */
30
+ value?: number;
31
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,16 @@
1
+ export interface AiTeamBreakdownRequestDto {
2
+ /**
3
+ * @format date-time
4
+ */
5
+ endDate?: string;
6
+ integrationType?: Array<'cursor' | 'windsurf'>;
7
+ metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
8
+ /**
9
+ * @format date-time
10
+ */
11
+ startDate?: string;
12
+ /**
13
+ * @format int32
14
+ */
15
+ teamRefId?: number;
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { AiTeamBreakdownDataPoint } from '../schemas/AiTeamBreakdownDataPoint';
2
+ export interface AiTeamBreakdownResponseDto {
3
+ cursor?: AiTeamBreakdownDataPoint[];
4
+ /**
5
+ * @format date-time
6
+ */
7
+ endDate?: string;
8
+ metricType?: 'acceptanceRatePercentage' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'aiSpendPer1KLineOfEdit' | 'linesAccepted' | 'linesAddedPerContributor' | 'linesSuggested';
9
+ /**
10
+ * @format date-time
11
+ */
12
+ startDate?: string;
13
+ windsurf?: AiTeamBreakdownDataPoint[];
14
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Request for AI tool users summary statistics
3
+ */
4
+ export interface AiToolUsersSummaryRequestDto {
5
+ /**
6
+ * End date of the analysis period
7
+ * @format date-time
8
+ * @example "2025-12-10"
9
+ */
10
+ endDate: string;
11
+ /**
12
+ * List of AI integration types to include in the summary
13
+ * @example ["windsurf","cursor"]
14
+ */
15
+ integrationType: Array<'cursor' | 'windsurf'>;
16
+ /**
17
+ * Start date of the analysis period
18
+ * @format date-time
19
+ * @example "2025-10-10"
20
+ */
21
+ startDate: string;
22
+ /**
23
+ * Team reference ID
24
+ * @format int32
25
+ * @example 203128
26
+ */
27
+ teamRefId: number;
28
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { IntegrationSummary } from '../schemas/IntegrationSummary';
2
+ /**
3
+ * AI Tool Users Summary with statistics for both Cursor and Windsurf
4
+ */
5
+ export interface AiToolUsersSummaryResponseDto {
6
+ /**
7
+ * Cursor tool summary with current and previous period data
8
+ */
9
+ cursor?: IntegrationSummary;
10
+ /**
11
+ * End date of the current analysis period
12
+ * @format date-time
13
+ * @example "2025-12-10"
14
+ */
15
+ endDate?: string;
16
+ /**
17
+ * Start date of the current analysis period
18
+ * @format date-time
19
+ * @example "2025-10-10"
20
+ */
21
+ startDate?: string;
22
+ /**
23
+ * Team reference ID
24
+ * @format int32
25
+ */
26
+ teamRefId?: number;
27
+ /**
28
+ * Windsurf tool summary with current and previous period data
29
+ */
30
+ windsurf?: IntegrationSummary;
31
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Request for top programming languages data
3
+ */
4
+ export interface AiTopLanguagesRequestDto {
5
+ /**
6
+ * End date for the query period
7
+ * @format date-time
8
+ * @example "2025-01-31"
9
+ */
10
+ endDate: string;
11
+ /**
12
+ * Integration type (cursor or windsurf)
13
+ * @example ["cursor"]
14
+ */
15
+ integrationType: Array<'cursor' | 'windsurf'>;
16
+ /**
17
+ * Start date for the query period
18
+ * @format date-time
19
+ * @example "2025-01-01"
20
+ */
21
+ startDate: string;
22
+ /**
23
+ * Team reference ID
24
+ * @format int32
25
+ * @example 123
26
+ */
27
+ teamRefId: number;
28
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { ValidationError } from '../schemas/ValidationError';
2
+ /**
3
+ * Standard error response
4
+ */
5
+ export interface ApiError {
6
+ /**
7
+ * Machine-readable error code
8
+ * @example "INVALID_REQUEST"
9
+ */
10
+ errorCode?: string;
11
+ /**
12
+ * Human-readable error message
13
+ * @example "Integration type is required"
14
+ */
15
+ message?: string;
16
+ /**
17
+ * Unique request identifier for tracing
18
+ * @example "req_1234567890abcdef"
19
+ */
20
+ requestId?: string;
21
+ /**
22
+ * Error timestamp in ISO 8601 format
23
+ * @format date-time
24
+ * @example "2025-12-11T10:30:00Z"
25
+ */
26
+ timestamp?: string;
27
+ /**
28
+ * Detailed validation errors (for 400 Bad Request)
29
+ */
30
+ validationErrors?: ValidationError[];
31
+ }
@@ -2,7 +2,7 @@ import type { DataPoint } from '../schemas/DataPoint';
2
2
  import type { RatingDto } from '../schemas/RatingDto';
3
3
  import type { Stage } from '../schemas/Stage';
4
4
  export interface DoraLttcMttrMetric {
5
- basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
5
+ basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
6
6
  dataPoints?: DataPoint[];
7
7
  /**
8
8
  * @format date-time
@@ -4,7 +4,7 @@ export interface DrillDownResponseDtoObject {
4
4
  * @format int32
5
5
  */
6
6
  count?: number;
7
- integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
7
+ integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
8
8
  pagination?: PaginationInfo;
9
9
  records?: Array<{
10
10
  [key: string]: any;
@@ -1,4 +1,4 @@
1
1
  export interface EfficiencyProfileEvent {
2
2
  eventName?: string;
3
- integrationType: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
3
+ integrationType: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
4
4
  }
@@ -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' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
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';
15
15
  /**
16
16
  * Integration ID
17
17
  */
@@ -3,6 +3,6 @@ export interface Integration {
3
3
  * @format int32
4
4
  */
5
5
  id?: number;
6
- integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
6
+ integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
7
7
  name?: string;
8
8
  }
@@ -0,0 +1,14 @@
1
+ import type { AdoptionPeriodData } from '../schemas/AdoptionPeriodData';
2
+ /**
3
+ * Integration adoption summary with current and previous period comparison
4
+ */
5
+ export interface IntegrationAdoptionSummary {
6
+ /**
7
+ * Current period adoption data
8
+ */
9
+ currentPeriod?: AdoptionPeriodData;
10
+ /**
11
+ * Previous period adoption data
12
+ */
13
+ previousPeriod?: AdoptionPeriodData;
14
+ }
@@ -0,0 +1,15 @@
1
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
2
+ import type { UserMetrics } from '../schemas/UserMetrics';
3
+ /**
4
+ * Integration raw metrics with pagination
5
+ */
6
+ export interface IntegrationRawMetrics {
7
+ /**
8
+ * Pagination information
9
+ */
10
+ pagination?: PaginationInfo;
11
+ /**
12
+ * List of user metrics
13
+ */
14
+ users?: UserMetrics[];
15
+ }
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
5
5
  /**
6
6
  * Application type
7
7
  */
8
- applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA';
8
+ applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SNYK' | 'WIZ';
9
9
  /**
10
10
  * Integration ID
11
11
  * @format int32
@@ -14,7 +14,7 @@ export interface IntegrationResponseDto {
14
14
  /**
15
15
  * Integration type
16
16
  */
17
- integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
17
+ integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
18
18
  /**
19
19
  * Integration name
20
20
  */
@@ -1,8 +1,14 @@
1
+ import type { ToolSummary } from '../schemas/ToolSummary';
2
+ /**
3
+ * Integration summary containing current and previous period data
4
+ */
1
5
  export interface IntegrationSummary {
2
- applicationType?: string;
3
6
  /**
4
- * @format int32
7
+ * Current period tool usage summary
5
8
  */
6
- integrationId?: number;
7
- name?: string;
9
+ currentPeriod?: ToolSummary;
10
+ /**
11
+ * Previous period tool usage summary
12
+ */
13
+ previousPeriod?: ToolSummary;
8
14
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -2,6 +2,6 @@ export interface LanguageCount {
2
2
  /**
3
3
  * @format int64
4
4
  */
5
- count?: number;
5
+ file_changes_count?: number;
6
6
  language?: string;
7
7
  }
@@ -6,6 +6,6 @@ export interface MttrDrillDownResponseDto {
6
6
  */
7
7
  count?: number;
8
8
  imRecords?: ImmttrDrilldownItem[];
9
- integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
9
+ integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
10
10
  pagination?: PaginationInfo;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import type { MttrDataPoint } from '../schemas/MttrDataPoint';
2
2
  import type { RatingDto } from '../schemas/RatingDto';
3
3
  export interface MttrMetric {
4
- basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
4
+ basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
5
5
  dataPoints?: MttrDataPoint[];
6
6
  /**
7
7
  * @format date-time
@@ -1,19 +1,29 @@
1
+ /**
2
+ * Pagination information
3
+ */
1
4
  export interface PaginationInfo {
2
5
  /**
6
+ * Current page number
3
7
  * @format int32
8
+ * @example 0
4
9
  */
5
10
  currentPage?: number;
6
- hasMore?: boolean;
7
11
  /**
12
+ * Page size
8
13
  * @format int32
14
+ * @example 10
9
15
  */
10
16
  pageSize?: number;
11
17
  /**
12
- * @format int64
18
+ * Total number of pages
19
+ * @format int32
20
+ * @example 12
13
21
  */
14
- totalItems?: number;
22
+ totalPages?: number;
15
23
  /**
24
+ * Total number of records
16
25
  * @format int64
26
+ * @example 120
17
27
  */
18
- totalPages?: number;
28
+ totalRecords?: number;
19
29
  }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Pagination parameters
3
+ */
4
+ export interface PaginationParams {
5
+ /**
6
+ * Maximum page size (1-100)
7
+ * @format int32
8
+ * @default "10"
9
+ * @example 10
10
+ */
11
+ maxPageSize?: number;
12
+ /**
13
+ * Page number (0-indexed)
14
+ * @format int32
15
+ * @default "0"
16
+ * @example 0
17
+ */
18
+ pageNumber?: number;
19
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
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';
11
11
  /**
12
12
  * @format int32
13
13
  */