@harnessio/react-sei-panorama-service-client 0.26.2 → 0.26.3

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 (50) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  2. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerCreateExportMutation.d.ts +22 -0
  3. package/dist/sei-panorama-service/src/services/hooks/{useInsightsExportControllerCreateExportMutation.js → useProductivityInsightsExportControllerCreateExportMutation.js} +3 -3
  4. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerDownloadExportQuery.d.ts +19 -0
  5. package/dist/sei-panorama-service/src/services/hooks/{useInsightsExportControllerDownloadExportQuery.js → useProductivityInsightsExportControllerDownloadExportQuery.js} +3 -3
  6. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation.d.ts +21 -0
  7. package/dist/sei-panorama-service/src/services/hooks/{useInsightsExportControllerGenerateExportSyncMutation.js → useProductivityInsightsExportControllerGenerateExportSyncMutation.js} +3 -3
  8. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerGetExportStatusQuery.d.ts +20 -0
  9. package/dist/sei-panorama-service/src/services/hooks/{useInsightsExportControllerGetExportStatusQuery.js → useProductivityInsightsExportControllerGetExportStatusQuery.js} +3 -3
  10. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerListExportsQuery.d.ts +50 -0
  11. package/dist/sei-panorama-service/src/services/hooks/{useInsightsExportControllerListExportsQuery.js → useProductivityInsightsExportControllerListExportsQuery.js} +3 -3
  12. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExportMutation.js +1 -1
  13. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.d.ts +22 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerCreateExport_1Mutation.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExport_1Query.d.ts +19 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerDownloadExport_1Query.js +14 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation.d.ts +21 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation.js +14 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatus_1Query.d.ts +20 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGetExportStatus_1Query.js +14 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExportsQuery.js +1 -1
  22. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExports_1Query.d.ts +50 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExports_1Query.js +14 -0
  24. package/dist/sei-panorama-service/src/services/index.d.ts +24 -10
  25. package/dist/sei-panorama-service/src/services/index.js +10 -5
  26. package/dist/sei-panorama-service/src/services/schemas/CodeReworkDevelopersDrilldownResponseDataPointV3.d.ts +12 -0
  27. package/dist/sei-panorama-service/src/services/schemas/CodeReworkDevelopersDrilldownResponseDataPointV3.js +1 -0
  28. package/dist/sei-panorama-service/src/services/schemas/CodeReworkLocBucket.d.ts +14 -0
  29. package/dist/sei-panorama-service/src/services/schemas/CodeReworkLocBucket.js +4 -0
  30. package/dist/sei-panorama-service/src/services/schemas/CodeReworkPercentBucket.d.ts +14 -0
  31. package/dist/sei-panorama-service/src/services/schemas/CodeReworkPercentBucket.js +4 -0
  32. package/dist/sei-panorama-service/src/services/schemas/CreatedBy.d.ts +0 -15
  33. package/dist/sei-panorama-service/src/services/schemas/DateRange.d.ts +0 -11
  34. package/dist/sei-panorama-service/src/services/schemas/DeveloperAttribute.d.ts +15 -0
  35. package/dist/sei-panorama-service/src/services/schemas/DeveloperAttribute.js +4 -0
  36. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataV3.d.ts +2 -1
  37. package/dist/sei-panorama-service/src/services/schemas/ErrorInfo.d.ts +0 -24
  38. package/dist/sei-panorama-service/src/services/schemas/ExportItem.d.ts +2 -28
  39. package/dist/sei-panorama-service/src/services/schemas/ExportScope.d.ts +32 -1
  40. package/dist/sei-panorama-service/src/services/schemas/ExportScope.js +0 -3
  41. package/dist/sei-panorama-service/src/services/schemas/Metadata.d.ts +0 -12
  42. package/dist/sei-panorama-service/src/services/schemas/Options.d.ts +0 -26
  43. package/dist/sei-panorama-service/src/services/schemas/Pagination.d.ts +0 -15
  44. package/dist/sei-panorama-service/src/services/schemas/Scope.d.ts +1 -21
  45. package/package.json +1 -1
  46. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerCreateExportMutation.d.ts +0 -22
  47. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerDownloadExportQuery.d.ts +0 -19
  48. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerGenerateExportSyncMutation.d.ts +0 -21
  49. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerGetExportStatusQuery.d.ts +0 -20
  50. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerListExportsQuery.d.ts +0 -50
@@ -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) | ErrorResponse;
10
+ export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
11
11
  export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
12
12
  body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
13
13
  }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { MetricsExportResponseDto } from '../schemas/MetricsExportResponseDto';
3
+ import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ProductivityInsightsExportControllerCreateExportMutationQueryParams {
7
+ routingId: string;
8
+ projectIdentifier?: string;
9
+ orgIdentifier?: string;
10
+ }
11
+ export type ProductivityInsightsExportControllerCreateExportRequestBody = MetricsExportRequestDto;
12
+ export type ProductivityInsightsExportControllerCreateExportOkResponse = ResponseWithPagination<MetricsExportResponseDto>;
13
+ export type ProductivityInsightsExportControllerCreateExportErrorResponse = unknown;
14
+ export interface ProductivityInsightsExportControllerCreateExportProps extends Omit<FetcherOptions<ProductivityInsightsExportControllerCreateExportMutationQueryParams, ProductivityInsightsExportControllerCreateExportRequestBody>, 'url'> {
15
+ queryParams: ProductivityInsightsExportControllerCreateExportMutationQueryParams;
16
+ body: ProductivityInsightsExportControllerCreateExportRequestBody;
17
+ }
18
+ export declare function productivityInsightsExportControllerCreateExport(props: ProductivityInsightsExportControllerCreateExportProps): Promise<ProductivityInsightsExportControllerCreateExportOkResponse>;
19
+ /**
20
+ * Creates a new export job for developer productivity metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status.
21
+ */
22
+ export declare function useProductivityInsightsExportControllerCreateExportMutation(options?: Omit<UseMutationOptions<ProductivityInsightsExportControllerCreateExportOkResponse, ProductivityInsightsExportControllerCreateExportErrorResponse, ProductivityInsightsExportControllerCreateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityInsightsExportControllerCreateExportOkResponse, unknown, ProductivityInsightsExportControllerCreateExportProps, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function insightsExportControllerCreateExport(props) {
6
+ export function productivityInsightsExportControllerCreateExport(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/productivity/exports`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Creates a new export job for developer productivity metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status.
11
11
  */
12
- export function useInsightsExportControllerCreateExportMutation(options) {
13
- return useMutation((mutateProps) => insightsExportControllerCreateExport(mutateProps), options);
12
+ export function useProductivityInsightsExportControllerCreateExportMutation(options) {
13
+ return useMutation((mutateProps) => productivityInsightsExportControllerCreateExport(mutateProps), options);
14
14
  }
@@ -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 ProductivityInsightsExportControllerDownloadExportQueryPathParams {
5
+ exportId: string;
6
+ }
7
+ export interface ProductivityInsightsExportControllerDownloadExportQueryQueryParams {
8
+ routingId: string;
9
+ }
10
+ export type ProductivityInsightsExportControllerDownloadExportOkResponse = ResponseWithPagination<unknown>;
11
+ export type ProductivityInsightsExportControllerDownloadExportErrorResponse = unknown;
12
+ export interface ProductivityInsightsExportControllerDownloadExportProps extends ProductivityInsightsExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<ProductivityInsightsExportControllerDownloadExportQueryQueryParams, unknown>, 'url'> {
13
+ queryParams: ProductivityInsightsExportControllerDownloadExportQueryQueryParams;
14
+ }
15
+ export declare function productivityInsightsExportControllerDownloadExport(props: ProductivityInsightsExportControllerDownloadExportProps): Promise<ProductivityInsightsExportControllerDownloadExportOkResponse>;
16
+ /**
17
+ * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
18
+ */
19
+ export declare function useProductivityInsightsExportControllerDownloadExportQuery(props: ProductivityInsightsExportControllerDownloadExportProps, options?: Omit<UseQueryOptions<ProductivityInsightsExportControllerDownloadExportOkResponse, ProductivityInsightsExportControllerDownloadExportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityInsightsExportControllerDownloadExportOkResponse, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function insightsExportControllerDownloadExport(props) {
6
+ export function productivityInsightsExportControllerDownloadExport(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/productivity/exports/${props.exportId}/download`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
11
11
  */
12
- export function useInsightsExportControllerDownloadExportQuery(props, options) {
13
- return useQuery(['InsightsExportControllerDownloadExport', props.exportId, props.queryParams], ({ signal }) => insightsExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
12
+ export function useProductivityInsightsExportControllerDownloadExportQuery(props, options) {
13
+ return useQuery(['ProductivityInsightsExportControllerDownloadExport', props.exportId, props.queryParams], ({ signal }) => productivityInsightsExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface ProductivityInsightsExportControllerGenerateExportSyncMutationQueryParams {
6
+ routingId: string;
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type ProductivityInsightsExportControllerGenerateExportSyncRequestBody = MetricsExportRequestDto;
11
+ export type ProductivityInsightsExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<unknown>;
12
+ export type ProductivityInsightsExportControllerGenerateExportSyncErrorResponse = unknown;
13
+ export interface ProductivityInsightsExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<ProductivityInsightsExportControllerGenerateExportSyncMutationQueryParams, ProductivityInsightsExportControllerGenerateExportSyncRequestBody>, 'url'> {
14
+ queryParams: ProductivityInsightsExportControllerGenerateExportSyncMutationQueryParams;
15
+ body: ProductivityInsightsExportControllerGenerateExportSyncRequestBody;
16
+ }
17
+ export declare function productivityInsightsExportControllerGenerateExportSync(props: ProductivityInsightsExportControllerGenerateExportSyncProps): Promise<ProductivityInsightsExportControllerGenerateExportSyncOkResponse>;
18
+ /**
19
+ * Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
+ */
21
+ export declare function useProductivityInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<ProductivityInsightsExportControllerGenerateExportSyncOkResponse, ProductivityInsightsExportControllerGenerateExportSyncErrorResponse, ProductivityInsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityInsightsExportControllerGenerateExportSyncOkResponse, unknown, ProductivityInsightsExportControllerGenerateExportSyncProps, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function insightsExportControllerGenerateExportSync(props) {
6
+ export function productivityInsightsExportControllerGenerateExportSync(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/productivity/exports/sync`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
11
11
  */
12
- export function useInsightsExportControllerGenerateExportSyncMutation(options) {
13
- return useMutation((mutateProps) => insightsExportControllerGenerateExportSync(mutateProps), options);
12
+ export function useProductivityInsightsExportControllerGenerateExportSyncMutation(options) {
13
+ return useMutation((mutateProps) => productivityInsightsExportControllerGenerateExportSync(mutateProps), options);
14
14
  }
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { MetricsExportResponseDto } from '../schemas/MetricsExportResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface ProductivityInsightsExportControllerGetExportStatusQueryPathParams {
6
+ exportId: string;
7
+ }
8
+ export interface ProductivityInsightsExportControllerGetExportStatusQueryQueryParams {
9
+ routingId: string;
10
+ }
11
+ export type ProductivityInsightsExportControllerGetExportStatusOkResponse = ResponseWithPagination<MetricsExportResponseDto>;
12
+ export type ProductivityInsightsExportControllerGetExportStatusErrorResponse = unknown;
13
+ export interface ProductivityInsightsExportControllerGetExportStatusProps extends ProductivityInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<ProductivityInsightsExportControllerGetExportStatusQueryQueryParams, unknown>, 'url'> {
14
+ queryParams: ProductivityInsightsExportControllerGetExportStatusQueryQueryParams;
15
+ }
16
+ export declare function productivityInsightsExportControllerGetExportStatus(props: ProductivityInsightsExportControllerGetExportStatusProps): Promise<ProductivityInsightsExportControllerGetExportStatusOkResponse>;
17
+ /**
18
+ * Retrieves the current status of an export job. If the export is completed, includes download information.
19
+ */
20
+ export declare function useProductivityInsightsExportControllerGetExportStatusQuery(props: ProductivityInsightsExportControllerGetExportStatusProps, options?: Omit<UseQueryOptions<ProductivityInsightsExportControllerGetExportStatusOkResponse, ProductivityInsightsExportControllerGetExportStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityInsightsExportControllerGetExportStatusOkResponse, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function insightsExportControllerGetExportStatus(props) {
6
+ export function productivityInsightsExportControllerGetExportStatus(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/productivity/exports/${props.exportId}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves the current status of an export job. If the export is completed, includes download information.
11
11
  */
12
- export function useInsightsExportControllerGetExportStatusQuery(props, options) {
13
- return useQuery(['InsightsExportControllerGetExportStatus', props.exportId, props.queryParams], ({ signal }) => insightsExportControllerGetExportStatus(Object.assign(Object.assign({}, props), { signal })), options);
12
+ export function useProductivityInsightsExportControllerGetExportStatusQuery(props, options) {
13
+ return useQuery(['ProductivityInsightsExportControllerGetExportStatus', props.exportId, props.queryParams], ({ signal }) => productivityInsightsExportControllerGetExportStatus(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -0,0 +1,50 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { MetricsExportListResponseDto } from '../schemas/MetricsExportListResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface ProductivityInsightsExportControllerListExportsQueryQueryParams {
6
+ routingId: string;
7
+ status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
8
+ /**
9
+ * @default "all"
10
+ */
11
+ scope?: string;
12
+ teamId?: string;
13
+ createdBy?: string;
14
+ /**
15
+ * @format date-time
16
+ */
17
+ dateFrom?: string;
18
+ /**
19
+ * @format date-time
20
+ */
21
+ dateTo?: string;
22
+ /**
23
+ * @format int32
24
+ * @default 50
25
+ */
26
+ limit?: number;
27
+ /**
28
+ * @format int32
29
+ * @default 0
30
+ */
31
+ page?: number;
32
+ /**
33
+ * @default "createdAt"
34
+ */
35
+ sortBy?: string;
36
+ /**
37
+ * @default "desc"
38
+ */
39
+ sortOrder?: string;
40
+ }
41
+ export type ProductivityInsightsExportControllerListExportsOkResponse = ResponseWithPagination<MetricsExportListResponseDto>;
42
+ export type ProductivityInsightsExportControllerListExportsErrorResponse = unknown;
43
+ export interface ProductivityInsightsExportControllerListExportsProps extends Omit<FetcherOptions<ProductivityInsightsExportControllerListExportsQueryQueryParams, unknown>, 'url'> {
44
+ queryParams: ProductivityInsightsExportControllerListExportsQueryQueryParams;
45
+ }
46
+ export declare function productivityInsightsExportControllerListExports(props: ProductivityInsightsExportControllerListExportsProps): Promise<ProductivityInsightsExportControllerListExportsOkResponse>;
47
+ /**
48
+ * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
49
+ */
50
+ export declare function useProductivityInsightsExportControllerListExportsQuery(props: ProductivityInsightsExportControllerListExportsProps, options?: Omit<UseQueryOptions<ProductivityInsightsExportControllerListExportsOkResponse, ProductivityInsightsExportControllerListExportsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityInsightsExportControllerListExportsOkResponse, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function insightsExportControllerListExports(props) {
6
+ export function productivityInsightsExportControllerListExports(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/productivity/exports`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
11
11
  */
12
- export function useInsightsExportControllerListExportsQuery(props, options) {
13
- return useQuery(['InsightsExportControllerListExports', props.queryParams], ({ signal }) => insightsExportControllerListExports(Object.assign(Object.assign({}, props), { signal })), options);
12
+ export function useProductivityInsightsExportControllerListExportsQuery(props, options) {
13
+ return useQuery(['ProductivityInsightsExportControllerListExports', props.queryParams], ({ signal }) => productivityInsightsExportControllerListExports(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function sprintInsightsExportControllerCreateExport(props) {
7
- return fetcher(Object.assign({ url: `/v2/insights/sprints/exports`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Creates a new export job for sprint insights metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status. Note: sprintIds are used for filtering but not persisted.
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SprintExportResponseDto } from '../schemas/SprintExportResponseDto';
3
+ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface SprintInsightsExportControllerCreateExport_1MutationQueryParams {
7
+ routingId: string;
8
+ projectIdentifier?: string;
9
+ orgIdentifier?: string;
10
+ }
11
+ export type SprintInsightsExportControllerCreateExport_1RequestBody = SprintExportRequestDto;
12
+ export type SprintInsightsExportControllerCreateExport_1OkResponse = ResponseWithPagination<SprintExportResponseDto>;
13
+ export type SprintInsightsExportControllerCreateExport_1ErrorResponse = unknown;
14
+ export interface SprintInsightsExportControllerCreateExport_1Props extends Omit<FetcherOptions<SprintInsightsExportControllerCreateExport_1MutationQueryParams, SprintInsightsExportControllerCreateExport_1RequestBody>, 'url'> {
15
+ queryParams: SprintInsightsExportControllerCreateExport_1MutationQueryParams;
16
+ body: SprintInsightsExportControllerCreateExport_1RequestBody;
17
+ }
18
+ export declare function sprintInsightsExportControllerCreateExport_1(props: SprintInsightsExportControllerCreateExport_1Props): Promise<SprintInsightsExportControllerCreateExport_1OkResponse>;
19
+ /**
20
+ * Creates a new export job for sprint insights metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status. Note: sprintIds are used for filtering but not persisted.
21
+ */
22
+ export declare function useSprintInsightsExportControllerCreateExport_1Mutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerCreateExport_1OkResponse, SprintInsightsExportControllerCreateExport_1ErrorResponse, SprintInsightsExportControllerCreateExport_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerCreateExport_1OkResponse, unknown, SprintInsightsExportControllerCreateExport_1Props, 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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function sprintInsightsExportControllerCreateExport_1(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/sprints/exports`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates a new export job for sprint insights metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status. Note: sprintIds are used for filtering but not persisted.
11
+ */
12
+ export function useSprintInsightsExportControllerCreateExport_1Mutation(options) {
13
+ return useMutation((mutateProps) => sprintInsightsExportControllerCreateExport_1(mutateProps), options);
14
+ }
@@ -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 SprintInsightsExportControllerDownloadExport_1QueryPathParams {
5
+ exportId: string;
6
+ }
7
+ export interface SprintInsightsExportControllerDownloadExport_1QueryQueryParams {
8
+ routingId: string;
9
+ }
10
+ export type SprintInsightsExportControllerDownloadExport_1OkResponse = ResponseWithPagination<unknown>;
11
+ export type SprintInsightsExportControllerDownloadExport_1ErrorResponse = unknown;
12
+ export interface SprintInsightsExportControllerDownloadExport_1Props extends SprintInsightsExportControllerDownloadExport_1QueryPathParams, Omit<FetcherOptions<SprintInsightsExportControllerDownloadExport_1QueryQueryParams, unknown>, 'url'> {
13
+ queryParams: SprintInsightsExportControllerDownloadExport_1QueryQueryParams;
14
+ }
15
+ export declare function sprintInsightsExportControllerDownloadExport_1(props: SprintInsightsExportControllerDownloadExport_1Props): Promise<SprintInsightsExportControllerDownloadExport_1OkResponse>;
16
+ /**
17
+ * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
18
+ */
19
+ export declare function useSprintInsightsExportControllerDownloadExport_1Query(props: SprintInsightsExportControllerDownloadExport_1Props, options?: Omit<UseQueryOptions<SprintInsightsExportControllerDownloadExport_1OkResponse, SprintInsightsExportControllerDownloadExport_1ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SprintInsightsExportControllerDownloadExport_1OkResponse, 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 sprintInsightsExportControllerDownloadExport_1(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export/${props.exportId}/download`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
11
+ */
12
+ export function useSprintInsightsExportControllerDownloadExport_1Query(props, options) {
13
+ return useQuery(['SprintInsightsExportControllerDownloadExport_1', props.exportId, props.queryParams], ({ signal }) => sprintInsightsExportControllerDownloadExport_1(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SprintInsightsExportControllerGenerateExportSync_1MutationQueryParams {
6
+ routingId: string;
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type SprintInsightsExportControllerGenerateExportSync_1RequestBody = SprintExportRequestDto;
11
+ export type SprintInsightsExportControllerGenerateExportSync_1OkResponse = ResponseWithPagination<unknown>;
12
+ export type SprintInsightsExportControllerGenerateExportSync_1ErrorResponse = unknown;
13
+ export interface SprintInsightsExportControllerGenerateExportSync_1Props extends Omit<FetcherOptions<SprintInsightsExportControllerGenerateExportSync_1MutationQueryParams, SprintInsightsExportControllerGenerateExportSync_1RequestBody>, 'url'> {
14
+ queryParams: SprintInsightsExportControllerGenerateExportSync_1MutationQueryParams;
15
+ body: SprintInsightsExportControllerGenerateExportSync_1RequestBody;
16
+ }
17
+ export declare function sprintInsightsExportControllerGenerateExportSync_1(props: SprintInsightsExportControllerGenerateExportSync_1Props): Promise<SprintInsightsExportControllerGenerateExportSync_1OkResponse>;
18
+ /**
19
+ * Directly generates and returns a sprint metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
+ */
21
+ export declare function useSprintInsightsExportControllerGenerateExportSync_1Mutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerGenerateExportSync_1OkResponse, SprintInsightsExportControllerGenerateExportSync_1ErrorResponse, SprintInsightsExportControllerGenerateExportSync_1Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerGenerateExportSync_1OkResponse, unknown, SprintInsightsExportControllerGenerateExportSync_1Props, 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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function sprintInsightsExportControllerGenerateExportSync_1(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export/sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Directly generates and returns a sprint metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
11
+ */
12
+ export function useSprintInsightsExportControllerGenerateExportSync_1Mutation(options) {
13
+ return useMutation((mutateProps) => sprintInsightsExportControllerGenerateExportSync_1(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SprintExportStatusResponseDto } from '../schemas/SprintExportStatusResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SprintInsightsExportControllerGetExportStatus_1QueryPathParams {
6
+ exportId: string;
7
+ }
8
+ export interface SprintInsightsExportControllerGetExportStatus_1QueryQueryParams {
9
+ routingId: string;
10
+ }
11
+ export type SprintInsightsExportControllerGetExportStatus_1OkResponse = ResponseWithPagination<SprintExportStatusResponseDto>;
12
+ export type SprintInsightsExportControllerGetExportStatus_1ErrorResponse = unknown;
13
+ export interface SprintInsightsExportControllerGetExportStatus_1Props extends SprintInsightsExportControllerGetExportStatus_1QueryPathParams, Omit<FetcherOptions<SprintInsightsExportControllerGetExportStatus_1QueryQueryParams, unknown>, 'url'> {
14
+ queryParams: SprintInsightsExportControllerGetExportStatus_1QueryQueryParams;
15
+ }
16
+ export declare function sprintInsightsExportControllerGetExportStatus_1(props: SprintInsightsExportControllerGetExportStatus_1Props): Promise<SprintInsightsExportControllerGetExportStatus_1OkResponse>;
17
+ /**
18
+ * Retrieves the current status of an export job. If the export is completed, includes download information.
19
+ */
20
+ export declare function useSprintInsightsExportControllerGetExportStatus_1Query(props: SprintInsightsExportControllerGetExportStatus_1Props, options?: Omit<UseQueryOptions<SprintInsightsExportControllerGetExportStatus_1OkResponse, SprintInsightsExportControllerGetExportStatus_1ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SprintInsightsExportControllerGetExportStatus_1OkResponse, 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 sprintInsightsExportControllerGetExportStatus_1(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export/${props.exportId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves the current status of an export job. If the export is completed, includes download information.
11
+ */
12
+ export function useSprintInsightsExportControllerGetExportStatus_1Query(props, options) {
13
+ return useQuery(['SprintInsightsExportControllerGetExportStatus_1', props.exportId, props.queryParams], ({ signal }) => sprintInsightsExportControllerGetExportStatus_1(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function sprintInsightsExportControllerListExports(props) {
7
- return fetcher(Object.assign({ url: `/v2/insights/sprints/exports`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/sprints/export`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
@@ -0,0 +1,50 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SprintExportListResponseDto } from '../schemas/SprintExportListResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SprintInsightsExportControllerListExports_1QueryQueryParams {
6
+ routingId: string;
7
+ status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
8
+ /**
9
+ * @default "all"
10
+ */
11
+ scope?: string;
12
+ teamId?: string;
13
+ createdBy?: string;
14
+ /**
15
+ * @format date-time
16
+ */
17
+ dateFrom?: string;
18
+ /**
19
+ * @format date-time
20
+ */
21
+ dateTo?: string;
22
+ /**
23
+ * @format int32
24
+ * @default 50
25
+ */
26
+ limit?: number;
27
+ /**
28
+ * @format int32
29
+ * @default 0
30
+ */
31
+ page?: number;
32
+ /**
33
+ * @default "createdAt"
34
+ */
35
+ sortBy?: string;
36
+ /**
37
+ * @default "desc"
38
+ */
39
+ sortOrder?: string;
40
+ }
41
+ export type SprintInsightsExportControllerListExports_1OkResponse = ResponseWithPagination<SprintExportListResponseDto>;
42
+ export type SprintInsightsExportControllerListExports_1ErrorResponse = unknown;
43
+ export interface SprintInsightsExportControllerListExports_1Props extends Omit<FetcherOptions<SprintInsightsExportControllerListExports_1QueryQueryParams, unknown>, 'url'> {
44
+ queryParams: SprintInsightsExportControllerListExports_1QueryQueryParams;
45
+ }
46
+ export declare function sprintInsightsExportControllerListExports_1(props: SprintInsightsExportControllerListExports_1Props): Promise<SprintInsightsExportControllerListExports_1OkResponse>;
47
+ /**
48
+ * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
49
+ */
50
+ export declare function useSprintInsightsExportControllerListExports_1Query(props: SprintInsightsExportControllerListExports_1Props, options?: Omit<UseQueryOptions<SprintInsightsExportControllerListExports_1OkResponse, SprintInsightsExportControllerListExports_1ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SprintInsightsExportControllerListExports_1OkResponse, 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 sprintInsightsExportControllerListExports_1(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/sprints/exports`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
11
+ */
12
+ export function useSprintInsightsExportControllerListExports_1Query(props, options) {
13
+ return useQuery(['SprintInsightsExportControllerListExports_1', props.queryParams], ({ signal }) => sprintInsightsExportControllerListExports_1(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -197,16 +197,6 @@ export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckD
197
197
  export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
198
198
  export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
199
199
  export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
200
- export type { InsightsExportControllerCreateExportErrorResponse, InsightsExportControllerCreateExportMutationQueryParams, InsightsExportControllerCreateExportOkResponse, InsightsExportControllerCreateExportProps, InsightsExportControllerCreateExportRequestBody, } from './hooks/useInsightsExportControllerCreateExportMutation';
201
- export { insightsExportControllerCreateExport, useInsightsExportControllerCreateExportMutation, } from './hooks/useInsightsExportControllerCreateExportMutation';
202
- export type { InsightsExportControllerDownloadExportErrorResponse, InsightsExportControllerDownloadExportOkResponse, InsightsExportControllerDownloadExportProps, InsightsExportControllerDownloadExportQueryPathParams, InsightsExportControllerDownloadExportQueryQueryParams, } from './hooks/useInsightsExportControllerDownloadExportQuery';
203
- export { insightsExportControllerDownloadExport, useInsightsExportControllerDownloadExportQuery, } from './hooks/useInsightsExportControllerDownloadExportQuery';
204
- export type { InsightsExportControllerGenerateExportSyncErrorResponse, InsightsExportControllerGenerateExportSyncMutationQueryParams, InsightsExportControllerGenerateExportSyncOkResponse, InsightsExportControllerGenerateExportSyncProps, InsightsExportControllerGenerateExportSyncRequestBody, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
205
- export { insightsExportControllerGenerateExportSync, useInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
206
- export type { InsightsExportControllerGetExportStatusErrorResponse, InsightsExportControllerGetExportStatusOkResponse, InsightsExportControllerGetExportStatusProps, InsightsExportControllerGetExportStatusQueryPathParams, InsightsExportControllerGetExportStatusQueryQueryParams, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
207
- export { insightsExportControllerGetExportStatus, useInsightsExportControllerGetExportStatusQuery, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
208
- export type { InsightsExportControllerListExportsErrorResponse, InsightsExportControllerListExportsOkResponse, InsightsExportControllerListExportsProps, InsightsExportControllerListExportsQueryQueryParams, } from './hooks/useInsightsExportControllerListExportsQuery';
209
- export { insightsExportControllerListExports, useInsightsExportControllerListExportsQuery, } from './hooks/useInsightsExportControllerListExportsQuery';
210
200
  export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesQueryQueryParams, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
211
201
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
212
202
  export type { IntegrationControllerGetIntegrationProjectsErrorResponse, IntegrationControllerGetIntegrationProjectsOkResponse, IntegrationControllerGetIntegrationProjectsProps, IntegrationControllerGetIntegrationProjectsQueryQueryParams, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
@@ -343,6 +333,16 @@ export type { ProductivityControllerGetFeatureMetricsErrorResponse, Productivity
343
333
  export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
344
334
  export type { ProductivityControllerGetIndividualUserFeatureDrillDownErrorResponse, ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse, ProductivityControllerGetIndividualUserFeatureDrillDownProps, ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams, ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
345
335
  export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
336
+ export type { ProductivityInsightsExportControllerCreateExportErrorResponse, ProductivityInsightsExportControllerCreateExportMutationQueryParams, ProductivityInsightsExportControllerCreateExportOkResponse, ProductivityInsightsExportControllerCreateExportProps, ProductivityInsightsExportControllerCreateExportRequestBody, } from './hooks/useProductivityInsightsExportControllerCreateExportMutation';
337
+ export { productivityInsightsExportControllerCreateExport, useProductivityInsightsExportControllerCreateExportMutation, } from './hooks/useProductivityInsightsExportControllerCreateExportMutation';
338
+ export type { ProductivityInsightsExportControllerDownloadExportErrorResponse, ProductivityInsightsExportControllerDownloadExportOkResponse, ProductivityInsightsExportControllerDownloadExportProps, ProductivityInsightsExportControllerDownloadExportQueryPathParams, ProductivityInsightsExportControllerDownloadExportQueryQueryParams, } from './hooks/useProductivityInsightsExportControllerDownloadExportQuery';
339
+ export { productivityInsightsExportControllerDownloadExport, useProductivityInsightsExportControllerDownloadExportQuery, } from './hooks/useProductivityInsightsExportControllerDownloadExportQuery';
340
+ export type { ProductivityInsightsExportControllerGenerateExportSyncErrorResponse, ProductivityInsightsExportControllerGenerateExportSyncMutationQueryParams, ProductivityInsightsExportControllerGenerateExportSyncOkResponse, ProductivityInsightsExportControllerGenerateExportSyncProps, ProductivityInsightsExportControllerGenerateExportSyncRequestBody, } from './hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation';
341
+ export { productivityInsightsExportControllerGenerateExportSync, useProductivityInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation';
342
+ export type { ProductivityInsightsExportControllerGetExportStatusErrorResponse, ProductivityInsightsExportControllerGetExportStatusOkResponse, ProductivityInsightsExportControllerGetExportStatusProps, ProductivityInsightsExportControllerGetExportStatusQueryPathParams, ProductivityInsightsExportControllerGetExportStatusQueryQueryParams, } from './hooks/useProductivityInsightsExportControllerGetExportStatusQuery';
343
+ export { productivityInsightsExportControllerGetExportStatus, useProductivityInsightsExportControllerGetExportStatusQuery, } from './hooks/useProductivityInsightsExportControllerGetExportStatusQuery';
344
+ export type { ProductivityInsightsExportControllerListExportsErrorResponse, ProductivityInsightsExportControllerListExportsOkResponse, ProductivityInsightsExportControllerListExportsProps, ProductivityInsightsExportControllerListExportsQueryQueryParams, } from './hooks/useProductivityInsightsExportControllerListExportsQuery';
345
+ export { productivityInsightsExportControllerListExports, useProductivityInsightsExportControllerListExportsQuery, } from './hooks/useProductivityInsightsExportControllerListExportsQuery';
346
346
  export type { ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileMutationQueryParams, ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileProps, ProductivityProfileControllerCreateProfileRequestBody, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
347
347
  export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
348
348
  export type { ProductivityProfileControllerDeleteProfileErrorResponse, ProductivityProfileControllerDeleteProfileMutationPathParams, ProductivityProfileControllerDeleteProfileMutationQueryParams, ProductivityProfileControllerDeleteProfileOkResponse, ProductivityProfileControllerDeleteProfileProps, } from './hooks/useProductivityProfileControllerDeleteProfileMutation';
@@ -395,14 +395,24 @@ export type { SprintInsightsControllerSearchSprintTicketsErrorResponse, SprintIn
395
395
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
396
396
  export type { SprintInsightsExportControllerCreateExportErrorResponse, SprintInsightsExportControllerCreateExportMutationQueryParams, SprintInsightsExportControllerCreateExportOkResponse, SprintInsightsExportControllerCreateExportProps, SprintInsightsExportControllerCreateExportRequestBody, } from './hooks/useSprintInsightsExportControllerCreateExportMutation';
397
397
  export { sprintInsightsExportControllerCreateExport, useSprintInsightsExportControllerCreateExportMutation, } from './hooks/useSprintInsightsExportControllerCreateExportMutation';
398
+ export type { SprintInsightsExportControllerCreateExport_1ErrorResponse, SprintInsightsExportControllerCreateExport_1MutationQueryParams, SprintInsightsExportControllerCreateExport_1OkResponse, SprintInsightsExportControllerCreateExport_1Props, SprintInsightsExportControllerCreateExport_1RequestBody, } from './hooks/useSprintInsightsExportControllerCreateExport_1Mutation';
399
+ export { sprintInsightsExportControllerCreateExport_1, useSprintInsightsExportControllerCreateExport_1Mutation, } from './hooks/useSprintInsightsExportControllerCreateExport_1Mutation';
398
400
  export type { SprintInsightsExportControllerDownloadExportErrorResponse, SprintInsightsExportControllerDownloadExportOkResponse, SprintInsightsExportControllerDownloadExportProps, SprintInsightsExportControllerDownloadExportQueryPathParams, SprintInsightsExportControllerDownloadExportQueryQueryParams, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
399
401
  export { sprintInsightsExportControllerDownloadExport, useSprintInsightsExportControllerDownloadExportQuery, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
402
+ export type { SprintInsightsExportControllerDownloadExport_1ErrorResponse, SprintInsightsExportControllerDownloadExport_1OkResponse, SprintInsightsExportControllerDownloadExport_1Props, SprintInsightsExportControllerDownloadExport_1QueryPathParams, SprintInsightsExportControllerDownloadExport_1QueryQueryParams, } from './hooks/useSprintInsightsExportControllerDownloadExport_1Query';
403
+ export { sprintInsightsExportControllerDownloadExport_1, useSprintInsightsExportControllerDownloadExport_1Query, } from './hooks/useSprintInsightsExportControllerDownloadExport_1Query';
400
404
  export type { SprintInsightsExportControllerGenerateExportSyncErrorResponse, SprintInsightsExportControllerGenerateExportSyncMutationQueryParams, SprintInsightsExportControllerGenerateExportSyncOkResponse, SprintInsightsExportControllerGenerateExportSyncProps, SprintInsightsExportControllerGenerateExportSyncRequestBody, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
401
405
  export { sprintInsightsExportControllerGenerateExportSync, useSprintInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
406
+ export type { SprintInsightsExportControllerGenerateExportSync_1ErrorResponse, SprintInsightsExportControllerGenerateExportSync_1MutationQueryParams, SprintInsightsExportControllerGenerateExportSync_1OkResponse, SprintInsightsExportControllerGenerateExportSync_1Props, SprintInsightsExportControllerGenerateExportSync_1RequestBody, } from './hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation';
407
+ export { sprintInsightsExportControllerGenerateExportSync_1, useSprintInsightsExportControllerGenerateExportSync_1Mutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation';
402
408
  export type { SprintInsightsExportControllerGetExportStatusErrorResponse, SprintInsightsExportControllerGetExportStatusOkResponse, SprintInsightsExportControllerGetExportStatusProps, SprintInsightsExportControllerGetExportStatusQueryPathParams, SprintInsightsExportControllerGetExportStatusQueryQueryParams, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
403
409
  export { sprintInsightsExportControllerGetExportStatus, useSprintInsightsExportControllerGetExportStatusQuery, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
410
+ export type { SprintInsightsExportControllerGetExportStatus_1ErrorResponse, SprintInsightsExportControllerGetExportStatus_1OkResponse, SprintInsightsExportControllerGetExportStatus_1Props, SprintInsightsExportControllerGetExportStatus_1QueryPathParams, SprintInsightsExportControllerGetExportStatus_1QueryQueryParams, } from './hooks/useSprintInsightsExportControllerGetExportStatus_1Query';
411
+ export { sprintInsightsExportControllerGetExportStatus_1, useSprintInsightsExportControllerGetExportStatus_1Query, } from './hooks/useSprintInsightsExportControllerGetExportStatus_1Query';
404
412
  export type { SprintInsightsExportControllerListExportsErrorResponse, SprintInsightsExportControllerListExportsOkResponse, SprintInsightsExportControllerListExportsProps, SprintInsightsExportControllerListExportsQueryQueryParams, } from './hooks/useSprintInsightsExportControllerListExportsQuery';
405
413
  export { sprintInsightsExportControllerListExports, useSprintInsightsExportControllerListExportsQuery, } from './hooks/useSprintInsightsExportControllerListExportsQuery';
414
+ export type { SprintInsightsExportControllerListExports_1ErrorResponse, SprintInsightsExportControllerListExports_1OkResponse, SprintInsightsExportControllerListExports_1Props, SprintInsightsExportControllerListExports_1QueryQueryParams, } from './hooks/useSprintInsightsExportControllerListExports_1Query';
415
+ export { sprintInsightsExportControllerListExports_1, useSprintInsightsExportControllerListExports_1Query, } from './hooks/useSprintInsightsExportControllerListExports_1Query';
406
416
  export type { TeamsControllerAssociateDevelopersToTeamErrorResponse, TeamsControllerAssociateDevelopersToTeamMutationPathParams, TeamsControllerAssociateDevelopersToTeamOkResponse, TeamsControllerAssociateDevelopersToTeamProps, TeamsControllerAssociateDevelopersToTeamRequestBody, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
407
417
  export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
408
418
  export type { TeamsControllerDisassociateDevelopersFromTeamErrorResponse, TeamsControllerDisassociateDevelopersFromTeamMutationPathParams, TeamsControllerDisassociateDevelopersFromTeamOkResponse, TeamsControllerDisassociateDevelopersFromTeamProps, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
@@ -493,6 +503,9 @@ export type { CfrConfigurationDto } from './schemas/CfrConfigurationDto';
493
503
  export type { CloudIdentity } from './schemas/CloudIdentity';
494
504
  export type { CodeChangeStats } from './schemas/CodeChangeStats';
495
505
  export type { CodeChanges } from './schemas/CodeChanges';
506
+ export type { CodeReworkDevelopersDrilldownResponseDataPointV3 } from './schemas/CodeReworkDevelopersDrilldownResponseDataPointV3';
507
+ export type { CodeReworkLocBucket } from './schemas/CodeReworkLocBucket';
508
+ export type { CodeReworkPercentBucket } from './schemas/CodeReworkPercentBucket';
496
509
  export type { CodingDaysDrilldownResponseDataPointV3 } from './schemas/CodingDaysDrilldownResponseDataPointV3';
497
510
  export type { CodingDaysIndividualDrilldownResponseDataPointV3 } from './schemas/CodingDaysIndividualDrilldownResponseDataPointV3';
498
511
  export type { CollectionEnriched } from './schemas/CollectionEnriched';
@@ -511,6 +524,7 @@ export type { DateRange } from './schemas/DateRange';
511
524
  export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
512
525
  export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
513
526
  export type { DeploymentInfo } from './schemas/DeploymentInfo';
527
+ export type { DeveloperAttribute } from './schemas/DeveloperAttribute';
514
528
  export type { DeveloperCloudIdInsertRequest } from './schemas/DeveloperCloudIdInsertRequest';
515
529
  export type { DeveloperCloudIdInsertResponse } from './schemas/DeveloperCloudIdInsertResponse';
516
530
  export type { DeveloperCloudIdMapping } from './schemas/DeveloperCloudIdMapping';
@@ -97,11 +97,6 @@ export { exportControllerForCollectionsExportData, useExportControllerForCollect
97
97
  export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDataMutation, } from './hooks/useExportControllerForTeamsExportDataMutation';
98
98
  export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
99
99
  export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
100
- export { insightsExportControllerCreateExport, useInsightsExportControllerCreateExportMutation, } from './hooks/useInsightsExportControllerCreateExportMutation';
101
- export { insightsExportControllerDownloadExport, useInsightsExportControllerDownloadExportQuery, } from './hooks/useInsightsExportControllerDownloadExportQuery';
102
- export { insightsExportControllerGenerateExportSync, useInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
103
- export { insightsExportControllerGetExportStatus, useInsightsExportControllerGetExportStatusQuery, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
104
- export { insightsExportControllerListExports, useInsightsExportControllerListExportsQuery, } from './hooks/useInsightsExportControllerListExportsQuery';
105
100
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
106
101
  export { integrationControllerGetIntegrationProjects, useIntegrationControllerGetIntegrationProjectsQuery, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
107
102
  export { integrationControllerGetIntegrationRepos, useIntegrationControllerGetIntegrationReposQuery, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
@@ -170,6 +165,11 @@ export { productivityControllerGetFeatureBreakdown, useProductivityControllerGet
170
165
  export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
171
166
  export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
172
167
  export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
168
+ export { productivityInsightsExportControllerCreateExport, useProductivityInsightsExportControllerCreateExportMutation, } from './hooks/useProductivityInsightsExportControllerCreateExportMutation';
169
+ export { productivityInsightsExportControllerDownloadExport, useProductivityInsightsExportControllerDownloadExportQuery, } from './hooks/useProductivityInsightsExportControllerDownloadExportQuery';
170
+ export { productivityInsightsExportControllerGenerateExportSync, useProductivityInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useProductivityInsightsExportControllerGenerateExportSyncMutation';
171
+ export { productivityInsightsExportControllerGetExportStatus, useProductivityInsightsExportControllerGetExportStatusQuery, } from './hooks/useProductivityInsightsExportControllerGetExportStatusQuery';
172
+ export { productivityInsightsExportControllerListExports, useProductivityInsightsExportControllerListExportsQuery, } from './hooks/useProductivityInsightsExportControllerListExportsQuery';
173
173
  export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
174
174
  export { productivityProfileControllerDeleteProfile, useProductivityProfileControllerDeleteProfileMutation, } from './hooks/useProductivityProfileControllerDeleteProfileMutation';
175
175
  export { productivityProfileControllerGetProductivityProfileFilterValues, useProductivityProfileControllerGetProductivityProfileFilterValuesQuery, } from './hooks/useProductivityProfileControllerGetProductivityProfileFilterValuesQuery';
@@ -196,10 +196,15 @@ export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSp
196
196
  export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGetSprintSummaryQuery, } from './hooks/useSprintInsightsControllerGetSprintSummaryQuery';
197
197
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
198
198
  export { sprintInsightsExportControllerCreateExport, useSprintInsightsExportControllerCreateExportMutation, } from './hooks/useSprintInsightsExportControllerCreateExportMutation';
199
+ export { sprintInsightsExportControllerCreateExport_1, useSprintInsightsExportControllerCreateExport_1Mutation, } from './hooks/useSprintInsightsExportControllerCreateExport_1Mutation';
199
200
  export { sprintInsightsExportControllerDownloadExport, useSprintInsightsExportControllerDownloadExportQuery, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
201
+ export { sprintInsightsExportControllerDownloadExport_1, useSprintInsightsExportControllerDownloadExport_1Query, } from './hooks/useSprintInsightsExportControllerDownloadExport_1Query';
200
202
  export { sprintInsightsExportControllerGenerateExportSync, useSprintInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
203
+ export { sprintInsightsExportControllerGenerateExportSync_1, useSprintInsightsExportControllerGenerateExportSync_1Mutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSync_1Mutation';
201
204
  export { sprintInsightsExportControllerGetExportStatus, useSprintInsightsExportControllerGetExportStatusQuery, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
205
+ export { sprintInsightsExportControllerGetExportStatus_1, useSprintInsightsExportControllerGetExportStatus_1Query, } from './hooks/useSprintInsightsExportControllerGetExportStatus_1Query';
202
206
  export { sprintInsightsExportControllerListExports, useSprintInsightsExportControllerListExportsQuery, } from './hooks/useSprintInsightsExportControllerListExportsQuery';
207
+ export { sprintInsightsExportControllerListExports_1, useSprintInsightsExportControllerListExports_1Query, } from './hooks/useSprintInsightsExportControllerListExports_1Query';
203
208
  export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
204
209
  export { teamsControllerDisassociateDevelopersFromTeam, useTeamsControllerDisassociateDevelopersFromTeamMutation, } from './hooks/useTeamsControllerDisassociateDevelopersFromTeamMutation';
205
210
  export { teamsControllerGetDevelopersNotInTeam, useTeamsControllerGetDevelopersNotInTeamQuery, } from './hooks/useTeamsControllerGetDevelopersNotInTeamQuery';
@@ -0,0 +1,12 @@
1
+ import type { CodeChangeStats } from '../schemas/CodeChangeStats';
2
+ import type { CodeReworkLocBucket } from '../schemas/CodeReworkLocBucket';
3
+ import type { CodeReworkPercentBucket } from '../schemas/CodeReworkPercentBucket';
4
+ import type { DrilldownDataPointV3 } from '../schemas/DrilldownDataPointV3';
5
+ export interface CodeReworkDevelopersDrilldownResponseDataPointV3 extends DrilldownDataPointV3 {
6
+ codeChangeStats?: CodeChangeStats;
7
+ codeReworkLocBucket?: CodeReworkLocBucket;
8
+ codeReworkPercentBucket?: CodeReworkPercentBucket;
9
+ contributorId?: string;
10
+ contributorName?: string;
11
+ teamId?: string;
12
+ }
@@ -0,0 +1,14 @@
1
+ export interface CodeReworkLocBucket {
2
+ /**
3
+ * @format int64
4
+ */
5
+ legacyReworkLoc?: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ recentReworkLoc?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ totalReworkLoc?: number;
14
+ }
@@ -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,14 @@
1
+ export interface CodeReworkPercentBucket {
2
+ /**
3
+ * @format double
4
+ */
5
+ percentLegacyRework?: number;
6
+ /**
7
+ * @format double
8
+ */
9
+ percentRecentRework?: number;
10
+ /**
11
+ * @format double
12
+ */
13
+ percentTotalRework?: number;
14
+ }
@@ -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 {};
@@ -1,20 +1,5 @@
1
- /**
2
- * User who created the export
3
- */
4
1
  export interface CreatedBy {
5
- /**
6
- * User email
7
- * @example "john.doe@company.com"
8
- */
9
2
  email?: string;
10
- /**
11
- * User name
12
- * @example "John Doe"
13
- */
14
3
  name?: string;
15
- /**
16
- * User ID
17
- * @example "user_123"
18
- */
19
4
  userId?: string;
20
5
  }
@@ -1,15 +1,4 @@
1
- /**
2
- * Date range
3
- */
4
1
  export interface DateRange {
5
- /**
6
- * End date
7
- * @example "2024-12-31"
8
- */
9
2
  end?: string;
10
- /**
11
- * Start date
12
- * @example "2024-01-01"
13
- */
14
3
  start?: string;
15
4
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Developer attribute key-value pair
3
+ */
4
+ export interface DeveloperAttribute {
5
+ /**
6
+ * Attribute key
7
+ * @example "role"
8
+ */
9
+ key?: string;
10
+ /**
11
+ * Attribute values
12
+ * @example ["senior","lead"]
13
+ */
14
+ value?: string[];
15
+ }
@@ -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 {};
@@ -1,8 +1,9 @@
1
+ import type { CodeReworkDevelopersDrilldownResponseDataPointV3 } from '../schemas/CodeReworkDevelopersDrilldownResponseDataPointV3';
1
2
  import type { CodingDaysDrilldownResponseDataPointV3 } from '../schemas/CodingDaysDrilldownResponseDataPointV3';
2
3
  import type { PrCycleTimeDrilldownResponseDataPointV3 } from '../schemas/PrCycleTimeDrilldownResponseDataPointV3';
3
4
  import type { PrVelocityDrilldownResponseDataPointV3 } from '../schemas/PrVelocityDrilldownResponseDataPointV3';
4
5
  import type { WorkCompletedDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedDrilldownResponseDataPointV3';
5
6
  export interface DrilldownDataV3 {
6
- drilldownDataPoints?: Array<CodingDaysDrilldownResponseDataPointV3 & PrCycleTimeDrilldownResponseDataPointV3 & PrVelocityDrilldownResponseDataPointV3 & WorkCompletedDrilldownResponseDataPointV3>;
7
+ drilldownDataPoints?: Array<CodeReworkDevelopersDrilldownResponseDataPointV3 & CodingDaysDrilldownResponseDataPointV3 & PrCycleTimeDrilldownResponseDataPointV3 & PrVelocityDrilldownResponseDataPointV3 & WorkCompletedDrilldownResponseDataPointV3>;
7
8
  metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
8
9
  }
@@ -1,28 +1,4 @@
1
- /**
2
- * Error information
3
- */
4
1
  export interface ErrorInfo {
5
- /**
6
- * Error code
7
- * @example "EXPORT_GENERATION_FAILED"
8
- */
9
2
  code?: string;
10
- /**
11
- * Additional error details
12
- */
13
- details?: {
14
- [key: string]: {
15
- [key: string]: any;
16
- };
17
- };
18
- /**
19
- * Error message
20
- * @example "Failed to generate export"
21
- */
22
3
  message?: string;
23
- /**
24
- * Error timestamp (ISO 8601)
25
- * @example "2025-12-29T10:01:30Z"
26
- */
27
- timestamp?: string;
28
4
  }
@@ -1,45 +1,19 @@
1
1
  import type { CreatedBy } from '../schemas/CreatedBy';
2
2
  import type { Metadata } from '../schemas/Metadata';
3
3
  import type { Scope } from '../schemas/Scope';
4
- /**
5
- * Export item
6
- */
7
4
  export interface ExportItem {
8
5
  /**
9
- * Completion timestamp (ISO 8601)
10
- * @example "2025-12-29T10:02:15Z"
6
+ * @format date-time
11
7
  */
12
8
  completedAt?: string;
13
9
  /**
14
- * Creation timestamp (ISO 8601)
15
- * @example "2025-12-29T10:00:00Z"
10
+ * @format date-time
16
11
  */
17
12
  createdAt?: string;
18
- /**
19
- * User who created the export
20
- */
21
13
  createdBy?: CreatedBy;
22
- /**
23
- * Download URL (only for completed exports)
24
- * @example "/v2/insights/productivity/exports/exp_7a8b9c0d/download"
25
- */
26
14
  downloadUrl?: string;
27
- /**
28
- * Unique export identifier
29
- * @example "exp_7a8b9c0d"
30
- */
31
15
  exportId?: string;
32
- /**
33
- * Export metadata
34
- */
35
16
  metadata?: Metadata;
36
- /**
37
- * Export scope
38
- */
39
17
  scope?: Scope;
40
- /**
41
- * Export status
42
- * @example "completed"
43
- */
44
18
  status?: string;
45
19
  }
@@ -1,8 +1,39 @@
1
+ import type { DeveloperAttribute } from '../schemas/DeveloperAttribute';
2
+ /**
3
+ * Scope definition for filtering data
4
+ */
1
5
  export interface ExportScope {
6
+ /**
7
+ * Developer attributes for filtering (optional)
8
+ */
9
+ developerAttributes?: DeveloperAttribute[];
10
+ /**
11
+ * Specific developer IDs to export (optional)
12
+ */
13
+ developerIds?: string[];
14
+ /**
15
+ * Manager email ID (optional)
16
+ * @example "manager@company.com"
17
+ */
2
18
  managerEmailId?: string;
19
+ /**
20
+ * Organization identifier
21
+ * @example "default"
22
+ */
3
23
  orgIdentifier?: string;
24
+ /**
25
+ * Organization tree name
26
+ * @example "Engineering Org"
27
+ */
4
28
  orgTreeName?: string;
29
+ /**
30
+ * Project identifier
31
+ * @example "my_project"
32
+ */
5
33
  projectIdentifier?: string;
6
- sprintIds?: string[];
34
+ /**
35
+ * Team identifier (optional)
36
+ * @example "team_456"
37
+ */
7
38
  teamId?: string;
8
39
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,19 +1,7 @@
1
1
  import type { DateRange } from '../schemas/DateRange';
2
2
  import type { Options } from '../schemas/Options';
3
- /**
4
- * Export metadata
5
- */
6
3
  export interface Metadata {
7
- /**
8
- * Date range
9
- */
10
4
  dateRange?: DateRange;
11
- /**
12
- * Metrics included in export
13
- */
14
5
  metrics?: string[];
15
- /**
16
- * Export options
17
- */
18
6
  options?: Options;
19
7
  }
@@ -1,30 +1,4 @@
1
- /**
2
- * Export options
3
- */
4
1
  export interface Options {
5
- /**
6
- * Aggregation method
7
- * @example "mean"
8
- */
9
- aggregation?: string;
10
- /**
11
- * Compression type
12
- * @example "gzip"
13
- */
14
- compression?: string;
15
- /**
16
- * Export format
17
- * @example "csv"
18
- */
19
- format?: string;
20
- /**
21
- * Time granularity
22
- * @example "monthly"
23
- */
24
2
  granularity?: string;
25
- /**
26
- * Metric level
27
- * @example "developer"
28
- */
29
3
  metricLevel?: string;
30
4
  }
@@ -1,34 +1,19 @@
1
- /**
2
- * Pagination information
3
- */
4
1
  export interface Pagination {
5
- /**
6
- * Whether more pages are available
7
- * @example true
8
- */
9
2
  hasMore?: boolean;
10
3
  /**
11
- * Results per page
12
4
  * @format int32
13
- * @example 50
14
5
  */
15
6
  limit?: number;
16
7
  /**
17
- * Current page (0-based)
18
8
  * @format int32
19
- * @example 0
20
9
  */
21
10
  page?: number;
22
11
  /**
23
- * Total number of exports
24
12
  * @format int64
25
- * @example 87
26
13
  */
27
14
  total?: number;
28
15
  /**
29
- * Total number of pages
30
16
  * @format int32
31
- * @example 2
32
17
  */
33
18
  totalPages?: number;
34
19
  }
@@ -1,25 +1,5 @@
1
- /**
2
- * Export scope
3
- */
4
1
  export interface Scope {
5
- /**
6
- * Organization ID
7
- * @example "org_abc123"
8
- */
9
- orgId?: string;
10
- /**
11
- * Organization name
12
- * @example "Engineering Org"
13
- */
14
- orgName?: string;
15
- /**
16
- * Team ID
17
- * @example "team_456"
18
- */
2
+ orgTreeName?: string;
19
3
  teamId?: string;
20
- /**
21
- * Team name
22
- * @example "Platform Team"
23
- */
24
4
  teamName?: string;
25
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
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",
@@ -1,22 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { MetricsExportResponseDto } from '../schemas/MetricsExportResponseDto';
3
- import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface InsightsExportControllerCreateExportMutationQueryParams {
7
- routingId: string;
8
- projectIdentifier?: string;
9
- orgIdentifier?: string;
10
- }
11
- export type InsightsExportControllerCreateExportRequestBody = MetricsExportRequestDto;
12
- export type InsightsExportControllerCreateExportOkResponse = ResponseWithPagination<MetricsExportResponseDto>;
13
- export type InsightsExportControllerCreateExportErrorResponse = unknown;
14
- export interface InsightsExportControllerCreateExportProps extends Omit<FetcherOptions<InsightsExportControllerCreateExportMutationQueryParams, InsightsExportControllerCreateExportRequestBody>, 'url'> {
15
- queryParams: InsightsExportControllerCreateExportMutationQueryParams;
16
- body: InsightsExportControllerCreateExportRequestBody;
17
- }
18
- export declare function insightsExportControllerCreateExport(props: InsightsExportControllerCreateExportProps): Promise<InsightsExportControllerCreateExportOkResponse>;
19
- /**
20
- * Creates a new export job for developer productivity metrics. If an identical export was requested recently (within 30 minutes), the existing export will be reused and returned with 200 OK status.
21
- */
22
- export declare function useInsightsExportControllerCreateExportMutation(options?: Omit<UseMutationOptions<InsightsExportControllerCreateExportOkResponse, InsightsExportControllerCreateExportErrorResponse, InsightsExportControllerCreateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightsExportControllerCreateExportOkResponse, unknown, InsightsExportControllerCreateExportProps, unknown>;
@@ -1,19 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ResponseWithPagination } from '../helpers';
3
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
- export interface InsightsExportControllerDownloadExportQueryPathParams {
5
- exportId: string;
6
- }
7
- export interface InsightsExportControllerDownloadExportQueryQueryParams {
8
- routingId: string;
9
- }
10
- export type InsightsExportControllerDownloadExportOkResponse = ResponseWithPagination<unknown>;
11
- export type InsightsExportControllerDownloadExportErrorResponse = unknown;
12
- export interface InsightsExportControllerDownloadExportProps extends InsightsExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<InsightsExportControllerDownloadExportQueryQueryParams, unknown>, 'url'> {
13
- queryParams: InsightsExportControllerDownloadExportQueryQueryParams;
14
- }
15
- export declare function insightsExportControllerDownloadExport(props: InsightsExportControllerDownloadExportProps): Promise<InsightsExportControllerDownloadExportOkResponse>;
16
- /**
17
- * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
18
- */
19
- export declare function useInsightsExportControllerDownloadExportQuery(props: InsightsExportControllerDownloadExportProps, options?: Omit<UseQueryOptions<InsightsExportControllerDownloadExportOkResponse, InsightsExportControllerDownloadExportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<InsightsExportControllerDownloadExportOkResponse, unknown>;
@@ -1,21 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export interface InsightsExportControllerGenerateExportSyncMutationQueryParams {
6
- routingId: string;
7
- projectIdentifier?: string;
8
- orgIdentifier?: string;
9
- }
10
- export type InsightsExportControllerGenerateExportSyncRequestBody = MetricsExportRequestDto;
11
- export type InsightsExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<unknown>;
12
- export type InsightsExportControllerGenerateExportSyncErrorResponse = unknown;
13
- export interface InsightsExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<InsightsExportControllerGenerateExportSyncMutationQueryParams, InsightsExportControllerGenerateExportSyncRequestBody>, 'url'> {
14
- queryParams: InsightsExportControllerGenerateExportSyncMutationQueryParams;
15
- body: InsightsExportControllerGenerateExportSyncRequestBody;
16
- }
17
- export declare function insightsExportControllerGenerateExportSync(props: InsightsExportControllerGenerateExportSyncProps): Promise<InsightsExportControllerGenerateExportSyncOkResponse>;
18
- /**
19
- * Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
- */
21
- export declare function useInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<InsightsExportControllerGenerateExportSyncOkResponse, InsightsExportControllerGenerateExportSyncErrorResponse, InsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightsExportControllerGenerateExportSyncOkResponse, unknown, InsightsExportControllerGenerateExportSyncProps, unknown>;
@@ -1,20 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { MetricsExportResponseDto } from '../schemas/MetricsExportResponseDto';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export interface InsightsExportControllerGetExportStatusQueryPathParams {
6
- exportId: string;
7
- }
8
- export interface InsightsExportControllerGetExportStatusQueryQueryParams {
9
- routingId: string;
10
- }
11
- export type InsightsExportControllerGetExportStatusOkResponse = ResponseWithPagination<MetricsExportResponseDto>;
12
- export type InsightsExportControllerGetExportStatusErrorResponse = unknown;
13
- export interface InsightsExportControllerGetExportStatusProps extends InsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<InsightsExportControllerGetExportStatusQueryQueryParams, unknown>, 'url'> {
14
- queryParams: InsightsExportControllerGetExportStatusQueryQueryParams;
15
- }
16
- export declare function insightsExportControllerGetExportStatus(props: InsightsExportControllerGetExportStatusProps): Promise<InsightsExportControllerGetExportStatusOkResponse>;
17
- /**
18
- * Retrieves the current status of an export job. If the export is completed, includes download information.
19
- */
20
- export declare function useInsightsExportControllerGetExportStatusQuery(props: InsightsExportControllerGetExportStatusProps, options?: Omit<UseQueryOptions<InsightsExportControllerGetExportStatusOkResponse, InsightsExportControllerGetExportStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<InsightsExportControllerGetExportStatusOkResponse, unknown>;
@@ -1,50 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { MetricsExportListResponseDto } from '../schemas/MetricsExportListResponseDto';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export interface InsightsExportControllerListExportsQueryQueryParams {
6
- routingId: string;
7
- status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
8
- /**
9
- * @default "all"
10
- */
11
- scope?: string;
12
- teamId?: string;
13
- createdBy?: string;
14
- /**
15
- * @format date-time
16
- */
17
- dateFrom?: string;
18
- /**
19
- * @format date-time
20
- */
21
- dateTo?: string;
22
- /**
23
- * @format int32
24
- * @default 50
25
- */
26
- limit?: number;
27
- /**
28
- * @format int32
29
- * @default 0
30
- */
31
- page?: number;
32
- /**
33
- * @default "createdAt"
34
- */
35
- sortBy?: string;
36
- /**
37
- * @default "desc"
38
- */
39
- sortOrder?: string;
40
- }
41
- export type InsightsExportControllerListExportsOkResponse = ResponseWithPagination<MetricsExportListResponseDto>;
42
- export type InsightsExportControllerListExportsErrorResponse = unknown;
43
- export interface InsightsExportControllerListExportsProps extends Omit<FetcherOptions<InsightsExportControllerListExportsQueryQueryParams, unknown>, 'url'> {
44
- queryParams: InsightsExportControllerListExportsQueryQueryParams;
45
- }
46
- export declare function insightsExportControllerListExports(props: InsightsExportControllerListExportsProps): Promise<InsightsExportControllerListExportsOkResponse>;
47
- /**
48
- * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
49
- */
50
- export declare function useInsightsExportControllerListExportsQuery(props: InsightsExportControllerListExportsProps, options?: Omit<UseQueryOptions<InsightsExportControllerListExportsOkResponse, InsightsExportControllerListExportsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<InsightsExportControllerListExportsOkResponse, unknown>;