@harnessio/react-sei-panorama-service-client 0.21.20 → 0.21.22
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/useDeveloperControllerApproveDevelopersSaveMutation.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmCommitsCountQuery.d.ts +5 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmCommitsCountQuery.js +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.d.ts +5 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.js +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.d.ts +5 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.js +3 -3
- package/dist/sei-panorama-service/src/services/index.d.ts +13 -3
- package/dist/sei-panorama-service/src/services/index.js +2 -0
- package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DailyCountDataPoint.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DailyCountDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/schemas/Developer.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/DevelopersUpdateReview.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/DevelopersUpdateReview.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationStatsDto.d.ts +3 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationStatsDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/ScmStatsRequest.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/ScmStatsRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +9 -2
- package/dist/sei-panorama-service/src/services/schemas/TeamInfo.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamInfo.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeveloperControllerApproveDevelopersSaveMutationPathParams {
|
|
5
|
+
/**
|
|
6
|
+
* @format int32
|
|
7
|
+
*/
|
|
8
|
+
uploadId: number;
|
|
9
|
+
}
|
|
10
|
+
export type DeveloperControllerApproveDevelopersSaveOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeveloperControllerApproveDevelopersSaveErrorResponse = unknown;
|
|
12
|
+
export interface DeveloperControllerApproveDevelopersSaveProps extends DeveloperControllerApproveDevelopersSaveMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function developerControllerApproveDevelopersSave(props: DeveloperControllerApproveDevelopersSaveProps): Promise<DeveloperControllerApproveDevelopersSaveOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Approves the saved developers from an upload and activates the changes
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeveloperControllerApproveDevelopersSaveMutation(options?: Omit<UseMutationOptions<DeveloperControllerApproveDevelopersSaveOkResponse, DeveloperControllerApproveDevelopersSaveErrorResponse, DeveloperControllerApproveDevelopersSaveProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeveloperControllerApproveDevelopersSaveOkResponse, unknown, DeveloperControllerApproveDevelopersSaveProps, 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 developerControllerApproveDevelopersSave(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/developers/uploads/${props.uploadId}/save/approve`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Approves the saved developers from an upload and activates the changes
|
|
11
|
+
*/
|
|
12
|
+
export function useDeveloperControllerApproveDevelopersSaveMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => developerControllerApproveDevelopersSave(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationHealthStatusDto } from '../schemas/IntegrationHealthStatusDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface IntegrationStatsControllerGetIntegrationHealthQueryQueryParams {
|
|
6
|
+
integrationId: string;
|
|
7
|
+
fromDate: string;
|
|
8
|
+
toDate: string;
|
|
9
|
+
account: string;
|
|
10
|
+
}
|
|
11
|
+
export type IntegrationStatsControllerGetIntegrationHealthOkResponse = ResponseWithPagination<IntegrationHealthStatusDto[]>;
|
|
12
|
+
export type IntegrationStatsControllerGetIntegrationHealthErrorResponse = IntegrationHealthStatusDto[];
|
|
13
|
+
export interface IntegrationStatsControllerGetIntegrationHealthProps extends Omit<FetcherOptions<IntegrationStatsControllerGetIntegrationHealthQueryQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: IntegrationStatsControllerGetIntegrationHealthQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function integrationStatsControllerGetIntegrationHealth(props: IntegrationStatsControllerGetIntegrationHealthProps): Promise<IntegrationStatsControllerGetIntegrationHealthOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get integration health status time series
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationStatsControllerGetIntegrationHealthQuery(props: IntegrationStatsControllerGetIntegrationHealthProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetIntegrationHealthOkResponse, IntegrationStatsControllerGetIntegrationHealthErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetIntegrationHealthOkResponse, IntegrationStatsControllerGetIntegrationHealthErrorResponse>;
|
|
@@ -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 integrationStatsControllerGetIntegrationHealth(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/health`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get integration health status time series
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationStatsControllerGetIntegrationHealthQuery(props, options) {
|
|
13
|
+
return useQuery(['IntegrationStatsControllerGetIntegrationHealth', props.queryParams], ({ signal }) => integrationStatsControllerGetIntegrationHealth(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
3
|
+
import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface IntegrationStatsControllerGetScmCommitsCountQueryQueryParams {
|
|
6
|
-
integration_ids: string;
|
|
7
7
|
account: string;
|
|
8
8
|
}
|
|
9
|
+
export type IntegrationStatsControllerGetScmCommitsCountRequestBody = ScmStatsRequest;
|
|
9
10
|
export type IntegrationStatsControllerGetScmCommitsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
10
11
|
export type IntegrationStatsControllerGetScmCommitsCountErrorResponse = IntegrationStatsDto[];
|
|
11
|
-
export interface IntegrationStatsControllerGetScmCommitsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmCommitsCountQueryQueryParams,
|
|
12
|
+
export interface IntegrationStatsControllerGetScmCommitsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, IntegrationStatsControllerGetScmCommitsCountRequestBody>, 'url'> {
|
|
12
13
|
queryParams: IntegrationStatsControllerGetScmCommitsCountQueryQueryParams;
|
|
14
|
+
body: IntegrationStatsControllerGetScmCommitsCountRequestBody;
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmCommitsCount(props: IntegrationStatsControllerGetScmCommitsCountProps): Promise<IntegrationStatsControllerGetScmCommitsCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM commit counts
|
|
18
|
+
* Get SCM commit counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmCommitsCountQuery(props: IntegrationStatsControllerGetScmCommitsCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountErrorResponse>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function integrationStatsControllerGetScmCommitsCount(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/commits`, method: '
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/commits`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM commit counts
|
|
10
|
+
* Get SCM commit counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmCommitsCountQuery(props, options) {
|
|
13
|
-
return useQuery(['IntegrationStatsControllerGetScmCommitsCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmCommitsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['IntegrationStatsControllerGetScmCommitsCount', props.queryParams, props.body], ({ signal }) => integrationStatsControllerGetScmCommitsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
3
|
+
import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface IntegrationStatsControllerGetScmPrsCountQueryQueryParams {
|
|
6
|
-
integration_ids: string;
|
|
7
7
|
account: string;
|
|
8
8
|
}
|
|
9
|
+
export type IntegrationStatsControllerGetScmPrsCountRequestBody = ScmStatsRequest;
|
|
9
10
|
export type IntegrationStatsControllerGetScmPrsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
10
11
|
export type IntegrationStatsControllerGetScmPrsCountErrorResponse = IntegrationStatsDto[];
|
|
11
|
-
export interface IntegrationStatsControllerGetScmPrsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmPrsCountQueryQueryParams,
|
|
12
|
+
export interface IntegrationStatsControllerGetScmPrsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmPrsCountQueryQueryParams, IntegrationStatsControllerGetScmPrsCountRequestBody>, 'url'> {
|
|
12
13
|
queryParams: IntegrationStatsControllerGetScmPrsCountQueryQueryParams;
|
|
14
|
+
body: IntegrationStatsControllerGetScmPrsCountRequestBody;
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmPrsCount(props: IntegrationStatsControllerGetScmPrsCountProps): Promise<IntegrationStatsControllerGetScmPrsCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM pull request counts
|
|
18
|
+
* Get SCM pull request counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmPrsCountQuery(props: IntegrationStatsControllerGetScmPrsCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountErrorResponse>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function integrationStatsControllerGetScmPrsCount(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/prs`, method: '
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/prs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM pull request counts
|
|
10
|
+
* Get SCM pull request counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmPrsCountQuery(props, options) {
|
|
13
|
-
return useQuery(['IntegrationStatsControllerGetScmPrsCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmPrsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['IntegrationStatsControllerGetScmPrsCount', props.queryParams, props.body], ({ signal }) => integrationStatsControllerGetScmPrsCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
|
|
3
|
+
import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface IntegrationStatsControllerGetScmReposCountQueryQueryParams {
|
|
6
|
-
integration_ids: string;
|
|
7
7
|
account: string;
|
|
8
8
|
}
|
|
9
|
+
export type IntegrationStatsControllerGetScmReposCountRequestBody = ScmStatsRequest;
|
|
9
10
|
export type IntegrationStatsControllerGetScmReposCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
|
|
10
11
|
export type IntegrationStatsControllerGetScmReposCountErrorResponse = IntegrationStatsDto[];
|
|
11
|
-
export interface IntegrationStatsControllerGetScmReposCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmReposCountQueryQueryParams,
|
|
12
|
+
export interface IntegrationStatsControllerGetScmReposCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmReposCountQueryQueryParams, IntegrationStatsControllerGetScmReposCountRequestBody>, 'url'> {
|
|
12
13
|
queryParams: IntegrationStatsControllerGetScmReposCountQueryQueryParams;
|
|
14
|
+
body: IntegrationStatsControllerGetScmReposCountRequestBody;
|
|
13
15
|
}
|
|
14
16
|
export declare function integrationStatsControllerGetScmReposCount(props: IntegrationStatsControllerGetScmReposCountProps): Promise<IntegrationStatsControllerGetScmReposCountOkResponse>;
|
|
15
17
|
/**
|
|
16
|
-
* Get SCM repository counts
|
|
18
|
+
* Get SCM repository counts with optional daily breakdown
|
|
17
19
|
*/
|
|
18
20
|
export declare function useIntegrationStatsControllerGetScmReposCountQuery(props: IntegrationStatsControllerGetScmReposCountProps, options?: Omit<UseQueryOptions<IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountErrorResponse>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function integrationStatsControllerGetScmReposCount(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/repos`, method: '
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integration-stats/scm/repos`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get SCM repository counts
|
|
10
|
+
* Get SCM repository counts with optional daily breakdown
|
|
11
11
|
*/
|
|
12
12
|
export function useIntegrationStatsControllerGetScmReposCountQuery(props, options) {
|
|
13
|
-
return useQuery(['IntegrationStatsControllerGetScmReposCount', props.queryParams], ({ signal }) => integrationStatsControllerGetScmReposCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['IntegrationStatsControllerGetScmReposCount', props.queryParams, props.body], ({ signal }) => integrationStatsControllerGetScmReposCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -49,6 +49,8 @@ export type { CollectionControllerGetCollectionTreeErrorResponse, CollectionCont
|
|
|
49
49
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
|
50
50
|
export type { CollectionControllerListCollectionsErrorResponse, CollectionControllerListCollectionsOkResponse, CollectionControllerListCollectionsProps, CollectionControllerListCollectionsQueryQueryParams, CollectionControllerListCollectionsRequestBody, } from './hooks/useCollectionControllerListCollectionsQuery';
|
|
51
51
|
export { collectionControllerListCollections, useCollectionControllerListCollectionsQuery, } from './hooks/useCollectionControllerListCollectionsQuery';
|
|
52
|
+
export type { DeveloperControllerApproveDevelopersSaveErrorResponse, DeveloperControllerApproveDevelopersSaveMutationPathParams, DeveloperControllerApproveDevelopersSaveOkResponse, DeveloperControllerApproveDevelopersSaveProps, } from './hooks/useDeveloperControllerApproveDevelopersSaveMutation';
|
|
53
|
+
export { developerControllerApproveDevelopersSave, useDeveloperControllerApproveDevelopersSaveMutation, } from './hooks/useDeveloperControllerApproveDevelopersSaveMutation';
|
|
52
54
|
export type { DeveloperControllerDeleteDevelopersErrorResponse, DeveloperControllerDeleteDevelopersOkResponse, DeveloperControllerDeleteDevelopersProps, } from './hooks/useDeveloperControllerDeleteDevelopersMutation';
|
|
53
55
|
export { developerControllerDeleteDevelopers, useDeveloperControllerDeleteDevelopersMutation, } from './hooks/useDeveloperControllerDeleteDevelopersMutation';
|
|
54
56
|
export type { DeveloperControllerDownloadDeveloperCsvErrorResponse, DeveloperControllerDownloadDeveloperCsvOkResponse, DeveloperControllerDownloadDeveloperCsvProps, } from './hooks/useDeveloperControllerDownloadDeveloperCsvQuery';
|
|
@@ -163,11 +165,13 @@ export type { IntegrationStatsControllerGetImProjectsCountErrorResponse, Integra
|
|
|
163
165
|
export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
|
|
164
166
|
export type { IntegrationStatsControllerGetImTicketsCountErrorResponse, IntegrationStatsControllerGetImTicketsCountOkResponse, IntegrationStatsControllerGetImTicketsCountProps, IntegrationStatsControllerGetImTicketsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
|
|
165
167
|
export { integrationStatsControllerGetImTicketsCount, useIntegrationStatsControllerGetImTicketsCountQuery, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
|
|
166
|
-
export type {
|
|
168
|
+
export type { IntegrationStatsControllerGetIntegrationHealthErrorResponse, IntegrationStatsControllerGetIntegrationHealthOkResponse, IntegrationStatsControllerGetIntegrationHealthProps, IntegrationStatsControllerGetIntegrationHealthQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
|
|
169
|
+
export { integrationStatsControllerGetIntegrationHealth, useIntegrationStatsControllerGetIntegrationHealthQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
|
|
170
|
+
export type { IntegrationStatsControllerGetScmCommitsCountErrorResponse, IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountProps, IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, IntegrationStatsControllerGetScmCommitsCountRequestBody, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
|
|
167
171
|
export { integrationStatsControllerGetScmCommitsCount, useIntegrationStatsControllerGetScmCommitsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
|
|
168
|
-
export type { IntegrationStatsControllerGetScmPrsCountErrorResponse, IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountProps, IntegrationStatsControllerGetScmPrsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
|
|
172
|
+
export type { IntegrationStatsControllerGetScmPrsCountErrorResponse, IntegrationStatsControllerGetScmPrsCountOkResponse, IntegrationStatsControllerGetScmPrsCountProps, IntegrationStatsControllerGetScmPrsCountQueryQueryParams, IntegrationStatsControllerGetScmPrsCountRequestBody, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
|
|
169
173
|
export { integrationStatsControllerGetScmPrsCount, useIntegrationStatsControllerGetScmPrsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
|
|
170
|
-
export type { IntegrationStatsControllerGetScmReposCountErrorResponse, IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountProps, IntegrationStatsControllerGetScmReposCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
|
|
174
|
+
export type { IntegrationStatsControllerGetScmReposCountErrorResponse, IntegrationStatsControllerGetScmReposCountOkResponse, IntegrationStatsControllerGetScmReposCountProps, IntegrationStatsControllerGetScmReposCountQueryQueryParams, IntegrationStatsControllerGetScmReposCountRequestBody, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
|
|
171
175
|
export { integrationStatsControllerGetScmReposCount, useIntegrationStatsControllerGetScmReposCountQuery, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
|
|
172
176
|
export type { IssuesControllerGetBuildInfoFromIssuesErrorResponse, IssuesControllerGetBuildInfoFromIssuesOkResponse, IssuesControllerGetBuildInfoFromIssuesProps, IssuesControllerGetBuildInfoFromIssuesQueryQueryParams, IssuesControllerGetBuildInfoFromIssuesRequestBody, } from './hooks/useIssuesControllerGetBuildInfoFromIssuesQuery';
|
|
173
177
|
export { issuesControllerGetBuildInfoFromIssues, useIssuesControllerGetBuildInfoFromIssuesQuery, } from './hooks/useIssuesControllerGetBuildInfoFromIssuesQuery';
|
|
@@ -307,6 +311,7 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
|
|
307
311
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
308
312
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
309
313
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
314
|
+
export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
|
|
310
315
|
export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
|
|
311
316
|
export type { DataPoint } from './schemas/DataPoint';
|
|
312
317
|
export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
|
|
@@ -315,6 +320,7 @@ export type { DataPointDeploymentFrequency } from './schemas/DataPointDeployment
|
|
|
315
320
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
|
316
321
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
|
317
322
|
export type { DeploymentInfo } from './schemas/DeploymentInfo';
|
|
323
|
+
export type { Developer } from './schemas/Developer';
|
|
318
324
|
export type { DeveloperCloudIdMapping } from './schemas/DeveloperCloudIdMapping';
|
|
319
325
|
export type { DeveloperFieldDto } from './schemas/DeveloperFieldDto';
|
|
320
326
|
export type { DeveloperFilePreviewDto } from './schemas/DeveloperFilePreviewDto';
|
|
@@ -325,6 +331,7 @@ export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDt
|
|
|
325
331
|
export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
|
|
326
332
|
export type { DeveloperUpsertResponseDto } from './schemas/DeveloperUpsertResponseDto';
|
|
327
333
|
export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
|
|
334
|
+
export type { DevelopersUpdateReview } from './schemas/DevelopersUpdateReview';
|
|
328
335
|
export type { DfConfigurationDto } from './schemas/DfConfigurationDto';
|
|
329
336
|
export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
|
|
330
337
|
export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
|
|
@@ -381,6 +388,7 @@ export type { IndividualDrilldownDataV3 } from './schemas/IndividualDrilldownDat
|
|
|
381
388
|
export type { Integration } from './schemas/Integration';
|
|
382
389
|
export type { IntegrationConfigRequestDto } from './schemas/IntegrationConfigRequestDto';
|
|
383
390
|
export type { IntegrationConfigResponseDto } from './schemas/IntegrationConfigResponseDto';
|
|
391
|
+
export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
|
|
384
392
|
export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
|
385
393
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
|
386
394
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
|
@@ -456,6 +464,7 @@ export type { ProfileSearchParams } from './schemas/ProfileSearchParams';
|
|
|
456
464
|
export type { RefIdDto } from './schemas/RefIdDto';
|
|
457
465
|
export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
|
|
458
466
|
export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
|
|
467
|
+
export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
|
|
459
468
|
export type { SectionDto } from './schemas/SectionDto';
|
|
460
469
|
export type { SortOption } from './schemas/SortOption';
|
|
461
470
|
export type { Stage } from './schemas/Stage';
|
|
@@ -465,6 +474,7 @@ export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
|
|
465
474
|
export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
|
|
466
475
|
export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
|
|
467
476
|
export type { TeamFilter } from './schemas/TeamFilter';
|
|
477
|
+
export type { TeamInfo } from './schemas/TeamInfo';
|
|
468
478
|
export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
|
|
469
479
|
export type { TeamIntegrationDto } from './schemas/TeamIntegrationDto';
|
|
470
480
|
export type { TeamResponse } from './schemas/TeamResponse';
|
|
@@ -23,6 +23,7 @@ export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, }
|
|
|
23
23
|
export { categoryControllerList, useCategoryControllerListQuery, } from './hooks/useCategoryControllerListQuery';
|
|
24
24
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
|
25
25
|
export { collectionControllerListCollections, useCollectionControllerListCollectionsQuery, } from './hooks/useCollectionControllerListCollectionsQuery';
|
|
26
|
+
export { developerControllerApproveDevelopersSave, useDeveloperControllerApproveDevelopersSaveMutation, } from './hooks/useDeveloperControllerApproveDevelopersSaveMutation';
|
|
26
27
|
export { developerControllerDeleteDevelopers, useDeveloperControllerDeleteDevelopersMutation, } from './hooks/useDeveloperControllerDeleteDevelopersMutation';
|
|
27
28
|
export { developerControllerDownloadDeveloperCsv, useDeveloperControllerDownloadDeveloperCsvQuery, } from './hooks/useDeveloperControllerDownloadDeveloperCsvQuery';
|
|
28
29
|
export { developerControllerDownloadGeneratedDevelopersCsv, useDeveloperControllerDownloadGeneratedDevelopersCsvQuery, } from './hooks/useDeveloperControllerDownloadGeneratedDevelopersCsvQuery';
|
|
@@ -80,6 +81,7 @@ export { integrationStatsControllerGetCicdJobsCount, useIntegrationStatsControll
|
|
|
80
81
|
export { integrationStatsControllerGetCicdPipelinesCount, useIntegrationStatsControllerGetCicdPipelinesCountQuery, } from './hooks/useIntegrationStatsControllerGetCicdPipelinesCountQuery';
|
|
81
82
|
export { integrationStatsControllerGetImProjectsCount, useIntegrationStatsControllerGetImProjectsCountQuery, } from './hooks/useIntegrationStatsControllerGetImProjectsCountQuery';
|
|
82
83
|
export { integrationStatsControllerGetImTicketsCount, useIntegrationStatsControllerGetImTicketsCountQuery, } from './hooks/useIntegrationStatsControllerGetImTicketsCountQuery';
|
|
84
|
+
export { integrationStatsControllerGetIntegrationHealth, useIntegrationStatsControllerGetIntegrationHealthQuery, } from './hooks/useIntegrationStatsControllerGetIntegrationHealthQuery';
|
|
83
85
|
export { integrationStatsControllerGetScmCommitsCount, useIntegrationStatsControllerGetScmCommitsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
|
|
84
86
|
export { integrationStatsControllerGetScmPrsCount, useIntegrationStatsControllerGetScmPrsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
|
|
85
87
|
export { integrationStatsControllerGetScmReposCount, useIntegrationStatsControllerGetScmReposCountQuery, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JsonNode } from '../schemas/JsonNode';
|
|
2
2
|
export interface BaExpressionLeafDto {
|
|
3
|
+
customFilterKey?: string;
|
|
3
4
|
/**
|
|
4
5
|
* @format uuid
|
|
5
6
|
*/
|
|
@@ -9,6 +10,7 @@ export interface BaExpressionLeafDto {
|
|
|
9
10
|
* @format uuid
|
|
10
11
|
*/
|
|
11
12
|
id?: string;
|
|
13
|
+
isCustom?: boolean;
|
|
12
14
|
metadata?: JsonNode;
|
|
13
15
|
operator: 'CONTAINS' | 'ENDS_WITH' | 'EQUALS' | 'NOT_CONTAINS' | 'NOT_EQUALS' | 'STARTS_WITH';
|
|
14
16
|
values?: string[];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface Developer {
|
|
2
|
+
attributes?: {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @format date-time
|
|
7
|
+
*/
|
|
8
|
+
createdAt?: string;
|
|
9
|
+
createdByEmail?: string;
|
|
10
|
+
email?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
id?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @format int32
|
|
17
|
+
*/
|
|
18
|
+
managerRefId?: number;
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @format int32
|
|
22
|
+
*/
|
|
23
|
+
refId?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @format date-time
|
|
26
|
+
*/
|
|
27
|
+
updatedAt?: string;
|
|
28
|
+
updatedByEmail?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @format int32
|
|
31
|
+
*/
|
|
32
|
+
versionId?: number;
|
|
33
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { DeveloperValidationErrorDto } from '../schemas/DeveloperValidationErrorDto';
|
|
2
|
+
import type { DeveloperFieldDto } from '../schemas/DeveloperFieldDto';
|
|
3
|
+
import type { DevelopersUpdateReview } from '../schemas/DevelopersUpdateReview';
|
|
2
4
|
/**
|
|
3
5
|
* Response for saving developers from an upload
|
|
4
6
|
*/
|
|
@@ -7,11 +9,20 @@ export interface DeveloperSaveResponseDto {
|
|
|
7
9
|
* Validation errors found in the data
|
|
8
10
|
*/
|
|
9
11
|
errors?: DeveloperValidationErrorDto[];
|
|
12
|
+
/**
|
|
13
|
+
* Available developer fields and their metadata
|
|
14
|
+
*/
|
|
15
|
+
fields?: DeveloperFieldDto[];
|
|
10
16
|
/**
|
|
11
17
|
* Number of invalid records
|
|
12
18
|
* @format int32
|
|
19
|
+
* @deprecated
|
|
13
20
|
*/
|
|
14
21
|
invalidRecords?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Review of developers updated
|
|
24
|
+
*/
|
|
25
|
+
review?: DevelopersUpdateReview;
|
|
15
26
|
/**
|
|
16
27
|
* Number of records successfully saved
|
|
17
28
|
* @format int32
|
|
@@ -34,6 +45,7 @@ export interface DeveloperSaveResponseDto {
|
|
|
34
45
|
/**
|
|
35
46
|
* Number of valid records
|
|
36
47
|
* @format int32
|
|
48
|
+
* @deprecated
|
|
37
49
|
*/
|
|
38
50
|
validRecords?: number;
|
|
39
51
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Developer } from '../schemas/Developer';
|
|
2
|
+
import type { TeamInfo } from '../schemas/TeamInfo';
|
|
3
|
+
/**
|
|
4
|
+
* Review summary of developer and team changes
|
|
5
|
+
*/
|
|
6
|
+
export interface DevelopersUpdateReview {
|
|
7
|
+
/**
|
|
8
|
+
* Developers that were added
|
|
9
|
+
*/
|
|
10
|
+
addedDevs?: Developer[];
|
|
11
|
+
/**
|
|
12
|
+
* Leaf teams that were added due to developer changes
|
|
13
|
+
*/
|
|
14
|
+
addedTeams?: TeamInfo[];
|
|
15
|
+
/**
|
|
16
|
+
* Developers that were deleted
|
|
17
|
+
*/
|
|
18
|
+
deletedDevs?: Developer[];
|
|
19
|
+
/**
|
|
20
|
+
* Leaf teams that were deleted due to developer changes
|
|
21
|
+
*/
|
|
22
|
+
deletedTeams?: TeamInfo[];
|
|
23
|
+
/**
|
|
24
|
+
* Leaf teams that were moved to another parent due to developer changes
|
|
25
|
+
*/
|
|
26
|
+
movedTeams?: TeamInfo[];
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,7 +6,7 @@ export interface FilterValuesRequestDto {
|
|
|
6
6
|
/**
|
|
7
7
|
* Filter key to get values for (used when isCustom = false)
|
|
8
8
|
*/
|
|
9
|
-
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
9
|
+
filterKey?: 'CODE_AREA' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
10
10
|
/**
|
|
11
11
|
* Integration ID
|
|
12
12
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface IntegrationHealthStatusDto {
|
|
2
|
+
/**
|
|
3
|
+
* @format int32
|
|
4
|
+
*/
|
|
5
|
+
completedJobs?: number;
|
|
6
|
+
date?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
failedJobs?: number;
|
|
11
|
+
status?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format int32
|
|
14
|
+
*/
|
|
15
|
+
successfulJobs?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @format int32
|
|
18
|
+
*/
|
|
19
|
+
totalJobs?: number;
|
|
20
|
+
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export interface TeamFilter {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
additionalInfo?: {
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED'>;
|
|
8
|
+
customFilterKey?: string;
|
|
9
|
+
filterKey?: 'CODE_AREA' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
4
10
|
/**
|
|
5
11
|
* @format int32
|
|
6
12
|
*/
|
|
@@ -10,6 +16,7 @@ export interface TeamFilter {
|
|
|
10
16
|
*/
|
|
11
17
|
integrationId?: number;
|
|
12
18
|
integrationName?: string;
|
|
19
|
+
isCustom?: boolean;
|
|
13
20
|
operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
|
|
14
21
|
/**
|
|
15
22
|
* @format int32
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Information about a team affected by the developer changes
|
|
3
|
+
*/
|
|
4
|
+
export interface TeamInfo {
|
|
5
|
+
/**
|
|
6
|
+
* Number of developers in the team
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
devCount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the team
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Organization tree ID
|
|
16
|
+
* @format int32
|
|
17
|
+
*/
|
|
18
|
+
orgTreeId?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Organization tree name
|
|
21
|
+
*/
|
|
22
|
+
orgTreeName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Reference ID of the team
|
|
25
|
+
* @format int32
|
|
26
|
+
*/
|
|
27
|
+
refId?: number;
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.22",
|
|
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",
|