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

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.
@@ -5,7 +5,6 @@ import type { AiSummaryRequestDto } from '../schemas/AiSummaryRequestDto';
5
5
  import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface AiSummaryControllerGenerateSummaryQueryQueryParams {
8
- account: string;
9
8
  projectIdentifier: string;
10
9
  orgIdentifier: string;
11
10
  }
@@ -407,7 +407,9 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
407
407
  export type { CollectionFilter } from './schemas/CollectionFilter';
408
408
  export type { CollectionTree } from './schemas/CollectionTree';
409
409
  export type { CommitInfo } from './schemas/CommitInfo';
410
+ export type { CursorDrilldownDataDto } from './schemas/CursorDrilldownDataDto';
410
411
  export type { CursorDrilldownOptions } from './schemas/CursorDrilldownOptions';
412
+ export type { CursorDrilldownUserDto } from './schemas/CursorDrilldownUserDto';
411
413
  export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
412
414
  export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
413
415
  export type { DataPoint } from './schemas/DataPoint';
@@ -1,3 +1,4 @@
1
+ import type { CursorDrilldownDataDto } from '../schemas/CursorDrilldownDataDto';
1
2
  import type { WindsurfDrilldownDataDto } from '../schemas/WindsurfDrilldownDataDto';
2
3
  export interface AiDailyActiveUsersDrilldownResponseDto {
3
4
  /**
@@ -9,9 +10,7 @@ export interface AiDailyActiveUsersDrilldownResponseDto {
9
10
  /**
10
11
  * Cursor-specific drilldown data (only present when integrationType='cursor')
11
12
  */
12
- cursorData?: {
13
- [key: string]: any;
14
- };
13
+ cursorData?: CursorDrilldownDataDto;
15
14
  /**
16
15
  * End date of the period
17
16
  * @format date-time
@@ -1,5 +1,5 @@
1
1
  export interface AiSummaryRequestDto {
2
- category: 'BA' | 'EFFICIENCY' | 'PRODUCTIVITY' | 'SPRINT_INSIGHTS';
2
+ category: 'AI_INSIGHTS' | 'BA' | 'EFFICIENCY' | 'PRODUCTIVITY' | 'SPRINT_INSIGHTS';
3
3
  /**
4
4
  * @format date-time
5
5
  */
@@ -0,0 +1,27 @@
1
+ import type { CursorDrilldownUserDto } from '../schemas/CursorDrilldownUserDto';
2
+ export interface CursorDrilldownDataDto {
3
+ /**
4
+ * Column used for sorting
5
+ * @example "TOTAL_ACCEPTS"
6
+ */
7
+ sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
8
+ /**
9
+ * Sort order (ASC/DESC)
10
+ * @example "DESC"
11
+ */
12
+ sortByCriteria?: 'ASC' | 'DESC';
13
+ /**
14
+ * Total number of active users
15
+ * @format int32
16
+ */
17
+ totalActiveUsers?: number;
18
+ /**
19
+ * Total number of users in the team
20
+ * @format int32
21
+ */
22
+ totalUsers?: number;
23
+ /**
24
+ * List of users with their metrics
25
+ */
26
+ users?: CursorDrilldownUserDto[];
27
+ }
@@ -1,12 +1,12 @@
1
1
  export interface CursorDrilldownOptions {
2
2
  /**
3
- * Column to sort by
3
+ * Column to sort by (case-insensitive)
4
4
  * @example "total_accepts"
5
5
  */
6
- sortBy?: string;
6
+ sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
7
7
  /**
8
- * Sort order (ASC/DESC)
8
+ * Sort order (ASC/DESC, case-insensitive)
9
9
  * @example "DESC"
10
10
  */
11
- sortByCriteria?: string;
11
+ sortByCriteria?: 'ASC' | 'DESC';
12
12
  }
@@ -0,0 +1,52 @@
1
+ export interface CursorDrilldownUserDto {
2
+ /**
3
+ * Acceptance rate percentage
4
+ * @format double
5
+ * @example 75
6
+ */
7
+ acceptanceRate?: number;
8
+ /**
9
+ * Last active date
10
+ * @format date-time
11
+ */
12
+ lastActiveDate?: string;
13
+ /**
14
+ * Primary programming language
15
+ * @example "Java"
16
+ */
17
+ primaryLanguage?: string;
18
+ /**
19
+ * User's rank
20
+ * @format int32
21
+ * @example 1
22
+ */
23
+ rank?: number;
24
+ /**
25
+ * Total accepts
26
+ * @format int64
27
+ * @example 150
28
+ */
29
+ totalAccepts?: number;
30
+ /**
31
+ * Total number of active days
32
+ * @format int64
33
+ * @example 20
34
+ */
35
+ totalActiveDays?: number;
36
+ /**
37
+ * Total suggestions
38
+ * @format int64
39
+ * @example 200
40
+ */
41
+ totalSuggestions?: number;
42
+ /**
43
+ * User email
44
+ * @example "john.doe@example.com"
45
+ */
46
+ userEmail?: string;
47
+ /**
48
+ * Username
49
+ * @example "john.doe"
50
+ */
51
+ username?: string;
52
+ }
@@ -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 {};
@@ -23,4 +23,8 @@ export interface OrgTreeCreateRequestDto {
23
23
  * @format int32
24
24
  */
25
25
  productivityProfileRefId?: number;
26
+ /**
27
+ * @format int32
28
+ */
29
+ securityProfileRefId?: number;
26
30
  }
@@ -35,6 +35,7 @@ export interface OrgTreeResponseDto {
35
35
  * @format int32
36
36
  */
37
37
  rootTeamRefId?: number;
38
+ securityProfile?: OrgTreeProfileDto;
38
39
  /**
39
40
  * @format int32
40
41
  */
@@ -16,4 +16,8 @@ export interface OrgTreeUpdateRequestDto {
16
16
  * @format int32
17
17
  */
18
18
  productivityProfileRefId?: number;
19
+ /**
20
+ * @format int32
21
+ */
22
+ securityProfileRefId?: number;
19
23
  }
@@ -1,4 +1,4 @@
1
1
  export interface SummarySection {
2
- name?: 'ALIGNMENT' | 'BOTTLENECKS' | 'CATEGORY_BALANCE' | 'CHANGE_FAILURE_RATE' | 'CODE_QUALITY' | 'CORRELATION' | 'CRITICAL_INTERVENTIONS' | 'CROSS_TEAM_INSIGHTS' | 'CYCLE_TIME' | 'DELIVERY' | 'DELIVERY_CONSISTENCY' | 'DEPLOYMENT_FREQUENCY' | 'DEVELOPER_EXPERIENCE' | 'HEALTHY_TEAMS' | 'LEAD_TIME' | 'METRIC_CORRELATIONS' | 'ORGANIZATION_HEALTH' | 'OVERVIEW' | 'PERFORMANCE_DISTRIBUTION' | 'PERFORMANCE_RANKINGS' | 'PREDICTABILITY' | 'PREDICTABILITY_DRIVERS' | 'RECOMMENDATIONS' | 'RECOMMENDED_ACTIONS' | 'RECOVERY_TIME' | 'SCOPE_MANAGEMENT' | 'STRATEGIC_RECOMMENDATIONS' | 'TEAMS_AT_RISK' | 'TEAMS_NEEDING_SUPPORT' | 'THROUGHPUT' | 'VELOCITY' | 'VELOCITY_LEADERS' | 'VELOCITY_PATTERNS' | 'WORK_DISTRIBUTION';
2
+ name?: string;
3
3
  summary?: string;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",