@harnessio/react-sei-panorama-service-client 0.31.11 → 0.31.13
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/useAiEngineeringControllerGetProductivityBreakdownQuery.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivityDrilldownQuery.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivitySummaryQuery.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery.d.ts +59 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useScmGaControllerGetTargetBranchesQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useScmGaControllerGetTargetBranchesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/index.js +2 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownItem.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseListWorkItemLinkedPrDto.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseListWorkItemLinkedPrDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DrilldownDataV3.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/EntityDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/EntityRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/FilterExpression.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataV3.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/WorkItemLinkedPrDto.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkItemLinkedPrDto.js +4 -0
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ export interface AiEngineeringControllerGetProductivityBreakdownQueryQueryParams
|
|
|
24
24
|
role?: string;
|
|
25
25
|
work_type?: string;
|
|
26
26
|
pr_size?: string;
|
|
27
|
+
target_branch?: string;
|
|
27
28
|
}
|
|
28
29
|
export type AiEngineeringControllerGetProductivityBreakdownOkResponse = ResponseWithPagination<ApiResponseAiEngineeringImpactBreakdownData>;
|
|
29
30
|
export type AiEngineeringControllerGetProductivityBreakdownErrorResponse = unknown;
|
|
@@ -24,6 +24,7 @@ export interface AiEngineeringControllerGetProductivitySummaryQueryQueryParams {
|
|
|
24
24
|
role?: string;
|
|
25
25
|
work_type?: string;
|
|
26
26
|
pr_size?: string;
|
|
27
|
+
target_branch?: string;
|
|
27
28
|
}
|
|
28
29
|
export type AiEngineeringControllerGetProductivitySummaryOkResponse = ResponseWithPagination<ApiResponseAiEngineeringImpactSummaryData>;
|
|
29
30
|
export type AiEngineeringControllerGetProductivitySummaryErrorResponse = unknown;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseListWorkItemLinkedPrDto } from '../schemas/ApiResponseListWorkItemLinkedPrDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams {
|
|
6
|
+
workItemId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams {
|
|
9
|
+
account: string;
|
|
10
|
+
schema: string;
|
|
11
|
+
start_date: string;
|
|
12
|
+
end_date: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example "default"
|
|
15
|
+
*/
|
|
16
|
+
orgIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example "sei"
|
|
19
|
+
*/
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example "kmpySmUISimoRrJL6NL73w"
|
|
23
|
+
*/
|
|
24
|
+
routingId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example "WEEKLY"
|
|
27
|
+
*/
|
|
28
|
+
granularity?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example "1"
|
|
31
|
+
*/
|
|
32
|
+
orgTreeId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example "team-123"
|
|
35
|
+
*/
|
|
36
|
+
teamRefId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example "claude-code"
|
|
39
|
+
*/
|
|
40
|
+
assistant?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example "java"
|
|
43
|
+
*/
|
|
44
|
+
language?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example "senior_engineer"
|
|
47
|
+
*/
|
|
48
|
+
role?: string;
|
|
49
|
+
}
|
|
50
|
+
export type AiEngineeringControllerGetWorkItemLinkedPrsOkResponse = ResponseWithPagination<ApiResponseListWorkItemLinkedPrDto>;
|
|
51
|
+
export type AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse = unknown;
|
|
52
|
+
export interface AiEngineeringControllerGetWorkItemLinkedPrsProps extends AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams, unknown>, 'url'> {
|
|
53
|
+
queryParams: AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams;
|
|
54
|
+
}
|
|
55
|
+
export declare function aiEngineeringControllerGetWorkItemLinkedPrs(props: AiEngineeringControllerGetWorkItemLinkedPrsProps): Promise<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Get PRs linked to a work item with fractional cost attribution
|
|
58
|
+
*/
|
|
59
|
+
export declare function useAiEngineeringControllerGetWorkItemLinkedPrsQuery(props: AiEngineeringControllerGetWorkItemLinkedPrsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function aiEngineeringControllerGetWorkItemLinkedPrs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/impact/work-items/${props.workItemId}/pull-requests`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get PRs linked to a work item with fractional cost attribution
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetWorkItemLinkedPrsQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetWorkItemLinkedPrs', props.workItemId, props.queryParams], ({ signal }) => aiEngineeringControllerGetWorkItemLinkedPrs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -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
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useScmGaControllerGetTargetBranchesQuery.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface ScmGaControllerGetTargetBranchesQueryQueryParams {
|
|
5
|
+
schema: string;
|
|
6
|
+
team_ref_id?: string;
|
|
7
|
+
start_date?: string;
|
|
8
|
+
end_date?: string;
|
|
9
|
+
}
|
|
10
|
+
export type ScmGaControllerGetTargetBranchesOkResponse = ResponseWithPagination<string[]>;
|
|
11
|
+
export type ScmGaControllerGetTargetBranchesErrorResponse = unknown;
|
|
12
|
+
export interface ScmGaControllerGetTargetBranchesProps extends Omit<FetcherOptions<ScmGaControllerGetTargetBranchesQueryQueryParams, unknown>, 'url'> {
|
|
13
|
+
queryParams: ScmGaControllerGetTargetBranchesQueryQueryParams;
|
|
14
|
+
}
|
|
15
|
+
export declare function scmGaControllerGetTargetBranches(props: ScmGaControllerGetTargetBranchesProps): Promise<ScmGaControllerGetTargetBranchesOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Populates the target-branch filter dropdown. team_ref_id is accepted but not used in the query.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useScmGaControllerGetTargetBranchesQuery(props: ScmGaControllerGetTargetBranchesProps, options?: Omit<UseQueryOptions<ScmGaControllerGetTargetBranchesOkResponse, ScmGaControllerGetTargetBranchesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ScmGaControllerGetTargetBranchesOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useScmGaControllerGetTargetBranchesQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function scmGaControllerGetTargetBranches(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/scm/pr/target-branches`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Populates the target-branch filter dropdown. team_ref_id is accepted but not used in the query.
|
|
11
|
+
*/
|
|
12
|
+
export function useScmGaControllerGetTargetBranchesQuery(props, options) {
|
|
13
|
+
return useQuery(['ScmGaControllerGetTargetBranches', props.queryParams], ({ signal }) => scmGaControllerGetTargetBranches(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -47,6 +47,8 @@ export type { AiEngineeringControllerGetScorecardsErrorResponse, AiEngineeringCo
|
|
|
47
47
|
export { aiEngineeringControllerGetScorecards, useAiEngineeringControllerGetScorecardsQuery, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
|
|
48
48
|
export type { AiEngineeringControllerGetToolCallCategoriesCatalogErrorResponse, AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse, AiEngineeringControllerGetToolCallCategoriesCatalogProps, AiEngineeringControllerGetToolCallCategoriesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
|
|
49
49
|
export { aiEngineeringControllerGetToolCallCategoriesCatalog, useAiEngineeringControllerGetToolCallCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
|
|
50
|
+
export type { AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse, AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, AiEngineeringControllerGetWorkItemLinkedPrsProps, AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams, AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery';
|
|
51
|
+
export { aiEngineeringControllerGetWorkItemLinkedPrs, useAiEngineeringControllerGetWorkItemLinkedPrsQuery, } from './hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery';
|
|
50
52
|
export type { AiEngineeringControllerGetWorkTypesCatalogErrorResponse, AiEngineeringControllerGetWorkTypesCatalogOkResponse, AiEngineeringControllerGetWorkTypesCatalogProps, AiEngineeringControllerGetWorkTypesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery';
|
|
51
53
|
export { aiEngineeringControllerGetWorkTypesCatalog, useAiEngineeringControllerGetWorkTypesCatalogQuery, } from './hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery';
|
|
52
54
|
export type { AiEngineeringControllerListDevelopersErrorResponse, AiEngineeringControllerListDevelopersOkResponse, AiEngineeringControllerListDevelopersProps, AiEngineeringControllerListDevelopersQueryQueryParams, } from './hooks/useAiEngineeringControllerListDevelopersQuery';
|
|
@@ -539,6 +541,8 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
|
|
|
539
541
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
540
542
|
export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
541
543
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
544
|
+
export type { ScmGaControllerGetTargetBranchesErrorResponse, ScmGaControllerGetTargetBranchesOkResponse, ScmGaControllerGetTargetBranchesProps, ScmGaControllerGetTargetBranchesQueryQueryParams, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
545
|
+
export { scmGaControllerGetTargetBranches, useScmGaControllerGetTargetBranchesQuery, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
542
546
|
export type { SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
543
547
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
544
548
|
export type { SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesProps, SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
@@ -720,6 +724,7 @@ export type { ApiResponseCorrelationData } from './schemas/ApiResponseCorrelatio
|
|
|
720
724
|
export type { ApiResponseEntityListData } from './schemas/ApiResponseEntityListData';
|
|
721
725
|
export type { ApiResponseEntityListTemplate } from './schemas/ApiResponseEntityListTemplate';
|
|
722
726
|
export type { ApiResponseLeaderboardSegmentsSummaryData } from './schemas/ApiResponseLeaderboardSegmentsSummaryData';
|
|
727
|
+
export type { ApiResponseListWorkItemLinkedPrDto } from './schemas/ApiResponseListWorkItemLinkedPrDto';
|
|
723
728
|
export type { ApiResponseMetricAggregateTemplate } from './schemas/ApiResponseMetricAggregateTemplate';
|
|
724
729
|
export type { ApiResponseMetricBreakdownData } from './schemas/ApiResponseMetricBreakdownData';
|
|
725
730
|
export type { ApiResponseOptimizationItem } from './schemas/ApiResponseOptimizationItem';
|
|
@@ -1192,4 +1197,5 @@ export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkComp
|
|
|
1192
1197
|
export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
|
|
1193
1198
|
export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
|
1194
1199
|
export type { WorkCompletedIndividualDrilldownResponseDataPointV3 } from './schemas/WorkCompletedIndividualDrilldownResponseDataPointV3';
|
|
1200
|
+
export type { WorkItemLinkedPrDto } from './schemas/WorkItemLinkedPrDto';
|
|
1195
1201
|
export type { WorkType } from './schemas/WorkType';
|
|
@@ -22,6 +22,7 @@ export { aiEngineeringControllerGetProductivitySummary, useAiEngineeringControll
|
|
|
22
22
|
export { aiEngineeringControllerGetRolesCatalog, useAiEngineeringControllerGetRolesCatalogQuery, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
|
|
23
23
|
export { aiEngineeringControllerGetScorecards, useAiEngineeringControllerGetScorecardsQuery, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
|
|
24
24
|
export { aiEngineeringControllerGetToolCallCategoriesCatalog, useAiEngineeringControllerGetToolCallCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
|
|
25
|
+
export { aiEngineeringControllerGetWorkItemLinkedPrs, useAiEngineeringControllerGetWorkItemLinkedPrsQuery, } from './hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery';
|
|
25
26
|
export { aiEngineeringControllerGetWorkTypesCatalog, useAiEngineeringControllerGetWorkTypesCatalogQuery, } from './hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery';
|
|
26
27
|
export { aiEngineeringControllerListDevelopers, useAiEngineeringControllerListDevelopersQuery, } from './hooks/useAiEngineeringControllerListDevelopersQuery';
|
|
27
28
|
export { aiEngineeringControllerListOptimizations, useAiEngineeringControllerListOptimizationsQuery, } from './hooks/useAiEngineeringControllerListOptimizationsQuery';
|
|
@@ -268,6 +269,7 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
|
|
|
268
269
|
export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
|
|
269
270
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
270
271
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
272
|
+
export { scmGaControllerGetTargetBranches, useScmGaControllerGetTargetBranchesQuery, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
271
273
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
272
274
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
273
275
|
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownItem.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { MetricValue } from '../schemas/MetricValue';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface AiEngineeringImpactBreakdownItem {
|
|
6
6
|
/**
|
|
7
|
-
* Supporting context for this tool (e.g., total_count, active_devs)
|
|
7
|
+
* Supporting context for this tool (e.g., total_count, active_devs, pct_of_total)
|
|
8
8
|
*/
|
|
9
9
|
context?: {
|
|
10
10
|
[key: string]: {
|
package/dist/sei-panorama-service/src/services/schemas/ApiResponseListWorkItemLinkedPrDto.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { WorkItemLinkedPrDto } from '../schemas/WorkItemLinkedPrDto';
|
|
2
|
+
export interface ApiResponseListWorkItemLinkedPrDto {
|
|
3
|
+
/**
|
|
4
|
+
* Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
|
|
5
|
+
*/
|
|
6
|
+
data?: WorkItemLinkedPrDto[];
|
|
7
|
+
/**
|
|
8
|
+
* HATEOAS links for resource navigation (self, next, prev, etc.)
|
|
9
|
+
*/
|
|
10
|
+
links?: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Operation metadata: date ranges, filters, granularity, pagination info, etc.
|
|
17
|
+
*/
|
|
18
|
+
meta?: {
|
|
19
|
+
[key: string]: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,6 +2,6 @@ import type { PrCycleTimeDrilldownResponseDataPoint } from '../schemas/PrCycleTi
|
|
|
2
2
|
import type { PrVelocityDrilldownResponseDataPoint } from '../schemas/PrVelocityDrilldownResponseDataPoint';
|
|
3
3
|
import type { WorkCompletedDrilldownResponseDataPoint } from '../schemas/WorkCompletedDrilldownResponseDataPoint';
|
|
4
4
|
export interface DrilldownData {
|
|
5
|
-
drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint
|
|
5
|
+
drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint | PrVelocityDrilldownResponseDataPoint | WorkCompletedDrilldownResponseDataPoint>;
|
|
6
6
|
metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
7
7
|
}
|
|
@@ -4,6 +4,6 @@ import type { PrCycleTimeDrilldownResponseDataPointV3 } from '../schemas/PrCycle
|
|
|
4
4
|
import type { PrVelocityDrilldownResponseDataPointV3 } from '../schemas/PrVelocityDrilldownResponseDataPointV3';
|
|
5
5
|
import type { WorkCompletedDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedDrilldownResponseDataPointV3';
|
|
6
6
|
export interface DrilldownDataV3 {
|
|
7
|
-
drilldownDataPoints?: Array<CodeReworkDevelopersDrilldownResponseDataPointV3
|
|
7
|
+
drilldownDataPoints?: Array<CodeReworkDevelopersDrilldownResponseDataPointV3 | CodingDaysDrilldownResponseDataPointV3 | PrCycleTimeDrilldownResponseDataPointV3 | PrVelocityDrilldownResponseDataPointV3 | WorkCompletedDrilldownResponseDataPointV3>;
|
|
8
8
|
metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
9
9
|
}
|
|
@@ -8,12 +8,12 @@ export interface EntityDto {
|
|
|
8
8
|
applicableInsights?: Array<'AI_INSIGHTS' | 'BA' | 'DORA' | 'PRODUCTIVITY' | 'SECURITY' | 'SPRINT_INSIGHTS'>;
|
|
9
9
|
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
10
10
|
baCategoryColor?: string;
|
|
11
|
-
config?: ActiveWorkStatusConfig
|
|
11
|
+
config?: ActiveWorkStatusConfig | BugPriorityConfig | CompletedWorkStatusConfig | NewFeaturesConfig;
|
|
12
12
|
entityKey?: string;
|
|
13
13
|
entityName?: string;
|
|
14
14
|
entityType?: 'cd_production_failure' | 'cd_services_pipelines' | 'cd_successful_deployment' | 'im_active_work_status' | 'im_ba_category' | 'im_bug_start_trigger_status' | 'im_bugs' | 'im_completed_work_status' | 'im_default_start_trigger_status' | 'im_feature_start_trigger_status' | 'im_general' | 'im_incident_detection' | 'im_new_features' | 'itsm_change_requests' | 'itsm_incident_detection' | 'scm_code_driven_deployments' | 'scm_code_driven_hot_fixes' | 'scm_destination_branch' | 'scm_repositories' | 'security_aspm';
|
|
15
15
|
integrationFilters?: {
|
|
16
|
-
[key: string]: CompositeFilterExpression
|
|
16
|
+
[key: string]: CompositeFilterExpression | SimpleFilterExpression;
|
|
17
17
|
};
|
|
18
18
|
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
19
19
|
useDefaults?: boolean;
|
|
@@ -5,11 +5,11 @@ import type { NewFeaturesConfig } from '../schemas/NewFeaturesConfig';
|
|
|
5
5
|
import type { CompositeFilterExpression } from '../schemas/CompositeFilterExpression';
|
|
6
6
|
import type { SimpleFilterExpression } from '../schemas/SimpleFilterExpression';
|
|
7
7
|
export interface EntityRequestDto {
|
|
8
|
-
config?: ActiveWorkStatusConfig
|
|
8
|
+
config?: ActiveWorkStatusConfig | BugPriorityConfig | CompletedWorkStatusConfig | NewFeaturesConfig;
|
|
9
9
|
entityKey?: string;
|
|
10
10
|
entityType?: 'cd_production_failure' | 'cd_services_pipelines' | 'cd_successful_deployment' | 'im_active_work_status' | 'im_ba_category' | 'im_bug_start_trigger_status' | 'im_bugs' | 'im_completed_work_status' | 'im_default_start_trigger_status' | 'im_feature_start_trigger_status' | 'im_general' | 'im_incident_detection' | 'im_new_features' | 'itsm_change_requests' | 'itsm_incident_detection' | 'scm_code_driven_deployments' | 'scm_code_driven_hot_fixes' | 'scm_destination_branch' | 'scm_repositories' | 'security_aspm';
|
|
11
11
|
integrationFilters?: {
|
|
12
|
-
[key: string]: CompositeFilterExpression
|
|
12
|
+
[key: string]: CompositeFilterExpression | SimpleFilterExpression;
|
|
13
13
|
};
|
|
14
14
|
useDefaults?: boolean;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PrVelocityIndividualDrilldownResponseDataPoint } from '../schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
|
2
2
|
import type { WorkCompletedIndividualDrilldownResponseDataPoint } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
|
3
3
|
export interface IndividualDrilldownData {
|
|
4
|
-
individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint
|
|
4
|
+
individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint | WorkCompletedIndividualDrilldownResponseDataPoint>;
|
|
5
5
|
metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
6
6
|
}
|
|
@@ -2,6 +2,6 @@ import type { CodingDaysIndividualDrilldownResponseDataPointV3 } from '../schema
|
|
|
2
2
|
import type { PrVelocityIndividualDrilldownResponseDataPointV3 } from '../schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
|
|
3
3
|
import type { WorkCompletedIndividualDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPointV3';
|
|
4
4
|
export interface IndividualDrilldownDataV3 {
|
|
5
|
-
individualDrilldownDataPoints?: Array<CodingDaysIndividualDrilldownResponseDataPointV3
|
|
5
|
+
individualDrilldownDataPoints?: Array<CodingDaysIndividualDrilldownResponseDataPointV3 | PrVelocityIndividualDrilldownResponseDataPointV3 | WorkCompletedIndividualDrilldownResponseDataPointV3>;
|
|
6
6
|
metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
7
7
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface WorkItemLinkedPrDto {
|
|
2
|
+
/**
|
|
3
|
+
* @format int32
|
|
4
|
+
*/
|
|
5
|
+
codeAdditions?: number;
|
|
6
|
+
/**
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
codeDeletions?: number;
|
|
10
|
+
/**
|
|
11
|
+
* @format double
|
|
12
|
+
*/
|
|
13
|
+
fractionalCostDollars?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
fractionalTokens?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
*/
|
|
21
|
+
linkedIssueCount?: number;
|
|
22
|
+
prNumber?: string;
|
|
23
|
+
prUrl?: string;
|
|
24
|
+
repoId?: string;
|
|
25
|
+
targetBranch?: string;
|
|
26
|
+
title?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @format int32
|
|
29
|
+
*/
|
|
30
|
+
totalChanges?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @format double
|
|
33
|
+
*/
|
|
34
|
+
totalCostDollars?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @format int64
|
|
37
|
+
*/
|
|
38
|
+
totalTokens?: number;
|
|
39
|
+
workItems?: string[];
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.13",
|
|
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",
|