@harnessio/react-sei-panorama-service-client 0.24.1 → 0.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerDownloadExportQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerDownloadExportQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerGetJobStatusQuery.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerGetJobStatusQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerInitiateExportMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerInitiateExportMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerListJobsQuery.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerListJobsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +15 -1
- package/dist/sei-panorama-service/src/services/index.js +6 -0
- package/dist/sei-panorama-service/src/services/schemas/ActivityDataDto.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/CloudIdentity.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/schemas/CloudIdentity.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ExportJobDto.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/schemas/ExportJobDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ExportRequestDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureBreakdownResponseDataPoint.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/SprintDrilldownRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/SprintInfoDto.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/SprintTicketsResponseDto.d.ts +0 -2
- package/dist/sei-panorama-service/src/services/schemas/SprintWorkBreakdownDto.d.ts +0 -4
- package/dist/sei-panorama-service/src/services/schemas/TeamDeveloperDto.d.ts +44 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamDeveloperSearchParams.d.ts +9 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +13 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/schemas/SprintTicketsMetadataDto.d.ts +0 -5
- /package/dist/sei-panorama-service/src/services/schemas/{SprintTicketsMetadataDto.js → TeamDeveloperDto.js} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface AsyncExportControllerDownloadExportQueryPathParams {
|
|
5
|
+
/**
|
|
6
|
+
* @format uuid
|
|
7
|
+
*/
|
|
8
|
+
jobId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AsyncExportControllerDownloadExportQueryQueryParams {
|
|
11
|
+
accountId: string;
|
|
12
|
+
}
|
|
13
|
+
export type AsyncExportControllerDownloadExportOkResponse = ResponseWithPagination<unknown>;
|
|
14
|
+
export type AsyncExportControllerDownloadExportErrorResponse = string;
|
|
15
|
+
export interface AsyncExportControllerDownloadExportProps extends AsyncExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<AsyncExportControllerDownloadExportQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: AsyncExportControllerDownloadExportQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function asyncExportControllerDownloadExport(props: AsyncExportControllerDownloadExportProps): Promise<AsyncExportControllerDownloadExportOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the CSV file for a completed export job.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useAsyncExportControllerDownloadExportQuery(props: AsyncExportControllerDownloadExportProps, options?: Omit<UseQueryOptions<AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AsyncExportControllerDownloadExportOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerDownloadExportQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function asyncExportControllerDownloadExport(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/async-exports/${props.jobId}/download`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the CSV file for a completed export job.
|
|
11
|
+
*/
|
|
12
|
+
export function useAsyncExportControllerDownloadExportQuery(props, options) {
|
|
13
|
+
return useQuery(['AsyncExportControllerDownloadExport', props.jobId, props.queryParams], ({ signal }) => asyncExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerGetJobStatusQuery.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExportJobDto } from '../schemas/ExportJobDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AsyncExportControllerGetJobStatusQueryPathParams {
|
|
6
|
+
/**
|
|
7
|
+
* @format uuid
|
|
8
|
+
*/
|
|
9
|
+
jobId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface AsyncExportControllerGetJobStatusQueryQueryParams {
|
|
12
|
+
accountId: string;
|
|
13
|
+
}
|
|
14
|
+
export type AsyncExportControllerGetJobStatusOkResponse = ResponseWithPagination<ExportJobDto>;
|
|
15
|
+
export type AsyncExportControllerGetJobStatusErrorResponse = string;
|
|
16
|
+
export interface AsyncExportControllerGetJobStatusProps extends AsyncExportControllerGetJobStatusQueryPathParams, Omit<FetcherOptions<AsyncExportControllerGetJobStatusQueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: AsyncExportControllerGetJobStatusQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function asyncExportControllerGetJobStatus(props: AsyncExportControllerGetJobStatusProps): Promise<AsyncExportControllerGetJobStatusOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the current status of an export job. When complete, includes the GCS path to the exported file.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useAsyncExportControllerGetJobStatusQuery(props: AsyncExportControllerGetJobStatusProps, options?: Omit<UseQueryOptions<AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AsyncExportControllerGetJobStatusOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerGetJobStatusQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function asyncExportControllerGetJobStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/async-exports/${props.jobId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the current status of an export job. When complete, includes the GCS path to the exported file.
|
|
11
|
+
*/
|
|
12
|
+
export function useAsyncExportControllerGetJobStatusQuery(props, options) {
|
|
13
|
+
return useQuery(['AsyncExportControllerGetJobStatus', props.jobId, props.queryParams], ({ signal }) => asyncExportControllerGetJobStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExportJobDto } from '../schemas/ExportJobDto';
|
|
3
|
+
import type { ExportRequestDto } from '../schemas/ExportRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface AsyncExportControllerInitiateExportMutationQueryParams {
|
|
7
|
+
accountId: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
}
|
|
11
|
+
export type AsyncExportControllerInitiateExportRequestBody = ExportRequestDto;
|
|
12
|
+
export type AsyncExportControllerInitiateExportOkResponse = ResponseWithPagination<ExportJobDto>;
|
|
13
|
+
export type AsyncExportControllerInitiateExportErrorResponse = string;
|
|
14
|
+
export interface AsyncExportControllerInitiateExportProps extends Omit<FetcherOptions<AsyncExportControllerInitiateExportMutationQueryParams, AsyncExportControllerInitiateExportRequestBody>, 'url'> {
|
|
15
|
+
queryParams: AsyncExportControllerInitiateExportMutationQueryParams;
|
|
16
|
+
body: AsyncExportControllerInitiateExportRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function asyncExportControllerInitiateExport(props: AsyncExportControllerInitiateExportProps): Promise<AsyncExportControllerInitiateExportOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Starts a background job to generate a CSV export based on provided parameters. Returns a job ID that can be used to check export status.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useAsyncExportControllerInitiateExportMutation(options?: Omit<UseMutationOptions<AsyncExportControllerInitiateExportOkResponse, AsyncExportControllerInitiateExportErrorResponse, AsyncExportControllerInitiateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AsyncExportControllerInitiateExportOkResponse, string, AsyncExportControllerInitiateExportProps, 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 asyncExportControllerInitiateExport(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/async-exports`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Starts a background job to generate a CSV export based on provided parameters. Returns a job ID that can be used to check export status.
|
|
11
|
+
*/
|
|
12
|
+
export function useAsyncExportControllerInitiateExportMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => asyncExportControllerInitiateExport(mutateProps), options);
|
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useAsyncExportControllerListJobsQuery.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExportJobDto } from '../schemas/ExportJobDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AsyncExportControllerListJobsQueryQueryParams {
|
|
6
|
+
accountId: string;
|
|
7
|
+
projectIdentifier?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @format int32
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
page?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
* @default 20
|
|
16
|
+
*/
|
|
17
|
+
size?: number;
|
|
18
|
+
}
|
|
19
|
+
export type AsyncExportControllerListJobsOkResponse = ResponseWithPagination<ExportJobDto[]>;
|
|
20
|
+
export type AsyncExportControllerListJobsErrorResponse = string;
|
|
21
|
+
export interface AsyncExportControllerListJobsProps extends Omit<FetcherOptions<AsyncExportControllerListJobsQueryQueryParams, unknown>, 'url'> {
|
|
22
|
+
queryParams: AsyncExportControllerListJobsQueryQueryParams;
|
|
23
|
+
}
|
|
24
|
+
export declare function asyncExportControllerListJobs(props: AsyncExportControllerListJobsProps): Promise<AsyncExportControllerListJobsOkResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a paginated list of export jobs for the specified account in descending order by creation time.
|
|
27
|
+
*/
|
|
28
|
+
export declare function useAsyncExportControllerListJobsQuery(props: AsyncExportControllerListJobsProps, options?: Omit<UseQueryOptions<AsyncExportControllerListJobsOkResponse, AsyncExportControllerListJobsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AsyncExportControllerListJobsOkResponse, string>;
|
|
@@ -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 asyncExportControllerListJobs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/async-exports`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a paginated list of export jobs for the specified account in descending order by creation time.
|
|
11
|
+
*/
|
|
12
|
+
export function useAsyncExportControllerListJobsQuery(props, options) {
|
|
13
|
+
return useQuery(['AsyncExportControllerListJobs', props.queryParams], ({ signal }) => asyncExportControllerListJobs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
3
|
+
import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
}
|
|
9
|
+
export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody = ScmStatsRequest;
|
|
10
|
+
export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
11
|
+
export type IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse = IntegrationStatsDto[];
|
|
12
|
+
export interface IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody>, 'url'> {
|
|
13
|
+
queryParams: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams;
|
|
14
|
+
body: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function integrationStatsControllerGetCicdJobRunsCountWithDateRange(props: IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps): Promise<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get CICD job runs counts with optional daily breakdown
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps, 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 integrationStatsControllerGetCicdJobRunsCountWithDateRange(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/job_runs`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get CICD job runs counts with optional daily breakdown
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => integrationStatsControllerGetCicdJobRunsCountWithDateRange(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
3
|
+
import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
}
|
|
9
|
+
export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody = ScmStatsRequest;
|
|
10
|
+
export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
11
|
+
export type IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse = IntegrationStatsDto[];
|
|
12
|
+
export interface IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps extends Omit<FetcherOptions<IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody>, 'url'> {
|
|
13
|
+
queryParams: IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams;
|
|
14
|
+
body: IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function integrationStatsControllerGetCicdJobsCountWithDateRange(props: IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps): Promise<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get CICD job counts with optional daily breakdown
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps, 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 integrationStatsControllerGetCicdJobsCountWithDateRange(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/cicd/jobs`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get CICD job counts with optional daily breakdown
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => integrationStatsControllerGetCicdJobsCountWithDateRange(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
3
|
+
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
4
|
+
export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
5
|
+
export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
6
|
+
export type { AsyncExportControllerInitiateExportErrorResponse, AsyncExportControllerInitiateExportMutationQueryParams, AsyncExportControllerInitiateExportOkResponse, AsyncExportControllerInitiateExportProps, AsyncExportControllerInitiateExportRequestBody, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
7
|
+
export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
8
|
+
export type { AsyncExportControllerListJobsErrorResponse, AsyncExportControllerListJobsOkResponse, AsyncExportControllerListJobsProps, AsyncExportControllerListJobsQueryQueryParams, } from './hooks/useAsyncExportControllerListJobsQuery';
|
|
9
|
+
export { asyncExportControllerListJobs, useAsyncExportControllerListJobsQuery, } from './hooks/useAsyncExportControllerListJobsQuery';
|
|
2
10
|
export type { BaControllerCreateProfileErrorResponse, BaControllerCreateProfileMutationQueryParams, BaControllerCreateProfileOkResponse, BaControllerCreateProfileProps, BaControllerCreateProfileRequestBody, } from './hooks/useBaControllerCreateProfileMutation';
|
|
3
11
|
export { baControllerCreateProfile, useBaControllerCreateProfileMutation, } from './hooks/useBaControllerCreateProfileMutation';
|
|
4
12
|
export type { BaControllerCreateTeamWithFiltersErrorResponse, BaControllerCreateTeamWithFiltersMutationQueryParams, BaControllerCreateTeamWithFiltersOkResponse, BaControllerCreateTeamWithFiltersProps, BaControllerCreateTeamWithFiltersRequestBody, } from './hooks/useBaControllerCreateTeamWithFiltersMutation';
|
|
@@ -171,8 +179,12 @@ export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationCon
|
|
|
171
179
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
172
180
|
export type { IntegrationDataStatusControllerGetIntegrationDataStatusErrorResponse, IntegrationDataStatusControllerGetIntegrationDataStatusMutationQueryParams, IntegrationDataStatusControllerGetIntegrationDataStatusOkResponse, IntegrationDataStatusControllerGetIntegrationDataStatusProps, IntegrationDataStatusControllerGetIntegrationDataStatusRequestBody, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
173
181
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
182
|
+
export type { IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeProps, IntegrationStatsControllerGetCicdJobRunsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
|
|
183
|
+
export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
|
|
174
184
|
export type { IntegrationStatsControllerGetCicdJobsCountErrorResponse, IntegrationStatsControllerGetCicdJobsCountOkResponse, IntegrationStatsControllerGetCicdJobsCountProps, IntegrationStatsControllerGetCicdJobsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
|
|
175
185
|
export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControllerGetCicdJobsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
|
|
186
|
+
export type { IntegrationStatsControllerGetCicdJobsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetCicdJobsCountWithDateRangeOkResponse, IntegrationStatsControllerGetCicdJobsCountWithDateRangeProps, IntegrationStatsControllerGetCicdJobsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
|
|
187
|
+
export { integrationStatsControllerGetCicdJobsCountWithDateRange, useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
|
|
176
188
|
export type { IntegrationStatsControllerGetCicdPipelinesCountErrorResponse, IntegrationStatsControllerGetCicdPipelinesCountOkResponse, IntegrationStatsControllerGetCicdPipelinesCountProps, IntegrationStatsControllerGetCicdPipelinesCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
|
|
177
189
|
export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
|
|
178
190
|
export type { IntegrationStatsControllerGetImProjectsCountErrorResponse, IntegrationStatsControllerGetImProjectsCountOkResponse, IntegrationStatsControllerGetImProjectsCountProps, IntegrationStatsControllerGetImProjectsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
|
|
@@ -355,6 +367,7 @@ export type { BreakdownRecord } from './schemas/BreakdownRecord';
|
|
|
355
367
|
export type { BuildInfo } from './schemas/BuildInfo';
|
|
356
368
|
export type { Category } from './schemas/Category';
|
|
357
369
|
export type { CfrConfigurationDto } from './schemas/CfrConfigurationDto';
|
|
370
|
+
export type { CloudIdentity } from './schemas/CloudIdentity';
|
|
358
371
|
export type { CodeChangeStats } from './schemas/CodeChangeStats';
|
|
359
372
|
export type { CodeChanges } from './schemas/CodeChanges';
|
|
360
373
|
export type { CodingDaysDrilldownResponseDataPointV3 } from './schemas/CodingDaysDrilldownResponseDataPointV3';
|
|
@@ -432,6 +445,7 @@ export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
|
|
|
432
445
|
export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
|
433
446
|
export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryRequest';
|
|
434
447
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
|
448
|
+
export type { ExportJobDto } from './schemas/ExportJobDto';
|
|
435
449
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
|
436
450
|
export type { FeatureDto } from './schemas/FeatureDto';
|
|
437
451
|
export type { FilterByField } from './schemas/FilterByField';
|
|
@@ -564,7 +578,6 @@ export type { SprintSummaryMeticDto } from './schemas/SprintSummaryMeticDto';
|
|
|
564
578
|
export type { SprintSummaryResponseDto } from './schemas/SprintSummaryResponseDto';
|
|
565
579
|
export type { SprintTicketDto } from './schemas/SprintTicketDto';
|
|
566
580
|
export type { SprintTicketEstimatesDto } from './schemas/SprintTicketEstimatesDto';
|
|
567
|
-
export type { SprintTicketsMetadataDto } from './schemas/SprintTicketsMetadataDto';
|
|
568
581
|
export type { SprintTicketsRequestDto } from './schemas/SprintTicketsRequestDto';
|
|
569
582
|
export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDto';
|
|
570
583
|
export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
|
|
@@ -573,6 +586,7 @@ export type { SummaryCard } from './schemas/SummaryCard';
|
|
|
573
586
|
export type { SummaryValue } from './schemas/SummaryValue';
|
|
574
587
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
|
575
588
|
export type { TeamAccessDto } from './schemas/TeamAccessDto';
|
|
589
|
+
export type { TeamDeveloperDto } from './schemas/TeamDeveloperDto';
|
|
576
590
|
export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
|
|
577
591
|
export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
|
|
578
592
|
export type { TeamFilter } from './schemas/TeamFilter';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
2
|
+
export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
3
|
+
export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
4
|
+
export { asyncExportControllerListJobs, useAsyncExportControllerListJobsQuery, } from './hooks/useAsyncExportControllerListJobsQuery';
|
|
1
5
|
export { baControllerCreateProfile, useBaControllerCreateProfileMutation, } from './hooks/useBaControllerCreateProfileMutation';
|
|
2
6
|
export { baControllerCreateTeamWithFilters, useBaControllerCreateTeamWithFiltersMutation, } from './hooks/useBaControllerCreateTeamWithFiltersMutation';
|
|
3
7
|
export { baControllerDeleteProfile, useBaControllerDeleteProfileMutation, } from './hooks/useBaControllerDeleteProfileMutation';
|
|
@@ -84,7 +88,9 @@ export { integrationControllerGetFilterValues, useIntegrationControllerGetFilter
|
|
|
84
88
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
85
89
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
86
90
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
91
|
+
export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
|
|
87
92
|
export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControllerGetCicdJobsCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountQuery';
|
|
93
|
+
export { integrationStatsControllerGetCicdJobsCountWithDateRange, useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobsCountWithDateRangeMutation';
|
|
88
94
|
export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
|
|
89
95
|
export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
|
|
90
96
|
export { integrationStatsControllerGetImProjectsCountWithDateRange, useIntegrationStatsControllerGetImProjectsCountWithDateRangeQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountWithDateRangeQuery';
|
|
@@ -10,7 +10,7 @@ export interface DeveloperValidationErrorDto {
|
|
|
10
10
|
/**
|
|
11
11
|
* Type of validation error
|
|
12
12
|
*/
|
|
13
|
-
errorType?: 'BLANK_CSV_COLUMN_NAME' | 'CIRCULAR_REFERENCE' | 'DUPLICATE_EMAIL' | 'DUPLICATE_FIELD_TYPE' | 'EMPTY_CSV' | 'INVALID_CSV' | 'MANAGER_EMAIL_MISSING_IN_DEVELOPER_EMAILS' | 'MISSING_NAME_OR_EMAIL_OR_MANAGER_EMAIL_FIELD_MAPPING' | 'REQUIRED_FIELD_MISSING' | 'REQUIRED_VALUE_MISSING';
|
|
13
|
+
errorType?: 'BLANK_CSV_COLUMN_NAME' | 'CIRCULAR_REFERENCE' | 'DUPLICATE_EMAIL' | 'DUPLICATE_FIELD_TYPE' | 'EMPTY_CSV' | 'INVALID_CSV' | 'MANAGER_EMAIL_MISSING_IN_DEVELOPER_EMAILS' | 'MISSING_NAME_OR_EMAIL_OR_MANAGER_EMAIL_FIELD_MAPPING' | 'NAME_CONFLICT_FOR_EMAIL' | 'REQUIRED_FIELD_MISSING' | 'REQUIRED_VALUE_MISSING';
|
|
14
14
|
fieldName?: string;
|
|
15
15
|
/**
|
|
16
16
|
* Sample records with this error
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface ExportJobDto {
|
|
2
|
+
collectionId?: string;
|
|
3
|
+
/**
|
|
4
|
+
* @format date-time
|
|
5
|
+
*/
|
|
6
|
+
completedAt?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
endDate?: string;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
filePath?: string;
|
|
18
|
+
granularity?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @format uuid
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
orgId?: string;
|
|
25
|
+
projectId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @format date-time
|
|
28
|
+
*/
|
|
29
|
+
startDate?: string;
|
|
30
|
+
status?: string;
|
|
31
|
+
teamId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @format date-time
|
|
34
|
+
*/
|
|
35
|
+
updatedAt?: string;
|
|
36
|
+
}
|
|
@@ -11,10 +11,12 @@ export interface ExportRequestDto {
|
|
|
11
11
|
* @format date-time
|
|
12
12
|
*/
|
|
13
13
|
dateStart: string;
|
|
14
|
+
description?: string;
|
|
14
15
|
efficiency?: EfficiencyRequestDto;
|
|
15
16
|
granularity?: string;
|
|
16
17
|
includeChildrens?: boolean;
|
|
17
18
|
includeRatings?: boolean;
|
|
19
|
+
name?: string;
|
|
18
20
|
productivity?: ProductivityRequestDto;
|
|
19
21
|
productivityContributors?: ProductivityContributorRequestDto;
|
|
20
22
|
}
|
|
@@ -13,7 +13,7 @@ export interface OrgTreeCreateRequestDto {
|
|
|
13
13
|
/**
|
|
14
14
|
* List of fields to group by when creating the organization tree
|
|
15
15
|
*/
|
|
16
|
-
groupByFields
|
|
16
|
+
groupByFields: GroupByField[];
|
|
17
17
|
/**
|
|
18
18
|
* List of integration IDs to associate with this org tree
|
|
19
19
|
*/
|
|
@@ -5,7 +5,7 @@ export interface ProductivityDataPoint {
|
|
|
5
5
|
*/
|
|
6
6
|
endDate?: string;
|
|
7
7
|
granularDataPoints?: ProductivityDataPoint[];
|
|
8
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
8
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
9
9
|
stacks?: {
|
|
10
10
|
[key: string]: number;
|
|
11
11
|
};
|
|
@@ -9,7 +9,7 @@ export interface ProductivityFeatureBreakdownResponseDataPoint {
|
|
|
9
9
|
* @format date-time
|
|
10
10
|
*/
|
|
11
11
|
endDate?: string;
|
|
12
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
12
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
13
13
|
stacks?: {
|
|
14
14
|
[key: string]: number;
|
|
15
15
|
};
|
|
@@ -8,7 +8,7 @@ export interface ProductivityFeatureRequestDto {
|
|
|
8
8
|
* @format date-time
|
|
9
9
|
*/
|
|
10
10
|
endDate?: string;
|
|
11
|
-
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
11
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
12
12
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
|
13
13
|
/**
|
|
14
14
|
* @format int32
|
|
@@ -20,7 +20,7 @@ export interface ProductivityFeatureRequestDto {
|
|
|
20
20
|
page_size?: number;
|
|
21
21
|
sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
|
|
22
22
|
sortByCriteria?: 'ASC' | 'DESC';
|
|
23
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
23
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
24
24
|
/**
|
|
25
25
|
* @format date-time
|
|
26
26
|
*/
|
|
@@ -6,11 +6,11 @@ export interface ProductivityFeatureResponseDto {
|
|
|
6
6
|
* @format date-time
|
|
7
7
|
*/
|
|
8
8
|
endDate?: string;
|
|
9
|
-
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
9
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
10
10
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
|
11
11
|
previousData?: ProductivityDataPoint;
|
|
12
12
|
section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
|
|
13
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
13
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
14
14
|
/**
|
|
15
15
|
* @format date-time
|
|
16
16
|
*/
|
|
@@ -8,7 +8,7 @@ export interface ProductivityV3FeatureBreakdownResponseDataPoint {
|
|
|
8
8
|
* @format date-time
|
|
9
9
|
*/
|
|
10
10
|
endDate?: string;
|
|
11
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
11
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
12
12
|
stacks?: {
|
|
13
13
|
[key: string]: number;
|
|
14
14
|
};
|
|
@@ -5,7 +5,7 @@ export interface ProductivityV3FeatureRequestDto {
|
|
|
5
5
|
* @format date-time
|
|
6
6
|
*/
|
|
7
7
|
endDate?: string;
|
|
8
|
-
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
8
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
|
|
9
9
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
|
10
10
|
/**
|
|
11
11
|
* @format int32
|
|
@@ -17,7 +17,7 @@ export interface ProductivityV3FeatureRequestDto {
|
|
|
17
17
|
page_size?: number;
|
|
18
18
|
sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
|
|
19
19
|
sortByCriteria?: 'ASC' | 'DESC';
|
|
20
|
-
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
20
|
+
stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
|
|
21
21
|
/**
|
|
22
22
|
* @format date-time
|
|
23
23
|
*/
|
|
@@ -11,7 +11,7 @@ export interface SprintDrilldownRequestDto {
|
|
|
11
11
|
dateStart: string;
|
|
12
12
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'SPRINT' | 'WEEKLY';
|
|
13
13
|
paginationRequest?: PaginationRequest;
|
|
14
|
-
sortBy?: 'END_DATE' | 'SPRINT_ID' | 'SPRINT_NAME' | 'START_DATE';
|
|
14
|
+
sortBy?: 'CHURN_RATE' | 'COMMIT_DELIVERY_PERCENTAGE' | 'CREEP_DELIVERY_PERCENTAGE' | 'DELIVERED_COMMIT' | 'DELIVERED_CREEP' | 'END_DATE' | 'SCOPE_CREEP' | 'SPRINT_COMMIT' | 'SPRINT_ID' | 'SPRINT_NAME' | 'START_DATE' | 'TOTAL_DELIVERY_PERCENTAGE';
|
|
15
15
|
sortOrder?: string;
|
|
16
16
|
sprintIds?: string[];
|
|
17
17
|
teamRefId: string;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { SprintTicketDto } from '../schemas/SprintTicketDto';
|
|
2
|
-
import type { SprintTicketsMetadataDto } from '../schemas/SprintTicketsMetadataDto';
|
|
3
2
|
export interface SprintTicketsResponseDto {
|
|
4
3
|
data?: SprintTicketDto[];
|
|
5
|
-
metadata?: SprintTicketsMetadataDto;
|
|
6
4
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CloudIdentity } from '../schemas/CloudIdentity';
|
|
2
|
+
export interface TeamDeveloperDto {
|
|
3
|
+
/**
|
|
4
|
+
* Developer email
|
|
5
|
+
* @example "john.doe@example.com"
|
|
6
|
+
*/
|
|
7
|
+
email?: string;
|
|
8
|
+
/**
|
|
9
|
+
* List of cloud identities associated with this developer
|
|
10
|
+
*/
|
|
11
|
+
identities?: CloudIdentity[];
|
|
12
|
+
/**
|
|
13
|
+
* Indicates whether this developer was manually associated to the team
|
|
14
|
+
* @example true
|
|
15
|
+
*/
|
|
16
|
+
manual?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Developer name
|
|
19
|
+
* @example "John Doe"
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Developer reference ID
|
|
24
|
+
* @format int32
|
|
25
|
+
* @example 1001
|
|
26
|
+
*/
|
|
27
|
+
refId?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates whether this developer is shared across multiple teams in the org tree
|
|
30
|
+
* @example true
|
|
31
|
+
*/
|
|
32
|
+
shared?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Timestamp when the developer was last associated or updated in the team (epoch seconds)
|
|
35
|
+
* @format int64
|
|
36
|
+
* @example 1699876200
|
|
37
|
+
*/
|
|
38
|
+
updatedAtEpochSec?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Email of the user who last updated the developer association
|
|
41
|
+
* @example "john.doe@example.com"
|
|
42
|
+
*/
|
|
43
|
+
updatedByEmail?: string;
|
|
44
|
+
}
|
|
@@ -3,6 +3,10 @@ export interface TeamDeveloperSearchParams {
|
|
|
3
3
|
* List of developer reference IDs to filter by
|
|
4
4
|
*/
|
|
5
5
|
developerRefIds?: number[];
|
|
6
|
+
/**
|
|
7
|
+
* Filter by identity completeness: true = has all identities, false = missing at least one identity, null = no filter
|
|
8
|
+
*/
|
|
9
|
+
hasIdentities?: boolean;
|
|
6
10
|
/**
|
|
7
11
|
* Field to search in
|
|
8
12
|
*/
|
|
@@ -11,10 +15,14 @@ export interface TeamDeveloperSearchParams {
|
|
|
11
15
|
* Value to search for
|
|
12
16
|
*/
|
|
13
17
|
searchValue?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Filter by shared status: true = shared developers only, false = non-shared developers only, null = all developers
|
|
20
|
+
*/
|
|
21
|
+
shared?: boolean;
|
|
14
22
|
/**
|
|
15
23
|
* Field to sort by
|
|
16
24
|
*/
|
|
17
|
-
sortKey?: 'email' | 'name';
|
|
25
|
+
sortKey?: 'email' | 'manual' | 'name' | 'shared' | 'updated_at' | 'updated_by';
|
|
18
26
|
/**
|
|
19
27
|
* Sort order
|
|
20
28
|
* @default "ASC"
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
+
import type { TeamDeveloperDto } from '../schemas/TeamDeveloperDto';
|
|
1
2
|
import type { DeveloperInfo } from '../schemas/DeveloperInfo';
|
|
2
3
|
import type { PaginationMetadata } from '../schemas/PaginationMetadata';
|
|
3
4
|
export interface TeamDevelopersDto {
|
|
5
|
+
developers?: TeamDeveloperDto[];
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
*/
|
|
4
9
|
developersInfo?: DeveloperInfo[];
|
|
5
10
|
pagination?: PaginationMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
sharedDevelopers?: number;
|
|
6
15
|
/**
|
|
7
16
|
* @format int32
|
|
8
17
|
*/
|
|
9
18
|
teamRefId?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format int32
|
|
21
|
+
*/
|
|
22
|
+
totalDevelopers?: number;
|
|
10
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2",
|
|
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",
|
|
File without changes
|