@harnessio/react-sei-panorama-service-client 0.31.15 → 0.31.17

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.
Files changed (33) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetSessionFeedQuery.d.ts +73 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetSessionFeedQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListSessionsQuery.d.ts +40 -15
  4. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListSessionsQuery.js +1 -1
  5. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateBreakdownQuery.d.ts +1 -2
  6. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.d.ts +1 -2
  7. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyBreakdownQuery.d.ts +1 -2
  8. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.d.ts +1 -2
  9. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeBreakdownQuery.d.ts +1 -2
  10. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts +1 -2
  11. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeStagesQuery.d.ts +1 -2
  12. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrBreakdownQuery.d.ts +1 -2
  13. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrQuery.d.ts +1 -2
  14. package/dist/sei-panorama-service/src/services/index.d.ts +9 -1
  15. package/dist/sei-panorama-service/src/services/index.js +1 -0
  16. package/dist/sei-panorama-service/src/services/schemas/ApiResponseSessionFeedResponse.d.ts +23 -0
  17. package/dist/sei-panorama-service/src/services/schemas/ApiResponseSessionFeedResponse.js +1 -0
  18. package/dist/sei-panorama-service/src/services/schemas/ApiResponseSessionListResponse.d.ts +23 -0
  19. package/dist/sei-panorama-service/src/services/schemas/ApiResponseSessionListResponse.js +1 -0
  20. package/dist/sei-panorama-service/src/services/schemas/BaExportResponseDto.d.ts +2 -1
  21. package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.d.ts +1 -1
  22. package/dist/sei-panorama-service/src/services/schemas/SessionFeedResponse.d.ts +43 -0
  23. package/dist/sei-panorama-service/src/services/schemas/SessionFeedResponse.js +1 -0
  24. package/dist/sei-panorama-service/src/services/schemas/SessionFeedSummary.d.ts +38 -0
  25. package/dist/sei-panorama-service/src/services/schemas/SessionFragment.d.ts +94 -0
  26. package/dist/sei-panorama-service/src/services/schemas/SessionFragment.js +4 -0
  27. package/dist/sei-panorama-service/src/services/schemas/SessionListResponse.d.ts +19 -0
  28. package/dist/sei-panorama-service/src/services/schemas/SessionListResponse.js +1 -0
  29. package/dist/sei-panorama-service/src/services/schemas/SessionSummary.d.ts +88 -0
  30. package/dist/sei-panorama-service/src/services/schemas/SessionSummary.js +4 -0
  31. package/package.json +2 -2
  32. package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +0 -29
  33. /package/dist/sei-panorama-service/src/services/schemas/{EfficiencyRequest.js → SessionFeedSummary.js} +0 -0
@@ -0,0 +1,73 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseSessionFeedResponse } from '../schemas/ApiResponseSessionFeedResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetSessionFeedQueryPathParams {
6
+ session_id: string;
7
+ }
8
+ export interface AiEngineeringControllerGetSessionFeedQueryQueryParams {
9
+ account: string;
10
+ schema: string;
11
+ /**
12
+ * @format int32
13
+ */
14
+ limit?: number;
15
+ /**
16
+ * @format int32
17
+ */
18
+ offset?: number;
19
+ /**
20
+ * @example "default"
21
+ */
22
+ orgIdentifier?: string;
23
+ /**
24
+ * @example "sei"
25
+ */
26
+ projectIdentifier?: string;
27
+ /**
28
+ * @example "kmpySmUISimoRrJL6NL73w"
29
+ */
30
+ routingId?: string;
31
+ /**
32
+ * @example "2026-01-01"
33
+ */
34
+ start_date: string;
35
+ /**
36
+ * @example "2026-05-04"
37
+ */
38
+ end_date: string;
39
+ /**
40
+ * @example "WEEKLY"
41
+ */
42
+ granularity?: string;
43
+ /**
44
+ * @example "1"
45
+ */
46
+ orgTreeId?: string;
47
+ /**
48
+ * @example "team-123"
49
+ */
50
+ teamRefId?: string;
51
+ /**
52
+ * @example "claude-code"
53
+ */
54
+ assistant?: string;
55
+ /**
56
+ * @example "java"
57
+ */
58
+ language?: string;
59
+ /**
60
+ * @example "senior_engineer"
61
+ */
62
+ role?: string;
63
+ }
64
+ export type AiEngineeringControllerGetSessionFeedOkResponse = ResponseWithPagination<ApiResponseSessionFeedResponse>;
65
+ export type AiEngineeringControllerGetSessionFeedErrorResponse = unknown;
66
+ export interface AiEngineeringControllerGetSessionFeedProps extends AiEngineeringControllerGetSessionFeedQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetSessionFeedQueryQueryParams, unknown>, 'url'> {
67
+ queryParams: AiEngineeringControllerGetSessionFeedQueryQueryParams;
68
+ }
69
+ export declare function aiEngineeringControllerGetSessionFeed(props: AiEngineeringControllerGetSessionFeedProps): Promise<AiEngineeringControllerGetSessionFeedOkResponse>;
70
+ /**
71
+ * Get chronological fragment feed for a session
72
+ */
73
+ export declare function useAiEngineeringControllerGetSessionFeedQuery(props: AiEngineeringControllerGetSessionFeedProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetSessionFeedOkResponse, AiEngineeringControllerGetSessionFeedErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetSessionFeedOkResponse, 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 aiEngineeringControllerGetSessionFeed(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/sessions/${props.session_id}/feed`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get chronological fragment feed for a session
11
+ */
12
+ export function useAiEngineeringControllerGetSessionFeedQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetSessionFeed', props.session_id, props.queryParams], ({ signal }) => aiEngineeringControllerGetSessionFeed(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -1,40 +1,65 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ApiResponseEntityListData } from '../schemas/ApiResponseEntityListData';
2
+ import type { ApiResponseSessionListResponse } from '../schemas/ApiResponseSessionListResponse';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface AiEngineeringControllerListSessionsQueryQueryParams {
6
6
  account: string;
7
7
  schema: string;
8
+ user_email: string;
9
+ start_date?: string;
10
+ end_date?: string;
11
+ /**
12
+ * @format int32
13
+ */
14
+ limit?: number;
15
+ /**
16
+ * @format int32
17
+ */
18
+ offset?: number;
19
+ /**
20
+ * @example "default"
21
+ */
8
22
  orgIdentifier?: string;
23
+ /**
24
+ * @example "sei"
25
+ */
9
26
  projectIdentifier?: string;
27
+ /**
28
+ * @example "kmpySmUISimoRrJL6NL73w"
29
+ */
10
30
  routingId?: string;
11
31
  /**
12
- * @format int32
32
+ * @example "WEEKLY"
13
33
  */
14
- orgTreeId?: number;
15
- teamRefId?: string;
16
- start_date?: string;
17
- end_date?: string;
18
34
  granularity?: string;
35
+ /**
36
+ * @example "1"
37
+ */
38
+ orgTreeId?: string;
39
+ /**
40
+ * @example "team-123"
41
+ */
42
+ teamRefId?: string;
43
+ /**
44
+ * @example "claude-code"
45
+ */
19
46
  assistant?: string;
47
+ /**
48
+ * @example "java"
49
+ */
20
50
  language?: string;
21
- role?: string;
22
- metrics?: string;
23
- select?: string;
24
- sort?: string;
25
- cursor?: string;
26
51
  /**
27
- * @format int32
52
+ * @example "senior_engineer"
28
53
  */
29
- limit?: number;
54
+ role?: string;
30
55
  }
31
- export type AiEngineeringControllerListSessionsOkResponse = ResponseWithPagination<ApiResponseEntityListData>;
56
+ export type AiEngineeringControllerListSessionsOkResponse = ResponseWithPagination<ApiResponseSessionListResponse>;
32
57
  export type AiEngineeringControllerListSessionsErrorResponse = unknown;
33
58
  export interface AiEngineeringControllerListSessionsProps extends Omit<FetcherOptions<AiEngineeringControllerListSessionsQueryQueryParams, unknown>, 'url'> {
34
59
  queryParams: AiEngineeringControllerListSessionsQueryQueryParams;
35
60
  }
36
61
  export declare function aiEngineeringControllerListSessions(props: AiEngineeringControllerListSessionsProps): Promise<AiEngineeringControllerListSessionsOkResponse>;
37
62
  /**
38
- * List sessions
63
+ * List sessions for a user
39
64
  */
40
65
  export declare function useAiEngineeringControllerListSessionsQuery(props: AiEngineeringControllerListSessionsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListSessionsOkResponse, AiEngineeringControllerListSessionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListSessionsOkResponse, unknown>;
@@ -7,7 +7,7 @@ export function aiEngineeringControllerListSessions(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/ai-engineering/sessions`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * List sessions
10
+ * List sessions for a user
11
11
  */
12
12
  export function useAiEngineeringControllerListSessionsQuery(props, options) {
13
13
  return useQuery(['AiEngineeringControllerListSessions', props.queryParams], ({ signal }) => aiEngineeringControllerListSessions(Object.assign(Object.assign({}, props), { signal })), options);
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { EfficiencyChangeFailureRateMetricBreakdown } from '../schemas/EfficiencyChangeFailureRateMetricBreakdown';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerChangeFailureRateBreakdownRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerChangeFailureRateBreakdownRequestBody = unknown;
12
11
  export type EfficiencyControllerChangeFailureRateBreakdownOkResponse = ResponseWithPagination<EfficiencyChangeFailureRateMetricBreakdown[]>;
13
12
  export type EfficiencyControllerChangeFailureRateBreakdownErrorResponse = string;
14
13
  export interface EfficiencyControllerChangeFailureRateBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateBreakdownQueryQueryParams, EfficiencyControllerChangeFailureRateBreakdownRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerChangeFailureRateRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerChangeFailureRateRequestBody = unknown;
12
11
  export type EfficiencyControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraChangeFailureRateMetric>;
13
12
  export type EfficiencyControllerChangeFailureRateErrorResponse = string;
14
13
  export interface EfficiencyControllerChangeFailureRateProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { EfficiencyDeploymentFrequencyMetricBreakdown } from '../schemas/EfficiencyDeploymentFrequencyMetricBreakdown';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParam
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerDeploymentFrequencyBreakdownRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerDeploymentFrequencyBreakdownRequestBody = unknown;
12
11
  export type EfficiencyControllerDeploymentFrequencyBreakdownOkResponse = ResponseWithPagination<EfficiencyDeploymentFrequencyMetricBreakdown[]>;
13
12
  export type EfficiencyControllerDeploymentFrequencyBreakdownErrorResponse = string;
14
13
  export interface EfficiencyControllerDeploymentFrequencyBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyBreakdownQueryQueryParams, EfficiencyControllerDeploymentFrequencyBreakdownRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerDeploymentFrequencyRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerDeploymentFrequencyRequestBody = unknown;
12
11
  export type EfficiencyControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
13
12
  export type EfficiencyControllerDeploymentFrequencyErrorResponse = string;
14
13
  export interface EfficiencyControllerDeploymentFrequencyProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { EfficiencyLeadTimeDataPointBreakdown } from '../schemas/EfficiencyLeadTimeDataPointBreakdown';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerLeadTimeBreakdownQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeBreakdownQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerLeadTimeBreakdownRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerLeadTimeBreakdownRequestBody = unknown;
12
11
  export type EfficiencyControllerLeadTimeBreakdownOkResponse = ResponseWithPagination<EfficiencyLeadTimeDataPointBreakdown>;
13
12
  export type EfficiencyControllerLeadTimeBreakdownErrorResponse = string;
14
13
  export interface EfficiencyControllerLeadTimeBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeBreakdownQueryQueryParams, EfficiencyControllerLeadTimeBreakdownRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerLeadTimeQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerLeadTimeRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerLeadTimeRequestBody = unknown;
12
11
  export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
13
12
  export type EfficiencyControllerLeadTimeErrorResponse = string;
14
13
  export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerLeadTimeStagesQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerLeadTimeStagesQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerLeadTimeStagesRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerLeadTimeStagesRequestBody = unknown;
12
11
  export type EfficiencyControllerLeadTimeStagesOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
13
12
  export type EfficiencyControllerLeadTimeStagesErrorResponse = string;
14
13
  export interface EfficiencyControllerLeadTimeStagesProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeStagesQueryQueryParams, EfficiencyControllerLeadTimeStagesRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { EfficiencyMttrDataPointBreakdown } from '../schemas/EfficiencyMttrDataPointBreakdown';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerMttrBreakdownQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerMttrBreakdownQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerMttrBreakdownRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerMttrBreakdownRequestBody = unknown;
12
11
  export type EfficiencyControllerMttrBreakdownOkResponse = ResponseWithPagination<EfficiencyMttrDataPointBreakdown>;
13
12
  export type EfficiencyControllerMttrBreakdownErrorResponse = string;
14
13
  export interface EfficiencyControllerMttrBreakdownProps extends Omit<FetcherOptions<EfficiencyControllerMttrBreakdownQueryQueryParams, EfficiencyControllerMttrBreakdownRequestBody>, 'url'> {
@@ -1,6 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { MttrMetric } from '../schemas/MttrMetric';
3
- import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
5
  export interface EfficiencyControllerMttrQueryQueryParams {
@@ -8,7 +7,7 @@ export interface EfficiencyControllerMttrQueryQueryParams {
8
7
  projectIdentifier: string;
9
8
  orgIdentifier: string;
10
9
  }
11
- export type EfficiencyControllerMttrRequestBody = EfficiencyRequest;
10
+ export type EfficiencyControllerMttrRequestBody = unknown;
12
11
  export type EfficiencyControllerMttrOkResponse = ResponseWithPagination<MttrMetric>;
13
12
  export type EfficiencyControllerMttrErrorResponse = string;
14
13
  export interface EfficiencyControllerMttrProps extends Omit<FetcherOptions<EfficiencyControllerMttrQueryQueryParams, EfficiencyControllerMttrRequestBody>, 'url'> {
@@ -45,6 +45,8 @@ export type { AiEngineeringControllerGetRolesCatalogErrorResponse, AiEngineering
45
45
  export { aiEngineeringControllerGetRolesCatalog, useAiEngineeringControllerGetRolesCatalogQuery, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
46
46
  export type { AiEngineeringControllerGetScorecardsErrorResponse, AiEngineeringControllerGetScorecardsOkResponse, AiEngineeringControllerGetScorecardsProps, AiEngineeringControllerGetScorecardsQueryPathParams, AiEngineeringControllerGetScorecardsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
47
47
  export { aiEngineeringControllerGetScorecards, useAiEngineeringControllerGetScorecardsQuery, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
48
+ export type { AiEngineeringControllerGetSessionFeedErrorResponse, AiEngineeringControllerGetSessionFeedOkResponse, AiEngineeringControllerGetSessionFeedProps, AiEngineeringControllerGetSessionFeedQueryPathParams, AiEngineeringControllerGetSessionFeedQueryQueryParams, } from './hooks/useAiEngineeringControllerGetSessionFeedQuery';
49
+ export { aiEngineeringControllerGetSessionFeed, useAiEngineeringControllerGetSessionFeedQuery, } from './hooks/useAiEngineeringControllerGetSessionFeedQuery';
48
50
  export type { AiEngineeringControllerGetToolCallCategoriesCatalogErrorResponse, AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse, AiEngineeringControllerGetToolCallCategoriesCatalogProps, AiEngineeringControllerGetToolCallCategoriesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
49
51
  export { aiEngineeringControllerGetToolCallCategoriesCatalog, useAiEngineeringControllerGetToolCallCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
50
52
  export type { AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse, AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, AiEngineeringControllerGetWorkItemLinkedPrsProps, AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams, AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery';
@@ -734,6 +736,8 @@ export type { ApiResponseMetricBreakdownData } from './schemas/ApiResponseMetric
734
736
  export type { ApiResponseOptimizationItem } from './schemas/ApiResponseOptimizationItem';
735
737
  export type { ApiResponseOptimizationListData } from './schemas/ApiResponseOptimizationListData';
736
738
  export type { ApiResponseScorecardData } from './schemas/ApiResponseScorecardData';
739
+ export type { ApiResponseSessionFeedResponse } from './schemas/ApiResponseSessionFeedResponse';
740
+ export type { ApiResponseSessionListResponse } from './schemas/ApiResponseSessionListResponse';
737
741
  export type { ApiResponseTimeSeriesTemplate } from './schemas/ApiResponseTimeSeriesTemplate';
738
742
  export type { ApiResponseWorkItemLinkedPrsResponse } from './schemas/ApiResponseWorkItemLinkedPrsResponse';
739
743
  export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
@@ -881,7 +885,6 @@ export type { EfficiencyMttrMetricBreakdown } from './schemas/EfficiencyMttrMetr
881
885
  export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
882
886
  export type { EfficiencyProfileEvent } from './schemas/EfficiencyProfileEvent';
883
887
  export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
884
- export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
885
888
  export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
886
889
  export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryRequest';
887
890
  export type { EncryptionKeyResponse } from './schemas/EncryptionKeyResponse';
@@ -1110,6 +1113,11 @@ export type { SecurityStatsDrilldownResponseDto } from './schemas/SecurityStatsD
1110
1113
  export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
1111
1114
  export type { SecurityStatsTrendResponseDto } from './schemas/SecurityStatsTrendResponseDto';
1112
1115
  export type { SegmentSummary } from './schemas/SegmentSummary';
1116
+ export type { SessionFeedResponse } from './schemas/SessionFeedResponse';
1117
+ export type { SessionFeedSummary } from './schemas/SessionFeedSummary';
1118
+ export type { SessionFragment } from './schemas/SessionFragment';
1119
+ export type { SessionListResponse } from './schemas/SessionListResponse';
1120
+ export type { SessionSummary } from './schemas/SessionSummary';
1113
1121
  export type { SeverityCounts } from './schemas/SeverityCounts';
1114
1122
  export type { SeverityData } from './schemas/SeverityData';
1115
1123
  export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
@@ -21,6 +21,7 @@ export { aiEngineeringControllerGetProductivityDrilldown, useAiEngineeringContro
21
21
  export { aiEngineeringControllerGetProductivitySummary, useAiEngineeringControllerGetProductivitySummaryQuery, } from './hooks/useAiEngineeringControllerGetProductivitySummaryQuery';
22
22
  export { aiEngineeringControllerGetRolesCatalog, useAiEngineeringControllerGetRolesCatalogQuery, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
23
23
  export { aiEngineeringControllerGetScorecards, useAiEngineeringControllerGetScorecardsQuery, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
24
+ export { aiEngineeringControllerGetSessionFeed, useAiEngineeringControllerGetSessionFeedQuery, } from './hooks/useAiEngineeringControllerGetSessionFeedQuery';
24
25
  export { aiEngineeringControllerGetToolCallCategoriesCatalog, useAiEngineeringControllerGetToolCallCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
25
26
  export { aiEngineeringControllerGetWorkItemLinkedPrs, useAiEngineeringControllerGetWorkItemLinkedPrsQuery, } from './hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery';
26
27
  export { aiEngineeringControllerGetWorkTypesCatalog, useAiEngineeringControllerGetWorkTypesCatalogQuery, } from './hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery';
@@ -0,0 +1,23 @@
1
+ import type { SessionFeedResponse } from '../schemas/SessionFeedResponse';
2
+ export interface ApiResponseSessionFeedResponse {
3
+ /**
4
+ * Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
5
+ */
6
+ data?: SessionFeedResponse;
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,23 @@
1
+ import type { SessionListResponse } from '../schemas/SessionListResponse';
2
+ export interface ApiResponseSessionListResponse {
3
+ /**
4
+ * Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
5
+ */
6
+ data?: SessionListResponse;
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
+ }
@@ -1,4 +1,5 @@
1
1
  import type { CreatedBy } from '../schemas/CreatedBy';
2
+ import type { Download } from '../schemas/Download';
2
3
  export interface BaExportResponseDto {
3
4
  /**
4
5
  * @format date-time
@@ -9,7 +10,7 @@ export interface BaExportResponseDto {
9
10
  */
10
11
  createdAt?: string;
11
12
  createdBy?: CreatedBy;
12
- downloadUrl?: string;
13
+ download?: Download;
13
14
  errorCode?: string;
14
15
  errorMessage?: string;
15
16
  exportId?: string;
@@ -29,5 +29,5 @@ export interface EfficiencyMetricDrilldownRequest {
29
29
  /**
30
30
  * Work Category Filter
31
31
  */
32
- workCategoryFilter?: 'ALL' | 'BUGS' | 'FEATURES';
32
+ workCategoryFilter?: Array<'ALL' | 'BUGS' | 'FEATURES'>;
33
33
  }
@@ -0,0 +1,43 @@
1
+ import type { SessionFragment } from '../schemas/SessionFragment';
2
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
3
+ import type { SessionFeedSummary } from '../schemas/SessionFeedSummary';
4
+ /**
5
+ * Session feed with chronological fragments and summary
6
+ */
7
+ export interface SessionFeedResponse {
8
+ /**
9
+ * Agent used in session (claude or cursor)
10
+ */
11
+ agent?: string;
12
+ /**
13
+ * Session end time
14
+ * @format date-time
15
+ */
16
+ endedAt?: string;
17
+ /**
18
+ * Chronologically ordered fragments
19
+ */
20
+ fragments?: SessionFragment[];
21
+ /**
22
+ * Pagination metadata
23
+ */
24
+ pagination?: PaginationInfo;
25
+ /**
26
+ * Project name
27
+ */
28
+ project?: string;
29
+ /**
30
+ * Unique session ID
31
+ * @format uuid
32
+ */
33
+ sessionId?: string;
34
+ /**
35
+ * Session start time
36
+ * @format date-time
37
+ */
38
+ startedAt?: string;
39
+ /**
40
+ * Session summary with rollups
41
+ */
42
+ summary?: SessionFeedSummary;
43
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Rollup summary for session feed
3
+ */
4
+ export interface SessionFeedSummary {
5
+ /**
6
+ * Total active time in seconds
7
+ * @format int64
8
+ */
9
+ durationActiveSec?: number;
10
+ /**
11
+ * Total idle time in seconds
12
+ * @format int64
13
+ */
14
+ durationIdleSec?: number;
15
+ /**
16
+ * Total fragments in session
17
+ * @format int64
18
+ */
19
+ fragmentCount?: number;
20
+ /**
21
+ * Git branches touched
22
+ */
23
+ gitBranches?: string[];
24
+ /**
25
+ * Agents used in session
26
+ */
27
+ tools?: string[];
28
+ /**
29
+ * Total API calls
30
+ * @format int64
31
+ */
32
+ totalApiCalls?: number;
33
+ /**
34
+ * Total cost in millicents
35
+ * @format int64
36
+ */
37
+ totalCostMillicents?: number;
38
+ }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Individual fragment in a session feed
3
+ */
4
+ export interface SessionFragment {
5
+ /**
6
+ * API calls made
7
+ * @format int64
8
+ */
9
+ apiCallCount?: number;
10
+ /**
11
+ * Cost in millicents
12
+ * @format int64
13
+ */
14
+ costMillicents?: number;
15
+ /**
16
+ * Fragment duration in seconds
17
+ * @format int64
18
+ */
19
+ durationSec?: number;
20
+ /**
21
+ * Fragment end time
22
+ * @format date-time
23
+ */
24
+ end?: string;
25
+ /**
26
+ * Number of errors in fragment
27
+ * @format int64
28
+ */
29
+ errorCount?: number;
30
+ /**
31
+ * Files edited in this fragment
32
+ */
33
+ filesEdited?: string[];
34
+ /**
35
+ * Files read in this fragment
36
+ */
37
+ filesRead?: string[];
38
+ /**
39
+ * 0-based index of fragment within session, ordered by start time
40
+ * @format int32
41
+ */
42
+ fragmentIndex?: number;
43
+ /**
44
+ * Git branch
45
+ */
46
+ gitBranch?: string;
47
+ /**
48
+ * Lines added (cumulative per model within session)
49
+ * @format int64
50
+ */
51
+ linesAdded?: number;
52
+ /**
53
+ * Whether lines are cumulative within the run
54
+ * @example true
55
+ */
56
+ linesAreCumulative?: boolean;
57
+ /**
58
+ * Lines edited (cumulative per model within session)
59
+ * @format int64
60
+ */
61
+ linesEdited?: number;
62
+ /**
63
+ * Lines removed (cumulative per model within session)
64
+ * @format int64
65
+ */
66
+ linesRemoved?: number;
67
+ /**
68
+ * Model used
69
+ */
70
+ model?: string;
71
+ /**
72
+ * Skills used in this fragment
73
+ */
74
+ skillsUsed?: string[];
75
+ /**
76
+ * Fragment start time
77
+ * @format date-time
78
+ */
79
+ start?: string;
80
+ /**
81
+ * Agent used (claude or cursor)
82
+ */
83
+ tool?: string;
84
+ /**
85
+ * Tool usage breakdown by tool name and count
86
+ */
87
+ toolUseBreakdown?: {
88
+ [key: string]: number;
89
+ };
90
+ /**
91
+ * Whether fragment was aborted
92
+ */
93
+ wasAborted?: boolean;
94
+ }
@@ -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 {};
@@ -0,0 +1,19 @@
1
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
2
+ import type { SessionSummary } from '../schemas/SessionSummary';
3
+ /**
4
+ * Paginated list of sessions for a user
5
+ */
6
+ export interface SessionListResponse {
7
+ /**
8
+ * Pagination metadata
9
+ */
10
+ pagination?: PaginationInfo;
11
+ /**
12
+ * Sessions for the user
13
+ */
14
+ sessions?: SessionSummary[];
15
+ /**
16
+ * User email queried
17
+ */
18
+ userEmail?: string;
19
+ }
@@ -0,0 +1,88 @@
1
+ /**
2
+ * Session summary for list view
3
+ */
4
+ export interface SessionSummary {
5
+ /**
6
+ * Total active time in seconds (sum of fragment durations)
7
+ * @format int64
8
+ */
9
+ durationActiveSec?: number;
10
+ /**
11
+ * Total idle time in seconds (gaps between fragments)
12
+ * @format int64
13
+ */
14
+ durationIdleSec?: number;
15
+ /**
16
+ * Session end time
17
+ * @format date-time
18
+ */
19
+ endedAt?: string;
20
+ /**
21
+ * Number of fragments in session
22
+ * @format int32
23
+ */
24
+ fragmentCount?: number;
25
+ /**
26
+ * Git branches touched
27
+ */
28
+ gitBranches?: string[];
29
+ /**
30
+ * Whether session had errors
31
+ */
32
+ hadErrors?: boolean;
33
+ /**
34
+ * Models used
35
+ */
36
+ modelsUsed?: string[];
37
+ /**
38
+ * Primary/dominant model used in session
39
+ */
40
+ primaryModel?: string;
41
+ /**
42
+ * Project name
43
+ */
44
+ project?: string;
45
+ /**
46
+ * Unique session ID
47
+ * @format uuid
48
+ */
49
+ sessionId?: string;
50
+ /**
51
+ * Session start time
52
+ * @format date-time
53
+ */
54
+ startedAt?: string;
55
+ /**
56
+ * Agents used in session (claude, cursor)
57
+ */
58
+ tools?: string[];
59
+ /**
60
+ * Total API calls
61
+ * @format int64
62
+ */
63
+ totalApiCalls?: number;
64
+ /**
65
+ * Total cost in millicents
66
+ * @format int64
67
+ */
68
+ totalCostMillicents?: number;
69
+ /**
70
+ * Total lines added (sum across all runs)
71
+ * @format int64
72
+ */
73
+ totalLinesAdded?: number;
74
+ /**
75
+ * Total lines edited (sum across all runs)
76
+ * @format int64
77
+ */
78
+ totalLinesEdited?: number;
79
+ /**
80
+ * Total lines removed (sum across all runs)
81
+ * @format int64
82
+ */
83
+ totalLinesRemoved?: number;
84
+ /**
85
+ * Whether session was aborted
86
+ */
87
+ wasAborted?: boolean;
88
+ }
@@ -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.15",
3
+ "version": "0.31.17",
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",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "keywords": [],
25
25
  "scripts": {
26
- "prebuild": "node sanity.js && rimraf dist",
26
+ "prebuild": "rimraf dist",
27
27
  "build": "yarn generate && tsc",
28
28
  "generate": "oats import --config='./oats.config.ts'",
29
29
  "fmt": "prettier --write ./index.ts"
@@ -1,29 +0,0 @@
1
- export interface EfficiencyRequest {
2
- /**
3
- * @format date-time
4
- */
5
- dateEnd: string;
6
- /**
7
- * @format date-time
8
- */
9
- dateStart: string;
10
- /**
11
- * @format date-time
12
- */
13
- drillDownEndDate?: string;
14
- /**
15
- * @format date-time
16
- */
17
- drillDownStartDate?: string;
18
- granularity: string;
19
- /**
20
- * @format int32
21
- */
22
- page?: number;
23
- /**
24
- * @format int32
25
- */
26
- pageSize?: number;
27
- teamRefId: string;
28
- workCategoryFilters?: Array<'ALL' | 'BUGS' | 'FEATURES'>;
29
- }