@harnessio/react-sei-panorama-service-client 0.25.1 → 0.25.2
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/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts +2 -3
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownDataDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownDataDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.d.ts +4 -4
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownUserDto.d.ts +52 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownUserDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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 = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
|
|
10
|
+
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse & ErrorResponse) | ErrorResponse;
|
|
11
11
|
export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
|
|
12
12
|
body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
|
|
13
13
|
}
|
|
@@ -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';
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts
CHANGED
|
@@ -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
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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?:
|
|
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?:
|
|
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.2",
|
|
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",
|