@harnessio/react-sei-panorama-service-client 0.31.19 → 0.31.20

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.
@@ -3,8 +3,17 @@ import type { AiEngInstallationsResponse } from '../schemas/AiEngInstallationsRe
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface AiEngineeringControllerGetMonitoringInstallationsQueryQueryParams {
6
+ orgIdentifier?: string;
7
+ projectIdentifier?: string;
8
+ routingId?: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ orgTreeId?: number;
6
13
  teamRefId?: string;
7
14
  search?: string;
15
+ status?: string;
16
+ version?: string;
8
17
  sort?: string;
9
18
  order?: string;
10
19
  /**
@@ -15,18 +24,6 @@ export interface AiEngineeringControllerGetMonitoringInstallationsQueryQueryPara
15
24
  * @format int32
16
25
  */
17
26
  offset?: number;
18
- /**
19
- * @example "default"
20
- */
21
- orgIdentifier?: string;
22
- /**
23
- * @example "sei"
24
- */
25
- projectIdentifier?: string;
26
- /**
27
- * @example "kmpySmUISimoRrJL6NL73w"
28
- */
29
- routingId?: string;
30
27
  /**
31
28
  * @example "2026-01-01"
32
29
  */
@@ -39,10 +36,6 @@ export interface AiEngineeringControllerGetMonitoringInstallationsQueryQueryPara
39
36
  * @example "WEEKLY"
40
37
  */
41
38
  granularity?: string;
42
- /**
43
- * @example "1"
44
- */
45
- orgTreeId?: string;
46
39
  /**
47
40
  * @example "claude-code"
48
41
  */
@@ -63,6 +56,6 @@ export interface AiEngineeringControllerGetMonitoringInstallationsProps extends
63
56
  }
64
57
  export declare function aiEngineeringControllerGetMonitoringInstallations(props: AiEngineeringControllerGetMonitoringInstallationsProps): Promise<AiEngineeringControllerGetMonitoringInstallationsOkResponse>;
65
58
  /**
66
- * Get AI agent installations per developer with session activity
59
+ * Get all team members with AI agent install status and session activity; without a team scope, only installed users
67
60
  */
68
61
  export declare function useAiEngineeringControllerGetMonitoringInstallationsQuery(props: AiEngineeringControllerGetMonitoringInstallationsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetMonitoringInstallationsOkResponse, AiEngineeringControllerGetMonitoringInstallationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetMonitoringInstallationsOkResponse, unknown>;
@@ -7,7 +7,7 @@ export function aiEngineeringControllerGetMonitoringInstallations(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/ai-engineering/monitoring/installations`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Get AI agent installations per developer with session activity
10
+ * Get all team members with AI agent install status and session activity; without a team scope, only installed users
11
11
  */
12
12
  export function useAiEngineeringControllerGetMonitoringInstallationsQuery(props, options) {
13
13
  return useQuery(['AiEngineeringControllerGetMonitoringInstallations', props.queryParams], ({ signal }) => aiEngineeringControllerGetMonitoringInstallations(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,48 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiEngSegmentSummaryResponse } from '../schemas/AiEngSegmentSummaryResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQueryQueryParams {
6
+ orgIdentifier?: string;
7
+ projectIdentifier?: string;
8
+ routingId?: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ orgTreeId?: number;
13
+ teamRefId?: string;
14
+ /**
15
+ * @example "2026-01-01"
16
+ */
17
+ start_date: string;
18
+ /**
19
+ * @example "2026-05-04"
20
+ */
21
+ end_date: string;
22
+ /**
23
+ * @example "WEEKLY"
24
+ */
25
+ granularity?: string;
26
+ /**
27
+ * @example "claude-code"
28
+ */
29
+ assistant?: string;
30
+ /**
31
+ * @example "java"
32
+ */
33
+ language?: string;
34
+ /**
35
+ * @example "senior_engineer"
36
+ */
37
+ role?: string;
38
+ }
39
+ export type AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryOkResponse = ResponseWithPagination<AiEngSegmentSummaryResponse>;
40
+ export type AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryErrorResponse = unknown;
41
+ export interface AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryProps extends Omit<FetcherOptions<AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQueryQueryParams, unknown>, 'url'> {
42
+ queryParams: AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQueryQueryParams;
43
+ }
44
+ export declare function aiEngineeringControllerGetMonitoringInstallationsSegmentSummary(props: AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryProps): Promise<AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryOkResponse>;
45
+ /**
46
+ * Per-segment user counts (latest/outdated/unregistered) for a team scope; counts match the filtered installations list per segment
47
+ */
48
+ export declare function useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery(props: AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryOkResponse, AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryOkResponse, 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 aiEngineeringControllerGetMonitoringInstallationsSegmentSummary(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/monitoring/installations/segment-summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Per-segment user counts (latest/outdated/unregistered) for a team scope; counts match the filtered installations list per segment
11
+ */
12
+ export function useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetMonitoringInstallationsSegmentSummary', props.queryParams], ({ signal }) => aiEngineeringControllerGetMonitoringInstallationsSegmentSummary(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
  }
@@ -33,6 +33,8 @@ export type { AiEngineeringControllerGetModelsCatalogErrorResponse, AiEngineerin
33
33
  export { aiEngineeringControllerGetModelsCatalog, useAiEngineeringControllerGetModelsCatalogQuery, } from './hooks/useAiEngineeringControllerGetModelsCatalogQuery';
34
34
  export type { AiEngineeringControllerGetMonitoringInstallationsErrorResponse, AiEngineeringControllerGetMonitoringInstallationsOkResponse, AiEngineeringControllerGetMonitoringInstallationsProps, AiEngineeringControllerGetMonitoringInstallationsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsQuery';
35
35
  export { aiEngineeringControllerGetMonitoringInstallations, useAiEngineeringControllerGetMonitoringInstallationsQuery, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsQuery';
36
+ export type { AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryErrorResponse, AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryOkResponse, AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryProps, AiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQueryQueryParams, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery';
37
+ export { aiEngineeringControllerGetMonitoringInstallationsSegmentSummary, useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery';
36
38
  export type { AiEngineeringControllerGetOptimizationByIdErrorResponse, AiEngineeringControllerGetOptimizationByIdOkResponse, AiEngineeringControllerGetOptimizationByIdProps, AiEngineeringControllerGetOptimizationByIdQueryPathParams, AiEngineeringControllerGetOptimizationByIdQueryQueryParams, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
37
39
  export { aiEngineeringControllerGetOptimizationById, useAiEngineeringControllerGetOptimizationByIdQuery, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
38
40
  export type { AiEngineeringControllerGetProductivityBreakdownErrorResponse, AiEngineeringControllerGetProductivityBreakdownOkResponse, AiEngineeringControllerGetProductivityBreakdownProps, AiEngineeringControllerGetProductivityBreakdownQueryPathParams, AiEngineeringControllerGetProductivityBreakdownQueryQueryParams, } from './hooks/useAiEngineeringControllerGetProductivityBreakdownQuery';
@@ -707,6 +709,7 @@ export type { AiCodeLifecycleToolEntry } from './schemas/AiCodeLifecycleToolEntr
707
709
  export type { AiCombinedInsightsRequestDto } from './schemas/AiCombinedInsightsRequestDto';
708
710
  export type { AiEngInstallation } from './schemas/AiEngInstallation';
709
711
  export type { AiEngInstallationsResponse } from './schemas/AiEngInstallationsResponse';
712
+ export type { AiEngSegmentSummaryResponse } from './schemas/AiEngSegmentSummaryResponse';
710
713
  export type { AiEngineeringImpactBreakdownData } from './schemas/AiEngineeringImpactBreakdownData';
711
714
  export type { AiEngineeringImpactBreakdownItem } from './schemas/AiEngineeringImpactBreakdownItem';
712
715
  export type { AiEngineeringImpactDrilldownResponseObject } from './schemas/AiEngineeringImpactDrilldownResponseObject';
@@ -15,6 +15,7 @@ export { aiEngineeringControllerGetMetrics, useAiEngineeringControllerGetMetrics
15
15
  export { aiEngineeringControllerGetMetricsSummary, useAiEngineeringControllerGetMetricsSummaryQuery, } from './hooks/useAiEngineeringControllerGetMetricsSummaryQuery';
16
16
  export { aiEngineeringControllerGetModelsCatalog, useAiEngineeringControllerGetModelsCatalogQuery, } from './hooks/useAiEngineeringControllerGetModelsCatalogQuery';
17
17
  export { aiEngineeringControllerGetMonitoringInstallations, useAiEngineeringControllerGetMonitoringInstallationsQuery, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsQuery';
18
+ export { aiEngineeringControllerGetMonitoringInstallationsSegmentSummary, useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery, } from './hooks/useAiEngineeringControllerGetMonitoringInstallationsSegmentSummaryQuery';
18
19
  export { aiEngineeringControllerGetOptimizationById, useAiEngineeringControllerGetOptimizationByIdQuery, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
19
20
  export { aiEngineeringControllerGetProductivityBreakdown, useAiEngineeringControllerGetProductivityBreakdownQuery, } from './hooks/useAiEngineeringControllerGetProductivityBreakdownQuery';
20
21
  export { aiEngineeringControllerGetProductivityDrilldown, useAiEngineeringControllerGetProductivityDrilldownQuery, } from './hooks/useAiEngineeringControllerGetProductivityDrilldownQuery';
@@ -0,0 +1,26 @@
1
+ export interface AiEngSegmentSummaryResponse {
2
+ /**
3
+ * Users whose resolved version equals latestVersion
4
+ * @format int64
5
+ */
6
+ latest?: number;
7
+ /**
8
+ * Account-wide latest observed agent version the segments are computed against; null when the account has no versioned activity
9
+ */
10
+ latestVersion?: string;
11
+ /**
12
+ * Registered users not on latestVersion (including registered users with unknown version)
13
+ * @format int64
14
+ */
15
+ outdated?: number;
16
+ /**
17
+ * Total users in the team scope
18
+ * @format int64
19
+ */
20
+ total?: number;
21
+ /**
22
+ * Users with no install event and no session activity
23
+ * @format int64
24
+ */
25
+ unregistered?: number;
26
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.31.19",
3
+ "version": "0.31.20",
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",