@harnessio/react-sei-panorama-service-client 0.31.11 → 0.31.12
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/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 +2 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownItem.d.ts +1 -1
- 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;
|
|
@@ -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
|
+
}
|
|
@@ -539,6 +539,8 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
|
|
|
539
539
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
540
540
|
export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
541
541
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
542
|
+
export type { ScmGaControllerGetTargetBranchesErrorResponse, ScmGaControllerGetTargetBranchesOkResponse, ScmGaControllerGetTargetBranchesProps, ScmGaControllerGetTargetBranchesQueryQueryParams, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
543
|
+
export { scmGaControllerGetTargetBranches, useScmGaControllerGetTargetBranchesQuery, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
542
544
|
export type { SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
543
545
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
544
546
|
export type { SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesProps, SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
@@ -268,6 +268,7 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
|
|
|
268
268
|
export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
|
|
269
269
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
270
270
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
271
|
+
export { scmGaControllerGetTargetBranches, useScmGaControllerGetTargetBranchesQuery, } from './hooks/useScmGaControllerGetTargetBranchesQuery';
|
|
271
272
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
272
273
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
273
274
|
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/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.12",
|
|
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",
|